]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame_incremental - gdb/testsuite/ChangeLog
* gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12013-11-11 Doug Evans <dje@google.com>
2
3 * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
4 of testfile.
5
62013-11-11 Phil Muldoon <pmuldoon@redhat.com>
7
8 * gdb.python/py-linetable.S: New file.
9 * gdb.python/py-linetable.c: New file.
10 * gdb.python/py-linetable.exp: New file.
11
122013-11-11 Joel Brobecker <brobecker@adacore.com>
13
14 * gdb.ada/mi_ex_cond: New testcase.
15
162013-11-07 Doug Evans <dje@google.com>
17
18 PR 11786
19 * gdb.base/gcore-relro-pie.c: New file.
20 * gdb.base/gcore-relro-pie.exp: New file.
21
222013-11-07 Phil Muldoon <pmuldoon@redhat.com>
23
24 * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
25 * gdb.python/py-cmd.c: New File.
26
272013-11-07 Phil Muldoon <pmuldoon@redhat.com>
28
29 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
30
312013-11-06 Doug Evans <xdje42@gmail.com>
32
33 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
34
352013-11-06 Yao Qi <yao@codesourcery.com>
36
37 * lib/gdb.exp (gdb_produce_source): New procedure.
38 * gdb.perf/solib.c: New.
39 * gdb.perf/solib.exp: New.
40 * gdb.perf/solib.py: New.
41
422013-11-06 Yao Qi <yao@codesourcery.com>
43
44 * README: Mention performance tests.
45
462013-11-06 Yao Qi <yao@codesourcery.com>
47
48 * lib/perftest.exp: New.
49 * gdb.perf/lib/perftest/__init__.py: New.
50 * gdb.perf/lib/perftest/measure.py: New.
51 * gdb.perf/lib/perftest/perftest.py: New.
52 * gdb.perf/lib/perftest/reporter.py: New.
53 * gdb.perf/lib/perftest/testresult.py: New.
54
552013-11-06 Yao Qi <yao@codesourcery.com>
56
57 * Makefile.in (check-perf): New target.
58 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
59 * configure: Re-generated.
60 * gdb.perf/Makefile.in: New.
61
622013-11-04 Tom Tromey <tromey@redhat.com>
63
64 * Makefile.in (TEST_DIRS): Remove.
65 (TEST_TARGETS, check-parallel): Rewrite.
66 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
67 (subdir_do, subdirs): Remove.
68 (do-check-parallel, check/%): New targets.
69 (clean): Remove outputs, temp, and cache directories.
70 (saw_dash_j): New variable.
71 (CHECK_TARGET): Use it.
72 (check): Depend on all, site.exp. Rewrite.
73 (check-single): Remove dependencies.
74 (slow_tests, all_tests, reordered_tests): New variables.
75
762013-11-04 Tom Tromey <tromey@redhat.com>
77
78 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
79 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
80 before loading binfile.
81 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
82 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
83 before loading binfile.
84
852013-11-04 Tom Tromey <tromey@redhat.com>
86
87 * gdb.base/foll-exec.c (main): Use BASEDIR.
88 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
89 * gdb.base/foll-vfork.c (main): Use BASEDIR.
90 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
91 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
92 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
93
942013-11-04 Tom Tromey <tromey@redhat.com>
95
96 * gdb.base/argv0-symlink.exp: Compute executable's directory
97 dynamically.
98
992013-11-04 Tom Tromey <tromey@redhat.com>
100
101 * gdb.asm/asm-source.exp: Use standard_output_file.
102
1032013-11-04 Tom Tromey <tromey@redhat.com>
104
105 * gdb.server/file-transfer.exp: Use standard_output_file.
106
1072013-11-04 Tom Tromey <tromey@redhat.com>
108
109 * gdb.base/fullname.exp: Use standard_output_file,
110 relative_filename.
111 * gdb.base/hashline1.exp: Use standard_testfile,
112 standard_output_file, relative_filename, clean_restart.
113 * gdb.base/hashline2.exp: Use standard_testfile,
114 standard_output_file.
115 * gdb.base/hashline3.exp: Use standard_testfile,
116 standard_output_file, relative_filename.
117 * lib/gdb.exp (relative_filename): New proc.
118
1192013-11-04 Tom Tromey <tromey@redhat.com>
120
121 * gdb.base/fileio.c (test_open, test_write, test_read)
122 (test_lseek, test_close, test_stat, test_fstat)
123 (test_isatty, test_system, test_rename, test_unlink):
124 Use OUTDIR define.
125 * gdb.base/fileio.exp: Define OUTDIR during compilation.
126 Use standard_output_file.
127
1282013-11-04 Tom Tromey <tromey@redhat.com>
129
130 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
131 defines.
132 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
133 compilation. Use prepare_for_testing, standard_output_file.
134
1352013-11-04 Tom Tromey <tromey@redhat.com>
136
137 * gdb.base/advance.exp: Use standard_testfile and
138 prepare_for_testing.
139 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
140 appropriate directory when local.
141 * gdb.base/dump.exp: Use standard_output_file. Update all
142 "dump" and "restore" filenames.
143 * gdb.base/interact.exp: Use standard_output_file.
144 * gdb.base/jit-so.exp: Don't download file when local.
145 * gdb.base/jit.exp (compile_jit_test): Don't download file
146 when local.
147 * gdb.base/list.exp: Use gdb_remote_download.
148 * gdb.base/maint.exp: Use standard_output_file.
149 * gdb.base/prelink.exp: Use standard_output_file.
150 * gdb.base/save-bp.exp: Use standard_output_file.
151 * gdb.base/sepdebug.exp: Use standard_testfile,
152 standard_output_file.
153 (test_different_dir): Don't declare objdir.
154 * gdb.base/solib-search.exp: Use standard_output_file.
155 * gdb.base/step-line.exp: Use gdb_remote_download.
156 * gdb.base/trace-commands.exp: Use standard_output_file.
157
1582013-11-04 Tom Tromey <tromey@redhat.com>
159
160 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
161 to compilation. Use standard_output_file.
162 (test_tfind_tfile): Update.
163 * gdb.trace/tfile.c (write_basic_trace_file)
164 (write_error_trace_file): Use TFILE_DIR.
165 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
166 standard_output_file.
167
1682013-11-04 Tom Tromey <tromey@redhat.com>
169
170 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
171 Use "dwarf2 always-disassemble" for the "maint set" test.
172 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
173 standard_output_file.
174 * gdb.mi/mi-logging.exp: Use standard_output_file.
175
1762013-11-04 Tom Tromey <tromey@redhat.com>
177
178 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
179 downloads conditional on remote host.
180 (set_arch): Likewise.
181 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
182 (load_description): Use standard_output_file.
183
1842013-11-04 Tom Tromey <tromey@redhat.com>
185
186 * gdb.gdb/selftest.exp: Use standard_output_file.
187 * lib/selftest-support.exp (do_self_tests): Use
188 standard_output_file.
189
1902013-11-04 Tom Tromey <tromey@redhat.com>
191
192 * gdb.stabs/weird.exp: Use gdb_remote_download and
193 standard_output_file.
194
1952013-11-04 Tom Tromey <tromey@redhat.com>
196
197 * gdb.base/gcore-buffer-overflow.exp: Use
198 standard_output_file, not standard_testfile.
199 * gdb.base/twice.exp: Use standard_testfile, not
200 standard_output_file. Use gdb_remote_download.
201
2022013-11-04 Tom Tromey <tromey@redhat.com>
203
204 * lib/gdb.exp (get_compiler_info): Use log_file -info and
205 restore from that.
206
2072013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
208
209 * gdb.cp/derivation.exp: s/perrro/perror/
210
2112013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
212
213 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
214 `debugdir'.
215
2162013-10-31 Andrew Burgess <aburgess@broadcom.com>
217
218 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
219 tests and update expected error message.
220 (test_watch_register_location): New tests.
221 (do_tests): Call test_watch_register_location.
222 * gdb.base/watchpoints.exp: Update expected error message.
223
2242013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
225
226 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
227 the patterns in gdb_test_multiple.
228
2292013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
230
231 * gdb.base/sym-file-lib.c: New file.
232 * gdb.base/sym-file-loader.c: New file.
233 * gdb.base/sym-file-loader.h: New file.
234 * gdb.base/sym-file-main.c: New file.
235 * gdb.base/sym-file.exp: New file.
236 * lib/gdb.exp (is_elf_target): New function.
237
2382013-10-29 Pedro Alves <palves@redhat.com>
239
240 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
241 variable setting change-log-default-name to ChangeLog-mi.
242
2432013-10-29 Andrew Burgess <aburgess@broadcom.com>
244
245 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
246 Expect <unavailable> pattern.
247
2482013-10-28 Tom de Vries <tom@codesourcery.com>
249
250 * gdb.arch/thumb2-it.S (it_8): Fix typo.
251
2522013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
253
254 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
255 remote stubs where exit() behaviour is unreliable.
256
2572013-10-25 Pedro Alves <palves@redhat.com>
258
259 * gdb.cp/m-static.exp: Adjust expected output of printing a
260 nonexistent or optimized out static field. Also test printing the
261 the "container" object.
262
2632013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
264
265 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
266 if in the persistent mode.
267 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
268
2692013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
270
271 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
272 support core file generation" reply.
273
2742013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
275
276 PR gdb/15986
277 * gdb.base/run.c (main): gdb_get_line_number tag added for
278 commands.exp.
279 (factorial): Likewise.
280
281 * gdb.base/commands.exp (watchpoint_command_test): Use
282 gdb_get_line_number in order to determine the locations in run.c
283 where local_var is detected to go out of scope.
284
2852013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
286
287 * gdb.base/gnu_vector.exp: Care about endianness when casting
288 scalars to vectors.
289
2902013-10-18 Tom Tromey <tromey@redhat.com>
291
292 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
293 of "binfile".
294
2952013-10-18 Andrew Burgess <aburgess@broadcom.com>
296
297 * gdb.base/watchpoints.exp: Add test for setting software
298 watchpoints of different types before starting the inferior.
299
3002013-10-18 Pedro Alves <palves@redhat.com>
301
302 PR gdb/16062
303 * gdb.threads/stepi-random-signal.c: New file.
304 * gdb.threads/stepi-random-signal.exp: New file.
305
3062013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
307
308 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
309 Fix comment typo.
310 * lib/gdb.exp (gdb_init): Likewise.
311
3122013-10-17 Tom Tromey <tromey@redhat.com>
313
314 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
315
3162013-10-14 Tom Tromey <tromey@redhat.com>
317
318 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
319 name to gdb_test_no_output.
320
3212013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 Canonicalize directories for EXEC_FILENAME.
324 * gdb.base/argv0-symlink.exp
325 (kept file symbolic link name for info inferiors): New.
326 (kept directory symbolic link name): Setup kfail.
327 (kept directory symbolic link name for info inferiors): New.
328
3292013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
330
331 * gdb.arch/s390-multiarch.exp: New file.
332 * gdb.arch/s390-multiarch.c: New file.
333
3342013-10-11 Joel Brobecker <brobecker@adacore.com>
335
336 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
337 use the appropriate GDB/MI command instead, and verify
338 the test output.
339
3402013-10-11 Joel Brobecker <brobecker@adacore.com>
341
342 * gdb.base/source-nofile.gdb: New file.
343 * gdb.base/source.exp: Add two tests verifying the behavior when
344 the "source" command is given a non-existant filename.
345
3462013-10-11 Yao Qi <yao@codesourcery.com>
347
348 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
349 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
350 and 'dlclose'.
351 [!__WIN32__]: Include "dlfcn.h".
352 * gdb.mi/mi-catch-load.exp: Set up kfail.
353
3542013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
355
356 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
357 generated corefile" by argument "$test".
358
3592013-10-09 Pedro Alves <palves@redhat.com>
360
361 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
362 output.
363
3642013-10-09 Pedro Alves <palves@redhat.com>
365
366 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
367 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
368 (test_catch_syscall_with_wrong_args)
369 (test_catch_syscall_restarting_inferior)
370 (test_catch_syscall_fail_nodatadir)
371 (test_catch_syscall_without_args_noxml)
372 (test_catch_syscall_with_args_noxml)
373 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
374
3752013-10-08 Tom Tromey <tromey@redhat.com>
376
377 * gdb.dwarf2/dwzbuildid.exp: New file.
378 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
379 parameters.
380 (Dwarf::_defer_output): Change "section" parameter to
381 "section_spec"; update.
382 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
383 procs.
384
3852013-10-08 Joel Brobecker <brobecker@adacore.com>
386
387 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
388
3892013-10-07 Tom Tromey <tromey@redhat.com>
390
391 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
392 to 0.
393
3942013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
395
396 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
397 $_exitcode is void when opening a corefile.
398 * gdb.base/exitsignal.exp: New file.
399 * gdb.base/segv.c: Likewise.
400 * gdb.base/normal.c: Likewise.
401
4022013-10-04 Joel Brobecker <brobecker@adacore.com>
403
404 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
405
4062013-10-02 Vidya Praveen <vidyapraveen@arm.com>
407
408 * gdb.trace/entry-values.exp: Modify regular expression to scan for
409 'bl' instruction instead of 'call' for ARM and AArch64 targets.
410
4112013-10-02 Pedro Alves <palves@redhat.com>
412
413 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
414 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
415 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
416 (not_saved_pattern): New.
417 Replace use of the former with the latter.
418
4192013-10-02 Pedro Alves <palves@redhat.com>
420
421 * README (Board Settings): Document "exit_is_reliable".
422 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
423 running to exit reliably reports program exits.
424 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
425 info.
426 * boards/native-stdio-gdbserver.exp: Likewise.
427
4282013-10-01 Doug Evans <dje@google.com>
429
430 * gdb.python/python.exp: Remove redundant print-stack tests.
431 Make all print-stack test names unique. Fix spelling of print-stack.
432
4332013-09-29 Yao Qi <yao@codesourcery.com>
434
435 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
436 is remote.
437
4382013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
439
440 PR shlibs/8882
441 * gdb.base/corefile.exp: Add a check to assure warning-free
442 core-file load.
443
4442013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
445
446 * gdb.dwarf2/dwp-symlink.c: New file.
447 * gdb.dwarf2/dwp-symlink.exp: New file.
448
4492013-09-20 Doug Evans <dje@google.com>
450
451 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
452 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
453 file.
454 * gdb.dwarf2/fission-loclists.S: Ditto.
455 * gdb.dwarf2/fission-reread.S: Ditto.
456 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
457 build_executable_from_fission_assembler.
458 * gdb.dwarf2/fission-loclists.exp: Ditto.
459 * gdb.dwarf2/fission-reread.exp: Ditto.
460
461 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
462 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
463 (gdb_gnu_strip_debug): Ditto.
464 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
465 * gdb.arch/altivec-abi.exp: Ditto.
466 * gdb.base/attach-pie-misread.exp: Ditto.
467 * gdb.base/comprdebug.exp: Ditto.
468 * gdb.base/dup-sect.exp: Ditto.
469 * gdb.base/gnu-debugdata.exp: Ditto.
470 * gdb.base/step-symless.exp: Ditto.
471 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
472 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
473 * gdb.dwarf2/gdb-index.exp: Ditto.
474
4752013-09-18 Andrew Burgess <aburgess@broadcom.com>
476
477 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
478 register to "<optimized out>", and also print the registers.
479
4802013-09-18 Pedro Alves <palves@redhat.com>
481
482 PR server/15967
483 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
484 change text.
485
4862013-09-18 Yao Qi <yao@codesourcery.com>
487
488 * gdb.server/wrapper.c: New.
489 * gdb.server/wrapper.exp: New.
490
4912013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
492 Jan Kratochvil <jan.kartochvil@redhat.com>
493 Pedro Alves <palves@redhat.com>
494
495 PR gdb/11568
496 * gdb.thread/thread-specific-bp.c: New file.
497 * gdb.thread/thread-specific-bp.exp: New file.
498
4992013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
500
501 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
502 convenience function.
503
5042013-09-17 Pedro Alves <palves@redhat.com>
505
506 PR gdb/15911
507 * gdb.threads/info-threads-cur-sal-2.c: New file.
508 * gdb.threads/info-threads-cur-sal.c: New file.
509 * gdb.threads/info-threads-cur-sal.exp: New file.
510
5112013-09-17 Yao Qi <yao@codesourcery.com>
512
513 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
514 [__WIN32__]: Include "windows.h" and define macro dlopen
515 and dlclose.
516 [!__WIN32__]: Include "dlfcn.h".
517 * gdb.base/catch-load.exp (one_catch_load_test): Match
518 directory separator.
519
5202013-09-16 Doug Evans <dje@google.com>
521
522 * lib/gdb.exp (using_fission): New proc.
523 * gdb.base/info-macros.exp: Skip test if using Fission.
524
525 * gdb.base/break-interp.exp: Fix indentation.
526
5272013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
528
529 * gdb.base/gdbvars.c (foo_void): New function.
530 (foo_int): Likewise.
531 * gdb.base/gdbvars.exp (test_convenience_functions): New
532 function. Call it.
533
5342013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
535
536 * gdb.arch/s390-tdbregs.c: New file.
537 * gdb.arch/s390-tdbregs.exp: New file.
538
5392013-09-12 Stan Shebs <stan@codesourcery.com>
540
541 * README: New file.
542
5432013-09-12 Doug Evans <dje@google.com>
544
545 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
546 added code to print event.inferior.
547
5482013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
549
550 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
551 debug part of the binary.
552
5532013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
556 (addlink): Add comment.
557
5582013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
559
560 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
561 canonical pathname.
562
5632013-09-04 Doug Evans <dje@google.com>
564
565 * gdb.python/py-events.py (exit_handler): Verify we get the expected
566 event.
567 (continue_handler, new_objfile_handler): Ditto.
568 (test_events): Rename command to "test-events".
569 (test_newobj_events): Rename command to "test-objfile-events".
570 * gdb.python/py-events.exp: Update.
571 * gdb.python/py-evsignal.exp: Update.
572 * gdb.python/py-evthreads.exp: Update.
573
574 * gdb.base/enumval.c (ZERO): New enum value.
575 (main): Use it
576 * gdb.base/enumval.exp: Test ability to print ZERO.
577
5782013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
579 Pedro Alves <palves@redhat.com>
580
581 * gdb.base/relocate.exp: Check that invalid options are
582 rejected.
583
5842013-08-30 Andrew Burgess <aburgess@broadcom.com>
585
586 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
587 (my_static_symbol): Add comment.
588 (main): Reference my_bss_symbol.
589
5902013-08-30 Phil Muldoon <pmuldoon@redhat.com>
591
592 * gdb.python/py-arch.exp: Tests for invalid architecture.
593
5942013-08-29 Sterling Augustine <saugustine@google.com>
595
596 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
597 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
598 said conditional.
599
6002013-08-29 Phil Muldoon <pmuldoon@redhat.com>
601
602 * gdb.python/py-arch.exp: Load gdb-python.exp.
603
6042013-08-29 Phil Muldoon <pmuldoon@redhat.com>
605
606 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
607 itertools for imap attribute. Otherwise use map().
608 (ElidingIterator): Define wrapper function __next__.
609 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
610 use exec (open (read ())) instead.
611 * gdb.python/py-framefilter.exp: Ditto.
612 * gdb.python/py-arch.exp: Update print based test to Python 3.x
613 compliance.
614 * gdb.python/py-frame.exp: Ditto.
615 * gdb.python/py-type.exp: Ditto.
616
6172013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
618
619 PR gdb/15415
620 * gdb.base/argv0-symlink.c: New file.
621 * gdb.base/argv0-symlink.exp: New file.
622
6232013-08-28 Tom Tromey <tromey@redhat.com>
624
625 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
626 when saving index.
627
6282013-08-27 Yao Qi <yao@codesourcery.com>
629
630 * gdb.trace/entry-values.exp: Test unavailable entry value is
631 not shown when option '--skip-unavailable' is specified.
632 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
633 Add tests for new option '--skip-unavailable'.
634
6352013-08-27 Yao Qi <yao@codesourcery.com>
636
637 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
638 remote_download if it is empty.
639
6402013-08-26 Doug Evans <dje@google.com>
641
642 PR symtab/15885
643 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
644 (clean): rm -f *.gdb-index *.with-index.
645 * gdb.dwarf2/gdb-index.exp: New testcase.
646
647 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
648 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
649 run_on_host. All callers updated.
650
6512013-08-24 Yao Qi <yao@codesourcery.com>
652
653 * gdb.trace/entry-values.c (end): New
654 (main): Call end.
655 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
656 tracepoint and collect data. Test entry value is unavailable.
657
6582013-08-24 Yao Qi <yao@codesourcery.com>
659
660 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
661 * gdb.trace/entry-values.c: New.
662 * gdb.trace/entry-values.exp: New.
663
6642013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
665
666 PR gdb/15501
667 * gdb.base/ena-dis-br.exp: Add test to verify
668 enable/disable commands work correctly with
669 multiple arguments that include multiple locations.
670
6712013-08-22 Samuel Bronson <naesten@gmail.com>
672
673 ARM Linux support for `catch syscall'.
674 * gdb.base/catch-syscall.exp: Test this on ARM now.
675 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
676
6772013-08-22 Tom Tromey <tromey@redhat.com>
678
679 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
680 default addr_size.
681 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
682
6832013-08-22 Tom Tromey <tromey@redhat.com>
684
685 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
686 standard_temp_file.
687
6882013-08-22 Tom Tromey <tromey@redhat.com>
689
690 * gdb.arch/amd64-byte.exp: Use standard_testfile,
691 clean_restart.
692 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
693 * gdb.arch/amd64-dword.exp: Use standard_testfile,
694 clean_restart.
695 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
696 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
697 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
698 * gdb.arch/amd64-word.exp: Use standard_testfile,
699 clean_restart.
700 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
701 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
702 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
703 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
704 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
705 * gdb.arch/i386-signal.exp: Use standard_testfile.
706 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
707 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
708 * gdb.arch/i386-unwind.exp: Use standard_testfile.
709 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
710
7112013-08-22 Tom Tromey <tromey@redhat.com>
712
713 * gdb.python/py-error.exp: Use gdb_remote_download.
714 * gdb.python/py-mi.exp: Use gdb_remote_download.
715 * gdb.python/py-objfile-script.exp: Use standard_output_file.
716 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
717 (run_lang_tests): Likewise.
718 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
719 filename.
720 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
721 compiling. Use gdb_remote_download. Update some tests.
722 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
723 standard_output_file.
724 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
725 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
726 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
727 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
728 standard_output_file.
729
7302013-08-22 Tom Tromey <tromey@redhat.com>
731
732 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
733
7342013-08-22 Tom Tromey <tromey@redhat.com>
735
736 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
737 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
738 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
739 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
740 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
741 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
742 * lib/gdb.exp (gdb_remote_download): New proc.
743
7442013-08-22 Tom Tromey <tromey@redhat.com>
745
746 * gdb.dwarf2/clztest.exp: Use standard_testfile.
747 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
748 * gdb.dwarf2/fission-base.S: Remove directory from
749 DW_AT_GNU_dwo_name.
750 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
751 debug-file-directory.
752 * gdb.dwarf2/fission-reread.S: Remove directory from
753 DW_AT_GNU_dwo_name.
754 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
755 debug-file-directory.
756
7572013-08-16 Doug Evans <dje@google.com>
758
759 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
760 prelink complains about an unhandled DWARF version.
761
7622013-08-14 Cary Coutant <ccoutant@google.com>
763
764 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
765
7662013-08-13 Tom Tromey <tromey@redhat.com>
767 Yao Qi <yao@codesourcery.com>
768
769 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
770 * lib/gdb.exp: Handle GDB_PARALLEL.
771 (default_gdb_version): Kill inotify_pid if it exists.
772 (default_gdb_exit): Emit warning if the inotify log is not
773 empty.
774 (standard_output_file): Respect GDB_PARALLEL.
775 (standard_temp_file): Likewise.
776 (gdb_init): Start inotifywait if requested.
777
7782013-08-13 Andrew Burgess <aburgess@broadcom.com>
779
780 * gdb.base/printcmds.exp (test_printf): Add test for printf of
781 pointer with various flags.
782
7832013-08-13 Tom Tromey <tromey@redhat.com>
784
785 * lib/cache.exp: New file.
786 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
787 * lib/gdb.exp: Load cache.exp.
788 (support_complex_tests, is_ilp32_target, is_lp64_target)
789 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
790 (gdb_skip_xml_test): Use gdb_caching_proc.
791 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
792
7932013-08-13 Tom Tromey <tromey@redhat.com>
794
795 * lib/gdb.exp (standard_temp_file): New proc.
796 (support_complex_tests, is_ilp32_target, is_lp64_target)
797 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
798 standard_temp_file.
799
8002013-08-13 Tom Tromey <tromey@redhat.com>
801
802 * lib/gdb.exp (build_id_debug_filename_get): Use
803 standard_output_file.
804 * lib/prelink-support.exp (section_get)
805 (build_executable_own_libs): Use standard_output_file.
806
8072013-08-12 Tom Tromey <tromey@redhat.com>
808
809 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
810
8112013-08-12 Ali Anwar <alianwar@codesourcery.com>
812
813 * gdb.base/break.exp: Test break via convenience variable
814 with file name.
815
8162013-08-09 Doug Evans <dje@google.com>
817
818 * lib/future.exp (gdb_find_ldd): New proc.
819 * lib/prelink-support.exp (build_executable_own_libs): Call it.
820 Make "/usr/sbin/" in prelink path optional.
821
8222013-08-09 Yao Qi <yao@codesourcery.com>
823
824 * gdb.trace/collection.exp (gdb_collect_args_test): Set
825 "only" and "both" to 'print entry-values' before selecting
826 trace frame.
827
8282013-08-08 Yao Qi <yao@codesourcery.com>
829
830 * gdb.trace/mi-trace-unavailable.exp: Don't set
831 "print entry-values" to "no".
832 (test_trace_unavailable): Set various values to
833 "print entry-values" to test that the output of
834 '-stack-list-locals' is not affected, and then set
835 set "print entry-values" to "no".
836
8372013-08-07 Doug Evans <dje@google.com>
838
839 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
840 * gdb.python/py-value-cc.exp: Update.
841 * gdb.python/py-value.exp: Use different names for .o files for
842 C and C++. Only perform C++ tests if !skip_cplus_tests.
843
8442013-08-07 Tom Tromey <tromey@redhat.com>
845
846 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
847
8482013-08-07 Tom Tromey <tromey@redhat.com>
849
850 * gdb.dwarf2/dwz.exp: New file.
851
8522013-08-02 Tom Tromey <tromey@redhat.com>
853
854 * gdb.base/watchpoint.c (struct foo5): New.
855 (nullptr): New global.
856 * gdb.base/watchpoint.exp (test_watch_location): Add test.
857
8582013-08-01 Doug Evans <dje@google.com>
859
860 PR symtab/15691
861 * gdb.dwarf2/fission-mix.exp: New file.
862 * gdb.dwarf2/fission-mix.h: New file.
863 * gdb.dwarf2/fission-mix.c: New file.
864 * gdb.dwarf2/fission-mix2.c: New file.
865
866 PR symtab/15695
867 * gdb.base/func-ptr.exp: New file.
868 * gdb.base/func-ptr.c: New file.
869
8702013-08-01 Yao Qi <yao@codesourcery.com>
871
872 * gdb.python/py-sync-interp.c: New.
873 * gdb.python/py-sync-interp.exp: New.
874
8752013-07-31 Yao Qi <yao@codesourcery.com>
876
877 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
878 'tdump' on stack frame 0 and 1 respectively.
879
8802013-07-31 Yao Qi <yao@codesourcery.com>
881
882 PR gdb/13443
883 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
884 'traceframe'. Wrap test with with_test_prefix.
885 (top level): Update.
886
8872013-07-31 Yao Qi <yao@codesourcery.com>
888
889 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
890 'gdb_start'.
891 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
892 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
893
8942013-07-30 Andrew Burgess <aburgess@broadcom.com>
895
896 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
897 when printing an optimized out value. Expect an error when using
898 an optimized out value in an expression.
899
9002013-07-30 Andrew Burgess <aburgess@broadcom.com>
901
902 * gdb.dwarf2/pieces-optimized-out.exp: New file.
903 * gdb.dwarf2/pieces-optimized-out.c: New file.
904 * gdb.dwarf2/pieces-optimized-out.S: New file.
905
9062013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
907
908 PR gdb/15715
909 * gdb.base/setshow.exp: Test that relative paths passed to
910 'set history filename' are converted to absolute paths.
911
9122013-07-26 Keith Seitz <keiths@redhat.com>
913
914 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
915 of f77.
916 Allow for compiler variations of integer types.
917 Use mi_create_varobj.
918 Use mi_list_varobj_children for the immediate children of `array'.
919 Add "has_more" attribute for grandchildren test.
920
9212013-07-26 Pedro Alves <palves@redhat.com>
922
923 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
924 files.
925
9262013-07-25 Andrew Burgess <aburgess@broadcom.com>
927
928 * gdb.mi/mi-reg-undefined.exp: New file.
929 * gdb.mi/mi-reg-undefined.c: Likewise.
930 * gdb.mi/mi-reg-undefined.S: Likewise.
931
9322013-07-25 Andrew Burgess <aburgess@broadcom.com>
933
934 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
935 z, o, and t output formats.
936 * gdb.base/display.exp: Use 'k' as an undefined format now that
937 'z' is defined.
938
9392013-07-24 Doug Evans <dje@google.com>
940
941 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
942 "--" to switch.
943
9442013-07-24 Yao Qi <yao@codesourcery.com>
945
946 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
947 host.
948 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
949 Likewise. If host is remote, copy ${binfile} to host.
950
9512013-07-23 Yao Qi <yao@codesourcery.com>
952
953 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
954 message.
955
9562013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
957
958 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
959 instructions and enable disp-step-syscall for arm targets.
960
9612013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
962
963 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
964 assembler errors on arm.
965 * gdb.dwarf2/mac-fileno.S: Likewise.
966 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
967 * gdb.dwarf2/pr13961.S: Likewise.
968
9692013-07-19 Hui Zhu <hui@codesourcery.com>
970
971 PR gdb/15692
972 * gdb.mi/mi-dprintf.exp: Add double quotes test.
973
9742013-07-19 Yao Qi <yao@codesourcery.com>
975
976 * gdb.trace/read-memory.exp (test_from_remote): Update test.
977 (teset_from_exec): Likewise.
978
9792013-07-19 Yao Qi <yao@codesourcery.com>
980
981 * gdb.trace/read-memory.c: New.
982 * gdb.trace/read-memory.exp: New.
983
9842013-07-19 Yao Qi <yao@codesourcery.com>
985
986 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
987 $dest to link options if host is remote. Move the
988 generated file to $dest.a on host if host is remote.
989
9902013-07-18 Will Newton <will.newton@linaro.org>
991
992 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
993 to ensure the test is linked against pthreads.
994 * gdb.threads/tls-var-main.c: Likewise.
995 * gdb.threads/tls-shared.c: Likewise.
996
9972013-07-18 Yao Qi <yao@codesourcery.com>
998
999 * lib/future.exp (gdb_default_target_compile): Use tail name
1000 of $destfile as the output name of compile. Move the
1001 generated file to $destfile on build.
1002
10032013-07-18 Yao Qi <yao@codesourcery.com>
1004
1005 * lib/gdb.exp (gdb_compile): Set
1006 gdb_saved_set_unbuffered_mode_obj to
1007 set_unbuffered_mode_saved.o if host is remote. Invoke
1008 remote_download to copy $unbuf_obj to host.
1009
10102013-07-17 Doug Evans <dje@google.com>
1011
1012 * gdb.python/py-frame-args.c: New file.
1013 * gdb.python/py-frame-args.py: New file.
1014 * gdb.python/py-frame-args.exp New file.
1015
10162013-07-16 Andrew Burgess <aburgess@broadcom.com>
1017
1018 * gdb.base/printcmds.exp (test_printf): Add tests for format
1019 strings with missing format specifier.
1020
10212013-07-16 Tom Tromey <tromey@redhat.com>
1022
1023 * gdb.ada/info_types.exp: Use standard_testfile.
1024
10252013-07-16 Tom Tromey <tromey@redhat.com>
1026
1027 * gdb.mi/mi-basics.exp: Use standard_output_file.
1028 (test_dir_specification, test_cwd_specification)
1029 (test_path_specification): Use testsubdir, not subdir and objdir.
1030
10312013-07-16 Tom Tromey <tromey@redhat.com>
1032
1033 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
1034
10352013-07-09 Joel Brobecker <brobecker@adacore.com>
1036
1037 * gdb.ada/small_reg_param.exp: Accept optional entry value
1038 for parameter "w".
1039
10402013-07-09 Joel Brobecker <brobecker@adacore.com>
1041
1042 * gdb.ada/small_reg_param.exp: Remove trailing space.
1043
10442013-07-09 Doug Evans <dje@google.com>
1045
1046 * gdb.base/default.exp: Update expected output of "show print array"
1047 and "show print pretty".
1048
10492013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1050
1051 * gdb.threads/wp-replication.exp: Stop counting available hardware
1052 watchpoints after NR_THREADS iterations.
1053
10542013-07-08 Andrew Burgess <aburgess@broadcom.com>
1055
1056 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
1057
10582013-07-07 Yao Qi <yao@codesourcery.com>
1059
1060 * boards/native-gdbserver.exp: Move invoke of
1061 process_multilib_options to gdbserver-base.exp.
1062 Move set_board_info 'compiler', 'gdb,noinferiorio',
1063 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
1064 gdbserver-base.exp.
1065 Move proc ${board}_download, ${board}_upload and
1066 ${board}_file to gdbserver-base.exp.
1067 * boards/native-extended-gdbserver.exp: Likewise.
1068 * boards/native-stdio-gdbserver.exp: Likewise.
1069 * boards/gdbserver-base.exp: New file.
1070
10712013-07-05 Luis Machado <lgustavo@codesourcery.com>
1072
1073 * gdb.base/dump.exp: Remove arch-specific tests and do a
1074 generic data address check to set is64bitonly correctly.
1075
10762013-07-05 Luis Machado <lgustavo@codesourcery.com>
1077
1078 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
1079 the register number instead of expecting only 0.
1080
10812013-07-05 Will Newton <will.newton@linaro.org>
1082
1083 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
1084 in asm syntax to allow building on ARM.
1085
10862013-07-05 Yao Qi <yao@codesourcery.com>
1087
1088 * boards/local-remote-host.exp: Remove obsolete comments.
1089 * boards/native-extended-gdbserver.exp: Likewise.
1090 * boards/native-gdbserver.exp: Likewise.
1091 * boards/native-stdio-gdbserver.exp: Likewise.
1092
10932013-07-04 Andrew Burgess <aburgess@broadcom.com>
1094
1095 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
1096 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
1097 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
1098
10992013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1100
1101 * gdb.base/break-on-linker-gcd-function.exp: Replace
1102 prepare_for_testing by build_executable_from_specs and clean_restart.
1103
11042013-06-27 Tom Tromey <tromey@redhat.com>
1105
1106 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
1107 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
1108 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
1109 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
1110 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
1111 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
1112 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
1113 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
1114 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
1115 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
1116 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
1117 Use standard_testfile, standard_output_file, prepare_for_testing,
1118 clean_restart.
1119
11202013-06-27 Tom Tromey <tromey@redhat.com>
1121
1122 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
1123 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
1124 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
1125 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1126 gdb.base/shreloc.exp, gdb.base/sigall.exp,
1127 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
1128 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
1129 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
1130 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
1131 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
1132 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
1133 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
1134 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
1135 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
1136 gdb.base/solib-weak.exp, gdb.base/source.exp,
1137 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
1138 gdb.base/stap-probe.exp, gdb.base/start.exp,
1139 gdb.base/step-break.exp, gdb.base/step-bt.exp,
1140 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
1141 gdb.base/step-test.exp, gdb.base/structs.exp,
1142 gdb.base/structs2.exp, gdb.base/structs3.exp,
1143 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
1144 standard_output_file, prepare_for_testing, clean_restart.
1145
11462013-06-27 Tom Tromey <tromey@redhat.com>
1147
1148 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
1149 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
1150 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
1151 gdb.base/pending.exp, gdb.base/permissions.exp,
1152 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
1153 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
1154 gdb.base/printcmds.exp, gdb.base/prologue.exp,
1155 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
1156 gdb.base/ptype.exp, gdb.base/randomize.exp,
1157 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
1158 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
1159 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
1160 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
1161 standard_testfile, standard_output_file, prepare_for_testing,
1162 clean_restart.
1163
11642013-06-27 Tom Tromey <tromey@redhat.com>
1165
1166 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
1167 gdb.base/huge.exp, gdb.base/included.exp,
1168 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
1169 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
1170 gdb.base/info-os.exp, gdb.base/info-proc.exp,
1171 gdb.base/info-target.exp, gdb.base/infoline.exp,
1172 gdb.base/interp.exp, gdb.base/interrupt.exp,
1173 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
1174 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
1175 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
1176 gdb.base/logical.exp, gdb.base/long_long.exp,
1177 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
1178 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
1179 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
1180 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
1181 standard_testfile, standard_output_file, prepare_for_testing,
1182 clean_restart.
1183
11842013-06-27 Tom Tromey <tromey@redhat.com>
1185
1186 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
1187 gdb.base/enumval.exp, gdb.base/environ.exp,
1188 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
1189 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
1190 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
1191 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
1192 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
1193 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
1194 gdb.base/fullname.exp, gdb.base/funcargs.exp,
1195 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
1196 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
1197 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
1198 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
1199 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
1200 gdb.base/gnu_vector.exp: Use standard_testfile,
1201 standard_output_file, prepare_for_testing, clean_restart.
1202
12032013-06-27 Tom Tromey <tromey@redhat.com>
1204
1205 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
1206 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
1207 gdb.base/call-strs.exp, gdb.base/callexit.exp,
1208 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
1209 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
1210 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
1211 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
1212 gdb.base/commands.exp, gdb.base/completion.exp,
1213 gdb.base/complex.exp, gdb.base/cond-expr.exp,
1214 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
1215 gdb.base/constvars.exp, gdb.base/corefile.exp,
1216 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
1217 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1218 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
1219 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
1220 gdb.base/dup-sect.exp: Use standard_testfile,
1221 standard_output_file, prepare_for_testing, clean_restart.
1222
12232013-06-27 Tom Tromey <tromey@redhat.com>
1224
1225 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
1226 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
1227 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
1228 gdb.base/async-shell.exp, gdb.base/async.exp,
1229 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
1230 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
1231 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
1232 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
1233 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
1234 gdb.base/break-on-linker-gcd-function.exp,
1235 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
1236 standard_output_file, prepare_for_testing, clean_restart.
1237
12382013-06-26 Yao Qi <yao@codesourcery.com>
1239
1240 * gdb.trace/mi-trace-frame-collected.exp: New.
1241
12422013-06-25 Yao Qi <yao@codesourcery.com>
1243
1244 * boards/native-extended-gdbserver.exp: Set board_info
1245 'gdb,predefined_tsv'.
1246 * boards/native-gdbserver.exp: Likewise.
1247 * boards/native-stdio-gdbserver.exp: Likewise.
1248 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
1249 uploaded TSVs if target supports tracing.
1250 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
1251 tracing and target has predefined tsv.
1252
12532013-06-25 Yao Qi <yao@codesourcery.com>
1254 Hui Zhu <hui@codesourcery.com>
1255 Pedro Alves <palves@redhat.com>
1256
1257 PR breakpoints/15075
1258 PR breakpoints/15434
1259 * gdb.base/dprintf-next.c: New file.
1260 * gdb.base/dprintf-next.exp: New file.
1261 * gdb.base/dprintf-non-stop.c: New file.
1262 * gdb.base/dprintf-non-stop.exp: New file.
1263 * gdb.base/dprintf.exp: Don't check "continue" in the output
1264 of "info breakpoints".
1265 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1266 Don't check "continue" in script field.
1267
12682013-06-21 Tom Tromey <tromey@redhat.com>
1269
1270 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
1271 name in a test name.
1272
12732013-06-20 Yao Qi <yao@codesourcery.com>
1274
1275 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
1276 and set an action.
1277 (test_trace_unavailable): Test command -data-list-register-values
1278 in the context of traceframe and with option --skip-unavailable.
1279 * gdb.trace/trace-unavailable.c (foo): New.
1280 (main): Call it.
1281 * gdb.mi/gdb2549.exp: Update matching pattern.
1282
12832013-06-19 Mike Frysinger <vapier@gentoo.org>
1284
1285 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
1286 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
1287 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
1288 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
1289 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
1290
12912013-06-19 Luis Machado <lgustavo@codesourcery.com>
1292
1293 * gdb.base/subst.exp: Delete default rules before further
1294 tests.
1295
12962013-06-19 Yao Qi <yao@codesourcery.com>
1297
1298 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
1299 unsupported if it is not registered.
1300
13012013-06-18 Tom Tromey <tromey@redhat.com>
1302
1303 * gdb.base/random-signal.c: New file.
1304 * gdb.base/random-signal.exp: New file.
1305
13062013-06-18 Will Newton <will.newton@linaro.org>
1307
1308 * gdb.base/skip.c: Use comma to evaluate results of foo()
1309 and bar() before passing to baz().
1310 * gdb.base/skip.c: baz() now takes one argument instead of
1311 two.
1312
13132013-06-18 Tom Tromey <tromey@redhat.com>
1314
1315 * gdb.dwarf2/implptrpiece.exp: New file.
1316 * gdb.dwarf2/implptrconst.exp (d): New variable.
1317 Print d.
1318 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
1319
13202013-06-18 Tom Tromey <tromey@redhat.com>
1321
1322 * lib/selftest-support.exp (do_self_tests): Reject remote or
1323 non-native targets.
1324 * gdb.gdb/complaints.exp: Remove check.
1325 * gdb.gdb/observer.exp: Remove check.
1326 * gdb.gdb/xfullpath.exp: Remove check.
1327 * gdb.gdb/complaints.exp: Remove check.
1328
13292013-06-07 Pedro Alves <palves@redhat.com>
1330
1331 * boards/native-extended-gdbserver.exp: Remove semicolon.
1332 * config/arm-ice.exp: Likewise.
1333 * config/bfin.exp: Likewise.
1334 * config/cygmon.exp: Likewise.
1335 * config/h8300.exp: Likewise.
1336 * config/monitor.exp: Likewise.
1337 * config/sid.exp: Likewise.
1338 * config/sim.exp: Likewise.
1339 * config/slite.exp: Likewise.
1340 * config/vx.exp: Likewise.
1341 * gdb.arch/i386-bp_permanent.exp: Likewise.
1342 * gdb.asm/asm-source.exp: Likewise.
1343 * gdb.base/args.exp: Likewise.
1344 * gdb.base/attach-pie-misread.exp: Likewise.
1345 * gdb.base/auxv.exp: Likewise.
1346 * gdb.base/bigcore.exp: Likewise.
1347 * gdb.base/bitfields2.exp: Likewise.
1348 * gdb.base/bitfields.exp: Likewise.
1349 * gdb.base/break.exp: Likewise.
1350 * gdb.base/break-interp.exp: Likewise.
1351 * gdb.base/callfuncs.exp: Likewise.
1352 * gdb.base/call-sc.exp: Likewise.
1353 * gdb.base/commands.exp: Likewise.
1354 * gdb.base/corefile.exp: Likewise.
1355 * gdb.base/dbx.exp: Likewise.
1356 * gdb.base/ending-run.exp: Likewise.
1357 * gdb.base/exprs.exp: Likewise.
1358 * gdb.base/funcargs.exp: Likewise.
1359 * gdb.base/hbreak2.exp: Likewise.
1360 * gdb.base/huge.exp: Likewise.
1361 * gdb.base/list.exp: Likewise.
1362 * gdb.base/memattr.exp: Likewise.
1363 * gdb.base/overlays.exp: Likewise.
1364 * gdb.base/printcmds.exp: Likewise.
1365 * gdb.base/recurse.exp: Likewise.
1366 * gdb.base/remotetimeout.exp: Likewise.
1367 * gdb.base/reread.exp: Likewise.
1368 * gdb.base/savedregs.exp: Likewise.
1369 * gdb.base/scope.exp: Likewise.
1370 * gdb.base/sepdebug.exp: Likewise.
1371 * gdb.base/setshow.exp: Likewise.
1372 * gdb.base/setvar.exp: Likewise.
1373 * gdb.base/sigaltstack.exp: Likewise.
1374 * gdb.base/siginfo-addr.exp: Likewise.
1375 * gdb.base/siginfo.exp: Likewise.
1376 * gdb.base/siginfo-obj.exp: Likewise.
1377 * gdb.base/sigrepeat.exp: Likewise.
1378 * gdb.base/sigstep.exp: Likewise.
1379 * gdb.base/structs.exp: Likewise.
1380 * gdb.base/testenv.exp: Likewise.
1381 * gdb.base/twice.exp: Likewise.
1382 * gdb.base/valgrind-db-attach.exp: Likewise.
1383 * gdb.base/valgrind-infcall.exp: Likewise.
1384 * gdb.base/varargs.exp: Likewise.
1385 * gdb.base/watchpoint.exp: Likewise.
1386 * gdb.cp/gdb1355.exp: Likewise.
1387 * gdb.cp/misc.exp: Likewise.
1388 * gdb.disasm/hppa.exp: Likewise.
1389 * gdb.disasm/t01_mov.exp: Likewise.
1390 * gdb.disasm/t02_mova.exp: Likewise.
1391 * gdb.disasm/t03_add.exp: Likewise.
1392 * gdb.disasm/t04_sub.exp: Likewise.
1393 * gdb.disasm/t05_cmp.exp: Likewise.
1394 * gdb.disasm/t06_ari2.exp: Likewise.
1395 * gdb.disasm/t07_ari3.exp: Likewise.
1396 * gdb.disasm/t08_or.exp: Likewise.
1397 * gdb.disasm/t09_xor.exp: Likewise.
1398 * gdb.disasm/t10_and.exp: Likewise.
1399 * gdb.disasm/t11_logs.exp: Likewise.
1400 * gdb.disasm/t12_bit.exp: Likewise.
1401 * gdb.disasm/t13_otr.exp: Likewise.
1402 * gdb.gdb/selftest.exp: Likewise.
1403 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1404 * gdb.mi/mi-reverse.exp: Likewise.
1405 * gdb.pascal/floats.exp: Likewise.
1406 * gdb.python/py-inferior.exp: Likewise.
1407 * gdb.threads/attach-into-signal.exp: Likewise.
1408 * gdb.threads/pthreads.exp: Likewise.
1409 * gdb.threads/thread_events.exp: Likewise.
1410 * gdb.threads/watchthreads.exp: Likewise.
1411 * gdb.trace/actions-changed.exp: Likewise.
1412 * gdb.trace/actions.exp: Likewise.
1413 * gdb.trace/ax.exp: Likewise.
1414 * gdb.trace/backtrace.exp: Likewise.
1415 * gdb.trace/change-loc.exp: Likewise.
1416 * gdb.trace/deltrace.exp: Likewise.
1417 * gdb.trace/disconnected-tracing.exp: Likewise.
1418 * gdb.trace/ftrace.exp: Likewise.
1419 * gdb.trace/infotrace.exp: Likewise.
1420 * gdb.trace/passc-dyn.exp: Likewise.
1421 * gdb.trace/passcount.exp: Likewise.
1422 * gdb.trace/pending.exp: Likewise.
1423 * gdb.trace/qtro.exp: Likewise.
1424 * gdb.trace/range-stepping.exp: Likewise.
1425 * gdb.trace/report.exp: Likewise.
1426 * gdb.trace/save-trace.exp: Likewise.
1427 * gdb.trace/status-stop.exp: Likewise.
1428 * gdb.trace/strace.exp: Likewise.
1429 * gdb.trace/tfile.exp: Likewise.
1430 * gdb.trace/tfind.exp: Likewise.
1431 * gdb.trace/trace-break.exp: Likewise.
1432 * gdb.trace/tracecmd.exp: Likewise.
1433 * gdb.trace/trace-mt.exp: Likewise.
1434 * gdb.trace/tspeed.exp: Likewise.
1435 * gdb.trace/tsv.exp: Likewise.
1436 * gdb.trace/while-stepping.exp: Likewise.
1437 * lib/gdb.exp: Likewise.
1438 * lib/gdbserver-support.exp: Likewise.
1439 * lib/java.exp: Likewise.
1440 * lib/mi-support.exp: Likewise.
1441 * lib/pascal.exp: Likewise.
1442 * lib/prompt.exp: Likewise.
1443 * lib/trace-support.exp: Likewise.
1444
14452013-06-07 Pedro Alves <palves@redhat.com>
1446
1447 * gdb.ada/info_types.c: Fix formating in copyright header.
1448 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1449 * gdb.base/float.c: Likewise.
1450 * gdb.base/inferior-died.c: Likewise.
1451 * gdb.base/interp.c: Likewise.
1452 * gdb.base/jit-main.c: Likewise.
1453 * gdb.base/jit-solib.c: Likewise.
1454 * gdb.base/long_long.c: Likewise.
1455 * gdb.base/longjmp.c: Likewise.
1456 * gdb.base/nextoverexit.c: Likewise.
1457 * gdb.base/pr11022.c: Likewise.
1458 * gdb.base/prelink-lib.c: Likewise.
1459 * gdb.base/prelink.c: Likewise.
1460 * gdb.base/prologue.c: Likewise.
1461 * gdb.base/restore.c: Likewise.
1462 * gdb.base/sigchld.c: Likewise.
1463 * gdb.base/solib-search-lib1.c: Likewise.
1464 * gdb.base/solib-search-lib2.c: Likewise.
1465 * gdb.base/solib-search.c: Likewise.
1466 * gdb.base/solib-search.h: Likewise.
1467 * gdb.base/whatis.c: Likewise.
1468 * gdb.cp/abstract-origin.cc: Likewise.
1469 * gdb.cp/anon-struct.cc: Likewise.
1470 * gdb.cp/baseenum.cc: Likewise.
1471 * gdb.cp/bs15503.cc: Likewise.
1472 * gdb.cp/call-c-1.c: Likewise.
1473 * gdb.cp/call-c.cc: Likewise.
1474 * gdb.cp/class2.cc: Likewise.
1475 * gdb.cp/classes.cc: Likewise.
1476 * gdb.cp/cttiadd.cc: Likewise.
1477 * gdb.cp/cttiadd1.cc: Likewise.
1478 * gdb.cp/cttiadd2.cc: Likewise.
1479 * gdb.cp/cttiadd3.cc: Likewise.
1480 * gdb.cp/derivation.cc: Likewise.
1481 * gdb.cp/derivation2.cc: Likewise.
1482 * gdb.cp/dispcxx.cc: Likewise.
1483 * gdb.cp/exception.cc: Likewise.
1484 * gdb.cp/gdb2384-base.cc: Likewise.
1485 * gdb.cp/gdb2384-base.h: Likewise.
1486 * gdb.cp/gdb2384.cc: Likewise.
1487 * gdb.cp/gdb2495.cc: Likewise.
1488 * gdb.cp/mb-inline.h: Likewise.
1489 * gdb.cp/mb-inline1.cc: Likewise.
1490 * gdb.cp/mb-inline2.cc: Likewise.
1491 * gdb.cp/member-name.cc: Likewise.
1492 * gdb.cp/member-ptr.cc: Likewise.
1493 * gdb.cp/misc.cc: Likewise.
1494 * gdb.cp/namespace1.cc: Likewise.
1495 * gdb.cp/nextoverthrow.cc: Likewise.
1496 * gdb.cp/pr-574.cc: Likewise.
1497 * gdb.cp/pr9631.cc: Likewise.
1498 * gdb.cp/printmethod.cc: Likewise.
1499 * gdb.cp/psmang1.cc: Likewise.
1500 * gdb.cp/psmang2.cc: Likewise.
1501 * gdb.cp/psymtab-parameter.cc: Likewise.
1502 * gdb.cp/ptype-flags.cc: Likewise.
1503 * gdb.cp/ref-params.cc: Likewise.
1504 * gdb.cp/ref-types.cc: Likewise.
1505 * gdb.cp/smartp.cc: Likewise.
1506 * gdb.cp/try_catch.cc: Likewise.
1507 * gdb.cp/userdef.cc: Likewise.
1508 * gdb.cp/using-crash.cc: Likewise.
1509 * gdb.cp/virtfunc.cc: Likewise.
1510 * gdb.cp/virtfunc2.cc: Likewise.
1511 * gdb.dwarf2/callframecfa.S: Likewise.
1512 * gdb.dwarf2/dw2-ranges.c: Likewise.
1513 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1514 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1515 * gdb.dwarf2/dw2-restore.S: Likewise.
1516 * gdb.dwarf2/pieces.S: Likewise.
1517 * gdb.dwarf2/valop.S: Likewise.
1518 * gdb.java/jnpe.java: Likewise.
1519 * gdb.mi/mi-stepn.c: Likewise.
1520 * gdb.mi/mi-var-cp.cc: Likewise.
1521 * gdb.mi/mi-var-rtti.cc: Likewise.
1522 * gdb.mi/ns-stale-regcache.c: Likewise.
1523 * gdb.mi/pr11022.c: Likewise.
1524 * gdb.mi/solib-lib.c: Likewise.
1525 * gdb.mi/solib-main.c: Likewise.
1526 * gdb.python/py-arch.c: Likewise.
1527 * gdb.python/py-block.c: Likewise.
1528 * gdb.python/py-breakpoint.c: Likewise.
1529 * gdb.python/py-events.c: Likewise.
1530 * gdb.python/py-evthreads.c: Likewise.
1531 * gdb.python/py-explore.c: Likewise.
1532 * gdb.python/py-explore.cc: Likewise.
1533 * gdb.python/py-finish-breakpoint.c: Likewise.
1534 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1535 * gdb.python/py-symbol.c: Likewise.
1536 * gdb.threads/execl.c: Likewise.
1537 * gdb.threads/execl1.c: Likewise.
1538
15392013-06-07 Will Newton <will.newton@linaro.org>
1540
1541 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1542
15432013-06-07 Will Newton <will.newton@linaro.org>
1544
1545 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1546 and "starting".
1547
15482013-06-07 Will Newton <will.newton@linaro.org>
1549
1550 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1551 destructor prototypes for ARM ABI.
1552 * gdb.cp/m-static.exp: Likewise.
1553
15542013-06-07 Yao Qi <yao@codesourcery.com>
1555
1556 * gdb.trace/mi-trace-unavailable.exp: New.
1557 * gdb.trace/trace-unavailable.c: New.
1558
15592013-06-06 Doug Evans <dje@google.com>
1560
1561 * gdb.cp/derivation.exp: Make tests have unique names.
1562
15632013-06-06 Tom Tromey <tromey@redhat.com>
1564
1565 * gdb.base/dump.exp (capture_value): Don't put expression into
1566 test name if arguments passed in.
1567 Rename a couple more tests to make them unique.
1568
15692013-06-06 Tom Tromey <tromey@redhat.com>
1570
1571 * gdb.base/break-always.exp: Explicitly specify test name.
1572
15732013-06-05 Doug Evans <dje@google.com>
1574 Keith Seitz <keiths@redhat.com>
1575
1576 * gdb.cp/derivation2.cc: New file.
1577 * gdb.cp/derivation.cc (main): Call foo2.
1578 * gdb.cp/derivation.exp: Add tests for typedefs in another
1579 file, and when there's an active block.
1580
15812013-06-05 Luis Machado <lgustavo@codesourcery.com>
1582
1583 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1584 from targets that use function descriptors in the virtual tables.
1585 Handle presence of dot symbols.
1586
15872013-06-04 Gary Benson <gbenson@redhat.com>
1588
1589 * gdb.base/break-probes.exp: New file.
1590 * gdb.base/break-probes.c: Likewise.
1591 * gdb.base/break-probes-solib.c: Likewise.
1592 * gdb.base/info-shared.exp: New file.
1593 * gdb.base/info-shared.c: Likewise.
1594 * gdb.base/info-shared-solib1.c: Likewise.
1595 * gdb.base/info-shared-solib2.c: Likewise.
1596
15972013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1598 Gary Benson <gbenson@redhat.com>
1599
1600 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1601 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1602 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1603 to be set to "no" to indicate that no ld.so copy should be made.
1604 * gdb.base/break-interp.exp (solib_bp): New constant.
1605 (reach_1): Use the above instead of "_dl_debug_state".
1606 (test_attach): Likewise.
1607 (test_ld): Likewise.
1608 * gdb.threads/dlopen-libpthread.exp: New file.
1609 * gdb.threads/dlopen-libpthread.c: Likewise.
1610 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1611 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1612
16132013-05-30 Yao Qi <yao@codesourcery.com>
1614
1615 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1616 Add a test that no MI notification is emitted when executing
1617 -exec-arguments.
1618
16192013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1620
1621 PR testsuite/12649
1622 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1623 $mi_gdb_prompt expectation by mi_expect_stop.
1624 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1625 (mi info dprintf second time): Replace them by mi_send_resuming_command
1626 and mi_expect_stop.
1627
16282013-05-24 Gary Benson <gbenson@redhat.com>
1629
1630 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1631 backslash.
1632 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1633 backslashes.
1634 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1635 backslash.
1636
16372013-05-24 Yao Qi <yao@codesourcery.com>
1638
1639 * gdb.trace/tfile.exp: Test inferior and thread.
1640
16412013-05-24 Yao Qi <yao@codesourcery.com>
1642 Pedro Alves <palves@redhat.com>
1643
1644 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1645 test fails.
1646 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1647 Return 0 if the test passes, otherwise return 1.
1648
16492013-05-23 Doug Evans <dje@google.com>
1650
1651 * boards/fission-dwp.exp: New file.
1652
16532013-05-23 Yao Qi <yao@codesourcery.com>
1654 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.base/range-stepping.c: New file.
1657 * gdb.base/range-stepping.exp: New file.
1658 * gdb.trace/range-stepping.c: New file.
1659 * gdb.trace/range-stepping.exp: New file.
1660 * lib/range-stepping-support.exp: New file.
1661
16622013-05-22 Tom Tromey <tromey@redhat.com>
1663
1664 * gdb.cp/class2.cc (main): New local 'aref'.
1665 * gdb.cp/class2.exp: Check printing of 'aref'.
1666
16672013-05-22 Doug Evans <dje@google.com>
1668
1669 * gdb.threads/wp-replication.c (main): Insert some code at the start
1670 to ensure the breakpoint on main is only hit once. Fix comment.
1671
16722013-05-21 Keith Seitz <keiths@redhat.com>
1673 Pedro Alves <palves@redhat.com>
1674
1675 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1676 gdb_expect.
1677 Add test to flush the remaining input buffer so that this
1678 file passes testsuite/12649.
1679
16802013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1681
1682 * gdb.base/catch-signal-fork.exp: New file.
1683 * gdb.base/catch-signal-fork.c: New file.
1684
16852013-05-21 Sterling Augustine <saugustine@google.com>
1686
1687 * boards/remote-stdio-gdbserver.exp: New file.
1688
16892013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1690
1691 PR testsuite/12649
1692 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1693 racy matches.
1694
16952013-05-21 Christian Groessler <chris@groessler.org>
1696
1697 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1698 since it's not supported in all shells.
1699
17002013-05-21 Hui Zhu <hui@codesourcery.com>
1701
1702 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1703 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1704
17052013-05-20 Doug Evans <dje@google.com>
1706
1707 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1708 (_handle_DW_TAG): Use it.
1709 (cu, tu): Replace parameters is_64, version, addr_size with options.
1710 All callers updated. Add Fission support.
1711 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1712 * gdb.dwarf2/method-ptr.exp: Ditto.
1713 * gdb.dwarf2/nostaticblock.exp: Ditto.
1714 * gdb.dwarf2/subrange.exp: Ditto.
1715 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1716
17172013-05-20 Tom Tromey <tromey@redhat.com>
1718
1719 * gdb.gdb/python-selftest.exp: New file.
1720
17212013-05-20 Doug Evans <dje@google.com>
1722
1723 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1724 -fdebug-types-section.
1725
17262013-05-20 Joel Brobecker <brobecker@adacore.com>
1727
1728 * gdb.ada/float_param: New testcase.
1729
17302013-05-17 Doug Evans <dje@google.com>
1731
1732 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1733 Add tests for "maint check-symtabs", "maint expand-symtabs".
1734
1735 * gdb.base/maint.exp: Remove testing of individual maint command
1736 help output.
1737
17382013-05-16 Pedro Alves <palves@redhat.com>
1739
1740 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1741 comment. Use gdb_test_no_output.
1742
17432013-05-16 Joel Brobecker <brobecker@adacore.com>
1744
1745 * gdb.ada/complete.exp: Add test verifying completion using
1746 the "tab" key.
1747
17482013-05-15 Keith Seitz <keiths@redhat.com>
1749
1750 * gdb.base/filesym.exp: New completer test.
1751 * gdb.base/filesym.c: New file.
1752
17532013-05-15 Pedro Alves <palves@redhat.com>
1754
1755 * gdb.base/fixsection.c: Remove attribution.
1756 * gdb.base/watch-read.exp: Ditto.
1757
17582013-05-13 Tom Tromey <tromey@redhat.com>
1759
1760 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1761 size and change type sizes to 4 bytes.
1762
17632013-05-13 Tom Tromey <tromey@redhat.com>
1764
1765 * gdb.base/exprs.exp (test_expr): Add regression test.
1766 * gdb.base/exprs.c (null_t_struct): New global.
1767
17682013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1769
1770 * gdb.base/default.exp: Disable history saving.
1771 * gdb.base/setshow.exp: Likewise.
1772
17732013-05-10 Pedro Alves <palves@redhat.com>
1774
1775 PR remote/15455
1776
1777 * gdb.trace/qtro.c: New file.
1778 * gdb.trace/qtro.exp: New file.
1779
17802013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1781
1782 * gdb.python/py-framefilter.py: New File.
1783 * gdb.python/py-framefilter-mi.exp: Ditto.
1784 * gdb.python/py-framefilter.c: Ditto.
1785 * gdb.python/py-framefilter-mi.exp: Ditto.
1786 * gdb.python/py-framefilter-mi.c: Ditto,
1787 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1788
17892013-05-08 Tom Tromey <tromey@redhat.com>
1790
1791 * gdb.base/solib-search.exp: Set test name for "set
1792 solib-search-path" test.
1793
17942013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1795
1796 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1797 (set_a_tracepoint): Set tracepoint before prologue.
1798 (run_trace_experiment): Test setup_tracepoints and 'break end'
1799 in it.
1800 (trace_buffer_normal): Remove.
1801 (gdb_trace_circular_tests): Remove. Move tests to...
1802 (top level): ...here. Call 'runto_main' before checking for
1803 trace support. Use commands to check the support for circular
1804 trace buffer and changing of trace buffer size. Add test
1805 to calculate size of single frame. Use this size to
1806 calculate the size of trace buffer. Use 'tfind pc func9'
1807 instead of 'tfind 9'. Use 'with_test_prefix'.
1808
18092013-05-07 Tom Tromey <tromey@redhat.com>
1810
1811 * lib/selftest-support.exp: New file.
1812 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1813 do_self_tests.
1814 (setup_test, find_gdb): Remove.
1815 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1816 do_self_tests.
1817 (setup_test, find_gdb): Remove.
1818 (test_observer): Don't call setup_test. Remove argument.
1819 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1820 (find_gdb): Remove.
1821 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1822 do_self_tests.
1823 (setup_test, find_gdb): Remove.
1824 (test_with_self): Don't call setup_test. Remove argument.
1825
18262013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1827
1828 * gdb.arch/system-gcore.exp: Remove.
1829 * gdb.arch/gcore.c: Remove.
1830 * gdb.base/gcore.exp: Add "info reg system".
1831
18322013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1833
1834 PR breakpoints/15413:
1835 * gdb.base/pending.exp: Add test for completion of the "condition"
1836 command for pending breakpoints.
1837 * gdb.linespec/linespec.ex: Add test for completion of the
1838 "condition" command when dealing with multiple locations.
1839
18402013-05-07 Luis Machado <lgustavo@codesourcery.com>
1841
1842 * gdb.threads/wp-replication.c: New file.
1843 * gdb.threads/wp-replication.exp: New file.
1844
18452013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1846
1847 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1848
18492013-05-06 Doug Evans <dje@google.com>
1850
1851 * gdb.base/solib-search-lib1.c: New file.
1852 * gdb.base/solib-search-lib2.c: New file.
1853 * gdb.base/solib-search.c: New file.
1854 * gdb.base/solib-search.h: New file.
1855 * gdb.base/solib-search.exp: New file.
1856
1857 * lib/gdb.exp (gdb_core_cmd): New function.
1858 * gdb.arch/system-gcore.exp: Use it.
1859 * gdb.arch/vsx-regs.exp: Ditto.
1860 * gdb.base/gcore.exp: Ditto.
1861 * gdb.threads/gcore-thread.exp: Ditto.
1862
1863 * gdb.reverse/shr.h: New file.
1864 * gdb.reverse/shr1.c: New file.
1865 * gdb.reverse/shr2.c: #include "shr.h".
1866 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1867 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1868 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1869 Update tests using sleep/printf to use shr2.sl instead.
1870 * gdb.reverse/solib-reverse.exp: Ditto.
1871
18722013-05-06 Tom Tromey <tromey@redhat.com>
1873
1874 * gdb.dwarf2/implptrconst.c: New file.
1875 * gdb.dwarf2/implptrconst.exp: New file.
1876 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1877 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1878 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1879
18802013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1881
1882 * gdb.base/catch-sig.c (main): Raise SIGINT.
1883 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1884
18852013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1886
1887 * status-stop.exp (test_tstart_tstart): Check for error
1888 returned by the second 'tstart' command.
1889
18902013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1891
1892 * gdb.xml/maint_print_struct.exp: New file.
1893 * gdb.xml/maint_print_struct.xml: New file.
1894
18952013-04-25 Tom Tromey <tromey@redhat.com>
1896
1897 * gdb.dwarf2/nostaticblock.exp: New file.
1898
18992013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1900
1901 PR gdb/10462
1902 * gdb.base/setshow.exp: Add test case.
1903
19042013-04-23 Hui Zhu <hui@codesourcery.com>
1905
1906 PR gdb/15293
1907 * gdb.base/dprintf.exp: Add ignore command.
1908
19092013-04-23 Hui Zhu <hui@codesourcery.com>
1910
1911 PR gdb/15165
1912 * gdb.base/save-bp.exp: Add test for dprintf.
1913
19142013-04-22 Tom Tromey <tromey@redhat.com>
1915
1916 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1917 notice_open_fds.
1918
19192013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1920
1921 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1922 ldflags.
1923
19242013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1925
1926 * gdb.arch/arm-bl-branch-dest.c: New file.
1927 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1928
19292013-04-19 Vladimir Kargov <kargov@gmail.com>
1930 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.arch/i386-float.S: New file.
1933 * gdb.arch/i386-float.exp: New file.
1934
19352013-04-18 Luis Machado <lgustavo@codesourcery.com>
1936
1937 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1938 type void *.
1939
19402013-04-17 Doug Evans <dje@google.com>
1941
1942 * lib/dwarf.exp (Dwarf): New proc "tu".
1943 * gdb.dwarf2/missing-sig-type.exp: New file.
1944
19452013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1946
1947 Add option to link testcases with Pthreads library when
1948 using 'prepare_for_testing' in tests.
1949
1950 * lib/gdb.exp (build_executable_from_specs): Use
1951 gdb_compile_pthreads to compile if option "pthreads" is
1952 specified.
1953
19542013-04-15 Tom Tromey <tromey@redhat.com>
1955
1956 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1957
19582013-04-15 Tom Tromey <tromey@redhat.com>
1959
1960 * gdb.base/default.exp: Update for $_exception.
1961 * gdb.cp/exceptprint.cc: New file.
1962 * gdb.cp/exceptprint.exp: New file.
1963 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1964
19652013-04-15 Tom Tromey <tromey@redhat.com>
1966
1967 * gdb.cp/typeid.cc: New file.
1968 * gdb.cp/typeid.exp: New file.
1969
19702013-04-15 Tom Tromey <tromey@redhat.com>
1971
1972 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1973
19742013-04-13 Yao Qi <yao@codesourcery.com>
1975
1976 * gdb.base/completion.exp: Test completion of command
1977 'target ctf' if target ctf is supported.
1978
19792013-04-10 Pedro Alves <palves@redhat.com>
1980
1981 * gdb.base/completion.exp: Test "set height", "set listsize" and
1982 "set trace-buffer-size" completion.
1983 * gdb.base/setshow.exp: Test "set height unlimited".
1984 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1985 unlimited".
1986
19872013-04-10 Yao Qi <yao@codesourcery.com>
1988
1989 * gdb.trace/actions.exp: Save trace data to CTF.
1990 Change to ctf target if GDB supports, read CTF data in ctf
1991 target, and check the actions of tracepoints.
1992 * gdb.trace/while-stepping.exp: Likewise.
1993 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1994 format and read CTF trace file if GDB supports.
1995 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1996 target is supported, change to ctf target, read trace data and
1997 check output of command "tstatus".
1998 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1999 read CTF data by target ctf and call check_tsv.
2000
20012013-04-10 Yao Qi <yao@codesourcery.com>
2002
2003 * gdb.trace/actions.exp (check_tracepoint): New.
2004 (top level): Start the tracing and check the actions of
2005 tracepoints. Save trace data to tfile format. Restart GDB
2006 and read trace file in tfile target. Check the actions of
2007 tracepoints again.
2008 * gdb.trace/while-stepping.exp: Likewise.
2009
20102013-04-10 Yao Qi <yao@codesourcery.com>
2011
2012 * gdb.trace/report.exp: Use standard_output_file for saved
2013 trace file.
2014
20152013-04-10 Hui Zhu <hui@codesourcery.com>
2016
2017 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
2018 (MISCELLANEOUS): Add dprintf-pendshr.sl.
2019 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
2020
20212013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2022
2023 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
2024 response.
2025
20262013-04-08 Pedro Alves <palves@redhat.com>
2027
2028 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
2029 the location.
2030
20312013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2032
2033 * gdb.cp/cplabel.exp: Allow empty directory in file reported
2034 for breakpoint location.
2035
20362013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2037
2038 * gdb.linespec/linespec.exp: Make dir/file:line tests
2039 conditional for non-remote hosts only.
2040
20412013-04-04 Stan Shebs <stan@codesourcery.com>
2042 Pedro Alves <palves@redhat.com>
2043
2044 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
2045 * gdb.trace/actions-changed.c: New file.
2046 * gdb.trace/actions-changed.exp: New file.
2047 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
2048 (gdb_trace_setactions_command): ... this. Add "actions_command"
2049 parameter, and handle it.
2050 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
2051
20522013-04-04 Yao Qi <yao@codesourcery.com>
2053
2054 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
2055 'step'.
2056
20572013-04-03 Yao Qi <yao@codesourcery.com>
2058
2059 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
2060 "tfile-basic.tf".
2061 (test_tfind_tfile): Likewise.
2062
20632013-04-03 Yao Qi <yao@codesourcery.com>
2064
2065 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
2066 "tfile-basic.tf" instead of "basic.tf".
2067 (write_error_trace_file): Pass argument "tfile-error.tf"
2068 instead of "error.tf".
2069 * gdb.trace/tfile.exp: Update tfile names to
2070 "tfile-basic.tf" and "tfile-error.tf".
2071
20722013-04-02 Sandra Loosemore <sandra@codesourcery.com>
2073
2074 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
2075 empty directory in file for breakpoint hit.
2076
20772013-03-29 Yao Qi <yao@codesourcery.com>
2078
2079 * gdb.base/completion.exp: Test completion of commands
2080 "target core", "target tfile" and "target exec".
2081 * gdb.trace/tfile.exp: Test completion of command
2082 "target tfile".
2083
20842013-03-28 Joel Brobecker <brobecker@adacore.com>
2085
2086 * gdb.ada/win_fu_syms: New testcase.
2087
20882013-03-28 Doug Evans <dje@google.com>
2089
2090 * gdb.base/maint.exp (maint print statistics): Update expected output.
2091
20922013-03-28 Pedro Alves <palves@redhat.com>
2093
2094 PR gdb/15294
2095
2096 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
2097 mean unlimited instead of $arg < 0.
2098 (test_listsize): Remove "listsize of 0 suppresses output" test.
2099 Test that "set listsize 0" ends up with an unlimited listsize.
2100
21012013-03-28 Pedro Alves <palves@redhat.com>
2102
2103 * gdb.base/list.exp (last_line): New global.
2104 (last_line_re): New global.
2105 (test_listsize, test_list_function, test_list_forward)
2106 (test_repeat_list_command, test_list_range)
2107 (test_list_filename_and_function): Use them.
2108 * gdb.base/list0.c: Comment the last line of the file with "last
2109 line".
2110
21112013-03-28 Pedro Alves <palves@redhat.com>
2112
2113 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
2114 list the whole file.
2115
21162013-03-28 Pedro Alves <palves@redhat.com>
2117
2118 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
2119 "set listsize".
2120
21212013-03-26 Keith Seitz <keiths@redhat.com>
2122
2123 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
2124 from passing.
2125
21262013-03-26 Pedro Alves <palves@redhat.com>
2127
2128 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
2129 until after GDB has run.
2130
21312013-03-26 Yao Qi <yao@codesourcery.com>
2132
2133 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
2134 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
2135
21362013-03-26 Markus Metzger <markus.t.metzger@intel.com>
2137
2138 * gdb.btrace/enable.exp: Add regression test.
2139
21402013-03-25 Tom Tromey <tromey@redhat.com>
2141
2142 * gdb.cp/m-static.exp: Add destructor-printing tests.
2143
21442013-03-25 Tom Tromey <tromey@redhat.com>
2145
2146 * gdb.cp/m-static.exp: Add constructor ptype tests.
2147 * gdb.cp/m-static.cc (single_constructor): New class.
2148 (main): Make instance of single_constructor.
2149
21502013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2151 Pedro Alves <palves@redhat.com>
2152
2153 * gdb.server/server-kill.c: New file.
2154 * gdb.server/server-kill.exp: New file.
2155
21562013-03-21 Pedro Alves <palves@redhat.com>
2157
2158 * gdb.trace/trace-buffer-size.exp (get default buffer size):
2159 Expect $gdb_prompt in gdb_test_multiple.
2160
21612013-03-21 Doug Evans <dje@google.com>
2162
2163 * gdb.base/maint.exp: Update tests for per-command stats.
2164
21652013-03-21 Tom Tromey <tromey@redhat.com>
2166
2167 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
2168 * gdb.cp/misc.exp: Add test for FILENAME:: case.
2169
21702013-03-20 Pedro Alves <palves@redhat.com>
2171
2172 PR gdb/15289
2173
2174 * gdb.base/remote.exp: Test
2175 "set remote hardware-watchpoint-limit -1",
2176 "set remote hardware-breakpoint-limit -1",
2177 "set remote hardware-watchpoint-limit 2147483647" and
2178 "set remote hardware-breakpoint-limit 2147483647".
2179
21802013-03-20 Pedro Alves <palves@redhat.com>
2181 Yao Qi <yao@codesourcery.com>
2182
2183 * gdb.trace/tfile.c: Add comments.
2184 (nonconstglob): New global.
2185 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
2186 global that is not covered by the trace frame. Test
2187 disassembling.
2188
21892013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2190
2191 * gdb.base/valgrind-infcall.exp
2192 (continue #$continue_count) <remote connection closed>
2193 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
2194 $valgrind_pid.
2195
21962013-03-15 Tom Tromey <tromey@redhat.com>
2197
2198 * gdb.cp/overload.cc (intintfunc): New.
2199 * gdb.cp/overload.exp: Add regression test.
2200
22012013-03-15 Yao Qi <yao@codesourcery.com>
2202
2203 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
2204 using with_test_prefix.
2205 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
2206 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
2207 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
2208 * gdb.threads/watchpoint-fork.exp (test): Likewise.
2209 * gdb.base/break-interp.exp (test_core): Likewise.
2210 (test_attach_gdb): Likewise.
2211 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2212 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2213 Likewise.
2214 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2215 * gdb.base/jit.exp (one_jit_test): Likewise.
2216 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
2217 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
2218 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
2219 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
2220 Likewise.
2221 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2222 Likewise.
2223 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
2224 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
2225 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
2226 (tracepoint_change_loc_2): Likewise.
2227 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2228 Likewise.
2229 (disconnected_tfind): Likewise.
2230 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
2231 Likewise.
2232 (test_tfind_remote): Likewise.
2233 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
2234 Likewise.
2235 (test_pending_resolved): Likewise.
2236 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
2237 Likewise.
2238 (test_upload_tsv): Likewise.
2239 * gdb.trace/pending.exp (pending_tracepoint_resolved):
2240 Likewise.
2241 (pending_tracepoint_works): Likewise.
2242 * gdb.trace/report.exp (use_collected_data): Likewise.
2243 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
2244 Likewise.
2245 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
2246 * gdb.trace/strace.exp (strace_info_marker): Likewise.
2247 (strace_trace_on_same_addr): Likewise.
2248 (strace_trace_on_diff_addr): Likewise.
2249 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
2250 (gdb_collect_locals_test): Likewise.
2251 (gdb_unavailable_registers_test): Likewise.
2252 (gdb_collect_globals_test): Likewise.
2253
22542013-03-15 Yao Qi <yao@codesourcery.com>
2255
2256 * gdb.base/condbreak.exp: Add semicolon back which was removed
2257 by my previous commit.
2258
22592013-03-14 Yao Qi <yao@codesourcery.com>
2260
2261 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
2262 'return'.
2263 (gdb_target_monitor, gdb_load): Likewise.
2264 * config/sid.exp (gdb_load): Likewise.
2265 * config/slite.exp (gdb_load): Likewise.
2266 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
2267 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
2268 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
2269 (single_step_until): Likewise.
2270 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2271 * gdb.arch/system-gcore.exp: Likewise.
2272 * gdb.base/bigcore.exp (extract_heap): Likewise.
2273 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
2274 * gdb.base/call-ar-st.exp: Likewise.
2275 * gdb.base/call-rt-st.exp: Likewise.
2276 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
2277 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
2278 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
2279 * gdb.base/corefile.exp: Likewise.
2280 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
2281 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
2282 * gdb.base/fixsection.exp: Likewise.
2283 * gdb.base/funcargs.exp: Likewise.
2284 * gdb.base/gcore-buffer-overflow.exp: Likewise.
2285 * gdb.base/gcore-relro.exp: Likewise.
2286 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
2287 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
2288 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
2289 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
2290 * gdb.base/list.exp: Likewise.
2291 (set_listsize): Likewise.
2292 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
2293 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
2294 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
2295 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
2296 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
2297 * gdb.base/setvar.exp: Likewise.
2298 (test_set): Likewise.
2299 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
2300 * gdb.base/solib-overlap.exp: Likewise.
2301 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
2302 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
2303 * gdb.base/watchpoint.exp (initialize): Likewise.
2304 (test_simple_watchpoint): Likewise.
2305 (test_disabling_watchpoints): Likewise.
2306 (test_watchpoint_triggered_in_syscall): Likewise.
2307 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
2308 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
2309 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
2310 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
2311 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2312 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2313 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2314 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2315 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2316 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
2317 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2318 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
2319 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
2320 * gdb.mi/gdb792.exp: Likewise.
2321 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
2322 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
2323 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
2324 * gdb.threads/gcore-thread.exp: Likewise.
2325 (load_core): Likewise.
2326 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
2327 (test_startup, check_control_c): Likewise.
2328 * gdb.threads/sigstep-threads.exp: Likewise.
2329 * gdb.threads/thread_check.exp: Likewise.
2330 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
2331 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
2332 (set_a_tracepoint, trace_buffer_normal): Likewise.
2333 (gdb_trace_circular_tests): Likewise.
2334 * gdb.trace/collection.exp: Likewise.
2335 * gdb.trace/disconnected-tracing.exp: Likewise.
2336 * gdb.trace/infotrace.exp: Likewise.
2337 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2338 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2339 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
2340 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
2341 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
2342 * gdb.trace/stap-trace.exp: Likewise.
2343 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
2344 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2345 * gdb.trace/trace-buffer-size.exp: Likewise.
2346 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2347 * gdb.trace/unavailable.exp: Likewise.
2348 * gdb.trace/while-dyn.exp: Likewise.
2349 * lib/fortran.exp (set_lang_fortran): Likewise.
2350 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2351 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2352 (default_gdb_start, get_compiler_info): Likewise.
2353 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2354 (get_debug_format, setup_xfail_format): Likewise.
2355 (rerun_to_main, gdb_skip_float_test): Likewise.
2356 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2357 * lib/java.exp (set_lang_java): Likewise.
2358 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2359 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2360 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2361 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2362 * lib/objc.exp (set_lang_objc): Likewise.
2363 * lib/pascal.exp (set_lang_pascal): Likewise.
2364 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2365 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2366 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2367
23682013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2369
2370 PR c++/15203
2371 PR c++/15210
2372 * gdb.cp/m-static.cc (keepalive_int): New function.
2373 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2374 * gdb.cp/m-static.exp: New test for `sintvar'.
2375
23762013-03-14 Yao Qi <yao@codesourcery.com>
2377
2378 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2379 of 'tstatus' into tstatus_output.
2380 (top level): Save the trace data to tfile. Read trace file in
2381 tfile target. Check the trace status.
2382
23832013-03-13 Yao Qi <yao@codesourcery.com>
2384
2385 * gdb.trace/tsv.exp (check_tsv): New.
2386 (top level): Save a tfile on current trace session. Call
2387 check_tsv on live target. Load the tfile with target tfile
2388 and call check_tsv again.
2389
23902013-03-13 Yao Qi <yao@codesourcery.com>
2391
2392 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2393 Replace some "gdb_test" with "gdb_test_no_output".
2394
23952013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2396
2397 * gdb.ada/expr_delims.exp: New file.
2398 * gdb.ada/expr_delims/foo.adb: New file.
2399 * gdb.ada/expr_delims/pck.ads: New file.
2400 * gdb.ada/expr_delims/pck.adb: New file.
2401
24022013-03-11 Keith Seitz <keiths@redhat.com>
2403
2404 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2405 both condition and thread. Then delete the watchpoint.
2406
24072013-03-11 Christian Himpel <christian.himpel@intel.com>
2408
2409 * Makefile.in: Add btrace testsuite.
2410 * configure: Regenerated.
2411 * configure.ac: Add btrace testsuite.
2412 * gdb.btrace/Makefile.in: New file.
2413 * gdb.btrace/enable.c: New file.
2414 * gdb.btrace/enable.exp: New file.
2415 * gdb.btrace/function_call_history.c: New file.
2416 * gdb.btrace/function_call_history.exp: New file.
2417 * gdb.btrace/instruction_history.c: New file.
2418 * gdb.btrace/instruction_history.exp: New file.
2419 * gdb.btrace/instruction_history.S: New file.
2420 * lib/gdb.exp: Add btrace skip proc.
2421
24222013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2423
2424 Fix entry-values if the callee called a noreturn function.
2425 * gdb.arch/amd64-tailcall-noret.S: New file.
2426 * gdb.arch/amd64-tailcall-noret.c: New file.
2427 * gdb.arch/amd64-tailcall-noret.exp: New file.
2428
24292013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2430
2431 Fix entry-values in C++ across CUs.
2432 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2433 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2434 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2435 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2436 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2437
24382013-03-08 Stan Shebs <stan@codesourcery.com>
2439 Hafiz Abid Qadeer <abidh@codesourcery.com>
2440
2441 gdb/testsuite/
2442 * gdb.trace/trace-buffer-size.exp: New file.
2443 * gdb.trace/trace-buffer-size.c: New file.
2444
24452013-03-06 Pedro Alves <palves@redhat.com>
2446
2447 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2448 doesn't support the tested optional feature, call "unsupported"
2449 with the same test message as the "pass" case, instead of calling
2450 "pass" with a different message. Use the same text for the "fail"
2451 cases too.
2452
24532013-03-06 Yao Qi <yao@codesourcery.com>
2454
2455 * gdb.trace/tstatus.exp: Remove the invocation of
2456 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2457 (test_tracepoints): Don't set fast tracepoint.
2458 (top level): Don't check agent library is loaded or not.
2459
24602013-03-06 Yao Qi <yao@codesourcery.com>
2461
2462 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2463 parentheses by "\\".
2464
24652013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2466
2467 * gdb.linespec/base/one/thefile.cc (twodup): New.
2468 (m): Call it.
2469 * gdb.linespec/base/two/thefile.cc (dupname): New.
2470 (n): Call it.
2471 * gdb.linespec/break-ask.exp: New file.
2472 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2473
24742013-02-28 Yao Qi <yao@codesourcery.com>
2475
2476 * gdb.trace/report.exp: Move some code to ...
2477 (use_collected_data): New.
2478 (top level): Call use_collected_data once on the live target.
2479 Save at file of the current trace session, load it with target
2480 tfile, and call use_collected_data again.
2481
24822013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2483
2484 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2485
24862013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2487
2488 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2489 Add final kill of ${valgrind_pid}.
2490
24912013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2492
2493 * gdb.python/py-arch.c: New test case
2494 * gdb.python/py-arch.exp: New tests to test
2495 gdb.Architecture.disassemble
2496 * gdb.python/Makefile.in: Add py-arch to the list of
2497 EXECUTABLES.
2498
24992013-02-18 Tom Tromey <tromey@redhat.com>
2500
2501 * gdb.dwarf2/subrange.exp: New file.
2502
25032013-02-15 Pedro Alves <pedro@codesourcery.com>
2504 Hafiz Abid Qadeer <abidh@codesourcery.com>
2505
2506 * gdb.trace/tfile.exp: Add test for -trace-status command.
2507
25082013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2509
2510 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2511 nanosleep by sleep.
2512
25132013-02-14 Pedro Alves <palves@redhat.com>
2514
2515 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2516
25172013-02-14 Pedro Alves <pedro@codesourcery.com>
2518 Hafiz Abid Qadeer <abidh@codesourcery.com>
2519
2520 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2521
25222013-02-12 Tom Tromey <tromey@redhat.com>
2523
2524 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2525 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2526
25272013-02-12 Pedro Alves <palves@redhat.com>
2528
2529 * gdb.base/catch-signal.c: Update copyright years.
2530 * gdb.base/catch-signal.exp: Update copyright years.
2531 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2532 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2533 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2534 * gdb.dwarf2/dw2-error.S: Update copyright years.
2535 * gdb.dwarf2/dw2-error.c: Update copyright years.
2536 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2537 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2538 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2539
25402013-02-12 Pedro Alves <palves@redhat.com>
2541
2542 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2543 message.
2544 * gdb.base/sigaltstack.exp: Ditto.
2545 * gdb.base/siginfo.exp: Ditto.
2546 * gdb.base/sizeof.exp: Ditto.
2547
25482013-02-12 Pedro Alves <palves@redhat.com>
2549
2550 * gdb.mi/mi-basics.exp: Tweak intro comment.
2551 * gdb.mi/mi-break.exp: Tweak intro comment.
2552 * gdb.mi/mi-console.exp: Tweak intro comment.
2553 * gdb.mi/mi-file.exp: Tweak intro comment.
2554 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2555 * gdb.mi/mi-return.exp: Tweak intro comment.
2556 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2557 * gdb.mi/mi-until.exp: Tweak intro comment.
2558 * gdb.mi/mi-watch.exp: Tweak intro comment.
2559
25602013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2561
2562 * gdb.server/no-thread-db.exp: New file.
2563 * gdb.server/no-thread-db.c: New file.
2564 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2565
25662013-02-11 Doug Evans <dje@google.com>
2567
2568 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2569 two decfloats.
2570
25712013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2572
2573 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2574 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2575
25762013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2577
2578 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2579
25802013-02-06 Yao Qi <yao@codesourcery.com>
2581
2582 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2583 to ...
2584 (test_create_delete_modify_tsv): ... here. New test on modifying
2585 the initial value of a tsv.
2586
25872013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2588
2589 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2590 (cd .../rdir): ... here.
2591
25922013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2593
2594 * gdb.linespec/base/one/header.h: New file.
2595 * gdb.linespec/base/two/header.h: New file.
2596 * gdb.linespec/macro-relative.c: New file.
2597 * gdb.linespec/macro-relative.exp: New file.
2598
25992013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2600
2601 * gdb.base/fullpath-expand-func.c: New file.
2602 * gdb.base/fullpath-expand.c: New file.
2603 * gdb.base/fullpath-expand.exp: New file.
2604 * gdb.base/realname-expand-real.c: New file.
2605 * gdb.base/realname-expand.c: New file.
2606 * gdb.base/realname-expand.exp: New file.
2607
26082013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2609
2610 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2611 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2612
26132013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2614
2615 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2616 (compare_filenames_for_search does not match)
2617 (compare_filenames_for_search does match): New tests.
2618
26192013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2620
2621 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2622
26232013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2624
2625 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2626
26272013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2628
2629 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2630 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2631 ${binfile}.mini_debuginfo-debuglink and
2632 ${binfile}.mini_debuginfo-debuglink.xz.
2633
26342013-02-01 Tom Tromey <tromey@redhat.com>
2635
2636 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2637 attributes.
2638
26392013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2640 Tom Tromey <tromey@redhat.com>
2641
2642 * gdb.dwarf2/method-ptr.exp: Link with c++.
2643 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2644
26452013-01-31 Tom Tromey <tromey@redhat.com>
2646
2647 * gdb.base/jit.exp (compile_jit_test): New proc.
2648 Add PIE tests.
2649
26502013-01-31 Tom Tromey <tromey@redhat.com>
2651
2652 * gdb.dwarf2/method-ptr.cc: New file.
2653 * gdb.dwarf2/method-ptr.exp: New file.
2654
26552013-01-31 Tom Tromey <tromey@redhat.com>
2656
2657 * lib/dwarf.exp (namespace Dwarf): New.
2658
26592013-01-29 Tom Tromey <tromey@redhat.com>
2660
2661 * gdb.dwarf2/fission-reread.exp: Add unload test.
2662
26632013-01-28 Doug Evans <dje@google.com>
2664
2665 * gdb.dwarf2/fission-loclists.exp: New file.
2666 * gdb.dwarf2/fission-loclists.S: New file.
2667
26682013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2669
2670 Code cleanup.
2671 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2672 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2673 and prepare_for_testing.
2674 * gdb.base/store.exp: Likewise.
2675
26762013-01-25 Tom Tromey <tromey@redhat.com>
2677
2678 * gdb.python/py-explore.exp: Expect the gdb prompt.
2679
26802013-01-25 Andrew Burgess <aburgess@broadcom.com>
2681
2682 * gdb.base/gnu_vector.c: New variable for use in tests.
2683 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2684 changes in scalar to vector casting and widening.
2685 * gdb.python/py-type.c: New variables for use in tests.
2686 * gdb.python/py-type.exp: Update vector related tests to reflect
2687 changes in scalar to vector casting and widening.
2688
26892013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2690
2691 * gdb.base/prologue-include.c: New file.
2692 * gdb.base/prologue-include.exp: New file.
2693 * gdb.base/prologue-include.h: New file.
2694
26952013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2696
2697 PR gdb/13443
2698 * gdb.mi/mi-var-block.exp: Make test messages unique.
2699
27002013-01-23 Tom Tromey <tromey@redhat.com>
2701
2702 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2703
27042013-01-23 Tom Tromey <tromey@redhat.com>
2705
2706 * gdb.cp/converts.cc (main): Initialize 'a'.
2707
27082013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2709
2710 * testsuite/gdb.python/frame.exp: Add a test for
2711 gdb.Frame.architecture() method.
2712
27132013-01-22 Pedro Alves <palves@redhat.com>
2714
2715 * gdb.base/annota1.exp (signal sent): No longer expect
2716 breakpoints-invalid.
2717 * gdb.cp/annota2.exp (continue until exit)
2718 (watch triggered on a.x): Ditto.
2719
27202013-01-22 Pedro Alves <palves@redhat.com>
2721
2722 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2723 Adjust tests to breakpoints-invalid changes.
2724 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2725 variables.
2726 Adjust tests to breakpoints-invalid changes.
2727
27282013-01-22 Pedro Alves <palves@redhat.com>
2729
2730 * gdb.base/annota1.exp (annotate ignore count change): Add
2731 expected output for failure case.
2732
27332013-01-22 Tom Tromey <tromey@redhat.com>
2734
2735 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2736 call.
2737
27382013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2739
2740 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
2741 * gdb.mi/mi-catch-load.exp: Ditto.
2742 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2743 Also handle 'thread' field.
2744 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2745 * gdb.mi/mi-watch.exp: Ditto.
2746 * lib/mi-support.exp: Ditto.
2747
27482013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2749
2750 * gdb.python/py-explore.exp: Improve a test
2751
27522013-01-18  David Blaikie  <dblaikie@gmail.com>
2753
2754 * gdb.base/label.c (main): Correct the type of the second
2755 parameter.
2756
27572013-01-18 Tom Tromey <tromey@redhat.com>
2758
2759 * gdb.dwarf2/trace-crash.s: New file.
2760 * gdb.dwarf2/trace-crash.exp: New file.
2761
27622013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2763
2764 PR gdb/13443
2765 * gdb.base/checkpoint.exp: Update test messages to make them
2766 unique.
2767
27682013-01-18 Yao Qi <yao@codesourcery.com>
2769
2770 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2771 output of 'info tracepoints'.
2772 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2773 Likewise.
2774 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2775 * gdb.trace/disconnected-tracing.c (struct foo): New.
2776
27772013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2778
2779 * gdb.dwarf2/dw2-dos-drive.S: New file.
2780 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2781
27822013-01-17 Doug Evans <dje@google.com>
2783
2784 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2785 CXX_FOR_TARGET.
2786
2787 * boards/cc-with-tweaks.exp: New file.
2788
27892013-01-17 Tom Tromey <tromey@redhat.com>
2790
2791 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2792
27932013-01-17 Pedro Alves <palves@redhat.com>
2794
2795 Merge dg-extract-results.sh from upstream (svn 195224).
2796
2797 2013-01-15 David Blaikie <dblaikie@gmail.com>
2798 * dg-extract-results.sh: Fix order of summary counts.
2799
2800 2013-01-15 David Blaikie <dblaikie@gmail.com>
2801 * dg-extract-results.sh: Constrain the start-of-log pattern.
2802
2803 2013-01-15 David Blaikie <dblaikie@gmail.com>
2804 * dg-extract-results.sh: Handle KPASSes.
2805
2806 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2807 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2808 of grep -q.
2809
28102012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2811
2812 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2813 interface.
2814 * gdb.base/jithost.c: New file.
2815 * gdb.base/jithost.h: New file.
2816 * gdb.base/jitreader.c : New file.
2817 * gdb.base/jit-protocol.h: New file.
2818
28192013-01-16 Tom Tromey <tromey@redhat.com>
2820
2821 * gdb.base/catch-signal.c: New file.
2822 * gdb.base/catch-signal.exp: New file.
2823
28242013-01-16 Tom Tromey <tromey@redhat.com>
2825
2826 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2827
28282013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2829
2830 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2831
28322013-01-14 Tom Tromey <tromey@redhat.com>
2833
2834 * gdb.base/completion.exp: Add "set gnutarget" test.
2835
28362013-01-14 Tom Tromey <tromey@redhat.com>
2837
2838 * gdb.dwarf2/dw2-restrict.S: New file.
2839 * gdb.dwarf2/dw2-restrict.c: New file.
2840 * gdb.dwarf2/dw2-restrict.exp: New file.
2841
28422013-01-14 Tom Tromey <tromey@redhat.com>
2843
2844 * gdb.dwarf2/dw2-error.exp: New file.
2845 * gdb.dwarf2/dw2-error.c: New file.
2846 * gdb.dwarf2/dw2-error.S: New file.
2847
28482013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2849
2850 * gdb.cp/parse-lang.cc: New file.
2851 * gdb.cp/parse-lang.exp: New file.
2852
28532013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2854
2855 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2856 (set substitute-path): New test.
2857 (fullname present): Remove content.
2858 (substituted fullname): New test.
2859
28602013-01-13 Joel Brobecker <brobecker@adacore.com>
2861
2862 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2863 check. Move $gdb_py_is_py24 value check right after.
2864
28652013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2866
2867 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2868 targets.
2869
28702013-01-11 Yao Qi <yao@codesourcery.com>
2871
2872 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2873 for dprintf.
2874 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2875 Check the fields in "=breakpoint-created" for dprintf.
2876
28772012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2878
2879 * gdb.mi/mi-fullname-deleted.exp: New file.
2880
28812012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2882
2883 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2884 expected output.
2885 (info skip with pending file): Remove.
2886 (ignoring function in solib, info skip for function multiply): Update
2887 the expected output.
2888 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2889 (info skip (delete 1), info skip after disabling all)
2890 (info skip after enabling all, info skip after disabling 4 2-3)
2891 (info skip after enabling 2-3, info skip 2-3)
2892 (info skip after deleting 2 3): Update the expected output.
2893 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2894 statement to its initialization and return.
2895 * gdb.linespec/skip-two.exp: New file.
2896
28972012-12-19 Doug Evans <dje@google.com>
2898
2899 * gdb.base/maint.exp: Handle testing with .gdb_index.
2900
29012012-12-19 Joel Brobecker <brobecker@adacore.com>
2902
2903 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2904 Cavium to FSF.
2905
29062012-12-19 Joel Brobecker <brobecker@adacore.com>
2907
2908 * dg-extract-results.sh: Update contact info in copyright notice.
2909 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2910 GPL v3 or later. Update contact info.
2911 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2912 gdb.threads/watchpoint-fork-mt.c,
2913 gdb.threads/watchpoint-fork-parent.c,
2914 gdb.threads/watchpoint-fork-st.c,
2915 gdb.threads/watchpoint-fork.h: Likewise.
2916
29172012-12-15 Yao Qi <yao@codesourcery.com>
2918
2919 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2920 'installed' field in '=breakpoint-modified'.
2921 (test_reconnect): Check 'installed' field in
2922 '=breakpoint-modified' and '=breakpoint-created'.
2923
2924 * gdb.trace/actions.exp: Update test for 'installed' field.
2925 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2926 (tracepoint_change_loc_2): Likewise.
2927 Check 'info tracepoint' display nothing else.
2928 * gdb.trace/deltrace.exp: Likewise.
2929 * gdb.trace/infotrace.exp: Likewise.
2930 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2931 Likewise.
2932 * gdb.trace/passcount.exp: Likewise.
2933 * gdb.trace/tracecmd.exp: Likewise.
2934 * gdb.trace/while-stepping.exp: Likewise.
2935
29362012-12-14 Tom Tromey <tromey@redhat.com>
2937
2938 * gdb.cp/member-name.exp: New file.
2939 * gdb.cp/member-name.cc: New file.
2940
29412012-12-14 Tom Tromey <tromey@redhat.com>
2942
2943 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2944
29452012-12-14 Doug Evans <dje@google.com>
2946
2947 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2948 DW_OP_GNU_implicit_pointer is section-relative.
2949
29502012-12-14 Tom Tromey <tromey@redhat.com>
2951
2952 * gdb.base/info-proc.exp: Add core file tests.
2953
29542012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2955
2956 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2957
29582012-12-13 Doug Evans <dje@google.com>
2959
2960 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2961 * gdb.multi/multi-arch.exp: Ditto.
2962
29632012-12-12 Keven Boell <keven.boell@intel.com>
2964
2965 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2966 catch load test library source file.
2967 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2968 load test source file.
2969 * gdb.mi/mi-catch-load.exp: New. Test file for
2970 basic MI -catch-load and -catch-unload tests.
2971
29722012-12-11 Paul Koning <paul_koning@dell.com>
2973
2974 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2975 exception.
2976 (_iterator_except): New function.
2977 (ArrayPrinter): Use _iterator function instead of local _iterator
2978 class for Python 3 compatibility.
2979 (NoStringContainerPrinter): Use _iterator_except instead of
2980 _iterator.
2981 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2982 execfile for Python 3 compatibility.
2983 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2984 format in error_prompt test.
2985
29862012-12-10 Paul Koning <paul_koning@dell.com>
2987
2988 * gdb.base/charset.exp: Change print syntax for Python 3
2989 compatibility.
2990 * gdb.python/py-block.exp: Ditto.
2991 * gdb.python/py-breakpoint.exp: Ditto.
2992 * gdb.python/py-cmd.exp: Ditto.
2993 * gdb.python/py-events.py: Ditto.
2994 * gdb.python/py-finish-breakpoint.py: Ditto.
2995 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2996 * gdb.python/py-finish-breakpoint2.py: Ditto.
2997 * gdb.python/py-frame-inline.exp: Ditto.
2998 * gdb.python/py-frame.exp: Ditto.
2999 * gdb.python/py-infthread.exp: Ditto.
3000 * gdb.python/py-objfile.exp: Ditto.
3001 * gdb.python/py-parameter.exp: Ditto.
3002 * gdb.python/py-progspace.exp: Ditto.
3003 * gdb.python/py-prompt.exp: Ditto.
3004 * gdb.python/py-symbol.exp: Ditto.
3005 * gdb.python/py-symtab.exp: Ditto.
3006 * gdb.python/py-template.exp: Ditto.
3007 * gdb.python/py-value-cc.exp: Ditto.
3008 * gdb.python/python.exp: Ditto.
3009 * gdb.python/source2.py: Ditto.
3010 * gdb.python/lib-types.exp: Change print syntax for Python 3
3011 compatibility.
3012 Use sorted() function rather than sort() method.
3013 Accept either int or long values for enum values.
3014 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
3015 execfile for Python 3 compatibility.
3016 * gdb.python/py-evsignal.exp: Ditto.
3017 * gdb.python/py-evthreads.exp: Ditto.
3018 * gdb.python/py-mi.exp: Ditto.
3019 * gdb.python/py-pp-maint.exp: Ditto.
3020 * gdb.python/py-prettyprint.exp: Ditto.
3021 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
3022 Python 3 compatibility.
3023 Skip tests for Python 2.4.
3024 * gdb.python/py-inferior.exp: Change print syntax for
3025 Python 3 compatibility.
3026 Use byte string rather than character string in memory write test
3027 if Python 3.
3028 * gdb.python/py-pp-maint.py: Change class declarations to "new
3029 class" syntax.
3030 * gdb.python/py-prettyprint.py: Change iterator class to generator
3031 function for Python 3 compatibility.
3032 Make all classes "new style".
3033 Fix indentation issue and stray semicolon.
3034 * gdb.python/py-shared.expChange print syntax for Python 3
3035 compatibility.
3036 Define "long" if Python 3.
3037 * gdb.python/py-type.exp: Change print syntax for Python 3
3038 compatibility.
3039 Accept either int or long values for enum values.
3040 * gdb.python/py-value.exp: Change print syntax for Python 3
3041 compatibility.
3042 Skip "long" and "unicode" tests if Python 3.
3043 Accept either "type" or "class" in type checks.
3044 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
3045 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
3046
30472012-12-10 Tom Tromey <tromey@redhat.com>
3048
3049 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
3050 (test): Add "two_cu" argument.
3051 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
3052 for types; allow two CUs.
3053
30542012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3055
3056 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
3057 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
3058
30592012-12-08 Yao Qi <yao@codesourcery.com>
3060 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
3063 '=breakpoint-created' when GDB merges the tracepoints of both
3064 sides.
3065
30662012-12-07 Tom Tromey <tromey@redhat.com>
3067
3068 * gdb.base/break1.c (enum some_enum, union some_union): New.
3069 (some_enum_global, some_union_global, some_value): New globals.
3070 * gdb.base/completion.exp: Add tag completion tests.
3071
30722012-12-07 Tom Tromey <tromey@redhat.com>
3073
3074 * gdb.base/completion.exp: Add tests for ptype and whatis
3075 completion.
3076
30772012-12-07 Joel Brobecker <brobecker@adacore.com>
3078
3079 * gdb.base/stale-infcall.exp: Fix copyright line.
3080
30812012-12-07 Joel Brobecker <brobecker@adacore.com>
3082
3083 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
3084
30852012-12-06 Pedro Alves <palves@redhat.com>
3086 Tom Tromey <tromey@redhat.com>
3087
3088 * gdb.base/exprs.exp: Add tests for cast to void.
3089
30902012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
3091
3092 * gdb.python/py-mi.exp: Correct expected results for attribute
3093 "dynamic" returned by -var-update.
3094 Add test case for correct handling of "diplayhint" for children
3095 of dynamic varobjs.
3096 * gdb.python/py-prettyprint.c (set_itme): New function.
3097 (bug_14741) New function.
3098 (main) Add call to bug_14741().
3099 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
3100
31012012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
3102
3103 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
3104 ${binfile}.funcsyms list.
3105
31062012-12-04 Yao Qi <yao@codesourcery.com>
3107
3108 PR gdb/13443
3109 * gdb.trace/actions.exp: Make test messages unique.
3110
31112012-11-29 Tom Tromey <tromey@redhat.com>
3112
3113 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
3114
31152012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
3116
3117 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
3118 * gdb.opencl/datatypes.exp: Likewise.
3119 * gdb.opencl/operators.exp: Likewise.
3120 * gdb.opencl/vec_comps.exp: Likewise.
3121
31222012-11-29 Jerome Guitton <guitton@adacore.com>
3123
3124 * gdb.ada/iwide: New testcase.
3125
31262012-11-29 Jerome Guitton <guitton@adacore.com>
3127
3128 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
3129 ptype test.
3130
31312012-11-29 Jerome Guitton <guitton@adacore.com>
3132
3133 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
3134 form {VARIANT_TYPE}ADDRESS.
3135
31362012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
3137
3138 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
3139 (func): New function.
3140 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
3141 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
3142 pointers to members with pointer-to-function type.
3143
31442012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3145 Tom Tromey <tromey@redhat.com>
3146
3147 * gdb.base/gnu-debugdata.exp: New file.
3148 * gdb.base/gnu-debugdata.c: New file.
3149 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
3150 (gdb_unload): Return 0 on success.
3151
31522012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3153
3154 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
3155
31562012-11-26 Joel Brobecker <brobecker@adacore.com>
3157
3158 * gdb.base/empty_exe.exp: New testcase.
3159
31602012-11-20 Mike Frysinger <vapier@gentoo.org>
3161
3162 * gdb.base/completion.exp: Add test for help aliases completion.
3163
31642012-11-20 Yao Qi <yao@codesourcery.com>
3165
3166 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3167 Don't test 'maint set show-debug-regs'.
3168 Use command 'set remotecache' instead of
3169 'set circular-trace-buffer'.
3170
31712012-11-16 Keith Seitz <keiths@redhat.com>
3172
3173 PR c++/13615
3174 * gdb.cp/baseenum.cc: New file.
3175 * gdb.cp/baseenum.exp: New file.
3176 * gdb.cp/derivation.cc (A): Add copyright.
3177 Add a typedef.
3178 (B): Use A::value_type instead of int. Change all references.
3179 (D): Use value_type instead of int. Change all references.
3180 (E): Likewise.
3181 (F); Likewise.
3182 (Z): New class.
3183 (ZZ): New class.
3184 (N, Base, Derived): New namespace and classes.
3185 (main): Add instances of Z and ZZ.
3186 Make sure all symbols from N are kept.
3187 * gdb.cp/derivation.exp: Update typedef changes in tests.
3188 Add tests for class typedefs both before and after starting
3189 the inferior.
3190 Add tests for searching for a typedef while stopped in a
3191 method.
3192
31932012-11-14 Luis Machado <lgustavo@codesourcery.com>
3194
3195 * gdb.mi/mi-var-create-rtti.c: New file.
3196 * gdb.mi/mi-var-create-rtti.exp: New file.
3197
31982012-11-14 Luis Machado <lgustavo@codesourcery.com>
3199
3200 * gdb.base/structs3.exp: Run to main before doing any tests.
3201
32022012-11-14 Andrew Burgess <aburgess@broadcom.com>
3203
3204 * gdb.python/py-type.exp: Uniquify test names.
3205
32062012-11-14 Yao Qi <yao@codesourcery.com>
3207
3208 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
3209 (thread_function) [DEBUG]: Call 'printf'.
3210 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
3211 command line if 'DEBUG=1' is passed to test.
3212 Remove a pattern to match inferior's output.
3213
32142012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
3215
3216 * gdb.mi/mi-fill-memory.exp: New test.
3217
32182012-11-12 Tom Tromey <tromey@redhat.com>
3219
3220 * gdb.base/completion.exp: Update for "info type-printers".
3221 * gdb.python/py-typeprint.cc: New file.
3222 * gdb.python/py-typeprint.exp: New file.
3223 * gdb.python/py-typeprint.py: New file.
3224
32252012-11-12 Tom Tromey <tromey@redhat.com>
3226
3227 * gdb.base/call-sc.exp: Use "ptype/r".
3228 * gdb.base/volatile.exp: Don't expect "int".
3229 * gdb.cp/ptype-flags.cc: New file.
3230 * gdb.cp/ptype-flags.exp: New file.
3231 * gdb.cp/templates.exp: Use ptype/r.
3232 (test_ptype_of_templates, test_template_typedef): Likewise.
3233 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
3234 argument. Handle template names and template parameters.
3235 * gdb.mi/mi-var-cmd.exp: Accept "long".
3236 * gdb.mi/mi-var-child.exp: Accept "long".
3237 * gdb.mi/mi-var-display.exp: Accept "long".
3238 * gdb.mi/mi2-var-child.exp: Accept "long".
3239
32402012-11-12 Tom Tromey <tromey@redhat.com>
3241
3242 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
3243 "ptype" from calls to cp_test_ptype_class.
3244 (test_enums): Likewise.
3245 * gdb.cp/derivation.exp: Remove "ptype" from calls to
3246 cp_test_ptype_class.
3247 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
3248 calls to cp_test_ptype_class.
3249 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
3250 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
3251 from calls to cp_test_ptype_class.
3252 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
3253 command here. Change "in_command" argument to "in_exp".
3254
32552012-11-10 Keith Seitz <keiths@redhat.com>
3256
3257 PR gdb/14288
3258 * gdb.base/printcmds.c: Add invalid_XXX globals
3259 for repeated byte tests.
3260 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
3261 * gdb.base/wchar.c (main): Add and construct a wchar_t
3262 array with repeated characters.
3263 * gdb.base/wchar.exp: Add repeated character tests.
3264
32652012-11-09 Andrew Burgess <aburgess@broadcom.com>
3266
3267 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
3268 disassembly output.
3269
32702012-11-09 Pedro Alves <palves@redhat.com>
3271
3272 PR gdb/14306
3273
3274 * gdb.multi/multi-arch-exec.c: New file.
3275 * gdb.multi/multi-arch-exec.exp: New file.
3276
32772012-11-09 Yao Qi <yao@codesourcery.com>
3278
3279 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
3280 (top level): Call it.
3281
32822012-11-09 Yao Qi <yao@codesourcery.com>
3283
3284 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
3285 typo.
3286
32872012-11-09 Pedro Alves <palves@redhat.com>
3288
3289 * gdb.multi/multi-arch.exp: New.
3290
32912012-11-08 Tom Tromey <tromey@redhat.com>
3292
3293 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
3294 core files, if possible.
3295 * gdb.base/siginfo-thread.c: New file
3296 * gdb.base/siginfo-thread.exp: New file
3297
32982012-11-08 Tom Tromey <tromey@redhat.com>
3299
3300 * gdb.base/comprdebug.exp: New file.
3301
33022012-11-06 Pedro Alves <palves@redhat.com>
3303
3304 PR gdb/14810
3305
3306 * gdb.base/disabled-location.c: New file.
3307 * gdb.base/disabled-location.exp: New file.
3308
33092012-11-06 Tom Tromey <tromey@redhat.com>
3310
3311 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
3312 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
3313 gdb_gcore_cmd.
3314 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
3315 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
3316 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
3317 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
3318 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
3319 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
3320 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
3321 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
3322 * lib/gdb.exp (gdb_gcore_cmd): New proc.
3323
33242012-11-05 Pedro Alves <palves@redhat.com>
3325
3326 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
3327 procedure.
3328 (do_vfork_and_follow_child_tests_exec)
3329 (do_vfork_and_follow_child_tests_exit): Call it.
3330
33312012-11-05 Pedro Alves <palves@redhat.com>
3332
3333 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
3334 fails.
3335
33362012-11-03 Yao Qi <yao@codesourcery.com>
3337
3338 Fix PR gdb/14617.
3339 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3340 Remove setup_kfail, and update test.
3341
33422012-11-02 Tom Tromey <tromey@redhat.com>
3343
3344 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3345 test.
3346
33472012-11-02 Pedro Alves <palves@redhat.com>
3348
3349 PR gdb/14766
3350
3351 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3352 setup_kfail.
3353 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3354 get registers".
3355
33562012-11-02 Pedro Alves <palves@redhat.com>
3357
3358 * gdb.base/foll-vfork-exit.c: New file.
3359 * gdb.base/foll-vfork.exp (top level): New file-describing
3360 comment.
3361 (vfork_child_follow_to_exit): New procedure.
3362 (tcatch_vfork_then_child_follow): Rename as ...
3363 (tcatch_vfork_then_child_follow_exec): ... this.
3364 (tcatch_vfork_then_child_follow_exit): New procedure.
3365 (do_vfork_and_follow_parent_tests): New procedure, factored out
3366 from do_vfork_and_exec_tests.
3367 (do_vfork_and_follow_child_tests_exec): Ditto.
3368 (do_vfork_and_exec_tests): Delete.
3369 (do_vfork_and_follow_child_tests_exit): New procedure.
3370 (top level): Run tests with both the program that has the vfork
3371 child execing, and the program has the vfork child exiting.
3372
33732012-11-02 Pedro Alves <palves@redhat.com>
3374
3375 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3376 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3377 (vfork_parent_follow_to_bp): Call it.
3378 (kill_child): Delete.
3379 (vfork_and_exec_child_follow_to_main_bp)
3380 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3381 longer call kill_child.
3382 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3383 (do_vfork_and_exec_tests): Don't runto_main before calling each
3384 test procedure.
3385 (top level): Don't clean restart and set verbose before running
3386 each test procedure.
3387
33882012-11-02 Pedro Alves <palves@redhat.com>
3389
3390 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3391 (vfork_parent_follow_to_bp)
3392 (vfork_and_exec_child_follow_to_main_bp)
3393 (vfork_and_exec_child_follow_through_step)
3394 (tcatch_vfork_then_parent_follow)
3395 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3396 Use with_test_prefix.
3397
33982012-11-02 Pedro Alves <palves@redhat.com>
3399
3400 * gdb.base/foll-vfork.c: Add copyright header.
3401 * gdb.base/vforked-prog.c: Add copyright header.
3402
34032012-11-02 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.base/foll-vfork.exp
3406 (vfork_and_exec_child_follow_through_step): Don't skip on
3407 non-HP/UX targets. Expect the next to only step one line on
3408 non-HP/UX targets, rather than stopping only after the exec.
3409
34102012-11-02 Pedro Alves <palves@redhat.com>
3411
3412 Don't hard code line numbers.
3413
3414 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3415 Expect text from the sources instead of a line number.
3416 (vfork_parent_follow_to_bp)
3417 (vfork_and_exec_child_follow_to_main_bp)
3418 (vfork_and_exec_child_follow_through_step)
3419 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3420 Use gdb_get_line_number.
3421
34222012-11-02 Pedro Alves <palves@redhat.com>
3423
3424 Modernize.
3425
3426 * gdb.base/foll-vfork.exp: Use standard_testfile and
3427 build_executable. Pass descriptive string to untested.
3428 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3429 (vfork_and_exec_child_follow_to_main_bp)
3430 (vfork_and_exec_child_follow_through_step)
3431 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3432 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3433 of send_gdb/gdb_expect.
3434
3435 (kill_child): New procedure.
3436 (vfork_and_exec_child_follow_to_main_bp)
3437 (vfork_and_exec_child_follow_through_step): Use it.
3438
34392012-11-02 Yao Qi <yao@codesourcery.com>
3440
3441 * gdb.base/setvar.exp: Test setting nested struct.
3442 * gdb.base/setvar.c (v_struct3): New.
3443
34442012-11-01 Doug Evans <dje@google.com>
3445
3446 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3447 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3448 use them.
3449
34502012-10-31 Andrew Burgess <aburgess@broadcom.com>
3451
3452 PR cli/14772
3453 * gdb.base/gnu_vector.c (union_with_vector_1)
3454 (struct_with_vector_1): Add new struct and union for testing
3455 ptype.
3456 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3457 structs / unions containing vectors.
3458
34592012-10-25 Yao Qi <yao@codesourcery.com>
3460
3461 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3462 'setup_kfail' instead of 'setup_kfail_for_target'.
3463 * gdb.base/varargs.exp: Likewise.
3464 * lib/gdb.exp (setup_kfail_for_target): Remove.
3465
34662012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3467
3468 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3469
34702012-10-25 Mark Kettenis <kettenis@gnu.org>
3471
3472 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3473
34742012-10-24 Joel Brobecker <brobecker@adacore.com>
3475
3476 * gdb.ada/set_wstr: New testcase.
3477
34782012-10-24 Joel Brobecker <brobecker@adacore.com>
3479
3480 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3481
34822012-10-24 Joel Brobecker <brobecker@adacore.com>
3483
3484 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3485
34862012-10-24 Mark Kettenis <kettenis@gnu.org>
3487
3488 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3489
34902012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3491
3492 * gdb.base/callfuncs.exp (do_function_calls): Fix
3493 setup_kfail_for_target for -m32 mode.
3494
34952012-10-23 Mark Kettenis <kettenis@gnu.org>
3496
3497 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3498 are now fixed.
3499
35002012-10-23 Yao Qi <yao@codesourcery.com>
3501
3502 * gdb.base/info-os.exp: Resume the inferior until it exits.
3503
35042012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3505
3506 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3507 * gdb.base/print-file-var.exp: Likewise.
3508 * gdb.base/type-opaque.exp: Likewise.
3509
35102012-10-17 Yao Qi <yao@codesourcery.com>
3511
3512 * gdb.mi/mi-memory-changed.exp: New.
3513
35142012-10-16 Yao Qi <yao@codesourcery.com>
3515
3516 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3517 returns true.
3518 Call gdb_load_shlibs.
3519 * gdb.reverse/solib-reverse.exp: Likewise.
3520
35212012-10-15 Keith Seitz <keiths@redhat.com>
3522
3523 * lib/cp-support.exp (cp_test_ptype_class): Add support
3524 for class typedefs.
3525
3526 * gdb.cp/derivation.exp: Add tests for g_instance.
3527
35282012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3529
3530 Fix entry values resolving in inlined frames.
3531 * gdb.arch/amd64-entry-value-inline.S: New file.
3532 * gdb.arch/amd64-entry-value-inline.c: New file.
3533 * gdb.arch/amd64-entry-value-inline.exp: New file.
3534
35352012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3536 Doug Evans <dje@google.com>
3537
3538 Fix recent gdb_breakpoint regression.
3539 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3540 braces from the parameter.
3541 * gdb.java/jprint.exp: Likewise.
3542
35432012-10-15 Doug Evans <dje@google.com>
3544
3545 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3546
35472012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3548
3549 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3550
35512012-10-15 Tom Tromey <tromey@redhat.com>
3552
3553 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3554
35552012-10-15 Tom Tromey <tromey@redhat.com>
3556
3557 * gdb.python/py-symbol.exp: Test symbol destructor.
3558
35592012-10-14 Yao Qi <yao@codesourcery.com>
3560
3561 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3562 * gdb.mi/mi-cli.exp: New.
3563
3564 * gdb.mi/mi2-basics.exp: Remove.
3565 * gdb.mi/mi2-break.exp: Remove.
3566 * gdb.mi/mi2-console.exp: Remove.
3567 * gdb.mi/mi2-disassemble.exp: Remove.
3568 * gdb.mi/mi2-eval.exp: Remove.
3569 * gdb.mi/mi2-file.exp: Remove.
3570 * gdb.mi/mi2-hack-cli.exp: Remove.
3571 * gdb.mi/mi2-pthreads.exp: Remove.
3572 * gdb.mi/mi2-read-memory.exp: Remove.
3573 * gdb.mi/mi2-regs.exp: Remove.
3574 * gdb.mi/mi2-return.exp: Remove.
3575 * gdb.mi/mi2-simplerun.exp: Remove.
3576 * gdb.mi/mi2-stack.exp: Remove.
3577 * gdb.mi/mi2-stepi.exp: Remove.
3578 * gdb.mi/mi2-syn-frame.exp: Remove.
3579 * gdb.mi/mi2-until.exp: Remove.
3580 * gdb.mi/mi2-watch.exp: Remove.
3581 * gdb.mi/mi2-var-block.exp: Remove.
3582 * gdb.mi/mi2-var-cmd.exp: Remove.
3583 * gdb.mi/mi2-var-display.exp: Remove.
3584
35852012-10-12 Yao Qi <yao@codesourcery.com>
3586
3587 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3588 trail '.*' on matching patterns.
3589
35902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3591
3592 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3593 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3594 * gdb.arch/i386-disp-step.exp: Likewise.
3595 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3596 * gdb.arch/i386-prologue.exp: Likewise.
3597 * gdb.arch/i386-size-overlap.exp: Likewise.
3598 * gdb.arch/i386-size.exp: Likewise.
3599 * gdb.arch/i386-unwind.exp: Likewise.
3600
36012012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3602
3603 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3604 * gdb.arch/i386-word.exp: Likewise.
3605
36062012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3607
3608 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3609 is_ilp32_target to set nr_regs.
3610 * gdb.arch/i386-sse.exp: Likewise.
3611
36122012-10-11 Doug Evans <dje@google.com>
3613
3614 PR breakpoints/14643.
3615 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3616 * gdb.linespec/thread.c: New file.
3617 * gdb.linespec/thread.exp: New file.
3618
3619 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3620 Recognize "message" -> print pass and fail. Add eof case.
3621 (runto): Recognize message, no-message. Print pass/fail if requested,
3622 with same treatment as gdb_breakpoint.
3623 (runto_main): Pass no-message to runto.
3624 (gdb_internal_error_resync): Add log message.
3625 (gdb_file_cmd): Tweak internal error fail text for consistency.
3626
36272012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3628
3629 Fix crash during stepping on ppc32.
3630 * gdb.base/step-symless.c: New file.
3631 * gdb.base/step-symless.exp: New file.
3632
36332012-10-03 Doug Evans <dje@google.com>
3634
3635 PR symtab/14601
3636 * gdb.cp/using-crash.exp: New file.
3637 * gdb.cp/using-crash.cc: New file.
3638
36392012-10-02 Doug Evans <dje@google.com>
3640
3641 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3642 more consistent.
3643 (runto,gdb_debug_format): Ditto.
3644 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3645 Clean up logging and error messages.
3646
36472012-10-01 Andrew Burgess <aburgess@broadcom.com>
3648
3649 Test find command on unmapped memory.
3650 * gdb.base/find-unmapped.c: New file.
3651 * gdb.base/find-unmapped.exp: New file.
3652
36532012-09-29 Yao Qi <yao@codesourcery.com>
3654
3655 * gdb.trace/mi-tracepoint-changed.exp: New.
3656 * gdb.mi/mi-breakpoint-changed.exp: New.
3657 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3658 * gdb.mi/pendshr2.c: New.
3659
36602012-09-28 Yao Qi <yao@codesourcery.com>
3661
3662 * gdb.mi/pr11022.exp: New.
3663 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3664
36652012-09-27 Tom Tromey <tromey@redhat.com>
3666
3667 * gdb.cp/derivation.exp: Add regression test.
3668 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3669 V_derived): New.
3670 (vderived): New global.
3671
36722012-09-26 Tom Tromey <tromey@redhat.com>
3673
3674 * gdb.dwarf2/dw2-common-block.S: New file.
3675 * gdb.dwarf2/dw2-common-block.exp: New file.
3676
36772012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3678
3679 * gdb.fortran/common-block.exp: New file.
3680 * gdb.fortran/common-block.f90: New file.
3681
36822012-09-26 Andrew Burgess <aburgess@broadcom.com>
3683
3684 * gdb.base/duplicate-bp.c: New file.
3685 * gdb.base/duplicate-bp.exp: New file.
3686
36872012-09-26 Yao Qi <yao@codesourcery.com>
3688
3689 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3690
3691 Revert:
3692 2012-09-21 Yao Qi <yao@codesourcery.com>
3693
3694 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3695
36962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3697
3698 * gdb.base/longest-types.c: New test case.
3699 * gdb.base/longest-types.exp: New test case.
3700
37012012-09-25 Yao Qi <yao@codesourcery.com>
3702
3703 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3704
37052012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3706
3707 Fix internal error on canonicalization of clang types.
3708 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3709 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3710 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3711
37122012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3713
3714 Fix disassemble without parameters in tailcall frame.
3715 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3716
37172012-09-21 Andrew Burgess <aburgess@broadcom.com>
3718
3719 * gdb.dwarf2/dw2-op-out-param.S: New file.
3720 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3721
37222012-09-21 Yao Qi <yao@codesourcery.com>
3723
3724 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3725
37262012-09-21 Yao Qi <yao@codesourcery.com>
3727
3728 * gdb.mi/mi-cli.exp: Remove.
3729 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3730
37312012-09-21 Yao Qi <yao@codesourcery.com>
3732
3733 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3734 "=record-started" notification.
3735
37362012-09-21 Yao Qi <yao@codesourcery.com>
3737
3738 * gdb.mi/mi-record-changed.exp: New.
3739 * gdb.mi/mi-reverse.exp: Adjust expected output.
3740
37412012-09-20 Tom Tromey <tromey@redhat.com>
3742
3743 * gdb.python/python.exp: Test atexit.register.
3744
37452012-09-20 Doug Evans <dje@google.com>
3746
3747 * boards/dwarf4-gdb-index.exp: New file.
3748
3749 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3750 while running the tests.
3751
37522012-09-18 Joel Brobecker <brobecker@adacore.com>
3753
3754 * gdb.ada/bp_reset: New testcase.
3755
37562012-09-18 Yao Qi <yao@codesourcery.com>
3757
3758 * gdb.trace/mi-tsv-changed.exp: New.
3759
37602012-09-18 Yao Qi <yao@codesourcery.com>
3761
3762 * gdb.trace/mi-traceframe-changed.exp: New.
3763
37642012-09-17 Yao Qi <yao@codesourcery.com>
3765
3766 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3767 when it is less than 0.
3768
37692012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3770
3771 PR 14119
3772 * gdb.arch/amd64-tailcall-ret.S: New file.
3773 * gdb.arch/amd64-tailcall-ret.c: New file.
3774 * gdb.arch/amd64-tailcall-ret.exp: New file.
3775 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3776 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3777 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3778
37792012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3780
3781 PR 14548
3782 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3783 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3784 * gdb.reverse/singlejmp-reverse.S: New file.
3785 * gdb.reverse/singlejmp-reverse.c: New file.
3786 * gdb.reverse/singlejmp-reverse.exp: New file.
3787
37882012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3789
3790 Fix compatibility with old GCC (~4.1).
3791 * gdb.cp/converts.cc (my_enum_var): New variable.
3792
37932012-09-14 Andrew Burgess <aburgess@broadcom.com>
3794
3795 * gdb.xml/tdesc-regs.exp: Update expected output for new
3796 vector_size syntax of vector types.
3797
37982012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3799
3800 Refactor Python "gdb" module into a proper Python package, by
3801 introducing a new "_gdb" module for code implemented in C, and
3802 using reload/__import__ instead of exec.
3803 * gdb.python/python.exp (Test stderr location): Update module
3804 location of GDB-specific sys.stderr.
3805 (Test stdout location): Ditto for sys.stdout.
3806
38072012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3808
3809 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3810
38112012-09-12 Keith Seitz <keiths@redhat.com>
3812
3813 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3814 conversion statement.
3815
38162012-09-12 Doug Evans <dje@google.com>
3817
3818 * gdb.base/help.exp: Remove testing of individual command help text,
3819 too much of a maintenance burden. Instead, test the functionality
3820 of "help" itself.
3821
38222012-09-11 Doug Evans <dje@google.com>
3823
3824 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3825 breakpoint.
3826
3827 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3828 * gdb.dwarf2/fission-reread.S: Ditto.
3829 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3830 * gdb.dwarf2/fission-reread.exp: Ditto.
3831
38322012-09-11 Andrew Burgess <aburgess@broadcom.com>
3833
3834 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3835
38362012-09-10 Joel Brobecker <brobecker@adacore.com>
3837
3838 * gdb.ada/optim_drec: New testcase.
3839
38402012-09-10 Doug Evans <dje@google.com>
3841
3842 * boards/fission.exp: Explicitly mark "board" as not remote.
3843
38442012-09-10 Keith Seitz <keiths@redhat.com>
3845
3846 PR gdb/13483
3847 * gdb.cp/converts.cc (A::A): Add ctor.
3848 (A::member_): Add member.
3849 (enum my_enum): New enumeration.
3850 (main): Add calls to foo1_7 with various
3851 permitted arguments.
3852 * gdb.cp/converts.exp: Add tests for boolean
3853 conversions permitted by the standard.
3854
38552012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3856
3857 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3858 avoid spurious results due to ~/.gdbinit.
3859 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3860 $INTERNAL_GDBFLAGS in run command.
3861 * gdb.gdb/observer.exp (setup_test): Ditto.
3862 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3863 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3864
38652012-09-06 Doug Evans <dje@google.com>
3866
3867 * boards/fission.exp: New file.
3868
3869 * gdb.python/py-value.exp: Use clean_restart.
3870
38712012-09-05 Doug Evans <dje@google.com>
3872
3873 * gdb.base/info-macros.c: Fix whitespace.
3874
38752012-08-28 Pedro Alves <palves@redhat.com>
3876
3877 PR gdb/14428
3878
3879 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3880
38812012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3882
3883 * gdb.base/break-caller-line.c: New file.
3884 * gdb.base/break-caller-line.exp: New file.
3885
38862012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3889 * gdb.arch/i386-cfi-notcurrent.S: New file.
3890 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3891
38922012-08-27 Wei-cheng Wang <cole945@gmail.com>
3893 Yao Qi <yao@codesourcery.com>
3894 Pedro Alves <palves@redhat.com>
3895
3896 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3897 New procedures.
3898 (top level): Add overlap checking tests.
3899
39002012-08-24 Tom Tromey <tromey@redhat.com>
3901
3902 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3903 gdb_test_multiple fails for other reasons.
3904
39052012-08-24 Yao Qi <yao@codesourcery.com>
3906
3907 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3908
39092012-08-23 Pedro Alves <palves@redhat.com>
3910
3911 * gdb.base/help.exp: Adjust to "handle" help text change.
3912
39132012-08-23 Yao Qi <yao@codesourcery.com>
3914
3915 * gdb.trace/disconnected-tracing.c (start, end): New.
3916 (main): Call start and end.
3917 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3918 existing tests into this proc.
3919 (disconnected_tfind): New.
3920
39212012-08-23 Yao Qi <yao@codesourcery.com>
3922
3923 * boards/native-gdbserver.exp (${board}_upload): New.
3924 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3925 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3926 Execute tfile on remote target.
3927 Copy trace file from target to host.
3928
39292012-08-22 Joseph Myers <joseph@codesourcery.com>
3930
3931 * gdb.arch/thumb-bx-pc.S: New file.
3932 * gdb.arch/thumb-bx-pc.exp: New file.
3933
39342012-08-22 Tom Tromey <tromey@redhat.com>
3935
3936 * gdb.base/maint.exp: Update.
3937
39382012-08-22 Tom Tromey <tromey@redhat.com>
3939
3940 * lib/gdb.exp (skip_unwinder_tests): New proc.
3941 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3942 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3943
39442012-08-21 Tom Tromey <tromey@redhat.com>
3945
3946 * gdb.hp/gdb.aCC/exception.exp: Remove.
3947
3948012-08-19 Andrew Pinski <apinski@cavium.com>
3949
3950 * gdb.arch/mips-octeon-bbit.c: New file.
3951 * gdb.arch/mips-octeon-bbit.exp: New Test.
3952
3953012-08-19 Keith Seitz <keiths@redhat.com>
3954
3955 PR c++/14365
3956 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3957 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3958
39592012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3960
3961 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3962 verbose -log by more specific untested call.
3963
39642012-08-18 Yao Qi <yao@codesourcery.com>
3965
3966 * gdb.trace/tfind.exp: Move tests on various command help before
3967 checking target supports trace.
3968 Fix the expected output of 'help tfind end'.
3969
39702012-08-17 Keith Seitz <keiths@redhat.com>
3971
3972 PR c++/13356
3973 * gdb.base/default.exp: Update all "check type" tests.
3974 * gdb.base/help.exp: Likewise.
3975 * gdb.base/setshow.exp: Likewise.
3976 * gdb.cp/converts.cc (foo1_type_check): New function.
3977 (foo2_type_check): New function.
3978 (foo3_type_check): New function.
3979 (main): Call new functions.
3980 * converts.exp: Add tests for integer-to-pointer conversions
3981 with/without strict type-checking.
3982
39832012-08-16 Mike Frysinger <vapier@gentoo.org>
3984
3985 * gdb.base/help.exp: Update expected output.
3986
39872012-08-16 Joel Brobecker <brobecker@adacore.com>
3988
3989 * gdb.ada/rdv_wait: New testcase.
3990
39912012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3992
3993 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3994
39952012-08-13 Doug Evans <dje@google.com>
3996
3997 * gdb.base/help.exp: Update expected output.
3998 * gdb.base/default.exp: Update expected output of "show convenience".
3999
40002012-08-10 Doug Evans <dje@google.com>
4001
4002 * gdb.python/py-strfns.c: New file.
4003 * gdb.python/py-strfns.exp: New file.
4004 * gdb.python/py-type.exp (test_fields): Add vector tests.
4005
40062012-08-10 Mike Frysinger <vapier@gentoo.org>
4007
4008 PR cli/10436:
4009 * gdb.base/completion.exp: Add tests for handle completion.
4010
40112012-08-09 Yao Qi <yao@codesourcery.com>
4012
4013 * gdb.mi/mi-cmd-param-changed.exp: New.
4014 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
4015 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
4016 * gdb.mi/mi2-prompt.exp: Likewise.
4017
40182012-08-08 Doug Evans <dje@google.com>
4019
4020 * gdb.base/debug-expr.c: New file.
4021 * gdb.base/debug-expr.exp: New file.
4022 * gdb.base/exprs.exp: Test {type} casts.
4023 * gdb.cp/debug-expr.exp: New file.
4024
40252012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4026
4027 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
4028 global variable loop, not a 'break'. Add loop count limit to 100.
4029 Add new fail case for terminated vgdb.
4030
40312012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4032 Jean-Marc Saffroy <saffroy@gmail.com>
4033
4034 PR 11804
4035 * gdb.base/gcore-relro.exp: New file.
4036 * gdb.base/gcore-relro-main.c: New file.
4037 * gdb.base/gcore-relro-lib.c: New file.
4038
40392012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4040
4041 Do not false FAIL with old GCCs.
4042 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
4043 GCC < 4.5 in $no_hw mode.
4044
40452012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4046
4047 * gdb.base/default.exp (cd): Accept new directory with no arguments.
4048
40492012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4050
4051 * gdb.base/list.exp (test_only_end): New function.
4052 Call it.
4053
40542012-08-06 Tom Tromey <tromey@redhat.com>
4055
4056 * gdb.python/py-mi.exp: Add test for printer whose children
4057 are a list.
4058 * gdb.python/py-prettyprint.c (struct children_as_list): New.
4059 (main): New variable children_as_list.
4060 * gdb.python/py-prettyprint.py (class pp_children_as_list):
4061 New.
4062 (register_pretty_printers): Register new printer.
4063
40642012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4065
4066 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
4067 symbols. Abort if vgdb remote connection is closed.
4068
40692012-08-02 Doug Evans <dje@google.com>
4070
4071 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
4072
40732012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
4074
4075 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
4076 s390x, PowerPC 64 and m68k-linux.
4077
40782012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4079
4080 * gdb.base/annota1.exp: Accept no frames-invalid notification
4081 when starting up the program.
4082 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
4083 show a symbolic value as well.
4084 * gdb.server/server-exec-info.exp: Skip test when skipping
4085 gdbserver test and/or when skipping shared library tests.
4086 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
4087 avoid name conflicts with other tests.
4088
40892012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4090
4091 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
4092 Fix wrong output on big-endian systems.
4093 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4094 4-byte pointer types on 64-bit s390x.
4095
40962012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4097
4098 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
4099 marker comment at the beginning (after intialization).
4100 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
4101 breakpoint on marker comment instead of function begin.
4102 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
4103 PowerPC.
4104 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
4105 or 64-bit PowerPC.
4106 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
4107 gdb,no_hardware_watchpoints flag is set.
4108 (initialize): Remove now redundant can-use-hw-watchpoints change.
4109
41102012-08-02 Yao Qi <yao@codesourcery.com>
4111 Pedro Alves <palves@redhat.com>
4112
4113 * boards/local-remote-host.exp: New.
4114
41152012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4116
4117 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
4118 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
4119 * gdb.base/print-file-var.exp: Likewise.
4120 * gdb.server/solib-list.exp: Skip on remote targets.
4121
41222012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4123
4124 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
4125 watchpoints on ARM. When expecting software watchpoints, tolerate
4126 (remote) targets that report unsupported hardware watchpoint only
4127 at continue time.
4128 (test_wide_location_2): Likewise.
4129
41302012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4131
4132 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
4133 valgrind versions.
4134
41352012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4136
4137 * gdb.base/valgrind-infcall.c: New file.
4138 * gdb.base/valgrind-infcall.exp: New file.
4139
4140 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
4141
41422012-07-30 Keith Seitz <keiths@redhat.com>
4143
4144 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
4145 linespecs.
4146
41472012-07-30 Doug Evans <dje@google.com>
4148
4149 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
4150 * gdb.dwarf2/pr13961.S: Ditto.
4151
4152 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
4153
41542012-07-30 Andrew Burgess <aburgess@broadcom.com>
4155
4156 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
4157 change its format immediately after reloading the binary.
4158
41592012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4160
4161 Fix testsuite regression after --use-deprecated-index-sections removal.
4162 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
4163 string.
4164 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
4165
41662012-07-27 Yao Qi <yao@codesourcery.com>
4167
4168 KFAIL for PR remote/14161.
4169 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
4170 Cleanup socket files.
4171 (strace_info_marker): Detach inferior.
4172
41732012-07-26 Tom Tromey <tromey@redhat.com>
4174
4175 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
4176
41772012-07-26 Markus Metzger <markus.t.metzger@intel.com>
4178
4179 * gdb.python/py-inferior.c (thread): New function.
4180 (check_threads): New function.
4181 (test_threads): New function.
4182 * gdb.python/py-inferior.exp: Added test.
4183 Replaced runto with continue to breakpoint.
4184
41852012-07-26 Tom Tromey <tromey@redhat.com>
4186
4187 * lib/ada.exp (standard_ada_testfile): New proc.
4188 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
4189 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
4190 * gdb.ada/array_return.exp: Use standard_ada_testfile.
4191 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
4192 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
4193 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
4194 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
4195 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
4196 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
4197 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
4198 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
4199 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
4200 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
4201 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
4202 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
4203 * gdb.ada/char_param.exp: Use standard_ada_testfile.
4204 * gdb.ada/complete.exp: Use standard_ada_testfile.
4205 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
4206 standard_output_file.
4207 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
4208 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
4209 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
4210 standard_output_file.
4211 * gdb.ada/exprs.exp: Use standard_ada_testfile.
4212 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
4213 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
4214 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
4215 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
4216 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
4217 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
4218 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
4219 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
4220 * gdb.ada/homonym.exp: Use standard_ada_testfile.
4221 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
4222 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
4223 * gdb.ada/interface.exp: Use standard_ada_testfile.
4224 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
4225 standard_output_file
4226 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
4227 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
4228 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
4229 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
4230 * gdb.ada/nested.exp: Use standard_ada_testfile.
4231 * gdb.ada/null_array.exp: Use standard_ada_testfile.
4232 * gdb.ada/null_record.exp: Use standard_ada_testfile.
4233 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
4234 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
4235 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
4236 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
4237 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
4238 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
4239 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
4240 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
4241 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
4242 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
4243 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
4244 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
4245 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
4246 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
4247 * gdb.ada/start.exp: Use standard_ada_testfile.
4248 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
4249 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
4250 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
4251 * gdb.ada/tagged.exp: Use standard_ada_testfile.
4252 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
4253 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
4254 * gdb.ada/tasks.exp: Use standard_ada_testfile.
4255 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
4256 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
4257 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
4258 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
4259 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
4260 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
4261 * gdb.ada/widewide.exp: Use standard_ada_testfile.
4262
42632012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4264
4265 Fix testsuite regression after --use-deprecated-index-sections removal.
4266 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
4267
42682012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4269
4270 Fix compatibility with Tcl before 7.5.
4271 * lib/future.exp (lreverse): New function if it does not exist.
4272
42732012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
4274
4275 * gdb.mi/mi-pending.c: New method to set a second pending
4276 breakpoint.
4277 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
4278 condition.
4279
42802012-07-20 Pedro Alves <palves@redhat.com>
4281
4282 PR threads/11692
4283 PR gdb/12203
4284
4285 * gdb.threads/create-fail.c: New file.
4286 * gdb.threads/create-fail.exp: New file.
4287
42882012-07-19 Pedro Alves <palves@redhat.com>
4289
4290 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
4291 * config/vx.exp (gdb_start): Likewise.
4292 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
4293 * gdb.base/setvar.exp (test_set): Likewise.
4294 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
4295 * gdb.reverse/sigall-precsave.exp: Likewise.
4296 * gdb.reverse/sigall-reverse.exp: Likewise.
4297
42982012-07-19 Pedro Alves <palves@redhat.com>
4299
4300 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
4301 handler before recording.
4302
43032012-07-19 Tom Tromey <tromey@redhat.com>
4304
4305 * gdb.cp/casts.exp: Add tests for typeof and decltype.
4306 * gdb.cp/casts.cc (decltype): New function.
4307 (main): Use it.
4308
43092012-07-19 Pedro Alves <palves@redhat.com>
4310
4311 * gdb.base/sigall.exp (signals): New list.
4312 <top level>: Loop over signals in the $signals list instead of
4313 calling a test function once per signal.
4314 * gdb.reverse/sigall-precsave.exp (signals): New list.
4315 <top level>: Loop over signals in the $signals list instead of
4316 calling a test function once per signal.
4317 * gdb.reverse/sigall-reverse.exp (signals): New list.
4318 <top level>: Loop over signals in the $signals list instead of
4319 calling a test function once per signal.
4320
43212012-07-19 Yao Qi <yao@codesourcery.com>
4322
4323 * gdb.base/setshow.exp: Test 'set args ~'.
4324
43252012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4326
4327 * gdb.base/store.exp (check_set): Import gdb_prompt.
4328 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
4329 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
4330
43312012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4332
4333 PR 11914
4334 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
4335 (main): Call eval_sub.
4336 * gdb.python/py-prettyprint.exp:
4337 (python execfile ('py-prettyprint.py')): Move it earlier.
4338 New breakpoint for eval-break.
4339 (continue to breakpoint: eval-break, info locals): New test.
4340 (python execfile ('py-prettyprint.py')): Move it from here.
4341 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
4342 (register_pretty_printers): Register pp_eval_type.
4343
43442012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4345
4346 Fix a testcase regression by me.
4347 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4348 DW_FORM_data4.
4349
43502012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4351 Doug Evans <dje@google.com>
4352
4353 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4354 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4355
43562012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4357
4358 Fix gdbserver run regression.
4359 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4360
43612012-07-12 Tom Tromey <tromey@redhat.com>
4362
4363 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4364 (clean_restart): Likewise.
4365 (core_find): Use standard_output_file.
4366
43672012-07-12 Tom Tromey <tromey@redhat.com>
4368
4369 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4370 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4371 prepare_for_testing_full.
4372 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4373 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4374 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4375 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4376 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4377 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4378 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4379 prepare_for_testing_full.
4380 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4381 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4382 prepare_for_testing_full.
4383 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4384 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4385 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4386
43872012-07-12 Tom Tromey <tromey@redhat.com>
4388
4389 * lib/gdb.exp (build_executable_from_specs): New proc, from
4390 build_executable.
4391 (build_executable): Use it.
4392 (prepare_for_testing_full): New proc.
4393
43942012-07-11 Tom Tromey <tromey@redhat.com>
4395
4396 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4397 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4398 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4399 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4400 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4401 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4402 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4403 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4404 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4405 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4406
44072012-07-10 Tom Tromey <tromey@redhat.com>
4408
4409 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4410 standard_output_file.
4411 * gdb.mi/gdb2549.exp: Use standard_testfile.
4412 * gdb.mi/gdb669.exp: Use standard_testfile.
4413 * gdb.mi/gdb701.exp: Use standard_testfile.
4414 * gdb.mi/gdb792.exp: Use standard_testfile.
4415 * gdb.mi/mi-async.exp: Use standard_testfile.
4416 * gdb.mi/mi-basics.exp: Use standard_testfile.
4417 * gdb.mi/mi-break.exp: Use standard_testfile.
4418 * gdb.mi/mi-cli.exp: Use standard_testfile.
4419 * gdb.mi/mi-console.exp: Use standard_testfile.
4420 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4421 * gdb.mi/mi-eval.exp: Use standard_testfile.
4422 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4423 * gdb.mi/mi-file.exp: Use standard_testfile.
4424 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4425 * gdb.mi/mi-logging.exp: Use standard_testfile.
4426 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4427 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4428 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4429 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4430 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4431 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4432 * gdb.mi/mi-pending.exp: Use standard_testfile,
4433 standard_output_file.
4434 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4435 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4436 * gdb.mi/mi-regs.exp: Use standard_testfile.
4437 * gdb.mi/mi-return.exp: Use standard_testfile.
4438 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4439 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4440 * gdb.mi/mi-solib.exp: Use standard_testfile,
4441 standard_output_file.
4442 * gdb.mi/mi-stack.exp: Use standard_testfile.
4443 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4444 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4445 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4446 * gdb.mi/mi-until.exp: Use standard_testfile.
4447 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4448 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4449 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4450 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4451 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4452 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4453 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4454 standard_output_file.
4455 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4456 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4457 * gdb.mi/mi-watch.exp: Use standard_testfile.
4458 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4459 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4460 * gdb.mi/mi2-break.exp: Use standard_testfile.
4461 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4462 * gdb.mi/mi2-console.exp: Use standard_testfile.
4463 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4464 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4465 * gdb.mi/mi2-file.exp: Use standard_testfile.
4466 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4467 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4468 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4469 * gdb.mi/mi2-return.exp: Use standard_testfile.
4470 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4471 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4472 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4473 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4474 * gdb.mi/mi2-until.exp: Use standard_testfile.
4475 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4476 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4477 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4478 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4479 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4480
44812012-07-10 Tom Tromey <tromey@redhat.com>
4482
4483 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4484 * gdb.cp/ambiguous.exp: Use standard_testfile,
4485 prepare_for_testing.
4486 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4487 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4488 * gdb.cp/anon-ns.exp: Use standard_testfile.
4489 * gdb.cp/anon-struct.exp: Use standard_testfile.
4490 * gdb.cp/anon-union.exp: Use standard_testfile,
4491 prepare_for_testing.
4492 * gdb.cp/arg-reference.exp: Use standard_testfile,
4493 prepare_for_testing.
4494 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4495 * gdb.cp/breakpoint.exp: Use standard_testfile,
4496 prepare_for_testing.
4497 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4498 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4499 standard_output_file.
4500 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4501 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4502 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4503 (test_static_members): Update.
4504 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4505 * gdb.cp/converts.exp: Use standard_testfile.
4506 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4507 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4508 prepare_for_testing.
4509 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4510 * gdb.cp/cplabel.exp: Use standard_testfile.
4511 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4512 prepare_for_testing.
4513 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4514 * gdb.cp/derivation.exp: Use standard_testfile,
4515 prepare_for_testing.
4516 * gdb.cp/destrprint.exp: Use standard_testfile.
4517 * gdb.cp/dispcxx.exp: Use standard_testfile.
4518 * gdb.cp/exception.exp: Use standard_testfile,
4519 prepare_for_testing.
4520 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4521 * gdb.cp/extern-c.exp: Use standard_testfile,
4522 prepare_for_testing.
4523 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4524 prepare_for_testing.
4525 * gdb.cp/fpointer.exp: Use standard_testfile.
4526 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4527 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4528 standard_output_file.
4529 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4530 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4531 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4532 standard_output_file.
4533 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4534 (do_tests): Update.
4535 * gdb.cp/koenig.exp: Use standard_testfile.
4536 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4537 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4538 * gdb.cp/m-static.exp: Use standard_testfile,
4539 prepare_for_testing.
4540 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4541 * gdb.cp/mb-inline.exp: Use standard_testfile,
4542 prepare_for_testing.
4543 * gdb.cp/mb-templates.exp: Use standard_testfile,
4544 prepare_for_testing.
4545 * gdb.cp/member-ptr.exp: Use standard_testfile,
4546 prepare_for_testing.
4547 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4548 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4549 * gdb.cp/method2.exp: Use standard_testfile.
4550 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4551 standard_output_file.
4552 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4553 (do_tests): Update.
4554 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4555 prepare_for_testing.
4556 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4557 prepare_for_testing.
4558 * gdb.cp/namespace.exp: Use standard_testfile,
4559 prepare_for_testing.
4560 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4561 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4562 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4563 * gdb.cp/nsimport.exp: Use standard_testfile,
4564 prepare_for_testing.
4565 * gdb.cp/nsnested.exp: Use standard_testfile.
4566 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4567 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4568 prepare_for_testing.
4569 * gdb.cp/nsstress.exp: Use standard_testfile,
4570 prepare_for_testing.
4571 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4572 * gdb.cp/operator.exp: Use standard_testfile.
4573 * gdb.cp/oranking.exp: Use standard_testfile.
4574 * gdb.cp/overload-const.exp: Use standard_testfile.
4575 * gdb.cp/overload.exp: Use standard_testfile,
4576 prepare_for_testing.
4577 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4578 * gdb.cp/ovsrch.exp: Use standard_testfile.
4579 * gdb.cp/paren-type.exp: Use standard_testfile.
4580 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4581 prepare_for_testing.
4582 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4583 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4584 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4585 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4586 * gdb.cp/pr10728.exp: Use standard_testfile,
4587 standard_output_file.
4588 * gdb.cp/pr12028.exp: Use standard_testfile.
4589 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4590 * gdb.cp/pr9167.exp: Use standard_testfile.
4591 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4592 * gdb.cp/printmethod.exp: Use standard_testfile,
4593 prepare_for_testing.
4594 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4595 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4596 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4597 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4598 standard_output_file.
4599 * gdb.cp/readnow-language.exp: Use standard_testfile.
4600 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4601 (gdb_start_again): Use clean_restart.
4602 * gdb.cp/ref-types.exp: Use standard_testfile,
4603 prepare_for_testing.
4604 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4605 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4606 * gdb.cp/smartp.exp: Use standard_testfile.
4607 * gdb.cp/static-method.exp: Use standard_testfile.
4608 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4609 * gdb.cp/temargs.exp: Use standard_testfile.
4610 * gdb.cp/templates.exp: Use standard_testfile,
4611 prepare_for_testing.
4612 (do_tests): Update.
4613 * gdb.cp/try_catch.exp: Use standard_testfile,
4614 prepare_for_testing.
4615 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4616 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4617 * gdb.cp/virtbase.exp: Use standard_testfile,
4618 prepare_for_testing.
4619 * gdb.cp/virtfunc.exp: Use standard_testfile,
4620 prepare_for_testing.
4621 (do_tests): Update.
4622 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4623 prepare_for_testing.
4624
46252012-07-10 Tom Tromey <tromey@redhat.com>
4626
4627 * lib/gdb.exp (standard_testfile): Unset output variables from
4628 earlier invocations.
4629
46302012-07-10 Yao Qi <yao@codesourcery.com>
4631
4632 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4633 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4634 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4635 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4636 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4637 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4638 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4639 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4640 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4641 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4642 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4643 * gdb.mi/mi-var-display.exp: Likewise.
4644 * gdb.mi/mi-var-invalidate.exp: Likewise.
4645 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4646 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4647 * gdb.mi/mi2-console.exp: Likewise.
4648 * gdb.mi/mi2-disassemble.exp: Likewise.
4649 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4650 * gdb.mi/mi2-read-memory.exp: Likewise.
4651 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4652 * gdb.mi/mi2-simplerun.exp: Likewise.
4653 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4654 * gdb.mi/mi2-syn-frame.exp: Likewise.
4655 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4656 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4657 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4658
46592012-07-09 Tom Tromey <tromey@redhat.com>
4660
4661 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4662 * gdb.base/callfuncs.exp: Add cast-based test.
4663 * gdb.base/callfuncs.c (voidfunc): New function.
4664
46652012-07-08 Doug Evans <dje@google.com>
4666
4667 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4668
46692012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4670
4671 Fix XFAIL compatibility with old i386 systems.
4672 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4673 Check also 'Cannot insert breakpoint 0'.
4674
46752012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 PR 14321
4678 * gdb.base/find.exp
4679 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4680
46812012-07-06 Tom Tromey <tromey@redhat.com>
4682
4683 * gdb.base/whatis.exp: Add test.
4684
46852012-07-06 Tom Tromey <tromey@redhat.com>
4686
4687 * gdb.base/whatis.exp: Add regression test.
4688
46892012-07-06 Tom Tromey <tromey@redhat.com>
4690
4691 * gdb.base/whatis.exp: Add tests.
4692
46932012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4694
4695 PR 12649
4696 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4697 gdb_test_multiple $gdb_prompt terminator.
4698
46992012-07-04 Pedro Alves <palves@redhat.com>
4700
4701 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4702 supports_process_record.
4703
47042012-07-04 Pedro Alves <palves@redhat.com>
4705
4706 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4707 endings.
4708 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4709
47102012-07-03 Stan Shebs <stan@codesourcery.com>
4711
4712 * gdb.base/info-os.c (main): Retry resource acquisition until an
4713 available one is found.
4714 * gdb.base/info-os.exp: Collect resource keys from the program
4715 and use them in matching.
4716
47172012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4718
4719 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4720 Wrap the test into loop for corefile and core0file.
4721
47222012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4723
4724 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4725 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4726 .note.GNU-stack.
4727
4728 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4729
47302012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4731
4732 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4733 break): Include help message for the new `-probe' and `-probe-stap'
4734 options.
4735
47362012-07-02 Stan Shebs <stan@codesourcery.com>
4737
4738 * gdb.base/dprintf.exp: Add agent style tests.
4739
47402012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4741
4742 * gdb.base/stale-infcall.c (infcall): New label test-next.
4743 (main): New labels test-pass and test-fail.
4744 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4745 $test_fail_bpnum to test-fail.
4746 (test system longjmp tracking support): New test.
4747 Delete $test_fail_bpnum.
4748 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4749 breakpoint.
4750
47512012-06-30 Doug Evans <dje@google.com>
4752
4753 * gdb.dwarf2/fission-reread.S: New file.
4754 * gdb.dwarf2/fission-reread.exp: New file.
4755
47562012-06-28 Stan Shebs <stan@codesourcery.com>
4757
4758 * gdb.mi/mi-logging.exp: New file.
4759
47602012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4761 Pedro Alves <palves@redhat.com>
4762
4763 * gdb.threads/siginfo-threads.exp: New file.
4764 * gdb.threads/siginfo-threads.c: New file.
4765 * gdb.threads/sigstep-threads.exp: New file.
4766 * gdb.threads/sigstep-threads.c: New file.
4767
47682012-06-28 Tom Tromey <tromey@redhat.com>
4769
4770 * gdb.go/package.exp: Partially revert earlier patch; use
4771 gdb_compile again. Use standard_output_file.
4772
47732012-06-27 Doug Evans <dje@google.com>
4774
4775 * gdb.dwarf2/fission-base.c: New file.
4776 * gdb.dwarf2/fission-base.S: New file.
4777 * gdb.dwarf2/fission-base.exp: New file.
4778
47792012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4780
4781 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4782
47832012-06-27 Tom Tromey <tromey@redhat.com>
4784
4785 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4786 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4787
47882012-06-27 Tom Tromey <tromey@redhat.com>
4789
4790 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4791 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4792 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4793 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4794 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4795 prepare_for_testing.
4796 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4797 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4798 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4799 standard_testfile.
4800 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4801 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4802 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4803 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4804 prepare_for_testing.
4805 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4806 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4807 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4808 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4809 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4810 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4811 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4812 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4813 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4814 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4815 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4816 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4817 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4818 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4819 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4820 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4821 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4822 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4823 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4824 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4825 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4826 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4827 standard_output_file.
4828 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4829 standard_output_file.
4830 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4831 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4832 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4833 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4834 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4835 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4836 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4837 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4838 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4839 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4840 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4841 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4842 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4843 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4844 * gdb.dwarf2/valop.exp: Use standard_testfile,
4845 prepare_for_testing.
4846
48472012-06-27 Tom Tromey <tromey@redhat.com>
4848
4849 * gdb.python/python.exp: Fix regexps in pagination tests.
4850
48512012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4852
4853 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4854 'last' of gdb.Symtab_and_line.
4855 * gdb.python/py-symbol.c: Move break point comment to enable
4856 testing of gdb.Symtab_and_line.last.
4857
48582012-06-26 Tom Tromey <tromey@redhat.com>
4859
4860 * gdb.threads/step.c: Remove.
4861 * gdb.threads/step.exp: Remove.
4862 * gdb.threads/step2.exp: Remove.
4863
48642012-06-26 Tom Tromey <tromey@redhat.com>
4865
4866 * gdb.threads/watchpoint-fork.exp (test): Use
4867 standard_output_file. Don't declare objdir.
4868 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4869 standard_output_file.
4870 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4871 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4872 clean_restart. Remove incdir.
4873 * gdb.threads/corethreads.exp: Use standard_testfile.
4874 * gdb.threads/execl.exp: Use standard_testfile,
4875 standard_output_file, clean_restart.
4876 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4877 clean_restart.
4878 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4879 clean_restart.
4880 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4881 incdir.
4882 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4883 clean_restart. Remove incdir.
4884 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4885 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4886 clean_restart. Remove incdir.
4887 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4888 Remove incdir.
4889 * gdb.threads/leader-exit.exp: Use standard_testfile.
4890 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4891 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4892 clean_restart.
4893 * gdb.threads/manythreads.exp: Use standard_testfile,
4894 clean_restart. Remove incdir.
4895 * gdb.threads/multi-create.exp: Use standard_testfile,
4896 clean_restart.
4897 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4898 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4899 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4900 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4901 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4902 * gdb.threads/pending-step.exp: Use standard_testfile,
4903 clean_restart. Remove incdir.
4904 * gdb.threads/print-threads.exp: Use standard_testfile,
4905 clean_restart. Remove incdir.
4906 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4907 clean_restart. Remove incdir.
4908 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4909 Remove incdir.
4910 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4911 incdir.
4912 * gdb.threads/sigthread.exp: Use standard_testfile,
4913 clean_restart.
4914 * gdb.threads/staticthreads.exp: Use standard_testfile,
4915 clean_restart. Remove incdir.
4916 * gdb.threads/switch-threads.exp: Use standard_testfile,
4917 clean_restart. Remove incdir.
4918 * gdb.threads/thread-execl.exp: Use standard_testfile,
4919 clean_restart. Remove incdir.
4920 * gdb.threads/thread-find.exp: Use standard_testfile,
4921 clean_restart.
4922 * gdb.threads/thread-specific.exp: Use standard_testfile,
4923 clean_restart. Remove incdir.
4924 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4925 clean_restart. Remove incdir.
4926 * gdb.threads/thread_check.exp: Use standard_testfile,
4927 clean_restart. Remove incdir.
4928 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4929 incdir.
4930 * gdb.threads/threadapply.exp: Use standard_testfile,
4931 clean_restart. Remove incdir.
4932 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4933 clean_restart. Remove incdir.
4934 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4935 clean_restart.
4936 * gdb.threads/tls-shared.exp: Use standard_testfile,
4937 clean_restart, standard_output_file.
4938 * gdb.threads/tls-var.exp: Use standard_testfile,
4939 standard_output_file.
4940 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4941 Remove incdir.
4942 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4943 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4944 incdir.
4945 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4946 clean_restart. Remove incdir.
4947
49482012-06-26 Tom Tromey <tromey@redhat.com>
4949
4950 * gdb.trace/actions.exp: Use standard_testfile.
4951 * gdb.trace/ax.exp: Use standard_testfile.
4952 * gdb.trace/backtrace.exp: Use standard_testfile.
4953 * gdb.trace/change-loc.exp: Use standard_testfile.
4954 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4955 * gdb.trace/collection.exp: Use standard_testfile,
4956 prepare_for_testing.
4957 * gdb.trace/deltrace.exp: Use standard_testfile.
4958 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4959 * gdb.trace/ftrace.exp: Use standard_testfile.
4960 * gdb.trace/infotrace.exp: Use standard_testfile.
4961 * gdb.trace/packetlen.exp: Use standard_testfile.
4962 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4963 * gdb.trace/passcount.exp: Use standard_testfile.
4964 * gdb.trace/pending.exp: Use standard_testfile.
4965 * gdb.trace/report.exp: Use standard_testfile.
4966 * gdb.trace/save-trace.exp: Use standard_testfile.
4967 * gdb.trace/stap-trace.exp: Use standard_testfile.
4968 * gdb.trace/status-stop.exp: Use standard_testfile.
4969 * gdb.trace/strace.exp: Use standard_testfile.
4970 * gdb.trace/tfile.exp: Use standard_testfile.
4971 * gdb.trace/tfind.exp: Use standard_testfile.
4972 * gdb.trace/trace-break.exp: Use standard_testfile.
4973 * gdb.trace/trace-mt.exp: Use standard_testfile.
4974 * gdb.trace/tracecmd.exp: Use standard_testfile.
4975 * gdb.trace/tspeed.exp: Use standard_testfile.
4976 * gdb.trace/tstatus.exp: Use standard_testfile.
4977 * gdb.trace/tsv.exp: Use standard_testfile.
4978 * gdb.trace/unavailable.exp: Use standard_testfile,
4979 prepare_for_testing.
4980 * gdb.trace/while-dyn.exp: Use standard_testfile.
4981 * gdb.trace/while-stepping.exp: Use standard_testfile.
4982
49832012-06-26 Tom Tromey <tromey@redhat.com>
4984
4985 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4986 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4987 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4988 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4989 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4990 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4991 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4992 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4993 prepare_for_testing.
4994 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4995 prepare_for_testing.
4996 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4997 prepare_for_testing.
4998 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4999 prepare_for_testing.
5000 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
5001 prepare_for_testing
5002 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
5003 * gdb.reverse/machinestate.exp: Use standard_testfile.
5004 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
5005 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
5006 build_executable.
5007 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
5008 build_executable.
5009 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
5010 standard_output_file.
5011 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
5012 standard_output_file.
5013 * gdb.reverse/step-precsave.exp: Use standard_testfile.
5014 * gdb.reverse/step-reverse.exp: Use standard_testfile.
5015 * gdb.reverse/until-precsave.exp: Use standard_testfile.
5016 * gdb.reverse/until-reverse.exp: Use standard_testfile.
5017 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
5018 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
5019
50202012-06-26 Tom Tromey <tromey@redhat.com>
5021
5022 * gdb.stabs/weird.exp: Remove directory-checking code. Use
5023 standard_output_file.
5024 * gdb.stabs/exclfwd.exp: Use standard_testfile,
5025 prepare_for_testing. Remove directory-checking code.
5026
50272012-06-25 Tom Tromey <tromey@redhat.com>
5028
5029 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
5030 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
5031 build_executable, not prepare_for_testing.
5032 * gdb.multi/base.exp: Use standard_output_file. Use
5033 build_executable, not prepare_for_testing.
5034
50352012-06-25 Tom Tromey <tromey@redhat.com>
5036
5037 * gdb.fortran/subarray.exp: Use standard_testfile,
5038 prepare_for_testing.
5039 * gdb.fortran/multi-dim.exp: Use standard_testfile.
5040 * gdb.fortran/module.exp: Use standard_testfile.
5041 * gdb.fortran/logical.exp: Use standard_testfile.
5042 * gdb.fortran/library-module.exp: Use standard_testfile,
5043 standard_output_file.
5044 * gdb.fortran/derived-type.exp: Use standard_testfile,
5045 prepare_for_testing.
5046 * gdb.fortran/complex.exp: Use standard_testfile,
5047 prepare_for_testing.
5048 * gdb.fortran/charset.exp: Use standard_testfile.
5049 * gdb.fortran/array-element.exp: Use standard_testfile,
5050 prepare_for_testing.
5051
50522012-06-25 Keith Seitz <keiths@redhat.com>
5053
5054 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
5055 Change rbreak-related tests to KFAIL and add bugzilla numbers.
5056
50572012-06-25 Tom Tromey <tromey@redhat.com>
5058
5059 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
5060 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
5061 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
5062 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
5063
50642012-06-25 Tom Tromey <tromey@redhat.com>
5065
5066 * gdb.linespec/ls-errs.exp: Use standard_testfile.
5067 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
5068 * gdb.linespec/linespec.exp: Use standard_testfile.
5069
50702012-06-25 Tom Tromey <tromey@redhat.com>
5071
5072 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
5073 prepare_for_testing.
5074
50752012-06-25 Tom Tromey <tromey@redhat.com>
5076
5077 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
5078 prepare_for_testing.
5079 * gdb.opt/inline-break.exp: Use standard_testfile,
5080 prepare_for_testing.
5081 * gdb.opt/inline-bt.exp: Use standard_testfile,
5082 prepare_for_testing.
5083 * gdb.opt/inline-cmds.exp: Use standard_testfile,
5084 prepare_for_testing.
5085 * gdb.opt/inline-locals.exp: Use standard_testfile,
5086 prepare_for_testing.
5087
50882012-06-25 Tom Tromey <tromey@redhat.com>
5089
5090 * gdb.asm/asm-source.exp: Use standard_output_file,
5091 standard_testfile. Construct .o files in proper subdir.
5092
50932012-06-25 Tom Tromey <tromey@redhat.com>
5094
5095 * gdb.server/ext-attach.exp: Use standard_testfile,
5096 prepare_for_testing.
5097 * gdb.server/ext-run.exp: Use standard_testfile,
5098 build_executable.
5099 * gdb.server/file-transfer.exp: Use standard_testfile,
5100 prepare_for_testing.
5101 * gdb.server/server-exec-info.exp: Use standard_testfile.
5102 * gdb.server/server-mon.exp: Use standard_testfile,
5103 prepare_for_testing.
5104 * gdb.server/server-run.exp: Use standard_testfile,
5105 build_executable.
5106 * gdb.server/solib-list.exp: Use standard_testfile,
5107 standard_output_file.
5108
51092012-06-25 Tom Tromey <tromey@redhat.com>
5110
5111 * lib/gdb.exp (standard_output_file): Use "file join".
5112 * gdb.go/chan.exp: Use standard_testfile.
5113 * gdb.go/handcall.exp: Use standard_testfile.
5114 * gdb.go/hello.exp: Use standard_testfile.
5115 * gdb.integers/chan.exp: Use standard_testfile.
5116 * gdb.go/methods.exp: Use standard_testfile.
5117 * gdb.go/package.exp: Use standard_testfile.
5118 * gdb.go/strings.exp: Use standard_testfile.
5119 * gdb.go/types.exp: Use standard_testfile.
5120 * gdb.go/unsafe.exp: Use standard_testfile.
5121
51222012-06-25 Greta Yorsh <greta.yorsh@arm.com>
5123
5124 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
5125
51262012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5127
5128 Fix regression by the previous commit.
5129 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
5130
51312012-06-22 Tom Tromey <tromey@redhat.com>
5132
5133 * gdb.python/lib-types.exp: Use standard_testfile,
5134 prepare_for_testing.
5135 * gdb.python/py-block.exp: Use standard_testfile.
5136 * gdb.python/py-breakpoint.exp: Use standard_testfile.
5137 * gdb.python/py-events.exp: Use standard_testfile,
5138 standard_output_file.
5139 * gdb.python/py-evsignal.exp: Use standard_testfile.
5140 * gdb.python/py-evethreads.exp: Use standard_testfile.
5141 * gdb.python/py-explore-cc.exp: Use standard_testfile.
5142 * gdb.python/py-explore.exp: Use standard_testfile.
5143 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
5144 standard_output_file.
5145 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
5146 prepare_for_testing.
5147 * gdb.python/py-frame-inline.exp: Use standard_testfile.
5148 * gdb.python/py-frame.exp: Use standard_testfile.
5149 * gdb.python/py-inferior.exp: Use standard_testfile.
5150 * gdb.python/py-infthread.exp: Use standard_testfile.
5151 * gdb.python/py-mi.exp: Use standard_testfile.
5152 * gdb.python/py-objfile-script.exp: Use standard_testfile,
5153 build_executable.
5154 * gdb.python/py-objfile.exp: Use standard_testfile.
5155 * gdb.python/py-pp-maint.exp: Use standard_testfile,
5156 prepare_for_testing.
5157 * gdb.python/py-prettyprint.exp: Use standard_testfile.
5158 * gdb.python/py-progspace.exp: Use standard_testfile,
5159 build_executable.
5160 * gdb.python/py-prompt.exp: Use standard_testfile,
5161 build_executable.
5162 * gdb.python/py-section-script.exp: Use standard_testfile,
5163 build_executable.
5164 * gdb.python/py-shared.exp: Use standard_testfile,
5165 standard_output_file, clean_restart.
5166 * gdb.python/py-symbol.exp: Use standard_output_file,
5167 prepare_for_testing.
5168 * gdb.python/py-symtab.exp: Use standard_output_file,
5169 prepare_for_testing
5170 * gdb.python/py-template.exp: Use standard_testfile.
5171 * gdb.python/py-type.exp: Use standard_testfile.
5172 * gdb.python/py-value-cc.exp: Use standard_testfile.
5173 * gdb.python/py-value.exp: Use standard_testfile.
5174 * gdb.python/python.exp: Use standard_testfile, build_executable.
5175
51762012-06-22 Tom Tromey <tromey@redhat.com>
5177
5178 * gdb.objc/basicclass.exp: Use standard_testfile.
5179 (do_objc_tests): Don't declare objdir.
5180 * gdb.objc/nondebug.exp: Use standard_testfile.
5181 (do_objc_tests): Don't declare objdir.
5182 * gdb.objc/objcdecode.exp: Use standard_testfile.
5183 (do_objc_tests): Don't declare objdir.
5184
51852012-06-22 Tom Tromey <tromey@redhat.com>
5186
5187 * gdb.java/jmain.exp: Use standard_testfile.
5188 * gdb.java/jmisc.exp: Use standard_testfile.
5189 * gdb.java/jnpe.exp: Use standard_testfile.
5190 * gdb.java/jprint.exp: Use standard_testfile.
5191
51922012-06-22 Tom Tromey <tromey@redhat.com>
5193
5194 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
5195 (standard_output_file, standard_testfile): New procs.
5196 (build_executable, clean_restart): Use standard_output_file.
5197
51982012-06-22 Yao Qi <yao@codesourcery.com>
5199
5200 * boards/native-gdbserver.exp: New proc ${board}_exec.
5201 * boards/native-stdio-gdbserver.exp: Likewise.
5202
52032012-06-21 Tom Tromey <tromey@redhat.com>
5204
5205 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
5206 (build_executable): Update.
5207 (get_compiler_info): Remove 'binfile' argument.
5208 * gdb.ada/arrayidx.exp: Update.
5209 * gdb.ada/null_array.exp: Update.
5210 * gdb.arch/altivec-abi.exp: Update.
5211 * gdb.arch/altivec-regs.exp: Update.
5212 * gdb.arch/amd64-byte.exp: Update.
5213 * gdb.arch/amd64-dword.exp: Update.
5214 * gdb.arch/amd64-word.exp: Update.
5215 * gdb.arch/i386-avx.exp: Update.
5216 * gdb.arch/i386-byte.exp: Update.
5217 * gdb.arch/i386-sse.exp: Update.
5218 * gdb.arch/i386-word.exp: Update.
5219 * gdb.arch/ppc-dfp.exp: Update.
5220 * gdb.arch/ppc-fp.exp: Update.
5221 * gdb.arch/vsx-regs.exp: Update.
5222 * gdb.base/all-bin.exp: Update.
5223 * gdb.base/annota1.exp: Update.
5224 * gdb.base/async.exp: Update.
5225 * gdb.base/attach.exp: Update.
5226 * gdb.base/break-interp.exp: Update.
5227 * gdb.base/call-ar-st.exp: Update.
5228 * gdb.base/call-rt-st.exp: Update.
5229 * gdb.base/call-sc.exp: Update.
5230 * gdb.base/callfuncs.exp: Update.
5231 * gdb.base/catch-load.exp: Update.
5232 * gdb.base/completion.exp: Update.
5233 * gdb.base/complex.exp: Update.
5234 * gdb.base/condbreak.exp: Update.
5235 * gdb.base/consecutive.exp: Update.
5236 * gdb.base/constvars.exp: Update.
5237 * gdb.base/corefile.exp: Update.
5238 * gdb.base/eval-skip.exp: Update.
5239 * gdb.base/expand-psymtabs.exp: Update.
5240 * gdb.base/exprs.exp: Update.
5241 * gdb.base/fileio.exp: Update.
5242 * gdb.base/fixsection.exp: Update.
5243 * gdb.base/funcargs.exp: Update.
5244 * gdb.base/gdb11530.exp: Update.
5245 * gdb.base/gdb1555.exp: Update.
5246 * gdb.base/gnu-ifunc.exp: Update.
5247 * gdb.base/gnu_vector.exp: Update.
5248 * gdb.base/info-macros.exp: Update.
5249 * gdb.base/jit-simple.exp: Update.
5250 * gdb.base/jit-so.exp: Update.
5251 * gdb.base/jit.exp: Update.
5252 * gdb.base/langs.exp: Update.
5253 * gdb.base/list.exp: Update.
5254 * gdb.base/logical.exp: Update.
5255 * gdb.base/long_long.exp: Update.
5256 * gdb.base/longjmp.exp: Update.
5257 * gdb.base/macscp.exp: Update.
5258 * gdb.base/mips_pro.exp: Update.
5259 * gdb.base/miscexprs.exp: Update.
5260 * gdb.base/morestack.exp: Update.
5261 * gdb.base/nodebug.exp: Update.
5262 * gdb.base/opaque.exp: Update.
5263 * gdb.base/pc-fp.exp: Update.
5264 * gdb.base/pending.exp: Update.
5265 * gdb.base/permissions.exp: Update.
5266 * gdb.base/pointers.exp: Update.
5267 * gdb.base/prelink.exp: Update.
5268 * gdb.base/printcmds.exp: Update.
5269 * gdb.base/psymtab.exp: Update.
5270 * gdb.base/ptype.exp: Update.
5271 * gdb.base/relational.exp: Update.
5272 * gdb.base/scope.exp: Update.
5273 * gdb.base/setvar.exp: Update.
5274 * gdb.base/shlib-call.exp: Update.
5275 * gdb.base/shreloc.exp: Update.
5276 * gdb.base/signals.exp: Update.
5277 * gdb.base/sizeof.exp: Update.
5278 * gdb.base/so-impl-ld.exp: Update.
5279 * gdb.base/so-indr-cl.exp: Update.
5280 * gdb.base/solib-disc.exp: Update.
5281 * gdb.base/solib-display.exp: Update.
5282 * gdb.base/solib-nodir.exp: Update.
5283 * gdb.base/solib-overlap.exp: Update.
5284 * gdb.base/solib-symbol.exp: Update.
5285 * gdb.base/solib-weak.exp: Update.
5286 * gdb.base/solib.exp: Update.
5287 * gdb.base/store.exp: Update.
5288 * gdb.base/structs.exp: Update.
5289 * gdb.base/structs2.exp: Update.
5290 * gdb.base/type-opaque.exp: Update.
5291 * gdb.base/unload.exp: Update.
5292 * gdb.base/varargs.exp: Update.
5293 * gdb.base/volatile.exp: Update.
5294 * gdb.base/watch_thread_num.exp: Update.
5295 * gdb.base/watchpoint-solib.exp: Update.
5296 * gdb.base/watchpoint.exp: Update.
5297 * gdb.base/watchpoints.exp: Update.
5298 * gdb.base/whatis.exp: Update.
5299 * gdb.cell/arch.exp: Update.
5300 * gdb.cell/break.exp: Update.
5301 * gdb.cell/bt.exp: Update.
5302 * gdb.cell/core.exp: Update.
5303 * gdb.cell/data.exp: Update.
5304 * gdb.cell/ea-cache.exp: Update.
5305 * gdb.cell/f-regs.exp: Update.
5306 * gdb.cell/fork.exp: Update.
5307 * gdb.cell/gcore.exp: Update.
5308 * gdb.cell/mem-access.exp: Update.
5309 * gdb.cell/ptype.exp: Update.
5310 * gdb.cell/registers.exp: Update.
5311 * gdb.cell/sizeof.exp: Update.
5312 * gdb.cell/solib-symbol.exp: Update.
5313 * gdb.cell/solib.exp: Update.
5314 * gdb.cp/ambiguous.exp: Update.
5315 * gdb.cp/breakpoint.exp: Update.
5316 * gdb.cp/bs15503.exp: Update.
5317 * gdb.cp/casts.exp: Update.
5318 * gdb.cp/class2.exp: Update.
5319 * gdb.cp/cpexprs.exp: Update.
5320 * gdb.cp/cplusfuncs.exp: Update.
5321 * gdb.cp/ctti.exp: Update.
5322 * gdb.cp/dispcxx.exp: Update.
5323 * gdb.cp/gdb1355.exp: Update.
5324 * gdb.cp/gdb2384.exp: Update.
5325 * gdb.cp/gdb2495.exp: Update.
5326 * gdb.cp/infcall-dlopen.exp: Update.
5327 * gdb.cp/local.exp: Update.
5328 * gdb.cp/m-data.exp: Update.
5329 * gdb.cp/m-static.exp: Update.
5330 * gdb.cp/mb-ctor.exp: Update.
5331 * gdb.cp/mb-inline.exp: Update.
5332 * gdb.cp/mb-templates.exp: Update.
5333 * gdb.cp/member-ptr.exp: Update.
5334 * gdb.cp/method.exp: Update.
5335 * gdb.cp/namespace.exp: Update.
5336 * gdb.cp/nextoverthrow.exp: Update.
5337 * gdb.cp/nsdecl.exp: Update.
5338 * gdb.cp/nsrecurs.exp: Update.
5339 * gdb.cp/nsstress.exp: Update.
5340 * gdb.cp/nsusing.exp: Update.
5341 * gdb.cp/pr-1023.exp: Update.
5342 * gdb.cp/pr-1210.exp: Update.
5343 * gdb.cp/pr-574.exp: Update.
5344 * gdb.cp/pr9631.exp: Update.
5345 * gdb.cp/printmethod.exp: Update.
5346 * gdb.cp/psmang.exp: Update.
5347 * gdb.cp/re-set-overloaded.exp: Update.
5348 * gdb.cp/rtti.exp: Update.
5349 * gdb.cp/shadow.exp: Update.
5350 * gdb.cp/templates.exp: Update.
5351 * gdb.cp/try_catch.exp: Update.
5352 * gdb.dwarf2/dw2-ranges.exp: Update.
5353 * gdb.dwarf2/pr10770.exp: Update.
5354 * gdb.fortran/library-module.exp: Update.
5355 * gdb.hp/gdb.aCC/optimize.exp: Update.
5356 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5357 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5358 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5359 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5360 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5361 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5362 * gdb.hp/gdb.compat/xdb1.exp: Update.
5363 * gdb.hp/gdb.compat/xdb2.exp: Update.
5364 * gdb.hp/gdb.compat/xdb3.exp: Update.
5365 * gdb.hp/gdb.defects/bs14602.exp: Update.
5366 * gdb.hp/gdb.defects/solib-d.exp: Update.
5367 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5368 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5369 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5370 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5371 * gdb.mi/gdb792.exp: Update.
5372 * gdb.mi/mi-pending.exp: Update.
5373 * gdb.mi/mi-solib.exp: Update.
5374 * gdb.mi/mi-var-cp.exp: Update.
5375 * gdb.opt/clobbered-registers-O2.exp: Update.
5376 * gdb.opt/inline-bt.exp: Update.
5377 * gdb.opt/inline-cmds.exp: Update.
5378 * gdb.opt/inline-locals.exp: Update.
5379 * gdb.python/py-events.exp: Update.
5380 * gdb.python/py-finish-breakpoint.exp: Update.
5381 * gdb.python/py-type.exp: Update.
5382 * gdb.reverse/solib-precsave.exp: Update.
5383 * gdb.reverse/solib-reverse.exp: Update.
5384 * gdb.server/solib-list.exp: Update.
5385 * gdb.stabs/weird.exp: Update.
5386 * gdb.threads/attach-into-signal.exp: Update.
5387 * gdb.threads/attach-stopped.exp: Update.
5388 * gdb.threads/tls-shared.exp: Update.
5389 * gdb.trace/change-loc.exp: Update.
5390 * gdb.trace/strace.exp: Update.
5391
53922012-06-19 Tom Tromey <tromey@redhat.com>
5393
5394 * gdb.base/whatis.exp: Add tests.
5395
53962012-06-19 Tom Tromey <tromey@redhat.com>
5397
5398 * gdb.cp/m-static.cc (keepalive): New function.
5399 (gnu_obj_1::method): Use it.
5400
54012012-06-18 Doug Evans <dje@google.com>
5402
5403 * gdb.base/info-fun.exp: New file.
5404 * gdb.base/info-fun.c: New file.
5405 * gdb.base/info-fun-solib.c: New file.
5406
54072012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5408
5409 Remove stale dummy frames.
5410 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5411 (maintenance info breakpoints): New tests.
5412 * gdb.base/stale-infcall.c: New file.
5413 * gdb.base/stale-infcall.exp: New file.
5414
54152012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5416
5417 * gdb.arch/amd64-entry-value-param.S: New file.
5418 * gdb.arch/amd64-entry-value-param.c: New file.
5419 * gdb.arch/amd64-entry-value-param.exp: New file.
5420
54212012-06-15 Tom Tromey <tromey@redhat.com>
5422
5423 * gdb.cp/namespace.exp: Add "show lang" test.
5424
54252012-06-15 Iain Sandoe <iain@codesourcery.com>
5426
5427 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5428 case. (top level): Use gdb_file_cmd instead of gdb_load.
5429
54302012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5431
5432 PR tdep/14222
5433 * gdb.arch/i386-sse-stack-align.S: New file.
5434 * gdb.arch/i386-sse-stack-align.c: New file.
5435 * gdb.arch/i386-sse-stack-align.exp: New file.
5436
54372012-06-13 Keith Seitz <keiths@redhat.com>
5438
5439 PR breakpoints/13798 and mi/11541
5440 * gdb.linespec/ls-errs.exp: Add a few more tests for
5441 filenames with spaces and colons.
5442
54432012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5444
5445 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5446 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5447 (test_function): Call CV_f.
5448 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5449 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5450 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5451 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5452 (p CV_f(CV::i)): New tests.
5453
54542012-06-13 Tom Tromey <tromey@redhat.com>
5455
5456 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5457
54582012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5459
5460 Fix regression by the "ambiguous linespec" series.
5461 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5462 tests.
5463
54642012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5465
5466 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5467 missing.
5468
54692012-06-11 Tom Tromey <tromey@redhat.com>
5470
5471 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5472 location...
5473 (main): ...here.
5474
54752012-06-07 Yao Qi <yao@codesourcery.com>
5476
5477 * gdb.trace/strace.exp: Shorten some too-long lines.
5478
54792012-06-06 Pedro Alves <palves@redhat.com>
5480
5481 * gdb.threads/clone-new-thread-event.c: New file.
5482 * gdb.threads/clone-new-thread-event.exp: New file.
5483
54842012-06-06 Yao Qi <yao@codesourcery.com>
5485
5486 * gdb.base/dprintf.c (main): Add extra parameter when calling
5487 printf and fprintf.
5488 (bar): New function. It is a dead function, but to ensure
5489 'malloc' is linked explicitly.
5490
54912012-06-06 Yao Qi <yao@codesourcery.com>
5492
5493 * gdb.base/info-proc.exp: Return if target doesn't support
5494 'info proc'.
5495
54962012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5497
5498 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5499 (run program with breakpoint commands): XFAIl if it is not.
5500
55012012-06-05 Joel Brobecker <brobecker@adacore.com>
5502
5503 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5504 and add comment.
5505 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5506 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5507 "STOP" marker. Adjust testing strategy to make it work on
5508 all targets.
5509
5510 * gdb.base/print-file-var-main.c (main): Rewrite using local
5511 variables and adjust get_version_2's return value check.
5512 Add small comment.
5513 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5514 marker. Adjust testing strategy to make it work on all targets.
5515
55162012-06-05 Joel Brobecker <brobecker@adacore.com>
5517
5518 * gdb.ada/bad-task-bp-keyword: New testcase.
5519
55202012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5521
5522 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5523 Simplify it to ...
5524 (symbol-file ${testfile1}): ... here.
5525 (test eliminated var my_global_symbol)
5526 (test eliminated var my_static_symbol)
5527 (test eliminated var my_global_func, get address of main): Wrap them to
5528 'single psymtabs' and 'single symtabs'
5529 (get address of my_global_symbol, get address of my_static_symbol)
5530 (get address of my_global_func, get address of main): Wrap them to
5531 'order1' and 'order2'.
5532
5533 * gdb.base/code_elim.exp
5534 (add-symbol-file ${testfile1} 0x100000)
5535 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5536 'order2'.
5537 (order1: add-symbol-file ${testfile1} 0x100000)
5538 (order1: add-symbol-file ${testfile2} 0x200000)
5539 (order2: add-symbol-file ${testfile2} 0x200000)
5540 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5541 .bss as appropriate.
5542
55432012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5544
5545 * gdb.server/solib-list-lib.c: New file.
5546 * gdb.server/solib-list-main.c: New file.
5547 * gdb.server/solib-list.exp: New file.
5548
55492012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5550
5551 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5552 for 'set print symbol' change.
5553
55542012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5555
5556 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5557 .debug_abbrev_seg3.
5558
55592012-05-24 John Steele Scott <toojays@toojays.net>
5560
5561 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5562 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5563 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5564
55652012-05-23 Stan Shebs <stan@codesourcery.com>
5566
5567 * gdb.mi/mi-info-os.exp: New file.
5568
55692012-05-23 Keith Seitz <keiths@redhat.com>
5570
5571 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5572 return -1 to suppress the rest of the tests.
5573 (compile_stap_bin): Return boolean success value.
5574
55752012-05-21 Tom Tromey <tromey@redhat.com>
5576
5577 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5578 Remove kfails.
5579 (test_print_mi_member_types): Likewise.
5580
55812012-05-21 Tom Tromey <tromey@redhat.com>
5582
5583 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5584 print symbol' change.
5585
55862012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5587
5588 * gdb.python/py-prompt.exp: Quit if the target is remote.
5589
55902012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5591
5592 Fix ERROR: internal buffer is full.
5593 * gdb.base/info-os.exp (expect_multiline): New function.
5594 (get process list, get process groups, get threads)
5595 (get file descriptors, get internet-domain sockets)
5596 (get shared-memory regions, get semaphores, get message queues): Use
5597 it for these tests.
5598
55992012-05-18 Tom Tromey <tromey@redhat.com>
5600
5601 * gdb.mi/mi-var-cmd.exp: Update.
5602 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5603 * gdb.cp/virtbase.exp: Update.
5604 * gdb.cp/classes.exp (test_static_members): Update.
5605 * gdb.cp/casts.exp: Update.
5606 * gdb.base/pointers.exp: Update.
5607 * gdb.base/funcargs.exp (pointer_args): Update.
5608 (structs_by_reference): Update.
5609 * gdb.base/find.exp: Update.
5610 * gdb.base/call-strs.exp: Send "set print symbol off".
5611 * gdb.base/call-ar-st.exp: Update.
5612 * gdb.ada/fun_addr.exp: Update.
5613 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5614 Call it.
5615 (test_print_repeats_10, test_print_strings)
5616 (test_print_char_arrays): Update.
5617
56182012-05-18 Tom Tromey <tromey@redhat.com>
5619
5620 * gdb.base/charset.exp (string_display): Update.
5621
56222012-05-18 Tom Tromey <tromey@redhat.com>
5623
5624 * gdb.mi/mi2-var-display.exp: Update.
5625 * gdb.mi/mi-var-display.exp: Update.
5626 * gdb.mi/mi-var-child.exp: Update.
5627 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5628 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5629
56302012-05-17 Doug Evans <dje@google.com>
5631
5632 * info-macros.exp: Pass "debug" to prepare_for_testing.
5633
5634 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5635 * gdb.ada/Makefile.in (clean): Ditto.
5636 * gdb.arch/Makefile.in (clean): Ditto.
5637 * gdb.asm/Makefile.in (clean): Ditto.
5638 * gdb.base/Makefile.in (clean): Ditto.
5639 * gdb.cell/Makefile.in (clean): Ditto.
5640 * gdb.cp/Makefile.in (clean): Ditto.
5641 * gdb.disasm/Makefile.in (clean): Ditto.
5642 * gdb.dwarf2/Makefile.in (clean): Ditto.
5643 * gdb.fortran/Makefile.in (clean): Ditto.
5644 * gdb.go/Makefile.in (clean): Ditto.
5645 * gdb.hp/Makefile.in (clean): Ditto.
5646 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5647 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5648 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5649 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5650 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5651 * gdb.java/Makefile.in (clean): Ditto.
5652 * gdb.linespec/Makefile.in (clean): Ditto.
5653 * gdb.mi/Makefile.in (clean): Ditto.
5654 * gdb.modula2/Makefile.in (clean): Ditto.
5655 * gdb.multi/Makefile.in (clean): Ditto.
5656 * gdb.objc/Makefile.in (clean): Ditto.
5657 * gdb.opencl/Makefile.in (clean): Ditto.
5658 * gdb.opt/Makefile.in (clean): Ditto.
5659 * gdb.pascal/Makefile.in (clean): Ditto.
5660 * gdb.python/Makefile.in (clean): Ditto.
5661 * gdb.reverse/Makefile.in (clean): Ditto.
5662 * gdb.server/Makefile.in (clean): Ditto.
5663 * gdb.stabs/Makefile.in (clean): Ditto.
5664 * gdb.threads/Makefile.in (clean): Ditto.
5665 * gdb.trace/Makefile.in (clean): Ditto.
5666 * gdb.xml/Makefile.in (clean): Ditto.
5667
56682012-05-16 Tom Tromey <tromey@redhat.com>
5669
5670 * gdb.base/macscp1.c (macscp_expr): Add comment.
5671 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5672
56732012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5674
5675 * gdb.base/return-nodebug.exp: Also test float and double types.
5676
56772012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5678
5679 PR testsuite/12649
5680 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5681
5682 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5683
56842012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5685
5686 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5687 `rerun_to_main'.
5688 (stap_test_no_debuginfo): Likewise.
5689
56902012-05-14 Stan Shebs <stan@codesourcery.com>
5691
5692 * gdb.base/dprintf.c: New file.
5693 * gdb.base/dprintf.exp: New file.
5694
56952012-05-14 Hui Zhu <hui_zhu@mentor.com>
5696
5697 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5698 * gdb.trace/disconnected-tracing.c: New file.
5699 * gdb.trace/disconnected-tracing.exp: New file.
5700
57012012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5702
5703 * gdb.python/python.c: Add a new breakpoint comment.
5704 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5705
57062011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5707
5708 * gdb.base/info-os.exp: New file.
5709 * gdb.base/info-os.c: New file.
5710
57112012-05-10 Joel Brobecker <brobecker@adacore.com>
5712
5713 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5714 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5715 New files.
5716
57172012-05-10 Joel Brobecker <brobecker@adacore.com>
5718
5719 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5720 gdb.base/ctxobj.exp: New files.
5721
57222012-05-09 Tom Tromey <tromey@redhat.com>
5723
5724 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5725
57262012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5727
5728 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5729
57302012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5731
5732 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5733 before using it.
5734
57352012-05-04 Tristan Gingold <gingold@adacore.com>
5736
5737 * gdb.base/set-noassign.exp: New test.
5738
57392012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5740
5741 * gdb.python/py-symbol.exp: Add tests to test the new methods
5742 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5743 * gdb.python/py-symbol.c: Add new struct to help test
5744 gdb.Symtab.static_block().
5745
57462012-05-03 Doug Evans <dje@google.com>
5747
5748 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5749 commented out.
5750
57512012-05-03 Yao Qi <yao@codesourcery.com>
5752
5753 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5754 doesn't support.
5755 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5756 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5757
57582012-05-03 Yao Qi <yao@codesourcery.com>
5759
5760 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5761
57622012-04-30 Doug Evans <dje@google.com>
5763
5764 PR testsuite/13961
5765 * gdb.dwarf2/pr13961.S: New file.
5766 * gdb.dwarf2/pr13961.exp: New file.
5767
57682012-04-29 Yao Qi <yao@codesourcery.com>
5769
5770 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5771
57722012-04-28 Doug Evans <dje@google.com>
5773
5774 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5775 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5776 All uses updated.
5777 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5778 "ptype func_cu1" to expand cu2 before cu1.
5779
57802012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5781 Tom Tromey <tromey@redhat.com>
5782
5783 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5784 variables.
5785 * gdb.base/stap-probe.c: New file.
5786 * gdb.base/stap-probe.exp: New file.
5787 * gdb.trace/stap-trace.c: New file.
5788 * gdb.trace/stap-trace.exp: New file.
5789 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5790 libgcc's unwinder.
5791
57922012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5793
5794 * gdb.arch/mips16-thunks-inmain.c: New file.
5795 * gdb.arch/mips16-thunks-main.c: New file.
5796 * gdb.arch/mips16-thunks-sin.c: New file.
5797 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5798 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5799 * gdb.arch/mips16-thunks-sinmain.c: New file.
5800 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5801 * gdb.arch/mips16-thunks.exp: New file.
5802
58032012-04-25 Doug Evans <dje@google.com>
5804
5805 * configure.ac: Create gdb.go/Makefile.
5806 * configure: Regenerate.
5807 * gdb.base/default.exp: Add "go" to "set language" testing.
5808 * gdb.go/Makefile.in: New file.
5809 * gdb.go/basic-types.exp: New file.
5810 * gdb.go/chan.exp: New file.
5811 * gdb.go/chan.go: New file.
5812 * gdb.go/handcall.exp: New file.
5813 * gdb.go/handcall.go: New file.
5814 * gdb.go/hello.exp: New file.
5815 * gdb.go/hello.go: New file.
5816 * gdb.go/integers.exp: New file.
5817 * gdb.go/integers.go: New file.
5818 * gdb.go/methods.exp: New file.
5819 * gdb.go/methods.go: New file.
5820 * gdb.go/package.exp: New file.
5821 * gdb.go/package1.go: New file.
5822 * gdb.go/package2.go: New file.
5823 * gdb.go/print.exp: New file.
5824 * gdb.go/strings.exp: New file.
5825 * gdb.go/strings.go: New file.
5826 * gdb.go/types.exp: New file.
5827 * gdb.go/types.go: New file.
5828 * gdb.go/unsafe.exp: New file.
5829 * gdb.go/unsafe.go: New file.
5830 * lib/future.exp: Add Go support.
5831 (gdb_find_go, gdb_find_go_linker): New procs.
5832 (gdb_default_target_compile): Add Go support.
5833 * lib/gdb.exp (skip_go_tests): New proc.
5834 * lib/go.exp: New file.
5835
58362012-04-25 Tom Tromey <tromey@redhat.com>
5837
5838 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5839
58402012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5841 Jan Kratochvil <jan.kratochvil@redhat.com>
5842
5843 PR symtab/7259:
5844 * gdb.base/enumval.c: New test case.
5845 * gdb.base/enumval.exp: New test case.
5846 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5847 field.bitpos.
5848
58492012-04-17 Pedro Alves <palves@redhat.com>
5850
5851 * Makefile.in (site.exp): Make site.exp source
5852 $srcdir/lib/append_gdb_boards_dir.exp.
5853 * lib/append_gdb_boards_dir.exp: New file.
5854
58552012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5856
5857 New option "set auto-load safe-path".
5858 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5859 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5860
58612012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5862
5863 auto-load: Implementation.
5864 * gdb.base/help.exp (test set height): Increase the height.
5865 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5866 to ...
5867 (info auto-load python-scripts): ... here.
5868 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5869 to ...
5870 (info auto-load python-scripts *): ... here.
5871
58722012-04-16 Yao Qi <yao@codesourcery.com>
5873
5874 * lib/trace-support.exp (get_in_proc_agent): New.
5875 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5876 of in process trace agent.
5877 * gdb.trace/ftrace.exp: Likewise.
5878 * gdb.trace/pending.exp: Likewise.
5879 * gdb.trace/trace-break.exp: Likewise.
5880 * gdb.trace/trace-mt.exp
5881 * gdb.trace/tspeed.exp: Likewise.
5882 * gdb.trace/tstatus.exp
5883 * gdb.trace/strace.exp: Likewise.
5884
58852012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5886
5887 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5888 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5889
5890 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5891
58922012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5893
5894 PR mi/13393
5895 * gdb.mi/mi-var-rtti.cc: New file.
5896 * gdb.mi/mi-var-rtti.exp: New file.
5897 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5898 function.
5899 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5900
59012012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5902
5903 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5904 EXECUTABLES.
5905 * gdb.python/py-explore.c: C program used for testing the new
5906 'explore' command on C constructs.
5907 * gdb.python/py-explore.cc: C++ program used for testing the new
5908 'explore' command on C++ constructs.
5909 * gdb-python/py-explore.exp: Tests for the new 'explore'
5910 command on C constructs.
5911 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5912 command on C++ constructs.
5913
59142012-04-07 Mark Kettenis <kettenis@gnu.org>
5915
5916 * gdb.base/funcargs.exp (complex_args): Fix typo.
5917
59182012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5919
5920 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5921 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5922
59232012-04-05 Keith Seitz <keiths@redhat.com>
5924
5925 * gdb.base/advance.exp: Update error message for
5926 "advance malformed" test.
5927 * gdb.base/break.exp: Likewise for "breakpoint with
5928 trailing garbage" test.
5929 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5930 with trailing garbage" test.
5931 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5932 trailng garbage" test.
5933 * gdb.base/until.exp: Likewise for "malformed until" test.
5934 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5935 for "breakpoint info (after setting on all)".
5936 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5937 tests.
5938 * gdb.cp/cplabel.cc: New file.
5939 * gdb.cp/cplabel.exp: New test.
5940 * gdb.linespec/ls-errs.c: New file.
5941 * gdb.linespec/ls-errs.exp: New test.
5942
59432012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5944
5945 * gdb.trace/unavailable.exp
5946 (collect globals: print object on: print derived_partial)
5947 (collect globals: print object on: print derived_whole)
5948 (collect globals: print object off: print derived_partial)
5949 (collect globals: print object off: print derived_whole): Update
5950 expected output.
5951
59522012-03-30 Keith Seitz <keiths@redhat.com>
5953
5954 * gdb.python: Add test for linespecs with commas.
5955
59562012-03-28 Keith Seitz <keiths@redhat.com>
5957
5958 * gdb.linespec/ls-dollar.cc: New file.
5959 * gdb.linespec/ls-dollar.exp: New test.
5960
59612012-03-28 Keith Seitz <keiths@redhat.com>
5962
5963 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5964 starting with the global namespace.
5965
59662012-03-23 Doug Evans <dje@google.com>
5967
5968 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5969
59702012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5971
5972 * gdb.python/py-value.cc: Add test case for testing the
5973 methodology exposing C++ values to Python.
5974 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5975 exposing C++ values to Python.
5976 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5977
59782012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5979 Siddhesh Poyarekar <siddhesh@redhat.com>
5980
5981 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5982 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5983 (generate native core dump): Make the test unsupported if core cannot
5984 be generated.
5985
59862012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5987
5988 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5989 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5990 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5991
59922012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5993
5994 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5995
59962012-03-17 Doug Evans <dje@google.com>
5997
5998 * dg-extract-results.sh: Handle KFAILs.
5999
60002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6001
6002 PR symtab/13777
6003 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
6004
60052012-03-16 Joel Brobecker <brobecker@adacore.com>
6006
6007 * gdb.ada/set_pckd_arr_elt: New testcase.
6008
60092012-03-16 Gary Benson <gbenson@redhat.com>
6010
6011 PR breakpoints/10738
6012 * gdb.opt/inline-break.exp: New file.
6013 * gdb.opt/inline-break.c: Likewise.
6014 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
6015 * gdb.dwarf2/dw2-inline-break.S: Likewise.
6016 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
6017 * gdb.base/async-shell.exp: Likewise.
6018 * lib/mi-support.exp (library_loaded_re): Likewise.
6019
60202012-03-15 Tom Tromey <tromey@redhat.com>
6021
6022 * gdb.cp/virtfunc2.exp: Update expected output.
6023 * gdb.cp/pr9631.exp: Update expected output.
6024 * gdb.cp/member-ptr.exp: Update expected output.
6025 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
6026 output.
6027 * gdb.cp/casts.exp: Update expected output.
6028
60292012-03-15 Tom Tromey <tromey@redhat.com>
6030
6031 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
6032 (test_info_vtbl): Likewise.
6033 (do_tests): Call test_info_vtbl.
6034 * gdb.cp/virtfunc.cc (va): New global.
6035
60362012-03-15 Thomas Schwinge <thomas@codesourcery.com>
6037
6038 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
6039 describing DWARF data structures.
6040 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
6041 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
6042 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
6043 * gdb.dwarf2/dw2-entry-value.S: Likewise.
6044 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6045 * gdb.dwarf2/dw2-param-error.S: Likewise.
6046 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
6047 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
6048 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
6049 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
6050 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
6051 * gdb.dwarf2/pr11465.S: Likewise.
6052
60532012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6054
6055 * gdb.mi/mi2-prompt.exp: New file.
6056
60572012-03-13 Joel Brobecker <brobecker@adacore.com>
6058
6059 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
6060
60612012-03-13 Joel Brobecker <brobecker@adacore.com>
6062
6063 * gdb.ada/bp_range_type: New testcase.
6064
60652012-03-13 Doug Evans <dje@google.com>
6066
6067 * gdb.base/default.exp: Delete tests for symbol-reloading.
6068 * gdb.base/help.exp: Ditto.
6069 * gdb.base/setshow.exp: Ditto.
6070 * gdb.base/gdb_history: Delete references to symbol-reloading.
6071
60722012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6073
6074 * gdb.base/attach-twice.c: New files.
6075 * gdb.base/attach-twice.exp: New files.
6076
60772012-03-08 Keith Seitz <keiths@redhat.com>
6078
6079 * lib/gdb.exp (gdb_get_line_number): Throw an
6080 error instead of returning -1.
6081 * gdb.base/break.exp: Remove unused variable
6082 bp_location5.
6083 * gdb.base/hbreak2.exp: Likewise.
6084 * gdb.base/sepdebug.exp: Likewise.
6085
60862012-03-08 Yao Qi <yao@codesourcery.com>
6087 Pedro Alves <palves@redhat.com>
6088
6089 Fix PR server/13392.
6090 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
6091 (tracepoint_change_loc_2): Remove kfail. Return if failed to
6092 download tracepoints.
6093 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
6094 (pending_tracepoint_resolved_during_trace): Likewise.
6095 (pending_tracepoint_installed_during_trace): Likewise.
6096 (pending_tracepoint_with_action_resolved): Likewise.
6097
60982012-03-08 Keith Seitz <keiths@redhat.com>
6099
6100 * gdb.ada/array_bounds.exp: Get breakpoint for line
6101 with "START", not "STOP".
6102 * gdb.python/py-infthread.exp: Do not continue to
6103 line marked "Break here.", which is undefined.
6104
61052012-03-08 Luis Machado <lgustavo@codesourcery.com>
6106
6107 Revert:
6108
6109 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6110
6111 Implement testsuite workaround for PR breakpoints/13781.
6112 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6113 (set breakpoint condition-evaluation host): New conditional command.
6114
61152012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6116
6117 Fix CU relative vs. absolute DIE offsets.
6118 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
6119 one.
6120
61212012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6122
6123 Fix false FAIL on distros with relro linkage as default.
6124 * gdb.reverse/solib-precsave.exp: Try to compile the test using
6125 -Wl,-z,norelro first.
6126
61272012-03-06 Joel Brobecker <brobecker@adacore.com>
6128
6129 * gdb.ada/bp_on_var: New testcase.
6130
61312012-03-06 Joel Brobecker <brobecker@adacore.com>
6132
6133 * gdb.ada/bp_enum_homonym: New testcase.
6134
61352012-03-06 Yao Qi <yao@codesourcery.com>
6136
6137 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
6138 x86_64-*-* and i?86-*-*.
6139 Set up KFAIL for gdb/13808.
6140
61412012-03-05 Tom Tromey <tromey@redhat.com>
6142
6143 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
6144 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
6145
61462012-03-05 Tom Tromey <tromey@redhat.com>
6147
6148 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
6149
61502012-03-04 Yao Qi <yao@codesourcery.com>
6151
6152 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
6153 messages for KFAIL.
6154
61552012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
6158 (print one_two_three, indexes off, print few_reps, indexes off)
6159 (print many_reps, indexes off, print empty, indexes off)
6160 (print one_two_three, print few_reps, print many_reps, print empty):
6161 Call setup_xfail if $gcc_old.
6162
61632012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6164
6165 Implement testsuite workaround for PR breakpoints/13781.
6166 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6167 (set breakpoint condition-evaluation host): New conditional command.
6168
61692012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6170
6171 Code cleanup.
6172 * gdb.cp/mb-templates.exp: New variables executable. Use it for
6173 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
6174 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
6175 number 1 by $bpnum. Four times.
6176
61772012-03-03 Yao Qi <yao@codesourcery.com>
6178
6179 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
6180
61812012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6182
6183 Setup KFAIL for PR server/13796.
6184 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
6185
61862012-03-02 Joel Brobecker <brobecker@adacore.com>
6187
6188 * gdb.ada/operator_bp: New testcase.
6189
61902012-03-02 Joel Brobecker <brobecker@adacore.com>
6191
6192 * gdb.ada/info_locals_renaming: New testcase.
6193
61942012-03-02 Tom Tromey <tromey@redhat.com>
6195
6196 * gdb.base/nextoverexit.c: New file.
6197 * gdb.base/nextoverexit.exp: New file.
6198
61992012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6200
6201 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
6202 parameter.
6203
62042012-03-01 Maciej W. Rozycki <macro@mips.com>
6205
6206 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
6207 core registers.
6208
62092012-03-01 Maciej W. Rozycki <macro@mips.com>
6210 Maciej W. Rozycki <macro@codesourcery.com>
6211 Daniel Jacobowitz <dan@codesourcery.com>
6212
6213 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
6214
62152012-03-01 Pedro Alves <palves@redhat.com>
6216
6217 PR gdb/13767
6218
6219 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
6220 (gdb_collect_globals_test): Call it.
6221
62222012-03-01 Keith Seitz <keiths@redhat.com>
6223
6224 * gdb.cp/method2.exp: Output of overload menu is now
6225 alphabetized. Update tests for "break A::method".
6226 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
6227 of hard-coding them.
6228 Overload menu is alphabetized: rewrite to accommodate.
6229 Unset variables LINE and TYPES which are used in other tests.
6230 Compute the output of "info break".
6231 Update the breakpoint table after all breakpoints are deleted.
6232 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
6233 compute ACTUALS and the method body based on parameters.
6234 Update expected output accordingly.
6235 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
6236 unique comments to allow the use of gdb_get_line_number.
6237
62382012-03-01 Keith Seitz <keiths@redhat.com>
6239
6240 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
6241 some Tcl syntax.
6242 * gdb.cp/ovldbreak.exp: Likewise.
6243
62442012-03-01 Keith Seitz <keiths@redhat.com>
6245
6246 * gdb.base/help.exp (help show user): Update expected result
6247 for new doc string changes (add "non-python").
6248
62492012-03-01 Scott J. Goldman <scottjg@vmware.com>
6250
6251 * gdb.python/py-cmd.exp: Add test to verify that python commands can
6252 be put in the user-defined category and that the commands appear in
6253 "help user-defined".
6254
62552012-02-29 Joel Brobecker <brobecker@adacore.com>
6256
6257 * gdb.ada/tagged_not_init: New testcase.
6258
62592012-02-29 Joel Brobecker <brobecker@adacore.com>
6260
6261 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
6262 * gdb.ada/enum_idx_packed: New testcase.
6263
62642012-02-29 Joel Brobecker <brobecker@adacore.com>
6265
6266 * gdb.ada/aliased_array: New testcase.
6267
62682012-02-29 Joel Brobecker <brobecker@adacore.com>
6269
6270 * gdb.ada/whatis_array_val: New testcase.
6271
62722012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6273
6274 Fix disp-step-syscall.exp: fork: single step over fork.
6275 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
6276 whitespaces.
6277 (single step over $syscall): Remove its check.
6278 (single step over $syscall final pc): New check.
6279
62802012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6281
6282 Support processors without SSSE3.
6283 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
6284 pabsd into ...
6285 (ssse3_test): ... a new function.
6286 (main): Call ssse3_test.
6287 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
6288 Update expected values everywhere.
6289 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
6290 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
6291 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
6292 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
6293 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
6294 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
6295 Move these tests lower.
6296 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
6297 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
6298 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
6299 New tests.
6300
63012012-02-29 Yao Qi <yao@codesourcery.com>
6302 Pedro Alves <palves@redhat.com>
6303
6304 * gdb.trace/trace-mt.c: New.
6305 * gdb.trace/trace-mt.exp: New.
6306
63072012-02-28 Thomas Schwinge <thomas@codesourcery.com>
6308
6309 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
6310 numbers instead of hardcoding them.
6311 * gdb.base/annota1.c: Provide suitable markers.
6312 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
6313 numbers instead of hardcoding them.
6314 * gdb.base/annota3.c: Provide suitable markers.
6315
6316 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
6317 * gdb.base/annota3.c: Likewise.
6318 * gdb.base/sigall.c: Likewise.
6319 * gdb.base/signals.c: Likewise.
6320 * gdb.reverse/sigall-reverse.c: Likewise.
6321
63222012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
6323
6324 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
6325 failure return path.
6326
63272012-02-27 Luis Machado <lgustavo@codesourcery.com>
6328
6329 * gdb.base/save-bp.exp: Account for new condition evaluator output.
6330
63312012-02-24 Luis Machado <lgustavo@codesourcery.com>
6332
6333 * gdb.base/cond-eval-mode.exp: New file.
6334
63352012-02-24 Pedro Alves <palves@redhat.com>
6336
6337 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
6338 (top level): Use with_test_prefix.
6339
63402012-02-24 Pedro Alves <palves@redhat.com>
6341
6342 * gdb.threads/attach-into-signal.exp (corefunc): Use
6343 with_test_prefix.
6344
63452012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6346
6347 Fix false FAILs on old CPUs without SSE.
6348 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6349 Return untested for Illegal instruction.
6350
63512012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6352
6353 Fix false FAILs with glibc debug infos installed.
6354 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6355 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6356
63572012-02-22 Sterling Augustine <saugustine@google.com>
6358
6359 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6360 constant with cast.
6361
63622012-02-21 Pedro Alves <palves@redhat.com>
6363
6364 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6365
63662012-02-21 Pedro Alves <palves@redhat.com>
6367
6368 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6369
63702012-02-21 Pedro Alves <palves@redhat.com>
6371
6372 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6373 with_test_prefix.
6374
63752012-02-21 Pedro Alves <palves@redhat.com>
6376
6377 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6378 with_test_prefix here.
6379 (top level): Do it here instead. Remove `:' from the
6380 with_test_prefix string.
6381 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6382 the suffix `:' from the with_test_prefix prefix string.
6383 * gdb.base/break-interp.exp: Ditto.
6384 * gdb.base/catch-load.exp: Ditto.
6385 * gdb.base/disp-step-syscall.exp: Ditto.
6386 * gdb.base/jit-so.exp: Ditto.
6387 * gdb.base/jit.exp: Ditto.
6388 * gdb.base/sepdebug.exp: Ditto.
6389 * gdb.base/solib-display.exp: Ditto.
6390 * gdb.base/solib-overlap.exp: Ditto.
6391 * gdb.base/watch-cond-infcall.exp: Ditto.
6392 * gdb.base/watchpoint.exp: Ditto.
6393 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6394 * gdb.mi/mi-watch.exp: Ditto.
6395 * gdb.mi/mi2-watch.exp: Ditto.
6396 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6397 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6398 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6399 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6400 * gdb.threads/watchpoint-fork.exp: Ditto.
6401 * gdb.threads/watchthreads-reorder.exp: Ditto.
6402 * gdb.trace/change-loc.exp: Ditto.
6403 * gdb.trace/pending.exp: Ditto.
6404 * gdb.trace/status-stop.exp: Ditto.
6405 * gdb.trace/strace.exp: Ditto.
6406 * gdb.trace/trace-break.exp: Ditto.
6407 * gdb.trace/unavailable.exp: Ditto.
6408 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6409 suffix with colon. Adjust leading comments.
6410
64112012-02-21 Pedro Alves <palves@redhat.com>
6412 Tom Tromey <tromey@redhat.com>
6413
6414 * lib/gdb.exp: Add description of test prefixes.
6415 (with_test_prefix): New procedure.
6416 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6417 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6418 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6419 instead of lappend to append to pf_prefix.
6420 * gdb.base/catch-load.exp: Use with_test_prefix.
6421 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6422 * gdb.base/jit-so.exp: Use with_test_prefix.
6423 * gdb.base/jit.exp: Use with_test_prefix.
6424 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6425 lappend to append to pf_prefix.
6426 * gdb.base/sepdebug.exp: Use with_test_prefix.
6427 * gdb.base/solib-display.exp: Use with_test_prefix.
6428 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6429 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6430 * gdb.base/watchpoint.exp: Use with_test_prefix.
6431 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6432 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6433 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6434 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6435 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6436 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6437 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6438 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6439 append instead of lappend to append to pf_prefix.
6440 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6441 * gdb.trace/change-loc.exp: Use with_test_prefix.
6442 * gdb.trace/pending.exp: Use with_test_prefix.
6443 * gdb.trace/status-stop.exp: Use with_test_prefix.
6444 * gdb.trace/strace.exp: Use with_test_prefix.
6445 * gdb.trace/trace-break.exp: Use with_test_prefix.
6446 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6447 instead of lappend to append to pf_prefix.
6448
64492012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6450
6451 Fix racy FAILs.
6452 * gdb.base/inferior-died.c (main): Add return of 0.
6453 * gdb.base/inferior-died.exp (continue): Fix expectation of
6454 asynchronous events.
6455 (p 1): New test.
6456
64572012-02-20 Pedro Alves <palves@redhat.com>
6458
6459 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6460 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6461 gdb's internal debug output. For the non-threaded case, look for
6462 "Program received signal SIGLARM", for the threaded case, peek at
6463 the thread's siginfo.
6464
64652012-02-20 Pedro Alves <palves@redhat.com>
6466
6467 General cleanup, make output test messages unique, and build
6468 different executable files for the non-threaded and threaded
6469 cases.
6470
6471 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6472 Delete.
6473 (executable_nothr, executable_thr): New globals.
6474 (top level): Adjust to delete both executables.
6475 (corefunc): New parameter $executable. Set $pf_prefix instead of
6476 hand writing a prefix in tests. Issue a clean_restart and enable
6477 lin-lwp debug output here.
6478 (top level): Adjust. Use build_executable. Don't start gdb here,
6479 and don't enable lin-lwp debug output here.
6480 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6481
64822012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6483
6484 Fix racy FAILs.
6485 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6486 "continue" command.
6487
64882012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6489
6490 Fix for gdbserver non-extended mode.
6491 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6492 and gdb_run_cmd.
6493
64942012-02-17 Tom Tromey <tromey@redhat.com>
6495
6496 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6497 * gdb.python/py-events.exp: Check 'dir' output.
6498 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6499
65002012-02-17 Yao Qi <yao@codesourcery.com>
6501
6502 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6503
65042012-02-16 Tom Tromey <tromey@redhat.com>
6505
6506 * gdb.base/inferior-died.c: Don't include stdio.h.
6507
65082012-02-16 Tom Tromey <tromey@redhat.com>
6509
6510 * gdb.base/inferior-died.c: New file.
6511 * gdb.base/inferior-died.exp: New file.
6512
65132012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6514
6515 * gdb.base/break-inline.exp: New file.
6516 * gdb.base/break-inline.c: New file.
6517
65182012-02-15 Tom Tromey <tromey@redhat.com>
6519
6520 * gdb.base/pc-fp.exp: Add "info register" tests.
6521
65222012-02-15 Tom Tromey <tromey@redhat.com>
6523
6524 * gdb.base/regs.exp: Remove.
6525
65262012-02-15 Pedro Alves <palves@redhat.com>
6527
6528 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6529 the target doesn't support tracepoints.
6530 * gdb.trace/circ.exp: Ditto.
6531 * gdb.trace/collection.exp: Ditto.
6532 * gdb.trace/packetlen.exp: Ditto.
6533 * gdb.trace/passc-dyn.exp: Ditto.
6534 * gdb.trace/report.exp: Ditto.
6535 * gdb.trace/tfind.exp: Ditto.
6536 * gdb.trace/tspeed.exp: Ditto.
6537 * gdb.trace/tsv.exp: Ditto.
6538 * gdb.trace/unavailable.exp: Ditto.
6539 * gdb.trace/while-dyn.exp: Ditto.
6540
65412012-02-15 Pedro Alves <palves@redhat.com>
6542
6543 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6544 gdb_test_multiple, and call unsupported instead of fail, if the
6545 remote side does not support the request.
6546
65472012-02-15 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6550 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6551 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6552 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6553 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6554 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6555 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6556 doesn't start with "extended-" already.
6557
65582012-02-15 Pedro Alves <palves@redhat.com>
6559
6560 Support extended-remote. Avoid cascading timeouts.
6561
6562 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6563 the extended-remote target. If attaching with no file fails, load
6564 the file manually.
6565 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6566
65672012-02-14 Stan Shebs <stan@codesourcery.com>
6568
6569 * gdb.base/ena-dis-br.exp: Add enable count test.
6570
65712012-02-13 Pedro Alves <palves@redhat.com>
6572
6573 * config/mips-idt.exp: Delete.
6574 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6575 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6576 * gdb.base/break.exp: Remove mips-idt references.
6577 * gdb.base/chng-syms.exp: Ditto.
6578 * gdb.base/default.exp: Ditto.
6579 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6580 (top level): Don't call it.
6581 * gdb.base/opaque.exp: Remove mips-idt restarts.
6582 * gdb.base/ptype.exp: Remove mips-idt xfails.
6583 * gdb.base/scope.exp: Remove mips-idt restarts.
6584 * gdb.base/sepdebug.exp: Remove mips-idt references.
6585 * gdb.base/watchpoint.exp (maybe_clean_restart)
6586 (maybe_reinitialize): Delete.
6587 (test_disabling_watchpoints, test_disabling_watchpoints)
6588 (test_watchpoint_triggered_in_syscall)
6589 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6590 Don't call them.
6591
65922012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6593
6594 * gdb.server/server-exec-info.exp: New file.
6595
65962012-02-10 Pedro Alves <palves@redhat.com>
6597
6598 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6599 always non-empty.
6600 (test_attach): Always pass $exec to test_attach_gdb.
6601
66022012-02-08 Tom Tromey <tromey@redhat.com>
6603
6604 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6605 before inferior is started.
6606
66072012-02-07 Tom Tromey <tromey@redhat.com>
6608
6609 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6610 Symbol.value.
6611 * gdb.python/py-symbol.c (qq): Set default value.
6612
66132012-02-07 Tom Tromey <tromey@redhat.com>
6614
6615 * gdb.python/py-symbol.c (qq): New global.
6616 * gdb.python/py-symbol.exp: Add test for frame-less
6617 lookup_symbol.
6618 * gdb.python/py-symtab.exp: Fix line number.
6619
66202012-02-03 Joel Brobecker <brobecker@adacore.com>
6621
6622 * gdb.ada/mi_task_arg: New testcase.
6623
66242012-02-02 Pedro Alves <palves@redhat.com>
6625
6626 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6627 extended timeout.
6628
66292012-02-02 Pedro Alves <palves@redhat.com>
6630
6631 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6632 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6633
66342012-02-02 Pedro Alves <palves@redhat.com>
6635
6636 * gdb.base/term.exp: Rewrite.
6637 * gdb.base/term.c: New.
6638
66392012-02-02 Pedro Alves <palves@redhat.com>
6640
6641 * gdb.base/default.exp (run "r" abbreviation, run): Add
6642 extended-remote expected output.
6643
66442012-02-02 Tom Tromey <tromey@redhat.com>
6645
6646 * gdb.cp/dispcxx.exp: New file.
6647 * gdb.cp/dispcxx.cc: New file.
6648
66492012-02-01 Tom Tromey <tromey@redhat.com>
6650
6651 * gdb.base/jit-simple.exp: New file.
6652 * gdb.base/jit-simple.c: New file.
6653
66542012-01-30 Yao Qi <yao@codesourcery.com>
6655
6656 * gdb.base/skip.exp: Make test result unique.
6657
66582012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6659
6660 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6661 compatibility with valgrind-3.7.0.
6662
66632012-01-27 Pedro Alves <palves@redhat.com>
6664
6665 * gdb.base/watchpoint.exp (no_hw): New global.
6666 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6667 disable hw watchpoints.
6668 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6669 don't expect hw watchpoints.
6670 (no_hw_watchpoints): Always clean restart.
6671 (do_tests): New procedure, factored out from the top level.
6672 (top level): Run tests twice. Once with hw watchpoints enabled,
6673 another time with hw watchpoints disabled.
6674
66752012-01-27 Pedro Alves <palves@redhat.com>
6676
6677 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6678 out from the top level.
6679 (top level): Call it instead.
6680
66812012-01-27 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6684 watchpoints sooner.
6685
66862012-01-27 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6689
66902012-01-27 Pedro Alves <palves@redhat.com>
6691
6692 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6693 "You may have requested too many hardware
6694 breakpoints/watchpoints".
6695
66962012-01-27 Pedro Alves <palves@redhat.com>
6697
6698 * gdb.base/watchpoint.exp (maybe_clean_restart)
6699 (maybe_reinitialize): New.
6700 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6701 expect "hit N times".
6702 (test_disabling_watchpoints, test_complex_watchpoint)
6703 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6704 Call maybe_clean_restart.
6705 (top level): Use clean_restart. Remove "mips-idt-*"
6706 reinitialization.
6707
67082012-01-27 Pedro Alves <palves@redhat.com>
6709
6710 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6711
67122012-01-27 Pedro Alves <palves@redhat.com>
6713
6714 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6715 require `initialize' anymore. Remove unnecessary `initialize'
6716 calls.
6717
67182012-01-27 Pedro Alves <palves@redhat.com>
6719
6720 * gdb.base/watchpoint.exp (wp_set): Delete.
6721 (initialize, test_simple_watchpoint, top level): Remove dead code.
6722
67232012-01-27 Pedro Alves <palves@redhat.com>
6724
6725 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6726 typo.
6727
67282012-01-27 Pedro Alves <palves@redhat.com>
6729
6730 * config/extended-gdbserver.exp: New file.
6731 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6732 comment.
6733 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6734 * boards/native-extended-gdbserver.exp: New file.
6735
67362012-01-26 Pedro Alves <palves@redhat.com>
6737
6738 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6739 and gdb_test_multiple.
6740
67412012-01-26 Pedro Alves <palves@redhat.com>
6742
6743 Make test messages unique, and more identifiable.
6744 * gdb.multi/watchpoint-multi.exp: Change test messages.
6745
67462012-01-25 Tom Tromey <tromey@redhat.com>
6747
6748 * gdb.base/solib-disc.exp: Fix regexps.
6749
67502012-01-24 Tom Tromey <tromey@redhat.com>
6751
6752 * lib/mi-support.exp (mi_expect_stop): Add special case for
6753 solib-event.
6754 * gdb.base/catch-load-so.c: New file.
6755 * gdb.base/catch-load.exp: New file.
6756 * gdb.base/catch-load.c: New file.
6757 * gdb.base/break-interp.exp (reach_1): Update regexp.
6758
67592012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6760
6761 Fix fuzzy results.
6762 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6763 lpsimple and func.
6764
67652012-01-24 Gary Benson <gbenson@redhat.com>
6766
6767 Delete #if 0'd out code.
6768 * gdb.base/default.exp (info catch): Remove.
6769 * gdb.base/gdb_history (info catch): Likewise.
6770 * gdb.base/help.exp (info catch): Likewise.
6771
67722012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6773
6774 Fix watchpoints to be specific for each inferior.
6775 * gdb.multi/watchpoint-multi.c: New file.
6776 * gdb.multi/watchpoint-multi.exp: New file.
6777
67782012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6779
6780 Fix watchpoints across inferior fork.
6781 * gdb.threads/watchpoint-fork-child.c: New file.
6782 * gdb.threads/watchpoint-fork-mt.c: New file.
6783 * gdb.threads/watchpoint-fork-parent.c: New file.
6784 * gdb.threads/watchpoint-fork-st.c: New file.
6785 * gdb.threads/watchpoint-fork.exp: New file.
6786 * gdb.threads/watchpoint-fork.h: New file.
6787
67882012-01-23 Pedro Alves <palves@redhat.com>
6789
6790 * gdb.base/call-signal-resume.exp: Allow output after "return".
6791
67922012-01-20 Pedro Alves <palves@redhat.com>
6793
6794 * gdb.python/py-finish-breakpoint.py: Fix typo.
6795
67962012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6797
6798 * gdb.base/info-proc.exp: Also run on remote targets. Main
6799 "info proc" command is now always present; whether target supports
6800 actual info proc operation is detected when attempting to issue
6801 the command.
6802
68032012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6804
6805 * .gdbinit: Remove.
6806
68072012-01-19 Pedro Alves <palves@redhat.com>
6808
6809 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6810 look at the funtions' returns.
6811 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6812 (jprint.print(int, int)): Change return type to int. Adjust.
6813
68142012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6815
6816 PR gdb/9538
6817 * gdb.base/sepdebug.exp: New test.
6818
68192012-01-18 Pedro Alves <palves@redhat.com>
6820
6821 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6822 Allow output before ^done.
6823
68242012-01-16 Tom Tromey <tromey@redhat.com>
6825
6826 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6827 Add tests for relative directory.
6828
68292012-01-16 Tom Tromey <tromey@redhat.com>
6830
6831 * gdb.base/printcmds.c (enum flag_enum): New.
6832 (three): New global.
6833 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6834 enum printing.
6835 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6836 FlagEnumerationPrinter.
6837 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6838 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6839 (fval): New global.
6840
68412012-01-16 Pedro Alves <palves@redhat.com>
6842
6843 * lib/gdb.exp (banned_procedures): New variable.
6844 (banned_variables_traced): Rename to ...
6845 (banned_traced): ... this.
6846 (gdb_init): Also trace banned procedures.
6847 (gdb_finish): Also untrace banned procedures.
6848
68492012-01-16 Pedro Alves <palves@redhat.com>
6850
6851 Remove all calls to strace.
6852
68532012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6854
6855 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6856 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6857
68582012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6859
6860 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6861 * gdb.base/pie-execl.exp: Likewise.
6862
68632012-01-12 Keith Seitz <keiths@redhat.com>
6864
6865 PR mi/10586
6866 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6867 (do_anonymous_type_tests): New function.
6868 (main): Call do_anonymous_type_tests.
6869 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6870 (verify_everything): New procedure.
6871 * gdb.mi/mi-var-cp.cc (class A): New class.
6872 (anonymous_structs_and_unions): New function.
6873 (main): Call anonymous_structs_and_unions.
6874 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6875 (verify_everything): New procedure.
6876
68772012-01-12 Keith Seitz <keiths@redhat.com>
6878
6879 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6880 (varobj_tree::get_path_expr): Assume that all varobjs are
6881 compound unless they are known simple types.
6882 Adjust path expressions based on parent type, path parent type,
6883 and tree language.
6884 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6885 the root varobj.
6886 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6887
68882012-01-11 Pedro Alves <palves@redhat.com>
6889
6890 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6891 core files on this machine" anymore.
6892
68932012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6894
6895 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6896 (main): Repeat recurser call.
6897 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6898 equivalent to 'local_x'.
6899
69002012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6901 Joel Brobecker <brobecker@adacore.com>
6902
6903 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6904
69052012-01-05 Pedro Alves <alves.ped@gmail.com>
6906
6907 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6908 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6909 * gdb.python/py-events.exp: Test that "step N" tripping on a
6910 breakpoint emits a breakpoint event.
6911
69122012-01-03 Joel Brobecker <brobecker@adacore.com>
6913
6914 * gdb.base/auxv.exp: Reformat the copyright notice.
6915
69162012-01-03 Yao Qi <yao@codesourcery.com>
6917
6918 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6919 (strace_trace_on_diff_addr): New.
6920 * gdb.trace/strace.c: (main): Add two local variables.
6921
69222011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6923
6924 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6925 * gdb.cell/gcore.exp: Likewise.
6926 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6927 to verify the correct instance of main is selected.
6928
69292012-01-02 Joel Brobecker <brobecker@adacore.com>
6930
6931 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6932 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6933 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6934 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6935 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6936 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6937 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6938 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6939 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6940 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6941 gdb.threads/thread_check.c: Reformat copyright header.
6942
69432011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6944
6945 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6946 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6947 is not enabled.
6948
69492011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6950
6951 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6952 parameter to self_exec, adjust the function.
6953 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6954 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6955 (set var do_exit = 0): Remove test.
6956 (newline at end of file): Add one.
6957
69582011-12-27 Joel Brobecker <brobecker@adacore.com>
6959
6960 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6961 New files.
6962
69632011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6964
6965 Fix racy FAILs.
6966 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6967 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6968 (main): Call pthread_barrier_init for it.
6969
69702011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6971
6972 Fix double send_gdb leading to racy FAILs.
6973 * gdb.base/break.exp (set silent break bp_location1): Replace
6974 3x send_gdb and gdb_expect by gdb_test.
6975 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6976 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6977 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6978 instead of send_gdb. Twice.
6979 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6980 3x send_gdb and gdb_expect by gdb_test.
6981 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6982
69832011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6984
6985 * gdb.linespec/linespec.exp: Compile using {c++}.
6986
69872011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6988
6989 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6990 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6991 (verify GCC PR debug/51668): New test.
6992
69932011-12-23 Kevin Pouget <kevin.pouget@st.com>
6994
6995 Introduce gdb.FinishBreakpoint in Python.
6996 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6997 py-finish-breakpoint2
6998 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6999 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
7000 instead of line number.
7001 * gdb.python/py-finish-breakpoint.c: New file.
7002 * gdb.python/py-finish-breakpoint.exp: New file.
7003 * gdb.python/py-finish-breakpoint.py: New file.
7004 * gdb.python/py-finish-breakpoint2.cc: New file.
7005 * gdb.python/py-finish-breakpoint2.exp: New file.
7006 * gdb.python/py-finish-breakpoint2.py: New file.
7007
70082011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7009
7010 Partial fix of compatibility with gcc-4.7.
7011 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
7012 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
7013 Add comment to add a PASS case in the future.
7014
7015 Fix compatibility with gcc-4.7.
7016 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
7017
70182011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
7019
7020 PR tdep/12797
7021 * gdb.base/callfuncs.exp: Remove KFAIL.
7022
70232011-12-21 Joel Brobecker <brobecker@adacore.com>
7024
7025 * gdb.ada/task_bp: New testcase.
7026
70272011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7028
7029 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
7030 -DNO_SECTIONS.
7031 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
7032
70332011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7034
7035 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
7036 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
7037 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7038 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
7039 conditional for gcc <= 4.5.
7040
70412011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7042
7043 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
7044 by XFAIL.
7045 * gdb.cp/static-method.exp (info addr A::func())
7046 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7047 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7048 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7049 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
7050 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
7051 (test value of F in k3_m): Likewise.
7052 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7053 Likewise.
7054
70552011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7056
7057 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
7058 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
7059 Remove.
7060 * gdb.threads/attachstop-mt.c: Remove.
7061 * gdb.threads/attachstop-mt.exp: Remove.
7062
70632011-12-17 Mark Kettenis <kettenis@gnu.org>
7064
7065 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
7066
70672011-12-16 Doug Evans <dje@google.com>
7068
7069 * boards/native-stdio-gdbserver.exp: New file.
7070 * boards/native-gdbserver.exp: New file.
7071
7072 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
7073 gdbserver output.
7074 (gdbserver_default_get_remote_address): New function.
7075 (gdbserver_start): Call gdb,get_remote_address to compute argument
7076 to "target remote" command.
7077
70782011-12-16 Phil Muldoon <pmuldoon@redhat.com>
7079
7080 * gdb.python/py-function.exp: Change "on" to "full" for
7081 python print-stack. Add set/show python print-stack
7082 off|full|message tests.
7083
70842011-12-15 Yao Qi <yao@codesourcery.com>
7085
7086 * gdb.trace/strace.c: New
7087 * gdb.trace/strace.exp: New.
7088
70892011-12-14 Tom Tromey <tromey@redhat.com>
7090
7091 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
7092
70932011-12-14 Doug Evans <dje@google.com>
7094
7095 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
7096
70972011-12-14 Pedro Alves <pedro@codesourcery.com>
7098
7099 PR threads/10729
7100
7101 * gdb.mi/watch-nonstop.c: New file.
7102 * gdb.mi/mi-watch-nonstop.exp: New file.
7103
71042011-12-13 Pedro Alves <pedro@codesourcery.com>
7105 Doug Evans <dje@google.com>
7106
7107 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
7108 (clean_restart): Remove references to the gdb_stub target board
7109 variable.
7110 (gdb_step_for_stub): Delete.
7111
7112 * gdb.base/annota1.exp: Remove all references to [target_info
7113 exists gdb_stub], gdb_step_for_stub and usestubs.
7114 * gdb.base/annota3.exp: Ditto.
7115 * gdb.base/async.exp: Ditto.
7116 * gdb.base/break.exp: Ditto.
7117 * gdb.base/code-expr.exp: Ditto.
7118 * gdb.base/commands.exp: Ditto.
7119 * gdb.base/completion.exp: Ditto.
7120 * gdb.base/condbreak.exp: Ditto.
7121 * gdb.base/consecutive.exp: Ditto.
7122 * gdb.base/cvexpr.exp: Ditto.
7123 * gdb.base/define.exp: Ditto.
7124 * gdb.base/display.exp: Ditto.
7125 * gdb.base/ena-dis-br.exp: Ditto.
7126 * gdb.base/environ.exp: Ditto.
7127 * gdb.base/gnu-ifunc.exp: Ditto.
7128 * gdb.base/maint.exp: Ditto.
7129 * gdb.base/pending.exp: Ditto.
7130 * gdb.base/sect-cmd.exp: Ditto.
7131 * gdb.base/sepdebug.exp: Ditto.
7132 * gdb.base/unload.exp: Ditto.
7133 * gdb.base/watchpoint-solib.exp: Ditto.
7134 * gdb.cp/annota2.exp: Ditto.
7135 * gdb.cp/annota3.exp: Ditto.
7136 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
7137 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
7138 * gdb.mi/mi-pending.exp: Ditto.
7139 * gdb.trace/circ.exp: Ditto.
7140 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
7141 * gdb.base/list.exp: Ditto.
7142
7143 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
7144 breakpoint function and all references to the usestubs macro.
7145 * gdb.base/exprs.c: Ditto.
7146 * gdb.base/freebpcmd.c: Ditto.
7147 * gdb.base/bitfields.c: Ditto.
7148 * gdb.base/bitfields2.c: Ditto.
7149 * gdb.base/break.c: Ditto.
7150 * gdb.base/call-sc.c: Ditto.
7151 * gdb.base/call-signals.c: Ditto.
7152 * gdb.base/callfuncs.c: Ditto.
7153 * gdb.base/charset.c: Ditto.
7154 * gdb.base/consecutive.c: Ditto.
7155 * gdb.base/constvars.c: Ditto.
7156 * gdb.base/funcargs.c: Ditto.
7157 * gdb.base/int-type.c: Ditto.
7158 * gdb.base/interrupt.c: Ditto.
7159 * gdb.base/langs0.c: Ditto.
7160 * gdb.base/list0.c: Ditto.
7161 * gdb.base/mips_pro.c: Ditto.
7162 * gdb.base/miscexprs.c: Ditto.
7163 * gdb.base/nodebug.c: Ditto.
7164 * gdb.base/opaque0.c: Ditto.
7165 * gdb.base/pointers.c: Ditto.
7166 * gdb.base/printcmds.c: Ditto.
7167 * gdb.base/ptype.c: Ditto.
7168 * gdb.base/recurse.c: Ditto.
7169 * gdb.base/reread1.c: Ditto.
7170 * gdb.base/reread2.c: Ditto.
7171 * gdb.base/restore.c: Ditto.
7172 * gdb.base/return.c: Ditto.
7173 * gdb.base/run.c: Ditto.
7174 * gdb.base/scope0.c: Ditto.
7175 * gdb.base/sepdebug.c: Ditto.
7176 * gdb.base/setshow.c: Ditto.
7177 * gdb.base/setvar.c: Ditto.
7178 * gdb.base/sigall.c: Ditto.
7179 * gdb.base/signals.c: Ditto.
7180 * gdb.base/structs.c: Ditto.
7181 * gdb.base/structs2.c: Ditto.
7182 * gdb.base/testenv.c: Ditto.
7183 * gdb.base/twice.c: Ditto.
7184 * gdb.base/unwindonsignal.c: Ditto.
7185 * gdb.base/watchpoint.c: Ditto.
7186 * gdb.base/watchpoints.c: Ditto.
7187 * gdb.base/whatis.c: Ditto.
7188 * gdb.cp/classes.cc: Ditto.
7189 * gdb.cp/cplusfuncs.cc: Ditto.
7190 * gdb.cp/derivation.cc: Ditto.
7191 * gdb.cp/formatted-ref.cc: Ditto.
7192 * gdb.cp/misc.cc: Ditto.
7193 * gdb.cp/overload.cc: Ditto.
7194 * gdb.cp/ovldbreak.cc: Ditto.
7195 * gdb.cp/ref-params.cc: Ditto.
7196 * gdb.cp/ref-types.cc: Ditto.
7197 * gdb.cp/templates.cc: Ditto.
7198 * gdb.cp/virtfunc.cc: Ditto.
7199 * gdb.hp/gdb.aCC/run.c: Ditto.
7200 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
7201 * gdb.hp/gdb.compat/xdb0.c: Ditto.
7202 * gdb.reverse/consecutive-reverse.c: Ditto.
7203 * gdb.reverse/sigall-reverse.c: Ditto.
7204 * gdb.reverse/until-reverse.c: Ditto.
7205 * gdb.reverse/watch-reverse.c: Ditto.
7206 * gdb.trace/actions.c: Ditto.
7207 * gdb.trace/circ.c: Ditto.
7208 * gdb.trace/collection.c: Ditto.
7209
72102011-12-13 Pedro Alves <pedro@codesourcery.com>
7211
7212 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
7213 (func6, func7): New.
7214 (main): Call func6 and func7.
7215 * gdb.base/watchpoint.exp (test_wide_location_1)
7216 (test_wide_location_2): New.
7217 (top level): Re-enable hardware watchpoints if necessary. Call
7218 test_wide_location_1 and test_wide_location_2.
7219
72202011-12-11 Yao Qi <yao@codesourcery.com>
7221
7222 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
7223
72242011-12-11 Joel Brobecker <brobecker@adacore.com>
7225
7226 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
7227 expected output for unsupported case.
7228
72292011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7230
7231 PR testsuite/12649
7232 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
7233 Protect gdb_test_multiple by final $gdb_prompt match.
7234
72352011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
7238 New variable, new test.
7239 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7240 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7241 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7242 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
7243 them if HAVE_GCC_45682_FIXED is not set.
7244
72452011-12-10 Yao Qi <yao@codesourcery.com>
7246
7247 * gdb.trace/status-stop.exp: New.
7248 * gdb.trace/status-stop.c: New.
7249
72502011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7251
7252 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
7253 timeout.
7254
72552011-12-08 Tom Tromey <tromey@redhat.com>
7256
7257 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
7258 condition.
7259
72602011-12-07 Stan Shebs <stan@codesourcery.com>
7261
7262 * gdb.trace/tfind.exp: Update for output changes.
7263
72642011-12-07 Pedro Alves <pedro@codesourcery.com>
7265
7266 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
7267 throws "Cannot insert catchpoints in this configuration".
7268 * gdb.ada/mi_catch_ex.exp: Likewise.
7269
72702011-12-06 Pedro Alves <pedro@codesourcery.com>
7271
7272 * gdb.base/break-always.exp: Test changing memory at addresses
7273 with breakpoints inserted.
7274
72752011-12-06 Joel Brobecker <brobecker@acacore.com>
7276
7277 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
7278 involving a fully qualified function name.
7279
72802011-12-06 Tom Tromey <tromey@redhat.com>
7281
7282 * gdb.ada/homonym.exp: Add three breakpoint tests.
7283
72842011-12-06 Tom Tromey <tromey@redhat.com>
7285
7286 * gdb.base/solib-weak.exp (do_test): Remove kfail.
7287 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
7288 * gdb.objc/objcdecode.exp: Update for output changes.
7289 * gdb.linespec/linespec.exp: New file.
7290 * gdb.linespec/lspec.cc: New file.
7291 * gdb.linespec/lspec.h: New file.
7292 * gdb.linespec/body.h: New file.
7293 * gdb.linespec/base/two/thefile.cc: New file.
7294 * gdb.linespec/base/one/thefile.cc: New file.
7295 * gdb.linespec/Makefile.in: New file.
7296 * gdb.cp/templates.exp (test_template_breakpoints): Update for
7297 output changes.
7298 * gdb.cp/re-set-overloaded.exp: Remove kfail.
7299 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
7300 makes one breakpoint.
7301 * gdb.cp/method2.exp (test_break): Update for output changes.
7302 * gdb.cp/mb-templates.exp: Update for output changes.
7303 * gdb.cp/mb-inline.exp: Update for output changes.
7304 * gdb.cp/mb-ctor.exp: Update for output changes.
7305 * gdb.cp/ovsrch.exp: Use fully-qualified names.
7306 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
7307 has multiple matches.
7308 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
7309 error message change.
7310 * gdb.base/list.exp (test_list_filename_and_number): Update for
7311 error message change.
7312 * gdb.base/break.exp: Disable pending breakpoints. Update for
7313 output changes.
7314 * configure.ac: Add gdb.linespec.
7315 * configure: Rebuild.
7316 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
7317
73182011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
7319
7320 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
7321 last_break register on s390*-*-* targets.
7322
73232011-12-06 Joel Brobecker <brobecker@adacore.com>
7324
7325 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
7326 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
7327 of parameter X in procedure Foo.
7328
73292011-12-05 Stan Shebs <stan@codesourcery.com>
7330
7331 * gdb.trace/tfind.exp: Update help string matches.
7332
73332011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7334
7335 * gdb.server/ext-run.exp (get process list): Accept also systemd
7336 as PID 1.
7337
73382011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7339 Pedro Alves <pedro@codesourcery.com>
7340
7341 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
7342 starting GDB.
7343 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
7344 $use_gdb_stub.
7345 * gdb.base/display.exp: Likewise.
7346 * gdb.base/ending-run.exp: Likewise.
7347 * gdb.base/list.exp (test_listsize): Likewise.
7348 * gdb.base/setshow.exp: Likewise.
7349 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7350 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7351 check by global $use_gdb_stub.
7352 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7353 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7354 (default_gdb_init): Unset global $use_gdb_stub.
7355 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7356 by global $use_gdb_stub.
7357 * lib/gdbserver-support.exp: Extend comments for set_board_info
7358 gdb_protocol and gdb,socketport.
7359 (gdbserver_start_extended): Set global gdbserver_protocol and
7360 gdbserver_gdbport. Clear global use_gdb_stub.
7361 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7362 from target use_gdb_stub.
7363 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7364
73652011-12-03 Doug Evans <dje@google.com>
7366
7367 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7368 (gdb_step_for_stub): Add comments.
7369
73702011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7371
7372 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7373 to the caller.
7374 (gdb_test_multiple): Likewise.
7375
73762011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7377
7378 Fix gdb.mi/mi-solib.exp without system debug info installed.
7379 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7380 expect attribute, return 0 for it. Update comments.
7381
73822011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7383
7384 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7385 (corrupted list): Adjust the expectation.
7386
73872011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7388
7389 PR threads/13448
7390 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7391 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7392 * gdb.threads/tls-var-main.c: New file.
7393 * gdb.threads/tls-var.c: New file.
7394 * gdb.threads/tls-var.exp: New file.
7395
73962011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7397
7398 PR testsuite/12649
7399 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7400 Protect gdb_test_multiple by final $gdb_prompt match.
7401 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7402 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7403 (test_tracepoints): Likewise.
7404
74052011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7406
7407 PR breakpoints/13346
7408 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7409 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7410 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7411
74122011-12-01 Joel Brobecker <brobecker@adacore.com>
7413
7414 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7415 * gdb.ada/homonym/homonym.adb: For use of all types defined
7416 locally inside both Get_Value subprograms.
7417
74182011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7419
7420 Fix racy FAILs.
7421 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7422 of send_gdb.
7423
74242011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7425
7426 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7427 environment variable after test completed.
7428
74292011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7430
7431 * gdb.base/solib-nodir.exp: Skip if remote target.
7432 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7433 application. Call gdb_load_shlibs.
7434 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7435
74362011-11-29 Joel Brobecker <brobecker@adacore.com>
7437
7438 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7439
74402011-11-28 Joel Brobecker <brobecker@adacore.com>
7441
7442 * gdb.ada/fullname_bp: New testcase.
7443
74442011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7445
7446 PR testsuite/12649
7447 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7448 Wrap send_gdb into a new gdb_test.
7449
7450 Code cleanup.
7451 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7452 Convert send_gdb and gdb_expect to gdb_test_multiple.
7453
74542011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7455
7456 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7457
74582011-11-23 Keith Seitz <keiths@redhat.com>
7459
7460 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7461 (mi_varobj_tree_test_children_callback): New proc.
7462 (mi_walk_varobj_tree): New proc.
7463
74642011-11-22 Tom Tromey <tromey@redhat.com>
7465
7466 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7467 Add "use_mi_command" argument.
7468 (mi_run_cmd, mi_run_with_cli): New procs.
7469 * gdb.mi/solib-lib.c: New file.
7470 * gdb.mi/solib-main.c: New file.
7471 * gdb.mi/mi-solib.exp: New file.
7472
74732011-11-21 Doug Evans <dje@google.com>
7474
7475 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7476 _Unwind_DebugHook is missing.
7477
74782011-11-20 Stan Shebs <stan@codesourcery.com>
7479
7480 * gdb.trace/tstatus.exp: New.
7481 * gdb.trace/actions.c: Include string.h.
7482
74832011-11-18 Yao Qi <yao@codesourcery.com>
7484
7485 * gdb.trace/pending.exp: New.
7486 * gdb.trace/pending.c: New.
7487 * gdb.trace/pendshr1.c: New.
7488 * gdb.trace/pendshr2.c: New.
7489 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7490 tracepoint location becomes pending.
7491 (tracepoint_change_loc_2): New.
7492
74932011-11-16 David S. Miller <davem@davemloft.net>
7494
7495 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7496 target is sparc*-*-linux*
7497
74982011-11-15 Paul Koning <paul_koning@dell.com>
7499
7500 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7501 types.
7502
75032011-11-14 Doug Evans <dje@google.com>
7504
7505 * gdb.base/shell.exp: New file.
7506
75072011-11-14 Stan Shebs <stan@codesourcery.com>
7508
7509 * gdb.trace/ftrace.c: New.
7510 * gdb.trace/ftrace.exp: New.
7511
75122011-11-14 Yao Qi <yao@codesourcery.com>
7513
7514 * gdb.trace/change-loc-1.c: New.
7515 * gdb.trace/change-loc-2.c: New.
7516 * gdb.trace/change-loc.c: New.
7517 * gdb.trace/change-loc.exp: New.
7518 * gdb.trace/change-loc.h: New.
7519 * gdb.trace/trace-break.c (marker): Define new symbol.
7520 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
7521 New.
7522 (break_trace_same_addr_6): New.
7523
75242011-11-12 Matt Rice <ratmice@gmail.com>
7525
7526 * gdb.base/info-macros.exp: Make tests for info definitions
7527 test info macro. Add tests for info macro argument processing.
7528 Rename a few tests.
7529
75302011-11-11 Keith Seitz <keiths@redhat.com>
7531
7532 PR gdb/12843
7533 * gdb.base/linespecs.exp: New file.
7534
75352011-11-11 Doug Evans <dje@google.com>
7536
7537 * gdb.threads/print-threads.exp: Extend timeout for slower
7538 tests.
7539
75402011-11-10 Doug Evans <dje@google.com>
7541
7542 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7543 "record to end of main" test.
7544
7545 * gdb.python/py-type.c (TS): New typedef.
7546 (ts): New global.
7547 * gdb.python/py-type.exp: Test field list of typedef.
7548
75492011-11-10 Joel Brobecker <brobecker@adacore.com>
7550
7551 * gdb.ada/small_reg_param: New testcase.
7552
75532011-11-09 Tom Tromey <tromey@redhat.com>
7554
7555 * gdb.cp/destrprint.exp: New file.
7556 * gdb.cp/destrprint.cc: New file.
7557
75582011-11-08 Meador Inge <meadori@codesourcery.com>
7559
7560 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7561 (switch_stack_to_other): New test function.
7562 * gdb.arch/thumb-prologue.exp: New test cases.
7563
75642011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7565
7566 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7567
75682011-11-08 Yao Qi <yao@codesourcery.com>
7569
7570 * gdb.exp (supports_process_record): New.
7571 (supports_reverse): New.
7572 * gdb.reverse/break-precsave.exp: Call support_process_record
7573 to run test conditionally.
7574 * gdb.reverse/consecutive-precsave.exp: Likewise.
7575 * gdb.reverse/i386-precsave.exp: Likewise.
7576 * gdb.reverse/machinestate-precsave.exp: Likewise.
7577 * gdb.reverse/solib-precsave.exp: Likewise.
7578 * gdb.reverse/step-precsave.exp: Likewise.
7579 * gdb.reverse/until-precsave.exp: Likewise.
7580 * gdb.reverse/watch-precsave.exp: Likewise.
7581 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7582 test conditionally.
7583 * gdb.reverse/consecutive-reverse.exp: Likewise.
7584 * gdb.reverse/finish-precsave.exp: Likewise.
7585 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7586 * gdb.reverse/finish-reverse.exp: Likewise.
7587 * gdb.reverse/i386-reverse.exp: Likewise.
7588 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7589 * gdb.reverse/machinestate.exp: Likewise.
7590 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7591 * gdb.reverse/sigall-precsave.exp: Likewise.
7592 * gdb.reverse/sigall-reverse.exp: Likewise.
7593 * gdb.reverse/solib-reverse.exp: Likewise.
7594 * gdb.reverse/step-reverse.exp: Likewise.
7595 * gdb.reverse/until-reverse.exp: Likewise.
7596 * gdb.reverse/watch-reverse.exp: Likewise.
7597
75982011-11-05 Yao Qi <yao@codesourcery.com>
7599
7600 * gdb.trace/trace-break.exp: Add test on setting two
7601 fast tracepoints at the same address.
7602
76032011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7604
7605 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7606
76072011-11-02 Stan Shebs <stan@codesourcery.com>
7608
7609 * gdb.trace/collection.c: Add code using strings.
7610 * gdb.trace/collection.exp: Add tests of string collection.
7611
76122011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7613
7614 * gdb.base/skip-solib.exp (executable_main): New variable.
7615 (binfile_main): Base it on that.
7616 Use $executable_main in clean_restart calls. Drop gdb_exit and
7617 gdb_start calls.
7618
76192011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7620
7621 Fix racy FAILs.
7622 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7623 breakpoint_re globals import by async. Set string_regex to .* for
7624 async. Remove the optional thread_selected_re and breakpoint_re
7625 globals expectations.
7626
76272011-11-01 Joseph Myers <joseph@codesourcery.com>
7628
7629 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7630 well as Cygwin.
7631
76322011-11-01 Justin Lebar <justin.lebar@gmail.com>
7633
7634 Add tests for skip command.
7635 * gdb.base/skip-solib-lib.c: New
7636 * gdb.base/skip-solib-main.c: New
7637 * gdb.base/skip-solib.exp: New
7638 * gdb.base/skip.c: New
7639 * gdb.base/skip.exp: New
7640 * gdb.base/skip1.c: New
7641 * gdb.base/Makefile.in: Adding new files.
7642
76432011-10-31 Yao Qi <yao@codesourcery.com>
7644 Pedro Alves <pedro@codesourcery.com>
7645
7646 * gdb.trace/trace-break.c: New.
7647 * gdb.trace/trace-break.exp: New.
7648
76492011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7650
7651 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7652 break-here-2.
7653
76542011-10-28 Pedro Alves <pedro@codesourcery.com>
7655
7656 * gdb.threads/no-unwaited-for-left.c: New.
7657 * gdb.threads/no-unwaited-for-left.exp: New.
7658 * gdb.threads/non-ldr-exc-1.c: New.
7659 * gdb.threads/non-ldr-exc-1.exp: New.
7660 * gdb.threads/non-ldr-exc-2.c: New.
7661 * gdb.threads/non-ldr-exc-2.exp: New.
7662 * gdb.threads/non-ldr-exc-3.c: New.
7663 * gdb.threads/non-ldr-exc-3.exp: New.
7664 * gdb.threads/non-ldr-exc-4.c: New.
7665 * gdb.threads/non-ldr-exc-4.exp: New.
7666
76672011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7668
7669 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7670 * gdb.base/attach-pie-misread.exp: Likewise.
7671 * gdb.base/break-interp.exp: Likewise.
7672 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7673 testcases for use_gdb_stub.
7674 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7675 (continue): New testcase.
7676 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7677 * gdb.threads/attach-into-signal.exp: Likewise.
7678 * gdb.threads/attach-stopped.exp: Likewise.
7679 * gdb.threads/attachstop-mt.exp: Likewise.
7680
76812011-10-28 Paul Koning <paul_koning@dell.com>
7682
7683 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7684
76852011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7686
7687 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7688 (mi_gdb_test): Import globals thread_selected_re
7689 and breakpoint_re. Expect them optionally at the regex start.
7690
76912011-10-27 Doug Evans <dje@google.com>
7692
7693 * gdb.python/python.exp: Test source -s.
7694
76952011-10-26 Paul Koning <paul_koning@dell.com>
7696
7697 * gdb.python/lib-types.cc (struct A): New structure.
7698 * gdb.python/lib-types.exp (deepitems): New tests.
7699
77002011-10-25 Paul Koning <paul_koning@dell.com>
7701
7702 PR python/13327
7703
7704 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7705 fetch_lazy method.
7706
77072011-10-24 Yao Qi <yao@codesourcery.com>
7708
7709 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7710 target is tic6x-*-*.
7711
77122011-10-21 Joel Brobecker <brobecker@adacore.com>
7713
7714 * gdb.ada/mi_task_info/task_switch.adb: New file.
7715 * gdb.ada/mi_task_info.exp: New file.
7716
77172011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7718
7719 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7720 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7721
77222011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7723
7724 PR python/12656
7725
7726 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7727 global_block tests.
7728
77292011-10-18 Tom Tromey <tromey@redhat.com>
7730
7731 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7732
77332011-10-18 Tom Tromey <tromey@redhat.com>
7734
7735 * gdb.base/source.exp: Don't include full file name in test name.
7736 * gdb.python/python.exp: Don't include full file name in test
7737 name.
7738
77392011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7740
7741 * gdb.base/attach-pie-noexec.c: New files.
7742 * gdb.base/attach-pie-noexec.exp: New files.
7743
77442011-10-17 Joseph Myers <joseph@codesourcery.com>
7745
7746 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7747 prompt for each extra line in command.
7748
77492011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7750
7751 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7752 Revert the part of:
7753 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7754 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7755 Change the expected string.
7756
77572011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7758
7759 Fix results with system glibc debug info installed.
7760 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7761 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7762 Accept also __libc_ symbol prefix and no prefix.
7763
77642011-10-14 Keith Seitz <keiths@redhat.com>
7765
7766 PR c++/13225
7767 * gdb.cp/converts.cc (foo3_1): New function.
7768 (foo3_2): New functions.
7769 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7770 and null pointer conversions of integer constant zero.
7771 Add test to check if all arguments are checked for incompatible
7772 conversion BADNESS.
7773
77742011-10-14 Tom Tromey <tromey@redhat.com>
7775
7776 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7777 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7778 linespec.
7779
77802011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7781
7782 Fix internal error regression.
7783 * gdb.dwarf2/implptr-optimized-out.S: New file.
7784 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7785
77862011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7787
7788 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7789 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7790 (loclist): New.
7791 (4): New abbrev.
7792 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7793 Use prepare_for_testing, remove clean_restart.
7794 (p arraynoloc, p arraycallnoloc): New tests.
7795
77962011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7797
7798 * gdb.cp/namespace-enum.exp (executable): New variable.
7799 (binfile): Use ${objdir}/${subdir}/ prefix.
7800 Use ${executable} for clean_restart.
7801
78022011-10-11 Sterling Augustine <saugustine@google.com>
7803
7804 * gdb.cp/Makefile.in: Add namespace-enum test.
7805 * gdb.cp/namespace-enum.exp: New file.
7806 * gdb.cp/namespace-enum.c: New file.
7807 * gdb.cp/namespace-enum-main.c: New file.
7808
78092011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7810
7811 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7812 sysroot.
7813
78142011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7815
7816 Reimplement @entry in input expressions.
7817 * gdb.base/exprs.c (v_int_array_init): New variable.
7818 * gdb.base/exprs.exp (print v_int_array_init)
7819 (print *v_int_array_init@1, print *v_int_array_init@2)
7820 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7821 (print v_int_array_init[1]@1): New tests.
7822
78232011-10-10 Joseph Myers <joseph@codesourcery.com>
7824
7825 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7826 expected message.
7827
78282011-10-09 Doug Evans <dje@google.com>
7829
7830 * gdb.base/alias.exp: Add tests for alias command.
7831
78322011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7833
7834 * gdb.arch/amd64-entry-value.s: New file.
7835 * gdb.mi/mi2-amd64-entry-value.s: New file.
7836
78372011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7838
7839 Display @entry parameter values even for references.
7840 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7841 functions.
7842 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7843 reference and datap_input.
7844 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7845 breakpoints.
7846 (continue to breakpoint: entry_reference: reference)
7847 (entry_reference: bt at entry)
7848 (continue to breakpoint: entry_reference: breakhere_reference)
7849 (entry_reference: bt, entry_reference: ptype regparam)
7850 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7851 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7852 (entry_reference: p regcopy, entry_reference: p nodataparam)
7853 (entry_reference: p nodataparam@entry): New tests.
7854
78552011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7856
7857 Support @entry in input expressions.
7858 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7859 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7860 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7861 (tailcall: p j@entry): New tests.
7862 * gdb.cp/koenig.cc (A::entry): New function.
7863 (main): Call it.
7864 * gdb.cp/koenig.exp (p entry (c)): New test.
7865
78662011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7867
7868 Display @entry parameter values (without references).
7869 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7870 (different, validity, invalid): New functions.
7871 (main): Call them.
7872 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7873 stacktest, breakhere_stacktest, different, breakhere_different,
7874 breakhere_validity and breakhere_invalid.
7875 (entry: bt): Update for @entry.
7876 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7877 (entry_validity: *, entry_invalid: *): Many new tests.
7878 * gdb.base/break.exp
7879 (run until breakpoint set at small function, optimized file): Accept
7880 also the @entry suffix.
7881 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7882 * gdb.mi/mi2-amd64-entry-value.c: New files.
7883 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7884
78852011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7886
7887 Protect entry values against self tail calls.
7888 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7889 (main): Call self.
7890 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7891 (set debug entry-values 1, self: bt debug entry-values): New tests.
7892
78932011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7894
7895 Recognize virtual tail call frames.
7896 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7897 (amb_b, amb_a): New.
7898 (main): Call a and b.
7899 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7900 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7901 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7902 New tests.
7903
79042011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7905
7906 Implement basic support for DW_TAG_GNU_call_site.
7907 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7908 * gdb.arch/amd64-entry-value.cc: New file.
7909 * gdb.arch/amd64-entry-value.exp: New file.
7910
79112011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7912
7913 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7914 * gdb.dwarf2/implptr-64bit.S: New file.
7915 * gdb.dwarf2/implptr-64bit.exp: New file.
7916
79172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7918
7919 Fix initial language detection with -readnow.
7920 * gdb.cp/readnow-language.cc: New file.
7921 * gdb.cp/readnow-language.exp: New file.
7922
79232011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7924
7925 Fix printed anonymous struct name.
7926 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7927
79282011-10-09 Joseph Myers <joseph@codesourcery.com>
7929
7930 * gdb.base/solib-symbol.exp: Do not include directories in
7931 filenames in expected messages.
7932
79332011-10-07 Doug Evans <dje@google.com>
7934
7935 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7936
79372011-10-07 Kevin Pouget <kevin.pouget@st.com>
7938
7939 Allow Python notification of new object-file loadings.
7940 * gdb.python/py-events.exp: Test newobjfile event.
7941 * gdb.python/py-events.py: Register newobjfile callback.
7942 * gdb.python/py-events.c: Add call to shared library
7943 * gdb.python/py-events-shlib.c: New file.
7944
79452011-10-06 Joseph Myers <joseph@codesourcery.com>
7946
7947 * gdb.base/fixsection.exp: Do not include directories in filename
7948 in expected message.
7949
79502011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7951
7952 Add tests for passing of environment variables to inferior.
7953 * gdb.base/testenv.c: New test source.
7954 * gdb.base/testenv.exp: New expect test.
7955
79562011-10-04 Paul Koning <paul_koning@dell.com>
7957
7958 * gdb.python/py-value.c (main): Break before return.
7959
79602011-10-04 Kevin Pouget <kevin.pouget@st.com>
7961
7962 PR python/12691: Add the inferior to Python exited event
7963 * gdb.python/py-events.exp: Test the inferior attribute of exited
7964 event with a fork.
7965 * gdb.python/py-events.py: Print inferior number on exit.
7966 * gdb.python/py-events.c: Fork the inferior.
7967
79682011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7969
7970 * gdb.base/jit.exp: Add testcase name to log message
7971
79722011-10-03 Paul Koning <paul_koning@dell.com>
7973 Jan Kratochvil <jan.kratochvil@redhat.com>
7974
7975 * gdb.python/py-value.exp
7976 (python inval = gdb.parse_and_eval('*(int*)0'))
7977 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7978 (set argc=2, python print argc_lazy): New tests.
7979
79802011-10-02 Joel Brobecker <brobecker@adacore.com>
7981
7982 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7983
79842011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7985 Pedro Alves <pedro@codesourcery.com>
7986
7987 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7988 can_read_0, test for it.
7989 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7990 (parse_and_eval with memory error): ... here, make it untested if
7991 can_read_0.
7992
79932011-09-30 Marek Polacek <mpolacek@redhat.com>
7994
7995 * gdb.python/python.exp (verify pagination beforehand)
7996 (verify pagination afterwards): Fix race by splitting the line.
7997
79982011-09-29 Joseph Myers <joseph@codesourcery.com>
7999
8000 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
8001 for 64-bit multilibs from i?86-* targets.
8002
80032011-09-29 Marek Polacek <mpolacek@redhat.com>
8004
8005 * lib/gdb.exp: Fix a typo in one of the comments.
8006
80072011-09-29 Marek Polacek <mpolacek@redhat.com>
8008
8009 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
8010 matching pattern.
8011
80122011-09-28 Paul Koning <paul_koning@dell.com>
8013
8014 * gdb.python/py-type.c (enum E): New.
8015 * gdb.python/py-type.exp (test_fields): Add tests for Python
8016 mapping access to fields.
8017 (test_enums): New test for field access on enums.
8018
80192011-09-27 Stan Shebs <stan@codesourcery.com>
8020
8021 * gdb.trace/collection.exp: Test collection of $_ret.
8022
80232011-09-22 Andreas Tobler <andreast@fgznet.ch>
8024
8025 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
8026 list of compilation switches for <*-*-freebsd*>.
8027
80282011-09-19 Stan Shebs <stan@codesourcery.com>
8029
8030 * gdb.trace/tspeed.exp: New file.
8031 * gdb.trace/tspeed.c: New file.
8032
80332011-09-18 Yao Qi <yao@codesourcery.com>
8034
8035 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
8036 instructions.
8037 (test_adr_32bit, test_pop_pc): Likewise.
8038 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
8039 Thumb instructions.
8040 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
8041 in gdb_test_multiple.
8042 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
8043
80442011-09-17 Yao Qi <yao@codesourcery.com>
8045
8046 * lib/gdb.exp (can_single_step_to_signal_handler): New.
8047 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
8048 support single step to signal handler.
8049
80502011-09-17 Yao Qi <yao@codesourcery.com>
8051
8052 * gdb.base/disp-step-fork.c: New.
8053 * gdb.base/disp-step-syscall.exp: New.
8054 * gdb.base/disp-step-vfork.c: New.
8055
80562011-09-16 Joel Brobecker <brobecker@adacore.com>
8057
8058 * gdb.ada/tasks.exp: Make the expected output for
8059 the `info tasks' tests more resilient to spacing
8060 changes.
8061
80622011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8063
8064 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
8065 (reached breakpoint 2, reached breakpoint 3): Update expected output.
8066
80672011-09-15 Kevin Pouget <kevin.pouget@st.com>
8068
8069 PR Python/12692 Add gdb.selected_inferior() to Python interface.
8070 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
8071
80722011-04-30 Kevin Pouget <kevin.pouget@st.com>
8073
8074 Handle multiple breakpoint hits in Python interface:
8075 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
8076 presence.
8077 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
8078 breakpoint hits.
8079
80802011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8081 Jan Kratochvil <jan.kratochvil@redhat.com>
8082
8083 * gdb.python/py-events.exp: Remove pretty printing comment.
8084 * gdb.python/py-evsignal.exp: New file.
8085 * gdb.python/py-evthreads.c: Include signal.h.
8086 (thread3): Remove variable count3. Remove variable bad and use raise
8087 instead.
8088 (thread2): Remove variable count2. Move thread3 pthread_create here,
8089 merge pthread_join to a single line.
8090 (main): Remove variable count1. Merge pthread_join with pthread_create
8091 to a single line.
8092 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
8093 KFAIL python/12966 for gdbserver. Test return value of
8094 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
8095 gdb_expect by gdb_test and gdb_test_multiple.
8096 (thread 2, thread 3): New tests.
8097
80982011-09-12 Matt Rice <ratmice@gmail.com>
8099 Pedro Alves <pedro@codesourcery.com>
8100
8101 PR gdb/13175
8102
8103 * gdb.base/interp.exp: New tests.
8104 * gdb.base/interp.c: New file.
8105
81062011-09-12 Doug Evans <dje@google.com>
8107
8108 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
8109 * gdb.dwarf2/typeddwarf.exp: Ditto.
8110
81112011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8112
8113 Fix compatibility with x32 arch.
8114 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
8115 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
8116 is_x86_like_target.
8117 * testsuite/gdb.trace/collection.exp: Likewise.
8118 * testsuite/gdb.trace/report.exp: Likewise.
8119 * testsuite/gdb.trace/unavailable.exp: Likewise.
8120 * testsuite/gdb.trace/while-dyn.exp: Likewise.
8121 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
8122 (is_x86_like_target): Check also is_amd64_regs_target.
8123
81242011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8125
8126 PR breakpoints/12435
8127 * gdb.arch/amd64-prologue-xmm.c: New file.
8128 * gdb.arch/amd64-prologue-xmm.exp: New file.
8129 * gdb.arch/amd64-prologue-xmm.s: New file.
8130
81312011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8132
8133 * gdb.dwarf2/dw2-param-error-main.c: New file.
8134 * gdb.dwarf2/dw2-param-error.S: New file.
8135 * gdb.dwarf2/dw2-param-error.exp: New file.
8136
81372011-09-08 Pedro Alves <pedro@codesourcery.com>
8138
8139 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
8140 inferior's pid and look for a core dump named core.$pid. Use
8141 `remote_file' commands on the host instead of hand coding shell
8142 commands on the build.
8143 * gdb.base/valgrind-db-attach.exp: Kill the program before
8144 finishing the test.
8145
81462011-09-02 Matt Rice <ratmice@gmail.com>
8147
8148 * lib/prompt.exp: New file for testing the first prompt.
8149 * gdb.python/py-prompt.exp: Ditto.
8150 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
8151
81522011-09-02 Pedro Alves <pedro@codesourcery.com>
8153
8154 * gdb.threads/gcore-thread.exp: Set the global core_supported to
8155 0, before testing gcore.
8156
81572011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8158
8159 * dw2-ifort-parameter-debug.S: Update copyright year.
8160 * dw2-ifort-parameter.c: Update copyright year.
8161 * dw2-ifort-parameter.exp: Update copyright year.
8162
8163 * dw2-ifort-parameter-debug.S: New file.
8164 * dw2-ifort-parameter.c: New file.
8165 * dw2-ifort-parameter.exp: New file.
8166
81672011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8168
8169 * gdb.base/commands.exp (error_clears_commands_left): New function.
8170 (): Call it.
8171
81722011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8173
8174 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
8175 (C): Initialize `a'.
8176 * gdb.mi/mi-inheritance-syntax-error.exp
8177 (-data-evaluate-expression $path): Expect `a' as 5.
8178
81792011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
8180
8181 PR mi/11912
8182 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
8183 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
8184 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
8185 keyword in output of -var-info-path-expression.
8186
81872011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8188
8189 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
8190 * gdb.trace/collection.exp: Likewise.
8191 * gdb.trace/report.exp: Likewise.
8192 * gdb.trace/unavailable.exp: Likewise.
8193 * gdb.trace/while-dyn.exp: Likewise.
8194
81952011-08-18 Keith Seitz <keiths@redhat.com>
8196
8197 PR c++/12266
8198 * gdb.cp/meth-typedefs.cc: New file.
8199 * gdb.cp/meth-typedefs.exp: New file.
8200
82012011-08-17 Phil Muldoon <pmuldoon@redhat.com>
8202
8203 * gdb.python/python.exp: Add extended-prompt tests.
8204
82052011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8206
8207 * gdb.arch/i386-dr3-watch.exp
8208 (watchpoint on gap1 does not fit debug registers)
8209 (delete all watchpoints): Fix racy expect strings.
8210
82112011-08-14 Yao Qi <yao@codesourcery.com>
8212
8213 * gdb.base/maint.exp: set data_section to ".neardata".
8214 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
8215 * gdb.base/savedregs.exp: Handle SIGILL.
8216 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
8217 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8218
82192011-08-12 Doug Evans <dje@google.com>
8220
8221 * gdb.python/py-symbol.exp: Add test for symbol.type.
8222
82232011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
8224
8225 * gdb.threads/pthreads.exp: Enable on non-native configurations.
8226 * gdb.mi/mi-pthreads.exp: Likewise.
8227 * gdb.mi/mi2-pthreads.exp: Likewise.
8228 * gdb.mi/gdb669.exp.exp: Likewise.
8229
82302011-08-09 Pedro Alves <pedro@codesourcery.com>
8231
8232 * lib/mi-support.exp (detect_async): Rename to...
8233 (mi_detect_async): ... this.
8234 * gdb.mi/mi-nonstop-exit.exp: Adjust.
8235 * gdb.mi/mi-nonstop.exp: Adjust.
8236 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
8237 * gdb.mi/mi-nsintrall.exp: Adjust.
8238 * gdb.mi/mi-nsmoribund.exp: Adjust.
8239 * gdb.mi/mi-nsthrexec.exp: Adjust.
8240
82412011-08-09 Pedro Alves <pedro@codesourcery.com>
8242
8243 * gdb.base/display.c (do_loops): New `p_i' local.
8244 * gdb.base/display.exp: Test displaying a variable that is
8245 temporarily at a bad address.
8246
82472011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8248
8249 * gdb.dwarf2/dw2-op-stack-value.S: New file.
8250 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
8251
82522011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8253
8254 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
8255 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
8256 (p fuNC_symtab): Permit also ppc64 leading dot.
8257
82582011-08-05 Pedro Alves <pedro@codesourcery.com>
8259
8260 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
8261 procedure.
8262 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
8263
82642011-08-05 Yao Qi <yao@codesourcery.com>
8265
8266 * gdb.base/callfuncs.exp: Set language after main.
8267 * gdb.cp/cplusfuncs.exp: Likewise.
8268 * gdb.cp/inherit.exp: Likewise.
8269
82702011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8271
8272 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
8273 * gdb.base/watch-vfork.exp: Skip on remote targets.
8274
82752011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8276
8277 * gdb.threads/thread-find.exp: Support remote targets.
8278
82792011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8280
8281 * gdb.base/jit.exp: Download solib_binfile to target.
8282 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
8283 and call dlopen without full path name.
8284 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
8285 dlopen without full path name.
8286
82872011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8288
8289 * gdb.base/break-always.exp: Complete the test
8290 with duplicated breakpoints and enabling/disabling them.
8291
82922011-08-02 Tom Tromey <tromey@redhat.com>
8293
8294 PR gdb/11289:
8295 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
8296
82972011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8298
8299 PR gdb/13045
8300 * gdb.base/float.exp: Add new test case for PR gdb/13045
8301 * gdb.base/float.c: New file.
8302
83032011-07-28 Phil Muldoon <pmuldoon@redhat.com>
8304
8305 * gdb.python/py-mi.exp: Test printers returning string hint, and
8306 also not returning a value.
8307 * gdb.python/py-prettyprint.c: Add testcase for above.
8308 * gdb.python/py-prettyprint.py: Add test printer for above.
8309
83102011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8311
8312 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
8313 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
8314 (.Ldie30) Add as field "data4".
8315 (.Ldie32) Rename field "b" to "shl".
8316 (abbrev4) Change for the "data4" field.
8317 (abbrev5, abbrev6) Remove.
8318 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
8319 (p &s.shl): ... here. Add comment.
8320 (p &s.data4): New.
8321
83222011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8323
8324 Fix crash on lval_computed values.
8325 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
8326
83272011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8328
8329 * gdb.base/help.exp (help whatis): Update the expected string.
8330
83312011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8332
8333 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
8334 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
8335 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8336 Change the expected string.
8337
83382011-07-26 Pedro Alves <pedro@codesourcery.com>
8339
8340 * gdb.base/watchpoint.exp
8341 (test_disable_enable_software_watchpoint): New procedure.
8342 (top level): Run it.
8343
83442011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8345
8346 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8347 executable file "${binfile}", C++ version "${binfile}-cxx".
8348 * gdb.python/py-prettyprint.exp: Likewise.
8349 * gdb.python/py-symbol.exp: Likewise.
8350 * gdb.python/py-type.exp: Likewise.
8351 * gdb.python/py-value.exp: Likewise.
8352 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8353 file name instead of just suffix.
8354
83552011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8356
8357 Fix implicit pointer offsets.
8358 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8359 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8360 (continue to breakpoint: continue to baz breakpoint for implptr)
8361 (sanity check element 0, sanity check element 1)
8362 (enter the inlined function, check element 0 for the offset)
8363 (check element 1 for the offset)
8364 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8365 (set foo breakpoint for implptr): Update the breakpoint number.
8366
83672011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8368
8369 * gdb.python/py-mi.exp: Use different file names for different
8370 versions of the executable under test.
8371 * gdb.python/py-prettyprint.exp: Likewise.
8372 * gdb.python/py-symbol.exp: Likewise.
8373 * gdb.python/py-template.exp: Likewise.
8374 * gdb.python/py-type.exp: Likewise.
8375 * gdb.python/py-value.exp: Likewise.
8376
83772011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8378
8379 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8380 flag after restarting GDB if necessary.
8381
83822011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8383
8384 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8385
83862011-07-22 Pedro Alves <pedro@codesourcery.com>
8387
8388 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8389 backend doesn't leave used debug registers behind.
8390
83912011-07-22 Tom Tromey <tromey@redhat.com>
8392
8393 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8394 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8395 argument.
8396 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8397
83982011-07-21 Matt Rice <ratmice@gmail.com>
8399
8400 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8401 in mostlyclean rule. Add files ending in .core.
8402
84032011-07-21 Matt Rice <ratmice@gmail.com>
8404
8405 PR macros/12999
8406 * gdb.base/info-macros.c: New test sources.
8407 * gdb.base/info-macros.exp: New tests.
8408
84092011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8410
8411 * gdb.python/python.exp: Add prompt substitution tests.
8412
84132011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8414
8415 Fix crash if referenced CU is aged out.
8416 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8417 New.
8418 * gdb.dwarf2/implptr.exp: Likewise.
8419
84202011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8421
8422 * gdb.dwarf2/implptr.S: Rebuilt.
8423 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8424 (bar): Use them for j, k, l.
8425 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8426 COMPILE.
8427 (print j in implptr:bar): Update for the intp typedef.
8428 (print p[0].x in implptr:foo): Use more exact regex.
8429
84302011-07-18 Tom Tromey <tromey@redhat.com>
8431
8432 * gdb.cp/static-method.exp: Add missing single quote.
8433
84342011-07-18 Yao Qi <yao@codesourcery.com>
8435
8436 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8437 supported.
8438 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8439 * gdb.mi/mi-nonstop.exp: Likewise.
8440 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8441 * gdb.mi/mi-nsintrall.exp: Likewise.
8442 * gdb.mi/mi-nsmoribund.exp: Likewise.
8443 * gdb.mi/mi-nsthrexec.exp: Likewise.
8444 * gdb.python/py-evthreads.exp: Likewise.
8445
84462011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8447
8448 Code cleanup.
8449 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8450 it. Substitute it instead of test_compiler_info everywhere.
8451
84522011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8453
8454 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8455 remote targets as well.
8456
84572011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8458
8459 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8460 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8461
84622011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8463
8464 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8465 a remote machine, not the host.
8466 (gdb_compile_shlib): Set soname if target is remote.
8467
84682011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8469
8470 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8471
84722011-07-13 Matt Rice <ratmice@gmail.com>
8473
8474 * gdb.python/py-objfile-script-gdb.py: Renamed to
8475 py-objfile-script-gdb.py.in.
8476 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8477 py-objfile-script-gdb.py.
8478 * gdb.python/py-objfile-script.exp: Update reference to
8479 py-objfile-script-gdb.py.
8480
84812011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8482
8483 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8484 reference undefined label.
8485
84862011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8487
8488 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8489 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8490 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8491 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8492
84932011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8494
8495 PR python/12438
8496 * gdb.python/python.exp: Add maint set/show python print-stack
8497 deprecated tests. Add set/show python print-backtrace tests.
8498
84992011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8500
8501 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8502 debug info.
8503
85042011-07-06 Matt Rice <ratmice@gmail.com>
8505
8506 * gdb.python/python.exp: Update filename paths.
8507 * gdb.python/py-symtab.exp: Ditto.
8508
85092011-07-06 Marek Polacek <mpolacek@redhat.com>
8510
8511 * gdb.python/py-evthreads.exp: Add missing `$'.
8512
85132011-07-06 Jie Zhang <jie.zhang@analog.com>
8514
8515 * config/bfin.exp: New file.
8516 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8517 * gdb.asm/bfin.inc: New file.
8518
85192011-07-06 Marek Polacek <mpolacek@redhat.com>
8520
8521 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8522 the whole output.
8523
85242011-07-05 Tom Tromey <tromey@redhat.com>
8525
8526 * gdb.java/jprint.java (jprint.hi): New field.
8527 * gdb.java/jprint.exp: Print string.
8528
85292011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8530
8531 * gdb.base/call-sc.c: Fix typos.
8532 * gdb.base/ifelse.exp: Likewise.
8533 * gdb.base/structs.c: Likewise.
8534
85352011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8536
8537 * gdb.base/jit-so.exp: New test.
8538 * gdb.base/jit-dlmain.c: New file.
8539 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8540
85412011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8542
8543 * gdb.cp/m-static.exp: Call get_compiler_info.
8544 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8545 * gdb.cp/pr9167.exp (p b): Likewise.
8546 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8547 (test value of P in inner_m, test type of Z in inner_m): Call
8548 setup_xfail for gcc <= 4.5.
8549
85502011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8551
8552 * gdb.cp/paren-type.cc: New files.
8553 * gdb.cp/paren-type.exp: New files.
8554
85552011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8556
8557 Stop on first linespec terminator instead of eating what we can.
8558 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8559 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8560 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8561 (break C::f()): ... this one.
8562 (break C::operator()()): New test.
8563 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8564 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8565 test.
8566
85672011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8568
8569 Fall back linespec to minimal symbols.
8570 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8571 error message.
8572 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8573 * gdb.cp/minsym-fallback-main.cc: New file.
8574 * gdb.cp/minsym-fallback.cc: New file.
8575 * gdb.cp/minsym-fallback.exp: New file.
8576 * gdb.cp/minsym-fallback.h: New file.
8577
85782011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8579
8580 * gdb.cp/no-dmgl-verbose.cc: New file.
8581 * gdb.cp/no-dmgl-verbose.exp: New file.
8582
85832011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8584
8585 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8586 __GI_.
8587 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8588 (f): New function.
8589 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8590 (complete p 'func<short>(): ... here.
8591 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8592 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8593 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8594 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8595 Make them KFAIL gcc/49546.
8596
85972011-07-01 Joel Brobecker <brobecker@adacore.com>
8598
8599 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8600
86012011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8602
8603 Test GCC PR debug/49546.
8604 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8605 (test type of F in k3_m, test value of F in k3_m): New.
8606 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8607 (main): New variable k3. Call k3.k3_m.
8608
86092011-07-01 Jean-Charles Delay <delay@adacore.com>
8610
8611 * gdb.ada/packed_array.exp: Fix expected outout.
8612
86132011-07-01 Jean-Charles Delay <delay@adacore.com>
8614
8615 * gdb.ada/packed_array.exp: fixed expected output.
8616
86172011-07-01 Joel Brobecker <brobecker@adacore.com>
8618
8619 * gdb.ada/same_enum: New testcase.
8620
86212011-07-01 Joel Brobecker <brobecker@adacore.com>
8622
8623 * gdb.ada/ptr_typedef: New testcase.
8624
86252011-07-01 Joel Brobecker <brobecker@adacore.com>
8626
8627 * gdb.ada/arrayptr.exp: Add ptype test.
8628
86292011-07-01 Joel Brobecker <brobecker@adacore.com>
8630
8631 * gdb.ada/char_enum: New testcase.
8632
86332011-07-01 Yao Qi <yao@codesourcery.com>
8634
8635 * gdb.base/dump.exp (capture_pointer_with_type): New.
8636 Get value from address instead of name.
8637 Start GDB once, and do `dump' and `restore'
8638 tests together.
8639
86402011-06-30 Jie Zhang <jie.zhang@analog.com>
8641 Mike Frysinger <vapier@gentoo.org>
8642
8643 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8644 helper functions for getting/setting remotetimeout variable.
8645 * lib/gdb.exp (gdb_load): If the target is remote, set
8646 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8647 with $loadtimeout. Set $load_ok to 0 before doing the load.
8648 Instead of returning, immediately, set $load_ok to 0. Call
8649 set_remotetimeout with $oldremotetimeout, and then return if
8650 $load_ok is 1.
8651
86522011-06-30 Andrew Burgess <aburgess@broadcom.com>
8653
8654 * gdb.python/py-template.exp: Don't run this test if the target
8655 does not support c++ tests.
8656
86572011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8658
8659 Fix non-only rename list for Fortran modules import.
8660 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8661 tests.
8662 * gdb.fortran/module.f90 (module moduse): New.
8663 (program module): use moduse, test var_x, var_y and var_z.
8664
86652011-06-29 Tom Tromey <tromey@redhat.com>
8666
8667 PR testsuite/12040:
8668 * gdb.fortran/array-element.exp: Use f90, not f77.
8669 * gdb.fortran/complex.exp: Use f90, not f77.
8670 * gdb.fortran/derived-type.exp: Use f90, not f77.
8671 * gdb.fortran/library-module.exp: Use f90, not f77.
8672 * gdb.fortran/logical.exp: Use f90, not f77.
8673 * gdb.fortran/module.exp: Use f90, not f77.
8674 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8675 * gdb.fortran/subarray.exp: Use f90, not f77.
8676
86772011-06-29 Tom Tromey <tromey@redhat.com>
8678
8679 * gdb.fortran/charset.exp: New file.
8680 * gdb.fortran/charset.f90: New file.
8681
86822011-06-29 Tom Tromey <tromey@redhat.com>
8683
8684 PR testsuite/12040:
8685 * lib/future.exp: New file, mostly extracted from ada.exp.
8686 Rewrote compatibility code to use rename.
8687 (gdb_find_gfortran): New proc.
8688 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8689 gfortran patch.
8690 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8691 Move to future.exp.
8692 * lib/gdb.exp: Always load future.exp.
8693
86942011-06-28 Yao Qi <yao@codesourcery.com>
8695
8696 * gdb.cp/exception.cc: Don't include iostream.
8697 (bar): Remove print statement.
8698 (catcher): New.
8699 (main): Remove print statements. Call function catcher.
8700 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8701 Set breakpoint on catcher, and check the value of parameter.
8702
87032011-06-23 Yao Qi <yao@codesourcery.com>
8704
8705 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8706 breakpoint 1.2 is disabled. KFAIL for uclinux.
8707
87082011-06-23 Marek Polacek <mpolacek@redhat.com>
8709
8710 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8711 mi_gdb_test.
8712
87132011-06-23 Marek Polacek <mpolacek@redhat.com>
8714
8715 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8716
87172011-06-23 Marek Polacek <mpolacek@redhat.com>
8718
8719 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8720
87212011-06-23 Marek Polacek <mpolacek@redhat.com>
8722
8723 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8724 `test_exec_and_symbol_mi_operatons' return value.
8725 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8726 gdb_test_multiple.
8727 (test_exec_and_symbol_mi_operatons): Likewise.
8728 (test_path_specification): Likewise.
8729
87302011-06-23 Yao Qi <yao@codesourcery.com>
8731
8732 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8733 supported.
8734 * lib/gdb.exp (support_displaced_stepping): New.
8735
87362011-06-23 Yao Qi <yao@codesourcery.com>
8737
8738 * gdb.threads/execl.exp: Skip on remote target.
8739
87402011-06-21 Marek Polacek <mpolacek@redhat.com>
8741
8742 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
8743 mi_gdb_test.
8744
87452011-06-20 Marek Polacek <mpolacek@redhat.com>
8746
8747 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
8748
87492011-06-20 Marek Polacek <mpolacek@redhat.com>
8750
8751 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
8752 mi_gdb_test.
8753
87542011-06-20 Marek Polacek <mpolacek@redhat.com>
8755
8756 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8757
87582011-06-14 Yao Qi <yao@codesourcery.com>
8759
8760 gdb/testsuite/
8761 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8762
87632011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8764
8765 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8766
87672011-06-10 Tom Tromey <tromey@redhat.com>
8768
8769 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8770 Add tests for pointer-to-member-function.
8771 * gdb.cp/temargs.cc (S::somefunc): New function.
8772 (K2): New class.
8773 (main): Instantiate K2; call method.
8774
87752011-06-08 Joel Brobecker <brobecker@adacore.com>
8776
8777 * gdb.python/py-inferior.c (f2): Make str an array rather
8778 than a pointer.
8779 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8780
87812011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8782
8783 * gdb.base/async-shell.c: New file.
8784 * gdb.base/async-shell.exp: New file.
8785
87862011-06-06 Pedro Alves <pedro@codesourcery.com>
8787
8788 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8789
87902011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8791
8792 From Stephen Kitt <steve@sk2.org>
8793 * gdb.base/help.exp: Adjust following some spelling corrections
8794 in GDB.
8795
87962011-06-01 Yao Qi <yao@codesourcery.com>
8797
8798 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8799
88002010-05-31 Keith Seitz <keiths@redhat.com>
8801
8802 PR c++/12750
8803 * gdb.cp/static-method.cc: New file.
8804 * gdb.cp/static-method.exp: New file.
8805
88062010-05-31 Keith Seitz <keiths@redhat.com>
8807
8808 PR symtab/12704
8809 * gdb.cp/anon-ns.cc: New file.
8810 * gdb.cp/anon-ns.exp: New file.
8811
88122011-05-31 Pedro Alves <pedro@codesourcery.com>
8813
8814 * gdb.arch/i386-dr3-watch.c: New file.
8815 * gdb.arch/i386-dr3-watch.exp: New file.
8816
88172011-05-30 Yao Qi <yao@codesourcery.com>
8818
8819 * gdb.base/callfuncs.c (t_structs_fc): New.
8820 (t_structs_dc, t_structs_ldc): New.
8821 (t_double_many_args):
8822 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8823 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8824 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8825 * gdb.base/callfuncs.exp: Call new functions.
8826
88272011-05-30 Yao Qi <yao@codesourcery.com>
8828
8829 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8830 Call rerun_and_prepare for each test to isolate effects.
8831
88322011-05-30 Yao Qi <yao@codesourcery.com>
8833
8834 * gdb.base/varargs.c (find_max_float_real): New.
8835 (find_max_double_real, find_max_long_double_real): New.
8836 * gdb.base/varargs.exp: Call these new added functions.
8837 * lib/gdb.exp (setup_kfail_for_target): New.
8838
88392011-05-30 Yao Qi <yao@codesourcery.com>
8840
8841 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8842 (callcd, callce, callcf, callc1a, callc1b): New.
8843 (callc2a, callc2b): New.
8844 * gdb.base/funcargs.exp (complex_args): New.
8845 (complex_integral_args, complex_float_integral_args): New.
8846 * lib/gdb.exp (support_complex_tests): New. Determine
8847 whether to run test cases on _Complex types.
8848
88492011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8850
8851 * gdb.threads/leader-exit.c: New file.
8852 * gdb.threads/leader-exit.exp: New file.
8853
88542011-05-27 Marek Polacek <mpolacek@redhat.com>
8855
8856 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8857
88582011-05-27 Marek Polacek <mpolacek@redhat.com>
8859
8860 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8861 remove the `supported' variable.
8862 * gdb.mi/mi-nonstop.exp: Likewise.
8863 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8864 * gdb.mi/mi-nsintrall.exp: Likewise.
8865 * gdb.mi/mi-nsmoribund.exp: Likewise.
8866 * gdb.mi/mi-nsthrexec.exp: Likewise.
8867
88682011-05-26 Pedro Alves <pedro@codesourcery.com>
8869
8870 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8871
88722011-05-26 Pedro Alves <pedro@codesourcery.com>
8873
8874 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8875
88762011-05-24 Keith Seitz <keiths@redhat.com>
8877
8878 PR breakpoint/12803
8879 * gdb.cp/cmpd-minsyms.cc (a): New method.
8880 (b): New method.
8881 (c): New method.
8882 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8883
88842011-05-24 Pedro Alves <pedro@codesourcery.com>
8885
8886 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8887 watchpoint's command list didn't execute when the watchpoint went
8888 out of scope.
8889
88902011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8891
8892 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8893 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8894 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8895 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8896 * gdb.arch/i386-permbkpt.exp: Likewise.
8897 * gdb.arch/i386-prologue.exp: Likewise.
8898 * gdb.arch/i386-size-overlap.exp: Likewise.
8899 * gdb.arch/i386-size.exp: Likewise.
8900 * gdb.arch/i386-unwind.exp: Likewise.
8901 * gdb.reverse/i386-precsave.exp: Likewise.
8902 * gdb.reverse/i386-reverse.exp: Likewise.
8903 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8904 * gdb.reverse/i387-env-reverse.exp: Likewise.
8905 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8906
89072011-05-24 Pedro Alves <pedro@codesourcery.com>
8908
8909 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8910 file doesn't error, using MI.
8911
89122011-05-23 Tom Tromey <tromey@redhat.com>
8913
8914 * gdb.base/charset.exp (string_display): Add tests to assign to
8915 arrays.
8916 * gdb.base/charset.c (short_array, int_array, long_array): New.
8917
89182011-05-20 Pedro Alves <pedro@codesourcery.com>
8919
8920 Cope with async mode.
8921
8922 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8923 into gdb_test + mi_expect_stop.
8924
89252011-05-20 Pedro Alves <pedro@codesourcery.com>
8926
8927 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8928 (callme): Remove printf call.
8929
89302011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8931
8932 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8933 quote pattern to avoid problems with Cygwin/mingw expect versions.
8934 * gdb.base/default.exp (show convenience): Use double
8935 quote pattern for regular expressions.
8936
89372011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8938
8939 Fix -readnow for -gdwarf-4 unused type units.
8940 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8941 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8942
89432011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8944
8945 * gdb.base/kill-after-signal.c: New file.
8946 * gdb.base/kill-after-signal.exp: New file.
8947
89482011-05-16 Pedro Alves <pedro@codesourcery.com>
8949
8950 * gdb.ada/start.exp: Call untested with the correct test filename.
8951 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8952 test filename. Make the test's binary unique.
8953 * gdb.arch/i386-signal.exp: Call untested with the correct test
8954 filename.
8955 * gdb.arch/i386-size-overlap.exp: Ditto.
8956 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8957 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8958 * gdb.cp/call-c.exp: Ditto.
8959 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8960 filename. Make the test's binary unique.
8961 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8962 * gdb.python/py-mi.exp: Ditto.
8963 * gdb.python/Makefile.in (EXECUTABLES): Update.
8964 * gdb.reverse/i386-precsave.exp: Ditto.
8965 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8966 test filename.
8967 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8968 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8969 unique.
8970 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8971 test filename.
8972 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8973 * gdb.trace/tfile.exp: Ditto.
8974
89752011-05-14 Yao Qi <yao@codesourcery.com>
8976
8977 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8978 type.
8979
89802011-05-13 Doug Evans <dje@google.com>
8981
8982 * gdb.python/py-objfile-script.exp: New file.
8983 * gdb.python/py-objfile-script.c: New file.
8984 * gdb.python/py-objfile-script-gdb.py: New file.
8985 * testsuite/gdb.python/py-section-script.exp: Test
8986 "info auto-load-scripts".
8987
89882011-05-13 Tom Tromey <tromey@redhat.com>
8989
8990 * gdb.dwarf2/clztest.exp: New file.
8991 * gdb.dwarf2/clztest.c: New file.
8992 * gdb.dwarf2/clztest.S: New file.
8993
89942011-05-13 Doug Evans <dje@google.com>
8995
8996 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8997 String16 tests.
8998
89992011-05-13 Tom Tromey <tromey@redhat.com>
9000
9001 * lib/gdb.exp (is_x86_like_target): New proc.
9002 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
9003 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
9004 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
9005 -nostdlib to compiler.
9006 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
9007 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
9008 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
9009 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
9010 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
9011
90122011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9013
9014 * gdb.python/py-function.exp: Test setting a value from a function
9015 which executes a command.
9016
90172011-05-12 Tom Tromey <tromey@redhat.com>
9018
9019 * gdb.dwarf2/typeddwarf.S: New file.
9020 * gdb.dwarf2/typeddwarf.c: New file.
9021 * gdb.dwarf2/typeddwarf.exp: New file.
9022
90232011-05-12 Marek Polacek <mpolacek@redhat.com>
9024
9025 * gdb.mi/mi-basics.exp: Fix races. Honour the
9026 `test_exec_and_symbol_mi_operatons' return value.
9027 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9028 gdb_test_multiple.
9029 (test_exec_and_symbol_mi_operatons): Likewise.
9030 (test_path_specification): Likewise.
9031
90322011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9033
9034 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
9035 (gdb_touch_execfile): Remove catch wrappers. New variable time.
9036 Replace `file copy' and `file rename' by `file mtime'. Twice.
9037
90382011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9039
9040 * gdb.base/readline-ask.c: New file.
9041 * gdb.base/readline-ask.exp: New file.
9042 * gdb.base/readline-ask.inputrc: New file.
9043
90442011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
9045
9046 * gdb.cell/bt.exp: Delete breakpoints before running to signal
9047 to avoid race condition.
9048 * gdb.cell/coremaker.c: Use small stack size.
9049 * gdb.cell/ea-standalone.exp: Use file name without path as
9050 argument to c_to.
9051 * gdb.cell/fork.exp: Allow other output when continuing to end.
9052
90532011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9054
9055 * gdb.threads/corethreads.c: New file.
9056 * gdb.threads/corethreads.exp: New file.
9057
90582011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9059
9060 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
9061 Try to compile the test using -Wl,-z,norelro first.
9062 (load_core): New variable libthread_db_seen, initialize it.
9063 (zeroed-threads cannot be listed): Protect it by XFAIL on
9064 !$libthread_db_seen.
9065
90662011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9067
9068 PR 12573
9069 * gdb.dwarf2/dw2-skip-prologue.S: New file.
9070 * gdb.dwarf2/dw2-skip-prologue.c: New file.
9071 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
9072
90732011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9074
9075 * gdb.cp/psymtab-parameter.cc: New file.
9076 * gdb.cp/psymtab-parameter.exp: New file.
9077
90782011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9079
9080 Fix a race.
9081 * gdb.cp/static-print-quit.exp (print c): Split to ...
9082 (print c - <return>, print c - q <return>, print c - to quit):
9083 ... these. Make the testfile untested on gdb-7.1.
9084
90852011-5-05 Janis Johnson <janisjo@codesourcery.com>
9086
9087 * lib/gdb.exp (exec_target_file, exec_symbol_file,
9088 gdb_rename_execfile, gdb_touch_execfile): New.
9089 * gdb.base/reread.exp: Use new procs to handle multiple
9090 exec files.
9091
90922011-05-05 Yao Qi <yao@codesourcery.com>
9093
9094 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
9095 (test_adr_32bit, test_pop_pc): New.
9096 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
9097 (test_adr_32bit, test_pop_pc): New.
9098
90992011-05-04 Joseph Myers <joseph@codesourcery.com>
9100
9101 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
9102 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
9103 targets.
9104 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
9105 handle targets.
9106
91072011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9108
9109 * gdb.base/completion.exp (complete help info wat): Rename to ...
9110 (complete 'help info wat'): ... here.
9111 Remove all `-re ".*' and `-re "^.*' redundant regexes.
9112 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
9113
91142011-05-04 Pedro Alves <pedro@codesourcery.com>
9115
9116 * gdb.base/completion.exp: Use gdb_test_multiple instead of
9117 gdb_test and explicit $gdb_prompt/timeout matches.
9118
91192011-05-04 Yao Qi <yao@codesourcery.com>
9120
9121 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
9122 and __thumb2__.
9123
91242011-05-03 Marek Polacek <mpolacek@redhat.com>
9125
9126 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
9127 in place of `gdb_test "delete breakpoints"'. This eliminates two
9128 testcases.
9129
91302011-05-02 Pedro Alves <pedro@codesourcery.com>
9131
9132 PR testsuite/12649
9133 Fix races.
9134
9135 * gdb.base/completion.exp: Remove all sleep calls. Remove
9136 unnecessary regexs. Don't explicitly expect anything after the
9137 prompt. Eat the prompt if necessary.
9138
91392011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
9140
9141 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
9142 accept to show the caller line again as well as the line after.
9143
91442011-04-29 Phil Muldoon <pmuldoon@redhat.com>
9145
9146 PR mi/12531
9147
9148 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
9149 compile target.
9150 * gdb.python/py-prettyprint.exp: Add C++ object for
9151 CPLUS_FAKE_CHILD test.
9152
91532011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
9154
9155 * gdb.base/signest.exp: New file.
9156 * gdb.base/signest.c: Likewise.
9157
91582011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9159
9160 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
9161 thread and breakpoint notifications.
9162
91632011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9164
9165 * gdb.base/fortran-sym-case.c: New file.
9166 * gdb.base/fortran-sym-case.exp: New file.
9167 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
9168 * gdb.dwarf2/dw2-case-insensitive.c: New file.
9169 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
9170
91712011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9172
9173 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
9174 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
9175 false #1', `if true else false #2' and `if true else false #3'.
9176
91772011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
9178
9179 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
9180 while delivering signal.
9181
91822011-04-27 Vladimir Prus <vladimir@codesourcery.com>
9183
9184 MI breakpoint notifications.
9185
9186 * testsuite/gdb.mi/mi-cli.exp: Adust.
9187 * testsuite/gdb.mi/mi2-cli.exp: Adust.
9188 * testsuite/gdb.mi/mi-watch.exp: Adust.
9189 * testsuite/gdb.mi/mi2-watch.exp: Adust.
9190 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
9191 notifications.
9192
91932011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9194
9195 * gdb.base/gdbindex-stabs-dwarf.c: New file.
9196 * gdb.base/gdbindex-stabs.c: New file.
9197 * gdb.base/gdbindex-stabs.exp: New file.
9198
91992011-04-25 Yao Qi <yao@codesourcery.com>
9200
9201 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
9202 with /*...*/.
9203 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
9204
92052011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9206
9207 * gdb.python/py-value.exp (test_objfiles): Name the first test
9208 `py-value in file.filename'.
9209
92102011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9211
9212 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
9213 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
9214 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
9215 !gdbserver_reconnect_p..
9216 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
9217
92182011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9219
9220 * gdb.cp/cpcompletion.exp (complete class methods)
9221 (complete class methods beginning with F): Move them above runto. New
9222 comment about the runto delimiter.
9223
92242011-04-20 Pedro Alves <pedro@codesourcery.com>
9225
9226 * gdb.base/maint.exp: Test that "maint print registers" works
9227 without a running program.
9228
92292011-04-20 Marek Polacek <mpolacek@redhat.com>
9230
9231 * gdb.base/setshow.exp: Fix racy tests.
9232 ($old_gdb_prompt): New variable.
9233
92342011-04-19 Tom Tromey <tromey@redhat.com>
9235
9236 * gdb.mi/mi-nsmoribund.exp:
9237 * gdb.hp/gdb.objdbg/objdbg01.exp:
9238 * gdb.base/structs.exp (test_struct_returns):
9239 * gdb.base/call-sc.exp (test_scalar_returns):
9240 * gdb.base/bigcore.exp: Remove duplicate words.
9241
92422011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9243
9244 * gdb.base/break-interp-lib.c (v, vptr): New variables.
9245 * gdb.base/break-interp.exp (test_attach): New comment.
9246
92472011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9248
9249 * gdb.threads/gcore-thread.exp ($core0file): New variable.
9250 (clear __stack_user.next, clear stack_used.next)
9251 (save a zeroed-threads corefile): New test.
9252 Call core_load for $core0file.
9253 (zeroed-threads cannot be listed): New test.
9254
92552011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9256
9257 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
9258 filename.
9259 ($srcfile): Preserve the original value.
9260 ($testfile): Match it the .exp filename.
9261 ($corefile): New variable. Substitute it around.
9262 Use clean_restart.
9263 ($prev_timeout): Remove.
9264 (load_core): Move core loading into this proc.
9265 Fix restore of $timeout if load_core fails.
9266
92672011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9268
9269 * gdb.base/eu-strip-infcall.c: New file.
9270 * gdb.base/eu-strip-infcall.exp: New file.
9271
92722011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9273
9274 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
9275 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
9276
92772011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9278
9279 Fix Python access to inlined frames.
9280 * gdb.python/py-frame-inline.c: New file.
9281 * gdb.python/py-frame-inline.exp: New file.
9282
92832011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
9284
9285 * gdb.base/gdb1090.exp: Change breakpoint location to read the
9286 content of 's24' correctly (avoiding "optimized out").
9287 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
9288
92892011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9290
9291 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
9292
92932011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9294
9295 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
9296 expect a colon in watch -location output.
9297
92982011-04-13 Marek Polacek <mpolacek@redhat.com>
9299
9300 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
9301 New testcase `expect response to define backtrace'. Also remove
9302 redundant `default' block.
9303
93042011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9305
9306 * gdb.python/py-prettyprint.c (struct hint_error): New.
9307 (main): New variable hint_error.
9308 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
9309 "print hint_error".
9310 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
9311 (register_pretty_printers): Register it.
9312
93132011-04-04 Tom Tromey <tromey@redhat.com>
9314
9315 * gdb.cp/maint.exp (test_help): Update.
9316 (test_namespace): Likewise.
9317
93182011-04-01 Joel Brobecker <brobecker@adacore.com>
9319
9320 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
9321 * gdb.ada/arrayptr.exp: Add new tests.
9322
93232011-04-01 Joel Brobecker <brobecker@adacore.com>
9324
9325 * gdb.ada/mi_catch_ex: New testcase.
9326
93272011-04-01 Pedro Alves <pedro@codesourcery.com>
9328
9329 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
9330 base::overload(void) method without specifying "const".
9331
93322011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
9333
9334 * gdb.arch/thumb-singlestep.S: New file.
9335 * gdb.arch/thumb-singlestep.exp: Likewise.
9336
93372011-03-31 Tom Tromey <tromey@redhat.com>
9338
9339 * gdb.python/py-prettyprint.py (exception_flag): New global.
9340 (NoStringContainerPrinter._iterator.next): Check it.
9341 * gdb.python/py-prettyprint.c (main): New variable nstype2.
9342 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
9343
93442011-03-29 Tom Tromey <tromey@redhat.com>
9345
9346 * gdb.cp/anon-struct.cc: New file.
9347 * gdb.cp/anon-struct.exp: New file.
9348
93492011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9350
9351 Test STT_GNU_IFUNC support.
9352 * gdb.base/gnu-ifunc-lib.c: New file.
9353 * gdb.base/gnu-ifunc.c: New file.
9354 * gdb.base/gnu-ifunc.exp: New file.
9355
93562011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9357
9358 Support a ring of related breakpoints.
9359 * gdb.base/watchpoint-delete.c: New file.
9360 * gdb.base/watchpoint-delete.exp: New file.
9361
93622011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9363
9364 * gdb.ada/arrayparam.exp (print first after function call): Use
9365 explicit package name. Add a comment
9366 (print lasta after function call): Rename ...
9367 (print last after function call): ... it and use explicit package
9368 name.
9369 (print length after function call): Use explicit package name.
9370 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9371 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9372 (multiple matches for symbol i): Rename ...
9373 (multiple matches for symbol integervar): ... it.
9374 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9375 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9376
93772011-03-25 Andrew Burgess <aburgess@broadcom.com>
9378
9379 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9380 environment variable to make grep output more predictable. Move
9381 all the environment setup into gdb_init so it's done once per test
9382 case rather than each time we start gdb.
9383
93842011-03-24 Tom Tromey <tromey@redhat.com>
9385
9386 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9387 test.
9388
93892011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9390
9391 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9392 * gdb.dwarf2/dw2-entry-value.S: New file.
9393 * gdb.dwarf2/dw2-entry-value.exp: New file.
9394
93952011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9396
9397 PR python/12183
9398
9399 * gdb.python/py-function.exp: Add GdbError tests.
9400
94012011-03-18 Pedro Alves <pedro@codesourcery.com>
9402
9403 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9404 (reglocal_test_func, statlocal_test_func): New functions.
9405 (globals_test_func): Call new functions.
9406 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9407 (gdb_collect_locals_test): New procedure.
9408 (gdb_trace_collection_test): Call new procedures.
9409
94102011-03-18 Pedro Alves <pedro@codesourcery.com>
9411
9412 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9413 (test_register, test_register_unavailable): New procedures.
9414 (gdb_unavailable_registers_test): New procedure.
9415 (gdb_trace_collection_test): Call it.
9416
94172011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9418
9419 PR python/12149
9420
9421 * gdb.python/python.exp: Add gdb.write tests.
9422
94232010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9424
9425 * gdb.python/Makefile.in: Add py-objfile.
9426 * gdb.python/py-objfile.exp: New file.
9427 * gdb.python/py-objfile.c: New file.
9428 * gdb.python/py-block.exp: Add is_valid tests.
9429 * gdb.python/py-inferior.exp: Ditto.
9430 * gdb.python/py-infthread.exp: Ditto.
9431 * gdb.python/py-symbol.exp: Ditto.
9432 * gdb.python/py-symtab.exp: Ditto.
9433
94342011-03-16 Keith Seitz <keiths@redhat.com>
9435
9436 PR c++/12273
9437 * gdb.cp/cmpd-minsyms.exp: New test.
9438 * gdb.cp/cmpd-minsyms.cc: New file.
9439
9440 PR c++/11734
9441 * gdb.cp/ovsrch.exp: New test.
9442 * gdb.cp/ovsrch.h: New file.
9443 * gdb.cp/ovsrch1.cc: New file.
9444 * gdb.cp/ovsrch2.cc: New file.
9445 * gdb.cp/ovsrch3.cc: New file.
9446 * gdb.cp/ovsrch4.cc: New file.
9447
94482011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9449
9450 PR gdb/12528
9451 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9452 * gdb.base/break-on-linker-gcd-function.exp: New test.
9453 * gdb.base/break-on-linker-gcd-function.cc: New file.
9454
94552011-03-15 Andreas Tobler <andreast@fgznet.ch>
9456
9457 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9458
94592011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9460
9461 * lib/gdb.exp (gdb_unload): Add another termination case.
9462
94632011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9464
9465 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9466 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9467 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9468 Provide a stub byte there.
9469 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9470 DW_AT_entry_pc.
9471 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9472
94732011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9474
9475 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9476 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9477 "generic ABI, auto".
9478 (altivec_abi_tests): Accept vectors returned by reference.
9479
94802010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9481
9482 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9483
94842011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9485
9486 * gdb.python/py-section-script.exp: Skip test if no Python support.
9487
94882011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9489
9490 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9491
94922011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9493
9494 * gdb.python/py-parameter.exp: Update tests to the new Python
9495 parameter API. Add "no documentation" test. Add deprecated API
9496 backward compatibility test.
9497
94982011-03-09 Tom Tromey <tromey@redhat.com>
9499
9500 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9501 gdb_continue_to_end.
9502
95032011-03-09 Mark Kettenis <kettenis@gnu.org>
9504
9505 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9506 tabs.
9507
95082011-03-09 Tom Tromey <tromey@redhat.com>
9509
9510 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9511 parentheses.
9512 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9513 $command.
9514 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9515 argument to gdb_continue_to_end.
9516 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9517 argument to gdb_continue_to_end.
9518 * gdb.cp/annota3.exp: Fix regex.
9519 * gdb.cp/annota2.exp: Fix regex.
9520 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9521 gdb_continue_to_end.
9522 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9523 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9524 gdb_continue_to_end.
9525
95262011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9527
9528 * gdb.server/ext-run.exp
9529 (load new file without any gdbserver inferior): New test.
9530
95312011-03-07 Tom Tromey <tromey@redhat.com>
9532
9533 * Makefile.in (TAGS): Rewrite.
9534
95352011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9536
9537 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9538 initial commands echo. New match for `Found trace'. Anchor all the
9539 other matches. Anchor and match for `No trace frame found' the final
9540 match.
9541
95422011-03-07 Tom Tromey <tromey@redhat.com>
9543
9544 * Makefile.in (TAGS): New target.
9545
95462011-03-07 Tom Tromey <tromey@redhat.com>
9547
9548 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9549 change.
9550 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9551 change.
9552 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9553 exit message change.
9554 (skip_altivec_tests): Update for exit message change.
9555 (skip_vsx_tests): Likewise.
9556 (gdb_continue_to_end): Likewise. Add 'command' argument.
9557 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9558 * gdb.threads/tls.exp: Update for exit message change.
9559 * gdb.threads/thread-unwindonsignal.exp: Use
9560 gdb_continue_to_end.
9561 * gdb.threads/step.exp (step_it): Update for exit message change.
9562 (continue_all): Likewise.
9563 * gdb.threads/print-threads.exp (test_all_threads): Update for
9564 exit message change.
9565 * gdb.threads/interrupted-hand-call.exp: Use
9566 gdb_continue_to_end.
9567 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9568 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9569 gdb_continue_to_end.
9570 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9571 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9572 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9573 * gdb.cp/method.exp: Update for exit message change.
9574 * gdb.cp/mb-templates.exp: Update for exit message change.
9575 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9576 * gdb.cp/annota3.exp: Update for exit message change.
9577 * gdb.cp/annota2.exp: Update for exit message change.
9578 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9579 * gdb.base/term.exp: Update for exit message change.
9580 * gdb.base/step-test.exp (test_i): Update for exit message change.
9581 * gdb.base/sigstep.exp (advance): Update for exit message change.
9582 (advancei): Likewise.
9583 * gdb.base/siginfo.exp: Update for exit message change.
9584 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9585 * gdb.base/reread.exp: Use gdb_continue_to_end.
9586 * gdb.base/langs.exp: Use gdb_continue_to_end.
9587 * gdb.base/interrupt.exp: Update for exit message change.
9588 * gdb.base/gdb1555.exp: Update for exit message change.
9589 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9590 * gdb.base/ending-run.exp: Update for exit message change.
9591 * gdb.base/chng-syms.exp: Update for exit message change.
9592 * gdb.base/checkpoint.exp: Update for exit message change.
9593 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9594 gdb_continue_to_end.
9595 (test_catch_syscall_with_wrong_args): Likewise.
9596 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9597 * gdb.base/break-interp.exp (test_ld): Update for exit message
9598 change.
9599 * gdb.base/bang.exp: Update for exit message change.
9600 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9601 (do_call_attach_tests): Likewise.
9602 * gdb.base/a2-run.exp: Update for exit message change.
9603 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9604 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9605 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9606
96072011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9608
9609 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9610
96112011-03-03 Tom Tromey <tromey@redhat.com>
9612
9613 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9614 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9615 * gdb.hp/gdb.aCC/configure.ac: Remove.
9616 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9617 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9618 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9619 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9620 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9621 * gdb.hp/gdb.compat/configure.ac: Remove.
9622 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9623 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9624 * gdb.hp/gdb.defects/configure.ac: Remove.
9625 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9626 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9627 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9628 * gdb.hp/configure.ac: Remove.
9629 * gdb.hp/configure: Remove.
9630 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9631 substitution.
9632 (Makefile): Remove rule.
9633 * gdb.cell/configure.ac: Remove.
9634 * gdb.cell/configure: Remove.
9635 * gdb.stabs/Makefile.in (Makefile): Remove.
9636 (distclean): Don't remove config.status or config.log.
9637 * gdb.stabs/configure (Makefile): Remove.
9638 * gdb.stabs/configure.ac: Remove.
9639 * configure: Rebuild.
9640 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9641 Remove stabs- and cell-specific logic. Test for existence of
9642 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9643 subdirectories, gdb.cell, and and gdb.stabs.
9644 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9645
96462011-03-03 Joel Brobecker <brobecker@adacore.com>
9647
9648 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9649 end of buffer.
9650
96512011-03-02 Joel Brobecker <brobecker@adacore.com>
9652
9653 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9654 gdb_test when running a test where we expected no output back.
9655
96562011-02-28 Michael Snyder <msnyder@vmware.com>
9657
9658 * gdb.cp/overload.cc: Change initializer value to integer.
9659
96602011-02-27 Michael Snyder <msnyder@vmware.com>
9661
9662 * gdb.multi/base.exp: Add test for remove-inferiors.
9663
96642011-02-26 Joel Brobecker <brobecker@adacore.com>
9665
9666 * gdb.python/py-frame.exp: Simplify the initialization phase
9667 using prepare_for_testing.
9668
96692011-02-25 Michael Snyder <msnyder@vmware.com>
9670
9671 * gdb.multi/base.exp: Add tests for info inferiors with args.
9672
96732011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9674
9675 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9676 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9677 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9678 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9679 asmfile3. Comment the STABS (#3) file compilation. Compile
9680 everything through assembler. Provide KFAIL for symtab/12497.
9681 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9682 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9683 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9684 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9685
96862011-02-24 Michael Snyder <msnyder@vmware.com>
9687
9688 * gdb.base/break.exp: Add tests for delete breakpoints using
9689 convenience variables and value history references.
9690
96912011-02-24 Michael Snyder <msnyder@vmware.com>
9692
9693 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9694 left behind in previous check-in.
9695
96962011-02-23 Michael Snyder <msnyder@vmware.com>
9697
9698 * gdb.base/break.exp: Add tests for "info break" with arguments.
9699 * gdb.trace/infotrace.exp: Update patterns for error and help.
9700 * gdb.base/completion.exp: Update pattern.
9701 * gdb.base/ena-dis-br.exp: Update pattern.
9702 * gdb.base/help.exp: Update patterns.
9703
97042011-02-23 Michael Snyder <msnyder@vmware.com>
9705
9706 * gdb.base/memattr.exp: New test.
9707 * gdb.base/memattr.c: Test load for memattr.exp.
9708
97092011-02-22 Doug Evans <dje@google.com>
9710
9711 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9712
97132011-02-22 Michael Snyder <msnyder@vmware.com>
9714
9715 * Makefile.in: Make more clean.
9716 * gdb.ada/Makefile.in: Ditto.
9717 * gdb.arch/Makefile.in: Ditto.
9718 * gdb.asm/Makefile.in: Ditto.
9719 * gdb.base/Makefile.in: Ditto.
9720 * gdb.cp/Makefile.in: Ditto.
9721 * gdb.dwarf2/Makefile.in: Ditto.
9722 * gdb.java/Makefile.in: Ditto.
9723 * gdb.mi/Makefile.in: Ditto.
9724 * gdb.modula2/Makefile.in: Ditto.
9725 * gdb.python/Makefile.in: Ditto.
9726 * gdb.server/Makefile.in: Ditto.
9727 * gdb.stabs/Makefile.in: Ditto.
9728 * gdb.threads/Makefile.in: Ditto.
9729 * gdb.trace/Makefile.in: Ditto.
9730
97312011-02-22 Michael Snyder <msnyder@vmware.com>
9732
9733 * gdb.threads/thread-find.exp: Add tests for bad input to
9734 info threads.
9735
97362011-02-22 Joel Brobecker <brobecker@adacore.com>
9737
9738 * gdb.python/py-breakpoint.exp: Fix the expected output of
9739 one of the "maint info breakpoints" tests to accept the output
9740 generated on platforms that do not have hardware watchpoints.
9741
97422011-02-22 Joel Brobecker <brobecker@adacore.com>
9743
9744 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9745 clean_restart. Be a little stricter in the expected output
9746 for one of the tests. Fix a typo in one of the comments.
9747
97482011-02-22 Joel Brobecker <brobecker@adacore.com>
9749
9750 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9751 Delete variable binfile, no longer use. Add or modify test
9752 comments to make them unique.
9753
97542011-02-21 Michael Snyder <msnyder@vmware.com>
9755
9756 * Makefile.in: Update for make clean.
9757 * gdb.ada/Makefile.in: Ditto.
9758 * gdb.arch/Makefile.in: Ditto.
9759 * gdb.asm/Makefile.in: Ditto.
9760 * gdb.base/Makefile.in: Ditto.
9761 * gdb.cp/Makefile.in: Ditto.
9762 * gdb.dwarf2/Makefile.in: Ditto.
9763 * gdb.java/Makefile.in: Ditto.
9764 * gdb.mi/Makefile.in: Ditto.
9765 * gdb.modula2/Makefile.in: Ditto.
9766 * gdb.python/Makefile.in: Ditto.
9767 * gdb.server/Makefile.in: Ditto.
9768 * gdb.stabs/Makefile.in: Ditto.
9769 * gdb.threads/Makefile.in: Ditto.
9770 * gdb.trace/Makefile.in: Ditto.
9771
97722011-02-21 Michael Snyder <msnyder@vmware.com>
9773
9774 * gdb.threads/thread-find.exp: Update patterns for changes in
9775 output of "info threads" command.
9776
97772011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9778 Ulrich Weigand <uweigand@de.ibm.com>
9779
9780 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9781 (skip_hw_watchpoint_tests): Likewise.
9782 (skip_hw_watchpoint_multi_tests): Likewise.
9783
97842011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9785
9786 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9787 (skip_hw_watchpoint_tests): Likewise.
9788 (skip_hw_watchpoint_multi_tests): Likewise.
9789 (skip_hw_watchpoint_access_tests): Likewise.
9790
9791 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9792 * gdb.base/pr11022.exp: Likewise.
9793 * gdb.base/watch-read.exp: Likewise.
9794 * gdb.base/watch_thread_num.exp: Likewise.
9795 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9796 * gdb.base/watchpoint-hw.exp: Likewise.
9797 * gdb.base/watchpoint.exp: Likewise.
9798 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9799 * gdb.threads/watchthreads-reorder.exp: Likewise.
9800 * gdb.threads/watchthreads.exp: Likewise.
9801 * gdb.threads/watchthreads2.exp: Likewise.
9802
98032011-02-21 Joel Brobecker <brobecker@adacore.com>
9804
9805 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9806 the debugger is unable to find the array bounds.
9807
98082011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9809
9810 * gdb.cp/typedef-operator.exp: New file.
9811 * gdb.cp/typedef-operator.cc: New file.
9812
98132011-02-17 Michael Snyder <msnyder@vmware.com>
9814
9815 * gdb.threads/thread-find.exp: Fix regular expressions.
9816
98172011-02-17 Joel Brobecker <brobecker@adacore.com>
9818
9819 * gdb.ada/packed_array: Expand testcase to test printing of
9820 unconstrained packed array.
9821
98222011-02-17 Joel Brobecker <brobecker@adacore.com>
9823
9824 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9825
98262011-02-16 Pedro Alves <pedro@codesourcery.com>
9827
9828 * gdb.trace/collection.c (globalarr3): New global.
9829 (main): Initialize it before collecting, and and clear it
9830 afterwards.
9831 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9832 collecting with '{type} addr', where the addr expression is not an
9833 rvalue.
9834
98352011-02-16 Ken Werner <ken.werner@de.ibm.com>
9836
9837 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9838 a bool variable. Expect correct OpenCL names for vector types. Use the
9839 uc3 variable name instead of referring to the uchar3 built-in type.
9840 Escape the asterisk at the half pointer test.
9841
98422011-02-16 Pedro Alves <pedro@codesourcery.com>
9843
9844 * gdb.trace/collection.c (globalarr2): New global.
9845 (main): Initialize it before collecting, and and clear it
9846 afterwards.
9847 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9848 collecting overlapping memory ranges.
9849
98502011-02-15 Michael Snyder <msnyder@vmware.com>
9851
9852 * gdb.base/default.exp: Add tests for thread commands.
9853 * gdb.base/help.exp: Add tests for thread commands.
9854 * gdb.threads/thread-find.exp: New test for thread find command.
9855
98562011-02-15 Ken Werner <ken.werner@de.ibm.com>
9857
9858 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9859
98602011-02-15 Yao Qi <yao@codesourcery.com>
9861
9862 PR tdep/12352
9863 * gdb.arch/arm-disp-step.S : New test for str instruction.
9864 * gdb.arch/arm-disp-step.exp : Likewise.
9865
98662011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9867
9868 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9869 "vector_register2_vr" test strings. Test the extended floating
9870 point registers (F32~F63).
9871 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9872 IBM XL C compiler. Make the test program use a register provided
9873 by the compiler for the lxvd2x instruction.
9874
98752011-02-14 Pedro Alves <pedro@codesourcery.com>
9876
9877 * gdb.trace/unavailable.cc (class Base, class Middle, class
9878 Derived): New types.
9879 (derived_unavail, derived_partial, derived_whole): New globals.
9880 (virtual_partial): New global.
9881 (virtualp): Point at virtual_partial.
9882 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9883 related to unavailable vptr.
9884
98852011-02-14 Pedro Alves <pedro@codesourcery.com>
9886
9887 * gdb.trace/unavailable.cc (a, b, c): New globals.
9888 (main): Set and clear them.
9889 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9890 `a' and `c', and check that `b' isn't collected, although `a' and
9891 `c' are.
9892
98932011-02-14 Pedro Alves <pedro@codesourcery.com>
9894
9895 * gdb.trace/unavailable.cc (struct Virtual): New.
9896 (virtualp): New global pointer.
9897 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9898 printing a pointer to an object whose type has a vtable, with
9899 print object on.
9900
99012011-02-14 Pedro Alves <pedro@codesourcery.com>
9902
9903 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9904 value repeat handles unavailableness.
9905
99062011-02-14 Pedro Alves <pedro@codesourcery.com>
9907
9908 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9909 tests for building arrays from unavailable values, subscripting
9910 non-memory rvalue unvailable arrays, and accessing fields or
9911 baseclasses of non-lazy unavailable values,
9912 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9913 struct types.
9914 (g_smallstruct, g_smallstruct_b): New globals.
9915
99162011-02-14 Pedro Alves <pedro@codesourcery.com>
9917
9918 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9919
99202011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9921
9922 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9923 * gdb.cp/overload-const.exp: New file.
9924 * gdb.cp/overload-const.cc: New file.
9925
99262011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9927
9928 * gdb.opencl/callfuncs.cl: New file.
9929 * gdb.opencl/callfuncs.exp: New test.
9930 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9931
99322011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9933
9934 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9935 when computing result.
9936 * gdb.arch/altivec-abi.exp: Update expected results.
9937
99382011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9939
9940 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9941 * gdb.base/jit.exp: Likewise.
9942 * gdb.base/pie-execl.exp: Likewise.
9943 * gdb.base/solib-nodir.exp: Likewise.
9944 * gdb.base/solib-overlap.exp: Likewise.
9945
99462011-02-07 Pedro Alves <pedro@codesourcery.com>
9947
9948 * gdb.trace/collection.c (global_pieces): New.
9949 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9950 New procedure.
9951 (gdb_trace_collection_test): Call it.
9952
99532011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9954
9955 * gdb.python/py-evthreads.c: New file.
9956 * gdb.python/py-evthreads.exp: New file.
9957 * gdb.python/py-events.py: New file.
9958 * gdb.python/py-events.exp: New file.
9959 * gdb.python/py-events.c: New file.
9960
99612011-02-04 David Daney <ddaney@caviumnetworks.com>
9962
9963 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9964
99652011-02-03 Andrew Burgess <aburgess@broadcom.com>
9966
9967 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9968 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9969 boundary between two compilation units.
9970
99712011-02-02 Pedro Alves <pedro@codesourcery.com>
9972
9973 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9974 (Virtual): New structs.
9975 (virtual_o, virtual_middle_b): New globals.
9976 * gdb.cp/virtbase.exp: New tests.
9977
99782011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9979
9980 * gdb.base/jit.exp: New file.
9981 * gdb.base/jit-main.c: New file.
9982 * gdb.base/jit-solib.c: New file.
9983
99842011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9985
9986 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9987 proceed to initial kernel entry point.
9988 * gdb.opencl/datatypes.exp: Likewise.
9989 * gdb.opencl/operators.exp: Likewise.
9990 * gdb.opencl/vec_comps.exp: Likewise.
9991
99922011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9993
9994 * gdb.cp/nsnested.cc: New.
9995 * gdb.cp/nsnested.exp: New.
9996 * gdb.cp/nsnoimports.exp: New.
9997 * gdb.cp/nsnoimports.cc: New.
9998
99992011-01-31 Joel Brobecker <brobecker@adacore.com>
10000
10001 * gdb.base/interact.exp: Add extra tests that verify that
10002 the value of the interactive-mode setting does not change
10003 after the script is sourced.
10004
100052011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10006
10007 * gdb.cp/noparam.exp: New file.
10008 * gdb.cp/noparam.cc: New file.
10009
100102011-01-28 Pedro Alves <pedro@codesourcery.com>
10011
10012 * gdb.trace/tfile.exp: Test that with no traceframe selected,
10013 there's no stack or registers.
10014
100152011-01-26 Tom Tromey <tromey@redhat.com>
10016
10017 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
10018 space before string output. Add test for "set print pretty off"
10019 case.
10020
100212011-01-25 Pedro Alves <pedro@codesourcery.com>
10022
10023 * gdb.base/frame-args.exp: Adjust.
10024 * gdb.dwarf2/dw2-noloc.exp: Adjust.
10025 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
10026 * gdb.dwarf2/pieces.exp: Adjust.
10027 * gdb.opt/clobbered-registers-O2.exp: Adjust.
10028 * gdb.opt/inline-locals.exp: Adjust.
10029 * gdb.threads/fork-child-threads.exp: Adjust.
10030
100312011-01-25 Ken Werner <ken.werner@de.ibm.com>
10032
10033 * gdb.opencl/convs_casts.cl: Move program scope variables into the
10034 OpenCL kernel function. Add a comment as marker. Add address space
10035 qualifiers for the remaining program scope variables.
10036 * gdb.opencl/datatypes.cl: Likewise.
10037 * gdb.opencl/operators.cl: Likewise.
10038 * gdb.opencl/vec_comps.cl: Likewise.
10039 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
10040 Add breakpoint at the marker comment.
10041 * gdb.opencl/datatypes.exp: Likewise.
10042 * gdb.opencl/operators.exp: Likewise.
10043 * gdb.opencl/vec_comps.exp: Likewise.
10044
100452011-01-24 Pedro Alves <pedro@codesourcery.com>
10046
10047 * gdb.base/printcmds.c (some_struct): New struct and instance.
10048 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
10049 procedure.
10050 <global scope>: Call it.
10051
100522011-01-21 Ken Werner <ken.werner@de.ibm.com>
10053
10054 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
10055 argument to the gdb_compile_opencl_hostapp call.
10056
100572011-01-19 Yao Qi <yao@codesourcery.com>
10058
10059 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
10060 positve list.
10061
100622011-01-19 Yao Qi <yao@codesourcery.com>
10063
10064 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
10065 canonical form.
10066 Remove "xscale-*-*"
10067 * gdb.xml/tdesc-regs.exp: Likewise.
10068 * gdb.python/py-section-script.exp: Replace ARM target triplet
10069 with canonical form.
10070 Match arm*-*-symbianelf*.
10071 * gdb.base/dup-sect.exp: Likewise.
10072 * lib/dwarf.exp: New.
10073 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
10074 dwarf2_support.
10075 * gdb.dwarf2/dup-psym.exp: Likewise.
10076 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
10077 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10078 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
10079 * gdb.dwarf2/dw2-basic.exp: Likewise.
10080 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10081 * gdb.dwarf2/dw2-const.exp: Likewise.
10082 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
10083 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
10084 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10085 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
10086 * gdb.dwarf2/dw2-filename.exp: Likewise.
10087 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10088 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
10089 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10090 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10091 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
10092 * gdb.dwarf2/dw2-noloc.exp: Likewise.
10093 * gdb.dwarf2/dw2-op-call.exp: Likewise.
10094 * gdb.dwarf2/dw2-producer.exp: Likewise.
10095 * gdb.dwarf2/dw2-ranges.exp: Likewise.
10096 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
10097 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
10098 * gdb.dwarf2/dw2-strp.exp: Likewise.
10099 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
10100 * gdb.dwarf2/implptr.exp: Likewise.
10101 * gdb.dwarf2/mac-fileno.exp: Likewise.
10102 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
10103 * gdb.dwarf2/pieces.exp: Likewise.
10104 * gdb.dwarf2/pr11465.exp: Likewise.
10105 * gdb.dwarf2/valop.exp: Likewise.
10106 * gdb.dwarf2/watch-notconst.exp: Likewise.
10107 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
10108
101092011-01-19 Tom Tromey <tromey@redhat.com>
10110
10111 * gdb.python/py-infthread.exp: Add thread tests.
10112
101132011-01-14 Joel Brobecker <brobecker@adacore.com>
10114
10115 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
10116
101172011-01-14 Joel Brobecker <brobecker@adacore.com>
10118
10119 * gdb.ada/widewide: New testcase.
10120
101212011-01-13 Joel Brobecker <brobecker@adacore.com>
10122
10123 * gdb.base/interact.exp: New testcase.
10124
101252011-01-12 Tom Tromey <tromey@redhat.com>
10126
10127 * gdb.mi/gdb2549.exp: Update for error message changes.
10128 * gdb.mi/mi-cli.exp: Likewise.
10129 * gdb.mi/mi-disassemble.exp: Likewise.
10130 * gdb.mi/mi-pthreads.exp: Likewise.
10131 * gdb.mi/mi-regs.exp: Likewise.
10132 * gdb.mi/mi-stack.exp: Likewise.
10133 * gdb.mi/mi-var-block.exp: Likewise.
10134 * gdb.mi/mi-var-cmd.exp: Likewise.
10135 * gdb.mi/mi2-cli.exp: Likewise.
10136 * gdb.mi/mi2-disassemble.exp: Likewise.
10137 * gdb.mi/mi2-pthreads.exp: Likewise.
10138 * gdb.mi/mi2-regs.exp: Likewise.
10139 * gdb.mi/mi2-stack.exp: Likewise.
10140 * gdb.mi/mi2-var-block.exp: Likewise.
10141 * gdb.mi/mi2-var-cmd.exp: Likewise.
10142
101432011-01-12 Andrew Burgess <aburgess@broadcom.com>
10144 Jan Kratochvil <jan.kratochvil@redhat.com>
10145
10146 PR fortran/11104 and DWARF unbound arrays detection.
10147 * gdb.fortran/multi-dim.exp: New file.
10148 * gdb.fortran/multi-dim.f90: New file.
10149
101502011-01-12 Andrew Burgess <aburgess@broadcom.com>
10151
10152 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
10153 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
10154 add new tests for opcode dumping.
10155
101562011-01-11 Tom Tromey <tromey@redhat.com>
10157
10158 * gdb.python/py-infthread.exp: Load gdb-python.exp.
10159
101602010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
10161
10162 Convert hardware watchpoints to use breakpoint_ops.
10163 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
10164 type is not supported.
10165 * gdb.base/foll-fork.exp: Likewise.
10166 * gdb.base/foll-vfork.exp: Likewise.
10167
101682011-01-10 Phil Muldoon <pmuldoon@redhat.com>
10169
10170 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
10171 Use load_lib gdb-python.exp.
10172 * gdb.python/python.exp: Ditto.
10173 * gdb.python/py-function.exp: Ditto.
10174
101752011-01-09 Andreas Schwab <schwab@linux-m68k.org>
10176
10177 * gdb.threads/tls.exp ("info address me"): Fix expected output.
10178
101792011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10180
10181 * configure: Regenerate.
10182
101832011-01-06 Tom Tromey <tromey@redhat.com>
10184
10185 * gdb.python/py-frame.exp: Test gdb.newest_frame.
10186
101872011-01-06 Joel Brobecker <brobecker@adacore.com>
10188
10189 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
10190 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
10191 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10192 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
10193 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
10194 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10195 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
10196 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
10197 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
10198 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
10199 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
10200 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
10201 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
10202 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10203 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10204 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
10205 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
10206 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
10207 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10208 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
10209 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
10210 gdb.ada/uninitialized_vars.exp,
10211 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
10212 Simplify by using clean_restart.
10213
102142011-01-06 Joel Brobecker <brobecker@adacore.com>
10215
10216 Add marker to be used as anchor for inserting breakpoints.
10217 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
10218 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
10219 Likewise.
10220
10221 Remove uses of gdb_start_cmd.
10222 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
10223 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
10224
10225 Do not run testcase if testing with GDBserver.
10226 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
10227 if testing with GDBserver.
10228
102292011-01-06 Joel Brobecker <brobecker@adacore.com>
10230
10231 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
10232 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
10233 copyright header.
10234
102352011-01-05 Joel Brobecker <brobecker@adacore.com>
10236
10237 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
10238 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
10239 testsuite/gdb.fortran/complex.f,
10240 testsuite/gdb.fortran/derived-type.f90,
10241 testsuite/gdb.fortran/library-module-lib.f90,
10242 testsuite/gdb.fortran/library-module-main.f90,
10243 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
10244 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
10245 Copyright year update.
10246
102472011-01-05 Joel Brobecker <brobecker@adacore.com>
10248
10249 * gdb.base/langs1.f: Add copyright header.
10250
102512011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10252
10253 * gdb.base/morestack.exp: New file.
10254 * gdb.base/morestack.c: New file.
10255
102562011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10257
10258 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
10259
102602010-12-29 Joel Brobecker <brobecker@adacore.com>
10261
10262 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
10263 * gdb.ada/arrayptr.exp: Add test printing that new variable.
10264
102652010-12-29 Joel Brobecker <brobecker@adacore.com>
10266
10267 * gdb.ada/lang_switch.exp: Correct expected parameter value.
10268
102692010-12-25 Andreas Schwab <schwab@linux-m68k.org>
10270
10271 * gdb.threads/tls.exp: Fix typo.
10272
10273 * gdb.threads/thread-specific.exp (get_thread_list): Update.
10274 * gdb.threads/execl.exp: Update.
10275
102762010-12-23 Yao Qi <yao@codesourcery.com>
10277
10278 * gdb.arch/arm-disp-step.exp: New.
10279 * gdb.arch/arm-disp-step.S: New.
10280
102812010-12-21 Tom Tromey <tromey@redhat.com>
10282
10283 * gdb.threads/execl.exp: Update.
10284 * gdb.threads/linux-dp.exp: Update.
10285 * gdb.threads/manythreads.exp: Update.
10286 * gdb.threads/tls.exp: Update.
10287
102882010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10289
10290 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
10291 (NextOverThrowDerivates) <resumebpt>: New.
10292 (resumebpt_test): New.
10293 (main): Call resumebpt_test.
10294 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
10295
102962010-12-12 Stan Shebs <stan@codesourcery.com>
10297
10298 * gdb.trace/tsv.exp: Test print command on trace state variables.
10299
103002010-12-09 Tom Tromey <tromey@redhat.com>
10301
10302 * gdb.base/interp.exp: Add regression test.
10303
103042010-12-09 Tom Tromey <tromey@redhat.com>
10305
10306 * gdb.java/jnpe.java: New file.
10307 * gdb.java/jnpe.exp: New file.
10308 * gdb.cp/nextoverthrow.exp: New file.
10309 * gdb.cp/nextoverthrow.cc: New file.
10310
103112010-12-07 Doug Evans <dje@google.com>
10312
10313 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
10314 of data-directory.
10315 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
10316 updated.
10317 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
10318
103192010-11-29 Michael Snyder <msnyder@vmware.com>
10320
10321 * gdb.base/callfuncs.exp: Test for skip_float_tests.
10322 * gdb.base/call-sc.exp: Ditto.
10323 * gdb.base/finish.exp: Ditto.
10324 * gdb.base/return.exp: Ditto.
10325 * gdb.base/return2.exp: Ditto.
10326
103272010-11-30 Doug Evans <dje@google.com>
10328
10329 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
10330 (gdb_expect_list): Fix spelling errors in comments.
10331 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
10332 send_gdb/gdb_expect_list where applicable.
10333 * gdb.base/call-ar-st.exp: Ditto.
10334 * gdb.base/funcargs.exp: Ditto.
10335 * gdb.base/gcore.exp: Ditto.
10336 * gdb.base/page.exp: Ditto.
10337 * gdb.base/sigaltstack.exp: Ditto.
10338 * gdb.base/siginfo.exp: Ditto.
10339 * gdb.base/sigstep.exp: Ditto.
10340 * gdb.base/trace-commands.exp: Ditto.
10341
103422010-11-29 Doug Evans <dje@google.com>
10343
10344 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10345 printer-name;subprinter-name.
10346
103472010-11-29 Tom Tromey <tromey@redhat.com>
10348
10349 * gdb.dwarf2/implptr.exp: New file.
10350 * gdb.dwarf2/implptr.c: New file.
10351 * gdb.dwarf2/implptr.S: New file.
10352
103532010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10354
10355 PR python/12199
10356
10357 * gdb.python/py-breakpoint.exp: Test the delete method.
10358
103592010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10360
10361 Fix step_resume_breakpoint unsaved during an infcall.
10362 * gdb.base/step-resume-infcall.exp: New file.
10363 * gdb.base/step-resume-infcall.c: New file.
10364
103652010-11-24 Edjunior Machado <emachado@br.ibm.com>
10366
10367 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10368
103692010-11-24 Edjunior Machado <emachado@br.ibm.com>
10370
10371 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10372 on ppc64's symbols; "finish" and "return" commands must accept to
10373 show the caller line again as well as the line after.
10374 * gdb.asm/powerpc64.inc: New file.
10375
103762010-11-23 Doug Evans <dje@google.com>
10377
10378 * lib/gdb.exp (gdb_test_sequence): New function.
10379 (gdb_expect_list): Add verbose -log call for each pattern.
10380 * gdb.base/signals.exp (test_handle_all_print): Call it.
10381 Reduce timeout increment from 6 minutes to 1 minute.
10382 * gdb.server/ext-run.exp: Call it.
10383
103842010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10385
10386 PR python/12212
10387
10388 * gdb.python/python.exp: Check that selected_thread raises an
10389 error when no inferior is loaded.
10390
103912010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10392
10393 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10394 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10395
103962010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10397
10398 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10399 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10400
104012010-11-18 Doug Evans <dje@google.com>
10402
10403 * gdb.server/ext-run.exp: Fix intermittent failures.
10404
104052010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10406
10407 * gdb.stabs/gdb11479.exp: Use runto_main.
10408
104092010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10410
10411 * gdb.base/break-entry.exp: Skip if using a stub.
10412
104132010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10414
10415 * gdb.python/py-inferior.exp: Pack values in target endianness.
10416
104172010-11-12 Tom Tromey <tromey@redhat.com>
10418
10419 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10420 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10421 MemoryError.
10422 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10423 type.
10424 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10425 MemoryError.
10426 (test_subscript_regression): Update exception type.
10427
104282010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10429
10430 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10431 breakpoint tests.
10432
104332010-11-09 Pedro Alves <pedro@codesourcery.com>
10434
10435 * gdb.base/watchpoint.exp: Test "watch -location" with an
10436 innacessible location.
10437
104382010-11-09 Edjunior Machado <emachado@br.ibm.com>
10439 Luis Machado <luisgpm@br.ibm.com>
10440
10441 * gdb.base/maint.exp: Expect "." prefix.
10442 * gdb.base/nodebug.exp: Expect "." Likewise.
10443 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10444 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10445 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10446 POWER server processors.
10447
104482010-11-08 Edjunior Machado <emachado@br.ibm.com>
10449 Luis Machado <luisgpm@br.ibm.com>
10450
10451 * gdb.base/break-entry.exp: convert entry point for
10452 ppc64 and expect leading `.' on ppc64's symbols
10453
104542010-11-05 Doug Evans <dje@google.com>
10455
10456 * gdb.base/help.exp: Update expected output.
10457 * gdb.python/py-param.exp: Delete, contents moved to ...
10458 * gdb.python/py-parameter.exp: ... here. New file.
10459 Add test for gdb.parameter ("directories").
10460
104612010-11-05 Ken Werner <ken.werner@de.ibm.com>
10462
10463 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10464 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10465 * configure: Regenerate.
10466 * gdb.opencl/Makefile.in: New File.
10467 * gdb.opencl/datatypes.exp: Likewise.
10468 * gdb.opencl/datatypes.cl: Likewise.
10469 * gdb.opencl/operators.exp: Likewise.
10470 * gdb.opencl/operators.cl: Likewise.
10471 * gdb.opencl/vec_comps.exp: Likewise.
10472 * gdb.opencl/vec_comps.cl: Likewise.
10473 * gdb.opencl/convs_casts.exp: Likewise.
10474 * gdb.opencl/convs_casts.cl: Likewise.
10475 * lib/opencl.exp: Likewise.
10476 * lib/opencl_hostapp.c: Likewise.
10477 * lib/opencl_kernel.cl: Likewise.
10478 * lib/cl_util.c: Likewise.
10479 * lib/cl_util.c: Likewise.
10480 * gdb.base/default.exp (set language): Add "opencl" to the list of
10481 languages.
10482
104832010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10484
10485 * gdb.cp/overload.exp: Added test for inheritance overload.
10486 * gdb.cp/overload.cc: Ditto.
10487 * gdb.cp/oranking.exp: Removed releveant kfails.
10488
104892010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10490 Joel Brobecker <brobecker@adacore.com>
10491
10492 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10493 check test_compiler_info.
10494
104952010-11-03 Ken Werner <ken.werner@de.ibm.com>
10496
10497 * gdb.base/gnu_vector.exp: Adjust expect messages.
10498
104992010-11-03 Ken Werner <ken.werner@de.ibm.com>
10500
10501 * gdb.base/gnu_vector.exp: Add unary operator tests.
10502
105032010-11-03 Ken Werner <ken.werner@de.ibm.com>
10504
10505 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10506
105072010-11-02 Doug Evans <dje@google.com>
10508
10509 * gdb.python/py-pp-maint.c: New file.
10510 * gdb.python/py-pp-maint.exp: New file.
10511 * gdb.python/py-pp-maint.py: New file.
10512
105132010-11-02 Tom Tromey <tromey@redhat.com>
10514
10515 * gdb.base/default.exp: Remove "scheme" from language list.
10516
105172010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10518
10519 Revert:
10520 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10521 * gdb.threads/sigstep-threads.exp: New file.
10522 * gdb.threads/sigstep-threads.c: New file.
10523
105242010-10-20 Michael Snyder <msnyder@vmware.com>
10525
10526 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10527
105282010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10529
10530 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10531 Skip test completely if gdb,no_hardware_watchpoints.
10532
105332010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10534
10535 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10536 strict, but do not check for any particular function name within libc.
10537
105382010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10539
10540 * gdb.cp/smartp.exp: New test.
10541 * gdb.cp/smartp.cc : New test.
10542
105432010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10544
10545 * gdb.cp/converts.exp: Test pointer to bool conversion.
10546 Test pointer to long conversion.
10547 * gdb.cp/oranking.exp: Removed relevant kfail.
10548
105492010-10-18 Tom Tromey <tromey@redhat.com>
10550
10551 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10552 argument to lazy_string.
10553 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10554 (pp_ls.to_string): Use it.
10555 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10556 Add "estring2" local.
10557
105582010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10559
10560 Fix s390x compatibility.
10561 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10562 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10563
105642010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10565
10566 * gdb.threads/sigstep-threads.exp: New file.
10567 * gdb.threads/sigstep-threads.c: New file.
10568
105692010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10570
10571 * gdb.base/pie-execl.exp: New file.
10572 * gdb.base/pie-execl.c: New file.
10573
105742010-10-13 Doug Evans <dje@google.com>
10575 Jan Kratochvil <jan.kratochvil@redhat.com>
10576
10577 PR exp/12117
10578 * gdb.cp/ptype-cv-cp.cc: New file.
10579 * gdb.cp/ptype-cv-cp.exp: New file.
10580
105812010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10582
10583 * gdb.cp/converts.cc: New test program.
10584 * gdb.cp/converts.exp: New test.
10585 * gdb.cp/overload.exp: Added test for void* vs int*.
10586 * gdb.cp/overload.exp: Ditto.
10587 * gdb.cp/oranking.exp: Removed related kfail.
10588
105892010-10-13 Doug Evans <dje@google.com>
10590
10591 * lib/gdb-python.exp (gdb_check_python_config): New function.
10592 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10593 * gdb.python/lib-types.cc: New file.
10594 * gdb.python/lib-types.exp: New file.
10595
105962010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10597
10598 * gdb.python/py-error.exp: New file.
10599 * gdb.python/py-error.py: New file.
10600
106012010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10602
10603 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10604 gdb_test_multiple.
10605
106062010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10607
10608 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10609 * gdb.base/prelink.exp: Likewise.
10610 * gdb.base/solib-nodir.exp: Likewise.
10611 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10612 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10613 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10614
106152010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10616
10617 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10618 for the "info files" test to avoid timeouts on slow machines.
10619
106202010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10621
10622 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10623 (main): Make openlib dummy call.
10624
106252010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10626
10627 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10628 * break-interp.exp (reach): Move the core body ...
10629 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10630 (test_ld): Provide always real argument, even to the linker. Replace
10631 dl_main by _dl_debug_state.
10632
106332010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10634
10635 Fix results of prelinked PIEs on ppc*.
10636 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10637 Accept also DISPLACEMENT "PRESENT".
10638 (main): Replace "ZERO" displacements by "PRESENT".
10639
106402010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10641
10642 * gdb.cp/oranking.exp: New test.
10643 * gdb.cp/oranking.cc: New test program.
10644
106452010-10-08 Ken Werner <ken.werner@de.ibm.com>
10646
10647 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10648 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10649
106502010-10-06 Ken Werner <ken.werner@de.ibm.com>
10651
10652 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10653 lush, lynx) New constant.
10654 * gdb.base/constvars.exp: Test const array types.
10655 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10656
106572010-10-06 Doug Evans <dje@google.com>
10658
10659 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10660 of syscall staging area.
10661
106622010-10-06 Ken Werner <ken.werner@de.ibm.com>
10663
10664 * gdb.base/gnu_vector.c: Add variable c4.
10665 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10666 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10667
106682010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10669
10670 * gdb.arch/altivec-abi.exp: Fix a typo.
10671
106722010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10673
10674 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10675 to match a thread ID.
10676
106772010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10678
10679 Fix s390x testcase compatibility.
10680 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10681
106822010-10-01 Doug Evans <dje@google.com>
10683
10684 * lib/gdb-python.exp: New file.
10685 * gdb.python/py-block.exp: Use it.
10686 * gdb.python/py-breakpoint.exp: Ditto.
10687 * gdb.python/py-frame.exp: Ditto.
10688 * gdb.python/py-inferior.exp: Ditto.
10689 * gdb.python/py-param.exp: Ditto.
10690 * gdb.python/py-prettyprint.exp: Ditto.
10691 * gdb.python/py-shared.exp: Ditto.
10692 * gdb.python/py-symbol.exp: Ditto.
10693 * gdb.python/py-symtab.exp: Ditto.
10694 * gdb.python/py-type.exp: Ditto.
10695 * gdb.python/py-value.exp: Ditto.
10696 * gdb.python/python.exp: Ditto.
10697
106982010-09-30 Tom Tromey <tromey@redhat.com>
10699
10700 * gdb.base/anon.exp: New file.
10701 * gdb.base/anon.c: New file.
10702
107032010-09-30 Tom Tromey <tromey@redhat.com>
10704
10705 * gdb.base/completion.exp: Test completion through anonymous
10706 union.
10707 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10708
107092010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10710
10711 Fix printing parameters of inlined functions.
10712 * gdb.dwarf2/dw2-inline-param.exp: New file.
10713 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10714 * gdb.dwarf2/dw2-inline-param.S: New file.
10715
107162010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10717
10718 PR corefiles/12071.
10719 * gdb.base/corefile.exp (quit with a process, no question: load core)
10720 (quit with a core file): New tests.
10721
107222010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10723
10724 Fix GDB crash on inferior calls with self-referencing classes.
10725 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10726 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10727 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10728
107292010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10730
10731 Fix lost siginfo_t for inferior calls.
10732 * gdb.base/siginfo-infcall.exp: New file.
10733 * gdb.base/siginfo-infcall.c: New file.
10734
107352010-09-22 Joel Brobecker <brobecker@adacore.com>
10736
10737 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10738
107392010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10740
10741 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10742 New test.
10743 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10744
107452010-09-22 Joel Brobecker <brobecker@adacore.com>
10746
10747 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10748 type of our const type.
10749
107502010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10751
10752 * gdb.cp/pr12028.cc: New.
10753 * gdb.cp/pr12028.exp: New.
10754
107552010-09-22 Joel Brobecker <brobecker@adacore.com>
10756
10757 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10758
107592010-09-16 Phil Muldoon <pmuldoon@redhat.com>
10760 Jan Kratochvil <jan.kratochvil@redhat.com>
10761
10762 PR mi/11407
10763 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10764 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10765 * gdb.mi/dw2-ref-missing-frame.S New File.
10766 * gdb.mi/dw2-ref-missing-frame.exp New File.
10767
107682010-09-14 Tom Tromey <tromey@redhat.com>
10769
10770 PR symtab/8399:
10771 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10772
107732010-09-14 Tom Tromey <tromey@redhat.com>
10774
10775 PR exp/11803:
10776 * gdb.threads/tls.exp: Use C++.
10777 (check_thread_local): Use K::another_thread_local.
10778 * gdb.threads/tls.c (class K): New.
10779 (another_thread_local): Now a member of K.
10780 (spin): Update. No longer K&R C.
10781
107822010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10783
10784 * gdb.cp/koenig.cc: created class for testing member lookup.
10785 * gdb.cp/koenig.exp: Added test for member lookup.
10786
107872010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10788
10789 Fix false FAILs on sourcetree topdir directory containing "kill".
10790 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10791 source line matching regexp.
10792
107932010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10794
10795 * gdb.python/python.exp (set height 0, collect help from uiout)
10796 (verify help to uiout): New tests.
10797
107982010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10799
10800 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10801 is_lp64_target to check 64bit target.
10802
108032010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10804
10805 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10806 (test_ld) <powerpc64-*>: New.
10807
108082010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10809
10810 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10811
108122010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10813
10814 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10815 (FunctionArg::method): New function.
10816 (empty, arg): New variables.
10817 (main): Call arg.method.
10818 * gdb.cp/templates.exp (test_template_args): New function.
10819 (do_tests): Call it.
10820
108212010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10822
10823 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10824 of "next" to proceed over pthread_exit call.
10825
108262010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10827
10828 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10829 "maint print statistics" output to prevent expect timeouts.
10830
108312010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10832
10833 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10834 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10835 (test_float_rejected): ... here.
10836 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10837 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10838 (test_float_rejected): ... here.
10839 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10840 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10841 (test_float_rejected): ... here.
10842 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10843 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10844 (test_float_rejected): ... here.
10845
108462010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10847
10848 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10849 before disabling hardware watchpoints.
10850 (test_inaccessible_watchpoint): Check that hardware watchpoints
10851 are used. Test for watchpoints on a constant address.
10852
108532010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10854
10855 * gdb.base/ui-redirect.exp: New file.
10856
108572010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10858 Joel Brobecker <brobecker@adacore.com>
10859
10860 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10861
108622010-08-31 Doug Evans <dje@google.com>
10863
10864 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10865
108662010-08-30 Tom Tromey <tromey@redhat.com>
10867
10868 PR python/11792:
10869 * gdb.python/py-value.exp (test_subscript_regression): Add
10870 dynamic_type test.
10871
108722010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10873
10874 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10875 instead of running to main. Do not test the main function.
10876 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10877 Add new main.
10878
108792010-08-26 Pedro Alves <pedro@codesourcery.com>
10880
10881 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10882 one test.
10883
108842010-08-24 Doug Evans <dje@google.com>
10885
10886 PR symtab/11942
10887 * gdb.dwarf2/dw4-sig-types.cc: New file.
10888 * gdb.dwarf2/dw4-sig-types.h: New file.
10889 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10890 * gdb.dwarf2/dw4-sig-types.exp: New file.
10891
108922010-08-23 Tom Tromey <tromey@redhat.com>
10893
10894 PR python/11145:
10895 * gdb.python/py-value.c (Base, Derived): New types.
10896 (base): New global.
10897 * gdb.python/py-value.exp (test_subscript_regression): Add
10898 dynamic_cast test.
10899
109002010-08-23 Tom Tromey <tromey@redhat.com>
10901
10902 PR python/10676:
10903 * gdb.python/py-type.exp (test_fields): Add tests for type
10904 equality.
10905
109062010-08-23 Tom Tromey <tromey@redhat.com>
10907
10908 PR python/11915:
10909 * gdb.python/py-type.exp (test_fields): Add tests for array.
10910
109112010-08-23 Keith Seitz <keiths@redhat.com>
10912
10913 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10914 have any children. Create a new abbrev for it.
10915 Add missing terminal sequence to .debug_abbrev.
10916
109172010-08-20 Keith Seitz <keiths@redhat.com>
10918
10919 PR symtab/11465:
10920 * gdb.dwarf2/pr11465.exp: New test.
10921 * gdb.dwarf2/pr11465.S: New file.
10922 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10923 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10924
109252010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10926
10927 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10928 registers. Update data sets with the new v2_double element in the
10929 VSX register union. Add vector_register3_vr data set for the AltiVec
10930 registers. Use gdb_test_no_output instead of send_gdb.
10931
109322010-08-19 Pedro Alves <pedro@codesourcery.com>
10933
10934 * gdb.python/py-shared.exp: New file, factored out from
10935 python.exp.
10936 * gdb.python/py-shared.c: New file.
10937 * gdb.python/py-shared-sl.c: New file.
10938 * gdb.python/python-1.c: New file.
10939 * gdb.python/python-sl.c: Delete.
10940 * gdb.python/python.c: Mention python-1.c.
10941 * gdb.python/python.exp: Move shared library tests to
10942 py-shared.exp.
10943 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10944 (MISCELLANEOUS): New.
10945 (clean mostlyclean): Also remove $MISCELLANEOUS.
10946
109472010-08-19 Doug Evans <dje@google.com>
10948
10949 PR exp/11926
10950 * gdb.base/printcmds.exp (test_float_accepted): New function.
10951 Move existing float tests there. Add tests for floats with suffixes.
10952 (test_float_rejected): New function.
10953 * gdb.java/jv-print.exp (test_float_accepted): New function.
10954 (test_float_rejected): New function.
10955 * gdb.objc/print.exp: New file.
10956 * gdb.pascal/print.exp: New file.
10957 * lib/objc.exp: New file.
10958
109592010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10960
10961 * gdb.base/default.exp (info set): Avoid full buffer error and force
10962 reading up to final gdb prompt.
10963 (show): Likewise.
10964
109652010-08-18 Tom Tromey <tromey@redhat.com>
10966
10967 PR symtab/11919:
10968 * gdb.base/completion.exp: Add test.
10969
109702010-08-18 Doug Evans <dje@google.com>
10971
10972 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10973 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10974 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10975 Simplify, early exit if runto_main fails.
10976 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10977 (set_lang_fortran): Moved to lib/fortran.exp.
10978 * gdb.fortran/types.exp: load_lib fortran.exp.
10979 (set_lang_fortran): Moved to lib/fortran.exp.
10980 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10981 * gdb.java/jprint.exp (set_lang_java): Ditto.
10982 * gdb.java/jv-exp.exp: load_lib java.exp.
10983 If set_lang_java fails, issue a warning instead of failure to be
10984 consistent with other set_lang_foo uses.
10985 (set_lang_java): Moved to lib/java.exp.
10986 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10987 If set_lang_java fails, issue a warning instead of failure to be
10988 consistent with other set_lang_foo uses.
10989 * gdb.pascal/types.exp: load_lib pascal.exp.
10990 (set_lang_pascal): Moved to lib/pascal.exp.
10991 * lib/fortran.exp: New file.
10992 * lib/java.exp (set_lang_java): New function.
10993 * lib/pascal.exp (set_lang_pascal): New function.
10994
109952010-08-18 Yao Qi <yao@codesourcery.com
10996
10997 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10998 func_nofb_start and func_loopfb_start, so that address of functions
10999 is equal to these labels on Thumb.
11000
110012010-08-18 Yao Qi <yao@codesourcery.com>
11002
11003 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
11004 to reflect latest c source file.
11005
110062010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11007
11008 * gdb.cp/infcall-dlopen.exp: New file.
11009 * gdb.cp/infcall-dlopen.cc: New file.
11010 * gdb.cp/infcall-dlopen-lib.cc: New file.
11011
110122010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11013 Pedro Alves <pedro@codesourcery.com>
11014
11015 PR breakpoints/11371
11016
11017 * gdb.base/watch-cond-infcall.exp: New file.
11018 * gdb.base/watch-cond-infcall.c: New file.
11019
110202010-08-16 Tom Tromey <tromey@redhat.com>
11021
11022 * gdb.base/help.exp: Update.
11023 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
11024 watchpoint.
11025 (test_watch_location): New proc.
11026 (test_watchpoint_in_big_blob): Delete watchpoint.
11027 * gdb.base/watchpoint.c (func5): New function.
11028 (main): Call it.
11029
110302010-08-16 Doug Evans <dje@google.com>
11031
11032 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
11033
110342010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11035
11036 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
11037 tests.
11038
110392010-08-11 Ken Werner <ken.werner@de.ibm.com>
11040
11041 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
11042 * gdb.base/gnu_vector.c: New File.
11043 * gdb.base/gnu_vector.exp: Likewise.
11044
110452010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11046
11047 * gdb.python/python.c: New File.
11048 * gdb.python/python-sl.c: New File.
11049 * gdb.python/python.exp: Test solib_address and decode_line
11050 * functions.
11051
110522010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11053
11054 * gdb.python/python.exp (show height, set height 10)
11055 (verify pagination beforehand, verify pagination beforehand: q)
11056 (gdb.execute does not page, verify pagination afterwards)
11057 (verify pagination afterwards: q): New.
11058
110592010-08-02 Doug Evans <dje@google.com>
11060
11061 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
11062 because of an older gcc, change test2
11063 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
11064 to unsupported.
11065
110662010-07-30 Kazu Hirata <kazu@codesourcery.com>
11067
11068 * gdb.base/break-always.exp: Do not expect full paths to file
11069 names.
11070 * gdb.base/commands.exp: Likewise.
11071
110722010-07-30 Doug Evans <dje@google.com>
11073
11074 * gdb.cp/temargs.exp: For new tests that require newer gccs,
11075 xfail them when run with older gccs.
11076
11077 * lib/gdb.exp (build_executable): Forward "c++" option to
11078 get_compiler_info.
11079
11080 * gdb.python/py-type.exp (test_template): Mark as xfail tests
11081 "python print ttype.template_argument(1)" and
11082 "python print isinstance(ttype.template_argument(1), gdb.Value)"
11083 if using gcc 4.4 or earlier.
11084
11085 * gdb.base/valgrind-db-attach.exp: Use unique test name for
11086 attach-to-debugger handling.
11087
110882010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11089
11090 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
11091 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
11092 (main): Use copyreloc.
11093 * gdb.base/prelink.exp (split debug of executable)
11094 (.dynbss vs. .bss address shift): New tests.
11095
110962010-07-29 Pedro Alves <pedro@codesourcery.com>
11097
11098 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
11099 in gdb_test_multiple.
11100
111012010-07-29 Pedro Alves <pedro@codesourcery.com>
11102
11103 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
11104 environment.
11105
111062010-07-28 Tom Tromey <tromey@redhat.com>
11107
11108 PR python/11060:
11109 * gdb.python/py-type.c (Temargs): New template.
11110 (temvar): New variable.
11111 * gdb.python/py-type.exp (test_template): New proc.
11112
111132010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11114
11115 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
11116 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
11117
111182010-07-28 Tom Tromey <tromey@redhat.com>
11119
11120 PR c++/9946:
11121 * gdb.cp/temargs.exp: New file.
11122 * gdb.cp/temargs.cc: New file.
11123
111242010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11125
11126 * gdb.base/help.exp (help disassemble): Update the content.
11127
111282010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11129
11130 * gdb.threads/ia64-sigill.exp: New file.
11131 * gdb.threads/ia64-sigill.c: New file.
11132
111332010-07-27 Tom Tromey <tromey@redhat.com>
11134
11135 * gdb.opt/inline-cmds.c (ATTR): New define.
11136 (func1): Use it.
11137 (func2): Likewise.
11138 (func3): Likewise.
11139 (outer_inline1): Likewise.
11140 (outer_inline2): Likewise.
11141 * gdb.opt/inline-bt.c (ATTR): New define.
11142 (func1): Use it.
11143 (func2): Likewise.
11144 * gdb.opt/inline-locals.c (ATTR): New define.
11145 (func1): Use it.
11146 (func2): Likewise.
11147
111482010-07-27 Tom Tromey <tromey@redhat.com>
11149
11150 * gdb.stabs/gdb11479.c (hack): New function.
11151 (test): Use it.
11152 (test2): Use it.
11153 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
11154 (int32_search_buf, int64_search_buf): No longer static.
11155 (x): Remove.
11156 * gdb.base/relocate.c (hack): New function.
11157
111582010-07-27 Phil Muldoon <pmuldoon@redhat.com>
11159
11160 * gdb.python/py-value.exp (test_inferior_function_call): New function.
11161 * gdb.python/py-value.c (func1): New function.
11162 (func2): Likewise.
11163
111642010-07-26 Corinna Vinschen <vinschen@redhat.com>
11165
11166 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
11167 as not to clash with .data section.
11168
111692010-07-26 Jerome Guitton <guitton@adacore.com>
11170
11171 * gdb.base/code_elim.exp: New file.
11172 * gdb.base/code_elim1.c: New file.
11173 * gdb.base/code_elim2.c: New file.
11174
111752010-07-21 Pedro Alves <pedro@codesourcery.com>
11176
11177 PR symtab/11827
11178
11179 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
11180 (some_volatile_enum): New variable.
11181 * gdb.base/printcmds.exp (test_print_enums): New.
11182 <top level>: Call it.
11183
111842010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
11185
11186 * gdb.cp/fpointer.cc: New test.
11187 * gdb.cp/fpointer.exp: New test.
11188
111892010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11190
11191 * gdb.base/solib-nodir.exp: New file.
11192 * lib/gdb.exp (runto): New case for a GDB internal error.
11193
111942010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11195 Ulrich Weigand <uweigand@de.ibm.com>
11196 Tom Tromey <tromey@redhat.com>
11197
11198 * gdb.base/charset-malloc.c: New file.
11199 * gdb.base/charset.c (malloc_stub): New prototype.
11200 (main): Call it instead of malloc itself.
11201 * gdb.base/charset.exp: Use only prepare_for_testing.
11202 (binfile): Remove the variable.
11203
112042010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11205
11206 Make core files the process_stratum.
11207 * gdb.base/corefile.exp (run: load core again)
11208 (run: sanity check we see the core file, run: with core)
11209 (run: core file is cleared, attach: load core again)
11210 (attach: sanity check we see the core file, attach: with core)
11211 (attach: core file is cleared): New tests.
11212 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
11213
112142010-07-14 Ken Werner <ken.werner@de.ibm.com>
11215
11216 * gdb.arch/altivec-abi.exp: New tests.
11217
112182010-07-13 Tom Tromey <tromey@redhat.com>
11219
11220 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
11221 (main): Use it.
11222 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
11223
112242010-07-13 Tom Tromey <tromey@redhat.com>
11225
11226 * gdb.base/label.exp: New file.
11227 * gdb.base/label.c: New file.
11228
112292010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
11230 H.J. Lu <hongjiu.lu@intel.com>
11231
11232 * lib/gdb.exp (is_ilp32_target): New.
11233 (is_lp64_target): Likewise.
11234
11235 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
11236 target.
11237 * gdb.arch/amd64-disp-step.exp: Likewise.
11238 * gdb.arch/amd64-dword.exp: Likewise.
11239 * gdb.arch/amd64-i386-address.exp: Likewise.
11240 * gdb.arch/amd64-word.exp: Likewise.
11241
11242 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
11243 target.
11244 * gdb.arch/i386-bp_permanent.exp: Likewise.
11245 * gdb.arch/i386-byte.exp: Likewise.
11246 * gdb.arch/i386-disp-step.exp: Likewise.
11247 * gdb.arch/i386-gnu-cfi.exp: Likewise.
11248 * gdb.arch/i386-prologue.exp: Likewise.
11249 * gdb.arch/i386-size-overlap.exp: Likewise.
11250 * gdb.arch/i386-size.exp: Likewise.
11251 * gdb.arch/i386-sse.exp: Likewise.
11252 * gdb.arch/i386-unwind.exp: Likewise.
11253 * gdb.arch/i386-word.exp: Likewise.
11254
11255 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
11256 test only when building 64-bit executables. Do not hard-code
11257 -m64 option.
11258
112592010-07-07 Doug Evans <dje@google.com>
11260
11261 * lib/gdb.exp (gdb_test_list_exact): New function.
11262 * gdb.base/default.exp (show convenience): Call it, add tests for
11263 $_sdata = void, $_thread = 0.
11264
112652010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11266 Joel Brobecker <brobecker@adacore.com>
11267
11268 Fix re-run of PIE executable, PR shlibs/11776.
11269 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
11270 Remove $displacement_main to match the solib-svr4.c change. New "kill"
11271 and re-"run" of the inferior.
11272
112732010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11274 Joel Brobecker <brobecker@adacore.com>
11275
11276 Cope with missing /usr/sbin/prelink.
11277 * lib/prelink-support.exp (prelink_no):
11278 <result == 1 && $output is "no such file or directory">: New.
11279 (prelink_yes): Likewise. Return on failed prelink_no.
11280
112812010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11282 Joel Brobecker <brobecker@adacore.com>
11283
11284 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
11285 build_executable by build_executable_own_libs. Replace "prelink -R"
11286 execution by a call of prelink_yes. Comment why "prelink -r" needs no
11287 change.
11288 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
11289 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
11290 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
11291 Replace build_executable by build_executable_own_libs's function
11292 build_executable_own_libs.
11293 (prelinkNO): Create new stub to call prelink_no.
11294 (prelinkYES): Create new stub to call prelink_yes.
11295 (test_attach): Rename calls of copy to file_copy.
11296 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
11297 (copy): Move to ...
11298 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
11299 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
11300 * gdb.base/prelink.exp: Disable testcase also for is_remote and
11301 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
11302 special flags by gdb_compile_shlib. Replace second gdb_compile by
11303 build_executable_own_libs. Replace "prelink -R" execution by a call of
11304 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
11305 a second call of prelink_yes. Replace restart commands by
11306 clean_restart.
11307 (prelink): Rename to ...
11308 (seen displacement message): ... this test. Extend its expectation
11309 strictness.
11310
113112010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11312
11313 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
11314 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
11315 displacement message exactly once.
11316
113172010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11318 Joel Brobecker <brobecker@adacore.com>
11319
11320 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
11321 its restore after the <$relink_args != ""> loop. new comment.
11322
113232010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11324 Joel Brobecker <brobecker@adacore.com>
11325
11326 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
11327 code for it. New variable relink_args.
11328 (prelinkYES): Call prelinkNO.
11329 (test_attach): Accept new parameter relink_args. Re-prelink the binary
11330 in such case. Move the core code to ...
11331 (test_attach_gdb): ... a new function. Send GDB command "file".
11332 Extend expected "Attaching to " string.
11333
113342010-07-02 Tom Tromey <tromey@redhat.com>
11335
11336 * gdb.base/bitops.exp: Remove extraneous "pass".
11337
113382010-07-02 Ken Werner <ken.werner@de.ibm.com>
11339
11340 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11341
113422010-07-01 Pedro Alves <pedro@codesourcery.com>
11343
11344 * gdb.base/help.exp: Adjust expected output.
11345
113462010-07-01 Pedro Alves <pedro@codesourcery.com>
11347
11348 * gdb.base/help.exp: Adjust expected output.
11349
113502010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11351
11352 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11353 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11354 c++/11702.
11355
113562010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11357 Doug Evans <dje@google.com>
11358
11359 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11360 add .dynamic entry'.
11361
113622010-06-29 Doug Evans <dje@google.com>
11363
11364 Test PR c++/11702.
11365 * gdb.cp/m-static.exp: Add testcase.
11366 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11367
113682010-06-28 Phil Muldoon <pmuldoon@redhat.com>
11369 Tom Tromey <tromey@redhat.com>
11370 Thiago Jung Bauermann <bauerman@br.ibm.com>
11371
11372 * gdb.python/py-inferior.c: New File.
11373 * gdb.python/py-infthread.c: New File.
11374 * gdb.python/py-inferior.exp: New File.
11375 * gdb.python/py-infthread.exp: New File.
11376
113772010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11378
11379 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11380 (ptype ::C::OtherFileClass typedefs): New.
11381 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11382 (C::OtherFileClass::cOtherFileClassVar2): New.
11383 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11384 cOtherFileClassVar2.
11385 (C::cOtherFileType2, C::cOtherFileVar2): New.
11386 (C::cOtherFileVar_use): use also cOtherFileVar2.
11387 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11388
113892010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11390
11391 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11392 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11393 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11394 (print ::C::cOtherFileVar)
11395 (whatis C::OtherFileClass::cOtherFileClassType)
11396 (whatis ::C::OtherFileClass::cOtherFileClassType)
11397 (print C::OtherFileClass::cOtherFileClassVar)
11398 (print ::cOtherFileClassVar)
11399 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11400 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11401 trailing content.
11402 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11403 (C::OtherFileClass::cOtherFileClassVar)
11404 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11405 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11406
114072010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11408
11409 Test PR c++/11703 and PR gdb/1448.
11410 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11411 gdb/1448.
11412
114132010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11414
11415 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11416 (main) <rtti_data>: New.
11417 * gdb.cp/virtbase.exp (print rtti_data): New.
11418
114192010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11420 Joel Brobecker <brobecker@adacore.com>
11421
11422 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11423
114242010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11425
11426 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11427
114282010-06-28 Doug Evans <dje@google.com>
11429
11430 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11431
114322010-06-27 Doug Evans <dje@google.com>
11433
11434 * gdb.cp/m-static.exp: Update expected test output.
11435
114362010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11437
11438 * gdb.gdb/selftest.exp: Adjust expected message for
11439 capturing start-up runtime.
11440
114412010-06-25 Tom Tromey <tromey@redhat.com>
11442
11443 PR python/10808:
11444 * gdb.python/python.exp: Add new tests.
11445
114462010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11447
11448 * gdb.cp/operator.cc: Created an import loop.
11449 * gdb.cp/operator.exp: Added testcase for import loop.
11450
114512010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11452
11453 Test PR python/11407.
11454 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11455 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11456 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11457 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11458 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11459 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11460 binfile. Call gdb_compile with clean_restart twice.
11461 (func_nofb print, func_nofb backtrace, func_loopfb print)
11462 (func_loopfb backtrace): New.
11463
114642010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11465
11466 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11467 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11468 by a hand made one.
11469 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11470 i?86 requirement. Remove variables srcfile and binfile. New variable
11471 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11472
114732010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11474
11475 * gdb.cell/dwarfaddr.exp: New file.
11476 * gdb.cell/dwarfaddr.S: New file.
11477
114782010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11479
11480 Test PR 9436.
11481 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11482
114832010-06-24 Hui Zhu <teawater@gmail.com>
11484
11485 * gdb.base/eval.exp: New file.
11486
114872010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11488
11489 * gdb.cell/fork.exp: New file.
11490 * gdb.cell/fork.c: Likewise.
11491 * gdb.cell/fork-spu.c: Likewise.
11492
114932010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11494
11495 * lib/gdb.exp (banned_variables_traced): New global variable.
11496 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11497 (gdb_init): Use `trace add variable' instead of obsolete
11498 `trace variable'.
11499
115002010-06-21 Doug Evans <dje@google.com>
11501
11502 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11503
115042010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11505
11506 * gdb.arch/spu-ls.exp: New file.
11507 * gdb.arch/spu-ls.c: Likewise.
11508
115092010-06-18 Stan Shebs <stan@codesourcery.com>
11510
11511 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11512
115132010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11514
11515 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11516 * gdb.base/watch-cond.exp: Likewise.
11517 * gdb.python/py-breakpoint.exp: Likewise.
11518
115192010-06-18 Pedro Alves <pedro@codesourcery.com>
11520
11521 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11522 clean_restart, make sure every test has a distinct message, and
11523 that messages don't include the executable' full path.
11524
115252010-06-17 Doug Evans <dje@google.com>
11526
11527 * gdb.arch/i386-size.exp: Updated expected output for
11528 DISASSEMBLY_OMIT_FNAME.
11529
115302010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11531 Sergio Durigan Junior <sergiodj@redhat.com>
11532
11533 * gdb.base/watch-notconst.c: New file.
11534 * gdb.base/watch-notconst.S: New file.
11535 * gdb.base/watch-notconst2.c: New file.
11536 * gdb.base/watch-notconst2.S: New file.
11537 * gdb.base/watch-notconst.exp: New file.
11538 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11539 (func4): Add operations on `global_ptr_ptr'.
11540 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11541 routine to test watchpoints created with a constant expression.
11542 (test_inaccessible_watchpoint): Include tests for watchpoints
11543 created with a constant expression.
11544
115452010-06-14 Kevin Buettner <kevinb@redhat.com>
11546
11547 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11548 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11549 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11550 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11551 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11552 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11553 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11554 of `_start'.
11555
115562010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11557
11558 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11559 not supported on the target.
11560 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11561 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11562 * gdb.mi/mi-nsintrall.exp: Likewise.
11563 * gdb.mi/mi-nsmoribund.exp: Likewise.
11564 * gdb.mi/mi-nsthrexec.exp: Likewise.
11565
115662010-06-11 Stan Shebs <stan@codesourcery.com>
11567
11568 * gdb.base/permissions.exp: New file.
11569
115702010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11571
11572 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11573 does not support ELF executable class.
11574
115752010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11576
11577 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11578
115792010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11580
11581 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11582 (runto): Catch "The target does not support running in non-stop mode.".
11583
115842010-06-11 Michael Snyder <msnyder@vmware.com>
11585
11586 * gdb.base/setshow.exp (set language asm): Don't use
11587 gdb_test_no_output, fails on some targets.
11588
115892010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11590
11591 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11592 * gdb.cp/pr9167.exp: Likewise.
11593
115942010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11595
11596 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11597
115982010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11599
11600 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11601
116022010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11603
11604 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11605
116062010-06-11 Tom Tromey <tromey@redhat.com>
11607
11608 PR gdb/9977, PR exp/11636::
11609 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11610 (pieces_test_f6): Update expected output.
11611
116122010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11613
11614 * gdb.base/moribund-step.exp: New.
11615
116162010-06-08 Michael Snyder <msnyder@vmware.com>
11617
11618 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
11619 * gdb.ada/boolean_expr.exp:
11620 * gdb.ada/frame_args.exp: Ditto.
11621 * gdb.ada/lang_switch.exp: Ditto.
11622 * gdb.ada/ptype_arith_binop.exp: Ditto.
11623 * gdb.ada/ref_param.exp: Ditto.
11624 * gdb.ada/type_coercion.exp:Ditto.
11625
11626 * gdb.asm/asm-source.exp: Ditto.
11627
11628 * gdb.base/attach.exp: Ditto.
11629 * gdb.base/bitfields2.exp: Ditto.
11630 * gdb.base/call-signal-resume.exp: Ditto.
11631 * gdb.base/callfuncs.exp: Ditto.
11632 * gdb.base/commands.exp: Ditto.
11633 * gdb.base/dbx.exp: Ditto.
11634 * gdb.base/default.exp: Ditto.
11635 * gdb.base/dump.exp: Ditto.
11636 * gdb.base/exprs.exp: Ditto.
11637 * gdb.base/freebpcmd.exp: Ditto.
11638 * gdb.base/interrupt.exp: Ditto.
11639 * gdb.base/list.exp: Ditto.
11640 * gdb.base/long_long.exp: Ditto.
11641 * gdb.base/maint.exp: Ditto.
11642 * gdb.base/ptype.exp: Ditto.
11643 * gdb.base/return.exp: Ditto.
11644 * gdb.base/setshow.exp: Ditto.
11645 * gdb.base/sigbpt.exp: Ditto.
11646 * gdb.base/sigrepeat.exp: Ditto.
11647
11648 * gdb.cp/classes.exp: Ditto.
11649
11650 * gdb.dwarf2/dw2-restore.exp: Ditto.
11651
11652 * gdb.gdb/selftest.exp: Ditto.
11653
11654 * gdb.multi/base.exp: Ditto.
11655 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11656
11657 * gdb.python/py-block.exp: Ditto.
11658 * gdb.python/py-prettyprint.exp: Ditto.
11659 * gdb.python/py-template.exp: Ditto.
11660
11661 * gdb.server/ext-attach.exp: Ditto.
11662 * gdb.server/ext-run.exp: Ditto.
11663 * gdb.server/server-mon.exp: Ditto.
11664
11665 * gdb.threads/fork-thread-pending.exp: Ditto.
11666 * gdb.threads/hand-call-in-threads.exp: Ditto.
11667 * gdb.threads/interrupted-hand-call.exp: Ditto.
11668 * gdb.threads/linux-dp.exp: Ditto.
11669 * gdb.threads/manythreads.exp: Ditto.
11670 * gdb.threads/print-threads.exp: Ditto.
11671 * gdb.threads/pthreads.exp: Ditto.
11672 * gdb.threads/schedlock.exp: Ditto.
11673 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11674 * gdb.threads/threadapply.exp: Ditto.
11675
116762010-06-08 Michael Snyder <msnyder@vmware.com>
11677
11678 * gdb.ada/exec_changed.exp:
11679 Use ".*" instead of "" as wildcard regexp.
11680
11681 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11682 * gdb.base/call-ar-st.exp: Ditto.
11683 * gdb.base/checkpoint.exp: Ditto.
11684 * gdb.base/default.exp: Ditto.
11685 * gdb.base/dump.exp: Ditto.
11686 * gdb.base/ending-run.exp: Ditto.
11687 * gdb.base/fileio.exp: Ditto.
11688 * gdb.base/miscexprs.exp: Ditto.
11689 * gdb.base/pointers.exp: Ditto.
11690 * gdb.base/readline.exp: Ditto.
11691 * gdb.base/reread.exp: Ditto.
11692 * gdb.base/restore.exp: Ditto.
11693 * gdb.base/shlib-call.exp: Ditto.
11694 * gdb.base/valgrind-db-attach.exp: Ditto.
11695 * gdb.base/volatile.exp: Ditto.
11696 * gdb.base/watchpoints.exp: Ditto.
11697
11698 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11699
11700 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11701 * gdb.python/py-value.exp: Ditto.
11702
11703 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11704 * gdb.trace/circ.exp: Ditto.
11705 * gdb.trace/collection.exp: Ditto.
11706 * gdb.trace/packetlen.exp: Ditto.
11707 * gdb.trace/passc-dyn.exp: Ditto.
11708 * gdb.trace/report.exp: Ditto.
11709 * gdb.trace/tfile.exp: Ditto.
11710 * gdb.trace/tfind.exp: Ditto.
11711 * gdb.trace/while-dyn.exp: Ditto.
11712
117132010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11714
11715 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11716
117172010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11718
11719 Test PR 10640.
11720 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11721
117222010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11723
11724 * gdb.cp/koenig.exp: Test for ADL operators.
11725 * gdb.cp/koenig.cc: Added ADL operators.
11726 * gdb.cp/operator.exp: New test.
11727 * gdb.cp/operator.cc: New test.
11728
117292010-06-04 Michael Snyder <msnyder@vmware.com>
11730
11731 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11732 * gdb.base/pending.exp: Ditto.
11733
11734 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11735
117362010-06-04 Doug Evans <dje@google.com>
11737
11738 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11739 disabled printers.
11740 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11741 (enable_lookup_function): New function.
11742
117432010-06-04 Tom Tromey <tromey@redhat.com>
11744
11745 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11746 of hash and id.
11747
117482010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11749
11750 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11751 newline.
11752 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11753 (empty verbose non-noisy clear, empty verbose noisy clear)
11754 (empty non-verbose noisy clear): Likewise.
11755
117562010-06-03 Michael Snyder <msnyder@vmware.com>
11757
11758 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11759 * gdb.base/display.exp: Ditto.
11760 * gdb.base/find.exp: Ditto.
11761 * gdb.base/ifelse.exp: Ditto.
11762 * gdb.base/multi-forks.exp: Ditto.
11763 * gdb.base/recurse.exp: Ditto.
11764 * gdb.base/setshow.exp: Ditto.
11765 * gdb.base/value-double-free.exp: Ditto.
11766 * gdb.base/watch-vfork.exp: Ditto.
11767 * gdb.base/watch_thread_num.exp: Ditto.
11768 * gdb.base/watchpoint-solib.exp: Ditto.
11769 * gdb.base/watchpoint.exp: Ditto.
11770 * gdb.base/watchpoints.exp: Ditto.
11771
11772 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11773 * gdb.cp/overload.exp: Ditto.
11774 * gdb.cp/virtfunc.exp: Ditto.
11775
11776 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11777
11778 * gdb.reverse/watch-precsave.exp:
11779 Replace gdb_test with gdb_test_no_output.
11780
11781 * gdb.threads/attach-into-signal.exp:
11782 Replace gdb_test with gdb_test_no_output.
11783 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11784 * gdb.threads/watchthreads.exp: Ditto.
11785 * gdb.threads/watchthreads2.exp: Ditto.
11786
11787 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11788 * gdb.trace/tfind.exp: Ditto.
11789
117902010-06-03 Joel Brobecker <brobecker@adacore.com>
11791
11792 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11793 successful test if message is the empty string.
11794
117952010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11796
11797 * gdb.fortran/module.exp (stopped language detection): New test.
11798
117992010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11800
11801 Support DW_TAG_module as separate namespaces.
11802 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11803 gdb.fortran/library-module-lib.f90: New.
11804 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11805 (print i): Remove.
11806 (continue to breakpoint: i-is-1, print var_i value 1)
11807 (continue to breakpoint: i-is-2, print var_i value 2)
11808 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11809 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11810 (complete `modmany, complete `modmany`, complete `modmany`var)
11811 (show language, setting breakpoint at module): New tests.
11812 * gdb.fortran/module.f90 (module mod): Remove.
11813 (module mod1, module mod2, module modmany, subroutine sub1)
11814 (subroutine sub2, program module): New.
11815
118162010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11817
11818 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11819 (print value of rUC, print value of rI, print value of UI): ... here.
11820 * gdb.cp/anon-union.exp (pass): Rename to ...
11821 (print z 2): ... here.
11822
118232010-06-02 Michael Snyder <msnyder@vmware.com>
11824
11825 * gdb.trace/actions.exp: Use gdb_test_no_output.
11826 * gdb.trace/circ.exp: Ditto.
11827 * gdb.trace/packetlen.exp: Ditto.
11828 * gdb.trace/save-trace.exp: Ditto.
11829 * gdb.trace/tracecmd.exp: Ditto.
11830 * gdb.trace/tsv.exp: Ditto.
11831
11832 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11833 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11834 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11835 * gdb.threads/manythreads.exp: Ditto.
11836 * gdb.threads/print-threads.exp: Ditto.
11837 * gdb.threads/pthreads.exp: Ditto.
11838 * gdb.threads/schedlock.exp: Ditto.
11839 * gdb.threads/staticthreads.exp: Ditto.
11840 * gdb.threads/thread-specific.exp: Ditto.
11841 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11842 * gdb.threads/threadapply.exp: Ditto.
11843 * gdb.threads/watchthreads.exp: Ditto.
11844 * gdb.threads/watchthreads2.exp: Ditto.
11845
11846 * gdb.python/py-block.exp: Use gdb_test_no_output.
11847 * gdb.python/py-prettyprint.exp: Ditto.
11848 * gdb.python/py-template.exp: Ditto.
11849 * gdb.python/py-value.exp: Ditto.
11850
11851 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11852 * gdb.reverse/watch-reverse.exp: Ditto.
11853
11854 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11855 * gdb.server/ext-run.exp: Ditto.
11856
11857 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11858 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11859 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11860 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11861 * gdb.dwarf2/dw2-producer.exp: Ditto.
11862 * gdb.dwarf2/mac-fileno.exp: Ditto.
11863
11864 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11865 * gdb.gdb/selftest.exp: Ditto.
11866
11867 * gdb.multi/base.exp: Use gdb_test_no_output.
11868
11869 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11870
118712010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11872
11873 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11874
118752010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11876
11877 * gdb.cp/class2.exp: Use gdb_test_no_output.
11878 * gdb.cp/classes.exp: Ditto.
11879 * gdb.cp/extern-c.exp: Ditto.
11880 * gdb.cp/inherit.exp: Ditto.
11881 * gdb.cp/maint.exp: Ditto.
11882 * gdb.cp/mb-inline.exp: Ditto.
11883 * gdb.cp/mb-templates.exp: Ditto.
11884 * gdb.cp/method2.exp: Ditto.
11885 * gdb.cp/misc.exp: Ditto.
11886 * gdb.cp/ovldbreak.exp: Ditto.
11887 * gdb.cp/punctuator.exp: Ditto.
11888 * gdb.cp/templates.exp: Ditto.
11889 * gdb.cp/virtbase.exp: Ditto.
11890
11891 * gdb.threads/attach-stopped.exp:
11892 Replace uses of send_gdb / gdb_expect.
11893 * gdb.threads/attachstop-mt.exp:
11894 Replace uses of send_gdb / gdb_expect.
11895 * gdb.threads/gcore-thread.exp:
11896 Replace uses of send_gdb / gdb_expect.
11897 * gdb.threads/hand-call-in-threads.exp:
11898 Replace uses of send_gdb / gdb_expect.
11899 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11900 * gdb.threads/print-threads.exp:
11901 Replace uses of send_gdb / gdb_expect.
11902 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11903 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11904 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11905
11906 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11907 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11908 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11909 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11910 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11911 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11912 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11913 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11914 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11915 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11916 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11917
119182010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11919
11920 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11921
119222010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11923
11924 * gdb.cp/koenig.exp: Added new test case.
11925 * gdb.cp/koenig.cc: Ditto.
11926
119272010-06-01 Michael Snyder <msnyder@vmware.com>
11928
11929 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11930 * gdb.base/arrayidx.exp: Ditto.
11931 * gdb.base/attach.exp: Ditto.
11932 * gdb.base/auxv.exp: Ditto.
11933 * gdb.base/bigcre.exp: Ditto.
11934 * gdb.base/break-always.exp: Ditto.
11935 * gdb.base/break-interp.exp: Ditto.
11936 * gdb.base/break.exp: Ditto.
11937 * gdb.base/breakpoint-shadow.exp: Ditto.
11938 * gdb.base/call-ar-st.exp: Ditto.
11939 * gdb.base/call-sc.exp: Ditto.
11940 * gdb.base/call-signal-resume.exp: Ditto.
11941 * gdb.base/callfuncs.exp: Ditto.
11942 * gdb.base/catch-syscall.exp: Ditto.
11943 * gdb.base/charset.exp: Ditto.
11944 * gdb.base/code-expr.exp: Ditto.
11945 * gdb.base/commands.exp: Ditto.
11946 * gdb.base/cond-expr.exp: Ditto.
11947 * gdb.base/condbreak.exp: Ditto.
11948 * gdb.base/cursal.exp: Ditto.
11949 * gdb.base/cvexpr.exp: Ditto.
11950 * gdb.base/default.exp: Ditto.
11951 * gdb.base/del.exp: Ditto.
11952 * gdb.base/detach.exp: Ditto.
11953 * gdb.base/display.exp: Ditto.
11954 * gdb.base/ena-dis-br.exp: Ditto.
11955 * gdb.base/eval-skip.exp: Ditto.
11956 * gdb.base/foll-fork.exp: Ditto.
11957 * gdb.base/foll-vfork.exp: Ditto.
11958 * gdb.base/frame-args.exp: Ditto.
11959 * gdb.base/funcargs.exp: Ditto.
11960 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11961 * gdb.base/gdbvars.exp: Ditto.
11962 * gdb.base/help.exp: Ditto.
11963 * gdb.base/ifelse.exp: Ditto.
11964 * gdb.base/included.exp: Ditto.
11965 * gdb.base/list.exp: Ditto.
11966 * gdb.base/macscp.exp: Ditto.
11967 * gdb.base/maint.exp: Ditto.
11968 * gdb.base/multi-fork.exp: Ditto.
11969 * gdb.base/overlays.exp: Ditto.
11970 * gdb.base/page.exp: Ditto.
11971 * gdb.base/pending.exp: Ditto.
11972 * gdb.base/pointers.exp: Ditto.
11973 * gdb.base/pr11022.exp: Ditto.
11974 * gdb.base/prelink.exp: Ditto.
11975 * gdb.base/printcmds.exp: Ditto.
11976 * gdb.base/psymtab.exp: Ditto.
11977 * gdb.base/randomize.exp: Ditto.
11978 * gdb.base/relational.exp: Ditto.
11979 * gdb.base/relocate.exp: Ditto.
11980 * gdb.base/remote.exp: Ditto.
11981 * gdb.base/sepdebug.exp: Ditto.
11982 * gdb.base/set-lang-auto.exp: Ditto.
11983 * gdb.base/setshow.exp: Ditto.
11984 * gdb.base/setvar.exp: Ditto.
11985 * gdb.base/signals.exp: Ditto.
11986 * gdb.base/signull.exp: Ditto.
11987 * gdb.base/sigstep.exp: Ditto.
11988 * gdb.base/sizeof.exp: Ditto.
11989 * gdb.base/solib-disc.exp: Ditto.
11990 * gdb.base/store.exp: Ditto.
11991 * gdb.base/structs.exp: Ditto.
11992 * gdb.base/structs2.exp: Ditto.
11993 * gdb.base/subst.exp: Ditto.
11994 * gdb.base/term.exp: Ditto.
11995 * gdb.base/trace-commands.exp: Ditto.
11996 * gdb.base/unwindonsignal.exp: Ditto.
11997 * gdb.base/valgrind-db-attach.exp: Ditto.
11998 * gdb.base/varargs.exp: Ditto.
11999 * gdb.base/watch-cond.exp: Ditto.
12000 * gdb.base/watch_thread_num.exp: Ditto.
12001 * gdb.base/watchpoint-cond-gone.exp: Ditto.
12002 * gdb.base/watchpoint.exp: Ditto.
12003 * gdb.base/whatis-exp.exp: Ditto.
12004
120052010-06-01 Michael Snyder <msnyder@vmware.com>
12006
12007 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
12008 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
12009 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
12010 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
12011 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
12012 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
12013 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
12014 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
12015 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
12016 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
12017 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
12018 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
12019 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
12020 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
12021 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
12022
120232010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12024
12025 * gdb.base/commands.exp (begin commands on watch): Remove excessive
12026 trailing newline.
12027 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
12028 * gdb.java/jmisc.exp (p *args\n): Rename to ...
12029 (p *args): ... here and remove excessive trailing newline.
12030
120312010-05-31 Joel Brobecker <brobecker@adacore.com>
12032
12033 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
12034
120352010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12036
12037 Accept the new Linux kernel "t (tracing stop)" string.
12038 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
12039 Update comment.
12040 (state_wait) <T (tracing stop)>: New.
12041 (main): Update the state_wait expect string.
12042
120432010-05-28 Pedro Alves <pedro@codesourcery.com>
12044
12045 * limits.c, limits.exp: Delete files.
12046 * Makefile.in (clean mostlyclean): Adjust.
12047 * tracecmd.exp: Adjust.
12048
120492010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12050
12051 * gdb.base/tui-layout.exp: New.
12052
120532010-05-28 Michael Snyder <msnyder@vmware.com>
12054
12055 * gdb.reverse/break-precsave.exp:
12056 Replace uses of send_gdb / gdb_expect.
12057 * gdb.reverse/break-reverse.exp:
12058 Replace uses of send_gdb / gdb_expect.
12059 * gdb.reverse/consecutive-precsave.exp:
12060 Replace uses of send_gdb / gdb_expect.
12061 * gdb.reverse/consecutive-reverse.exp:
12062 Replace uses of send_gdb / gdb_expect.
12063 * gdb.reverse/finish-precsave.exp:
12064 Replace uses of send_gdb / gdb_expect.
12065 * gdb.reverse/finish-reverse.exp:
12066 Replace uses of send_gdb / gdb_expect.
12067 * gdb.reverse/i386-precsave.exp:
12068 Replace uses of send_gdb / gdb_expect.
12069 * gdb.reverse/i386-reverse.exp:
12070 Replace uses of send_gdb / gdb_expect.
12071 * gdb.reverse/i386-sse-reverse.exp:
12072 Replace uses of send_gdb / gdb_expect.
12073 * gdb.reverse/i387-env-reverse.exp:
12074 Replace uses of send_gdb / gdb_expect.
12075 * gdb.reverse/i387-stack-reverse.exp:
12076 Replace uses of send_gdb / gdb_expect.
12077 * gdb.reverse/machinestate-precsave.exp:
12078 Replace uses of send_gdb / gdb_expect.
12079 * gdb.reverse/machinestate.exp:
12080 Replace uses of send_gdb / gdb_expect.
12081 * gdb.reverse/sigall-precsave.exp:
12082 Replace uses of send_gdb / gdb_expect.
12083 * gdb.reverse/sigall-reverse.exp:
12084 Replace uses of send_gdb / gdb_expect.
12085 * gdb.reverse/solib-precsave.exp:
12086 Replace uses of send_gdb / gdb_expect.
12087 * gdb.reverse/solib-reverse.exp:
12088 Replace uses of send_gdb / gdb_expect.
12089 * gdb.reverse/step-precsave.exp:
12090 Replace uses of send_gdb / gdb_expect.
12091 * gdb.reverse/step-reverse.exp:
12092 Replace uses of send_gdb / gdb_expect.
12093 * gdb.reverse/until-precsave.exp:
12094 Replace uses of send_gdb / gdb_expect.
12095 * gdb.reverse/until-reverse.exp:
12096 Replace uses of send_gdb / gdb_expect.
12097 * gdb.reverse/watch-precsave.exp:
12098 Replace uses of send_gdb / gdb_expect.
12099 * gdb.reverse/watch-reverse.exp:
12100 Replace uses of send_gdb / gdb_expect.
12101
121022010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12103
12104 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
12105 excessive newline.
12106
121072010-05-27 Michael Snyder <msnyder@vmware.com>
12108
12109 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
12110 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
12111 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
12112 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
12113 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
12114 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
12115 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
12116 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
12117 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
12118 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
12119 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
12120 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
12121 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
12122 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
12123 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
12124 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
12125 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
12126 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
12127 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
12128
121292010-05-26 Michael Snyder <msnyder@vmware.com>
12130
12131 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
12132 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
12133
12134 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
12135 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
12136 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
12137
12138 * gdb.reverse/consecutive-reverse.exp:
12139 Replace uses of send_gdb / gdb_expect.
12140 * gdb.reverse/consecutive-precsave.exp:
12141 Replace uses of send_gdb / gdb_expect.
12142
12143 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
12144 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
12145 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
12146 * gdb.mi/mi-ns-stale-regcache.exp:
12147 Replace uses of send_gdb / gdb_expect.
12148 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
12149 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
12150 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
12151 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
12152 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
12153 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
12154 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
12155 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
12156 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
12157
121582010-05-26 Michael Snyder <msnyder@vmware.com>
12159
12160 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
12161
12162 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
12163
12164 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
12165 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
12166 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
12167 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
12168 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
12169 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
12170 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
12171 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
12172 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
12173
121742010-05-25 Tom Tromey <tromey@redhat.com>
12175
12176 * gdb.base/macscp.exp: Add missing space after setup_kfail.
12177
121782010-05-25 Tom Tromey <tromey@redhat.com>
12179
12180 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
12181 argument order.
12182 * gdb.base/macscp.exp: Fix setup_kfail argument order.
12183 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
12184 order.
12185 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
12186 order.
12187 * gdb.base/call-sc.exp (setup_kfails): Remove.
12188 (setup_compiler_kfails): Remove.
12189 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
12190 argument order.
12191 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
12192 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
12193 (advancei): Fix setup_kfail argument order.
12194 * gdb.base/radix.exp: Fix setup_kfail argument order.
12195 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
12196 order.
12197 * gdb.base/structs.exp (setup_kfails): Remove.
12198 (setup_compiler_kfails): Fix setup_kfail argument order.
12199 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
12200 order.
12201 * gdb.java/jmain.exp: Fix setup_kfail argument order.
12202 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
12203 setup_kfail argument order.
12204 * gdb.cp/overload.exp: Fix setup_kfail argument order.
12205
122062010-05-25 Tom Tromey <tromey@redhat.com>
12207
12208 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
12209
122102010-05-25 Michael Snyder <msnyder@vmware.com>
12211
12212 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
12213 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
12214 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
12215 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
12216 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
12217 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
12218 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
12219 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
12220 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
12221 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
12222 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
12223 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
12224 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
12225 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
12226 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
12227 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
12228 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
12229 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
12230 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
12231 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
12232 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
12233 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
12234 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
12235 * gdb.base/default.exp: Replace send_gdb with gdb_test.
12236 * gdb.base/define.exp: Replace send_gdb with gdb_test.
12237 * gdb.base/display.exp: Replace send_gdb with gdb_test.
12238 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
12239 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
12240 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
12241 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
12242 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
12243 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
12244 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
12245 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
12246 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
12247 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
12248 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
12249 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
12250 * gdb.base/help.exp: Replace send_gdb with gdb_test.
12251 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
12252 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
12253 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
12254 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
12255 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
12256 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
12257 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
12258 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
12259 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
12260
122612010-05-25 Doug Evans <dje@google.com>
12262
12263 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
12264 gdb.string_to_argv.
12265
122662010-05-21 Tom Tromey <tromey@redhat.com>
12267
12268 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
12269 Call it.
12270 * gdb.dwarf2/pieces.S: Update.
12271 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
12272
122732010-05-21 Tom Tromey <tromey@redhat.com>
12274
12275 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
12276 Call it.
12277 * gdb.dwarf2/pieces.c (struct C): New.
12278 (f6): New function.
12279 * gdb.dwarf2/pieces.S: Replace.
12280
122812010-05-21 Tom Tromey <tromey@redhat.com>
12282
12283 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
12284 Call it.
12285
122862010-05-21 Tom Tromey <tromey@redhat.com>
12287
12288 * gdb.dwarf2.pieces.exp: New file.
12289 * gdb.dwarf2.pieces.S: New file.
12290 * gdb.dwarf2.pieces.c: New file.
12291
122922010-05-20 Pedro Alves <pedro@codesourcery.com>
12293 Joel Brobecker <brobecker@adacore.com>
12294
12295 * lib/gdb.exp (gdb_test_no_output): New function.
12296 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
12297 when testing commands that should produce no output.
12298
122992010-05-17 Joel Brobecker <brobecker@adacore.com>
12300
12301 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
12302 parameter that we want to watch being a constant.
12303
123042010-05-17 Joel Brobecker <brobecker@adacore.com>
12305
12306 * gdb.ada/cond_lang: New testcase.
12307
123082010-05-17 Joel Brobecker <brobecker@adacore.com>
12309
12310 * lib/gdb.exp (banned_variables): New variable/constant.
12311 (gdb_init): Add write trace on variables listed in banned_variables.
12312 (gdb_finish): Remove write traces on variables listed in
12313 banned_variables.
12314
123152010-05-17 Joel Brobecker <brobecker@adacore.com>
12316
12317 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
12318 * gdb.cp/koenig.exp: Likewise.
12319
123202010-05-14 Phil Muldoon <pmuldoon@redhat.com>
12321
12322 PR python/11482
12323
12324 * gdb.python/py-value.exp (test_value_hash): New function.
12325
123262010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
12327
12328 PR exp/11530.
12329 * gdb.base/gdb11530.c: New file.
12330 * gdb.base/gdb11530.exp: New file.
12331
123322010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12333
12334 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
12335 * gdb.dwarf2/dw2-modula2-self-type.S: New.
12336
123372010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
12338
12339 * gdb.cp/koenig.exp: New test.
12340 * gdb.cp/koenig.cc: New test program.
12341
123422010-05-05 Joel Brobecker <brobecker@adacore.com>
12343
12344 Remove the use of prms_id and bug_id throughout the testsuite.
12345
123462010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12347
12348 PR exp/11349.
12349 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12350 use a reference local variable.
12351
123522010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12353
12354 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12355 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12356 variable different_dir. Move debugfile into a full directory pathname
12357 under DIFFERENT_DIR.
12358 * lib/gdb.exp (separate_debug_filename): Remove.
12359 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12360 variable debug_dir and mkdir of it. Update function comments.
12361
123622010-04-29 Pedro Alves <pedro@codesourcery.com>
12363
12364 PR gdb/11557
12365
12366 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12367 files.
12368
123692010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12370
12371 * gdb.python/py-param.exp: New File.
12372
123732010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12374
12375 * gdb.base/default.exp: Fix "set language" test.
12376
123772010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12378
12379 PR breakpoints/11531.
12380 * gdb.base/gdb11531.c: New file.
12381 * gdb.base/gdb11531.exp: New file.
12382
123832010-04-26 Tom Tromey <tromey@redhat.com>
12384
12385 * gdb.base/completion.exp: Add tests for completion and deprecated
12386 commands.
12387
123882010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12389
12390 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12391 (print /x char_array): Escape curly brackets.
12392
123932010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12394
12395 Fix deadlock on looped list of loaded shared objects.
12396 * gdb.base/solib-corrupted.exp: New.
12397
123982010-04-23 Doug Evans <dje@google.com>
12399
12400 * gdb.python/py-section-script.c: New file.
12401 * gdb.python/py-section-script.exp: New file.
12402 * gdb.python/py-section-script.py: New file.
12403
124042010-04-20 Chris Moller <cmoller@redhat.com>
12405
12406 PR 10179
12407
12408 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12409 * gdb.base/pr10179-a.c:
12410 * gdb.base/pr10179-b.c:
12411 * gdb.base/pr10179.exp: New files.
12412
124132010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12414
12415 Fix crashes on dangling display expressions.
12416 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12417 is SEP.
12418 (lib_flags): Remove the "debug" keyword.
12419 (libsepdebug): New variable for iterating new loop.
12420 (save_pf_prefix): New variable wrapping the loop.
12421 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12422 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12423
124242010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12425
12426 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12427
124282010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12429
12430 PR stabs/11479.
12431 * gdb.stabs/gdb11479.exp: New file.
12432 * gdb.stabs/gdb11479.c: New file.
12433
124342010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12435
12436 * gdb.base/charset.c (Strin16, String32): New variables.
12437 * gdb.base/charset.exp (gdb_test): Test correct display
12438 of 16 or 32 bit strings.
12439
124402010-04-21 Chris Moller <cmoller@redhat.com>
12441
12442 PR 9167
12443 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12444 * gdb.cp/pr9167.cc: New file.
12445 * gdb.cp/pr9167.exp: New file.
12446
12447
124482010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12449
12450 PR pascal/11492.
12451 * gdb.pascal/gdb11492.pas: New file.
12452 * gdb.pascal/gdb11492.exp: New file.
12453
124542010-04-20 Joel Brobecker <brobecker@adacore.com>
12455
12456 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
12457
124582010-04-20 Joel Brobecker <brobecker@adacore.com>
12459
12460 * gdb.ada/dyn_loc: New testcase.
12461
124622010-04-20 Chris Moller <cmoller@redhat.com>
12463
12464 PR 10867
12465
12466 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12467 * gdb.cp/pr10687.cc: New file.
12468 * gdb.cp/pr10687.exp: New file.
12469
12470
124712010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12472 Sergio Durigan Junior <sergiodj@redhat.com>
12473
12474 * gdb.fortran/logical.exp: New testcase.
12475 * gdb.fortran/logical.f90: New file.
12476
124772010-04-19 Doug Evans <dje@google.com>
12478
12479 * gdb.base/help.exp (help source): Update expected output.
12480
124812010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12482
12483 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12484 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12485 gdb_exit and return.
12486 (executable): New variable.
12487 (binfile): Use it.
12488
124892010-04-19 Pedro Alves <pedro@codesourcery.com>
12490
12491 PR breakpoints/8554.
12492
12493 * gdb.trace/save-trace.exp: Adjust.
12494
124952010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12496
12497 PR corefiles/11511
12498 * gdb.arch/system-gcore.exp: New.
12499 * gdb.arch/gcore.c: Likewise.
12500
125012010-04-15 Doug Evans <dje@google.com>
12502
12503 * gdb.python/py-progspace.c: New file.
12504 * gdb.python/py-progspace.exp: New file.
12505
12506 * gdb.base/source.exp: Add tests for "source -s".
12507
125082010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12509
12510 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12511 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12512 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12513 * gdb.python/py-mi.exp: New test for to_string returning None.
12514
125152010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12516
12517 * gdb.python/py-breakpoint.c: Make result global.
12518
125192010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12520
12521 Fix non-GNU make compatibility.
12522 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12523
125242010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12525
12526 * gdb.python/py-breakpoint.exp: New File.
12527 * gdb.python/py-breakpoint.C: Ditto.
12528
125292010-04-08 Stan Shebs <stan@codesourcery.com>
12530
12531 * gdb.trace/actions.exp: Clear default-collect.
12532 * gdb.trace/save-trace.exp: Clear default-collect.
12533
125342010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12535
12536 * gdb.python/py-value: Add null string variable.
12537 (test_lazy_string): Test zero length, NULL address lazy
12538 strings.
12539
125402010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * gdb.arch/i386-avx.c: New.
12543 * gdb.arch/i386-avx.exp: Likewise.
12544
12545 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12546
125472010-04-06 Doug Evans <dje@google.com>
12548
12549 * gdb.base/source-test.gdb: New file.
12550 * gdb.base/source.exp: Test source -v.
12551
125522010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12553
12554 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12555
125562010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12557
12558 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12559 within one line, unless it is followed by a double quote.
12560 * gdb.stabs/hppa.sed: Idem.
12561 * gdb.stabs/weird.def: Add char and String constants
12562 * gdb.stabs/weird.exp: Check for correct parsing of
12563 char and string constants.
12564 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12565 in .stabs to .stabx substitution.
12566
125672010-04-05 Stan Shebs <stan@codesourcery.com>
12568
12569 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12570 constant global.
12571 * gdb.trace/tfile.exp: Try to print them.
12572
125732010-04-04 Stan Shebs <stan@codesourcery.com>
12574
12575 * gdb.base/completion.exp: Update for new "info watchpoints".
12576 * gdb.base/default.exp: Ditto.
12577 * gdb.base/help.exp: Ditto.
12578 * gdb.base/watchpoint.exp: Ditto.
12579 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
12580
125812010-04-04 Stan Shebs <stan@codesourcery.com>
12582
12583 * gdb.trace/tfile.exp: Sharpen tfind test.
12584
125852010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12586
12587 * gdb.base/break-entry.exp: New.
12588
125892010-04-02 Hui Zhu <teawater@gmail.com>
12590 Michael Snyder <msnyder@vmware.com>
12591
12592 * gdb.reverse/i386-sse-reverse.exp: New file.
12593 * gdb.reverse/i386-sse-reverse.c: New file.
12594
125952010-04-02 Pedro Alves <pedro@codesourcery.com>
12596
12597 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12598
125992010-04-01 Stan Shebs <stan@codesourcery.com>
12600
12601 * gdb.trace/actions.exp: Tweak expected output.
12602 * gdb.trace/while-stepping.exp: Tweak expected output.
12603
126042010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12605
12606 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12607
126082010-04-01 Pedro Alves <pedro@codesourcery.com>
12609
12610 * gdb.base/commands.exp: Adjust.
12611 * gdb.cp/extern-c.exp: Adjust.
12612
126132010-04-01 Pedro Alves <pedro@codesourcery.com>
12614
12615 * gdb.trace/collection.c (local_test_func): Define a local struct,
12616 and instanciate it.
12617
126182010-04-01 Pedro Alves <pedro@codesourcery.com>
12619
12620 * gdb.trace/collection.exp (gdb_collect_args_test)
12621 (gdb_collect_argarray_test): XFAIL the tests that assume the
12622 argarray argument's elements are collected.
12623
126242010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12625
12626 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12627 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12628
126292010-03-31 Stan Shebs <stan@codesourcery.com>
12630
12631 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12632 and tracepoint conditionals.
12633 (gdb_verify_tracepoints): Delete unused return.
12634
126352010-03-26 Keith Seitz <keiths@redhat.com>
12636
12637 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12638 appear in the output before main.
12639 Remove KFAIL for gdb/2215 aka bz 9320.
12640
126412010-03-30 Doug Evans <dje@google.com>
12642
12643 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12644 by dejagnu.
12645 * gdb.arch/amd64-dword.exp: Ditto.
12646
12647 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12648 match.
12649 (break printf): Ditto.
12650
126512010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12652
12653 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12654 gcc < 4.4.
12655 * gdb.cp/shadow.exp: Ditto.
12656
126572010-03-29 Pedro Alves <pedro@codesourcery.com>
12658
12659 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12660 "tstart" is silent.
12661
126622010-03-29 Pedro Alves <pedro@codesourcery.com>
12663
12664 * gdb.trace/collection.exp (executable): New.
12665 (binfile): Use it.
12666 (fpreg, spreg, pcreg): New.
12667 (test_register): Use gdb_test_multiple. Pass /x to print.
12668 (prepare_for_trace_test): New.
12669 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12670 (gdb_collect_args_test, gdb_collect_argstruct_test)
12671 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12672 prepare_for_trace_test.
12673 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12674 fpreg, spreg and pcreg.
12675 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12676 prepare_for_trace_test.
12677 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12678 try to detect tracing support here. Don't set breakpoints at
12679 `begin' or `end' here.
12680 <global scope>: Use clean_restart. Run to main before checking
12681 for tracing support. Check for for tracing support here.
12682
126832010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12684
12685 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12686 " as $displacement" to "seen displacement message".
12687
126882010-03-28 Pedro Alves <pedro@codesourcery.com>
12689
12690 * gdb.trace/while-dyn.exp (executable): New variable.
12691 (binfile): Use it.
12692 (test_while_stepping): New function. Move most tests here. Call
12693 it once for each of the while-stepping, stepping and ws aliases.
12694
126952010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12696
12697 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12698 that do not provide the tagless_struct type name at all.
12699 (test_print_anon_union): Do not check value of uninitialized
12700 union member. Do not use cp_test_ptype_class, so we can accept
12701 "long" as well as "long int".
12702
127032010-03-26 Pedro Alves <pedro@codesourcery.com>
12704
12705 * gdb.trace/tfile.c (tohex, bin2hex): New.
12706 (write_error_trace_file): Hexify error description.
12707
127082010-03-25 Stan Shebs <stan@codesourcery.com>
12709
12710 * gdb.trace/tfile.c: Generate an additional trace file, improve
12711 portability.
12712 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12713 files in a better way.
12714
127152010-03-25 Keith Seitz <keiths@redhat.com>
12716
12717 * gdb.java/jprint.exp: XFAIL printing of static class members
12718 because of GCC debuginfo problem.
12719
127202010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12721
12722 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12723
127242010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12725
12726 * gdb.base/completion.exp: Allow long instead of long int.
12727 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12728 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12729 variable p.
12730 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12731 * gdb.base/pointers.exp: Allow long instead of long int.
12732 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12733 * gdb.base/step-line.exp: Allow a directory before the source file name.
12734
127352010-03-24 Tom Tromey <tromey@redhat.com>
12736
12737 PR breakpoints/9352:
12738 * gdb.base/default.exp: Update.
12739 * gdb.base/commands.exp: Update.
12740 * gdb.cp/extern-c.exp: Test setting commands on multiple
12741 breakpoints at once.
12742
127432010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12744
12745 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12746 if gdb,nosignals.
12747 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12748 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12749 exited".
12750
127512010-03-24 Stan Shebs <stan@codesourcery.com>
12752
12753 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12754
127552010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12756
12757 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12758 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12759 argument. Handle "short" and "long".
12760 (Top level): Pass overprototyped output for old_fptr and xptr.
12761
127622010-03-23 Pedro Alves <pedro@codesourcery.com>
12763
12764 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12765 format strings and add casts to avoid compiler warnings.
12766
127672010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12768
12769 * lib/trace-support.exp (gdb_trace_setactions):
12770 Don't expect whitespace after ">" prompt.
12771 * gdb.trace/actions.exp: Adjust for output changes.
12772 * gdb.trace/while-stepping.exp: Likewise.
12773
127742010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12775
12776 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12777 and r157645).
12778
127792010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12780
12781 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12782 New.
12783
127842010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12785
12786 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12787 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12788
127892010-03-19 Stan Shebs <stan@codesourcery.com>
12790
12791 * gdb.trace/ax.exp: New file.
12792
127932010-03-19 Doug Evans <dje@google.com>
12794
12795 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12796 output from gcc.
12797
12798 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12799 named /usr/sbin/prelink<foo>.
12800
128012010-03-18 Stan Shebs <stan@codesourcery.com>
12802
12803 * gdb.trace/circ.exp: Test circular-trace-buffer.
12804 * gdb.trace/tfile.exp: Update tstatus test.
12805
128062010-03-18 Joel Brobecker <brobecker@adacore.com>
12807
12808 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12809 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12810
128112010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12812
12813 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12814
128152010-03-18 Pedro Alves <pedro@codesourcery.com>
12816
12817 * gdb.base/default.exp: Adjust the expected output of the finish
12818 and until commands when the inferior is not being run.
12819
128202010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12821
12822 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12823 * gdb.cp/nsusing.exp: Ditto.
12824
128252010-03-15 Tom Tromey <tromey@redhat.com>
12826
12827 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12828 * gdb.cp/userdef.cc (operator==): New function.
12829 (main): New locals mem1, mem2.
12830
128312010-03-15 Jie Zhang <jie@codesourcery.com>
12832
12833 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12834 Declare and use new loadtimeout variable.
12835
128362010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12837
12838 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12839 Use gdb_load later.
12840
128412010-03-14 Pedro Alves <pedro@codesourcery.com>
12842
12843 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12844 literal. Add missing endlines to prints to stderr.
12845
128462010-03-12 Tom Tromey <tromey@redhat.com>
12847
12848 PR c++/9708:
12849 * gdb.cp/m-static.exp: Add regression test.
12850 * gdb.cp/m-static.cc (method): New method.
12851 (main): Call it.
12852
128532010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12854
12855 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12856 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12857
128582010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12859
12860 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12861
128622010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12863
12864 * lib/gdb.exp (skip_stl_tests): New.
12865 (gdb_compile): Symbian needs -ldl.
12866 (shlib_target_file): New.
12867 (shlib_symbol_file): New.
12868 (gdb_load_shlibs): Use shlib_target_file.
12869 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12870 * gdb.cp/exception.exp: Use skip_stl_tests.
12871 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12872 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12873 * gdb.cp/mb-templates.exp: Ditto.
12874 * gdb.base/commands.exp: Relax regexes.
12875 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12876 shlib_target_file and shlib_symbol_file.
12877 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12878 sections.
12879 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12880 * gdb.base/solib-disc.exp: Use
12881 shlib_target_file and shlib_symbol_file.
12882 * gdb.base/unload.exp: Don't skip on symbian. Use
12883 shlib_target_file and shlib_symbol_file.
12884 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12885
128862010-03-12 Pedro Alves <pedro@codesourcery.com>
12887
12888 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12889 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12890 Issue a tfind end before looking for a tracepoint frame.
12891 * gdb.trace/tfind.exp: Adjust tstatus output.
12892 Adjust disassembly output.
12893 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12894
128952010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12896
12897 * gdb.base/break-interp.exp: Create new displacement parameter value
12898 for the test_ld calls.
12899 (reach): New parameter displacement, verify its content. New push of
12900 pf_prefix "reach-$func:". Import global expect_out.
12901 (test_core): New parameter displacement, verify its content. New push
12902 of pf_prefix "core:". New command "set verbose on". Import global
12903 expect_out.
12904 (test_attach): New parameter displacement, verify its content. New
12905 push of pf_prefix "attach:". New command "set verbose on". Import
12906 global expect_out.
12907 (test_ld): New parameter displacement, pass it to the reach, test_core
12908 and test_attach calls and verify its content in the "ld.so exit" test.
12909 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12910 (prelink): Update expected text, use gdb_test.
12911
129122010-03-10 Doug Evans <dje@google.com>
12913
12914 * gdb.base/checkpoint.exp: Fix comment.
12915 Lengthen timeout while doing >600 checkpoints test.
12916 Rename duplicate "kill all one" test to keep test names unique.
12917
129182010-03-10 Pedro Alves <pedro@codesourcery.com>
12919
12920 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12921
129222010-03-08 Keith Seitz <keiths@redhat.com>
12923
12924 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12925 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12926 (dm_type_long): New function.
12927 (dm_type_unsigned_short): New function.
12928 (dm_type_unsigned_long): New function.
12929 (myint): New typedef.
12930 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12931 long, unsigned shor and long, operator char*, and typedef.
12932 (test_lookup_operator_functions): Add operator char* test.
12933 (test_paddr_operator_functions): Likewise.
12934 (test_paddr_overloaded_functions): Use probe values for
12935 short, long, and unsigned short and long.
12936 (test_paddr_hairy_functions): If the demangler probe detected
12937 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12938 demangler.
12939 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12940 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12941 and "print null_pmf".
12942 Add test "ptype a.*pmf".
12943 * gdb.cp/overload.exp: Allow optional "int" to appear with
12944 "short" and "long".
12945 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12946 long expect value for men_overload1arg.
12947 Allow "int" to appear with "short" and "long".
12948 When testing "info break", add argument for main (void).
12949 Also allow "int" to appear with "short" and "long".
12950 Ditto with "unsigned" and "long long".
12951 * gdb.java/jmain.exp: Do not enclose methods names in single
12952 quotes.
12953 * gdb.java/jmisc.exp: Likewise.
12954 * gdb.java/jprint.exp: Likewise.
12955 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12956
12957 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12958 * gdb.cp/exception.exp (backtrace after first throw)
12959 (backtrace after second throw): Allow a namespace before __cxa_throw.
12960 (backtrace after first catch, backtrace after second catch): Allow
12961 a namespace before __cxa_begin_catch.
12962
12963 * gdb.cp/cpexprs.exp: New file.
12964 * gdb.cp/cpexprs.cc: New file.
12965
12966 From Daniel Jacobowitz <dan@codesourcery.com>
12967 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12968 to use string_to_regexp.
12969 (ctor, dtor): New functions. Use them to match constructor
12970 and destructor function types.
12971 (Top level): Use runto_main.
12972
129732010-03-05 Tom Tromey <tromey@redhat.com>
12974
12975 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12976 gdb.target_charset.
12977 (pp_ns.to_string): Likewise.
12978
129792010-03-04 Keith Seitz <keiths@redhat.com>
12980
12981 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12982 can be quoted. Test that both the filename and function/line
12983 portions can be quoted at the same time.
12984
129852010-03-04 Pedro Alves <pedro@codesourcery.com>
12986
12987 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12988
129892010-03-03 Doug Evans <dje@google.com>
12990
12991 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12992 libc contains libpthread.
12993
12994 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12995 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12996 of gdb_compile. Add another pattern to match android backtrace.
12997
129982010-03-03 Tom Tromey <tromey@redhat.com>
12999
13000 PR gdb/11345:
13001 * gdb.base/printcmds.exp (test_printf): Add test.
13002
130032010-03-02 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 * gdb.arch/amd64-byte.exp: New.
13006 * gdb.arch/amd64-dword.exp: Likewise.
13007 * gdb.arch/amd64-pseudo.c: Likewise.
13008 * gdb.arch/amd64-word.exp: Likewise.
13009 * gdb.arch/i386-byte.exp: Likewise.
13010 * gdb.arch/i386-pseudo.c: Likewise.
13011 * gdb.arch/i386-word.exp: Likewise.
13012
130132010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13014
13015 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
13016 types. Add structreg, bitfields, and flags registers.
13017 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
13018 registers.
13019
130202010-03-01 H.J. Lu <hongjiu.lu@intel.com>
13021
13022 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
13023 (load_description): Set architecture if defined.
13024
130252010-02-28 Phil Muldoon <pmuldoon@redhat.com>
13026
13027 * gdb.python/py-frame.exp: Add read_var block tests.
13028 * gdb.python/py-frame.c (block): New function.
13029
130302010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13031 Daniel Jacobowitz <dan@codesourcery.com>
13032
13033 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
13034
130352010-02-25 David S. Miller <davem@davemloft.net>
13036
13037 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
13038 fix logic for setting all_syscalls_numbers.
13039
130402010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13041
13042 * Makefile.in: Add py-block and py-symbol.
13043 * gdb.python/py-symbol.exp: New File.
13044 * gdb.python/py-symtab.exp: New File.
13045 * gdb.python/py-block.exp: New File.
13046 * gdb.python/py-symbol.c: New File.
13047 * gdb.python/py-block.c: New File.
13048
130492010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13050
13051 PR python/11314
13052 * lib/gdb.exp (skip_python_tests): New function.
13053 * gdb.python/py-cmd.exp: Use skip_python_tests.
13054 * gdb.python/py-frame.exp: Likewise.
13055 * gdb.python/py-function.exp: Likewise.
13056 * gdb.python/py-prettyprint.exp: Likewise.
13057 * gdb.python/py-template.exp: Likewise.
13058 * gdb.python/py-type.exp: Likewise.
13059 * gdb.python/py-value.exp: Likewise.
13060
130612010-02-22 Pedro Alves <pedro@codesourcery.com>
13062
13063 PR9605
13064
13065 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
13066
130672010-02-19 Tom Tromey <tromey@redhat.com>
13068
13069 PR c++/8693, PR c++/9496:
13070 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
13071 regression tests.
13072
130732010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13074
13075 Fix compatibility with m68k as.
13076 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
13077 Use only /* comments */.
13078
130792010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13080
13081 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
13082 * configure: Regenerate.
13083
130842010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
13085
13086 * gdb.python/py-type.exp: Check for Python support.
13087
130882010-02-17 Pedro Alves <pedro@codesourcery.com>
13089
13090 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
13091 `regsub' syntax available.
13092
130932010-02-17 Pedro Alves <pedro@codesourcery.com>
13094
13095 * gdb.base/shmain.c (main): Remove printf call.
13096 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
13097 * gdb.base/unload.c (main): Make format of fprintf a string
13098 literal. Add missing endlines to prints to stderr.
13099 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
13100
131012010-02-17 Tom Tromey <tromey@redhat.com>
13102
13103 * gdb.java/jprint.java (jprint.props): New field.
13104 * gdb.java/jprint.exp (set_lang_java): Add regression test.
13105
131062010-02-17 Pedro Alves <pedro@codesourcery.com>
13107
13108 * gdb.base/charset.exp: Don't assume new `regsub' syntax
13109 available.
13110
131112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13112
13113 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
13114 creation to support remote host testing.
13115
131162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13117
13118 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
13119 Recognize "command not found".
13120
131212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13122
13123 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
13124 single-stepping.
13125
131262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13127
13128 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
13129 if arguments are not supported.
13130
131312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13132
13133 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
13134 be const or non-const.
13135
131362010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13137
13138 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
13139 mi_send_resuming_command to send -exec-continue.
13140
131412010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13142
13143 * gdb.base/list.exp (test_list_filename_and_function): Add test
13144 with single quotes.
13145 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
13146 matching.
13147 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
13148 Add KFAIL'd tests for PR gdb/11289.
13149
131502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13151
13152 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
13153
131542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13155
13156 * gdb.base/comp-dir/subdir/dummy.txt: New file.
13157 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
13158 a temporary directory.
13159
131602010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13161
13162 * gdb.base/charset.exp: Use a single regular expression to match
13163 show host-charset and show target-charset output.
13164
131652010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13166
13167 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
13168 "Illegal process-id" expect string more exact.
13169 (attach to digits-starting nonsense is prohibited): New.
13170
131712010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13172
13173 * gdb.base/prelink.exp (set verbose on): New.
13174
131752010-02-12 Tomas Holmberg <th@virtutech.com>
13176
13177 * mi-reverse.exp: New file. Test for reverse option to the
13178 following MI commands: exec-continue, exec-finish, exec-next,
13179 exec-step, exec-next-instruction, exec-step-instruction.
13180
131812010-02-09 Joel Brobecker <brobecker@adacore.com>
13182
13183 * gdb.ada/ptype_tagged_param: New testcase.
13184
131852010-02-08 Tom Tromey <tromey@redhat.com>
13186
13187 PR c++/8017:
13188 * gdb.cp/overload.exp: Add tests.
13189 * gdb.cp/overload.cc (struct K): New.
13190 (namespace N): New.
13191 (main): Call new functions.
13192 (K::staticoverload): Define.
13193
131942010-02-08 Chris Moller <moller@mollerware.com>
13195
13196 PR gdb/10728
13197 * gdb.cp/pr10728-x.h: New file.
13198 * gdb.cp/pr10728-x.cc: New file.
13199 * gdb.cp/pr10728-y.cc: New file.
13200 * gdb.cp/pr10728.exp: New file.
13201 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
13202
132032010-02-08 Chris Moller <moller@mollerware.com>
13204
13205 PR gdb/9067
13206 * gdb.cp/pr9067.exp: New
13207 * gdb.cp/pr9067.cc: New
13208 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
13209
132102010-02-08 Joel Brobecker <brobecker@adacore.com>
13211
13212 * lib/gdb.exp (gdb_test_timeout): New global variable.
13213 Set it to timeout if not already set.
13214 (gdb_init): Reset the value of timeout to gdb_test_timeout.
13215
132162010-02-05 Doug Evans <dje@google.com>
13217
13218 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
13219 user.
13220
132212010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
13222
13223 PR c++/7935:
13224 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
13225
132262010-02-04 Tom Tromey <tromey@redhat.com>
13227
13228 * gdb.cp/virtbase.exp: Make test case names unique.
13229
132302010-02-02 Tom Tromey <tromey@redhat.com>
13231
13232 * gdb.cp/virtbase.exp: Add regression tests.
13233 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
13234 (main): Instantiate RHC.
13235
132362010-02-02 Tom Tromey <tromey@redhat.com>
13237
13238 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
13239 type-printing change.
13240
132412010-02-02 Tom Tromey <tromey@redhat.com>
13242
13243 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
13244 * gdb.cp/virtbase.cc: New file.
13245 * gdb.cp/virtbase.exp: New file.
13246 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
13247
132482010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13249
13250 PR libc/11214:
13251 * gdb.threads/current-lwp-dead.c: Include features.h.
13252 (HAS_NOMMU): New.
13253 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
13254
132552010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13256
13257 * gdb.base/symbol-without-target_section.exp,
13258 gdb.base/symbol-without-target_section.c: New.
13259
132602010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13261
13262 * gdb.base/bigcore.exp: Reset increased timeout.
13263 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
13264
132652010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13266
13267 * gdb.base/gcore.exp (capture_command_output): Use
13268 gdb_test_multiple.
13269
132702010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13271
13272 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
13273 * gdb.arch/thumb2-it.exp (test_it_break): New function.
13274 (Top level): Call it.
13275
132762010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13277
13278 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
13279
132802010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13281
13282 * gdb.base/call-strs.exp, gdb.base/default.exp,
13283 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
13284 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
13285 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
13286 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
13287 gdb.base/watchpoint-solib.exp: Save and restore timeout.
13288 * gdb.base/ending-run.exp: Correct restore of timeout.
13289 * gdb.base/page.exp: Remove unnecessary timeout setting.
13290
132912010-01-29 Joel Brobecker <brobecker@adacore.com>
13292
13293 * gdb.ada/rec_return: New testcase.
13294
132952010-01-29 Joel Brobecker <brobecker@adacore.com>
13296
13297 * gdb.ada/call_pn: New testcase.
13298
132992010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13300
13301 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
13302 (Top level): Use it to resume.
13303 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
13304 the Thumb mode displaced stepping error as unsupported.
13305
133062010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
13307
13308 * gdb.cp/nsusing.exp: Added more tests.
13309 * gdb.cp/nsrecurs.exp: Ditto.
13310 * gdb.cp/nsusing.cc: Added test functions.
13311 * gdb.cp/nsrecurs.cc: Ditto.
13312
133132010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13314
13315 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
13316 absolute directory pathnames in gdb.sum file.
13317
133182010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
13319
13320 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
13321 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
13322
133232010-01-26 Tom Tromey <tromey@redhat.com>
13324
13325 PR exp/7643:
13326 * gdb.base/printcmds.exp (test_print_string_constants): Remove
13327 setup_kfail.
13328
133292010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
13330
13331 * gdb.cp/nsrecurs.exp: New test.
13332 * gdb.cp/nsrecurs.cc: New test program.
13333 * gdb.cp/nsstress.exp: New test.
13334 * gdb.cp/nsstress.cc: New test program.
13335 * gdb.cp/nsdecl.exp: New test.
13336 * gdb.cp/nsdecl.cc: New test program.
13337
133382010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
13339
13340 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
13341 imported into file scope.
13342 Marked test as xfail.
13343 * gdb.cp/namespace-using.cc (marker5): New function.
13344 * gdb.cp/shadow.exp: New test.
13345 * gdb.cp/shadow.cc: New test program.
13346 * gdb.cp/nsimport.exp: New test.
13347 * gdb.cp/nsimport.cc: New test program.
13348
133492010-01-25 Tom Tromey <tromey@redhat.com>
13350
13351 PR gdb/11049:
13352 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13353 with "set print null-stop on".
13354
133552010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13356
13357 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13358 Adjust it for DISASSEMBLY_OMIT_FNAME.
13359
133602010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13361
13362 PR symtab/11199:
13363 * gdb.dwarf2/member-ptr-forwardref.exp,
13364 gdb.dwarf2/member-ptr-forwardref.S: New.
13365
133662010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13367
13368 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13369 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13370 thread1_tid_mutex. Remove gdbstop_mutex handling.
13371 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13372 thread2_tid_mutex. Remove gdbstop_mutex handling.
13373 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13374 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13375 pthread_cond_wait conditionalizations by while loops.
13376
133772010-01-20 Tom Tromey <tromey@redhat.com>
13378
13379 PR backtrace/10770:
13380 * gdb.dwarf2/pr10770.exp: New file.
13381 * gdb.dwarf2/pr10770.c: New file.
13382 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13383
133842010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13385
13386 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13387 that target was removed, and the test always runs native anyway.
13388
133892010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13390
13391 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13392 gdb.base/watchpoint-cond-gone-stripped.c: New.
13393
133942010-01-19 Tom Tromey <tromey@redhat.com>
13395
13396 PR c++/8000:
13397 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13398 existing tests.
13399 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13400 (main): Use AAA::SomeEnum.
13401
134022010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13403
13404 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13405 (test_ignore_count): Declare line_callme_body global.
13406 (run to breakpoint with ignore count): Use line_callme_body.
13407 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13408 (set line_main_hello, set line_main_return): Reindent.
13409 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13410 New.
13411 (continue to callee4): Use line_callee4_body.
13412 (check *stopped from CLI command): Use line_callee4_next.
13413 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13414 (set line_main_hello, set line_main_return): Reindent.
13415 (set line_callee4_head, set line_callee4_body): New.
13416 (continue to callee4): Use line_callee4_body.
13417
134182010-01-18 Tom Tromey <tromey@redhat.com>
13419
13420 PR c++/9680:
13421 * gdb.cp/casts.cc: Add new classes and variables.
13422 * gdb.cp/casts.exp: Test new operators.
13423
134242010-01-18 Tom Tromey <tromey@redhat.com>
13425 Thiago Jung Bauermann <bauerman@br.ibm.com>
13426
13427 * gdb.python/source2.py: New file.
13428 * gdb.python/source1: New file.
13429 * gdb.python/python.exp: Test "source" command.
13430
134312010-01-15 Stan Shebs <stan@codesourcery.com>
13432
13433 * gdb.trace/tfile.c: New file.
13434 * gdb.trace/tfile.exp: New file.
13435
134362010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13437
13438 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13439
134402010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13441
13442 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13443
134442010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13445
13446 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13447 (libfunc): New parameter action. Implement also selectable "sleep".
13448 * gdb.base/break-interp-main.c: Include assert.h.
13449 (libfunc): New parameter action.
13450 (main): New parameters argc and argv. Assert argc. Pass argv.
13451 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13452 (test_attach): New proc.
13453 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13454 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13455
134562010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13457
13458 * gdb.base/break-interp.exp (test_core): New proc.
13459 (test_ld): Call it.
13460
134612010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13462
13463 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13464 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13465 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13466 and gdb_compile_shlib. Use new -Wl compiler options.
13467 (dl bt, main bt): New tests.
13468
134692010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13470
13471 Support PIEs with no symfile_objfile.
13472 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13473 (test_ld): New parameter trynosym.
13474 (test_ld <$trynosym>): New block.
13475
134762010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13477
13478 * gdb.base/break-interp.exp: New file.
13479
134802010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13481
13482 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13483 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13484 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13485 test.
13486 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13487 * gdb.python/py-mi.exp: Add lazy string test.
13488
134892010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13490
13491 * lib/mi-support.exp (mi_check_thread_states): Handle
13492 core number in thread listing.
13493
134942010-01-12 Joel Brobecker <brobecker@adacore.com>
13495
13496 * gdb.base/maint.exp: Adjust the expected output for the
13497 "maint print type" test. Use gdb_test_multiple instead of
13498 gdb_sent/gdb_expect.
13499
135002010-01-11 Doug Evans <dje@google.com>
13501
13502 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13503 from gdbserver_download. All callers updated.
13504
13505 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13506
135072010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13508
13509 Implement binary numbers parsing.
13510 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13511 (test_integer_literals_rejected): New binary tests.
13512
135132010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13514
13515 * gdb.cell/configure: Regenerate.
13516
135172010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13518
13519 * gdb.base/corefile.exp: Move the core finding block out and call it as
13520 core_find, new variable $corefile, replace corefile by $corefile and
13521 [file tail $corefile] for usage vs. test names resp.
13522 * lib/gdb.exp (core_find): Move it as a new function here. New
13523 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13524 $destcore. Return "" on error.
13525
135262010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13527
13528 Workaround PR binutils/10802.
13529 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13530 (twice).
13531
135322010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13533
13534 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13535
135362010-01-08 Joel Brobecker <brobecker@adacore.com>
13537
13538 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13539 call, to avoid interruption.
13540
135412010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13542
13543 * gdb.stabs/weird.def (args93): New.
13544
135452010-01-07 Doug Evans <dje@google.com>
13546
13547 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13548
135492010-01-07 Tom Tromey <tromey@redhat.com>
13550
13551 * gdb.base/source.exp: Use correct line number.
13552
135532010-01-05 Stan Shebs <stan@codesourcery.com>
13554
13555 * gdb.trace/tracecmd.exp: Test ftrace.
13556
135572010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13558
13559 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13560
135612010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13562
13563 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13564 "uint_for_mi_testing".
13565
135662010-01-01 Joel Brobecker <brobecker@adacore.com>
13567
13568 Test indented comment in file being sourced.
13569 * gdb.base/commands.exp: Test indented comment in file being sourced.
13570
135712010-01-01 Joel Brobecker <brobecker@adacore.com>
13572
13573 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13574 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13575 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13576 notice.
13577
135782010-01-01 Joel Brobecker <brobecker@adacore.com>
13579
13580 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13581 notice.
13582
135832010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13584
13585 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13586 missing $after_stopped and comma (,) expectation.
13587
135882009-12-31 Stan Shebs <stan@codesourcery.com>
13589
13590 * gdb.trace/actions.exp: Test teval action.
13591
135922009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13593
13594 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13595 (top level): Call test_watchpoint_in_big_blob.
13596 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13597 watchpoints.
13598 (func3): Write to buf.
13599
136002009-12-29 Stan Shebs <stan@codesourcery.com>
13601
13602 * gdb.trace/actions.exp: Test default-collect.
13603
136042009-12-28 Stan Shebs <stan@codesourcery.com>
13605
13606 * gdb.trace/tsv.exp: New file.
13607 * gdb.base/completion.exp: Update ambiguous info output.
13608
136092009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13610
13611 * gdb.base/find.c (main): Reference search buffers.
13612 * gdb.base/included.c (main): Reference integer.
13613 * gdb.base/ptype.c (charfoo): Declare.
13614 (intfoo): Call charfoo.
13615 * gdb.base/scope0.c (useitp): New function.
13616 (usestatics): Use useitp.
13617 (useit): Add a type for val.
13618 * gdb.base/scope1.c (useit1): Take a pointer argument.
13619 (usestatics1): Update calls to useit1.
13620 * gdb.cp/call-c.cc: Declare foo.
13621 (main): Call foo.
13622 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13623 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13624 (main): Call C::ensureRefs and ensureOtherRefs.
13625 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13626 variables.
13627 (ensureOtherRefs): New function.
13628 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13629 * gdb.cp/templates.cc (main): Call t5i.value.
13630
136312009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13632
13633 Fix compatibility with G++-4.5.
13634 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13635 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13636 (uncaught return): Remove.
13637
136382009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13639 Phil Muldoon <pmuldoon@redhat.com>
13640
13641 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13642 (bp_location13, bp_location14, bp_location17, bp_location18)
13643 (marker3_proto, marker4_proto): New variables.
13644 (breakpoint info): Update output.
13645 (run until breakpoint at marker3, run until breakpoint at marker4): New
13646 tests.
13647
136482009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13649
13650 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13651 Replace the printf call of Y by provided "y-set-1" label. New block
13652 for the second shared library.
13653 * gdb.base/unload.exp: Compile also the second library, call
13654 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13655 (single pending breakpoint info): Rename to ...
13656 (pending breakpoint info before run): ... this extended test.
13657 (libfile2, libname2, libsrcfile2, libsrc2)
13658 (lib_sl2): New variables.
13659 (exec_opts): Set also SHLIB_NAME2.
13660 (pending breakpoint info on first run at shrfunc1)
13661 (pending breakpoint info on second run at shrfunc1)
13662 (pending breakpoint info on second run at shrfunc2)
13663 (print y from libfile, print y from libfile2): New tests.
13664 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13665 * gdb.base/unloadshr2.c: New.
13666
136672009-12-22 Hui Zhu <teawater@gmail.com>
13668
13669 * gdb.reverse/sigall-reverse.exp: Adjust.
13670
136712009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13672
13673 PR gdb/10884
13674
13675 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13676 (main): Call do_bitfield_tests.
13677 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
13678
136792009-12-20 Joel Brobecker <brobecker@adacore.com>
13680
13681 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13682 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13683 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13684 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13685 gdb.modula2/unbounded1.c: Update copyright header.
13686
136872009-12-10 Chris Moller <moller@mollerware.com>
13688
13689 PR gdb/9399
13690 * gdb.cp/virtfunc2.exp: New tests
13691 * gdb.cp/virtfunc2.cc: New tests
13692 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13693
136942009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13695
13696 * gdb.reverse/i387-env-reverse.c: New file.
13697 * gdb.reverse/i387-env-reverse.exp: New file.
13698 * gdb.reverse/i387-stack-reverse.c: New file.
13699 * gdb.reverse/i387-stack-reverse.exp: New file.
13700
137012009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13702
13703 * gdb.python/py-type.exp (test_range): New test.
13704
137052009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13706
13707 PR python/10805
13708
13709 * gdb.python/py-type.exp: New file.
13710 * gdb.python/py-type.c: New file.
13711 * Makefile.in: Add py-type.
13712
137132009-12-03 Tom Tromey <tromey@redhat.com>
13714
13715 * gdb.python/py-value.exp (test_parse_and_eval): New
13716 function.
13717
137182009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13719
13720 PR gdb/11022
13721
13722 * gdb.base/pr11022.exp: New test.
13723 * gdb.base/pr11022.c: New test.
13724
137252009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13726
13727 Fix spurious false FAILs.
13728 * gdb.base/structs.c (chartest): New.
13729 (main): Fill-in chartest.
13730 * gdb.base/structs.exp (anychar_re, first): New.
13731 (start_structs_test): Import global anychar_re and first.
13732 New gdb_test call "set print elements 300; ${testfile}"
13733 (start_structs_test <$first>): New block.
13734 (any): Import global anychar_re. New variable ac. Use ${ac}.
13735
137362009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13737
13738 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13739
137402009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13741
13742 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13743 Force $srcfile file.
13744 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13745
137462009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13747
13748 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13749 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13750 * gdb.threads/watchthreads-reorder.exp: Likewise.
13751
137522009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13753
13754 PR gdb/8704
13755
13756 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13757 "if", and "thread". Correct matching in the previous test.
13758
137592009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13760
13761 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13762
137632009-11-23 Michael Snyder <msnyder@vmware.com>
13764
13765 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13766 * gdb.reverse-watch-precsave.exp: Ditto.
13767
137682009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13769
13770 * gdb.asm/asm-source.exp: Adjust.
13771 * gdb.base/help.exp: Adjust.
13772
137732009-11-22 Pedro Alves <pedro@codesourcery.com>
13774
13775 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13776 (do_syscall_tests_without_xml): Set data-directory to
13777 /the/path/to/nowhere.
13778
137792009-11-21 Pedro Alves <pedro@codesourcery.com>
13780
13781 * gdb.threads/local-watch-wrong-thread.c,
13782 gdb.threads/local-watch-wrong-thread.exp: New files.
13783
137842009-11-21 Pedro Alves <pedro@codesourcery.com>
13785
13786 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13787 assume new `regsub' syntax available.
13788
137892009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13790
13791 * gdb.base/watchpoint-hw-hit-once.exp,
13792 gdb.base/watchpoint-hw-hit-once.c: New.
13793
137942009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13795
13796 * gdb.threads/watchthreads-reorder.exp,
13797 gdb.threads/watchthreads-reorder.c: New.
13798
137992009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13800
13801 * gdb.xml/tdesc-regs.exp: Use for m68k.
13802
138032009-11-15 Pedro Alves <pedro@codesourcery.com>
13804
13805 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13806
138072009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13808
13809 * lib/gdb.exp (current_target_name): New procedure.
13810 (gdb_wrapper_target): New variable.
13811 (gdb_wrapper_init): Set gdb_wrapper_target.
13812 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13813 wrapper.
13814
138152009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13816
13817 * gdb.base/remote.exp: Delete the slowest load test.
13818 Do not load with fixed packet sizes.
13819
138202009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13821
13822 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13823
138242009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13825
13826 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13827 srcfile when setting a breakpoint.
13828
138292009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13830
13831 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13832 macros.
13833
138342009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13835
13836 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13837 to be in memory.
13838 * gdb.base/display.c (force_mem): New.
13839 (do_loops): Use it. Add breakpoint comments.
13840 (do_vars): Add a breakpoint comment.
13841 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13842 line numbers.
13843
138442009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13845
13846 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13847 instead of a bare "run".
13848
138492009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13850
13851 * gdb.python/py-prettyprint.exp: Adjust.
13852
138532009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13854
13855 * lib/cell.exp (skip_cell_tests): Clean up test files before
13856 returning.
13857
138582009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13859
13860 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13861 and the breakpoint menu. Do not call perror if a prompt is seen.
13862 Consume the following GDB prompt.
13863 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13864 * gdb.cp/namespace.exp: Use gdb_test.
13865 * gdb.cp/templates.exp: Use gdb_test.
13866 (test_template_breakpoints): Use gdb_test_multiple.
13867
138682009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13869
13870 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13871 (marker4): Reference values.
13872
138732009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13874
13875 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13876 is missing.
13877
138782009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13879
13880 * gdb.base/break.c (need_malloc): New.
13881 * gdb.base/constvars.c (main): Reference crass and crisp.
13882 * gdb.base/gdb1821.c (main): Reference bar.
13883 * gdb.cp/gdb1355.cc (main): Reference s1.
13884 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13885 (main): Call them.
13886 * gdb.cp/hang2.cc (dummy2): Define.
13887 * gdb.cp/hang3.cc (dummy3): Define.
13888 * gdb.cp/m-data.cc (main): Reference shadow.
13889
138902009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13891 Nathan Froyd <froydnj@codesourcery.com>
13892
13893 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13894 remote host.
13895
138962009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13897
13898 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13899 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13900 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13901 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13902 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13903 * gdb.dwarf2/dw2-producer.exp: Likewise.
13904 * gdb.dwarf2/mac-fileno.exp: Likewise.
13905 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13906 py-prettyprint.py to the remote host.
13907 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13908
139092009-11-11 Keith Seitz <keiths@redhat.com>
13910
13911 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13912 use it instead of "Foo".
13913 * gdb.cp/classes.exp (do_tests): Add a test to access
13914 a method through a typedef'd class name.
13915
139162009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13917
13918 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13919 exponents.
13920 * gdb.base/pointers.exp: Likewise.
13921 * gdb.cp/ref-types.exp: Likewise.
13922
139232009-11-11 Keith Seitz <keiths@redhat.com>
13924
13925 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13926 new[] and delete[].
13927 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13928 "void".
13929 (probe_demangler): Remove all single-quoting of
13930 method and variable names.
13931 (info_func_regexp): Remove the word "void" from any
13932 occurrence of "(void)".
13933 (print_addr_2): Remove all single-quoting of
13934 method names.
13935 (print_addr_2_kfail): Likewise.
13936 (print_addr): Single-quote C function names before
13937 passing to print_addr_2.
13938 (test_paddr_operator_functions): Remove single-quoting
13939 for method names.
13940 Add tests for operator new[] and operator delete[].
13941
139422009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13943
13944 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13945
139462009-11-09 Keith Seitz <keiths@redhat.com>
13947
13948 * gdb.cp/overload.exp: Add tests for resolving overloaded
13949 methods in expression parsing/evaluation.
13950
139512009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13952
13953 * lib/gdb.exp (default_gdb_version): Use --version instead of
13954 --command.
13955
139562009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13957
13958 * lib/gdb.exp (gdb_compile_test): New.
13959 (skip_ada_tests, skip_java_tests): New.
13960 (gdb_compile): Use gdb_compile_test for f77.
13961 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13962 * lib/java.exp (compile_java_from_source): Remove runtests check,
13963 use gdb_compile_test to record result.
13964 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13965 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13966 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13967 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13968 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13969 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13970 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13971 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13972 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13973 adjust gdb_compile invocations.
13974
139752009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13976
13977 * Makefile.in (abs_builddir): New.
13978 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13979 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13980 `$(abs_builddir)/site.exp'.
13981
139822009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13983
13984 * config/m68k-emc.exp, lib/emc-support.exp,
13985 gdb.trace/gdb_c_test.c: Delete.
13986 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13987 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13988 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13989 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13990 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13991 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13992 casing for m68k-*-elf.
13993
139942009-11-03 Pedro Alves <pedro@codesourcery.com>
13995
13996 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13997 * gdb.arch/i386-prologue.exp: Likewise.
13998 * gdb.arch/i386-unwind.exp: Likewise.
13999
140002009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14001
14002 * lib/gdb.exp (gdb_expect): Fix timeout typo.
14003
140042009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14005
14006 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
14007
140082009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14009
14010 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
14011
140122009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14013
14014 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
14015
140162009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14017
14018 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
14019 * gdb.base/sepdebug2.c: New file.
14020
140212009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14022
14023 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
14024 the modified warnings for catch syscall. Verify if GDB was compiled
14025 with support for lib expat, and choose which tests to run depending
14026 on this.
14027
140282009-10-30 Vladimir Prus <vladimir@codesourcery.com>
14029
14030 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
14031 that composite commands are parsed OK. And also test
14032 that breakpoint commands do work.
14033
140342009-10-23 Michael Snyder <msnyder@vmware.com>
14035
14036 gdb.reverse/consecutive-precsave.exp: Change expect pattern
14037 to allow for new disassembly style.
14038
140392009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14040
14041 * gdb.asm/asm-source.exp: Adjust.
14042
140432009-10-22 Michael Snyder <msnyder@vmware.com>
14044
14045 * gdb.reverse/break-precsave.exp: New test.
14046 * gdb.reverse/consecutive-precsave.exp: Ditto.
14047 * gdb.reverse/finish-precsave.exp: Ditto.
14048 * gdb.reverse/i386-precsave.exp: Ditto.
14049 * gdb.reverse/machinestate-precsave.exp: Ditto.
14050 * gdb.reverse/sigall-precsave.exp: Ditto.
14051 * gdb.reverse/solilb-precsave.exp: Ditto.
14052 * gdb.reverse/step-precsave.exp: Ditto.
14053 * gdb.reverse/until-precsave.exp: Ditto.
14054 * gdb.reverse/watch-precsave.exp: Ditto.
14055
140562009-10-22 Michael Snyder <msnyder@vmware.com>
14057
14058 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
14059 for gdb_expect. Adjust one test's expect strings for the new
14060 format of disassemble.
14061 * gdb.reverse/finish-reverse.exp: Delete 'return'.
14062 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
14063 gdb_test_multiple.
14064 * gdb.reverse/step-reverse.exp: Delete 'return'.
14065 * gdb.reverse/until-reverse.exp: Delete blank lines.
14066 * gdb.reverse/watch-reverse.exp: Delete blank lines.
14067
140682009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
14069
14070 * gdb.base/consecutive.exp: Adjust.
14071 * gdb.base/display.exp: Likewise.
14072 * gdb.base/pc-fp.exp: Likewise.
14073 * gdb.base/sigbpt.exp: Likewise.
14074
140752009-10-19 Michael Snyder <msnyder@vmware.com>
14076
14077 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
14078 * gdb.reverse/finish-reverse.c: Ditto.
14079 * gdb.reverse/sigall-reverse.c: Ditto.
14080 * gdb.reverse/solib-reverse.c: Ditto.
14081 * gdb.reverse/step-reverse.c: Ditto.
14082 * gdb.reverse/watch-reverse.c: Ditto.
14083
140842009-10-19 Pedro Alves <pedro@codesourcery.com>
14085 Stan Shebs <stan@codesourcery.com>
14086
14087 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
14088 * gdb.base/foll-exec.exp: Adjust to expect a process id before
14089 "Executing new program".
14090 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
14091 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
14092 left listed after having been killed.
14093 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
14094 * gdb.base/maint.exp: Adjust test.
14095
14096 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
14097 * gdb.multi/Makefile.in: New.
14098 * gdb.multi/base.exp: New.
14099 * gdb.multi/goodbye.c: New.
14100 * gdb.multi/hangout.c: New.
14101 * gdb.multi/hello.c: New.
14102 * gdb.multi/bkpt-multi-exec.c: New.
14103 * gdb.multi/bkpt-multi-exec.exp: New.
14104 * gdb.multi/crashme.c: New.
14105
141062009-10-13 Tristan Gingold <gingold@adacore.com>
14107
14108 * gdb.base/sepdebug.exp: Check debug info are found.
14109
141102009-10-08 Pedro Alves <pedro@codesourcery.com>
14111
14112 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
14113 bits.
14114
141152009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14116
14117 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
14118
141192009-10-07 Joel Brobecker <brobecker@adacore.com>
14120
14121 * gdb.base/watchpoints.c: Add copyright header. Reformat one
14122 of the comments.
14123
141242009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
14125
14126 * gdb.base/annota1.exp: Remove obsolete match_max increase.
14127 * gdb.base/annota3.exp: Idem.
14128 * gdb.base/maint.exp: Idem.
14129
141302009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
14131
14132 * lib/gdb.exp (default_gdb_init): Set current value of match_max
14133 to default.
14134
141352009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14136
14137 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
14138 mingw and cygwin targets.
14139
141402009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14141 Pedro Alves <pedro@codesourcery.com>
14142
14143 * lib/gdb.exp (gdb_compile): Avoid adding
14144 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
14145
141462009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14147
14148 * gdb.base/shr1.c: Use %p in format string.
14149 * gdb.base/unload.c: Avoid warning in fprintf.
14150 * gdb.base/watchpoint-solib.c: Idem.
14151
141522009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14153
14154 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
14155 long type.
14156 (test_unlink): Correct printf string.
14157 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
14158 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
14159
141602009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14161
14162 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
14163 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
14164 * gdb.arch/ia64-breakpoint-shadow.S: New file.
14165
141662009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14167
14168 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
14169 * gdb.objc/nondebug.exp: Likewise.
14170
141712009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14172
14173 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
14174 target_info setting.
14175
14176 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
14177 that detect new threads during "info threads".
14178
141792009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14180
14181 * gdb.threads/manythreads.c (main): Increase thread stack size
14182 to 2*PTHREAD_STACK_MIN.
14183 * gdb.threads/multi-create.c (main): Likewise.
14184 (create_function): Likewise.
14185
141862009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14187
14188 * gdb.base/dump.exp: Pass difference of pointer types instead
14189 of integer types as offset to restore in intarr3.srec case.
14190
141912009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14192
14193 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
14194
141952009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14196
14197 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
14198
141992009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
14200
14201 New test for two watchpoints, with disabling of
14202 the first inserted.
14203 * testsuite/gdb.base/watchpoints.c: New file.
14204 * testsuite/gdb.base/watchpoints.exp: New file.
14205
142062009-09-25 Tom Tromey <tromey@redhat.com>
14207
14208 * gdb.base/charset.exp: Test utf-16 strings with Python.
14209
142102009-09-25 Tom Tromey <tromey@redhat.com>
14211
14212 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
14213 UCS-4.
14214 * gdb.base/charset.c (utf_32_string): Rename.
14215 (init_utf32): Rename.
14216 (main): Update.
14217
142182009-09-22 Tom Tromey <tromey@redhat.com>
14219
14220 * gdb.python/py-function.exp: Add regression tests.
14221
142222009-09-21 Keith Seitz <keiths@redhat.com>
14223
14224 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
14225 with invalid operator.
14226
142272009-09-21 Keith Seitz <keiths@redhat.com>
14228
14229 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
14230 and destructor using typedef name of class.
14231 * gdb.cp/classes.cc (class Base1): Add a destructor.
14232 (base1): New typedef.
14233 (use_methods): Instanitate an object of type base1.
14234 * gdb.cp/templates.exp (test_template_typedef): New procedure.
14235 (do_tests): Call test_template_typedef.
14236 * gdb.cp/templates.cc (Baz::~Baz): New method.
14237 (intBazOne): New typedef.
14238 (main): Instantiate intBazOne.
14239
142402009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14241
14242 PR python/10633
14243
14244 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
14245 Function.
14246 (run_lang_tests): Add print elements test.
14247
142482009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14249
14250 * gdb.python/py-value.exp (test_subscript_regression): New
14251 function. Test for invalid subscripts.
14252 * gdb.python/py-value.c (main): Add test array, and pointer to it.
14253 (ptr_ref): New function.
14254
142552009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14256
14257 * gdb.base/default.exp: Fix "show convenience".
14258
142592009-09-15 Tom Tromey <tromey@redhat.com>
14260
14261 * lib/mi-support.exp (mi_create_varobj): Update.
14262 (mi_create_floating_varobj): Likewise.
14263 (mi_create_dynamic_varobj): New proc.
14264 (mi_varobj_update): Update.
14265 (mi_varobj_update_with_type_change): Likewise.
14266 (mi_varobj_update_kv_helper): New proc.
14267 (mi_varobj_update_dynamic_helper): Rewrite.
14268 (mi_varobj_update_dynamic): New proc.
14269 (mi_list_varobj_children): Update.
14270 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
14271 * gdb.python/python-prettyprint.py (pp_outer): New class.
14272 (pp_nullstr): Likewise.
14273 (lookup_function): Register new printers.
14274 * gdb.python/python-prettyprint.c (struct substruct): New type.
14275 (struct outerstruct): Likewise.
14276 (substruct_test): New function.
14277 (struct nullstr): New type.
14278 (string_1, string_2): New globals.
14279 (main): Add new tests.
14280 * gdb.python/python-mi.exp: Added regression tests.
14281 * gdb.mi/mi2-var-display.exp: Update.
14282 * gdb.mi/mi2-var-cmd.exp: Update.
14283 * gdb.mi/mi2-var-child.exp: Update.
14284 * gdb.mi/mi2-var-block.exp: Update.
14285 * gdb.mi/mi-var-invalidate.exp: Update.
14286 * gdb.mi/mi-var-display.exp: Update.
14287 * gdb.mi/mi-var-cmd.exp: Update.
14288 * gdb.mi/mi-var-child.exp: Update.
14289 * gdb.mi/mi-var-block.exp: Update.
14290 * gdb.mi/mi-break.exp: Update.
14291 * gdb.mi/gdb701.exp: Update.
14292
142932009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14294
14295 * Makefile.in: Inclusion of catch-syscall object.
14296 * gdb.base/catch-syscall.c: New file.
14297 * gdb.base/catch-syscall.exp: New file.
14298
142992009-09-12 Michael Snyder <msnyder@vmware.com>
14300
14301 * gdb.reverse/step-reverse.exp: Explicitly check for targets
14302 that can support reverse debuggnig.
14303
143042009-09-11 Tom Tromey <tromey@redhat.com>
14305
14306 * gdb.dwarf2/valop.S: New file.
14307 * gdb.dwarf2/valop.exp: New file.
14308
143092009-09-11 Mark Kettenis <kettenis@gnu.org>
14310
14311 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
14312
143132009-09-10 Doug Evans <dje@google.com>
14314
14315 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
14316 Add $gdb_prompt to second breakpoint regexp.
14317
143182009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
14319
14320 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
14321 names, add missing ones.
14322 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
14323 * gdb.python/py-frame.c: Rename from python-frame.c.
14324 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
14325 testfile name.
14326 * gdb.python/py-function.exp: Rename from python-function.exp.
14327 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
14328 testfile name.
14329 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
14330 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
14331 Adjust testfile name.
14332 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
14333 * gdb.python/py-template.cc: Rename from python-template.cc.
14334 * gdb.python/py-template.exp: Rename from python-template.exp.
14335 Adjust testfile name.
14336 * gdb.python/py-value.c: Rename from python-value.c.
14337 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
14338 testfile name.
14339
143402009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14341
14342 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
14343 $bpt2address.
14344 (Second breakpoint address is valid on ia64)
14345 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14346
143472009-09-03 Joseph Myers <joseph@codesourcery.com>
14348
14349 * gdb.base/ending-run.exp: Restrict regular expression matching
14350 line number to require closing brace following.
14351
143522009-09-03 Doug Evans <dje@google.com>
14353
14354 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14355
143562009-09-02 Tom Tromey <tromey@redhat.com>
14357
14358 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14359
143602009-09-02 Tom Tromey <tromey@redhat.com>
14361
14362 * gdb.dwarf2/callframecfa.exp: New file.
14363 * gdb.dwarf2/callframecfa.S: New file.
14364
143652009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14366
14367 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14368 gdb.base/solib-overlap-main.c: New.
14369
143702009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14371
14372 PR gdb/10565
14373
14374 * gdb.base/bitfields.c (struct container, container): New.
14375 (main): Initialize it and call break5.
14376 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14377
143782009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14379
14380 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14381 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14382
143832009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14384
14385 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14386
143872009-08-26 Michael Snyder <msnyder@vmware.com>
14388
14389 * gdb.base/i386-reverse.c: New file.
14390 * gdb.base/i386-reverse.exp: New file.
14391 * gdb.base/Makefile.in: Add new files to be removed.
14392
143932009-08-26 Joseph Myers <joseph@codesourcery.com>
14394
14395 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14396 environment-pwd for remote host.
14397 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14398
143992009-08-24 Keith Seitz <keiths@redhat.com>
14400
14401 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14402 Add two new C++ completer tests which limit the output to a
14403 given class.
14404
144052009-08-24 Michael Snyder <msnyder@vmware.com>
14406
14407 * gdb.base/del.exp: Fix typo in comment.
14408 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14409
144102009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14411
14412 * configure: Regenerate.
14413 * gdb.hp/configure: Likewise.
14414 * gdb.hp/gdb.aCC/configure: Likewise.
14415 * gdb.hp/gdb.base-hp/configure: Likewise.
14416 * gdb.hp/gdb.compat/configure: Likewise.
14417 * gdb.hp/gdb.defects/configure: Likewise.
14418 * gdb.hp/gdb.objdbg/configure: Likewise.
14419 * gdb.stabs/configure: Likewise.
14420
144212009-08-19 Doug Evans <dje@google.com>
14422
14423 * gdb.base/gdbvars.c: New file.
14424 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14425
144262009-08-14 Pedro Alves <pedro@codesourcery.com>
14427
14428 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14429 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14430
144312009-08-13 Pedro Alves <pedro@codesourcery.com>
14432
14433 * gdb.base/default.exp: Adjust "set language test": it's now an
14434 enum command. Larger help string moved to "help set language".
14435 * gdb.base/help.exp: Adjust "help set language" expected output,
14436 now lists all known languages.
14437
144382009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14439
14440 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14441 all frame arguments.
14442 * gdb.arch/altivec-regs.exp: Likewise.
14443
144442009-08-07 Tom Tromey <tromey@redhat.com>
14445
14446 * gdb.base/setshow.exp: Add tests for changes to set language, set
14447 check range, and set check type.
14448
144492009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14450
14451 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14452 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
14453 Call it.
14454
144552009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14456
14457 * configure.ac: Run gdb.cell tests when appropriate.
14458 * configure: Regenerate.
14459 * lib/cell.exp: New file.
14460 * gdb.cell: New directory.
14461 * gdb.cell/configure.ac: New file.
14462 * gdb.cell/configure: New file.
14463 * gdb.cell/Makefile.in: New file.
14464 * gdb.cell/arch.exp: New file.
14465 * gdb.cell/break.c: New file.
14466 * gdb.cell/break.exp: New file.
14467 * gdb.cell/break-spu.c: New file.
14468 * gdb.cell/bt.c: New file.
14469 * gdb.cell/bt2-spu.c: New file.
14470 * gdb.cell/bt-spu.c: New file.
14471 * gdb.cell/bt.exp: New file.
14472 * gdb.cell/coremaker.c: New file.
14473 * gdb.cell/coremaker-spu.c: New file.
14474 * gdb.cell/core.exp: New file.
14475 * gdb.cell/gcore.exp: New file.
14476 * gdb.cell/data.c: New file.
14477 * gdb.cell/data.exp: New file.
14478 * gdb.cell/data-spu.c: New file.
14479 * gdb.cell/ea-cache.exp: New file.
14480 * gdb.cell/ea-cache.c: New file.
14481 * gdb.cell/ea-cache-spu.c: New file.
14482 * gdb.cell/ea-standalone.c: New file.
14483 * gdb.cell/ea-standalone.exp: New file.
14484 * gdb.cell/ea-test.c: New file.
14485 * gdb.cell/ea-test.exp: New file.
14486 * gdb.cell/f-regs.exp: New file.
14487 * gdb.cell/mem-access.c: New file.
14488 * gdb.cell/mem-access.exp: New file.
14489 * gdb.cell/mem-access-spu.c: New file.
14490 * gdb.cell/ptype.exp: New file.
14491 * gdb.cell/registers.exp: New file.
14492 * gdb.cell/size.c: New file.
14493 * gdb.cell/sizeof.exp: New file.
14494 * gdb.cell/size-spu.c: New file.
14495 * gdb.cell/solib.exp: New file.
14496 * gdb.cell/solib-symbol.exp: New file.
14497
144982009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14499
14500 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14501
145022009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14503
14504 * gdb.base/float.exp: Handle VFP registers.
14505
145062009-07-14 Michael Snyder <msnyder@vmware.com>
14507
14508 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14509 to bring gdb to the beginning of the calling line.
14510
14511 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14512 confusing the i386 epilogue unwinder.
14513
145142009-07-14 Stan Shebs <stan@codesourcery.com>
14515
14516 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14517
145182009-07-14 Michael Snyder <msnyder@vmware.com>
14519
14520 * gdb.reverse/step-reverse.exp (stepi into function call):
14521 Call instruction may not be first instruction in the line.
14522 (reverse stepi from a function call): Used wrong line number.
14523
145242009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14525
14526 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14527
145282009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14529
14530 Fix gdb.base/macscp.exp when using custom inputrc.
14531 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14532 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14533 env(TERM) set.
14534 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14535 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14536
145372009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14538
14539 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14540 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14541 Change the compilation target to match the testcase name.
14542 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14543 testcase name.
14544 * a2-run.exp: Use for setup prepare_for_testing. Change the
14545 compilation target to match the testcase name.
14546 * gdb.base/commands.exp: Likewise.
14547 * gdb.base/finish.exp: Likewise.
14548 * gdb.base/float.exp: Likewise.
14549 * gdb.base/info-target.exp: Likewise.
14550 * gdb.base/relational.exp: Likewise.
14551 * gdb.base/term.exp: Likewise.
14552 * gdb.base/until.exp: Likewise.
14553 * gdb.base/volatile.exp: Likewise.
14554 * gdb.base/whatis-exp.exp: Likewise.
14555
145562009-07-11 Hui Zhu <teawater@gmail.com>
14557
14558 * gdb.base/help.exp (disassemble): Update expected help text.
14559
145602009-07-09 Tom Tromey <tromey@redhat.com>
14561
14562 * lib/gdb.exp: Handle TRANSCRIPT.
14563 (remote_spawn, remote_close, send_gdb): New procs.
14564
145652009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14566
14567 * gdb.python/python-prettyprint.c: Add counted null string
14568 structure.
14569 * gdb.python/python-prettyprint.exp: Print null string. Test for
14570 embedded nulls.
14571 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14572 * gdb.python/python-value.exp (test_value_in_inferior): Add
14573 variable length string fetch tests.
14574 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14575
145762009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14577
14578 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14579
145802009-07-07 Tom Tromey <tromey@redhat.com>
14581
14582 * gdb.base/call-rt-st.exp: Update for change to escape output.
14583 * gdb.base/callfuncs.exp: Likewise.
14584 * gdb.base/charset.exp: Likewise.
14585 * gdb.base/constvars.exp: Likewise.
14586 * gdb.base/long_long.exp: Likewise.
14587 * gdb.base/pointers.exp: Likewise.
14588 * gdb.base/printcmds.exp: Likewise.
14589 * gdb.base/setvar.exp: Likewise.
14590 * gdb.base/store.exp: Likewise.
14591 * gdb.cp/ref-types.exp: Likewise.
14592 * gdb.mi/mi-var-child.exp: Likewise.
14593 * gdb.mi/mi-var-display.exp: Likewise.
14594 * gdb.mi/mi2-var-display.exp: Likewise.
14595 * gdb.base/charset.exp: Test octal escape sequence length.
14596 Update for change to escape output.
14597
145982009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14599
14600 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14601
146022009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14603
14604 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14605
146062009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14607
14608 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14609 gdbserver increasing $portnum if "Can't bind address" has been seen.
14610
146112009-07-05 Pedro Alves <pedro@codesourcery.com>
14612
14613 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14614 mingw32ce.
14615
146162009-07-05 Pedro Alves <pedro@codesourcery.com>
14617
14618 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14619 VFP format.
14620
146212009-07-02 Pedro Alves <pedro@codesourcery.com>
14622
14623 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14624 linux. Adjust to use "inferior", "info inferiors", "detach
14625 inferior" and "kill inferior" instead of "restart", "info fork",
14626 "detach fork" and "delete fork".
14627 * gdb.base/ending-run.exp: Spell out "info".
14628 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14629 the "kill" command.
14630
146312009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14632
14633 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14634 change to prefix TLS offset in hex with 0x.
14635
146362009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14637
14638 * gdb.base/default.exp: Update test case for "x" changes.
14639
146402009-07-01 Tristan Gingold <gingold@adacore.com>
14641
14642 * gdb.base/bigcore.exp: Make darwin untested.
14643
146442009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14645
14646 * gdb.base/completion.exp (directory completion): Create the directory.
14647 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14648 escapeuniquesub.
14649 (directory completion 2): Expect now ${escapeuniquesub}.
14650 (Glob remaining of directory test): Remove one excessive newline.
14651 Expect the real output.
14652
146532009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14654
14655 Fix `make check//%' target after `make check' has been ran.
14656 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14657 a mkdir call.
14658 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14659 (%/.dir): Remove.
14660
146612009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14662
14663 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14664 the expected result record.
14665
146662009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14667
14668 Remove racy FAILs relying just on the timeouts.
14669 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14670 (annotation_level 2): Remove racy FAILs.
14671
146722009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14673
14674 gdb/10275
14675 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14676
146772009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14678
14679 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14680
146812009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14682
14683 * gdb.mi/mi-stack.exp: Testing symbolic options
14684 to -stack-list-locals and -stack-list-arguments.
14685
146862009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14687
14688 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14689
146902009-06-29 Tom Tromey <tromey@redhat.com>
14691
14692 * dg-extract-results.sh: New file.
14693 * Makefile.in (FORCE_PARALLEL): New variable.
14694 (CHECK_TARGET): New conditional variable.
14695 (check): Use CHECK_TARGET.
14696 (DO_RUNTEST): New variable.
14697 (check-single): New target.
14698 (TEST_DIRS): New variable.
14699 (TEST_TARGETS): Likewise.
14700 (check-parallel): New target.
14701 (check-gdb.%): New pattern.
14702 (BASE1_FILES): New variable.
14703 (BASE2_FILES): Likewise.
14704 (check-gdb.base%): New pattern.
14705 (%/.dir): New pattern.
14706 * configure: Rebuild.
14707 * aclocal.m4 (AM_CONDITIONAL): New defun.
14708 * configure.ac: Check whether user is using GNU make.
14709 (GMAKE): New conditional.
14710
147112009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14712
14713 * gdb.cp/namespace-nested-import.cc: New test.
14714 * gdb.cp/namespace-nested-import.exp: New test.
14715
147162009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14717
14718 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14719 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14720 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14721 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14722 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14723 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14724 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14725 gdb.opt/inline-markers.c: New files.
14726 * lib/gdb.exp (skip_inline_frame_tests): New function.
14727 (skip_inline_var_tests): New function.
14728
147292009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14730
14731 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14732 backtrace.
14733
147342009-06-27 Michael Snyder <msnyder@vmware.com>
14735
14736 * gdb.reverse: New directory.
14737 * gdb.reverse/break-reverse.c: New test.
14738 * gdb.reverse/break-reverse.exp: New test.
14739 * gdb.reverse/consecutive-reverse.c: New test.
14740 * gdb.reverse/consecutive-reverse.exp: New test.
14741 * gdb.reverse/finish-reverse.c: New test.
14742 * gdb.reverse/finish-reverse.exp: New test.
14743 * gdb.reverse/machinestate.c: New test.
14744 * gdb.reverse/ms1.c: New test.
14745 * gdb.reverse/machinestate.exp: New test.
14746 * gdb.reverse/Makefile.in: New file.
14747 * gdb.reverse/shr2.c: New test.
14748 * gdb.reverse/solib-reverse.c: New test.
14749 * gdb.reverse/solib-reverse.exp: New test.
14750 * gdb.reverse/step-reverse.c: New test.
14751 * gdb.reverse/step-reverse.exp: New test.
14752 * gdb.reverse/until-reverse.c: New test.
14753 * gdb.reverse/ur1.c: New test.
14754 * gdb.reverse/until-reverse.exp: New test.
14755 * gdb.reverse/watch-reverse.c: New test.
14756 * gdb.reverse/watch-reverse.exp: New test.
14757 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14758 * configure: Regenerate.
14759
147602009-06-26 Doug Evans <dje@google.com>
14761
14762 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14763
147642009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14765
14766 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14767 windows problem for 'file delete $binfile'.
14768
147692009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14770
14771 * gdb.cp/namespace-using.exp: New test.
14772 * gdb.cp/namespace-using.cc: New test.
14773
147742009-05-20 Joel Brobecker <brobecker@adacore.com>
14775
14776 * gdb.ada/variant_record_packed_array: New testcase.
14777
147782009-06-23 Tom Tromey <tromey@redhat.com>
14779
14780 * gdb.base/charset.exp (test_combination): Regression test.
14781 * gdb.base/charset.c (my_wchar_t): New typedef.
14782 (myvar): New global.
14783 (main): Set myvar.
14784
147852009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14786
14787 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14788 target.
14789
147902009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14791
14792 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14793
147942009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14795
14796 * gdb.mi/gdb680.exp: Update test for error message.
14797
147982009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14799
14800 * gdb.base/annota1.exp: Allow multiple occurrences of the
14801 frames-invalid annotation.
14802 * gdb.cp/annota2.exp: Likewise.
14803
148042009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14805
14806 * gdb.cp/gdb2495.cc: New file.
14807 * gdb.cp/gdb2495.exp: New file.
14808
148092009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14810
14811 Report error on GDB crash during runto.
14812 * lib/gdb.exp (runto <eof>): New.
14813
148142009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14815
14816 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14817 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14818 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14819 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14820 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14821 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14822 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14823 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14824 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14825 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14826 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14827 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14828 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14829 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14830 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14831 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14832 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14833 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14834 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14835 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14836 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14837 gdb.trace/passcount.exp, gdb.trace/report.exp,
14838 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14839 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14840 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14841 executable.
14842
148432009-06-07 Pedro Alves <pedro@codesourcery.com>
14844
14845 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14846 defined before referencing it.
14847
148482009-06-03 Doug Evans <dje@google.com>
14849
14850 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14851 * gdb.arch/i386-see.c: Ditto.
14852
148532009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14854
14855 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14856 (check_macro): Return 1 if undefined.
14857 If first test fails, check if macro debug information is available,
14858 and report unsupported test if no macro information is found.
14859
148602009-05-29 Doug Evans <dje@google.com>
14861
14862 * gdb.threads/hand-call-in-threads.exp: New.
14863 * gdb.threads/hand-call-in-threads.c: New.
14864
148652009-05-29 Michael Snyder <msnyder@vmware.com>
14866
14867 * gdb.base/break-always.exp: Change "1" to "on".
14868 Add confirmation check.
14869
148702009-05-28 Pedro Alves <pedro@codesourcery.com>
14871
14872 * gdb.threads/threxit-hop-specific.c: New.
14873 * gdb.threads/threxit-hop-specific.exp: New.
14874 * gdb.threads/thread-execl.c: New.
14875 * gdb.threads/thread-execl.exp: New.
14876
148772009-05-27 Tom Tromey <tromey@redhat.com>
14878 Thiago Jung Bauermann <bauerman@br.ibm.com>
14879
14880 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14881 (mi_child_regexp): Likewise.
14882 (mi_list_varobj_children_range): Likewise.
14883 (mi_get_features): Likewise.
14884 (mi_list_varobj_children): Rewrite.
14885 * gdb.python/python-mi.exp: New file.
14886
148872009-05-27 Tom Tromey <tromey@redhat.com>
14888 Thiago Jung Bauermann <bauerman@br.ibm.com>
14889 Phil Muldoon <pmuldoon@redhat.com>
14890 Paul Pluzhnikov <ppluzhnikov@google.com>
14891
14892 * gdb.python/python-prettyprint.exp: New file.
14893 * gdb.python/python-prettyprint.c: New file.
14894 * gdb.python/python-prettyprint.py: New file.
14895 * gdb.base/display.exp: print/r is now valid.
14896
148972009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14898 Tom Tromey <tromey@redhat.com>
14899 Pedro Alves <pedro@codesourcery.com>
14900 Paul Pluzhnikov <ppluzhnikov@google.com>
14901
14902 * gdb.python/python-template.exp: New file.
14903 * gdb.python/python-template.cc: New file.
14904 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14905 tests.
14906 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14907 Call it.
14908 (test_value_after_death): New proc.
14909 * gdb.python/python-value.c (PTR): New typedef.
14910 (main): New variable 'x'.
14911
149122009-05-27 Tom Tromey <tromey@redhat.com>
14913
14914 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14915 tests.
14916 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14917 Call it.
14918
149192009-05-27 Pedro Alves <pedro@codesourcery.com>
14920
14921 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14922
149232009-05-24 Pedro Alves <pedro@codesourcery.com>
14924
14925 * gdb.threads/fork-thread-pending.c: New.
14926 * gdb.threads/fork-thread-pending.exp: New.
14927
149282009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14929
14930 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14931 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14932
149332009-05-18 Jon Beniston <jon@beniston.com>
14934
14935 * gdb.asm/asm-source.exp: Add lm32 target.
14936
149372009-05-17 Pedro Alves <pedro@codesourcery.com>
14938
14939 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14940 `gdb_get_line_number'. Call `callee' in both parent and child.
14941 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14942 `gdb_get_line_number' instead of hardcoding line numbers.
14943 (catch_fork_unpatch_child): New procedure to test detaching
14944 breakpoints from child fork.
14945 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14946 hardcoding line numbers.
14947 (do_fork_tests): Run `catch_fork_unpatch_child'.
14948
149492009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14950
14951 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14952 of structure type enters or leaves the scope, it
14953 is reported by -var-update.
14954
149552009-05-11 Doug Evans <dje@sebabeach.org>
14956
14957 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14958 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14959 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14960
149612009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14962
14963 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14964
149652009-04-30 Doug Evans <dje@google.com>
14966
14967 * gdb.threads/watchthreads2.exp: New testcase.
14968 * gdb.threads/watchthreads2.c: New testcase.
14969
149702009-04-29 Doug Evans <dje@google.com>
14971
14972 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14973 * gdb.cp/mb-ctor.cc: Ditto.
14974 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14975 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14976 * gdb.cp/mb-inline1.cc: Call it.
14977 * gdb.cp/mb-inline2.cc: Ditto.
14978 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14979 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14980
149812009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14982
14983 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14984 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14985 Replace all uses of `decimal' by `nonzero'.
14986 (info macro FROM_COMMANDLINE): New test.
14987
149882009-04-27 Tom Tromey <tromey@redhat.com>
14989
14990 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14991
149922009-04-27 Doug Evans <dje@google.com>
14993
14994 * gdb.threads/watchthreads.c (main): Initialize args before starting
14995 the threads. Plus formatting cleanup.
14996 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14997 biased scheduling of one thread.
14998
149992009-04-27 Jerome Guitton <guitton@adacore.com>
15000
15001 * gdb.cp/templates.cc (GetMax): New template.
15002 (main): Declare two instances of GetMax.
15003 * gdb.cp/templates.exp: Add new test.
15004
150052009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15006
15007 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
15008
150092009-04-22 Joseph Myers <joseph@codesourcery.com>
15010
15011 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
15012
150132009-04-15 Tom Tromey <tromey@redhat.com>
15014
15015 * gdb.base/charset.exp: Add regression test.
15016
150172009-04-14 Joel Brobecker <brobecker@adacore.com>
15018
15019 * gdb.base/exe-lock.exp: New testcase.
15020
150212009-04-13 Tom Tromey <tromey@redhat.com>
15022
15023 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
15024 operator on Frame.
15025
150262009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15027
15028 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
15029 * gdb.server/ext-attach.exp: Likewise.
15030
150312009-04-03 Vladimir Prus <vladimir@codesourcery.com>
15032
15033 Eliminate some sleep usage.
15034
15035 * gdb.mi/basics.c (do_nothing): New.
15036 (main): Use do_nothing instead of printf, so that
15037 not to introduce race condition between output of
15038 inferiour and output of gdb. Do not use sleep as it
15039 is not generally available on embedded targets.
15040
150412009-04-02 Pedro Alves <pedro@codesourcery.com>
15042
15043 * gdb.server/ext-attach.exp: Expect an optional process id after
15044 "Detached from remote process".
15045
150462009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15047
15048 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
15049 gdb.dwarf2/dw2-unresolved.exp: New.
15050
150512009-04-02 Pedro Alves <pedro@codesourcery.com>
15052
15053 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
15054 mi_run_to_main.
15055
150562009-04-02 Pedro Alves <pedro@codesourcery.com>
15057
15058 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
15059 mi_run_to_main. Skip thread exit test on remote targets.
15060 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
15061 mi_run_to_main.
15062 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
15063 mi_run_to_main.
15064 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
15065 when expecting ^connected. Detect when the target doesn't support
15066 non-stop mode.
15067 (mi_run_cmd): Detect if non-stop mode was requested by isn't
15068 supported. Return -1 on error, 0 on success.
15069 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
15070 (mi_runto): Return mi_runto_helper's result explicitly.
15071
150722009-04-01 Pedro Alves <pedro@codesourcery.com>
15073
15074 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
15075
150762009-04-01 Tom Tromey <tromey@redhat.com>
15077
15078 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
15079 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
15080 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
15081 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
15082
150832009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
15084 Jan Kratochvil <jan.kratochvil@redhat.com>
15085
15086 PR gdb/931
15087 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
15088 output.
15089 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
15090 for gdb/931.
15091 * dw2-strp.S (DW_AT_language): Change to C++.
15092 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
15093
150942009-03-31 Joel Brobecker <brobecker@adacore.com>
15095
15096 * gdb.ada/tasks: New testcase.
15097
150982009-03-30 Stan Shebs <stan@codesourcery.com>
15099
15100 * gdb.trace/actions.exp: Update to match new info trace format.
15101 * gdb.trace/deltrace.exp: Ditto.
15102 * gdb.trace/infotrace.exp: Ditto.
15103 * gdb.trace/passcount.exp: Ditto.
15104 * gdb.trace/save-trace.exp: Ditto.
15105 * gdb.trace/while-stepping.exp: Ditto.
15106 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
15107
151082009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15109
15110 * gdb.python/python-frame.c: New file.
15111 * gdb.python/python-frame.exp: New file.
15112
151132009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
15114
15115 * gdb.python/python-value.exp: Add tests for the address
15116 attribute.
15117
151182009-03-29 Andreas Schwab <schwab@linux-m68k.org>
15119
15120 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
15121
151222009-03-26 Doug Evans <dje@google.com>
15123
15124 * gdb.mi/mi-nonstop-exit.exp: New file.
15125 * gdb.mi/non-stop-exit.c: New file.
15126
151272009-03-26 Tom Tromey <tromey@redhat.com>
15128
15129 Update for change to prologue skipping:
15130 * gdb.mi/mi2-simplerun.exp: Update.
15131 * gdb.mi/mi2-break.exp: Update.
15132 * gdb.mi/mi-simplerun.exp: Update.
15133 * gdb.mi/mi-break.exp: Update.
15134 * gdb.base/ending-run.exp: Update.
15135
151362009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
15137
15138 * gdb.python/python-value.exp (test_value_in_inferior): Test
15139 gdb.Value.is_optimized_out attribute.
15140
151412009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15142
15143 * gdb.dwarf2/dw2-noloc-main.c: New file.
15144 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
15145 (.text): Remove.
15146 (.data): New.
15147 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
15148 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
15149 (DW_TAG_subprogram func_cu1, noloc): Remove.
15150 (main): New.
15151 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
15152 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
15153 (file_symbols): New procedure.
15154
151552009-03-25 Tom Tromey <tromey@redhat.com>
15156
15157 * gdb.base/charset.exp (valid_target_charset): New proc.
15158 Use it to skip tests on invalid charsets.
15159
151602009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
15161
15162 * gdb.base/completion.exp: Add a test for directory completion.
15163
151642009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15165
15166 Fix a racy FAIL.
15167 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
15168 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
15169
151702009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
15171
15172 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
15173 * gdb.python/python-function.exp: Add test for function returning
15174 a GDB value.
15175
151762009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
15177
15178 * gdb.python/python-function.exp: New file.
15179
151802009-03-20 Tom Tromey <tromey@redhat.com>
15181
15182 * gdb.base/store.exp: Update for change to escape output.
15183 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
15184 to escape output.
15185 * gdb.base/pointers.exp: Update for change to escape output.
15186 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
15187 to escape output.
15188 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
15189 escape output.
15190 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
15191 to escape output.
15192 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
15193 escape output.
15194 * gdb.base/setvar.exp: Update for change to escape output.
15195 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
15196 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
15197 to escape output.
15198 (test_print_string_constants): Likewise.
15199 * gdb.base/charset.exp (valid_host_charset): Check size of
15200 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
15201 cases. Handle "auto"-related output.
15202 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
15203 (uvar, Uvar): New globals.
15204
152052009-03-19 Jerome Guitton <guitton@adacore.com>
15206
15207 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
15208 deltas.
15209 * gdb.ada/fixed_points.exp: Ditto.
15210
152112009-03-18 Pedro Alves <pedro@codesourcery.com>
15212
15213 * return-nodebug.c: Don't include stdio.h.
15214 (init): Delete.
15215 (func): Delete definition and provide extern declaration.
15216 (t): New.
15217 (main): Don't call printf. Call func and store its result in t.
15218 * return-nodebug1.c: New.
15219 * return-nodebug.exp: Don't expect stdio output. Instead, print
15220 the global variable t. Drop printf formatters and cast types from
15221 foreach loop. Don't use prepare_for_testing. Compile
15222 return-nodebug.c and return-nodebug1.c in separate steps. Don't
15223 define FORMAT or CAST.
15224
152252009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15226
15227 * gdb.base/solib-display.exp: Disable test for remote targers.
15228
152292009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15230
15231 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
15232
152332009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15234
15235 Fix a racy FAIL.
15236 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
15237 code from `follow parent, print pids'.
15238 (`follow child, print pids', `follow parent, print pids'): Call it.
15239 Replace `gdb_test "break..."' by gdb_breakpoint.
15240
152412009-03-13 Vladimir Prus <vladimir@codesourcery.com>
15242
15243 * gdb.mi/mi-cli.exp: Adjust for output difference in
15244 sync and async modes.
15245
152462009-03-12 Joel Brobecker <brobecker@adacore.com>
15247
15248 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
15249 that was checked in by mistake. Remove loading of ada.exp, since
15250 this is not necessary in this case.
15251
152522009-03-12 Joel Brobecker <brobecker@adacore.com>
15253
15254 * gdb.ada/ptype_arith_binop.exp: New testcase.
15255
152562009-03-12 Joel Brobecker <brobecker@adacore.com>
15257
15258 * gdb.ada/mod_from_name: New testcase.
15259
152602009-03-12 Joel Brobecker <brobecker@adacore.com>
15261
15262 * gdb.ada/tick_last_segv: New testcase.
15263
152642009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15265
15266 * gdb.mi/mi-cli.exp: Remove debug print.
15267
152682009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15269
15270 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
15271 include the token in ^running and frame info in *stopped.
15272
152732009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15274
15275 * solib-display.exp: New file.
15276 * solib-display-main.c: New file.
15277 * solib-display-lib.c: New file.
15278
152792009-03-05 Pedro Alves <pedro@codesourcery.com>
15280
15281 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
15282
152832009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15284
15285 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
15286 (list_and_check_macro): Use more specific test name.
15287 (next to definition): Make the test names unique.
15288
152892009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
15290
15291 * gdb.pascal/floats.exp: Accept approximate results everywhere.
15292
152932009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15294
15295 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
15296 notifications.
15297 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
15298 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
15299 * lib/mi-support.exp (library_loaded_re): New.
15300 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
15301
153022009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15303
15304 * gdb.gdb/observer.exp: Use test_notification observer, not
15305 normal_stop, everywhere.
15306 (test_normal_stop_notifications): Rename to...
15307 (test_notifications): ...this.
15308 (test_observer_normal_stop): Rename to...
15309 (test_observer): ...this.
15310
153112009-02-16 Doug Evans <dje@google.com>
15312
15313 * gdb.arch/amd64-disp-step.S (test_int3): New test.
15314 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
15315 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
15316 (test_prefixed_syscall,test_int3): New tests.
15317 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
15318 (test_prefixed_syscall,test_int3): New tests.
15319
153202009-02-14 Vladimir Prus <vladimir@codesourcery.com>
15321
15322 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
15323 (mi_expect_interrupt): Likewise.
15324 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
15325 response.
15326
153272009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15328
15329 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
15330 * gdb.base/pc-fp.exp (get_valueofx): Remove.
15331 Replace calls to get_valueofx by get_hexadecimal_valueof.
15332
153332009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15334
15335 * lib/gdb.exp (get_valueof): Accept anything as a return value.
15336 (get_integer_valueof): New procedure.
15337 (get_sizeof): Use new get_integer_value_of.
15338 * gdb.base/sizeof.exp: Replace all uses of get_valueof
15339 by get_integer_valueof.
15340
153412009-02-13 Tom Tromey <tromey@redhat.com>
15342
15343 * gdb.base/remote.exp (get_sizeof): Remove.
15344 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15345 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15346 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15347 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15348 (get_sizeof): Likewise.
15349
153502009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15351
15352 PR fortran/9806
15353 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15354
153552009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15356
15357 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15358
153592009-02-06 Pedro Alves <pedro@codesourcery.com>
15360
15361 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15362
153632009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15364
15365 * gdb.python/python-cmd.exp: New file.
15366
153672009-02-06 Tristan Gingold <gingold@adacore.com>
15368
15369 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15370
153712009-02-05 Tristan Gingold <gingold@adacore.com>
15372
15373 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15374 pointer is dereferenced and use this signal name in regexp.
15375 * gdb.base/signull.exp: Ditto.
15376 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15377 * gdb.base/signull.c (main): Ditto.
15378
153792009-02-04 Tom Tromey <tromey@redhat.com>
15380 Thiago Jung Bauermann <bauerman@br.ibm.com>
15381
15382 * gdb.python/python-value.exp: Use `gdb.history' instead of
15383 `gdb.value_from_history'.
15384 (test_value_numeric_ops): Add test for conversion of enum constant.
15385 * gdb.python/python-value.c (enum e): New type.
15386 (evalue): New global.
15387 (main): Use argv.
15388
153892009-02-04 Jerome Guitton <guitton@adacore.com>
15390
15391 * gdb.ada/uninitialized_vars: New test program.
15392 * gdb.ada/uninitialized_vars.exp: New testcase.
15393
153942009-02-02 Tom Tromey <tromey@redhat.com>
15395
15396 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15397 * gdb.cp/pr2489.cc: Rename...
15398 * gdb.cp/pr9594.cc: ... to this.
15399
154002009-02-02 Tom Tromey <tromey@redhat.com>
15401
15402 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15403 * gdb.cp/pr2489.cc: New file.
15404 * gdb.cp/cpcompletion.exp: New file.
15405
154062009-02-02 Tom Tromey <tromey@redhat.com>
15407
15408 PR exp/9059:
15409 * gdb.cp/call-c.exp: Add regression test.
15410 * gdb.cp/call-c.cc (FooHandle): New typedef.
15411 (main): New variable 'handle'.
15412
154132009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15414
15415 * lib/mi-support.exp (et_mi_thread_list)
15416 (check_mi_and_console_threads): Adjust for current thread in
15417 -thread-list-ids output.
15418
154192009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15420
15421 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15422 Call it.
15423
154242009-01-28 Doug Evans <dje@google.com>
15425
15426 * gdb.arch/amd64-disp-step.S: New file.
15427 * gdb.arch/amd64-disp-step.exp: New file.
15428 * gdb.arch/i386-disp-step.S: New file.
15429 * gdb.arch/i386-disp-step.exp: New file.
15430
154312009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15432
15433 * gdb.base/find.exp: Set newline variable
15434 using quotes instead of braces to fix cygwin failures.
15435
154362009-01-23 Pedro Alves <pedro@codesourcery.com>
15437
15438 * gdb.base/radix.exp: Add tests to ensure that that set
15439 input-radix 0 and set output-radix 0 are really rejected.
15440
154412009-01-23 Pedro Alves <pedro@codesourcery.com>
15442
15443 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15444 copyright years.
15445
154462009-01-23 Pedro Alves <pedro@codesourcery.com>
15447
15448 PR gdb/9664:
15449 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15450
154512009-01-22 Pedro Alves <pedro@codesourcery.com>
15452
15453 PR c++/9631:
15454 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15455
154562009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15457
15458 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15459 binfile definition to fix Windows OS failure.
15460
154612009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15462
15463 PR gdb/9346
15464 * gdb.base/interrupt.c (sigint_handler): New.
15465 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15466 on error.
15467 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15468 Test "signal SIGINT".
15469
154702009-01-19 Doug Evans <dje@google.com>
15471
15472 * gdb.base/break.exp: Update expected gdb output.
15473 * gdb.base/sepdebug.exp: Ditto.
15474 * gdb.mi/mi-syn-frame.exp: Ditto.
15475 * gdb.mi/mi2-syn-frame.exp: Ditto.
15476 * gdb.base/call-signal-resume.exp: New file.
15477 * gdb.base/call-signals.c: New file.
15478 * gdb.base/unwindonsignal.exp: New file.
15479 * gdb.base/unwindonsignal.c: New file.
15480 * gdb.threads/interrupted-hand-call.exp: New file.
15481 * gdb.threads/interrupted-hand-call.c: New file.
15482 * gdb.threads/thread-unwindonsignal.exp: New file.
15483
154842009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15485
15486 * gdb.base/define.exp: Test defining and hooking prefix commands.
15487 * gdb.python/python.exp: Update test for "show user" output.
15488
154892009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15490
15491 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15492 now the output exactly, using less wildcards. Expect also the output
15493 of gfortran-4.3. Update for the f-valprint.c modification from
15494 2008-04-22.
15495 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15496 Remove gdb_test test names where matching the command.
15497
154982009-01-01 Pedro Alves <pedro@codesourcery.com>
15499
15500 PR breakpoints/9681:
15501 * gdb.base/watchpoint.exp: Add regression test.
15502
155032008-12-31 Pedro Alves <pedro@codesourcery.com>
15504
15505 * gdb.threads/attach-into-signal.exp: Don't use
15506 gdb_suppress_entire_file.
15507 * gdb.threads/attach-stopped.exp: Ditto.
15508 * gdb.threads/attachstop-mt.exp: Ditto.
15509
155102008-12-31 Pedro Alves <pedro@codesourcery.com>
15511
15512 PR gdb/8812:
15513 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15514
155152008-12-29 Pedro Alves <pedro@codesourcery.com>
15516
15517 PR gdb/7536:
15518 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15519 and unsupported output radices are really rejected.
15520
155212008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15522
15523 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15524
155252008-12-22 Tom Tromey <tromey@redhat.com>
15526
15527 * gdb.cp/punctuator.exp: New file.
15528
155292008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15530
15531 * gdb.base/completion.exp (Completing non-existing component): New test.
15532
155332008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15534
15535 Fix for PR gdb/8648.
15536 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15537 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15538 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15539 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15540
155412008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15542
15543 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15544
155452008-12-16 Christophe Lyon <christophe.lyon@st.com>
15546
15547 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15548 compiler actually generate code at the expected line number.
15549
155502008-12-15 Jie Zhang <jie.zhang@analog.com>
15551
15552 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15553
155542008-12-12 Tom Tromey <tromey@redhat.com>
15555
15556 * gdb.base/commands.exp (redefine_hook_test): New proc.
15557 Call it.
15558
155592008-12-11 Tom Tromey <tromey@redhat.com>
15560
15561 * gdb.base/macscp.exp: New regression test.
15562
155632008-12-11 Tom Tromey <tromey@redhat.com>
15564
15565 * gdb.base/macscp.exp: Print "address.addr".
15566 * gdb.base/macscp1.c (struct outer): New struct.
15567 (address): New global.
15568
155692008-12-09 Tom Tromey <tromey@redhat.com>
15570
15571 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15572 Call it.
15573
155742008-12-04 Doug Evans <dje@google.com>
15575
15576 * gdb.server/ext-run.exp: Relax regexp for init program.
15577
155782008-12-03 Tristan Gingold <gingold@adacore.com>
15579
15580 * gdb.base/macscp.exp: Generate an object file during compilation
15581 to work around Darwin dsymutil limitations.
15582
155832008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15584
15585 Test resolving external references to TLS variables.
15586 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15587 FILE2_THREAD_LOCAL.
15588 (testfile2, srcfile2): New variables.
15589 * gdb.threads/tls.c (file2_thread_local)
15590 (function_referencing_file2_thread_local): New.
15591 * gdb.threads/tls2.c: New file.
15592
155932008-11-28 Joel Brobecker <brobecker@adacore.com>
15594
15595 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
15596 rather than integer, as integer might not be big enough when
15597 on 64bit targets.
15598
155992008-11-27 Jerome Guitton <guitton@adacore.com>
15600
15601 * gdb.cp/formatted-ref.exp: Add equality test.
15602 * gdb.ada/formatted_ref.exp: Ditto.
15603
156042008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15605
15606 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15607 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15608
156092008-11-20 Andreas Schwab <schwab@suse.de>
15610
15611 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15612 matching syscall entry point.
15613 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15614 (tcatch_vfork_then_child_follow): Likewise. Finish through
15615 vfork even if we stopped at the syscall trampoline.
15616
156172008-11-20 Doug Evans <dje@google.com>
15618
15619 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15620
156212008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15622
15623 * gdb.arch/ppc-dfp.exp: New file.
15624 * gdb.arch/ppc-dfp.c: New file.
15625
156262008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15627
15628 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
15629
156302008-11-17 Doug Evans <dje@google.com>
15631
15632 * gdb.mi/mi-syn-frame.exp: Update expected output.
15633 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15634
156352008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15636
15637 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
15638 "thread N" results in =thread-selected.
15639 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15640 (mi_send_resuming_command_raw): Be prepared for
15641 =thread-selected.
15642
156432008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15644
15645 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15646 * lib/mi-support.exp: Likewise.
15647
156482008-11-16 Joel Brobecker <brobecker@adacore.com>
15649
15650 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15651 commands from the expected output for "help catch".
15652
156532008-11-15 Joel Brobecker <brobecker@adacore.com>
15654
15655 * gdb.ada/int_deref.exp: New testcase.
15656
156572008-11-14 Nick Roberts <nickrob@snap.net.nz>
15658
15659 * gdb.mi/gdb2549.exp: New file.
15660
156612008-11-11 Doug Evans <dje@google.com>
15662
15663 * gdb.base/callexit.exp: New file.
15664 * gdb.base/callexit.c: New file.
15665
156662008-11-10 Doug Evans <dje@google.com>
15667
15668 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15669 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15670 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15671 (default_gdb_start,default_gdb_exit): Ditto.
15672 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15673 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15674 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15675 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15676 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15677 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15678
156792008-11-03 Andreas Schwab <schwab@suse.de>
15680
15681 * gdb.base/hashline2.exp: Fix typo.
15682 * gdb.base/hashline3.exp: Likewise.
15683
156842008-10-30 Tom Tromey <tromey@redhat.com>
15685
15686 * gdb.base/pointers.exp: Add test.
15687 * gdb.base/pointers.c (k, S): New typedefs.
15688 (instance): New global.
15689
156902008-10-30 Andreas Schwab <schwab@suse.de>
15691
15692 * gdb.base/args.exp: Add tests for newlines.
15693
156942008-10-30 Joel Brobecker <brobecker@adacore.com>
15695
15696 gdb.base/foll-exec.exp: Update the expected output of a couple
15697 of "info breakpoints" tests.
15698
156992008-10-28 Tom Tromey <tromey@redhat.com>
15700
15701 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15702
157032008-10-24 Pedro Alves <pedro@codesourcery.com>
15704
15705 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15706 gdb_start_cmd.
15707 Use runto_main before any test that requires execution.
15708
157092008-10-23 Pedro Alves <pedro@codesourcery.com>
15710
15711 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15712 instead of SIGINT.
15713
157142008-10-22 Joel Brobecker <brobecker@adacore.com>
15715
15716 * gdb.base/completion.exp: Update expected output following
15717 the addition of the "info tasks" command.
15718
157192008-10-22 Tom Tromey <tromey@redhat.com>
15720
15721 * gdb.base/exprs.exp (test_expr): Add test for string
15722 concatenation.
15723
157242008-10-19 Pedro Alves <pedro@codesourcery.com>
15725
15726 * configure.ac: Output gdb.python/Makefile.
15727 * configure: Regenerate.
15728 * gdb.python/Makefile.in: New.
15729
157302008-10-16 Joel Brobecker <brobecker@adacore.com>
15731
15732 * gdb.base/foll-fork.exp: Adjust the expected output to match
15733 the new description for fork/vfork catchpoints in the "info
15734 breakpoints" output.
15735
157362008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15737
15738 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15739
157402008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15741
15742 * gdb.python/python-value.c: New file.
15743 * gdb.python/python-value.exp: New file.
15744
157452008-10-15 Pedro Alves <pedro@codesourcery.com>
15746
15747 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15748
157492008-10-15 Denis Pilat <denis.pilat@st.com>
15750
15751 * gdb.cp/mb-ctor.exp: Fix a typo.
15752
157532008-10-09 Tom Tromey <tromey@redhat.com>
15754
15755 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15756 'fprintf' and 'stderr'.
15757
157582008-10-07 Joel Brobecker <brobecker@adacore.com>
15759
15760 * gdb.ada/ref_tick_size.exp: New testcase.
15761
157622008-10-06 Doug Evans <dje@google.com>
15763
15764 * gdb.dwarf2/dw2-cu-size.exp: New file.
15765 * gdb.dwarf2/dw2-cu-size.S: New file.
15766
15767 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15768 .Ltype_int for clarity.
15769
157702008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15771
15772 PR gdb/2384:
15773 * gdb.cp/gdb2384.exp: Extended to test more cases.
15774 * gdb.cp/gdb2384.cc: Likewise.
15775 * gdb.cp/gdb2384-base.h: Likewise.
15776 * gdb.cp/gdb2384-base.cc: Likewise.
15777
157782008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15779
15780 * gdb.base/maint.exp (maint print type): Remove printing
15781 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15782
157832008-09-30 Tom Tromey <tromey@redhat.com>
15784
15785 * gdb.base/macscp.exp: Add completion tests.
15786 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15787 (TWENTY_THREE): Likewise.
15788 (FORTY_EIGHT): Likewise.
15789
157902008-09-30 Tom Tromey <tromey@redhat.com>
15791
15792 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15793 everywhere.
15794 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15795
157962008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15797
15798 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15799 testcase is derived from. Fix racy dependency on an expected PID
15800 number. No longer support the testcase on Linux kernel 2.4.x.
15801
158022008-09-27 Tom Tromey <tromey@redhat.com>
15803
15804 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15805 and varargs.
15806
158072008-09-22 Pedro Alves <pedro@codesourcery.com>
15808
15809 * lib/mi-support.exp (mi_expect_interrupt): New.
15810 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15811 from gdb.mi/mi-nonstop.exp.
15812 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15813 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15814 lib/mi-support.exp.
15815 Use mi_check_thread_states throughout. Avoid ".*" and do not
15816 require an anchor after -exec-run.
15817
158182008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15819
15820 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15821 stop is pending. Avoid ".*" when two stops are pending.
15822 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15823 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15824 newlines in fullnames.
15825 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15826 (mi_expect_stop): Update comments. Only anchor in sync mode.
15827 Do not match newlines.
15828 (mi_send_resuming_command_raw): Always return status.
15829 (mi_get_stop_line): Do not match more than one line by accident.
15830 Only anchor in sync mode.
15831 (mi_run_inline_test): If -exec-next fails, give up.
15832
158332008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15834
15835 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15836 on SPU.
15837
158382008-09-10 Joel Brobecker <brobecker@adacore.com>
15839
15840 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15841
158422008-09-10 Joel Brobecker <brobecker@adacore.com>
15843
15844 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15845 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15846 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15847 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15848 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15849 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15850 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15851 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15852 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15853 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15854 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15855 Include the "= " sequence in the expected output of print tests.
15856
158572008-09-10 Joel Brobecker <brobecker@adacore.com>
15858
15859 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15860 description for boolean types.
15861
158622008-09-09 Pedro Alves <pedro@codesourcery.com>
15863
15864 * gdb.base/hook-stop-continue.c: New.
15865 * gdb.base/hook-stop-continue.exp: New.
15866
158672008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15868
15869 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15870
158712008-09-08 Jerome Guitton <guitton@adacore.com>
15872
15873 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15874 (stack_check_probe_2, stack_check_probe_loop_1)
15875 (stack_check_probe_loop_2): New functions.
15876 (main): Add call to these new functions.
15877 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15878 functions, check that the breakpoint is inserted at the appropriate
15879 location.
15880 (insert_breakpoint): Slightly refine this procedure so that it can
15881 be called several times in the test.
15882
158832008-09-08 Jerome Guitton <guitton@adacore.com>
15884
15885 * gdb.base/stack-checking.c: New file.
15886 * gdb.base/stack-checking.exp: New file.
15887
158882008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15889
15890 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15891 * gdb.arch/altivec-regs.exp: Likewise.
15892 * gdb.arch/vsx-regs.exp: Likewise.
15893
158942008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15895
15896 * gdb.arch/ppc-fp.exp: New file.
15897 * gdb.arch/ppc-fp.c: New file.
15898
158992008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15900
15901 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15902 lest gcc-4.3.1 optimizes the whole thing away.
15903
159042008-09-04 Michael Snyder <msnyder@vmware.com>
15905
15906 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15907 as "at" (for non-debug functions such as _start).
15908
159092008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15910
15911 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15912 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15913 software watchpoints.
15914 * gdb.base/watch_thread_num.exp: Likewise.
15915
159162008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15917
15918 * gdb.arch/i386-bp_permanent.exp: New test.
15919
159202008-08-24 Tom Tromey <tromey@redhat.com>
15921
15922 * gdb.base/maint.exp: Update "maint print type".
15923
159242008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15925
15926 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15927 support. Adjust the order of "*running" notifications.
15928 * gdb.mi/non-stop.c: Don't cast from int to void* and
15929 back.
15930
159312008-08-20 Mark Kettenis <kettenis@gnu.org>
15932
15933 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15934 expect to find it in the "info frame" output.
15935
159362008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15937
15938 * gdb.base/interp.exp: Always consume both prompts.
15939
159402008-08-20 Pedro Alves <pedro@codesourcery.com>
15941
15942 * gdb.base/pending.exp: Test pending breakpoints without symbols
15943 loaded.
15944
159452008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15946
15947 * lib/mi-support.exp (mi_expect_stop): Produce
15948 more details on failures.
15949 * gdb.mi/mi-nonstop.exp: New.
15950 * gdb.mi/non-stop.c: New.
15951
159522008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15953
15954 * gdb.mi/mi-async.exp: Use 'set target-async'.
15955 * lib/mi-support.exp: Use 'set/show target-async'.
15956
159572008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15958
15959 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15960
159612008-08-17 Tom Tromey <tromey@redhat.com>
15962
15963 * gdb.base/help.exp (help catch): Rewrite.
15964
159652008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15966
15967 * gdb.base/define.exp: Test indented command documentation.
15968 * gdb.python/python.exp: Test indented multi-line command.
15969
159702008-08-15 Luis Machado <luisgpm@br.ibm.com>
15971
15972 * testsuite/gdb.arch/vsx-regs.c: New source file.
15973 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15974 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15975
159762008-08-14 Tom Tromey <tromey@redhat.com>
15977
15978 * gdb.base/macscp.exp: Add regression test for "macro define" or
15979 "macro undef" with no arguments.
15980
159812008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15982
15983 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15984
159852008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15986
15987 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15988
159892008-08-06 Tom Tromey <tromey@redhat.com>
15990
15991 * gdb.python/python.exp: New file.
15992
159932008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15994
15995 Fix for PR gdb/1543.
15996 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15997 $LOCATION.
15998 (location): New variable.
15999 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
16000 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
16001 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
16002 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
16003 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
16004 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
16005 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
16006 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
16007 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
16008 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
16009 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
16010 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
16011 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
16012 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
16013 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16014 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
16015 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
16016 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
16017 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
16018 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16019 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
16020 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
16021 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
16022 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
16023 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
16024 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
16025 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
16026 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
16027 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
16028 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
16029 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
16030 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
16031 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
16032 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
16033 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
16034 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
16035 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
16036 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16037 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
16038 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
16039 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
16040 gdb.base/type-opaque.exp, gdb.base/until.exp,
16041 gdb.base/value-double-free.c, gdb.base/varargs.exp,
16042 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
16043 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
16044 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
16045 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
16046 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
16047 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
16048 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
16049 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
16050 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
16051 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
16052 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
16053 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
16054 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
16055 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
16056 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
16057 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16058 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
16059 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
16060 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
16061 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16062 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
16063 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
16064 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
16065 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16066 gdb.pascal/types.exp, gdb.stabs/weird.exp,
16067 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
16068 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
16069 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
16070 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
16071 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
16072 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
16073 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16074 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
16075 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16076 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
16077 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16078 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16079 lib/mi-support.exp, lib/trace-support.exp: Remove reference
16080 to bug-gdb@prep.ai.mit.edu .
16081
160822008-07-31 Vladimir Prus <vladimir@codesourcery.com>
16083
16084 * lib/mi-support.exp (mi_load_shlibs): New.
16085 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
16086
160872008-07-30 Vladimir Prus <vladimir@codesourcery.com>
16088
16089 * lib/mi-support.exp (get_mi_thread_list)
16090 (check_mi_and_console_threads): New, moved from ...
16091 * gdb.mi/mi-pthread.exp: ...here.
16092 * gdb.mi/gdb669.exp (get_mi_thread_list)
16093 (check_mi_and_console_threads): Delete.
16094 * gdb.mi/mi2-pthread.exp: Likewise.
16095
160962008-07-28 Tom Tromey <tromey@redhat.com>
16097
16098 * Makefile.in (just-check): Remove. Move body to...
16099 (check): ... here.
16100
161012008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16102
16103 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
16104 Add a test for duplicated SIGINTs.
16105
161062008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16107
16108 * gdb.threads/schedlock.exp (get_args): Update to work for any
16109 value of NUM.
16110 (Top level): Report the number of threads that did not resume.
16111
161122008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16113
16114 * gdb.dwarf2/dw2-compressed.S: Also define __start.
16115
161162008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16117
16118 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
16119 non-MI prompt.
16120
161212008-07-26 Tom Tromey <tromey@redhat.com>
16122
16123 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
16124 (function_struct, function_struct_ptr): New globals.
16125 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
16126 function pointer in a struct.
16127
161282008-07-26 Tom Tromey <tromey@redhat.com>
16129
16130 * gdb.base/macscp.exp: Add test for macro lexing bug.
16131
161322008-07-18 Tom Tromey <tromey@redhat.com>
16133
16134 * gdb.base/macscp.exp: Add macro tests.
16135
161362008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16137
16138 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
16139
161402008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16141
16142 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
16143
161442008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
16145
16146 * gdb.cp/class2.exp: fix for failure on spu-elf
16147
161482008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
16149
16150 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
16151
161522008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16153
16154 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
16155
161562008-07-12 Vladimir Prus <vladimir@codesourcery.com>
16157
16158 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
16159
161602008-07-11 Kevin Buettner <kevinb@redhat.com>
16161
16162 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
16163 of regexp to account for changes made to GDB in the printing of
16164 byte vectors.
16165
161662008-07-11 Tom Tromey <tromey@redhat.com>
16167
16168 * gdb.base/completion.exp: Add 'help' completion test.
16169
161702008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16171
16172 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
16173
161742008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16175
16176 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
16177
161782008-07-09 Pedro Alves <pedro@codesourcery.com>
16179
16180 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
16181
161822008-07-09 Pedro Alves <pedro@codesourcery.com>
16183
16184 * gdb.base/fullname.exp: Restore pwd if compiling failed.
16185
161862008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16187
16188 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
16189
161902008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16191
16192 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
16193 previous commit. Add a comment.
16194
161952008-06-28 Pedro Alves <pedro@codesourcery.com>
16196
16197 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
16198
161992008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16200
16201 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
16202
162032008-06-27 Pedro Alves <pedro@codesourcery.com>
16204
16205 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
16206 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
16207 compiling an executable, link in an object that forces unbuffered
16208 output.
16209 * lib/set_unbuffered_mode.c: New file.
16210
162112008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16212
16213 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
16214
162152008-06-25 Vladimir Prus <vladimir@codesourcery.com>
16216
16217 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
16218 mi_expect_stop.
16219 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
16220 Demand that *running is output.
16221 (detect_async): Perform checking every time.
16222 (mi_send_resuming_command): Extract everything into...
16223 (mi_send_resuming_command_raw): ...this.
16224 (mi_expect_stop): Don't accept any output before *stopped.
16225
162262008-06-13 Vladimir Prus <vladimir@codesourcery.com>
16227
16228 Robustify mi-simplerun.
16229 * gdb.mi/basics.c (main): Add a call to sleep.
16230 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
16231 * gdb.mi/mi2-cli.exp: Likewise.
16232 * gdb.mi/mi-break.exp: Likewise.
16233
162342008-06-11 Vladimir Prus <vladimir@codesourcery.com>
16235
16236 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
16237
162382008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16239
16240 * gdb.mi/mi-console.exp: Adjust.
16241 * gdb.mi/mi-syn-frame.exp: Adjust.
16242 * gdb.mi/mi2-console.exp: Adjust.
16243 * gdb.mi/mi2-syn-frame.exp: Adjust.
16244 * lib/mi-support.exp (mi_run_cmd): Adjust.
16245 (mi_send_resuming_command): Adjust.
16246
162472008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16248
16249 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
16250 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
16251 testing of stopped.
16252 * gdb.mi/mi2-syn-frame.exp: Likewise.
16253 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
16254 (async, detect_async): New.
16255 (mi_expect_stop, mi_continue_to_line): Adjust expectation
16256 depending on if we're running in sync or async mode.
16257
162582008-06-09 Tom Tromey <tromey@redhat.com>
16259
16260 * gdb.base/completion.exp: New tests for field name completion
16261 with spaces, and field name completion with '->'.
16262
162632008-06-06 Tom Tromey <tromey@redhat.com>
16264
16265 * gdb.base/break1.c (struct some_struct): New struct.
16266 (values): New global.
16267 * gdb.base/completion.exp: Add field name completion test.
16268
162692008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16270
16271 * gdb.cp/call-c.exp: Test for incorrect handling of reference
16272 to pointer.
16273 * gdb.cp/call-c.cc: Likewise.
16274
162752008-06-06 Nick Roberts <nickrob@snap.net.nz>
16276
16277 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
16278 annotation.
16279
162802008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16281 Pedro Alves <pedro@codesourcery.com>
16282
16283 * gdb.threads/execl.c, gdb.threads/execl1.c,
16284 gdb.threads/execl.exp: New tests.
16285
162862008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
16287 Daniel Jacobowitz <dan@codesourcery.com>
16288
16289 * gdb.cp/exception.exp: Activate test, make it work with pending
16290 catchpoints.
16291
162922008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
16293
16294 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
16295
162962008-05-28 Vladimir Prus <vladimir@codesourcery.com>
16297
16298 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
16299 now printed.
16300 * gdb.mi/mi2-var-cmd.exp: Likewise.
16301
163022008-05-27 Andreas Schwab <schwab@suse.de>
16303
16304 * gdb.base/frame-args.exp: Handle arguments that are optimized
16305 out.
16306
163072008-05-26 Luis Machado <luisgpm@br.ibm.com>
16308
16309 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
16310 quiet for ppc32 and group options into a single variable.
16311
163122008-05-23 Joel Brobecker <brobecker@adacore.com>
16313
16314 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
16315 of zero-size elements.
16316 * gdb.ada/null_array.exp: Test printing this new array.
16317
163182008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16319
16320 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
16321
163222008-05-21 Joel Brobecker <brobecker@adacore.com>
16323
16324 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
16325 of the "finish" command.
16326
163272008-05-21 Nick Roberts <nickrob@snap.net.nz>
16328
16329 * gdb.base/annota1.exp: Test for new annotation.
16330
163312008-05-16 Pedro Alves <pedro@codesourcery.com>
16332
16333 * gdb.base/fixsection.exp: New file.
16334 * gdb.base/fixsection0.c: New file.
16335 * gdb.base/fixsection1.c: New file.
16336
163372008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16338
16339 * gdb.base/annota1.exp: Accept printf@... in place of printf.
16340 * gdb.base/annota3.exp: Likewise.
16341
163422008-05-13 Nathan Froyd <froydnj@codesourcery.com>
16343
16344 * gdb.base/watch_thread_num.exp: Don't run tests that require
16345 watchpoints if the target doesn't support them.
16346
163472008-05-12 Doug Evans <dje@google.com>
16348
16349 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16350
163512008-05-09 Joel Brobecker <brobecker@adacore.com>
16352
16353 * gdb.ada/assign_1.exp: New testcase.
16354
163552008-05-09 Doug Evans <dje@google.com>
16356
16357 * gdb.base/find.exp: New file.
16358 * gdb.base/find.c: New file.
16359
163602008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16361
16362 * gdb.base/commands.exp (watchpoint_command_test): Handle
16363 gdb,no_hardware_watchpoints.
16364 * gdb.base/float.exp: Allow ARM targets without floating point.
16365 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16366
163672008-05-06 Jerome Guitton <guitton@adacore.com>
16368 Joel Brobecker <brobecker@adacore.com>
16369
16370 * gdb.ada/lang_switch: New test program.
16371 * gdb.ada/lang_switch.exp: New testcase.
16372
163732008-05-05 Doug Evans <dje@google.com>
16374
16375 * gdb.base/help.exp (disassemble): Update expected help text.
16376
163772008-05-04 Pedro Alves <pedro@codesourcery.com>
16378
16379 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16380
163812008-05-04 Pedro Alves <pedro@codesourcery.com>
16382
16383 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16384 different times.
16385
163862008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16387
16388 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16389 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16390 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16391 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16392
163932008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16394
16395 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16396 notification to appear.
16397
163982008-05-04 Daniel Jacobowitz <dan@debian.org>
16399
16400 * gdb.base/fullname.c: New file.
16401 * gdb.base/fullname.exp: New file.
16402 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16403
164042008-05-03 Pedro Alves <pedro@codesourcery.com>
16405
16406 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16407 expressions with macros.
16408
164092008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16410
16411 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16412
164132008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16414
16415 * gdb.base/completion.exp: Handle lack of other symbols beginning
16416 with "a".
16417
16418 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16419
164202008-05-02 Jim Blandy <jimb@codesourcery.com>
16421
16422 * gdb.asm/asmsrc1.s: Add scratch space.
16423
164242008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16425 Daniel Jacobowitz <dan@codesourcery.com>
16426
16427 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16428 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16429 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16430
164312007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16432
16433 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16434
164352008-05-01 Joel Brobecker <brobecker@adacore.com>
16436
16437 * gdb.base/info-target.exp: New testcase.
16438
164392008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16440
16441 * gdb.cp/hang.exp: Use .cc instead of .C.
16442 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16443 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16444
164452008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16446
16447 * gdb.base/gdb1250.exp: Remove perror.
16448 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16449
164502008-04-30 Pedro Alves <pedro@codesourcery.com>
16451
16452 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16453 .2byte.
16454
164552008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16456
16457 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16458 (maybe_kfail): New.
16459
164602008-04-25 Pedro Alves <pedro@codesourcery.com>
16461
16462 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16463
164642008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16465
16466 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16467 * gdb.mi/mi2-syn-frame.exp: Likewise.
16468 * lib/mi-support.exp: Likewise.
16469
164702008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16471
16472 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16473 to specify regexp for the location to stop at.
16474 * gdb.base/break-always.c: New.
16475 * gdb.base/break-always.exp: New.
16476
164772008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16478
16479 * lib/mi-support.exp (mi_runto_helper): Adjust
16480 for the original-location field.
16481 (mi_create_breakpoint, mi_list_breakpoints): New.
16482 * gdb.mi/mi-break.exp: Adjust.
16483 * gdb.mi/mi2-break.exp: Adjust.
16484 * gdb.mi/mi-pending.exp: Adjust.
16485 * gdb.mi/mi-simplerun.exp: Adjust.
16486 * gdb.mi/mi2-simplerun.exp: Adjust.
16487 * gdb.mi/mi-syn-frame.exp: Adjust.
16488 * gdb.mi/mi2-syn-frame.exp: Adjust.
16489 * gdb.mi/mi-until.exp: Adjust.
16490 * gdb.mi/mi2-until.exp: Adjust.
16491 * gdb.mi/mi-var-display.exp: Adjust.
16492 * gdb.mi/mi2-var-display.exp: Adjust.
16493 * gdb.mi/mi-watch.exp: Adjust.
16494 * gdb.mi/mi2-watch.exp: Adjust.
16495
164962008-04-23 Paolo Bonzini <bonzini@gnu.org>
16497
16498 * aclocal.m4: Add override.m4.
16499 * configure: Regenerate.
16500
165012008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16502
16503 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16504 '-var-update --all-values' reports new value even the type
16505 of a variable object has changed.
16506
165072008-04-18 Craig Silverstein <csilvers@google.com>
16508
16509 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16510 files.
16511
165122008-04-18 Joel Brobecker <brobecker@adacore.com>
16513
16514 * gdb.ada/atomic_enum: New test program.
16515 * gdb.ada/atomic_enum.exp: New testcase.
16516
165172008-04-17 Doug Evans <dje@google.com>
16518
16519 * gdb.opt/Makefile.in: Fix whitespace.
16520
165212008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16522
16523 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16524
165252008-04-17 Doug Evans <dje@google.com>
16526
16527 * gdb.base/hashline1.exp: New testcase.
16528 * gdb.base/hashline2.exp: New testcase.
16529 * gdb.base/hashline2.exp: New testcase.
16530
165312008-04-17 Pedro Alves <pedro@codesourcery.com>
16532
16533 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16534
165352008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16536
16537 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16538 temporary breakpoint to match "Temporary breakpoint".
16539 * gdb.base/break.exp (delete_breakpoints): Likewise.
16540 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16541 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16542 * gdb.base/display.exp: Likewise.
16543 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16544 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16545 * gdb.base/restore.exp (restore_tests): Likewise.
16546 * gdb.base/sepdebug.exp: Likewise.
16547 * gdb.base/watchpoint.exp: Likewise.
16548 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16549 * gdb.mi/mi-pending.exp: Likewise.
16550 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16551 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16552 * gdb.mi/mi-var-cmd.exp: Likewise.
16553 * gdb.mi/mi-var-display.exp: Likewise.
16554 * gdb.mi/mi2-cli.exp: Likewise.
16555 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16556 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16557 * gdb.mi/mi2-var-display.exp: Likewise.
16558 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16559 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16560 new "disp" field.
16561 (mi_expect_stop): Move after_reason argument to be really after
16562 reason. This is to support fix for PR2424.
16563
165642008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16565
16566 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16567
165682008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16569
16570 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
16571 field. Add more floating varobj tests.
16572 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
16573 field.
16574 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16575 (main): Call do_at_tests.
16576 * lib/mi-support.exp (mi_create_floating_varobj)
16577 (mi_varobj_update_with_type_change): New.
16578
165792008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16580
16581 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16582 option of -var-evaluate-expression.
16583 * gdb.mi/mi2-var-display.exp: Likewise.
16584
165852008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16586
16587 Introduce test setup helpers.
16588 * lib/gdb.exp (build_executable, clean_restart)
16589 (prepare_for_testing): New.
16590 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16591 * gdb.base/return.exp: Likewise.
16592 * gdb.base/ending-run.exp: Likewise.
16593
165942008-04-07 Nick Roberts <nickrob@snap.net.nz>
16595
16596 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16597 Interface (MI) responses.
16598
165992008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16600
16601 * gdb.cp/breakpoint.cc: New code to test conditions involving
16602 member variables.
16603 * gdb.cp/breakpoint.exp: Test condition involving member
16604 variables.
16605
166062008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16607
16608 * lib/mi-support.exp (mi_expect_stop): New.
16609 (mi_run_cmd): Change the
16610 token. Use mi_send_resuming_command, use
16611 mi_expect_stop.
16612 (mi_execute_to_helper): Rename to mi_execute_to.
16613 (mi_send_resuming_command): Add more error patterns.
16614 (mi_wait_for_stop): Renamed to...
16615 (mi_get_stop_line): ...this.
16616 (mi_run_inline_test): Adjust.
16617
16618 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16619 * gdb.mi/mi-console.exp: Likewise.
16620 * gdb.mi/mi-pending.exp: Likewise.
16621 * gdb.mi/mi-simplerun.exp: Likewise.
16622 * gdb.mi/mi-stack.exp: Likewise.
16623 * gdb.mi/mi-stepi.exp: Likewise.
16624 * gdb.mi/mi-syn-frame.exp: Add comment.
16625 * gdb.mi/mi-until.exp: Likewise.
16626 * gdb.mi/mi-var-display.exp: Likewise.
16627 * gdb.mi/mi-watch.exp: Likewise.
16628 * gdb.mi/mi2-cli.exp: Likewise.
16629 * gdb.mi/mi2-console.exp: Likewise.
16630 * gdb.mi/mi2-simplerun.exp: Likewise.
16631 * gdb.mi/mi2-stack.exp: Likewise.
16632 * gdb.mi/mi2-stepi.exp: Likewise.
16633 * gdb.mi/mi2-until.exp: Likewise.
16634 * gdb.mi/mi2-var-display.exp: Likewise.
16635 * gdb.mi/mi2-watch.exp: Likewise.
16636
166372008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16638
16639 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16640
16641 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16642
166432008-04-04 Pedro Alves <pedro@codesourcery.com>
16644
16645 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16646 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16647 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16648 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16649 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16650 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16651 expect an mi error duplicated in stderr.
16652
166532008-04-03 Joel Brobecker <brobecker@adacore.com>
16654
16655 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16656 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16657 Add a couple of tests that verify the behavior when the new setting
16658 is set to "cancel" and "all".
16659 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16660 "ask" before we start the testing.
16661
166622008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16663
16664 * gdb.cp/casts.cc: Add class reference variables.
16665 * gdb.cp/casts.exp: New test cases for up/down casting references.
16666
166672008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16668
16669 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16670 instead of beginning to make an extra test pass.
16671 * gdb.mi/mi2-var-display.exp: Likewise.
16672
166732008-03-31 Maciej W. Rozycki <macro@mips.com>
16674
16675 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16676
166772008-03-31 Markus Deuling <deuling@de.ibm.com>
16678 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16679
16680 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16681 value. Add xfail for older kernels.
16682
166832008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16684
16685 Bring mi-support in line with gdb.exp.
16686 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16687 (mi_gdb_start): New function.
16688
166892008-03-28 Maciej W. Rozycki <macro@mips.com>
16690
16691 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16692
166932008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16694
16695 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16696 * gdb.mi/mi2-var-display.exp: Likewise.
16697
166982008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16699
16700 * lib/mi-support.exp (mi_create_varobj_checked): New.
16701 (mi_list_varobj_children): Allow to check for a
16702 value.
16703 (mi_list_array_varobj_children): New.
16704
16705 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16706 and mi_list_varobj_children, as opposed to hardcoding
16707 expected strings.
16708 * gdb.mi/gdb701.exp: Likewise.
16709 * gdb.mi/gdb792.exp: Likewise.
16710 * gdb.mi/mi-var-block.exp: Likewise.
16711 * gdb.mi/mi-var-cmd.exp: Likewise.
16712 * gdb.mi/mi-var-invalidate.exp: Likewise.
16713 * gdb.mi/mi2-var-block.exp: Likewise.
16714 * gdb.mi/mi2-var-child.exp: Likewise.
16715 * gdb.mi/mi2-var-cmd.exp: Likewise.
16716 * gdb.mi/mi2-var-display.exp: Likewise.
16717
167182008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16719
16720 Fix random false FAILs on i386.
16721 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16722
167232008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16724
16725 PR gdb/544
16726 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16727
167282008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16729
16730 PR gdb/544
16731 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16732
167332008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16734
16735 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16736 fixed PR gdb/544.
16737
167382008-03-21 Pedro Alves <pedro@codesourcery.com>
16739
16740 * gdb.threads/fork-child-threads.exp: Test next over fork.
16741
167422008-03-21 Chris Demetriou <cgd@google.com>
16743
16744 * gdb.base/break.exp (rbreak junk): New test for rbreak
16745 "Junk at end of arguments" issue.
16746
167472008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16748
16749 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16750 *& to work on created array elements.
16751 (Top level): Test print $pc with a file. Test string operations
16752 without a target.
16753 * gdb.base/ptype.exp: Do not expect *& to work on created array
16754 elements.
16755
167562008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16757
16758 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16759 gdb.threads/staticthreads.exp: Update exit query.
16760
167612008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16762
16763 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16764
167652008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16766
16767 * gdb.base/watchpoint.c (global_ptr, func4): New.
16768 (main): Call func4.
16769 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16770 (test_inaccessible_watchpoint): New.
16771
167722008-02-29 Maciej W. Rozycki <macro@mips.com>
16773
16774 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16775 select the largest.
16776
167772008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16778
16779 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16780 frames-invalid annotations.
16781
167822008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16783
16784 * gdb.base/assign.exp: avoid same output for different tests.
16785
167862008-02-27 Doug Evans <dje@google.com>
16787
16788 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16789 for bug 1738.
16790 (breakpoint_to_handler_entry): Ditto.
16791
167922008-02-27 Joel Brobecker <brobecker@adacore.com>
16793
16794 * gdb.base/ending-run.exp: Use the first line of code inside
16795 function body to test breakpoints.
16796 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16797 location where the breakpoint is inserted when using the line
16798 where a function is declared. Fix typo in the description of
16799 one of the tests.
16800 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16801
168022008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16803
16804 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16805 tests.
16806
168072008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16808
16809 * gdb.base/args.exp: avoid same output for tests
16810 with single quotes.
16811
168122008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16813
16814 * gdb.base/annota1.exp: Adjust for 'info break'
16815 format changes.
16816 * gdb.base/annota3.exp: Likewise.
16817 * gdb.base/break.exp: Likewise.
16818 * gdb.base/condbreak.exp: Likewise.
16819 * gdb.base/pending.exp: Likewise.
16820 * gdb.base/sepdebug.exp: Likewise.
16821 * gdb.base/unload.exp: Likewise.
16822 * gdb.cp/ovldbreak.exp: Likewise.
16823 * gdb.mi/mi-pending.exp: Likewise.
16824
168252008-02-07 Doug Evans <dje@google.com>
16826
16827 * gdb.cp/mb-inline.exp: New.
16828 * gdb.cp/mb-inline.h: New.
16829 * gdb.cp/mb-inline1.cc: New.
16830 * gdb.cp/mb-inline2.cc: New.
16831
168322008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16833
16834 * gdb.pascal/floats.pas: New test program.
16835 * gdb.pascal/floats.exp: New testcase.
16836
168372008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16838
16839 * gdb.base/callfuncs.c (t_float_many_args): New function.
16840 (t_double_many_args): New function.
16841 * gdb.base/callfuncs.exp: Add tests for exceeding float
16842 and double parameters passed through the stack.
16843
168442008-02-05 Joel Brobecker <brobecker@adacore.com>
16845
16846 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16847 gdb.ada/complete/foo.adb: New files.
16848 * gdb.ada/complete.exp: New testcase.
16849
168502008-02-03 Doug Evans <dje@google.com>
16851
16852 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16853
16854 * gdb.cp/gdb2384.exp: New file.
16855 * gdb.cp/gdb2384.cc: New file.
16856 * gdb.cp/gdb2384-base.h: New file.
16857 * gdb.cp/gdb2384-base.cc: New file.
16858
168592008-02-02 Doug Evans <dje@google.com>
16860
16861 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16862
168632007-02-01 Joel Brobecker <brobecker@adacore.com>
16864
16865 * gdb.ada/sym_print_name: New test program.
16866 * gdb.ada/sym_print_name.exp: New testcase.
16867
168682007-02-01 Joel Brobecker <brobecker@adacore.com>
16869
16870 * gdb.ada/nested/hello.adb: New file.
16871 * gdb.ada/nested.exp: New testcase.
16872 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16873
168742008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16875
16876 * gdb.mi/basic.c (return_1): New function.
16877 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16878 don't cause future evaluations of function to report
16879 creation of internal breakpoints.
16880
168812008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16882
16883 * gdb.mi/mi-break.exp (test_error): New.
16884 Call it.
16885
168862008-01-31 Luis Machado <luisgpm@br.ibm.com>
16887
16888 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16889 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16890
168912008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16892
16893 * gdb.pascal/integers.pas: New test program.
16894 * gdb.pascal/integers.exp: New testcase.
16895
168962008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16897
16898 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16899
169002008-01-30 Luis Machado <luisgpm@br.ibm.com>
16901
16902 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16903 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16904
169052008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16906
16907 * gdb.ada/formatted_ref: New test program.
16908 * gdb.ada/formatted_ref.exp: New testcase.
16909
16910 * gdb.cp/formatted-ref.cc: New file.
16911 * gdb.cp/formatted-ref.exp: New testcase.
16912
169132008-01-30 Joel Brobecker <brobecker@adacore.com>
16914
16915 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16916
169172008-01-30 Nick Roberts <nickrob@snap.net.nz>
16918
16919 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16920 (test_file_list_exec_source_file): Update to new macro-info field.
16921
169222008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16923
16924 * gdb.ada/exprs: New test program.
16925 * gdb.ada/exprs.exp: New testcase.
16926
169272008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16928
16929 * dfp-test.c (DELTA, DELTA_B): New definitions.
16930 (double_val1, double_val2, double_val3, double_val4, double_val5,
16931 double_val6, double_val7, double_val8, double_val9, double_val10,
16932 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16933 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16934 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16935 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16936 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16937 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16938 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16939 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16940 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16941 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16942 dec128_val16): New global variables.
16943 (decimal_dec128_align): New function.
16944 (decimal_mixed): Likewise.
16945 (decimal_many_args_dec32): Likewise.
16946 (decimal_many_args_dec64): Likewise.
16947 (decimal_many_args_dec128): Likewise.
16948 (decimal_many_args_mixed): Likewise.
16949 * dfp-test.exp: Add tests calling new inferior functions.
16950
169512008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16952
16953 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16954 gdb.server/ext-run.exp: New files.
16955 * lib/gdbserver-support.exp (gdbserver_download): New.
16956 (gdbserver_start): New. Update gdbserver expected
16957 output.
16958 (gdbserver_spawn): Use them.
16959 (gdbserver_start_extended): New.
16960
169612008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16962
16963 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16964 Run on GNU/Linux.
16965 (do_exec_tests): Check for systems which do not support catchpoints.
16966 Do not match START.
16967 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16968 Run on GNU/Linux. Enable verbose output.
16969 (check_fork_catchpoints): New.
16970 (explicit_fork_child_follow, catch_fork_child_follow)
16971 (tcatch_fork_parent_follow): Update expected messages.
16972 (do_fork_tests): Use check_fork_catchpoints.
16973 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16974 Run on GNU/Linux. Enable verbose output.
16975 (check_vfork_catchpoints): New.
16976 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16977 expected messages.
16978 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16979
169802008-01-29 Jim Blandy <jimb@red-bean.com>
16981
16982 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16983 host' errors.
16984 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16985
169862008-01-29 Jim Blandy <jimb@red-bean.com>
16987
16988 * gdb.threads/sigthread.c: Use barriers to ensure that
16989 child_thread and child_thread_two are always initialized before we
16990 start to use them.
16991
169922008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16993
16994 * gdb.base/watchpoint-solib.exp: New.
16995 * gdb.base/watchpoint-solib.c: New.
16996 * gdb.base/watchpoint-solib-shr.c: New.
16997
169982008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16999
17000 * gdb.base/gdb1056.exp: Add unsigned integer test.
17001
170022008-01-28 Doug Evans <dje@google.com>
17003
17004 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
17005
170062008-01-27 Jim Blandy <jimb@codesourcery.com>
17007
17008 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
17009
17010 * gdb.base/expand-psymtabs.exp: Doc fix.
17011
170122008-01-26 Mark Kettenis <kettenis@gnu.org>
17013
17014 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17015
170162008-01-24 Nick Roberts <nickrob@snap.net.nz>
17017
17018 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
17019 -var-set-format.
17020
170212008-01-23 Chris Demetriou <cgd@google.com>
17022
17023 * gdb.threads/thread_events.c: New testcase source file.
17024 * gdb.threads/thread_events.exp: New testcase expect file.
17025
170262008-01-23 Nick Roberts <nickrob@snap.net.nz>
17027
17028 * lib/gdb.exp: Add the variable octal.
17029
17030 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
17031 -var-set-format.
17032
170332008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17034 Vladimir Prus <vladimir@codesourcery.com>
17035
17036 * gdb.base/float.exp: Allow missing floating point for m68k and
17037 PowerPC.
17038
170392008-01-22 Vladimir Prus <vladimir@codesourcery.com>
17040
17041 * gdb.mi/basics.c: Setup for testing breakpoints
17042 ignore count.
17043 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
17044 * gdb.mi/mi-cli.exp: Adjust.
17045 * gdb.mi/mi2-cli.exp: Adjust.
17046
170472008-01-17 Pedro Alves <pedro@codesourcery.com>
17048
17049 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
17050 and 'dummy_ptr' integer pointer. Initialize struct_declarations
17051 with dummy_ptr's address.
17052 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
17053 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
17054 all targets.
17055 * gdb.mi/mi2-var-child.exp: Likewise.
17056
170572008-01-09 Joel Brobecker <brobecker@adacore.com>
17058
17059 * gdb.ada/null_array: New test program.
17060 * gdb.ada/null_array.exp: New testcase.
17061
170622008-01-09 Luis Machado <luisgpm@br.ibm.com>
17063
17064 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
17065 with required float modifiers.
17066
170672008-01-08 Joel Brobecker <brobecker@adacore.com>
17068
17069 * gdb.ada/funcall_param: New test program.
17070 * gdb.ada/funcall_param.exp: New testcase.
17071
170722008-01-08 Joel Brobecker <brobecker@adacore.com>
17073
17074 * gdb.ada/arrayparam: New test program.
17075 * gdb.ada/arrayparam.exp: New testcase.
17076
170772008-01-08 Joel Brobecker <brobecker@adacore.com>
17078
17079 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
17080 landed. Should also fix random failures in the test following it.
17081
170822008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
17083
17084 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
17085 for expressions with decimal float values.
17086 (test_dfp_conversions): New function to test casts to and from
17087 decimal float types.
17088 Call test_dfp_conversions.
17089 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
17090 elements.
17091 (main): Initialize ds.float4 and ds.double8 elements.
17092 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
17093 string to new error message.
17094 (d64_set_tests): Likewise.
17095 (d128_set_tests): Likewise.
17096 Add tests for expressions with decimal float variables. Add tests for
17097 conversions to and from decimal float types.
17098
170992008-01-05 Joel Brobecker <brobecker@adacore.com>
17100
17101 * gdb.ada/packed_tagged/comp_bug.adb: New file.
17102 * gdb.ada/packed_tagged.exp: New testcase.
17103
171042008-01-04 Joel Brobecker <brobecker@adacore.com>
17105
17106 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
17107 gdb.ada/homonym/homonym_main.adb: New files.
17108 * gdb.ada/homonym.exp: New testcase.
17109
171102008-01-04 Joel Brobecker <brobecker@adacore.com>
17111
17112 * gdb.ada/packed_array.exp: Add testing of references to
17113 a packed array.
17114
171152008-01-04 Joel Brobecker <brobecker@adacore.com>
17116
17117 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
17118 New files.
17119 * gdb.ada/type_coercion.exp: New testcase.
17120
171212008-01-04 Joel Brobecker <brobecker@adacore.com>
17122
17123 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
17124 gdb.ada/tagged/foo.adb: New file.
17125 * gdb.ada/tagged.exp: New testcase.
17126
171272008-01-04 Joel Brobecker <brobecker@adacore.com>
17128
17129 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
17130 gdb.ada/ptype_field/foo.adb: New files.
17131 * gdb.ada/ptype_field.exp: New testcase.
17132
171332008-01-03 Joel Brobecker <brobecker@adacore.com>
17134
17135 * gdb.ada/print_pc.exp: New testcase.
17136
171372008-01-03 Joel Brobecker <brobecker@adacore.com>
17138
17139 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
17140 gdb.ada/taft_type/p.adb: New files.
17141 * gdb.ada/taft_type.exp: New testcase.
17142
171432008-01-03 Joel Brobecker <brobecker@adacore.com>
17144
17145 * gdb.ada/array_bounds/bar.adb: New file.
17146 * gdb.ada/array_bounds.exp: New testcase.
17147
171482008-01-03 Joel Brobecker <brobecker@adacore.com>
17149
17150 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
17151 gdb.ada/arrayptr/foo.adb: New files.
17152 * gdb.ada/arrayptr.exp: New testcase.
17153
171542008-01-03 Joel Brobecker <brobecker@adacore.com>
17155
17156 * gdb.base/set-lang-auto.exp: New testcase.
17157
171582008-01-03 Joel Brobecker <brobecker@adacore.com>
17159
17160 * gdb.ada/fun_addr/foo.adb: New file.
17161 * gdb.ada/fun_addr.exp: New testcase.
17162
171632008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17164
17165 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
17166 New files
17167
171682008-01-02 Joel Brobecker <brobecker@adacore.com>
17169
17170 * array_subscript_addr/p.adb: New file.
17171 * array_subscript_addr.exp: New testcase.
17172
171732008-01-02 Joel Brobecker <brobecker@adacore.com>
17174
17175 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
17176 New files.
17177 * gdb.ada/str_cmp_ref.exp: New testcase.
17178
171792008-01-01 Joel Brobecker <brobecker@adacore.com>
17180
17181 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
17182 gdb.ada/fun_in_declare/foo.adb: New files.
17183 * gdb.ada/fun_in_declare.exp: New testcase.
17184
171852008-01-01 Joel Brobecker <brobecker@adacore.com>
17186
17187 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
17188 gdb.ada/ref_param/pck.ads: New files.
17189 * gdb.ada/ref_param.exp: New testcase.
17190
171912008-01-01 Joel Brobecker <brobecker@adacore.com>
17192
17193 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
17194 gdb.ada/interface/foo.adb: New files.
17195 * gdb.ada/interface.exp: New testcase.
17196
171972007-12-31 Jim Blandy <jimb@codesourcery.com>
17198
17199 * gdb.base/multi-forks.exp: Consume all output from child
17200 processes before proceeding to next test.
17201
172022007-12-29 Jim Blandy <jimb@codesourcery.com>
17203
17204 * configure: Regenerated.
17205
172062007-12-27 Joel Brobecker <brobecker@adacore.com>
17207
17208 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
17209 gdb.ada/fixed_cmp/fixed.adb: New files.
17210 * gdb.ada/fixed_cmp.exp: New testcase.
17211
172122007-12-27 Joel Brobecker <brobecker@adacore.com>
17213
17214 * gdb.ada/boolean_expr.exp: New testcase.
17215
172162007-12-26 Jim Blandy <jimb@codesourcery.com>
17217
17218 * gdb.base/multi-forks.exp: Doc fix.
17219
172202007-12-26 Joel Brobecker <brobecker@adacore.com>
17221
17222 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17223 * gdb.ada/char_param.exp: Do not compile our test program with
17224 -gnata, this is unnecessary.
17225 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
17226
172272007-12-24 Joel Brobecker <brobecker@adacore.com>
17228
17229 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
17230 gdb.ada/print_chars/foo.adb: New files.
17231 * gdb.ada/print_chars.exp: New testcase.
17232
172332007-12-24 Joel Brobecker <brobecker@adacore.com>
17234
17235 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
17236 gdb.ada/char_param/foo.adb: New files.
17237 * gdb.ada/char_param.exp: New testcase.
17238
172392007-12-22 Jim Blandy <jimb@codesourcery.com>
17240
17241 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
17242 hard-coding source line numbers into the test.
17243 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
17244 gdb_get_line_number to find.
17245
172462007-12-22 Joel Brobecker <brobecker@adacore.com>
17247
17248 * gdb.base/ptype.c (highest): New struct type.
17249 (the_highest): New variable of that type.
17250 (main): Add dummy assignment to a field of variable the_highest.
17251 * gdb.base/ptype.exp: Test type printing of our new variable.
17252
172532007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
17254
17255 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
17256 and record first explicitly generated thread number.
17257 Use that thread number for thread specific watchpoint test.
17258 Add iteration number to repetitive tests.
17259
172602007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17261 Jim Blandy <jimb@codesourcery.com>
17262
17263 * gdb.base/expand-psymtabs.c: New testcase
17264 source file.
17265 * gdb.base/expand-psymtabs.exp: New testcase
17266 expect file.
17267
172682007-12-17 Luis Machado <luisgpm@br.ibm.com>
17269
17270 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
17271 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
17272
172732007-12-17 Joel Brobecker <brobecker@adacore.com>
17274
17275 * gdb.ada/frame_args/foo.adb: New file.
17276 * gdb.ada/frame_args/pck.ads: New file.
17277 * gdb.ada/frame_args/pck.adb: New file.
17278 * gdb.ada/frame_args.exp: New testcase.
17279
172802007-12-17 Joel Brobecker <brobecker@adacore.com>
17281
17282 * gdb.base/frame-args.c: New file.
17283 * gdb.base/frame-args.exp: New testcase.
17284
172852007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
17286 Joseph Myers <joseph@codesourcery.com>
17287
17288 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
17289
172902007-12-14 Vladimir Prus <vladimir@codesourcery.com>
17291
17292 * gdb.mi/mi-pending.exp: New.
17293 * gdb.mi/mi-pending.c: New.
17294 * gdb.mi/mi-pendshr.c: New.
17295
172962007-12-06 Jim Blandy <jimb@codesourcery.com>
17297
17298 * gdb.base/default.exp: Update expected output for 'info catch'.
17299
173002007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17301
17302 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
17303 must be set to binary.
17304
173052007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
17306
17307 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
17308
173092007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
17310
17311 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
17312 gdb.mi/mi-file-transfer.exp: New.
17313
173142007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17315
17316 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
17317
173182007-11-22 Maciej W. Rozycki <macro@mips.com>
17319
17320 * gdb.trace/backtrace.exp: Fix a typo.
17321 * gdb.trace/circ.exp: Likewise.
17322 * gdb.trace/collection.exp: Likewise.
17323 * gdb.trace/limits.exp: Likewise.
17324 * gdb.trace/report.exp: Likewise.
17325 * gdb.trace/tfind.exp: Likewise.
17326 * gdb.trace/while-dyn.exp: Likewise.
17327
173282007-11-21 Nick Roberts <nickrob@snap.net.nz>
17329
17330 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
17331 objects of pointers that can't be dereferenced are now
17332 "noneditable".
17333
173342007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17335
17336 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
17337 (target_cpu): Remove.
17338
173392007-10-15 Vladimir Prus <vladimir@codesourcery.com>
17340
17341 * gdb.base/ending-run.exp: Expect the list of cleared
17342 breakpoint to come in natural order, not the reversed one.
17343
173442007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17345
17346 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17347 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
17348
173492007-11-05 Luis Machado <luisgpm@br.ibm.com>
17350
17351 * gdb.base/printcmds.exp: New function
17352 test_printf_with_dfp.
17353
173542007-11-02 Doug Evans <dje@google.com>
17355
17356 * gdb.disasm/t01_mov.s: Remove carriage returns.
17357 * gdb.disasm/t02_mova.s: Ditto.
17358 * gdb.disasm/t03_add.s: Ditto.
17359 * gdb.disasm/t04_sub.s: Ditto.
17360 * gdb.disasm/t05_cmp.s: Ditto.
17361 * gdb.disasm/t06_ari2.s: Ditto.
17362 * gdb.disasm/t07_ari3.s: Ditto.
17363 * gdb.disasm/t08_or.s: Ditto.
17364 * gdb.disasm/t09_xor.s: Ditto.
17365 * gdb.disasm/t10_and.s: Ditto.
17366 * gdb.disasm/t11_logs.s: Ditto.
17367 * gdb.disasm/t12_bit.s: Ditto.
17368 * gdb.disasm/t13_otr.s: Ditto.
17369
173702007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17371
17372 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17373
173742007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17375
17376 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17377 provide DFP support.
17378
173792007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17380
17381 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17382 Test "set powerpc vector-abi". Skip auto-detection tests for old
17383 toolchains.
17384
173852007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17386
17387 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17388 with [string compare].
17389
173902007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17391
17392 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17393 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17394
173952007-10-25 Luis Machado <luisgpm@br.ibm.com>
17396
17397 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17398 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17399 * gdb.opt/Makefile.in: New makefile.
17400 * Makefile.in: Create new directory "gdb.opt".
17401 * configure.ac: Add "gdb.opt" directory.
17402 * configure: Regenerated.
17403
174042007-10-25 Doug Evans <dje@google.com>
17405
17406 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17407 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17408
174092007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
17410 Thiago Jung Bauermann <bauerman@br.ibm.com>
17411
17412 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17413 Floating Point expressions.
17414 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17415 Floating Point variables.
17416 * gdb.base/dfp-test.c: new file containing program with Decimal
17417 Floating variables, used by gdb.base/dfp-test.exp.
17418
174192007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17420
17421 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17422
174232007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17424
17425 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17426 compiling test case with GCC.
17427 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17428
174292007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17430
17431 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17432 format changes.
17433
174342007-10-18 Michael Snyder <msnyder@specifix.com>
17435
17436 * gdb.base/dbx.exp: Add missing "-re " operator.
17437
174382007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17439
17440 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17441 * configure.ac: Removed trailing spaces after backslash.
17442 * gdb.modula2: New directory.
17443 * gdb.modula2/Makefile.in: New file.
17444 * gdb.modula2/unbounded-array.exp: New file.
17445 * gdb.modula2/unbounded1.c: New file.
17446
174472007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17448
17449 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17450
174512007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
17452
17453 * gdb.base/sigstep.c (main): Add checks for
17454 return values for setitimer call.
17455 Call setitimer again with itimer = ITIMER_REAL
17456 if first call to setitimer fails.
17457
174582007-10-11 Kazu Hirata <kazu@codesourcery.com>
17459
17460 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17461 of $timeout.
17462
174632007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17464
17465 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17466
174672007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
17468
17469 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17470 of gdb_expect call, to avoid interruption.
17471
174722007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17473
17474 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17475 (v_unsigned_long_long, v_long_long_array)
17476 (v_signed_long_long_array, v_unsigned_long_long_array)
17477 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17478 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17479 [!NO_LONG_LONG]: New.
17480 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17481 v_long_long_member.
17482
17483 (v_long_long_func, v_signed_long_long_func)
17484 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17485 (main) [!NO_LONG_LONG]: Initialize long long variants.
17486
17487 * gdb.base/whatis.exp: If board file requests no_long_long, build
17488 test with NO_LONG_LONG defined. Test long long, signed long long,
17489 and unsigned long long variants but only if board file doesn't
17490 disable it.
17491
174922007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
17493 Daniel Jacobowitz <dan@codesourcery.com>
17494
17495 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17496 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17497 * configure: Regenerated.
17498 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17499 gdb.pascal/types.exp, lib/pascal.exp: New files.
17500
175012007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17502
17503 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17504 call.
17505 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17506 to return to the call.
17507 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17508 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17509 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17510 * gdb.mi/mi-until.exp (test_until): Likewise.
17511 * gdb.mi/mi2-until.exp (test_until): Likewise.
17512
175132007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17514
17515 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17516 two-char array.
17517 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17518
175192007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17520
17521 * gdb.threads/watchthreads.c (thread_function): Sleep between
17522 iterations.
17523 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17524 at once for S/390. Generate matching fails and passes.
17525
175262007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17527
17528 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17529 the 'struct_declarations' variable to zeros.
17530
175312007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17532
17533 * gdb.cp/mb-ctor.cc: New.
17534 * gdb.cp/mb-ctor.exp: New.
17535 * gdb.cp/mb-templates.cc: New.
17536 * gdb.cp/mb-templates.exp: New.
17537
175382007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17539
17540 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17541
175422007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17543
17544 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17545 targets.
17546 * configure: Regenerate.
17547
175482007-09-23 Vladimir Prus <vladimir@codesourcery.com>
17549
17550 * gdb.base/annota1.exp: Adjust for 'info break'
17551 format changes.
17552 * gdb.base/annota3.exp: Likewise.
17553 * gdb.base/break.exp: Likewise.
17554 * gdb.base/condbreak.exp: Likewise.
17555 * gdb.base/pending.exp: Likewise.
17556 * gdb.base/sepdebug.exp: Likewise.
17557 * gdb.base/unload.exp: Likewise.
17558 * gdb.base/ovldbreak.exp: Likewise.
17559
175602007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17561
17562 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17563 messages.
17564 * gdb.base/chng-syms.exp: Likewise.
17565 * gdb.base/unload.exp: Likewise.
17566
175672007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17568
17569 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17570
175712007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17572
17573 * schedlock.c (NUM): Change to 1.
17574 (main): Use args[0] for the main thread.
17575 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17576 regardless of the number of threads.
17577
175782007-09-14 Maciej W. Rozycki <macro@mips.com>
17579
17580 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17581 type down.
17582 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17583 test.
17584 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17585 watchpoint type down.
17586 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17587 test.
17588
175892007-09-14 Maciej W. Rozycki <macro@mips.com>
17590
17591 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17592 Move all the tests here and run them twice, once using software
17593 watchpoints and once using hardware watchpoints.
17594 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17595
175962007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17597
17598 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17599 test.
17600
176012007-09-10 Mark Kettenis <kettenis@gnu.org>
17602
17603 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17604 build-id.
17605
17606 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17607 know about $ORIGIN. Calculate output dir from $dest instead of
17608 using ${objdir}/{$subdir}.
17609
176102007-09-09 Mark Kettenis <kettenis@gnu.org>
17611
17612 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17613 gcore, before continuing with the test.
17614
176152007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17616
17617 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17618 * gdb.mi/mi-watch.exp: Likewise.
17619
176202007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17621 Jim Blandy <jimb@codesourcery.com>
17622
17623 * gdb.arch/i386-sse.exp: Do not expect character constants.
17624 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17625 * gdb.base/display.exp: Allow print/s.
17626 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17627 and unsigned char array changes.
17628
176292007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17630
17631 * gdb.base/display.exp: Add tests for printf %p.
17632
176332007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17634
17635 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17636 the dll name to unicode.
17637
176382007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17639
17640 * gdb.base/default.exp (show version): Update the version text.
17641 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17642
176432007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17644
17645 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17646 New files.
17647
176482007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17649
17650 * lib/gdb.exp (build_id_debug_filename_get): New function.
17651 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17652 Remove the generate DEBUG file for the future testcase runs.
17653 New testcase for the NT_GNU_BUILD_ID retrieval.
17654 Move the final testing step to ...
17655 (test_different_dir): ... a new function.
17656 New parameter XFAIL to XFAIL all the tests performed.
17657 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17658 New parameter TYPE to PF_PREFIX all the tests performed.
17659
176602007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17661
17662 * gdb.mi/mi-var-cp.cc (path_expression): New
17663 function.
17664 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17665
176662007-08-27 Markus Deuling <deuling@de.ibm.com>
17667
17668 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17669 to fit into SPU Local Store memory.
17670
176712007-08-23 Joel Brobecker <brobecker@adacore.com>
17672
17673 * gdb.base/default.exp: Adjust the expected output of "info
17674 warranty" after the switch to GPLv3.
17675
176762007-08-23 Joel Brobecker <brobecker@adacore.com>
17677
17678 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17679 to 30000 (from 20000).
17680
176812007-08-23 Joel Brobecker <brobecker@adacore.com>
17682
17683 Switch the license of all .exp files to GPLv3.
17684 Switch the license of all .f and .f90 files to GPLv3.
17685 Switch the license of all .s and .S files to GPLv3.
17686
176872007-08-23 Joel Brobecker <brobecker@adacore.com>
17688
17689 * configure.ac: Switch license to GPLv3.
17690
176912007-08-23 Joel Brobecker <brobecker@adacore.com>
17692
17693 Switch the licensing to GPLv3 for all .ads and .adb files.
17694
176952007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17696
17697 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17698 and t_int_double.
17699 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17700
177012007-08-17 Joel Brobecker <brobecker@adacore.com>
17702
17703 * gdb.base/step-line.c: Switch license to GPL version 3, and
17704 update copyright year.
17705 * gdb.base/step-line.inp: Likewise.
17706
177072007-08-17 Joel Brobecker <brobecker@adacore.com>
17708
17709 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17710 changes inside gdb1555.c.
17711 * gdb.base/pending.exp: Likewise.
17712
177132007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17714
17715 * config/default.exp: New file.
17716
177172007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17718
17719 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17720 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17721
177222007-07-30 Maciej W. Rozycki <macro@mips.com>
17723
17724 * gdb.base/dump.exp: Force the correct endianness for binary
17725 formats not carrying this information.
17726
177272007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17728
17729 * gdb.threads/staticthreads.exp: Match .*sem_post.
17730
177312007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17732
17733 * gdb.base/readline.exp (operate_and_get_next): Match the final
17734 prompt.
17735
177362007-07-23 Kevin Buettner <kevinb@redhat.com>
17737
17738 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17739 to restarting SID.
17740
177412007-07-18 Kevin Buettner <kevinb@redhat.com>
17742
17743 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17744 prior to `gdb_start'.
17745
177462007-07-18 Kevin Buettner <kevinb@redhat.com>
17747
17748 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17749 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17750 Remove call to gdb_unload.
17751
177522007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17753 Daniel Jacobowitz <dan@codesourcery.com>
17754
17755 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17756 for __WIN32__.
17757 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17758 * gdb.base/unload.exp: Use shared library test routines.
17759
177602007-07-03 Markus Deuling <deuling@de.ibm.com>
17761
17762 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17763 * gdb.base/solib-symbol-lib.c: Likewise.
17764 * gdb.base/solib-symbol-main.c: Likewise.
17765
177662007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17767
17768 * config/gdbserver.exp (gdb_reconnect): New.
17769 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17770 gdb.base/solib-disc.exp: New files.
17771 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17772 remote debugging".
17773 (gdb_compile): Add shlib_load flag.
17774 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17775 port.
17776 (gdbserver_reconnect): New.
17777
177782007-07-01 Nick Roberts <nickrob@snap.net.nz>
17779 Daniel Jacobowitz <dan@codesourcery.com>
17780
17781 * gdb.base/annota3.exp: Test for if construct.
17782
177832007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17784
17785 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17786
177872007-06-21 Chris Dearman <chris@mips.com>
17788 Maciej W. Rozycki <macro@mips.com>
17789
17790 * gdb.base/display.exp: Allow a newline after display/i.
17791 * gdb.base/pc-fp.exp: Likewise.
17792 * gdb.base/sigbpt.exp: Likewise.
17793
177942007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17795
17796 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17797 required features to be included.
17798
177992007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17800
17801 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17802 in info threads output.
17803
178042007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17805 Markus Deuling <deuling@de.ibm.com>
17806
17807 * gdb.arch/spu-info.exp: New testcase.
17808 * gdb.arch/spu-info.c: New file.
17809
178102007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17811
17812 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17813 tpcs_offset. Restore lr after the call.
17814 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17815
178162007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17817
17818 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17819 (gdbserver_run): Kill any running gdbserver.
17820 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17821
178222007-05-17 Maciej W. Rozycki <macro@mips.com>
17823
17824 * gdb.base/sigbpt.exp: Preset segv_addr.
17825
178262007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17827
17828 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17829 (gdb_compile_shlib): Likewise.
17830 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17831 (default_gdb_init): Clear cleanfiles.
17832 (gdb_finish): Delete recorded cleanfiles.
17833 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17834
17835 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17836 Do not use isnative.
17837 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17838 gdb.base/so-impl-ld.exp: Likewise.
17839 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17840 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17841 gdb_compile.
17842
178432007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17844
17845 * config/unknown.exp: Remove.
17846
178472007-05-15 Markus Deuling <deuling@de.ibm.com>
17848
17849 * gdb.base/info-proc.exp: Check is_remote.
17850
178512007-05-14 Markus Deuling <deuling@de.ibm.com>
17852
17853 * gdb.base/gcore.exp: Initialize variable core_supported.
17854
178552007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17856
17857 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17858
178592007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17860
17861 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17862 * gdb.threads/print-threads.exp (test_all_threads): Allow
17863 negative and hexadecimal thread IDs.
17864
178652007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17866
17867 * gdb.java/jprint.java (public): Avoid invalid call to static
17868 method.
17869
178702007-05-14 Denis Pilat <denis.pilat@st.com>
17871
17872 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17873 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17874 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17875 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17876 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17877
178782007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17879
17880 * gdb.base/overlays.exp: Add support for targets with only code
17881 overlay support, not data overlay. Support spu-*-* target in
17882 this mode.
17883 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17884 * gdb.base/spu.ld: New file.
17885
178862007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17887
17888 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17889
178902007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17891
17892 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17893
178942007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17895
17896 * gdb.java/jmain.exp: Handle demangled names with and without method
17897 signatures.
17898
178992007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17900
17901 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17902 (have_a_very_merry_interrupt): Remove calls to puts.
17903 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17904 inferior output.
17905 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17906 test names.
17907
179082007-04-29 Markus Deuling <deuling@de.ibm.com>
17909 Daniel Jacobowitz <dan@codesourcery.com>
17910
17911 * gdb.base/auxv.exp (core_works): Also check is_remote.
17912 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17913
179142007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17915
17916 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17917 message, not the undefined 'module' variable.
17918 * gdb.base/siginfo.exp: Likewise.
17919 * gdb.base/sigstep.exp: Likewise.
17920 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17921 serialport.
17922 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17923
179242007-04-25 Corinna Vinschen <vinschen@redhat.com>
17925
17926 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17927 target sim fails. Return 0 otherwise.
17928 (gdb_load): Return prematurely if gdb_target_sim fails.
17929
179302007-04-16 Denis Pilat <denis.pilat@st.com>
17931
17932 * gdb.base/setshow.exp: Reset height after having set it to 100.
17933
179342007-04-16 Denis Pilat <denis.pilat@st.com>
17935
17936 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17937
179382007-04-16 Denis Pilat <denis.pilat@st.com>
17939
17940 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17941
179422007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17943
17944 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17945 tests. Run the frozen varobjs test.
17946 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17947 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17948
179492007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17950
17951 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17952 gdb.base/type-opaque.exp: New files.
17953
179542007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17955
17956 * gdb.mi/mi-var-child.c
17957 (do_children_tests): User char[2] instead of
17958 char so that automatic printing of pointers to char
17959 don't give unpredicable result.
17960 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17961 local variables.
17962 * gdb.mi/mi-var-child.exp: Step to right line
17963 of do_children_tests.
17964 * gdb.mi/mi2-var-child.exp: Likewise.
17965 * gdb.mi/mi-var-cmd.exp: Step to right line of
17966 do_locals_tests.
17967 (do_children_tests): User char[2] instead of
17968 char so that automatic printing of pointers to char
17969 don't give unpredicable result.
17970 * gdb.mi/mi2-var-cmd.exp: Likewise.
17971 * lib/mi-support.exp (mi_continue_to_line):
17972 Pass test name to mi_wait_for_stop.
17973
179742007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17975
17976 * gdb.asm/asm-source.exp: Remove d10v case.
17977 * lib/gdb.exp (skip_cplus_tests): Likewise.
17978 * gdb.asm/d10v.inc: Deleted.
17979
179802007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17981
17982 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17983
179842007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17985
17986 * config/netware.exp: Delete file.
17987
179882007-03-29 Joel Brobecker <brobecker@adacore.com>
17989
17990 * gdb.dwarf2/dw2-noloc.S: New file.
17991 * gdb.dwarf2/dw2-noloc.exp: New file.
17992
179932007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17994
17995 * gdb.cp/method2.cc: New test.
17996 * gdb.cp/method2.exp: New test.
17997 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17998
179992007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18000
18001 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
18002
180032007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
18004
18005 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
18006
180072007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18008
18009 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
18010 (gdb_load): Delete, replace with...
18011 (gdb_reload): ...this.
18012 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
18013 * gdb.server/server-mon.exp: Likewise.
18014 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
18015 (gdb_start_cmd): New.
18016 (gdb_file_cmd): Save the last loaded file.
18017 (gdb_reload): New.
18018 (gdb_gnu_strip_debug): Use transform.
18019 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
18020 support here. Use new $last_loaded_file. Check mtime.
18021 (gdb_target_cmd): Handle ObjC failure case.
18022 (infer_host_exec): Delete.
18023 (gdbserver_load): Rename to...
18024 (gdbserver_run): ...this. Simplify.
18025 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
18026 (mi_gdb_load): Move most contents to a new function...
18027 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
18028 (mi_run_cmd): Use mi_gdb_target_load.
18029 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
18030 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
18031 Use gdb_run_cmd.
18032 * gdb.base/charsign.exp: Remove incorrect comment.
18033 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
18034 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
18035 gdb.base/start.exp: Use gdb_start_cmd.
18036
180372007-03-23 Nigel Stephens <nigel@mips.com>
18038 Maciej W. Rozycki <macro@mips.com>
18039
18040 * gdb.base/sigbpt.exp: Fix the message when skipping test.
18041 * gdb.base/signull.exp: Similarly.
18042
180432007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18044
18045 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
18046 messages available to test cases (like chng-sym.exp).
18047
180482007-03-14 Andreas Schwab <schwab@suse.de>
18049
18050 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18051 format changes.
18052
180532007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
18054
18055 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
18056 (optimized_1): New.
18057 (main): Call optimized_1.
18058 (gdb2029): Correct typos. Call gdb2029_marker.
18059 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
18060 for gdb2029.
18061
180622007-03-12 Mark Kettenis <kettenis@gnu.org>
18063
18064 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
18065 as tabs. Remove redundant test pattern.
18066
180672007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18068
18069 * gdb.base/long_long.exp: Accept optional symbol name in <...>
18070 for /a format output.
18071
180722007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
18073
18074 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
18075 collect output incrementally.
18076
180772007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18078
18079 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
18080 for -var-create lpcharacter test.
18081 * gdb.mi/mi2-var-cmd.exp: Likewise.
18082
180832007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18084
18085 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
18086 pass on targets where address zero is readable.
18087
180882007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18089
18090 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
18091 just a single architecture.
18092
180932007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18094
18095 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
18096 (fetch_all_registers): New function, uses gdb_test_multiple and
18097 exp_continue to fetch inferior output line-by-line.
18098 Replace all uses of do_get_all_registers by fetch_all_registers.
18099
181002007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18101
18102 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
18103 in target_info.
18104
181052007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18106
18107 * gdb.threads/manythreads.exp: Use $message string for
18108 consistancy; add a default (timeout) case.
18109
181102007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18111
18112 * gdb.base/watchpoint.exp: Fix truncated comment.
18113
181142007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18115
18116 * Makefile.in: Remove spurious single-quotes from sed command.
18117
181182007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
18119
18120 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
18121 func.
18122 * gdb.mi/mi2-var-cmd.exp: Likewise.
18123
181242007-02-27 Joel Brobecker <brobecker@adacore.com>
18125
18126 * gdb.dwarf2/dw2-producer.S: New file.
18127 * gdb.dwarf2/dw2-producer.exp: New testcase.
18128
181292007-02-27 Nick Roberts <nickrob@snap.net.nz>
18130
18131 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18132 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18133 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18134 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18135 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18136 Revert tests to use mi_gdb_test and include value field in output
18137 of -var-create.
18138
181392007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18140
18141 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
18142
181432007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18144
18145 * gdb.base/maint.exp: Remove full paths from test names.
18146 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
18147 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
18148
181492007-02-27 Joel Brobecker <brobecker@adacore.com>
18150
18151 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
18152
181532007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18154
18155 * gdb.server/server-mon.exp: New test.
18156
181572007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18158
18159 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
18160
181612007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18162
18163 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
18164 register capitalization.
18165
181662007-02-13 Denis Pilat <denis.pilat@st.com>
18167
18168 * gdb.mi/mi-var-invalidate.exp: New file.
18169
181702007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18171
18172 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
18173
181742007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18175
18176 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
18177
181782007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18179
18180 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
18181 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
18182
181832007-02-08 Nick Roberts <nickrob@snap.net.nz>
18184
18185 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18186 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18187 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18188 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18189 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18190 * gdb.mi/gdb792.exp, lib/mi-support.exp:
18191 Update tests to include value field in output of -var-create.
18192
181932007-02-08 Andreas Schwab <schwab@suse.de>
18194
18195 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
18196
181972007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
18198
18199 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
18200 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
18201
182022007-02-02 Denis Pilat <denis.pilat@st.com>
18203
18204 * gdb.threads/threadapply.exp: check that frame is not changed by
18205 the thread apply all command.
18206
182072007-01-31 Andreas Schwab <schwab@suse.de>
18208
18209 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18210
18211 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
18212 in the dwarf sections.
18213 * gdb.dwarf2/mac-fileno.S: Likewise.
18214
18215 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
18216 bspstore register on ia64.
18217
182182007-01-29 Andreas Schwab <schwab@suse.de>
18219
18220 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
18221 "frame-begin" annotation.
18222
18223 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
18224 number of "frames-invalid" annotations.
18225
182262007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18227
18228 * gdb.base/commands.exp: Call if_commands_test.
18229 (gdb_test_no_prompt, if_commands_test): New.
18230
182312007-01-28 Mark Kettenis <kettenis@gnu.org>
18232
18233 * gdb.threads/sigthread.c (NSIGS): Make bigger.
18234
182352007-01-27 Andreas Schwab <schwab@suse.de>
18236
18237 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
18238 .short/.int/.quad in the dwarf sections.
18239 * gdb.dwarf2/dw2-intercu.S: Likewise.
18240 * gdb.dwarf2/dw2-intermix.S: Likewise.
18241
182422007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18243
18244 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
18245 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
18246 array.
18247 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18248 * gdb.base/setvar.exp: Likewise.
18249
182502007-01-26 Andreas Schwab <schwab@suse.de>
18251
18252 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
18253 test.
18254
18255 * gdb.base/multi-forks.exp ("restart $i"): Also match
18256 __kernel_syscall_via_break.
18257
182582007-01-24 Vladimir Prus <vladimir@codesourcery.com>
18259
18260 * lib/mi-support.exp (mi_delete_varobj): New.
18261 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
18262 testcase.
18263 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
18264 (main): Call the above.
18265 (reference_update_test, base_in_reference_test)
18266 (reference_to_pointer): Delete the created varobjs.
18267
182682007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
18269
18270 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
18271 * configure: Regenerated.
18272 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
18273 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
18274 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
18275 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
18276 * lib/gdb.exp (gdb_skip_xml_test): New function.
18277
182782007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
18279
18280 * gdb.base/sigrepeat.exp: Correct error message.
18281
182822007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18283 Daniel Jacobowitz <dan@codesourcery.com>
18284
18285 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
18286 gdb.arch/i386-gnu-cfi-asm.S: New files.
18287
182882007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18289
18290 * lib/gdb.exp: Abort on missing `site.exp'.
18291
182922007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18293 Daniel Jacobowitz <dan@codesourcery.com>
18294
18295 * gdb.base/included.c, gdb.base/included.exp,
18296 gdb.base/included.h: New files.
18297
182982007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18299
18300 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
18301 (maximize_rlimit): Reduce limits on 64-bit systems.
18302
183032007-01-19 Mark Kettenis <kettenis@gnu.org>
18304
18305 From Marcus Deuling <deuling@de.ibm.com>:
18306 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
18307 every case.
18308
183092007-01-13 Nick Roberts <nickrob@snap.net.nz>
18310
18311 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
18312 (test_path_specification): Use objdir instead of srcdir to always
18313 get an absolute filename.
18314
183152007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
18316
18317 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
18318
183192007-01-11 Vladimir Prus <vladimir@codesourcery.com>
18320
18321 * gdb.mi/mi-var-cp.cc (reference_update_tests):
18322 Make sure the variable we're using is in scope.
18323 (reference_to_pointer): Likewise.
18324
183252007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18326
18327 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
18328 has no debug information.
18329
183302007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18331
18332 * gdb.base/annota1.exp: Remove extra send_gdb.
18333
183342007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18335
18336 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
18337
183382007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18339
18340 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
18341
183422007-01-08 Nick Roberts <nickrob@snap.net.nz>
18343 Daniel Jacobowitz <dan@codesourcery.com>
18344
18345 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18346 lcharacter or linteger change. Correct duplicated test name.
18347 * gdb.mi/mi2-var-cmd.exp: Likewise.
18348
183492007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18350
18351 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18352
183532007-01-05 Joel Brobecker <brobecker@adacore.com>
18354
18355 * gdb.base/nofield.c: New file.
18356 * gdb.base/nofield.exp: New testcase.
18357
183582007-01-05 Nick Roberts <nickrob@snap.net.nz>
18359
18360 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18361
18362 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18363 test.
18364
183652007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18366
18367 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18368
183692007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18370
18371 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18372 when continuing.
18373
183742007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18375
18376 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18377 Expect ".exe" extension.
18378
183792007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18380
18381 * gdb.base/charset.exp: Add explicit filename to break.
18382 * gdb.base/dbx.exp: Add explicit filename to breaks.
18383
183842007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18385
18386 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18387 * gdb.mi/mi2-file.exp: Likewise.
18388
183892007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18390
18391 Implement specification of MI tests as comments
18392 in C and C++ sources.
18393 * lib/mi-support.exp (mi_autotest_data): New variable.
18394 (mi_autotest_source): New variable.
18395 (count_newlines, mi_prepare_inline_tests)
18396 (mi_get_inline_test, mi_continue_to_line)
18397 (mi_run_inline_test, mi_tbreak)
18398 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18399 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18400 Run inline tests.
18401 * gdb.mi/mi-var-cp.cc: Define tests here.
18402
184032007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18404
18405 Simplify usage of mi_continue_to.
18406 * lib/mi-support.exp (mi_runto_helper): Renamed
18407 from mi_runto, added new parameter 'run_or_continue'.
18408 (mi_runto): Use mi_runto_helper.
18409 (mi_continue_to): Accept just function name as parameter.
18410 Use mi_runto_helper.
18411 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18412 * gdb.mi/mi2-var-cmd.exp: Likewise.
18413
184142006-01-04 Joel Brobecker <brobecker@adacore.com>
18415
18416 Make this testcase a bit more realistic. The current code
18417 is too simplistic, and allows the compiler to optimize out
18418 some of the entities we need for this testcase.
18419 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18420 (Do_Nothing): Add extra parameter.
18421 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18422 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18423 by using a variable of type Void_Star.
18424
184252006-01-04 Joel Brobecker <brobecker@adacore.com>
18426
18427 * gdb.ada/catch_ex/foo.adb: New file.
18428 * gdb.ada/catch_ex.exp: New testcase.
18429
184302007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18431
18432 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18433 pass --image-base to linker.
18434
184352007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18436 Daniel Jacobowitz <dan@codesourcery.com>
18437
18438 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18439 secondary prompts.
18440
184412007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18442
18443 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18444 output. Test the types of members and member pointers.
18445 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18446 gdb/2092.
18447 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18448 statement. Enable for GCC. Update expected output for some tests
18449 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18450 layout.
18451 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18452 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18453 (Diamond::vget_base): New.
18454 (main): Add new tests.
18455 * gdb.cp/printmethod.exp: Update expected output for member functions.
18456 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18457 print pEe->D::vg().
18458
184592007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18460
18461 * gdb.threads/tls.exp: Allow stops in sem_post.
18462
184632006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18464
18465 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18466 * gdb.base/annota3.exp: Likewise.
18467 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18468 again (instead of timing out).
18469 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18470 GCC bug 26475.
18471 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18472 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18473 test from jmisc1.exp.
18474 * gdb.java/jmisc1.exp: Delete.
18475 * gdb.java/jprint.exp: Adjust to work with method signatures including
18476 return types.
18477 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18478 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18479 * lib/java.exp (compile_java_from_source): Pass the correct type
18480 to target_compile.
18481
184822006-12-31 Joel Brobecker <brobecker@adacore.com>
18483
18484 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18485 (stack_align_edx): New function.
18486 (stack_align_eax): New function.
18487 (main): Add calls to stack_align_edx and stack_align_eax.
18488 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18489 Add testing for the cases where the register used during a stack
18490 realignment is edx. Same for eax.
18491
184922006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18493
18494 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18495 and generic PE targets.
18496
184972006-12-29 Joel Brobecker <brobecker@adacore.com>
18498
18499 * gdb.ada/array_return.exp: Update copyright date list.
18500
185012006-12-27 Joel Brobecker <brobecker@adacore.com>
18502
18503 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18504 (Create_Small_Float_Vector): New function.
18505 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18506 function body.
18507 * gdb.ada/array_return/p.adb: Use new type and function from
18508 package Pck.
18509 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18510 able to print the value returned by a function returning an
18511 array of float.
18512
185132006-12-20 Joel Brobecker <brobecker@adacore.com>
18514
18515 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18516 The associated tests should be PASSing.
18517
185182006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18519
18520 Test for base in references.
18521 * gdb.mi/mi-var-cp.cc: Add test code.
18522 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18523 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18524 * gdb.mi/mi2-watch.exp: Likewise.
18525 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18526 (mi_list_varobj_children): New function.
18527
185282006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18529
18530 * lib/mi-support.exp
18531 (mi_runto): Accept "()" after function name.
18532 (mi_create_varobj): New function.
18533 (mi_varobj_update): New function.
18534 (mi_Check_varobj_value): New function.
18535 * gdb.mi/mi-var-cp.exp: New file.
18536 * gdb.mi/mi-var-cp.cc: New file.
18537
185382006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18539
18540 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18541 gdb.base/weaklib2.c: New files.
18542
185432006-11-29 Nathan Sidwell <nathan@codesourcery.com>
18544
18545 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18546 info. Adjust test names.
18547
18548 * gdb.base/break.c (main): Move position of malloc.
18549 * gdb.base/break.exp: Revert mistaken checkin.
18550
185512006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18552
18553 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18554 assignement of arrays and function pointers.
18555 * gdb.mi/var-cmd.c: Add declaration necessary for above
18556 tests.
18557
185582006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18559
18560 * gdb.base/break.c (main): Call malloc.
18561
18562 * gdb.threads/linux-dp.exp: Read thread table before and after
18563 creating each philosopher and verify it.
18564
185652006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18566 Paul Brook <paul@codesourcery.com>
18567 Daniel Jacobowitz <dan@codesourcery.com>
18568
18569 * gdb.base/ending-run.exp: Flatten expect script stepping out of
18570 main to remove duplication. Add start function of the form
18571 '_*start[1-9]*'. Add RVDS start function.
18572
185732006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18574
18575 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18576
185772006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18578
18579 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18580 * gdb.asm/spu.inc: New file.
18581 * gdb.base/term.exp: Disable if [target_info exists noargs].
18582 * gdb.gdb/complaints.exp: Disable if ![isnative].
18583 * gdb.gdb/selftest.exp: Likewise.
18584 * gdb.gdb/observer.exp: Likewise.
18585 * gdb.gdb/xfullpath.exp: Likewise.
18586 * gdb.base/attach.exp: Disable on SPU target.
18587 * gdb.cp/bs145503.exp: Likewise.
18588 * gdb.cp/exception.exp: Likewise.
18589 * gdb.cp/userdef.exp: Likewise.
18590
185912006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18592
18593 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18594
185952006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18596
18597 * gdb.base/completion.exp: Fix completion tests for
18598 'info' and 'info '.
18599 * gdb.base/help.exp (help_test_raw, test_class_help)
18600 (test_prefix_command_help): Move...
18601 * lib/gdb.exp: Here.
18602 * gdb.base/main.exp: Adjust.
18603 * gdb.cp/maint.exp: Adjust.
18604 * gdb.trace/tracecmd.exp: Use test_help_class.
18605
186062006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18607
18608 * gdb.stabs/weird.exp (print_weird_var): Use
18609 gdb_test_multiple instead of gdb_expect.
18610
186112006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18612
18613 * gdb.base/help.exp (help_test_raw): New.
18614 (test_class_help): New.
18615 (test_prefix_command_help): New.
18616 Adjust testcases.
18617
186182006-11-09 Christophe Lyon <christophe.lyon@st.com>
18619
18620 * gdb.base/constvars.c (main): Write to crass and crips, so that
18621 they are allocated by the compiler.
18622
186232006-10-27 Andreas Schwab <schwab@suse.de>
18624
18625 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18626 "detach-fork".
18627
186282006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18629
18630 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18631 of patterns.
18632
186332006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18634
18635 * gdb.base/sepdebug.exp: Remove debug format test.
18636 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18637 Handle no-symtab.
18638 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18639
186402006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18641
18642 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18643 int to pointer or pointer to int.
18644 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18645
186462006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18647
18648 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18649
186502006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18651
18652 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18653
186542006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18655
18656 PR c++/2116
18657 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18658
186592006-10-06 Joel Brobecker <brobecker@adacore.com>
18660
18661 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18662 the corresponding bug has been fixed in GDB (PR/2018).
18663
186642006-10-06 Joel Brobecker <brobecker@adacore.com>
18665
18666 * gdb.base/subst.exp: New testcase.
18667
186682006-10-06 Joel Brobecker <brobecker@adacore.com>
18669
18670 * gdb.ada/array_return/pck.ads: Add copyright notice.
18671 * gdb.ada/array_return/pck.adb: Likewise.
18672 * gdb.ada/array_return/p.adb: Likewise.
18673 * gdb.ada/exec_changed/first.adb: Likewise.
18674 * gdb.ada/exec_changed/second.adb: Likewise.
18675
186762006-10-06 Joel Brobecker <brobecker@adacore.com>
18677
18678 * gdb.ada/watch_arg/watch.adb: New file.
18679 * gdb.ada/watch_arg.exp: New testcase.
18680
186812006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18682
18683 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
18684 via string_to_regexp.
18685 * gdb.mi/mi2-basics.exp: Likewise.
18686
186872006-09-20 Michael Snyder <michael.snyder@palmsource.com>
18688
18689 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18690 Remove unused / obsolete files.
18691
186922006-09-19 Nick Roberts <nickrob@snap.net.nz>
18693
18694 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18695
186962006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18697
18698 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18699 HIGH_FRAME argument to -stack-list-arguments can be larger than
18700 the number of frames.
18701
187022006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18703
18704 * gdb.base/args.c (main): Add breakpoint marker.
18705 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18706 really test empty arguments.
18707 (args_load): Delete.
18708 (args_test): New.
18709
187102006-09-13 Nick Roberts <nickrob@snap.net.nz>
18711
18712 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
18713 check for one file.
18714
187152006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18716
18717 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18718 HIGH_FRAME argument to -stack-list-locals can be larger than
18719 the number of frames.
18720
187212006-08-18 Fred Fish <fnf@specifix.com>
18722
18723 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18724 '$' in front of skip_vmx_tests_saved when setting that.
18725
187262006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18727
18728 * gdb.base/trace-commands.exp: New file.
18729
187302006-08-10 Joel Brobecker <brobecker@adacore.com>
18731 Daniel Jacobowitz <dan@codesourcery.com>
18732
18733 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18734 expected output of the backtrace commands.
18735
187362006-08-09 Joel Brobecker <brobecker@adacore.com>
18737
18738 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18739 untested followed by return combination.
18740 * gdb.arch/altivec-regs.exp: Likewise.
18741 * gdb.arch/e500-abi.exp: Likewise.
18742 * gdb.arch/e500-regs.exp: Likewise.
18743 * gdb.arch/gdb1291.exp: Likewise.
18744 * gdb.arch/gdb1431.exp: Likewise.
18745 * gdb.arch/gdb1558.exp: Likewise.
18746 * gdb.arch/i386-prologue.exp: Likewise.
18747 * gdb.arch/i386-unwind.exp: Likewise.
18748 * gdb.asm/asm-source.exp: Likewise.
18749 * gdb.base/a2-run.exp: Likewise.
18750 * gdb.base/advance.exp: Likewise.
18751 * gdb.base/all-bin.exp: Likewise.
18752 * gdb.base/annota1.exp: Likewise.
18753 * gdb.base/annota3.exp: Likewise.
18754 * gdb.base/args.exp: Likewise.
18755 * gdb.base/arithmet.exp: Likewise.
18756 * gdb.base/assign.exp: Likewise.
18757 * gdb.base/async.exp: Likewise.
18758 * gdb.base/attach.exp: Likewise.
18759 * gdb.base/bang.exp: Likewise.
18760 * gdb.base/bigcore.exp: Likewise.
18761 * gdb.base/bitfields.exp: Likewise.
18762 * gdb.base/bitfields2.exp: Likewise.
18763 * gdb.base/break.exp: Likewise.
18764 * gdb.base/call-sc.exp: Likewise.
18765 * gdb.base/call-strs.exp: Likewise.
18766 * gdb.base/callfuncs.exp: Likewise.
18767 * gdb.base/checkpoint.exp: Likewise.
18768 * gdb.base/chng-syms.exp: Likewise.
18769 * gdb.base/code-expr.exp: Likewise.
18770 * gdb.base/commands.exp: Likewise.
18771 * gdb.base/completion.exp: Likewise.
18772 * gdb.base/cond-expr.exp: Likewise.
18773 * gdb.base/condbreak.exp: Likewise.
18774 * gdb.base/consecutive.exp: Likewise.
18775 * gdb.base/constvars.exp: Likewise.
18776 * gdb.base/corefile.exp: Likewise.
18777 * gdb.base/cvexpr.exp: Likewise.
18778 * gdb.base/dbx.exp: Likewise.
18779 * gdb.base/define.exp: Likewise.
18780 * gdb.base/detach.exp: Likewise.
18781 * gdb.base/display.exp: Likewise.
18782 * gdb.base/dump.exp: Likewise.
18783 * gdb.base/ena-dis-br.exp: Likewise.
18784 * gdb.base/ending-run.exp: Likewise.
18785 * gdb.base/environ.exp: Likewise.
18786 * gdb.base/eval-skip.exp: Likewise.
18787 * gdb.base/exprs.exp: Likewise.
18788 * gdb.base/fileio.exp: Likewise.
18789 * gdb.base/finish.exp: Likewise.
18790 * gdb.base/float.exp: Likewise.
18791 * gdb.base/foll-exec.exp: Likewise.
18792 * gdb.base/foll-fork.exp: Likewise.
18793 * gdb.base/foll-vfork.exp: Likewise.
18794 * gdb.base/freebpcmd.exp: Likewise.
18795 * gdb.base/funcargs.exp: Likewise.
18796 * gdb.base/gcore.exp: Likewise.
18797 * gdb.base/gdb1090.exp: Likewise.
18798 * gdb.base/gdb1250.exp: Likewise.
18799 * gdb.base/huge.exp: Likewise.
18800 * gdb.base/info-proc.exp: Likewise.
18801 * gdb.base/interrupt.exp: Likewise.
18802 * gdb.base/jump.exp: Likewise.
18803 * gdb.base/langs.exp: Likewise.
18804 * gdb.base/lineinc.exp: Likewise.
18805 * gdb.base/list.exp: Likewise.
18806 * gdb.base/logical.exp: Likewise.
18807 * gdb.base/long_long.exp: Likewise.
18808 * gdb.base/macscp.exp: Likewise.
18809 * gdb.base/maint.exp: Likewise.
18810 * gdb.base/mips_pro.exp: Likewise.
18811 * gdb.base/miscexprs.exp: Likewise.
18812 * gdb.base/multi-forks.exp: Likewise.
18813 * gdb.base/opaque.exp: Likewise.
18814 * gdb.base/overlays.exp: Likewise.
18815 * gdb.base/pc-fp.exp: Likewise.
18816 * gdb.base/pointers.exp: Likewise.
18817 * gdb.base/printcmds.exp: Likewise.
18818 * gdb.base/psymtab.exp: Likewise.
18819 * gdb.base/ptype.exp: Likewise.
18820 * gdb.base/recurse.exp: Likewise.
18821 * gdb.base/relational.exp: Likewise.
18822 * gdb.base/relocate.exp: Likewise.
18823 * gdb.base/remote.exp: Likewise.
18824 * gdb.base/reread.exp: Likewise.
18825 * gdb.base/restore.exp: Likewise.
18826 * gdb.base/return.exp: Likewise.
18827 * gdb.base/return2.exp: Likewise.
18828 * gdb.base/scope.exp: Likewise.
18829 * gdb.base/sect-cmd.exp: Likewise.
18830 * gdb.base/sep.exp: Likewise.
18831 * gdb.base/sepdebug.exp: Likewise.
18832 * gdb.base/setshow.exp: Likewise.
18833 * gdb.base/setvar.exp: Likewise.
18834 * gdb.base/sigall.exp: Likewise.
18835 * gdb.base/sigbpt.exp: Likewise.
18836 * gdb.base/signals.exp: Likewise.
18837 * gdb.base/signull.exp: Likewise.
18838 * gdb.base/sizeof.exp: Likewise.
18839 * gdb.base/solib.exp: Likewise.
18840 * gdb.base/step-line.exp: Likewise.
18841 * gdb.base/step-test.exp: Likewise.
18842 * gdb.base/structs.exp: Likewise.
18843 * gdb.base/structs2.exp: Likewise.
18844 * gdb.base/term.exp: Likewise.
18845 * gdb.base/twice.exp: Likewise.
18846 * gdb.base/until.exp: Likewise.
18847 * gdb.base/varargs.exp: Likewise.
18848 * gdb.base/volatile.exp: Likewise.
18849 * gdb.base/watchpoint.exp: Likewise.
18850 * gdb.base/whatis-exp.exp: Likewise.
18851 * gdb.base/whatis.exp: Likewise.
18852 * gdb.cp/ambiguous.exp: Likewise.
18853 * gdb.cp/annota2.exp: Likewise.
18854 * gdb.cp/annota3.exp: Likewise.
18855 * gdb.cp/bool.exp: Likewise.
18856 * gdb.cp/breakpoint.exp: Likewise.
18857 * gdb.cp/casts.exp: Likewise.
18858 * gdb.cp/class2.exp: Likewise.
18859 * gdb.cp/classes.exp: Likewise.
18860 * gdb.cp/cplusfuncs.exp: Likewise.
18861 * gdb.cp/ctti.exp: Likewise.
18862 * gdb.cp/derivation.exp: Likewise.
18863 * gdb.cp/exception.exp: Likewise.
18864 * gdb.cp/gdb1355.exp: Likewise.
18865 * gdb.cp/hang.exp: Likewise.
18866 * gdb.cp/inherit.exp: Likewise.
18867 * gdb.cp/local.exp: Likewise.
18868 * gdb.cp/m-data.exp: Likewise.
18869 * gdb.cp/m-static.exp: Likewise.
18870 * gdb.cp/member-ptr.exp: Likewise.
18871 * gdb.cp/method.exp: Likewise.
18872 * gdb.cp/misc.exp: Likewise.
18873 * gdb.cp/namespace.exp: Likewise.
18874 * gdb.cp/overload.exp: Likewise.
18875 * gdb.cp/ovldbreak.exp: Likewise.
18876 * gdb.cp/pr-1023.exp: Likewise.
18877 * gdb.cp/pr-1210.exp: Likewise.
18878 * gdb.cp/pr-574.exp: Likewise.
18879 * gdb.cp/printmethod.exp: Likewise.
18880 * gdb.cp/psmang.exp: Likewise.
18881 * gdb.cp/ref-params.exp: Likewise.
18882 * gdb.cp/ref-types.exp: Likewise.
18883 * gdb.cp/rtti.exp: Likewise.
18884 * gdb.cp/templates.exp: Likewise.
18885 * gdb.cp/try_catch.exp: Likewise.
18886 * gdb.cp/userdef.exp: Likewise.
18887 * gdb.cp/virtfunc.exp: Likewise.
18888 * gdb.disasm/am33.exp: Likewise.
18889 * gdb.disasm/h8300s.exp: Likewise.
18890 * gdb.disasm/mn10300.exp: Likewise.
18891 * gdb.disasm/sh3.exp: Likewise.
18892 * gdb.disasm/t01_mov.exp: Likewise.
18893 * gdb.disasm/t02_mova.exp: Likewise.
18894 * gdb.disasm/t03_add.exp: Likewise.
18895 * gdb.disasm/t04_sub.exp: Likewise.
18896 * gdb.disasm/t05_cmp.exp: Likewise.
18897 * gdb.disasm/t06_ari2.exp: Likewise.
18898 * gdb.disasm/t07_ari3.exp: Likewise.
18899 * gdb.disasm/t08_or.exp: Likewise.
18900 * gdb.disasm/t09_xor.exp: Likewise.
18901 * gdb.disasm/t10_and.exp: Likewise.
18902 * gdb.disasm/t11_logs.exp: Likewise.
18903 * gdb.disasm/t12_bit.exp: Likewise.
18904 * gdb.disasm/t13_otr.exp: Likewise.
18905 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18906 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18907 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18908 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18909 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18910 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18911 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18912 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18913 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18914 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18915 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18916 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18917 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18918 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18919 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18920 * gdb.mi/gdb701.exp: Likewise.
18921 * gdb.mi/gdb792.exp: Likewise.
18922 * gdb.mi/mi-basics.exp: Likewise.
18923 * gdb.mi/mi-break.exp: Likewise.
18924 * gdb.mi/mi-cli.exp: Likewise.
18925 * gdb.mi/mi-console.exp: Likewise.
18926 * gdb.mi/mi-disassemble.exp: Likewise.
18927 * gdb.mi/mi-eval.exp: Likewise.
18928 * gdb.mi/mi-file.exp: Likewise.
18929 * gdb.mi/mi-read-memory.exp: Likewise.
18930 * gdb.mi/mi-regs.exp: Likewise.
18931 * gdb.mi/mi-return.exp: Likewise.
18932 * gdb.mi/mi-simplerun.exp: Likewise.
18933 * gdb.mi/mi-stack.exp: Likewise.
18934 * gdb.mi/mi-stepi.exp: Likewise.
18935 * gdb.mi/mi-syn-frame.exp: Likewise.
18936 * gdb.mi/mi-until.exp: Likewise.
18937 * gdb.mi/mi-var-block.exp: Likewise.
18938 * gdb.mi/mi-var-child.exp: Likewise.
18939 * gdb.mi/mi-var-cmd.exp: Likewise.
18940 * gdb.mi/mi-var-display.exp: Likewise.
18941 * gdb.mi/mi-watch.exp: Likewise.
18942 * gdb.mi/mi2-basics.exp: Likewise.
18943 * gdb.mi/mi2-break.exp: Likewise.
18944 * gdb.mi/mi2-cli.exp: Likewise.
18945 * gdb.mi/mi2-console.exp: Likewise.
18946 * gdb.mi/mi2-disassemble.exp: Likewise.
18947 * gdb.mi/mi2-eval.exp: Likewise.
18948 * gdb.mi/mi2-file.exp: Likewise.
18949 * gdb.mi/mi2-read-memory.exp: Likewise.
18950 * gdb.mi/mi2-regs.exp: Likewise.
18951 * gdb.mi/mi2-return.exp: Likewise.
18952 * gdb.mi/mi2-simplerun.exp: Likewise.
18953 * gdb.mi/mi2-stack.exp: Likewise.
18954 * gdb.mi/mi2-stepi.exp: Likewise.
18955 * gdb.mi/mi2-syn-frame.exp: Likewise.
18956 * gdb.mi/mi2-until.exp: Likewise.
18957 * gdb.mi/mi2-var-block.exp: Likewise.
18958 * gdb.mi/mi2-var-child.exp: Likewise.
18959 * gdb.mi/mi2-var-cmd.exp: Likewise.
18960 * gdb.mi/mi2-var-display.exp: Likewise.
18961 * gdb.mi/mi2-watch.exp: Likewise.
18962 * gdb.stabs/exclfwd.exp: Likewise.
18963 * gdb.stabs/weird.exp: Likewise.
18964 * gdb.threads/gcore-thread.exp: Likewise.
18965 * gdb.trace/actions.exp: Likewise.
18966 * gdb.trace/backtrace.exp: Likewise.
18967 * gdb.trace/circ.exp: Likewise.
18968 * gdb.trace/collection.exp: Likewise.
18969 * gdb.trace/deltrace.exp: Likewise.
18970 * gdb.trace/infotrace.exp: Likewise.
18971 * gdb.trace/limits.exp: Likewise.
18972 * gdb.trace/packetlen.exp: Likewise.
18973 * gdb.trace/passc-dyn.exp: Likewise.
18974 * gdb.trace/passcount.exp: Likewise.
18975 * gdb.trace/report.exp: Likewise.
18976 * gdb.trace/save-trace.exp: Likewise.
18977 * gdb.trace/tfind.exp: Likewise.
18978 * gdb.trace/tracecmd.exp: Likewise.
18979 * gdb.trace/while-dyn.exp: Likewise.
18980 * gdb.trace/while-stepping.exp: Likewise.
18981
189822006-08-08 Joel Brobecker <brobecker@adacore.com>
18983
18984 * gdb.base/step-bt.c: New file.
18985 * gdb.base/step-bt.exp: New testcase.
18986
189872006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18988
18989 * config/monitor.exp (gdb_load): Remove support for obsolete
18990 download-write-size.
18991 * gdb.base/remote.exp: Likewise. Update all callers of
18992 gdb_timed_load.
18993
189942006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18995
18996 * cursal.exp: Pass binfile to gdb_load.
18997
189982006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18999
19000 * gdb.base/cursal.exp: Add "" to gdb_load call.
19001
190022006-07-29 Mark Kettenis <kettenis@gnu.org>
19003
19004 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
19005 NetBSD/ELF targets.
19006
190072006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
19008
19009 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
19010 operator*.
19011
190122006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
19013
19014 * gdb.base/completion.exp: Update for change in "file" behavior.
19015 * gdb.stabs/weird.exp: Likewise.
19016 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
19017 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
19018
190192006-07-24 Nathan Sidwell <nathan@codesourcery.com>
19020
19021 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
19022 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
19023
190242006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
19025
19026 * gdb.base/default.exp: Update source command error message.
19027 * gdb.base/help.exp: Update 'help source' message.
19028
190292006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
19030
19031 * gdb.cp/bs15503.exp: Update comment for no longer crashing
19032 test.
19033
190342006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
19035
19036 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
19037
190382006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19039
19040 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
19041
190422006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19043
19044 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
19045
190462006-07-17 Mark Kettenis <kettenis@gnu.org>
19047
19048 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
19049 *-*-openbsd* from targets for wich we expect ARM FPA floating
19050 point format.
19051
190522006-07-17 Nick Roberts <nickrob@snap.net.nz>
19053
19054 * gdb.cp/annota3.exp: Expect frame-begin annotation.
19055
190562006-07-17 Mark Kettenis <kettenis@gnu.org>
19057
19058 * gdb.base/annota3.exp: Expect frame-begin annotation.
19059
190602006-07-14 Joel Brobecker <brobecker@adacore.com>
19061
19062 * gdb.base/help.exp: Adjust "help unset" test to accept
19063 any list of unset commands.
19064
190652006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
19066 Daniel Jacobowitz <dan@codesourcery.com>
19067
19068 * gdb.cp/ref-params.exp: New test.
19069 * gdb.cp/ref-params.cc: New source file.
19070 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
19071
190722006-07-08 Mark Kettenis <kettenis@gnu.org>
19073
19074 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
19075 spaces/tabs in regular expressions since they might not be there.
19076
190772006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
19078
19079 * gdb.base/ifelse.exp: New file.
19080
190812006-07-04 Nathan Sidwell <nathan@codesourcery.com>
19082
19083 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
19084 line.
19085 * gdb.base/huge.exp: Loop over compilation to find a size that
19086 is acceptable.
19087 * gdb.base/remote.exp: Correct expected strings.
19088 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
19089
190902006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19091
19092 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
19093
190942006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19095
19096 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
19097 native.
19098
190992006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19100
19101 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
19102 enable stabs testing.
19103
191042006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19105
19106 * gdb.base/auxv.exp: Intercept undefined command messages before
19107 gdb_test_multiple does.
19108
191092006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19110
19111 * Makefile.in (host_alias): Remove.
19112 (target_alias): Use @target_noncanonical@.
19113 (site.exp): Don't set host_alias.
19114 * aclocal.m4: Remove contents. Include acx.m4.
19115 * configure: Regenerated.
19116 * configure.ac: Use ACX_NONCANONICAL_TARGET.
19117
191182006-06-13 Nathan Sidwell <nathan@codesourcery.com>
19119
19120 * lib/gdb.exp (gdb_load_cmd): New.
19121
19122 * gdb.base/fileio.c: Add system(NULL) test.
19123 * gdb.base/fileio.exp: Check it.
19124
19125 * gdb.base/break.c: Add 10a breakpoint at }
19126 * gdb.base/break.exp: Add test for breakpoint at }
19127 * gdb.cp/anon-union.cc: Add code at end of function.
19128 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
19129 * gdb.mi/var-cmd.c: Add code at end of function.
19130 * gdb.mi/mi-var-display.exp: Adjust end of next.
19131 * gdb.mi/mi2-var-display.exp: Likewise.
19132 * gdb.base/fileio.c: Add stop function and insert calls at
19133 stopping places.
19134 * gdb.base/fileio.exp: Breakpoint stop function and remove
19135 explicit line number references.
19136
191372006-05-19 Joel Brobecker <brobecker@adacore.com>
19138
19139 * gdb.base/del.exp (test_delete_alias): New function.
19140 Now check that both "del" and "d" work as aliases for "delete".
19141
191422006-05-18 Fred Fish <fnf@specifix.com>
19143
19144 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
19145 required. Check for spurious output after program exits normally.
19146
191472006-05-17 Fred Fish <fnf@specifix.com>
19148
19149 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
19150 gdb_load, so it works in the simulator.
19151
191522006-05-11 Fred Fish <fnf@specifix.com>
19153
19154 * gdb.base/bang.exp: Ignore unexpected output between the
19155 "program exited normally" and the gdb prompt, as many other
19156 tests do.
19157
191582006-05-07 Mark Kettenis <kettenis@gnu.org>
19159
19160 * gdb.base/help.exp: Make "delete checkpoint" part option for
19161 "help d" and "help delete" tests.
19162
191632006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19164
19165 * gdb.mi/mi-basics.exp: Add missing serial number to
19166 expected output in some mi_gdb_test statements.
19167 * gdb.mi/mi2-basics.exp: Likewise.
19168
191692006-05-05 Joel Brobecker <brobecker@adacore.com>
19170
19171 * gdb.base/del.c: New file.
19172 * gdb.base/del.exp: New testcase.
19173
191742006-05-05 David S. Miller <davem@sunset.davemloft.net>
19175
19176 * gdb.base/break.exp: Do not assume a breakpoint on
19177 main will actually be in $srcfile when optimizing.
19178 * gdb.base/savedregs.exp: Do not require that the dummy
19179 frame location match up to a symbol and source file location.
19180 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
19181 will get printed without a mi_cmd_data_list_register_values prefix.
19182 (*-data-list-register-*): Correct regular expressions to expect the new
19183 pseudo d? floating point registers.
19184 * gdb.mi/mi2-regs.exp: Likewise.
19185
191862006-05-05 Christophe Lyon <christophe.lyon@st.com>
19187
19188 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
19189 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
19190 is allocated by the compiler.
19191 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
19192 anons, e, anone to force their allocation by the compiler.
19193
191942006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
19195
19196 * gdb.base/help.exp: Update expected text for help d and
19197 help delete.
19198
191992006-05-02 Mark Kettenis <kettenis@gnu.org>
19200
19201 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
19202 NetBSD/ELF targets.
19203
192042006-04-30 Mark Kettenis <kettenis@gnu.org>
19205
19206 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
19207 single-step breakpoint fails; make this a KFAIL on
19208 sparc*-*-openbsd*.
19209 * gdb.base/siginfo.exp: Likewise.
19210 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19211
192122006-04-26 Michael Snyder <msnyder@redhat.com>
19213
19214 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
19215 which may have to consume output from other forks.
19216 Add tests to make sure that "delete fork" succeeded.
19217
192182006-04-20 Michael Snyder <msnyder@redhat.com>
19219
19220 * 2006-03-22 Jim Blandy <jimb@redhat.com>
19221 Add support for the Renesas M32C and M16C.
19222
19223 * gdb.asm/asm-source.exp: Add m32c target.
19224 * gdb.asm/m32c.inc: Support for m32c target.
19225
192262006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
19227
19228 * gdb.base/commands.exp (recursive_source_test): New test.
19229
192302006-04-04 David S. Miller <davem@sunset.davemloft.net>
19231
19232 * gdb.base/float.exp: Add pattern for sparc targets.
19233
192342006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19235
19236 * gdb.base/commands.exp (stray_arg0_test): New test.
19237
192382006-03-30 Paul Brook <paul@codesourcery.com>
19239
19240 * gdb.mi/mi-until.exp: kfail broken until command.
19241 * gdb.mi/mi2-until.exp: Ditto.
19242
192432006-03-27 Nick Roberts <nickrob@snap.net.nz>
19244
19245 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
19246
192472006-03-08 Alexandre Oliva <aoliva@redhat.com>
19248
19249 * gdb.base/prelink.exp: Anchor tested-for regular expression
19250 on gdb prompt.
19251
192522006-03-07 Paul Brook <paul@codesourcery.com>
19253
19254 * gdb.base/assign.exp: Correct fail message.
19255
192562006-03-07 Paul Brook <paul@codesourcery.com>
19257
19258 * lib/compiler.c: Extract armcc version number.
19259 * lib/compiler.cc: Ditto.
19260
192612006-03-07 Paul Brook <paul@codesourcery.com>
19262
19263 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
19264 additional_flags=-w.
19265 * gdb.arch/altivec-regs.exp: Ditto.
19266 * gdb.arch/e500-abi.exp: Ditto.
19267 * gdb.arch/e500-regs.exp: Ditto.
19268 * gdb.base/all-bin.exp: Ditto.
19269 * gdb.base/annota1.exp: Ditto.
19270 * gdb.base/annota3.exp: Ditto.
19271 * gdb.base/args.exp: Ditto.
19272 * gdb.base/arithmet.exp: Ditto.
19273 * gdb.base/assign.exp: Ditto.
19274 * gdb.base/async.exp: Ditto.
19275 * gdb.base/bang.exp: Ditto.
19276 * gdb.base/break.exp: Ditto.
19277 * gdb.base/call-rt-st.exp: Ditto.
19278 * gdb.base/completion.exp: Ditto.
19279 * gdb.base/cond-expr.exp: Ditto.
19280 * gdb.base/condbreak.exp: Ditto.
19281 * gdb.base/consecutive.exp: Ditto.
19282 * gdb.base/define.exp: Ditto.
19283 * gdb.base/display.exp: Ditto.
19284 * gdb.base/ena-dis-br.exp: Ditto.
19285 * gdb.base/environ.exp: Ditto.
19286 * gdb.base/eval-skip.exp: Ditto.
19287 * gdb.base/info-proc.exp: Ditto.
19288 * gdb.base/jump.exp: Ditto.
19289 * gdb.base/logical.exp: Ditto.
19290 * gdb.base/long_long.exp: Ditto.
19291 * gdb.base/maint.exp: Ditto.
19292 * gdb.base/miscexprs.exp: Ditto.
19293 * gdb.base/pc-fp.exp: Ditto.
19294 * gdb.base/pointers.exp: Ditto.
19295 * gdb.base/relational.exp: Ditto.
19296 * gdb.base/reread.exp: Ditto.
19297 * gdb.base/sect-cmd.exp: Ditto.
19298 * gdb.base/sep.exp: Ditto.
19299 * gdb.base/sepdebug.exp: Ditto.
19300 * gdb.base/until.exp: Ditto.
19301 * gdb.base/whatis-exp.exp: Ditto.
19302 * gdb.cp/annota2.exp: Ditto.
19303 * gdb.cp/annota3.exp: Ditto.
19304 * gdb.trace/actions.exp: Ditto.
19305 * gdb.trace/backtrace.exp: Ditto.
19306 * gdb.trace/circ.exp: Ditto.
19307 * gdb.trace/collection.exp: Ditto.
19308 * gdb.trace/deltrace.exp: Ditto.
19309 * gdb.trace/infotrace.exp: Ditto.
19310 * gdb.trace/limits.exp: Ditto.
19311 * gdb.trace/packetlen.exp: Ditto.
19312 * gdb.trace/passc-dyn.exp: Ditto.
19313 * gdb.trace/passcount.exp: Ditto.
19314 * gdb.trace/report.exp: Ditto.
19315 * gdb.trace/save-trace.exp: Ditto.
19316 * gdb.trace/tfind.exp: Ditto.
19317 * gdb.trace/tracecmd.exp: Ditto.
19318 * gdb.trace/while-dyn.exp: Ditto.
19319 * gdb.trace/while-stepping.exp: Ditto.
19320 * lib/gdb.exp: Ditto.
19321 (gdb_compile): Handle nowarning option.
19322
193232006-03-07 Alexandre Oliva <aoliva@redhat.com>
19324
19325 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
19326 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
19327 Rename executable to prelinkt. Don't re-prelink if we didn't
19328 get a core file. Test prelink -u exit status to tell whether
19329 prelinking failed. Use gdb_test_multiple.
19330
193312006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
19332
19333 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
19334 (do_tests): Call it.
19335
193362006-02-28 Alexandre Oliva <aoliva@redhat.com>
19337
19338 * gdb.base/prelink.exp: New test.
19339 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
19340
193412006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
19342
19343 * gdb.fortran/derived-type.f90: New file.
19344 * gdb.fortran/derived-type.exp: New testcase.
19345
193462006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19347
19348 * gdb.base/default.exp: Allow ';' as a directory separator.
19349
193502006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19351
19352 * gdb.base/help.exp (help add-symbol-file): Update.
19353
193542006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19355
19356 * gdb.base/help.exp (help load): Update expected results.
19357
193582006-02-19 Fred Fish <fnf@specifix.com>
19359
19360 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19361 specifix hex value as part of results.
19362 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
19363
193642006-02-16 Fred Fish <fnf@specifix.com>
19365
19366 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19367 ushort_addr, and slong_addr, so the typedefs are not optimized
19368 away.
19369 * gdb.base/whatis.exp: Add tests using type name for struct type,
19370 union type, enum type, and typedef.
19371
193722006-02-13 Mark Kettenis <kettenis@gnu.org>
19373
19374 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19375
193762006-02-13 Jim Blandy <jimb@redhat.com>
19377
19378 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19379 case where it takes two "next" commands to skip past the init
19380 call.
19381
193822006-02-12 Fred Fish <fnf@specifix.com>
19383
19384 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19385 to handle cases where it takes two "next" commands to skip
19386 past the init call.
19387
193882006-02-07 Joel Brobecker <brobecker@adacore.com>
19389
19390 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19391 on hppa32 targets.
19392
193932006-02-06 Vladimir Prus <ghost@cs.msu.su>
19394
19395 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19396 field.
19397
193982006-01-29 Mark Kettenis <kettenis@gnu.org>
19399
19400 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19401
194022006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19403
19404 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19405 files.
19406
194072006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19408
19409 * gdb.cp/maint.exp: Set complaints to a positive value.
19410
194112006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19412
19413 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19414 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19415 function name.
19416
194172006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19418
19419 * gdb.base/checkpoint.c: Update copyright notice. Include
19420 <stdlib.h>.
19421
194222006-01-04 Jim Blandy <jimb@redhat.com>
19423
19424 * gdb.asm/asm-source.exp: Independently provide default values for
19425 asm-flags and debug-flags. Use 'string equal' to do the
19426 comparison, not the implicit expr's '==' operator. Remove
19427 now-unneeded assignments to asm-flags. In h8300 case, place
19428 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19429
194302006-01-04 Michael Snyder <msnyder@redhat.com>
19431
19432 * gdb.base/checkpoint.c: New file.
19433 * gdb.base/checkpoint.exp: New file.
19434 * gdb.base/multi-fork.c: New file.
19435 * gdb.base/multi-fork.exp: New file.
19436 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19437
194382006-01-04 Fred Fish <fnf@specifix.com>
19439
19440 * gdb.base/ptype.c (foo): Add typedef.
19441 (intfoo): Add function.
19442 * gdb.base/ptype1.c: New file.
19443 * gdb.base/ptype.exp: Handle compilation and linking with two
19444 source files. Test that proper type for "foo" is found based
19445 on source context rather than first match found in symtabs.
19446
194472005-12-28 Mark Kettenis <kettenis@gnu.org>
19448
19449 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19450 * gdb.asm/openbsd.inc: Indent commands.
19451
194522005-12-26 Mark Kettenis <kettenis@gnu.org>
19453
19454 * gdb.base/freebpcmd.exp: Increase timeout.
19455
19456 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19457
194582005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19459
19460 * gdb.base/default.exp: Update check for "show version".
19461
194622005-12-09 Randolph Chung <tausq@debian.org>
19463
19464 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19465 * gdb.asm/pa64.inc: New file.
19466
194672005-12-09 Randolph Chung <tausq@debian.org>
19468
19469 * gdb.asm/common.inc: Indent commands.
19470 * gdb.asm/asmsrc1.s: Likewise.
19471 * gdb.asm/asmsrc2.s: Likewise.
19472
194732005-12-09 Randolph Chung <tausq@debian.org>
19474
19475 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19476 (get_addr_of_sym): Remove duplicate print.
19477 (gen_core): xfail hppa*-*-hpux*, update expected output.
19478 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19479 * gdb.arch/pa64-nullify.s: New file.
19480
194812005-12-09 Randolph Chung <tausq@debian.org>
19482
19483 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19484
194852005-12-07 Christophe Lyon <christophe.lyon@st.com>
19486
19487 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19488 code generation for these functions.
19489 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19490 error message.
19491
194922005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19493
19494 * gdb.base/help.exp (help b, help br, help bre, help brea)
19495 (help break): Update the expected message.
19496
194972005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19498
19499 * gdb.asm/m68hc11.inc: Setup the data section.
19500 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19501 script for this test.
19502 (m6812-*-*): Likewise.
19503
195042005-11-09 Randolph Chung <tausq@debian.org>
19505
19506 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19507
195082005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19509
19510 * gdb.base/break.exp: Fix a comment typo.
19511
195122005-11-03 Jim Blandy <jimb@redhat.com>
19513
19514 Checked in by Elena Zannoni <ezannoni@redhat.com>
19515
19516 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
19517
195182005-11-02 Corinna Vinschen <vinschen@redhat.com>
19519
19520 * gdb.arch/gdb1558.c: Include stdio.h.
19521
195222005-10-31 Mark Kettenis <kettenis@gnu.org>
19523
19524 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19525
195262005-10-31 Mark Kettenis <kettenis@gnu.org>
19527
19528 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19529
195302005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19531
19532 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19533 vscr" tests to better match output.
19534
195352005-10-12 Jim Blandy <jimb@redhat.com>
19536
19537 * gdb.base/structs.exp (any): New function.
19538 (test_struct_returns): Don't make any assumptions at all about
19539 what value the function returns when GDB can't set the return
19540 value.
19541
195422005-10-09 Joel Brobecker <brobecker@adacore.com>
19543
19544 * gdb.ada/arrayidx/p.adb: New file.
19545 * gdb.ada/arrayidx.exp: New testcase
19546
195472005-10-09 Joel Brobecker <brobecker@adacore.com>
19548
19549 * gdb.ada/array_return/pck.ads: New file.
19550 * gdb.ada/array_return/pck.adb: New file.
19551 * gdb.ada/array_return/p.adb: New file.
19552 * gdb.ada/array_return.exp: New testcase.
19553
195542005-10-03 Joel Brobecker <brobecker@adacore.com>
19555
19556 * gdb.base/arrayidx.c: New file.
19557 * gdb.base/arrayidx.exp: New testcase.
19558
195592005-09-29 Nick Roberts <nickrob@snap.net.nz>
19560
19561 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19562 frames-invalid and breakpoints-invalid are no longer generated
19563 with level 3 so don't expect them in the output.
19564
195652005-09-27 Bob Rossi <bob@brasko.net>
19566
19567 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
19568 from test. Escape the | in mi_gdb_test call.
19569 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19570 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19571 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19572 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19573 expected regex's in mi_gdb_test calls.
19574 * lib/mi-support.exp: Remove arbitrary .* from tests.
19575 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19576 Fully anchor GDB/MI expected results in mi_gdb_test.
19577 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19578 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19579
195802005-09-26 Paul Brook <paul@codesourcery.com>
19581
19582 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19583
195842005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19585
19586 * bfp-test.c: New file.
19587 * bfp-test.exp: New testcase.
19588
195892005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19590
19591 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19592 of subarray and substring variable.
19593 * gdb.fortran/subarray.f: New source file for the test of subarray
19594 and substring variable evaluation.
19595 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19596 of string constant.
19597
195982005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19599
19600 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19601 copyright dates.
19602
196032005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19604
19605 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19606 powerpc altivec' test with an almost identical 'info vector' test.
19607
196082005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19609
19610 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19611 vscr" tests to match output.
19612
196132005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19614
19615 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19616 output.
19617
196182005-09-11 Bob Rossi <bob@brasko.net>
19619
19620 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19621 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19622 commands that return an MI output command and an asyncronous MI output
19623 command.
19624 * gdb.mi/mi-console.exp: Ditto.
19625
196262005-09-11 Bob Rossi <bob@brasko.net>
19627
19628 * gdb.mi/mi-var-child.c: Include <string.h>.
19629
196302005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19631
19632 * killed.exp: Correct gdb_expect syntax.
19633
196342005-08-09 Corinna Vinschen <vinschen@redhat.com>
19635
19636 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19637
196382005-08-02 Bob Rossi <bob@brasko.net>
19639
19640 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19641 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19642 Change tests to inferior-tty-set/show.
19643 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19644 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19645 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19646 inferior. Use mi_gdb_test to get GDB and Inferior output.
19647 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19648 descriptor.
19649 (mi_inferior_tty_name): Add inferior PTY file name.
19650 (mi_gdb_start): Add INFERIOR_PTY parameter.
19651 (mi_gdb_test): Add IPATTERN parameter.
19652
196532005-08-02 Bob Rossi <bob@brasko.net>
19654
19655 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19656 parameter to mi_gdb_test.
19657 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19658
196592005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19660
19661 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19662 struct_declarations.
19663 * gdb.mi/mi-var-child.exp: Step over the initialization of
19664 struct_declarations.
19665
196662005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19667
19668 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19669 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19670 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19671 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19672 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19673 file.
19674
196752005-07-27 Nick Roberts <nickrob@snap.net.nz>
19676
19677 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19678 (do_children_tests): Assign values to the extra elements.
19679
19680 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19681 them for tests for "-var-update --no-values" and
19682 "-var-update --all-values".
19683 Add test for "-var-list-children --simple-values".
19684
19685 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19686
19687 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19688 "-stack-list-locals --simple-values" Improve doc strings and
19689 comments.
19690
196912005-07-18 Mark Kettenis <kettenis@gnu.org>
19692
19693 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19694 *-*-openbsd*.
19695 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19696
19697 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19698 sigaltsatck'.
19699
197002005-07-14 Bob Rossi <bob@brasko.net>
19701
19702 * gdb.base/default.exp (tty): Changed output of command.
19703 * gdb.base/help.exp (help tty): Ditto.
19704
197052005-07-12 Mark Kettenis <kettenis@gnu.org>
19706
19707 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19708
197092005-07-10 Mark Kettenis <kettenis@gnu.org>
19710
19711 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19712 -stack-select-frame without arguments.
19713 (test_stack_frame_listing): Add test for newly implemented command
19714 -stack-info-frame.
19715
197162005-07-06 Bob Rossi <bob@brasko.net>
19717
19718 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19719 command.
19720 (Copyright): Update copyright.
19721
197222005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19723
19724 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19725 tests to evaluate exponentiation expression.
19726
197272005-06-29 Andreas Schwab <schwab@suse.de>
19728
19729 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19730 main to avoid warnings.
19731
19732 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19733
197342005-06-20 Nick Roberts <nickrob@snap.net.nz>
19735
19736 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19737 -stack-select-frame without arguments.
19738 (test_stack_frame_listing): Add test for newly implemented command
19739 -stack-info-frame.
19740
197412005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19742
19743 * gdb.fortran/array-element.f: New file.
19744 * gdb.fortran/array-element.exp: New testcase.
19745
197462005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19747
19748 * gdb.base/bigcore.exp: Correct checks for systems which can
19749 not dump a large core file.
19750
197512005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19752
19753 * gdb.base/relocate.c: Add a copyright notice.
19754 (dummy): Remove.
19755 * gdb.base/relocate.exp: Test printing the values of variables
19756 from a relocatable file.
19757
197582005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19759
19760 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19761 excess MI output after an error.
19762
197632005-05-29 Joel Brobecker <brobecker@adacore.com>
19764
19765 * gdb.arch/alpha-step.c: New file.
19766 * gdb.arch/alpha-step.exp: New testcase.
19767
197682005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19769 Dennis Brueni <dennis@slickedit.com>
19770
19771 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19772 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19773 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19774 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19775 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19776 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19777 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19778
197792005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19780 Wu Zhou <woodzltc@cn.ibm.com>
19781
19782 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19783 IBM's xlc compiler.
19784 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19785 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19786
197872005-05-13 Jim Blandy <jimb@redhat.com>
19788
19789 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19790 calling gdb_suppress_entire_file.
19791 * gdb.base/charset.exp: Same.
19792 * gdb.base/call-rt-st.exp: Same.
19793
197942005-05-05 Bob Rossi <bob_rossi@cox.net>
19795
19796 * lib/gdb.exp (fullname_syntax): Added global regex.
19797 (fullname_syntax_POSIX): Ditto.
19798 (fullname_syntax_UNC): Ditto.
19799 (fullname_syntax_DOS_CASE): Ditto.
19800 (fullname_syntax_DOS): Ditto.
19801 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19802 fullname_syntax variable to scope and use it.
19803 (test_file_list_exec_source_files): Ditto.
19804 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19805
198062005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19807
19808 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19809
198102004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19811
19812 * lib/gdb.exp (skip_altivec_tests): New function, based on
19813 check_vmx_hw_available from the GCC testsuite.
19814 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19815 * lib/gdb.arch/altivec-regs.exp: Likewise.
19816
198172005-05-02 Jim Blandy <jimb@redhat.com>
19818
19819 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19820 calling gdb_suppress_entire_file.
19821
198222005-04-30 Randolph Chung <tausq@debian.org>
19823
19824 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19825 Slightly relax "sem_post" name checking.
19826
198272005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19828
19829 * gdb.base/unload.exp: Use new shared library infrastructure.
19830
198312005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19832
19833 * gdb.base/so-impl-ld.exp: Use new shared library
19834 infrastructure.
19835
198362005-04-29 Corinna Vinschen <vinschen@redhat.com>
19837
19838 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19839 * gdb.asm/h8300.inc: New file.
19840
198412005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19842
19843 * gdb.base/shlib-call.exp: Change to use new shared library
19844 infrastructure.
19845
198462005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19847
19848 * gdb.base/pending.exp: Change to use new shared library
19849 infrastructure.
19850
198512005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19852
19853 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19854 use test_compiler_info instead of gcc_compiled, and update copyright.
19855
198562005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19857
19858 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19859 shared objects being adjusted and update copyright years.
19860
198612005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19862
19863 * ChangeLog: Correct some 2003-01-13 dates.
19864 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19865 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19866 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19867 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19868 gdb.trace/tfind.exp: Update copyright years.
19869
198702005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19871 Daniel Jacobowitz <dan@codesourcery.com>
19872
19873 * lib/gdb.exp (gdb_compile): Handle shlib=.
19874 (gdb_compile_shlib): New function.
19875
198762005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19877
19878 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19879
198802005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19881
19882 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19883 gdb.server.
19884 * configure.ac: Likewise.
19885 * configure: Regenerated.
19886 * gdb.gdbserver/Makefile.in: Moved to...
19887 * gdb.server/Makefile.in: ... here.
19888 * gdb.gdbserver/server.c: Moved to...
19889 * gdb.server/server.c: ... here.
19890 * gdb.gdbserver/server-run.exp: Moved to...
19891 * gdb.server/server-run.exp: ... here.
19892
198932005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19894
19895 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19896 * configure.ac: Create gdb.gdbserver/Makefile.
19897 * configure: Regenerated.
19898 * lib/gdbserver-support.exp: New file, derived from
19899 config/gdbserver.exp.
19900 * config/gdbserver.exp: Use gdbserver-support.exp.
19901 * gdb.gdbserver/Makefile.in: New file.
19902 * gdb.gdbserver/server.c: New file.
19903 * gdb.gdbserver/server-run.exp: New file.
19904
199052005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19906
19907 * lib/gdb.exp (test_compiler_info): Return compiler_info
19908 if no arguments are given.
19909
199102005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19911
19912 * gdb.arch/altivec-abi.exp: Check for compiler and set
19913 use altivec' flag accordingly.
19914 * gdb.arch/altivec-regs.exp: Likewise.
19915
199162005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19917
19918 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19919
199202005-03-27 Andreas Schwab <schwab@suse.de>
19921
19922 * gdb.base/bigcore.c (main): Add missing mode argument in open
19923 call.
19924
199252005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19926
19927 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19928 downloads.
19929 * config/gdbserver.exp (gdb_load): Likewise.
19930
199312005-03-14 Paul Brook <paul@codesourcery.com>
19932
19933 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19934 targets.
19935
199362005-03-09 Joel Brobecker <brobecker@adacore.com>
19937
19938 * gdb.dwarf2/dup-psym.S: New file.
19939 * gdb.dwarf2/dup-psym.exp: New testcase.
19940
199412005-03-09 Joel Brobecker <brobecker@adacore.com>
19942
19943 * gdb.ada/exec_changed/first.adb: New file.
19944 * gdb.ada/exec_changed/second.adb: New file.
19945 * gdb.ada/exec_changed.exp: New testcase.
19946
199472005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19948
19949 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19950 (A2): New class.
19951 (main): Test operator+.
19952 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19953 breakpoint test.
19954
19955 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19956 * gdb.base/signull.exp: Disable if gdb,nosignals.
19957 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19958 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19959 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19960 * gdb.mi/mi2-console.exp: Likewise.
19961 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19962 continue output at start.
19963 (gdb_collect_locals_test): Robustify regexp.
19964 * gdb.trace/passc-dyn.exp: Fix comment typo.
19965 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19966
199672005-03-08 Corinna Vinschen <vinschen@redhat.com>
19968
19969 * gdb.asm/asm-source.exp: Add iq2000 case.
19970 * gdb.asm/iq2000.inc: New file.
19971
199722005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19973
19974 * gdb.base/command.exp: Change hardcoded value to regular expression.
19975 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19976
199772005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19978
19979 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19980 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19981 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19982 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19983 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19984
199852005-03-05 Mark Kettenis <kettenis@gnu.org>
19986
19987 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19988 changes.
19989
199902004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19991
19992 * lib/compiler.c: Add test for IBM's xlc compiler.
19993 * lib/compiler.cc: Likewise.
19994
199952004-02-24 Joel Brobecker <brobecker@adacore.com>
19996
19997 * gdb.ada/fixed_points.exp: Create compilation object directory
19998 before running the test.
19999 * gdb.ada/null_record.exp: Likewise.
20000 * gdb.ada/packed_array.exp: Likewise.
20001 * gdb.ada/start.exp: Likewise.
20002
200032005-02-15 Joel Brobecker <brobecker@adacore.com>
20004
20005 * gdb.ada/packed_array/pa.adb: New file.
20006 * gdb.ada/packed_array.exp: New testcase.
20007
200082005-02-10 Mark Kettenis <kettenis@gnu.org>
20009
20010 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
20011 files.
20012
20013 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
20014 on *-*-openbsd*. Correctly match whitespace in regukar
20015 expressions.
20016
200172005-02-10 Daniel Jacobowitz <dan@debian.org>
20018
20019 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
20020 PR exp/1821
20021 * gdb.base/gdb1821.c: New test file.
20022 * gdb.base/gdb1821.exp: New test file.
20023
200242005-02-09 Joel Brobecker <brobecker@adacore.com>
20025
20026 * gdb.base/start.c: New file.
20027 * gdb.base/start.exp: New testcase.
20028
200292005-02-09 Joel Brobecker <brobecker@adacore.com>
20030
20031 * gdb.ada/start/dummy.adb: New file.
20032 * gdb.ada/start.exp: New testcase.
20033
200342005-02-09 Corinna Vinschen <vinschen@redhat.com>
20035
20036 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
20037 for printing symbols and statistics.
20038 Add test for using relative pathnames in "maint print msymbols" test.
20039 Mark "maint info sections DATA" XFAIL on Cygwin.
20040 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
20041 tests.
20042
200432005-02-09 Andreas Schwab <schwab@suse.de>
20044
20045 Committed by Andrew Cagney <cagney@gnu.org>
20046 * gdb.base/remotetimeout.exp: New file.
20047
200482005-02-07 Mark Kettenis <kettenis@gnu.org>
20049
20050 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
20051
200522005-02-03 Joel Brobecker <brobecker@adacore.com>
20053
20054 * gdb.ada/gnat_ada.gpr: New file.
20055 * gdb.ada/gnat_ada.gin: Delete, no longer used.
20056 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
20057 * configure.ac: No longer generate gnat_ada.gpr.
20058 * configure: Regenerate.
20059 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
20060 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
20061 * gdb.ada/null_record/bar.ads: Likewise.
20062 * gdb.ada/null_record/bar.adb: Likewise.
20063 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
20064 * gdb.ada/null_record.exp (testdir): New variable.
20065 (testfile): executable is now in testdir subdirectory.
20066 (srcfile): Use full path to the main compilation unit.
20067 * gdb.ada/fixed_points.exp: Same changes as above.
20068
200692005-02-03 Nick Roberts <nickrob@snap.net.nz>
20070
20071 * gdb.base/interp.exp: New test.
20072
200732005-01-24 Andrew Cagney <cagney@gnu.org>
20074
20075 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
20076
200772005-01-19 Andrew Cagney <cagney@gnu.org>
20078
20079 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
20080 configure.ac not configure.in.
20081
20082 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
20083 of powerpc*-*-*.
20084 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
20085 * gdb.base/list.exp (test_list_function)
20086 (test_list_filename_and_function): Ditto.
20087 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
20088
200892005-01-16 Andrew Cagney <cagney@gnu.org>
20090
20091 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
20092
20093 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
20094
200952005-01-14 Andrew Cagney <cagney@gnu.org>
20096
20097 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
20098 * gdb.mi/mi2-var-cmd.exp: Ditto.
20099
201002005-01-10 Corinna Vinschen <vinschen@redhat.com>
20101
20102 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
20103
201042005-01-07 Andrew Cagney <cagney@gnu.org>
20105
20106 * configure.ac: Rename configure.in, require autoconf 2.59.
20107 * configure: Re-generate.
20108 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
20109 * gdb.stabs/configure: Re-generate.
20110 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
20111 * gdb.hp/configure: Re-generate.
20112 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
20113 autoconf 2.59.
20114 * gdb.hp/gdb.objdbg/configure: Re-generate.
20115 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
20116 autoconf 2.59.
20117 * gdb.hp/gdb.defects/configure: Re-generate.
20118 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
20119 autoconf 2.59.
20120 * gdb.hp/gdb.compat/configure: Re-generate.
20121 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
20122 autoconf 2.59.
20123 * gdb.hp/gdb.base-hp/configure: Re-generate.
20124 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
20125 autoconf 2.59.
20126 * gdb.hp/gdb.aCC/configure: Re-generate.
20127
201282004-12-15 Jim Blandy <jimb@redhat.com>
20129
20130 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
20131 under NPTL when there is debugging info available for libpthread.
20132
201332004-12-13 Jerome Guitton <guitton@gnat.com>
20134
20135 * gdb.ada/fixed_points.c: New file.
20136 * gdb.ada/fixed_points.exp: New file.
20137
201382004-12-03 Randolph Chung <tausq@debian.org>
20139
20140 * gdb.arch/pa-nullify.exp: New file.
20141 * gdb.arch/pa-nullify.s: New file.
20142
201432004-11-30 Randolph Chung <tausq@debian.org>
20144
20145 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
20146 instead of "tbug". Fix regexp to work properly with gdb_test.
20147
201482004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
20149
20150 * gdb.base/bitfields2.exp: New test.
20151 * gdb.base/bitfields2.c: New file.
20152
201532004-11-28 Richard Earnshaw <rearnsha@arm.com>
20154
20155 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
20156
201572004-11-16 Randolph Chung <tausq@debian.org>
20158
20159 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
20160
201612004-11-14 Daniel Jacobowitz <dan@debian.org>
20162
20163 * gdb.threads/threadapply.exp: Correct "macro details" test.
20164
201652004-11-11 Jeff Johnston <jjohnstn@redhat.com>
20166
20167 * gdb.threads/threadapply.exp: New test.
20168 * gdb.threads/threadapply.c: New file.
20169
201702004-11-07 Mark Kettenis <kettenis@gnu.org>
20171
20172 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
20173 frames.
20174
201752004-11-05 Felix Lee <felix+log1@specifixinc.com>
20176
20177 * gdb.base/cursal.exp: New file.
20178 * gdb.base/cursal.c: New file.
20179
201802004-11-03 Andrew Cagney <cagney@gnu.org>
20181
20182 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
20183
201842004-10-30 Mark Kettenis <kettenis@gnu.org>
20185
20186 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
20187 NetBSD/ELF targets.
20188
201892004-10-29 Joel Brobecker <brobecker@gnat.com>
20190
20191 * gdb.threads/bp_in_thread.c: New file, copied from
20192 pthread_cond_wait.c.
20193 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
20194 file, rather than reusing the .c file from another testcase.
20195
201962004-10-20 Joel Brobecker <brobecker@gnat.com>
20197
20198 * gdb.ada/null_record.exp: Check where we stopped after
20199 sending the start command, instead of where the associated
20200 temporary breakpoint was inserted.
20201
202022004-10-14 Andrew Cagney <cagney@gnu.org>
20203
20204 * gdb.mi/gdb701.c (main): Return 0.
20205
202062004-10-13 Daniel Jacobowitz <dan@debian.org>
20207
20208 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
20209
202102004-10-12 Jeff Johnston <jjohnstn@redhat.com>
20211
20212 * gdb.threads/schedlock.c: Add comment markers to use to find
20213 line numbers.
20214 * gdb.threads/schedlock.exp: Adjust regex to handle the new
20215 comments.
20216 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20217 breakpoint lines.
20218
202192004-10-12 Daniel Jacobowitz <dan@debian.org>
20220
20221 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
20222
202232004-10-12 Daniel Jacobowitz <dan@debian.org>
20224
20225 * configure.in: Add gdb.dwarf2.
20226 * configure: Regenerated.
20227 * Makefile.in: Add gdb.dwarf2.
20228 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
20229 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
20230 gdb.dwarf2/file1.txt: New files.
20231
202322004-10-11 Orjan Friberg <orjanf@axis.com>
20233
20234 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
20235 of "run", since the latter doesn't work with remote targets. Adjust
20236 the breakpoint numbering accordingly.
20237 * gdb.threads/pthread_cond_wait.exp: Ditto.
20238
202392004-10-08 Michael Chastain <mec.gnu@mindspring.com>
20240
20241 * gdb.base/overlays.exp: Update copyright years.
20242
202432004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
20244
20245 * gdb.base/overlays.exp: Disable if target is Linux.
20246
202472004-10-06 Felix Lee <felix+log1@specifixinc.com>
20248
20249 * config/gdbserver.exp (gdb_load): Use right filename on remote.
20250
202512004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
20252
20253 * gdb.asm/asm-source.exp: Add m32r-linux target.
20254 * gdb.asm/m32r-linux.inc: New file.
20255
202562004-09-24 Andrew Cagney <cagney@redhat.com>
20257 David Anderson <anderson@redhat.com>
20258
20259 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
20260 command fails, assume things will work.
20261 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
20262 (_GNU_SOURCE): Define.
20263 (print_unsigned, print_hex): Change parameter to "long long".
20264 (print_byte_count): New function, use to print byte counts.
20265 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
20266 O_LARGEFILE.
20267 (main): Compute an upper bound on a corefile in max_core_size.
20268 Limit memory chunk size to max_core_size. Limit total memory
20269 allocated to max_core_size.
20270
202712004-09-23 Andrew Cagney <cagney@gnu.org>
20272
20273 * gdb.base/bigcore.exp: Replace the code that creates a corefile
20274 from a separate process with code that creates a corefile by
20275 making the inferior dump core.
20276
202772004-09-23 Mark Kettenis <kettenis@gnu.org>
20278
20279 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
20280 block.
20281
202822004-09-23 Michael Chastain <mec.gnu@mindspring.com>
20283
20284 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
20285 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
20286 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
20287 Likewise.
20288
202892004-09-20 Jeff Johnston <jjohnstn@redhat.com>
20290
20291 * gdb.java/jprint.exp: New test case for java inferior call.
20292 * gdb.java/jprint.java: Ditto.
20293
202942004-09-15 Joel Brobecker <brobecker@gnat.com>
20295
20296 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
20297
202982004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20299
20300 * gdb.threads/killed.c: Include <stdlib.h>.
20301 * gdb.threads/pthreads.c: Likewise.
20302
203032004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20304
20305 * gdb.threads/killed.c: Add copyright notice.
20306
203072004-09-10 Jason Molenda (jmolenda@apple.com)
20308
20309 * gdb.base/define.exp: Two new tests to verify zero space chars
20310 after 'if' and 'while' commands in a user-defined command is correctly
20311 parsed.
20312
203132004-09-08 Andrew Cagney <cagney@gnu.org>
20314
20315 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
20316 delivery test with duplicate at end of file.
20317
203182004-09-06 Mark Kettenis <kettenis@jive.nl>
20319
20320 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
20321
203222004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20323
20324 * config/hppro.exp: Removed.
20325
203262004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20327
20328 * config/sparclet.exp: Removed.
20329
203302004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20331
20332 * config/udi.exp: Removed.
20333
203342004-09-02 Michael Chastain <mec.gnu@mindspring.com>
20335
20336 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20337 of "exp_continue".
20338 (advancei): Likewise.
20339
203402004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20341
20342 * gdb.base/unload.exp: Fix so messages aren't duplicated.
20343
203442004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20345
20346 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
20347 to check for nodebug in executable.
20348 * gdb.gdb/observer.exp (setup_test): Likewise.
20349 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20350 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20351
203522004-09-01 Andrew Cagney <cagney@gnu.org>
20353
20354 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20355 files.
20356
203572004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20358
20359 * gdb.base/unload.exp: Fix expected warning message to match
20360 latest format.
20361
203622004-09-01 Corinna Vinschen <vinschen@redhat.com>
20363
20364 * gdb.base/call-rt-st.exp: Fix typos.
20365
203662004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20367
20368 * gdb.threads/thread_check.exp: New testcase.
20369 * gdb.threads/thread_check.c: New testcase.
20370
203712004-08-31 Andrew Cagney <cagney@gnu.org>
20372
20373 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20374 (skip_to_handler_entry): New procedures. Test stepping into a
20375 handler when the breakpoint is at the handler's entry point.
20376
203772004-08-30 Andrew Cagney <cagney@gnu.org>
20378
20379 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20380 gdb/1757.
20381
203822004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20383
20384 With code from Manoj Iyer <manjo@austin.ibm.com>:
20385 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20386 return value. Add an arm for "no debugging symbols found".
20387 Change a stray "error" to "perror".
20388 (gdb_run_cmd): Adapt to new return value.
20389 * gdb.base/remote.exp: Adapt to new return value.
20390 * gdb.gdb/complaints.exp: Likewise.
20391 * gdb.gdb/observer.exp: Likewise.
20392 * gdb.gdb/selftest.exp: Likewise.
20393 * gdb.gdb/xfullpath.exp: Likewise.
20394
203952004-08-27 Joel Brobecker <brobecker@gnat.com>
20396
20397 * gdb.threads/bp_in_thread.exp: New testcase.
20398
203992004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20400
20401 Fix PR testsuite/1735.
20402 * gdb.threads/schedlock.c (thread_function): Add a cast
20403 to suppress a gcc warning.
20404 * gdb.threads/thread-specific.c (thread_function): Likewise.
20405
204062004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20407
20408 * gdb.base/unload.c: Include <stdlib.h>.
20409
204102004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20411
20412 From Paul Gilliam <pgilliam@us.ibm.com>:
20413 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20414 synchronized after the "return".
20415
204162004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20417
20418 * gdb.mi/basics.c: Include <stdio.h>.
20419 * gdb.mi/pthreads.c: Include <stdlib.h>.
20420 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20421
204222004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20423
20424 * gdb.threads/schedlock.c: Add copyright notice.
20425
204262004-08-25 Andrew Cagney <cagney@gnu.org>
20427
20428 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20429 (skip_over_handler, breakpoint_over_hander): New test procedures.
20430 (advance, advancei): Add a proper prefix, do not use
20431 rerun_to_main.
20432 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20433
204342004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20435
20436 * gdb.mi/basics.c: Add copyright notice.
20437 * gdb.mi/var-cmd.c: Add copyright notice.
20438
204392004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20440
20441 * lib/gdb.exp: Remove signed_keyword_not_used.
20442 * lib/compiler.c: Likewise.
20443 * lib/compiler.cc: Likewise.
20444
204452004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20446
20447 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20448 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20449
204502004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20451
20452 * gdb.base/whatis.c: Add copyright notice.
20453
204542004-08-20 Mark Kettenis <kettenis@gnu.org>
20455
20456 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20457 it to skip the breakpoints encoded in the inline assembly.
20458
204592004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20460
20461 * Makefile.in: Add gdb.fortran.
20462
204632004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20464
20465 * gdb.base/call-sc.exp (test_scalar_returns):
20466 Fix cut-and-paste glitch in "Make fun return now".
20467
204682004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20469
20470 * configure.in: Add gdb.fortran.
20471 * configure: Regenerate.
20472 * gdb.fortran/Makefile.in: New file.
20473 * lib/gdb.exp (skip_fortran_tests): New procedure.
20474
204752004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20476
20477 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20478 reference to bug-gnu@prep.ai.mit.edu.
20479 * gdb.mi/mi-var-child.exp: Likewise.
20480 * gdb.mi/mi-var-cmd.exp: Likewise.
20481 * gdb.mi/mi-var-display.exp: Likewise.
20482 * gdb.mi/mi2-var-block.exp: Likewise.
20483 * gdb.mi/mi2-var-child.exp: Likewise.
20484 * gdb.mi/mi2-var-cmd.exp: Likewise.
20485 * gdb.mi/mi2-var-display.exp: Likewise.
20486
204872004-08-15 Mark Kettenis <kettenis@gnu.org>
20488
20489 * gdb.base/unload.c (main): Make local variable msg const.
20490
204912004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20492
20493 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20494 to bug-gnu@prep.ai.mit.edu.
20495 * gdb.mi/mi-disassemble.exp: Likewise.
20496 * gdb.mi/mi-eval.exp: Likewise.
20497 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20498 default line number.
20499 * gdb.mi/mi-return.exp: Likewise.
20500 * gdb.mi/mi-simplerun.exp: Likewise.
20501 * gdb.mi/mi-stack.exp: Likewise.
20502 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20503 number with explicit range test.
20504 * gdb.mi/mi-watch.exp: Likewise.
20505 * gdb.mi/mi2-break.exp: Likewise.
20506 * gdb.mi/mi2-cli.exp: Likewise.
20507 * gdb.mi/mi2-disassemble.exp: Likewise.
20508 * gdb.mi/mi2-eval.exp: Likewise.
20509 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20510 default line number.
20511 * gdb.mi/mi2-return.exp: Likewise.
20512 * gdb.mi/mi2-simplerun.exp: Likewise.
20513 * gdb.mi/mi2-stack.exp: Likewise.
20514 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20515 number with explicit range test.
20516 * gdb.mi/mi2-watch.exp: Likewise.
20517
205182004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20519
20520 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20521 * gdb.cp/m-static.exp: Likewise.
20522 * gdb.cp/rtti.exp: Likewise.
20523
205242004-08-14 Mark Kettenis <kettenis@gnu.org>
20525
20526 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20527
205282004-08-14 Eli Zaretskii <eliz@gnu.org>
20529
20530 * ChangeLog: Prefix Local Variables with semi-colons and indent
20531 the reference to older ChangeLog files, to fix fontification in
20532 Emacs.
20533
205342004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20535
20536 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20537 * gdb.mi/mi2-break.exp: Likewise.
20538
205392004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20540
20541 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20542
205432004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20544
20545 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20546
205472004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20548
20549 * gdb.cp/classes.exp: Remove unused declarations. Just let
20550 test names default instead of providing special names. Remove
20551 extraneous demangler test.
20552
205532004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20554
20555 * gdb.base/unload.exp: New test for breakpoints in dynamically
20556 loaded libraries.
20557 * gdb.base/unload.c: Ditto.
20558 * gdb.base/unloadshr.c: Ditto.
20559
205602004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20561
20562 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20563 cp_test_ptype_class.
20564 (test_enums): Likewise.
20565
205662004-08-10 Andrew Cagney <cagney@gnu.org>
20567
20568 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20569 files.
20570
205712004-08-10 Andrew Cagney <cagney@gnu.org>
20572
20573 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20574 init_malloc call.
20575
205762004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20577
20578 * ChangeLog: Add copyright notice. The notice is copied
20579 from emacs 21.3 top level ChangeLog.
20580
205812004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20582
20583 * lib/cp-support.exp: New file.
20584 * lib/cp-support.exp (cp_test_type_class): New function.
20585 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20586 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20587 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20588 cp_test_ptype_class.
20589
205902004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20591
20592 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20593 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20594 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20595 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20596 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20597 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20598 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20599 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20600 gdb.mi/mi2-watch.exp: Update copyright years.
20601
206022004-08-09 Mark Kettenis <kettenis@gnu.org>
20603
20604 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20605
206062004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20607
20608 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20609 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20610 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20611 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20612 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20613 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20614 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20615 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20616 gdb.mi/mi-watch.exp: Update copyright years.
20617
206182004-08-08 Daniel Jacobowitz <dan@debian.org>
20619
20620 PR gdb/1738
20621 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20622 from a breakpoint with a pending signal.
20623
206242004-08-08 Daniel Jacobowitz <dan@debian.org>
20625
20626 PR gdb/1736
20627 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20628 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20629 the prompt.
20630 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20631
206322004-08-08 Daniel Jacobowitz <dan@debian.org>
20633
20634 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20635
206362004-08-08 Daniel Jacobowitz <dan@debian.org>
20637
20638 PR gdb/1736
20639 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20640 for i?86-*-linux*.
20641
206422004-08-08 Daniel Jacobowitz <dan@debian.org>
20643
20644 * gdb.arch/i386-prologue.exp: Compile without debug information.
20645
206462004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20647
20648 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20649 rather than asking gdb to search.
20650
206512004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20652
20653 * gdb.base/gcore.c: Include <string.h>.
20654
206552004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20656
20657 * gdb.base/gcore.c: Add copyright notice.
20658
206592004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20660
20661 * gdb.base/freebpcmd.c: Include <stdio.h>.
20662 * gdb.base/long_long.c: Include <string.h>.
20663 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20664 * gdb.base/siginfo.c: Include <string.h>.
20665 * gdb.base/sigstep.c: Include <string.h>.
20666
206672004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20668
20669 * gdb.base/complex.c: Include <stdlib.h>.
20670
206712004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20672
20673 * gdb.base/complex.c: Add copyright notice.
20674
206752004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20676
20677 * gdb.base/charset.c: Include <stdlib.h>.
20678
206792004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20680
20681 * gdb.base/auxv.c: Include <stdlib.h>.
20682
206832004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20684
20685 * gdb.base/auxv.c: Add copyright notice.
20686
206872004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20688
20689 * gdb.base/coremaker.c: Add copyright notice.
20690 * gdb.base/coremaker2.c: Add copyright notice.
20691
206922004-08-04 Andrew Cagney <cagney@gnu.org>
20693
20694 * gdb.base/store.exp: Update copyright.
20695 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20696 names, do not import gdb_prompt.
20697
206982004-08-01 Andrew Cagney <cagney@gnu.org>
20699
20700 Fix PR testsuite/1729.
20701 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20702 not use capture_value with value 4.
20703 (capture_value): Add optional test name parameter.
20704 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20705 the prefix, pass to capture_value.
20706
207072004-08-01 Mark Kettenis <kettenis@gnu.org>
20708
20709 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20710 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20711 (main): Call new function.
20712
207132004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20714
20715 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20716
207172004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20718
20719 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20720
207212004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20722
20723 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
20724 Accept more values of vtbl pointer. Remove some messages
20725 about "obsolete gcc or gdb".
20726
207272004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20728
20729 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20730
207312004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20732
20733 * gdb.base/asm-source.exp: Properly convert target board
20734 debug flags from gcc format to binutils format.
20735
207362004-07-28 Mark Kettenis <kettenis@gnu.org>
20737
20738 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20739 gdb1718". PR backtrace/1718 partially fixed.
20740
207412004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20742
20743 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20744
207452004-07-26 Nick Clifton <nickc@redhat.com>
20746
20747 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20748 good default value for a specific architecture is available then
20749 set it to that value. Otherwise default to the -gstabs switch.
20750 Remove the -g... switches from the asm-flags variable. Allow the
20751 target board info to override the value if it wants to. Pass the
20752 switch on the assembler command line.
20753
207542004-07-23 Mark Kettenis <kettenis@gnu.org>
20755
20756 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20757 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20758 (main): Call new function.
20759
207602004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20761
20762 Test for PR exp/1715.
20763 * gdb.base/radix.exp: Refactor common procedures. Make all
20764 test names unique. Change XFAIL to KFAIL.
20765
207662004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20767
20768 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20769 * gdb.ada/gnat_ada.gin: ... to here.
20770 * configure.in: Use gnat_ada.gin.
20771 * configure: Regenerate.
20772
207732004-07-20 Andrew Cagney <cagney@gnu.org>
20774
20775 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20776 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20777 XFAILs. Clean up test messages and comments. Check backtraces.
20778 Delete re-sync code.
20779
207802004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20781
20782 Fix PR cli/740.
20783 * gdb.base/annota1.exp: Honor gdb,nosignals.
20784 * gdb.base/annota3.exp: Likewise.
20785
207862004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20787
20788 * lib/java.exp: Update copyright notice.
20789
207902004-07-19 Andrew Cagney <cagney@gnu.org>
20791
20792 * gdb.base/selftest.exp: Copy file from here ...
20793 * gdb.gdb/selftest.exp: ... to here.
20794
207952004-07-16 Andrew Cagney <cagney@redhat.com>
20796
20797 * lib/insight-support.exp: Delete file.
20798 * lib/java.exp (java_init): Fix copyright.
20799
208002004-07-16 Andrew Cagney <cagney@gnu.org>
20801
20802 * gdb.base/restore.c: Append "prologue" to comments marking the a
20803 function's prologue.
20804 * gdb.base/restore.exp: Update copyright, re-indent.
20805 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20806 callerN" prefix where needed. Update patterns that match a
20807 function's prologue.
20808
208092004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20810
20811 * gdb.base/restore.c: Add copyright notice.
20812
208132004-07-16 Andrew Cagney <cagney@gnu.org>
20814
20815 * gdb.base/logical.exp: Update copyright.
20816 (evaluate): New procedure. Use to re-implement tests using
20817 several tables.
20818
208192004-07-14 Martin Hunt <hunt@redhat.com>
20820
20821 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20822 which fixes some problems where init.tcl was not found.
20823
208242004-07-13 Andrew Cagney <cagney@gnu.org>
20825
20826 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20827 (check_sizeof, check_valueof): Do not include the output in the
20828 test name. Use gdb_test.
20829 (get_valueof): Use gdb_test_multiple.
20830
20831 * gdb.base/step-test.exp: Update copyright. Use
20832 gdb_test_multiple. Ensure that test names do not include
20833 architecture dependent output.
20834
20835 * gdb.gdb/observer.exp: Update copyright.
20836 (setup_test): Use gdb_test_multiple.
20837 (attach_first_observer, attach_second_observer)
20838 (attach_third_observer, detach_first_observer)
20839 (detach_second_observer, detach_third_observer)
20840 (reset_counters, check_counters): Make $message a prefix.
20841 (test_normal_stop_notifications): Add "args" parameter - a list of
20842 init functions to be called. Make $message a prefix,
20843 (test_observer_normal_stop): Change the message prefixes so that
20844 they are unique, pass the attach / detach procedures to
20845 test_normal_stop_notifications.
20846
20847 * gdb.base/signull.exp (test_segv): Prefix all tests with
20848 "${name}". Clean up test messages.
20849
20850 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20851
20852 * gdb.base/ena-dis-br.exp: Update copyright.
20853 (break_at): New function. Replace send_gdb with gdb_test,
20854 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20855 ignore count, not stopped at bpt", with KFAIL.
20856
208572004-07-13 Corinna Vinschen <vinschen@redhat.com>
20858
20859 * gdb.base/attach.exp: Remove cleanupfile handling.
20860
208612004-07-12 Andrew Cagney <cagney@gnu.org>
20862
20863 * gdb.base/annota1.exp: Cleanup corefile test name.
20864 * gdb.base/annota3.exp: Ditto.
20865
208662004-07-12 Andrew Cagney <cagney@gnu.org>
20867
20868 * gdb.base/signals.exp: Clean up copyright, re-indent.
20869
20870 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20871 gdb_test and gdb_test_multiple.
20872
208732004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20874
20875 * gdb.java/jmain.exp: Fix expected line number for main to
20876 break at. Set XFAIL for break at main test since gcj does not
20877 provide line number info for first statement in main.
20878
208792004-07-08 Andrew Cagney <cagney@gnu.org>
20880
20881 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20882
20883 * gdb.base/sigbpt.exp: Make the common part of each test name a
20884 prefix instead of suffix.
20885
208862004-07-07 Bob Rossi <bob_rossi@cox.net>
20887
20888 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20889 test from test_tbreak_creation_and_listing to
20890 test_file_list_exec_source_file
20891 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20892 Changed name of test from test_tbreak_creation_and_listing to
20893 test_file_list_exec_source_file
20894
208952004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20896
20897 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20898 the jmisc() constructor instead of <init>.
20899 * gdb.java/jmisc1.exp: Ditto.
20900
209012004-07-07 Andrew Cagney <cagney@gnu.org>
20902
20903 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20904 corrupting the PC.
20905
209062004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20907
20908 * gdb.cp/templates.exp: Accept whitespace change in demangler
20909 output.
20910
209112004-07-06 Andrew Cagney <cagney@gnu.org>
20912
20913 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20914
209152004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20916
20917 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20918 * lib/compiler.cc: Likewise.
20919
209202004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20921
20922 * lib/compiler.cc: Work around string preprocessing problem
20923 with old hp c++ compiler.
20924 * lib/compiler.c: Likewise.
20925
209262004-06-29 Corinna Vinschen <vinschen@redhat.com>
20927
20928 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20929 directives to conditionalize symbol prefixing.
20930 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20931 additional_flags handling. Add underscore prefix for Cygwin.
20932 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20933 conditionalize symbol prefixing.
20934 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20935 additional_flags handling. Add underscore prefix for Cygwin.
20936
209372004-06-29 Corinna Vinschen <vinschen@redhat.com>
20938
20939 * gdb.base/bigcore.exp: Skip test on Cygwin.
20940
209412004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20942
20943 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20944 formats for "info register". Use gdb_test_multiple. Fix
20945 the "invalid register" test.
20946
209472004-06-28 Corinna Vinschen <vinschen@redhat.com>
20948
20949 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20950 PID for Cygwin. Add Cygwin specific strings to check for in some
20951 tests.
20952 (do_attach_tests): Add a test for user interaction when attaching
20953 to a process with no matching symbol table already loaded.
20954
209552004-06-26 Andrew Cagney <cagney@gnu.org>
20956
20957 Test PR java/1567 and PR java/1565.
20958 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20959 * gdb.java/jmisc2.exp: Delete file.
20960
209612004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20962
20963 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20964
209652004-06-25 Corinna Vinschen <vinschen@redhat.com>
20966
20967 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20968 attach process.
20969
209702004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20971
20972 * gdb.cp/pr-1553.exp: Remove.
20973
209742004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20975
20976 * gdb.cp/pr-1553.cc: Remove.
20977 * gdb.cp/pr-1553.exp: Disable this test.
20978
209792004-06-20 Jim Blandy <jimb@redhat.com>
20980
20981 Fix PR testsuite/1680.
20982 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20983 regular expressions.
20984
209852004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20986
20987 Fix PR testsuite/1679.
20988 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20989 Issue an UNSUPPORTED result instead.
20990
209912004-06-18 Jim Blandy <jimb@redhat.com>
20992
20993 * gdb.base/charset.exp: Only send a control-C if we see a new
20994 prompt and incomplete command.
20995
209962004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20997
20998 * gdb.cp/pr-574.cc: Add copyright notice.
20999
210002004-06-17 Jim Blandy <jimb@redhat.com>
21001
21002 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
21003 cases where the regexp has no groups; this grabs random text from
21004 the previous test suite, whatever that was.
21005
210062004-06-17 Michael Chastain <mec.gnu@mindspring.com>
21007
21008 * gdb.cp/printmethod.cc: Add copyright notice.
21009
210102004-06-16 Michael Chastain <mec.gnu@mindspring.com>
21011
21012 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
21013
210142004-06-16 Andrew Cagney <cagney@gnu.org>
21015
21016 * gdb.base/signull.c: Update copyright. Include <string.h>.
21017 (bowler): Replace data_pointer with data_read
21018 and data_write cases. Add code_descriptor case.
21019 (zero, desc): New array and pointer.
21020 (data, code): Change to simple pointers.
21021 * gdb.base/signull.exp: Fix probe pattern matching a function
21022 descriptor SIGSEGV. Replace data_pointer with data_read and
21023 data_write tests.
21024
210252004-06-16 Andrew Cagney <cagney@gnu.org>
21026
21027 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
21028
210292004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21030
21031 * gdb.base/long_long.c: Add copyright notice.
21032
210332004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21034
21035 * gdb.base/long_long.exp: Remove reference to
21036 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
21037 to gdb_breakpoint and gdb_continue_to_breakpoint.
21038
210392004-06-14 Jim Blandy <jimb@redhat.com>
21040
21041 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
21042 endian case.
21043
210442004-06-14 Andrew Cagney <cagney@gnu.org>
21045
21046 * gdb.base/gcore.exp (capture_command_output): Delete the always
21047 passing tests containing inferior values.
21048 * gdb.base/ending-run.exp: Do not include the breakpoint address
21049 in the test message. Update copyright.
21050 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
21051 size in the test name, use gdb_test_multiple. Update copyright.
21052
210532004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21054
21055 * gdb.cp/ref-types.cc: Add copyright notice.
21056
210572004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21058
21059 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
21060 hp_aCC_compiler.
21061 * lib/compiler.cc: Likewise.
21062 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
21063 'set' commands. Log diagnostics for other lines. Set
21064 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
21065
210662004-06-13 Michael Chastain <mec.gnu@mindspring.com>
21067
21068 * gdb.cp/try_catch.cc: Add copyright notice.
21069
210702004-06-12 Michael Chastain <mec.gnu@mindspring.com>
21071
21072 * gdb.cp/userdef.cc: Add copyright notice.
21073
210742004-06-11 Michael Chastain <mec.gnu@mindspring.com>
21075
21076 * gdb.cp/virtfunc.cc: Add copyright notice.
21077
210782004-06-11 Randolph Chung <tausq@debian.org>
21079
21080 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
21081 problem.
21082
210832004-06-10 Andrew Cagney <cagney@gnu.org>
21084
21085 * lib/compiler.cc, lib/compiler.c: Append either
21086 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
21087 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
21088 instead of gcc-3-3.
21089
210902004-06-09 Andrew Cagney <cagney@gnu.org>
21091
21092 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
21093 gdb/1455, bug is specific to "long long" and "double".
21094
21095 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
21096 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
21097 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
21098 fixed.
21099
211002004-06-09 Andrew Cagney <cagney@gnu.org>
21101
21102 * gdb.base/structs.exp (test_struct_returns): Replace
21103 "return_value_unknown" and "finish_value_unknown" by
21104 "return_value_known" and "finish_value_known". Instead of
21105 "return_value_unknown" iff "finish_value_unknown", check
21106 "return_value_known" implies "finish_value_known".
21107
211082004-06-08 Martin Hunt <hunt@redhat.com>
21109
21110 * gdb.base/float.exp: Add pattern for mips targets.
21111
211122004-06-08 Randolph Chung <tausq@debian.org>
21113
21114 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
21115 message for unknown architectures more clear.
21116
211172004-06-08 Joel Brobecker <brobecker@gnat.com>
21118
21119 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
21120 start the execution of the program.
21121
211222004-06-07 Jim Blandy <jimb@redhat.com>
21123
21124 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
21125 * gdb.arch/i386-cpuid.h: New helper file.
21126
211272004-06-07 Randolph Chung <tausq@debian.org>
21128
21129 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
21130 has started.
21131
211322004-06-04 Roland McGrath <roland@redhat.com>
21133
21134 Fix PR gdb/1647.
21135 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
21136 differently to be robust to output buffering differences.
21137
211382004-06-04 Michael Chastain <mec.gnu@mindspring.com>
21139
21140 * gdb.threads/pthreads.exp: Update copyright years.
21141 (check_control_c): Change asynchronous 'after' to synchronous.
21142
211432004-06-04 Roland McGrath <roland@redhat.com>
21144
21145 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
21146 next gdb prompt.
21147
211482004-06-02 Michael Chastain <mec.gnu@mindspring.com>
21149
21150 Fix PR gdb/1636.
21151 * gdb.threads/manythreads.exp: Change asynchronous 'after'
21152 calls to synchronous.
21153
211542004-05-26 Jim Blandy <jimb@redhat.com>
21155
21156 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
21157
211582004-05-24 Randolph Chung <tausq@debian.org>
21159
21160 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
21161 * gdb.asm/pa.inc: New file.
21162
211632004-05-22 Mark Kettenis <kettenis@gnu.org>
21164
21165 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
21166
211672004-05-21 Joel Brobecker <brobecker@gnat.com>
21168 Daniel Jacobowitz <drow@mvista.com>
21169
21170 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
21171 GDB prompt.
21172
211732004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21174
21175 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
21176 setjmp/longjmp. Use sigaction instead of signal.
21177
211782004-05-19 J. Brobecker <brobecker@gnat.com>
21179 Michael Snyder <msnyder@redhat.com>
21180
21181 * gdb.threads/pthread_cond_wait.c: New file.
21182 * gdb.threads/pthread_cond_wait.exp: New testcase.
21183
211842004-05-13 Andrew Cagney <cagney@redhat.com>
21185
21186 * gdb.base/signull.exp, gdb.base/signull.c: New files.
21187 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
21188
211892004-05-11 Andrew Cagney <cagney@redhat.com>
21190
21191 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
21192 fixed but revealed gdb/1639.
21193
211942004-05-10 Andrew Cagney <cagney@redhat.com>
21195
21196 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
21197 func1" and "next to 2nd alarm", kernel bug avoided.
21198
211992004-05-10 Daniel Jacobowitz <dan@debian.org>
21200
21201 PR external/1568
21202 * gdb.base/bigcore.exp: Check the size of the dumped core file.
21203 XFAIL if it is smaller than bytes_allocated.
21204 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
21205 (main): Make chunks_allocated unsigned. Correct comment.
21206
212072004-05-07 Joel Brobecker <brobecker@gnat.com>
21208
21209 * gdb.arch/powerpc-aix-prologue.c: New file.
21210 * gdb.arch/powerpc-aix-prologue.exp: New file.
21211
212122004-05-07 Jim Blandy <jimb@redhat.com>
21213
21214 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
21215 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
21216
212172004-05-06 Joel Brobecker <brobecker@gnat.com>
21218
21219 * gdb.base/sep.exp: No longer setup_kfail when the program was
21220 built with dwarf2.
21221
212222004-05-05 Jim Ingham <jingham@apple.com>
21223
21224 * gdb.base/pending.exp: Make sure pending breakpoints
21225 preserve the ignore count.
21226
212272004-04-27 Jerome Guitton <guitton@gnat.com>
21228
21229 * i386-prologue.exp: Add testcase for jump instruction as first
21230 instruction of the real code.
21231 * i386-prologue.c (jump_at_beginning): New function.
21232
212332004-04-28 Mark Kettenis <kettenis@gnu.org>
21234
21235 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
21236 x86_64-*-*.
21237
212382004-04-28 Mark Kettenis <kettenis@gnu.org>
21239
21240 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
21241 i*86-*-*.
21242
212432004-04-25 Mark Kettenis <kettenis@gnu.org>
21244
21245 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
21246 expression that checks the return type.
21247
212482004-04-23 Andrew Cagney <cagney@redhat.com>
21249
21250 * gdb.base/call-sc.exp: New test of scalar call/return values.
21251 * gdb.base/call-sc.c: Ditto.
21252
212532004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21254
21255 * gdb.threads/manythreads.c: Reduce thread stack size.
21256
212572004-04-23 Jeff Johnston <jjohnstn@redhat.com>
21258
21259 * gdb.threads/manythreads.c: Add copyright notice.
21260
212612004-04-23 Andrew Cagney <cagney@redhat.com>
21262
21263 * gdb.base/siginfo.exp: Better handle step out of signal.
21264 * gdb.base/sigstep.exp: Ditto.
21265
212662004-04-22 Jeff Johnston <jjohnstn@redhat.com>
21267 Daniel Jacobowitz <drow@mvista.com>
21268
21269 * gdb.threads/manythreads.c: New testcase.
21270 * gdb.threads/manythreads.exp: Ditto.
21271
212722004-04-22 Jim Blandy <jimb@redhat.com>
21273
21274 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
21275 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
21276
212772004-04-21 Michael Chastain <mec.gnu@mindspring.com>
21278
21279 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
21280
212812004-04-21 Andrew Cagney <cagney@redhat.com>
21282
21283 * gdb.base/sigstep.c: New file.
21284 * gdb.base/sigstep.exp: New file.
21285
212862004-04-16 Joel Brobecker <brobecker@gnat.com>
21287
21288 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
21289 call to observer_notify_normal_stop.
21290
212912004-04-15 Andrew Cagney <cagney@redhat.com>
21292
21293 * gdb.base/siginfo.c: New file.
21294 * gdb.base/siginfo.exp: New file.
21295
212962004-04-12 J. Brobecker <brobecker@gnat.com>
21297
21298 * gdb.base/sep.exp: Fix typo in comment.
21299
213002004-04-12 J. Brobecker <brobecker@gnat.com>
21301
21302 * gdb.base/sep.c: New file.
21303 * gdb.base/sep-proc.c: New file.
21304 * gdb.base/sep.exp: New testcase.
21305
213062004-04-09 Mark Kettenis <kettenis@gnu.org>
21307
21308 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
21309 support.
21310
213112004-04-05 Andrew Cagney <cagney@redhat.com>
21312
21313 * gdb.base/sigaltstack.c: New file.
21314 * gdb.base/sigaltstack.exp: New file.
21315
213162004-04-04 Joel Brobecker <brobecker@gnat.com>
21317
21318 * gdb.base/foll-fork.exp: Update the expected output for
21319 "help set follow-fork-mode", to match a change that was made
21320 to the help of this variable on 2004-01-13.
21321
213222004-04-01 Joel Brobecker <brobecker@gnat.com>
21323
21324 * lib/ada.exp: Add copyright notice.
21325 * bar.ads: Likewise.
21326 * bar.adb: Likewise.
21327 * null_record.adb: Likewise.
21328 * null_record.exp: Likewise.
21329 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
21330
213312004-04-01 Joel Brobecker <brobecker@gnat.com>
21332
21333 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
21334 * configure: Regenerate.
21335
213362004-04-01 Joel Brobecker <brobecker@gnat.com>
21337
21338 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
21339 to build the application. Remove the message printed when in
21340 verbose mode, redundant with the UNSUPPORTED message above.
21341
213422004-03-31 Joel Brobecker <brobecker@gnat.com>
21343
21344 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21345 * gdb.ada (null_record.exp): New testcase.
21346
213472004-03-31 Joel Brobecker <brobecker@gnat.com>
21348
21349 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21350
213512004-03-31 Joel Brobecker <brobecker@gnat.com>
21352
21353 * gdb.ada: New subdirectory.
21354 * gdb.ada/Makefile.in: New file.
21355 * gdb.ada/gnat_ada.gpr.in: New file.
21356
213572004-03-31 Joel Brobecker <brobecker@gnat.com>
21358
21359 * lib/ada.exp: New file.
21360
213612004-03-24 Daniel Jacobowitz <drow@mvista.com>
21362
21363 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21364 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21365
213662004-03-22 Andrew Cagney <cagney@redhat.com>
21367
21368 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21369 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21370 Problem identified by Ulrich Weigand.
21371
213722004-03-17 David Carlton <carlton@kealia.com>
21373
21374 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21375 PR c++/826.
21376
213772004-03-16 Roland McGrath <roland@redhat.com>
21378
21379 * gdb.base/auxv.exp: New file.
21380 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21381
213822004-03-12 David Carlton <carlton@kealia.com>
21383
21384 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21385 * gdb.cp/pr-1553.cc: Ditto.
21386 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21387 pass branch.
21388
213892004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21390
21391 * gdb.cp/templates.exp: Accept more template types.
21392
213932004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21394
21395 From Corinna Vinschen with modifications.
21396 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21397 local variable obj_with_enum.
21398 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21399 results with obj_with_enum.
21400
214012004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21402
21403 * gdb.cp/classes.cc: New file, copied from misc.cc.
21404 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21405
214062004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21407
21408 * gdb.cp/misc.cc: Add copyright notice.
21409
214102004-03-05 David Carlton <carlton@kealia.com>
21411
21412 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21413 * gdb.cp/rtti.h: Update copyright.
21414 (namespace n2::n3): New.
21415 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21416 (n2::n3::func3): New.
21417 (main): Call n2::n3::func3.
21418 * gdb.cp/rtti2.cc: Update copyright.
21419 (n2::create3): New.
21420
214212004-03-04 Mark Kettenis <kettenis@gnu.org>
21422
21423 * gdb.asm/openbsd.inc: Fix typo.
21424
214252004-03-03 Fred Fish <fnf@redhat.com>
21426
21427 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21428 "val" instead of unused "size". Update copyright year.
21429
214302004-02-29 Daniel Jacobowitz <drow@mvista.com>
21431
21432 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21433 to use unsigned char.
21434 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21435 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21436
214372004-02-29 Daniel Jacobowitz <drow@mvista.com>
21438
21439 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21440 line of output.
21441
214422004-02-28 Daniel Jacobowitz <drow@mvista.com>
21443
21444 * gdb.base/relocate.c (dummy): Initialize.
21445
214462004-02-28 Daniel Jacobowitz <drow@mvista.com>
21447
21448 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21449 a breakpoint at exit.
21450
214512004-02-27 Fred Fish <fnf@redhat.com>
21452
21453 * gdb.base/chng-syms.exp: Add expect condition to match failing
21454 case that isn't a timeout.
21455
214562004-02-27 Andrew Cagney <cagney@redhat.com>
21457
21458 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21459 support.
21460
214612004-02-26 Fred Fish <fnf@redhat.com>
21462
21463 * gdb.arch/gdb1431.c: Remove.
21464 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21465 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21466 of "until" incorrectly.
21467
214682004-02-26 J. Brobecker <brobecker@gnat.com>
21469
21470 * gdb.cp/class2.cc (empty): New class.
21471 (refer): New function.
21472 (main): Declare an object of type empty and use it.
21473 * gdb.cp/class2.exp: Print the value of an object of type empty.
21474
214752004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21476
21477 * gdb.base/langs.exp: Update query string to match the
21478 new nquery format used for pending breakpoints.
21479
214802004-02-26 Andrew Cagney <cagney@redhat.com>
21481
21482 Fix PR i18n/1570.
21483 * gdb.base/charset.c: Update copyright notice.
21484 (main, init_string): Remove the escape character '\e' tests.
21485 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21486 * gdb.base/charset.exp (valid_host_charset): Ditto.
21487 * gdb.base/setvar.exp: Ditto.
21488
214892004-02-24 Andrew Cagney <cagney@redhat.com>
21490
21491 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21492 mmapped data in core file" PASS and FAIL messages consistent.
21493
21494 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21495 setting a breakpoint. Work around PR java/1565.
21496
214972004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21498
21499 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21500 new nquery format.
21501 * gdb.base/pending.exp: Ditto.
21502
215032004-02-22 Mark Kettenis <kettenis@gnu.org>
21504
21505 * configure.in: Run stabs tests on *BSD.
21506 * configure: Regenerated.
21507
215082004-02-21 Mark Kettenis <kettenis@gnu.org>
21509
21510 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21511
215122004-02-20 Fred Fish <fnf@redhat.com>
21513
21514 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21515 blank in test for "returns short", for consistency with other
21516 "returns xxx" tests. Update copyright year.
21517
215182004-02-19 Fred Fish <fnf@redhat.com>
21519
21520 New testcase for PR breakpoint/1558.
21521 * gdb.arch/gdb1558.exp: New file.
21522 * gdb.arch/gdb1558.c: New file.
21523
215242004-02-19 Elena Zannoni <ezannoni@redhat.com>
21525
21526 * gdb.base/nodebug.exp: Fix typo.
21527
215282004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21529
21530 Committed by Jim Blandy <jimb@redhat.com>.
21531
21532 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21533
21534 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21535
21536 * gdb.base/float.exp: Support s390*-*-* targets.
21537
215382004-02-17 Adam Fedor <fedor@gnu.org>
21539
21540 * gdb.base/gdb1555.exp: New file.
21541 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21542
215432004-02-17 Elena Zannoni <ezannoni@redhat.com>
21544
21545 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21546
215472004-02-16 Fred Fish <fnf@redhat.com>
21548
21549 * gdb.arch/gdb1291.c: Remove
21550 * gdb.arch/gdb1291.s: New test input file.
21551 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21552 fail. Test for correct result, known incorrect result, other
21553 failures and timeouts.
21554
215552004-02-16 Andrew Cagney <cagney@redhat.com>
21556
21557 * gdb.base/bigcore.exp: New file.
21558 * gdb.base/bigcore.c: New file.
21559
215602004-02-13 Andrew Cagney <cagney@redhat.com>
21561
21562 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21563 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21564 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21565 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21566 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21567 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21568 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21569 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21570 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21571 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21572
215732004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21574
21575 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21576 executed is an alloc instruction.
21577
215782004-02-11 David Carlton <carlton@kealia.com>
21579
21580 * gdb.cp/breakpoint.exp: New.
21581 * gdb.cp/breakpoint.cc: New.
21582
215832004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21584
21585 Partial fix for PR gdb/1543.
21586 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21587 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21588 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21589 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21590 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21591 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21592 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21593 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21594 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21595 to bug-gdb@prep.ai.mit.edu .
21596 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21597 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21598 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21599 Likewise.
21600
216012004-02-10 Andrew Cagney <cagney@redhat.com>
21602
21603 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21604 using gdb_internal_error_resync.
21605
216062004-02-09 Daniel Jacobowitz <drow@mvista.com>
21607
21608 * gdb.threads/thread-specific.exp: Stop early if no threads are
21609 found.
21610
216112004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21612
21613 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21614
216152004-02-08 Daniel Jacobowitz <drow@mvista.com>
21616
21617 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21618 breakpoints.
21619
216202004-02-07 Daniel Jacobowitz <drow@mvista.com>
21621
21622 * config/sim.exp (gdb_load): Handle $arg == "".
21623 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21624 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21625
216262004-02-07 Elena Zannoni <ezannoni@redhat.com>
21627
21628 * gdb.base/maint.exp: Update test to reflect
21629 obstack changes.
21630
216312004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21632
21633 * gdb.base/pendshr.c (pendfunc): New function that calls
21634 pendfunc1.
21635 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21636
216372004-02-04 Fred Fish <fnf@redhat.com>
21638
21639 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21640 function symbols and update copyright years.
21641 * gdb.arch/gdb1291.c: Ditto.
21642
216432004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21644
21645 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21646
216472004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21648
21649 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21650
216512004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21652
21653 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21654
216552004-02-02 Fred Fish <fnf@redhat.com>
21656
21657 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21658 remote targets. Update copyright years.
21659
216602004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21661
21662 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21663 support.
21664 * gdb.base/langs.exp: Fix test which attempts to create
21665 breakpoint on non-existent function to handle new pending
21666 support.
21667 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21668 a breakpoint.
21669 * gdb.base/pending.exp: New test.
21670 * gdb.base/pending.c: New file.
21671 * gdb.base/pendshr.c: Ditto.
21672
216732004-02-02 David Carlton <carlton@kealia.com>
21674
21675 * gdb.cp/overload.exp: Add overloadNamespace tests.
21676 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21677 (overloadNamespace, XXX): New.
21678 (main): Call XXX::marker2.
21679
216802004-02-01 Fred Fish <fnf@redhat.com>
21681
21682 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21683 * gdb.base/finish.exp: Ditto.
21684 * gdb.base/gcore.exp: Ditto.
21685 * gdb.base/huge.exp: Ditto.
21686 * gdb.base/info-proc.exp: Ditto.
21687 * gdb.base/return2.exp: Ditto.
21688 * gdb.threads/gcore-thread.exp: Ditto.
21689
216902004-02-01 Daniel Jacobowitz <drow@mvista.com>
21691
21692 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21693
216942004-02-01 Mark Kettenis <kettenis@gnu.org>
21695
21696 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21697 that opening the file succeeds on OpenBSD.
21698
216992004-02-01 Daniel Jacobowitz <drow@mvista.com>
21700
21701 * gdb.threads/thread-specific.c: New file.
21702 * gdb.threads/threads-specific.exp: New test script.
21703 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21704 to expect_out.
21705
217062004-02-01 Mark Kettenis <kettenis@gnu.org>
21707
21708 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21709 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21710 only on the "print_small_structs from print_long_arg_list" test.
21711
217122004-02-01 Daniel Jacobowitz <drow@mvista.com>
21713
21714 * gdb.base/completion.exp: Kill a stray backslash.
21715
21716 From Jim Ingham <jingham@apple.com>:
21717 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21718 agrees with the result from sending a tab.
21719
217202004-01-31 Daniel Jacobowitz <drow@mvista.com>
21721
21722 * gdb.base/chng-syms.exp: Remove stray newline.
21723
217242004-01-31 Mark Kettenis <kettenis@gnu.org>
21725
21726 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21727 *-*-openbsd*.
21728 * gdb.asm/openbsd.inc: New file.
21729
217302004-01-30 Mark Kettenis <kettenis@gnu.org>
21731
21732 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21733 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21734 *-*solaris2*. Remove commented out default settings for
21735 asm-flags. Replace gdb_compile with target_link.
21736
217372004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21738
21739 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21740 for all tests. Remove old hp-ux and cygnus xfail cases.
21741
217422004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21743
21744 * gdb.base/chng-syms.exp: New file.
21745 * gdb.base/chng-syms.c: New file.
21746
217472004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21748
21749 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21750 Provide arms for current output in all my configurations.
21751
217522004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21753
21754 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21755 * lib/compiler.cc: Likewise.
21756 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21757 get the right preprocessor. Eval the output directly. Remove
21758 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21759 hp_f77_compiler and hp_f90_compiler completely.
21760 (gdb_preprocess): Delete.
21761 (get_compiler): Delete.
21762
217632004-01-24 Mark Kettenis <kettenis@gnu.org>
21764
21765 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21766 <string.h>.
21767
217682004-01-24 Nick Roberts <nick@nick.uklinux.net>
21769
21770 * gdb.mi/mi-stack.exp: Update copyright.
21771
217722004-01-23 David Carlton <carlton@kealia.com>
21773
21774 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21775 test for cp_lookup_transparent_type.
21776 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21777 call them.
21778
217792004-01-23 Daniel Jacobowitz <drow@mvista.com>
21780
21781 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21782 after -var-update.
21783
217842004-01-23 David Carlton <carlton@kealia.com>
21785
21786 * gdb.cp/namespace.cc (C::ensureRefs): New.
21787 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21788
217892004-01-20 Nick Roberts <nick@nick.uklinux.net>
21790
21791 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21792 case "-stack-list-locals 2".
21793 * gdb.mi/mi-var-child.exp: Test for case
21794 "-var-list-children --all-values NAME".
21795
217962004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21797
21798 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21799
218002004-01-18 Mark Kettenis <kettenis@gnu.org>
21801
21802 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21803 used with gdb_test_multiple.
21804
21805 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21806 read at address 0. This fixes PR testsuite/1504.
21807
218082004-01-18 Daniel Jacobowitz <drow@mvista.com>
21809
21810 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21811 Remove downloading, guessing the host executable, the calls to
21812 gdb_file_cmd and gdb_target_cmd, and "load" support.
21813 (infer_host_exec): New function broken out from gdb_load.
21814 (gdb_load): New wrapper for gdbserver_gdb_load.
21815 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21816 gdb_target_cmd. Use -target-select.
21817 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21818 Download binaries to the host. Clear last_mi_remote_file when
21819 we load a new binary.
21820 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21821 call gdbserver_gdb_load and mi_gdb_target_cmd.
21822
218232004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21824
21825 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21826 type patterns.
21827
218282004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21829
21830 * gdb.cp/templates.exp: Fix typo in test name of
21831 "print Foo<volatile char*>::foo".
21832
218332004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21834
21835 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21836
218372004-01-16 Ben Elliston <bje@wasabisystems.com>
21838
21839 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21840 (clean mostlyclean): Remove empty rm.
21841
218422004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21843
21844 * gdb.base/setvar.exp: Add copyright years.
21845
218462004-01-14 David Carlton <carlton@bactrian.org>
21847
21848 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21849 PR c++/1511 and update coment.
21850 * gdb.cp/templates.exp: Update patterns to match current output.
21851 If changes involve something other than whitespace, KFAIL
21852 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21853
218542004-01-14 David Carlton <carlton@kealia.com>
21855
21856 * gdb.cp/namespace.exp: Add tests involving classes defined within
21857 namespaces.
21858 * gdb.cp/namespace.cc (C::CClass): New.
21859 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21860
218612004-01-14 Elena Zannoni <ezannoni@redhat.com>
21862
21863 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21864 what debug info we have. Print a better message if something goes
21865 wrong while producing the separate debug info file.
21866
218672004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21868
21869 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21870
218712004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21872
21873 * gdb.base/callfuncs.c: Add copyright notice.
21874
218752004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21876
21877 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21878 inheritance. PR gdb/1498, PR gcc/13539.
21879
218802004-01-13 Elena Zannoni <ezannoni@redhat.com>
21881
21882 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21883 test specific name.
21884 * gdb.mi/gdb669.exp: Ditto.
21885 * gdb.mi/mi-pthreads.exp: Ditto.
21886 * gdb.mi/mi1-pthreads.exp: Ditto.
21887 * gdb.mi/mi2-pthreads.exp: Ditto.
21888
218892004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21890
21891 * gdb.cp/member-ptr.cc: Add copyright notice.
21892
218932004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21894
21895 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21896 some patterns for recent versions of gcc and hpacc. Delete
21897 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21898 Delete tests that access a NULL pointer-to-member-data. This
21899 script is still disabled for gcc.
21900
219012004-01-12 Elena Zannoni <ezannoni@redhat.com>
21902
21903 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21904 escaped correctly.
21905
219062004-01-12 Elena Zannoni <ezannoni@redhat.com>
21907
21908 * gdb.base/sepdebug.exp: New file.
21909 * gdb.base/sepdebug.c: New file.
21910 * lib/gdb.exp (separate_debug_filename): New procedure.
21911 (gdb_gnu_strip_debug): New procedure.
21912
219132004-01-12 Andrew Cagney <cagney@redhat.com>
21914
21915 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21916 * gdb.mi/ChangeLog-1999-2003: New file.
21917
219182004-01-12 Andrew Cagney <cagney@redhat.com>
21919
21920 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21921 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21922 or EEXIST", treat EBUSY as an XFAIL.
21923
219242004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21925
21926 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21927 hp_cc_compiler.
21928
219292004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21930
21931 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21932 decorations.
21933
219342004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21935
21936 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21937 and "(aCC)" decorations. Remove obsolete doco about old
21938 test results.
21939
219402004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21941
21942 * gdb.cp/exception.exp: Fix typo in doco.
21943
219442004-01-09 Mark Kettenis <kettenis@gnu.org>
21945
21946 * gdb.base/gdb1476.exp: Fix typo.
21947
219482004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21949
21950 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21951 file.
21952
219532004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21954
21955 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21956 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21957 Use gdb_compile. Remove restriction on gcc. Add some patterns
21958 for recent version of gdb. Delete second half, which was a copy
21959 of the first half with different build flags. This test is
21960 still disabled because it is still not ready for production.
21961
219622004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21963
21964 * gdb.cp/exception.cc: Add copyright notice.
21965 * gdb.cp/exception.exp: Add a notice that this file is broken
21966 because of line number changes caused by addition of copyright
21967 notice.
21968
219692004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21970
21971 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21972 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21973
219742004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21975
21976 * gdb.cp/classes.exp: Accept gnu abi 2.
21977 * gdb.cp/derivation.exp: Likewise.
21978 * gdb.cp/overload.exp: Likewise.
21979 * gdb.cp/virtfunc.exp: Likewise.
21980
219812004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21982
21983 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21984 semicolon after end of function.
21985
219862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21987
21988 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21989 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21990 boilerplate code for compiling and running the program under
21991 test. Add some string method tests.
21992
219932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21994
21995 * gdb.cp/bs15503.cc: Add copyright notice.
21996 * gdb.cp/bs15503.exp: Adjust line number.
21997
219982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21999
22000 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
22001 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
22002
220032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22004
22005 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
22006 hp_cc_compiler.
22007
220082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22009
22010 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
22011 * gdb.cp/ctti.exp: Use the marker instead of "next".
22012 With gcc, run further before bailing.
22013
220142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22015
22016 * gdb.cp/cttiadd.cc: Add copyright notice.
22017 * gdb.cp/cttiadd1.cc: Likewise.
22018 * gdb.cp/cttiadd2.cc: Likewise.
22019 * gdb.cp/cttiadd3.cc: Likewise.
22020
220212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22022
22023 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
22024 Use gdb_test, gdb_test_multiple. Use floating-point values that
22025 have exact representations in IEEE-ish formats.
22026
220272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22028
22029 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
22030 compilers. Delete duplicate call to get_compiler_info.
22031 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
22032 * gdb.base/volatile.exp: Likewise.
22033
220342004-01-07 Mark Kettenis <kettenis@gnu.org>
22035
22036 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
22037 memory at address 0.
22038
220392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22040
22041 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
22042 to test for hp-ux assembler. Fix copyright years.
22043
220442004-01-07 Andrew Cagney <cagney@redhat.com>
22045
22046 * gdb.base/fileio.c (strerrno): Add "EBUSY".
22047
220482004-01-07 Andrew Cagney <cagney@redhat.com>
22049
22050 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
22051 when creating the read-only file. From analysis by Roland McGrath
22052 and Elena Zannoni.
22053
220542004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22055
22056 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
22057
220582004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22059
22060 * gdb.base/cvexpr.c: Be type-safe with function pointers and
22061 data pointers.
22062
220632004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22064
22065 * gdb.cp/m-static.exp: Compile one source file at a time.
22066 Delete unused call to get_compiler_info.
22067
220682004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22069
22070 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
22071 * gdb.base/call-rt-st.exp: Likewise.
22072 * gdb.base/nodebug.exp: Likewise.
22073 * gdb.base/volatile.exp: Likewise.
22074 * gdb.cp/ref-types.exp: Likewise.
22075 * gdb.cp/templates.exp: Likewise.
22076
220772004-01-05 Mark Kettenis <kettenis@gnu.org>
22078
22079 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
22080
220812004-01-05 Michael Chastain <mec.gnu@mindspring.com>
22082
22083 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
22084 hppa*-hp-hpux*.
22085
220862004-01-04 Mark Kettenis <kettenis@gnu.org>
22087
22088 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22089 x86_64-*-*.
22090
22091 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22092 sparc64-*-* and sparc*-solaris2*.
22093
220942004-01-04 Mark Kettenis <kettenis@gnu.org>
22095
22096 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
22097 return ${tests}" test. The ${tests} already mentions the
22098 filename.
22099
221002004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22101
22102 * gdb.cp/local.exp: Accept gcc abi 2.
22103
221042004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22105
22106 * gdb.cp/templates.exp: Accept gcc abi 2.
22107
221082004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22109
22110 * lib/compiler.cc: Remove supports_template_debugging.
22111 * gdb.cp/templates.exp: Do not test supports_template_debugging.
22112
221132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22114
22115 * gdb.cp/namespace.exp: Accept gcc abi 2.
22116
221172004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22118
22119 * gdb.cp/method.exp: Accept gcc abi 2.
22120
221212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22122
22123 * gdb.cp/classes.exp: Generate identical results as old version.
22124 * gdb.cp/derivation.exp: Likewise.
22125 * gdb.cp/overload.exp: Likewise.
22126 * gdb.cp/virtfunc.exp: Likewise.
22127
221282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22129
22130 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
22131 mysterious bug with sourceware version of expect.
22132
221332004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22134
22135 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
22136 current versions of gcc, including gcc abi 2. Remove gratuitous
22137 restart of test program. Use gdb_test_multiple and gdb_test for
22138 all tests. Add patterns to xfail missing "const" in "const char *"
22139 and kfail PR gdb/1155.
22140
221412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22142
22143 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
22144 current versions of gcc, including gcc abi 2. Remove gratuitous
22145 restart of test program. Use gdb_test_multiple and gdb_test for
22146 all tests. Add patterns to kfail PR gdb/1498.
22147
221482003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22149
22150 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
22151 current versions of gcc, including gcc abi 2. Use "breakpoint"
22152 and "continue" instead of restarting the target program. Use
22153 gdb_test_multiple and gdb_test for all tests.
22154
221552004-01-01 Mark Kettenis <kettenis@gnu.org>
22156
22157 * gdb.asm/asm-source.exp: Update copyright year. Link statically
22158 for *-*-solaris2*.
22159
221602003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22161
22162 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
22163 current versions of gcc, including gcc abi 2. Use "breakpoint"
22164 and "continue" instead of restarting the target program several
22165 times. Use gdb_test_multiple and gdb_test for all tests.
22166
221672003-12-18 Michael Chastain <mec.gnu@mindspring.com>
22168
22169 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
22170 source files.
22171
221722003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22173
22174 * gdb.base/environ.exp: Handle compiling test case from multiple
22175 source files.
22176
221772003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22178
22179 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
22180
221812003-12-17 Jim Blandy <jimb@redhat.com>
22182
22183 * gdb.base/freebpcmd.c: Add copyright notice.
22184
22185 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
22186
221872003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22188
22189 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
22190
221912003-12-13 Jim Blandy <jimb@redhat.com>
22192
22193 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
22194
221952003-12-12 Kevin Buettner <kevinb@redhat.com>
22196
22197 * gdb.asm/frv.inc: New file.
22198 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
22199
222002003-12-09 Fred Fish <fnf@redhat.com>
22201
22202 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
22203 functions to break1.c and leave prototypes behind. Add more
22204 "set breakpoint NN here" comments.
22205 * gdb.base/break1.c: New file.
22206
22207 * gdb.base/break.exp: Handle compiling test case from multiple
22208 source files and change source file references as needed.
22209 * gdb.base/completion.exp: Ditto.
22210 * gdb.base/condbreak.exp: Ditto.
22211 * gdb.base/define.exp: Ditto.
22212 * gdb.base/ena-dis-br.exp: Ditto.
22213 * gdb.base/info-proc.exp: Ditto.
22214 * gdb.base/maint.exp: Ditto.
22215 * gdb.base/until.exp: Ditto.
22216
22217 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
22218 hardcoded line numbers.
22219 * gdb.base/define.exp: Ditto.
22220 * gdb.base/ena-dis-br.exp: Ditto.
22221 * gdb.base/maint.exp: Ditto.
22222 * gdb.base/until.exp: Ditto.
22223
22224 * gdb.base/completion.exp: Use "break1" for completion tests since
22225 "break" is no longer a unique prefix.
22226
222272003-12-06 Andrew Cagney <cagney@redhat.com>
22228
22229 * gdb.base/structs.exp (test_struct_returns): When applicable, set
22230 "return_value_unimplemented". When an unimplemented struct return
22231 architecture, report incorrect values as a KFAIL
22232
222332003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22234
22235 * gdb.cp/rtti.exp: Accept new wording of warning from
22236 cp_lookup_rtti_type.
22237
222382003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22239
22240 Partial fix for PR testsuite/1456.
22241 * gdb.base/scope.exp (test_at_main): Replace references to
22242 gcc_compiled with calls to test_compiler_info.
22243 (test_at_foo): Likewise.
22244 (test_at_bar): Likewise.
22245
222462003-12-04 Michael Chastain <mec.gnu@mindspring.com>
22247
22248 Partial fix for PR testsuite/1456.
22249 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
22250 to test_compiler_info.
22251
222522003-12-03 Michael Chastain <mec.gnu@mindspring.com>
22253
22254 * gdb.base/so-impl-ld.exp: Update copyright notice.
22255
222562003-12-02 Michael Chastain <mec.gnu@mindspring.com>
22257
22258 Partial fix for PR testsuite/1456.
22259 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
22260 to test_compiler_info.
22261
222622003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22263
22264 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
22265 from current versions of gdb. Clean up regular expressions.
22266 Delete redundant timeout case.
22267
222682003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22269
22270 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
22271 from current versions of gdb. Clean up regular expressions.
22272 Delete redundant timeout case.
22273
222742003-12-01 Michael Chastain <mec.gnu@mindspring.com>
22275
22276 Partial fix for PR testsuite/1456.
22277 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
22278 gcc_compiled with call to test_compiler_info.
22279
222802003-11-30 Michael Chastain <mec.gnu@mindspring.com>
22281
22282 Partial fix for PR testsuite/1456.
22283 * gdb.base/list.exp (test_list_function): Delete unused declaration
22284 of gcc_compiled.
22285
222862003-11-29 Michael Chastain <mec.gnu@mindspring.com>
22287
22288 Partial fix for PR testsuite/1456.
22289 * gdb.base/complex.exp: Replace reference to gcc_compiled with
22290 call to test_compiler_info.
22291
222922003-11-29 Mark Kettenis <kettenis@gnu.org>
22293
22294 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
22295 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
22296 it to create the appropriate note.inc.
22297 * gdb.asm/asmsrc1.s: Include "note.inc".
22298 * gdb.asm/netbsd.inc: New file.
22299 * gdb.asm/empty.inc: New file.
22300
223012003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22302
22303 Partial fix for PR testsuite/1456.
22304 * gdb.base/constvars.exp: Replace references to gcc_compiled with
22305 calls to test_compiler_info.
22306
223072003-11-27 Michael Chastain <mec.gnu@mindspring.com>
22308
22309 Partial fix for PR testsuite/1456.
22310 * gdb.base/volatile.exp: Replace references to gcc_compiled with
22311 calls to test_compiler_info.
22312
223132003-11-27 Mark Kettenis <kettenis@gnu.org>
22314
22315 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
22316 pattern for the KFAILs.
22317
223182003-11-25 Adam Fedor <fedor@gnu.org>
22319
22320 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
22321 * gdb.objc/objcdecode.m: New file.
22322
223232003-11-25 Adam Fedor <fedor@gnu.org>
22324
22325 * gdb.objc/nondebug.exp: Test for PR objc/1236.
22326 * gdb.objc/nondebug.m: New file.
22327
223282003-11-26 Ben Elliston <bje@wasabisystems.com>
22329
22330 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22331 NetBSD as it does on FreeBSD. Modelled on a similar change by
22332 Mark Kettenis on 2003-05-30.
22333 (link-flags): Set to "--entry _start" regardless of target.
22334 Special linker flags are to be appended to $link-flags.
22335 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
22336
223372003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22338
22339 * gdb.cp/method.exp: Accept output of new demangler.
22340
223412003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22342
22343 * gdb/class2.exp: New file.
22344 * gdb/class2.cc: New file.
22345
223462003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22347
22348 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22349 of new demangler.
22350
223512003-11-23 Mark Kettenis <kettenis@gnu.org>
22352
22353 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22354 of gdb_test "run".
22355
223562003-11-23 Mark Kettenis <kettenis@gnu.org>
22357
22358 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22359 "continue" into "run".
22360
223612003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22362
22363 Partial fix for PR testsuite/1456.
22364 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22365 call to test_compiler_info.
22366 * gdb.cp/ctti.exp: Likewise.
22367 * gdb.cp/derivation.exp: Likewise.
22368 * gdb.cp/member-ptr.exp: Likewise.
22369 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22370 reference to gcc_compiled.
22371
223722003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22373
22374 Fix PR testsuite/1463.
22375 * gdb.base/structs.exp (start_structs_test): Call
22376 get_debug_format before using the debug format.
22377
223782003-11-22 Andrew Cagney <cagney@redhat.com>
22379
22380 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22381 * gdb.base/structs.exp: Use gdb_test_multiple.
22382
223832003-11-20 Andrew Cagney <cagney@redhat.com>
22384
22385 * gdb.base/structs.exp: Handle and recover from internal errors.
22386 Replace "foo${n}" with "foo<n>" in test messages.
22387
22388 * gdb.base/structs.exp: Update copyright. Rewrite.
22389 * gdb.base/structs.c: Update copyright. Rewrite.
22390
22391 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22392 resync count exceeded.
22393
22394 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22395 from the internal error.
22396 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22397 Original from Jim Blandy.
22398 (gdb_test_multiple): Use gdb_internal_error_resync.
22399
224002003-11-19 Andrew Cagney <cagney@redhat.com>
22401
22402 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22403 KFAIL.
22404
224052003-11-17 Mark Kettenis <kettenis@gnu.org>
22406
22407 New testcase for PR backtrace/1435.
22408 * gdb.arch/i386-unwind.exp: New file.
22409 * gdb.arch/i386-unwind.c: New file.
22410
224112003-11-17 Andrew Cagney <cagney@redhat.com>
22412
22413 * lib/gdb.exp (compiler_info): New global.
22414 (test_compiler_info): New function.
22415 (get_compiler_info): Set compiler_info.
22416 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22417 "compiler_info" to gcc-<major>-<minor>.
22418
224192003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22420
22421 * gdb.trace/configure: Remove.
22422
224232003-11-13 Elena Zannoni <ezannoni@redhat.com>
22424
22425 * gdb.base/break.c: Add comments to aid finding line numbers for
22426 breakpoints.
22427 * gdb.base/break.exp: Remove all references to explicit line
22428 numbers.
22429
224302003-11-11 Nick Clifton <nickc@redhat.com>
22431
22432 * gdb.base/shreloc.exp: Do not run for targets which do not
22433 support shared objects.
22434
224352003-11-10 Corinna Vinschen <vinschen@redhat.com>
22436
22437 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22438 Don't run tests if nofileio flag is given.
22439
224402003-11-07 Elena Zannoni <ezannoni@redhat.com>
22441
22442 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
22443 as well as 'Watchpoint'.
22444
224452003-11-06 Elena Zannoni <ezannoni@redhat.com>
22446
22447 Reported by Jim Ingham <jingham@apple.com>:
22448 * gdb.base/annota1.exp: Match at least one occurrence of the
22449 signal handler annotation.
22450
224512003-11-06 Elena Zannoni <ezannoni@redhat.com>
22452
22453 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22454 as well as 'Watchpoint'.
22455
224562003-11-05 Michael Chastain <mec@shout.net>
22457
22458 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22459
224602003-11-03 Kris Warkentin <kewarken@qnx.com>
22461
22462 * gdb.arch/gdb1291.c: New test file.
22463 * gdb.arch/gdb1291.exp: New test script.
22464 * gdb.arch/gdb1431.c: New test file.
22465 * gdb.arch/gdb1431.exp: New test script.
22466
224672003-10-22 Michael Chastain <mec@shout.net>
22468
22469 * gdb.mi/pthreads.c: Add copyright notice.
22470
224712003-10-22 Michael Chastain <mec@shout.net>
22472
22473 * gdb.threads/pthreads.c: Add copyright notice.
22474
224752003-10-20 Michael Chastain <mec@shout.net>
22476
22477 * gdb.base/gdb1056.exp: New test script.
22478
224792003-10-13 Daniel Jacobowitz <drow@mvista.com>
22480
22481 * gdb.threads/killed.exp: Use gdb_run_cmd.
22482
224832003-10-13 Daniel Jacobowitz <drow@mvista.com>
22484
22485 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22486 create a core file.
22487 * gdb.threads/gcore-thread.exp: Likewise.
22488
224892003-10-13 Corinna Vinschen <vinschen@redhat.com>
22490
22491 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22492 type, based on char type.
22493 (struct bit_flags_short_t): New bitfield type, based on short type.
22494 (init_bit_flags_char): New fuction.
22495 (init_bit_flags_short): Ditto.
22496 (print_bit_flags_char): Ditto.
22497 (print_bit_flags_short): Ditto.
22498 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22499
225002003-10-11 Michael Chastain <mec@shout.net>
22501
22502 * gdb.base/call-rt-st.exp: Update copyright year.
22503
225042003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22505
22506 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22507 * gdb.disasm/sh3.s: Ditto.
22508
225092003-10-07 Daniel Jacobowitz <drow@mvista.com>
22510
22511 * gdb.threads/switch-threads.exp: New test.
22512 * gdb.threads/switch-threads.c: New source file.
22513
225142003-10-07 Corinna Vinschen <vinschen@redhat.com>
22515
22516 * gdb.base/ending-run.exp: Add sh specific case.
22517
225182003-10-06 Andrew Cagney <cagney@redhat.com>
22519
22520 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22521 * gdb.disasm/mn10200.exp: Delete obsolete file.
22522
225232003-09-29 Daniel Jacobowitz <drow@mvista.com>
22524
22525 * ChangeLog: Correct an entry command.exp -> commands.exp.
22526 * gdb.base/commands.exp (bp_deleted_in_command_test)
22527 (temporary_breakpoint_commands): Check noargs.
22528
225292003-09-25 David Carlton <carlton@kealia.com>
22530
22531 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22532 of some print tests, where appropriate. Add tests for C::D::cd,
22533 E::ce, F::cXfX, G::XgX.
22534 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22535
225362003-09-25 Richard Earnshaw <rearnsha@arm.com>
22537
22538 * lib/java.exp (java_init): Import target_alias before using it.
22539
225402003-09-25 David Carlton <carlton@kealia.com>
22541
22542 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22543
225442003-09-23 Elena Zannoni <ezannoni@redhat.com>
22545
22546 * gdb.base/selftest.exp: Accomodate more instruction reordering
22547 weirdness.
22548
225492003-09-17 Michael Chastain <mec@shout.net>
22550
22551 * gdb.cp/gdb1355.exp: New file.
22552 * gdb.cp/gdb1355.c: New file.
22553
225542003-09-15 Corinna Vinschen <vinschen@redhat.com>
22555
22556 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22557 * gdb.asm/sh.inc: New file.
22558
225592003-09-11 David Carlton <carlton@kealia.com>
22560
22561 * gdb.cp/namespace.exp: Add tests for namespace types.
22562 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
22563 (test_namespace): New.
22564
225652003-09-11 Elena Zannoni <ezannoni@redhat.com>
22566
22567 * gdb.base/relocate.exp: Handle new gdb output at startup.
22568 * gdb.stabs/weird.exp: Ditto.
22569
225702003-09-08 Michael Chastain <mec@shout.net>
22571
22572 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22573
225742003-09-07 Michael Chastain <mec@shout.net>
22575
22576 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22577 'parse error'.
22578
225792003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22580
22581 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22582
225832003-08-30 Michael Chastain <mec@shout.net>
22584
22585 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22586 * gdb.gdb/observer.exp: Ditto.
22587 * gdb.gdb/xfullpath.exp: Ditto.
22588
225892003-08-29 Mark Kettenis <kettenis@gnu.org>
22590
22591 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22592 *-*-*bsd*.
22593
225942003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22595
22596 * gdb.base/dump.exp: Skip for ia64.
22597
225982003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22599
22600 * gdb.asm/asm-source.exp: Add ia64 support.
22601 * gdb.asm/ia64.inc: New file.
22602
226032003-08-22 Michael Chastain <mec@shout.net>
22604
22605 * gdb.cp: New directory.
22606 * gdb.cp/*: Copy from gdb.c++/*.
22607 * gdb.c++/*: Remove.
22608 * Makefile.in: Change gdb.c++ to gdb.cp.
22609 * configure.in: Ditto.
22610 * configure: Regnerate.
22611
226122003-08-18 Mark Kettenis <kettenis@gnu.org>
22613
22614 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22615 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22616
226172003-08-17 Daniel Jacobowitz <drow@mvista.com>
22618
22619 * mi-var-display.exp (-var-list-children weird): Accept function
22620 pointers with argument types.
22621 * mi1-var-display.exp (-var-list-children weird): Likewise.
22622 * mi2-var-display.exp (-var-list-children weird): Likewise.
22623
226242003-08-17 Daniel Jacobowitz <drow@mvista.com>
22625
22626 * gdb.base/annota3.exp: Add missing newline.
22627
226282003-08-06 Michael Chastain <mec@shout.net>
22629
22630 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22631
226322003-08-12 Michael Snyder <msnyder@redhat.com>
22633
22634 * gdb.base/float.exp: Add test for SH.
22635
226362003-08-10 Mark Kettenis <kettenis@gnu.org>
22637
22638 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22639
226402003-08-07 Elena Zannoni <ezannoni@redhat.com>
22641
22642 * gdb.base/completion.exp: Remove reduntant completion test
22643 on filename.
22644
226452003-08-07 Elena Zannoni <ezannoni@redhat.com>
22646
22647 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22648 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22649 gdb.trace/save-trace.exp: Make sure that full pathnames are
22650 escaped correctly.
22651
226522003-08-07 Elena Zannoni <ezannoni@redhat.com>
22653
22654 * configure.in: Don't generate config.h from config.hin.
22655 * configure: Regenerate.
22656 * config.hin: Remove file.
22657 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22658 * gdb.threads/pthreads.c: Ditto.
22659
226602003-08-07 Daniel Jacobowitz <drow@mvista.com>
22661
22662 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22663 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22664 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22665 Replace ld24 with seth/add3.
22666
226672003-08-02 Andrew Cagney <cagney@redhat.com>
22668
22669 * gdb.base/annota3.exp: New file.
22670 * gdb.base/annota3.c: New file.
22671 * gdb.c++/annota3.exp: New file.
22672 * gdb.c++/annota3.cc: New file.
22673
226742003-07-29 Michael Chastain <mec@shout.net>
22675
22676 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22677 actually failed.
22678 (do_pass): Likewise.
22679 * gdb.threads/tls.exp: Always initialize no_of_threads.
22680
226812003-07-27 Daniel Jacobowitz <drow@mvista.com>
22682
22683 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22684 pattern.
22685 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22686 * gdb.threads/tls.exp: Recognize one case of the host library not
22687 supporting TLS.
22688
226892003-07-27 Andrew Cagney <cagney@redhat.com>
22690
22691 * gdb.base/fileio.exp: Use SH when running commands using
22692 remote_exec.
22693
226942003-07-24 Daniel Jacobowitz <drow@mvista.com>
22695
22696 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22697 * gdb.base/relocate.c (dummy): New padding array.
22698
226992003-07-22 Michael Snyder <msnyder@redhat.com>
22700
22701 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
22702
22703 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22704 patterns to be more general, accepting old and new output.
22705 Some output chars (such as '+') also must be quoted.
22706 Some addresses are displayed numerically instead of
22707 symbolically.
22708
227092003-07-23 Michael Snyder <msnyder@redhat.com>
22710
22711 * gdb.base/return2.exp: Don't test long-long return.
22712
22713 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22714 * gdb.disasm/t01_mov.exp: Ditto.
22715 * gdb.disasm/t02_mova.s: Ditto.
22716 * gdb.disasm/t02_mova.exp: Ditto.
22717 * gdb.disasm/t03_add.s: Ditto.
22718 * gdb.disasm/t03_add.exp: Ditto.
22719 * gdb.disasm/t04_sub.s: Ditto.
22720 * gdb.disasm/t04_sub.exp: Ditto.
22721 * gdb.disasm/t05_cmp.s: Ditto.
22722 * gdb.disasm/t05_cmp.exp: Ditto.
22723 * gdb.disasm/t06_ari2.s: Ditto.
22724 * gdb.disasm/t06_ari2.exp: Ditto.
22725 * gdb.disasm/t07_ari3.s: Ditto.
22726 * gdb.disasm/t07_ari3.exp: Ditto.
22727 * gdb.disasm/t08_or.s: Ditto.
22728 * gdb.disasm/t08_or.exp: Ditto.
22729 * gdb.disasm/t09_xor.s: Ditto.
22730 * gdb.disasm/t09_xor.exp: Ditto.
22731 * gdb.disasm/t10_and.s: Ditto.
22732 * gdb.disasm/t10_and.exp: Ditto.
22733 * gdb.disasm/t11_logs.s: Ditto.
22734 * gdb.disasm/t11_logs.exp: Ditto.
22735 * gdb.disasm/t12_bit.s: Ditto.
22736 * gdb.disasm/t12_bit.exp: Ditto.
22737 * gdb.disasm/t13_otr.s: Ditto.
22738 * gdb.disasm/t13_otr.exp: Ditto.
22739
227402003-07-22 Elena Zannoni <ezannoni@redhat.com>
22741
22742 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22743
227442003-07-22 Elena Zannoni <ezannoni@redhat.com>
22745
22746 * gdb.threads/tls.c : New file.
22747 * gdb.threads/tls.exp : New file.
22748 * gdb.threads/tls-main.c : New file.
22749 * gdb.threads/tls-shared.c : New file.
22750 * gdb.threads/tls-shared.exp : New file.
22751
227522003-07-22 Andreas Schwab <schwab@suse.de>
22753
22754 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22755
227562003-07-20 Andreas Schwab <schwab@suse.de>
22757
22758 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22759 due to insn reordering.
22760
227612003-07-15 Andrew Cagney <cagney@redhat.com>
22762
22763 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22764
227652003-07-15 Michael Chastain <mec@shout.net>
22766
22767 * gdb.base/gdb1250.exp: New file.
22768 * gdb.base/gdb1250.c: New file.
22769
227702003-07-09 Michal Ludvig <mludvig@suse.cz>
22771
22772 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22773 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22774
227752003-07-09 Elena Zannoni <ezannoni@redhat.com>
22776
22777 * gdb.threads/tls.c: New file.
22778 * gdb.threads/tls.exp: New file.
22779 * gdb.threads/tls-main.c: New file.
22780 * gdb.threads/tls-shared.c: New file.
22781 * gdb.threads/tls-shared.exp: New file.
22782
227832003-07-09 Elena Zannoni <ezannoni@redhat.com>
22784
22785 * gdb.base/annota1.exp: Make sure that we properly escape the
22786 full path of the source file. Xfail more permissive patterns,
22787 due to a compiler debug info problem.
22788
227892003-07-07 Andreas Schwab <schwab@suse.de>
22790
22791 * gdb.asm/m68k.inc: New file.
22792 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22793
22794 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22795 arguments"): Also match negative number.
22796
22797 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22798
227992003-07-03 Daniel Jacobowitz <drow@mvista.com>
22800
22801 * gdb.base/store.c (charest): New typedef.
22802 (add_char): Rename to add_charest, update.
22803 (wack_char): Rename to wack_charest, update types. Return l + r
22804 to keep r live across the call.
22805 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22806 (wack_double, wack_doublest): Return l + r to keep r live across
22807 the call.
22808 * gdb.base/store.exp: Accomodate store.c changes.
22809
228102003-06-30 David Carlton <carlton@kealia.com>
22811
22812 * gdb.c++/maint.exp (test_invalid_name): New.
22813 (test_first_component): Add tests for invalid names.
22814
228152003-06-29 Michael Chastain <mec@shout.net>
22816
22817 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22818 output of '<VTT for class>' for virtual base classes.
22819
228202003-06-29 Daniel Jacobowitz <drow@mvista.com>
22821
22822 * gdb.base/completion.exp: Tab-complete "complet" instead of
22823 "compl".
22824 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22825
228262003-06-29 Daniel Jacobowitz <drow@mvista.com>
22827
22828 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22829 * gdb.base/volatile.exp: Likewise.
22830
228312003-06-29 Daniel Jacobowitz <drow@mvista.com>
22832
22833 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22834 gdb/1265.
22835
228362003-06-28 Michael Chastain <mec@shout.net>
22837 Daniel Jacobowitz <drow@mvista.com>
22838
22839 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22840 initial line count of 'captured_main' from 26 to 32.
22841 (test_with_self): Allow xmalloc call to be interleaved with the
22842 preceding two lines.
22843
228442003-06-24 Joel Brobecker <brobecker@gnat.com>
22845
22846 * gdb.base/bang.exp: New testcase.
22847
228482003-06-23 Joel Brobecker <brobecker@gnat.com>
22849
22850 * gdb.base/langs.exp: Add some tests for the "minimal" language
22851 support.
22852
228532003-06-23 Elena Zannoni <ezannoni@redhat.com>
22854
22855 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22856 the testcase.
22857
228582003-06-22 Daniel Jacobowitz <drow@mvista.com>
22859
22860 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22861 offset.
22862
228632003-06-22 Daniel Jacobowitz <drow@mvista.com>
22864
22865 * gdb.c++/pr-1210.cc: New file.
22866 * gdb.c++/pr-1210.exp: New file.
22867
228682003-06-21 Daniel Jacobowitz <drow@mvista.com>
22869
22870 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22871 000-exec-continue.
22872
228732003-06-15 Mark Kettenis <kettenis@gnu.org>
22874
22875 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22876 on *-*-*bsd* instead of *-*-freebsd*.
22877
228782003-06-14 Andrew Cagney <cagney@redhat.com>
22879
22880 * gdb.base/store.exp: Test longest and doublest. Test all
22881 parameters. Weaken return statement match.
22882 * gdb.base/store.c: Add longest and doublest - aka long long and
22883 long double functions. Put all parameters into local register
22884 variables. Use negative values.
22885
228862003-06-14 Andrew Cagney <cagney@redhat.com>
22887
22888 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22889 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22890 exit status.
22891 * gdb.base/fileio.exp: Disable target when nointerrupts and
22892 noinferiorio, instead of limiting it to remote. Use remote_exec
22893 instead of system.
22894
228952003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22896
22897 * gdb.base/float.exp: Add ia64 support.
22898
228992003-06-12 Corinna Vinschen <vinschen@redhat.com>
22900
22901 * gdb.base/fileio.exp: Run only on remote targets.
22902
229032003-06-10 Corinna Vinschen <vinschen@redhat.com>
22904
22905 * gdb.base/fileio.c: New file, testing File-I/O.
22906 * gdb.base/fileio.exp: Ditto.
22907
229082003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22909
22910 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22911 shared objects after relocation at load time (gdb PR/1132).
22912 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22913 as above, part of the shared object relocation test.
22914
229152003-06-08 Mark Kettenis <kettenis@gnu.org>
22916
22917 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22918 fully filled history list.
22919 * gdb.base/gdb_history: New file.
22920
22921 * gdb.base/signals.exp: XFAIL "continue to func1" on
22922 i*86-*-freebsd*.
22923
22924 * gdb.base/attach.exp: When trying to attach to a nonexistent
22925 process, make it possible to specify the PID based on the target,
22926 and do so for *-*-freebsd*.
22927
229282003-06-02 Richard Henderson <rth@redhat.com>
22929
22930 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22931
229322003-06-02 Richard Henderson <rth@redhat.com>
22933
22934 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22935
229362003-06-02 Richard Henderson <rth@redhat.com>
22937
22938 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22939
229402003-06-01 Daniel Jacobowitz <drow@mvista.com>
22941
22942 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22943 of globalvar.
22944
229452003-06-01 Mark Kettenis <kettenis@gnu.org>
22946
22947 * gdb.asm/asm-source.exp: Check for memory read errors in
22948 disassembler test on *BSD too.
22949
229502003-06-01 Richard Henderson <rth@redhat.com>
22951
22952 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22953 for .frame.
22954 (gdbasm_call): Lose ldgp.
22955 (gdbasm_startup): Add frame information.
22956 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22957
229582003-05-31 Mark Kettenis <kettenis@gnu.org>
22959
22960 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22961 i?86-*-*.
22962
229632003-05-30 Mark Kettenis <kettenis@gnu.org>
22964
22965 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22966 FreeBSD.
22967
229682003-05-29 Richard Henderson <rth@redhat.com>
22969
22970 * gdb.asm/alpha.inc: New file.
22971 * gdb.asm/asm-source.exp: Use it.
22972
229732003-05-29 Jim Blandy <jimb@redhat.com>
22974
22975 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22976 'core.PID'.
22977
229782003-05-22 Jim Blandy <jimb@redhat.com>
22979
22980 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22981 backtrace.
22982
229832003-05-20 David Carlton <carlton@math.stanford.edu>
22984
22985 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22986 this time.
22987
229882003-05-19 David Carlton <carlton@bactrian.org>
22989
22990 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22991 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22992
229932003-05-19 David Carlton <carlton@bactrian.org>
22994
22995 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22996 namespace tests.
22997 Bump copyright date.
22998 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22999 (main): Call C::D::marker2.
23000 * gdb.c++/namespace1.cc: New file.
23001
230022003-05-14 Jeff Johnston <jjohnstn@redhat.com>
23003
23004 Roland McGrath <roland@redhat.com>
23005 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
23006 there is no manager thread.
23007
230082003-05-08 Jeff Johnston <jjohnstn@redhat.com>
23009
23010 * gdb.threads/schedlock.exp: Remove assumption that all threads
23011 will run in a particular small time slice. Also ensure we break
23012 in one of the child threads rather than the main thread.
23013
230142003-05-07 Jim Blandy <jimb@redhat.com>
23015
23016 Add support for assembly source testing on the s390x.
23017 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
23018 architecture.
23019 * gdb.asm/s390x.inc: New file.
23020
23021 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
23022 succession of 'if' statements.
23023
230242003-05-05 Andrew Cagney <cagney@redhat.com>
23025
23026 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
23027
230282003-05-05 Andrew Cagney <cagney@redhat.com>
23029
23030 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
23031 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
23032
230332003-05-02 Elena Zannoni <ezannoni@redhat.com>
23034
23035 * gdb.base/charset.exp: Update based on new behavior of set/show
23036 charset commands.
23037
230382003-05-01 Andrew Cagney <cagney@redhat.com>
23039
23040 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
23041 variable do not give memory errors.
23042
230432003-04-30 Adam Fedor <fedor@gnu.org>
23044
23045 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
23046 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
23047 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
23048 gdb.objc/basicclass.m: : New files
23049
23050 * lib/gdb.exp (gdb_compile_objc): New procedure.
23051
230522003-04-27 Daniel Jacobowitz <drow@mvista.com>
23053
23054 * gdb.base/signals.exp: Make backtrace tests more specific.
23055
230562003-04-23 David Carlton <carlton@bactrian.org>
23057
23058 * gdb.c++/maint.exp (test_first_component): Add tests for
23059 'operator' in more locations.
23060
230612003-04-16 Kevin Buettner <kevinb@redhat.com>
23062
23063 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
23064
230652003-04-16 Elena Zannoni <ezannoni@redhat.com>
23066
23067 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
23068 func marke' instead. Update test name.
23069
230702003-04-15 David Carlton <carlton@math.stanford.edu>
23071
23072 * gdb.c++/maint.exp: New file.
23073
230742003-04-14 Elena Zannoni <ezannoni@redhat.com>
23075
23076 * gdb.threads/schedlock.c: Change type of thread function argument
23077 to long, to avoid warnings on 64-bit platforms.
23078
230792003-04-14 Elena Zannoni <ezannoni@redhat.com>
23080
23081 * gdb.base/attach.exp: Add new message from ptrace in case of
23082 attaching to nonexistent process.
23083
230842003-04-11 Jim Blandy <jimb@redhat.com>
23085
23086 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23087 gdb.c++/userdef.cc: Place comments on the lines to which the
23088 marker function might return.
23089 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23090 gdb.c++/userdef.exp: Look for those comments to check that we've
23091 returned to the right place, instead of checking line numbers.
23092
230932003-04-11 Elena Zannoni <ezannoni@redhat.com>
23094
23095 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
23096 match on sourcefile name, instead of directory name.
23097
230982003-04-10 Elena Zannoni <ezannoni@redhat.com>
23099
23100 * gdb.base/completion.exp: Use string_to_regexp to match the
23101 working directory name.
23102
231032003-04-09 Jim Blandy <jimb@redhat.com>
23104
23105 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23106 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
23107 after an inferior function call, report the failure, but allow the
23108 test to continue.
23109
231102003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23111
23112 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23113 with -DPROTOTYPES.
23114
231152003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23116
23117 * gdb.base/break.exp: Revert last patch.
23118
231192003-04-04 Stephane Carrez <stcarrez@nerim.fr>
23120
23121 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23122 with -DPROTOTYPES.
23123
231242003-04-02 Andrew Cagney <cagney@redhat.com>
23125
23126 * gdb.base/callfuncs.exp: Make "print add" messages unique.
23127 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
23128 matching directories by the name breakpoint.
23129 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
23130 Make "continue to marker1" consistent.
23131 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
23132 message consistent.
23133 * lib/gdb.exp: Put "the program is no longer running", and "the
23134 program exited" in parenthesis.
23135 * lib/mi-support.exp: Ditto.
23136
231372003-04-02 Bob Rossi <bob_rossi@cox.net>
23138
23139 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
23140
231412003-03-29 Andrew Cagney <cagney@redhat.com>
23142
23143 * gdb.base/sizeof.c (main): Print the value of '\377'.
23144 * gdb.base/sizeof.exp: Check the sign of '\377'.
23145
231462003-03-27 Michael Chastain <mec@shout.net>
23147
23148 * gdb.base/gdb1090.exp: New file.
23149 * gdb.base/gdb1090.cc: New file.
23150
231512003-03-27 J. Brobecker <brobecker@gnat.com>
23152
23153 * gdb.gdb/observer.exp: New regression test.
23154
231552003-03-27 Michael Chastain <mec@shout.net>
23156
23157 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
23158 * gdb.base/ptype.exp: Likewise.
23159
231602003-03-27 Corinna Vinschen <vinschen@redhat.com>
23161
23162 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
23163
231642003-03-26 Michael Chastain <mec@shout.net>
23165
23166 * gdb.base/ptype.exp: Actually use some typedef'd types.
23167
231682003-03-21 Stephane Carrez <stcarrez@nerim.fr>
23169
23170 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
23171 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
23172
231732003-03-20 Corinna Vinschen <vinschen@redhat.com>
23174
23175 * gdb.base/default.exp: Fix regular expression.
23176
231772003-03-20 Corinna Vinschen <vinschen@redhat.com>
23178
23179 * gdb.base/args.exp: Fix regular expression.
23180
231812003-03-20 Corinna Vinschen <vinschen@redhat.com>
23182
23183 * gdb.base/help.exp: Allow Win32 child process.
23184
231852003-03-20 Corinna Vinschen <vinschen@redhat.com>
23186
23187 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
23188 when stepping out of main().
23189
231902003-03-20 Corinna Vinschen <vinschen@redhat.com>
23191
23192 * gdb.base/default.exp: Check for win32 specific message when calling
23193 "run" without executable.
23194
231952003-03-20 Corinna Vinschen <vinschen@redhat.com>
23196
23197 * gdb.base/args.exp: Expect .exe in output.
23198
231992003-03-20 Corinna Vinschen <vinschen@redhat.com>
23200
23201 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
23202 Cygwin native.
23203
232042003-03-17 Andrew Cagney <cagney@redhat.com>
23205
23206 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
23207 vector registes.
23208 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
23209 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
23210
232112003-03-17 David Carlton <carlton@math.stanford.edu>
23212
23213 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
23214 test, for PR breakpoints/38.
23215 Call test_watchpoint_and_breakpoint.
23216 * gdb.base/watchpoint.c (func3): New function.
23217 (main): Call func3.
23218
232192003-03-04 David Carlton <carlton@math.stanford.edu>
23220
23221 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
23222 Garply<Garply<char> >:: garply".
23223 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
23224 with respect to PR c++/1111; note also PR c++/1113.
23225 (test_template_breakpoints): KFAIL "constructor breakpoint" with
23226 respect to PR c++/1062.
23227 KFAIL "destructor breakpoint" with respect to PR c++/1112.
23228
232292003-03-03 David Carlton <carlton@math.stanford.edu>
23230
23231 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
23232 with respect to PR c++/57.
23233 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
23234 c++/826.
23235 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
23236 respect to PR c++/57.
23237
232382003-03-03 David Carlton <carlton@math.stanford.edu>
23239
23240 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23241 respect to PR c++/33 into FAILs.
23242
232432003-03-03 Michael Chastain <mec@shout.net>
23244
23245 * configure.in: Update copyright years.
23246
232472003-03-03 Michael Chastain <mec@shout.net>
23248
23249 * Makefile.in: Update copyright years.
23250
232512003-02-28 David Carlton <carlton@math.stanford.edu>
23252
23253 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
23254 print class instead of struct and/or superfluous protection
23255 specifiers, as long as the resulting output is equivalent to the
23256 source code.
23257 Delete FIXME from end of messages on tests that don't need
23258 fixing.
23259
232602003-02-28 David Carlton <carlton@math.stanford.edu>
23261
23262 * gdb.c++/templates.exp (do_tests): Allow const in the two
23263 Foo<volatile char *>::foo tests.
23264
232652003-02-27 Michael Snyder <msnyder@redhat.com>
23266
23267 * gdb.base/restore.c (main): Return zero, so exit code
23268 will be consistant.
23269
232702003-02-26 David Carlton <carlton@math.stanford.edu>
23271
23272 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
23273 char *>::foo" test with respect to PR c++/33. Create a new test
23274 which is identical to that one except that it doesn't put the
23275 space between the "char" and the "*"; KFAIL it, too.
23276
232772003-02-26 David Carlton <carlton@math.stanford.edu>
23278
23279 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
23280 template types into either PASSes or KFAILs (corresponding to PR
23281 c++/57). Tweak indentation. Update copyright.
23282
232832003-02-23 Stephane Carrez <stcarrez@nerim.fr>
23284
23285 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
23286
232872003-02-13 Michael Chastain <mec@shout.net>
23288
23289 * gdb.base/exprs.exp: Remove i960 remnants.
23290 * gdb.base/funcargs.exp: Likewise.
23291 * gdb.base/list.exp: Likewise.
23292 * gdb.base/ptype.exp: Likewise.
23293
232942003-02-14 David Carlton <carlton@math.stanford.edu>
23295
23296 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
23297 pEe->D::vg()" from XFAIL to KFAIL.
23298
232992003-02-13 Jason Molenda (jmolenda@apple.com)
23300
23301 * gdb.base/maint.exp: Update maint print statistics regexp to include
23302 new entries.
23303
233042003-02-13 Michael Chastain <mec@shout.net>
23305
23306 * gdb.c++/inherit.exp: Remove call to get_debug_format.
23307
233082003-02-12 Michael Chastain <mec@shout.net>
23309
23310 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
23311 * gdb.c++/inherit.exp: Likewise.
23312 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
23313 * gdb.c++/templates.exp: Likewise.
23314 * gdb.c++/virtfunc.exp: Likewise.
23315
233162003-02-06 Jason Molenda (jason-cl@molenda.com)
23317
23318 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
23319 why the code is written that way.
23320
233212003-02-05 Michael Chastain <mec@shout.net>
23322
23323 * gdb.base/dump.exp: Add missing copyright line.
23324
233252003-02-05 Jason Molenda (jason-cl@molenda.com)
23326
23327 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
23328 at the beginning so the breakpoint doesn't get set on the loop.
23329
233302003-02-05 Michael Chastain <mec@shout.net>
23331
23332 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
23333 output for configurations with gcc 2.95.3.
23334
233352003-02-05 Keith Seitz <keiths@redhat.com>
23336 Andrew Cagney <ac131313@redhat.com>
23337
23338 * gdb.mi/mi-cli.exp: New file.
23339
233402003-02-04 Michael Chastain <mec@shout.net>
23341
23342 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
23343 Call perror and then continue.
23344
233452003-02-03 Michael Chastain <mec@shout.net>
23346
23347 * gdb.c++/pr-1023.cc: New file.
23348 * gdb.c++/pr-1023.exp: New file.
23349
233502003-02-05 Jim Blandy <jimb@redhat.com>
23351
23352 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23353 it's local to foobar. Check for it there, and check that it's not
23354 present in main.
23355 * gdb.c++/local.cc (marker2): New function.
23356 (foobar): Call marker1.
23357 (main): Call marker2 instead of marker1.
23358
233592003-02-04 Andrew Cagney <ac131313@redhat.com>
23360
23361 * gdb.disasm/mn10200.exp: Obsolete file.
23362 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23363 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23364 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23365
233662003-02-04 David Carlton <carlton@math.stanford.edu>
23367
23368 * gdb.c++/overload.exp: Test intToChar(1).
23369 * gdb.c++/overload.cc (intToChar): New.
23370 (main): Call intToChar.
23371
233722003-02-03 David Carlton <carlton@math.stanford.edu>
23373
23374 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23375 'might_kfail' arg.
23376 KFAIL some of the continue_to_bp_overloaded calls, according to
23377 PR c++/1025.
23378
233792003-02-01 Michael Chastain <mec@shout.net>
23380
23381 * gdb.base/advance.c (marker1): New marker function.
23382 * gdb.base/advance.exp: When the 'advance' command lands on the
23383 return breakpoint, it can legitimately stop on either the
23384 current line or the next line. Accommodate both outcomes.
23385 * gdb.base/until.exp: Likewise.
23386
233872003-02-02 Andrew Cagney <ac131313@redhat.com>
23388
23389 2002-11-10 Jason Molenda (jason-cl@molenda.com):
23390 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23391 now a list, not a tuple.
23392 * gdb.mi/mi-var-display.exp: Ditto.
23393 * gdb.mi/gdb792.exp: Ditto.
23394
233952003-02-01 Andrew Cagney <ac131313@redhat.com>
23396
23397 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
23398 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23399 stack backtraces.
23400 * gdb.mi/mi-syn-frame.c: Part of same.
23401
234022003-02-01 Mark Kettenis <kettenis@gnu.org>
23403
23404 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23405 gdb.mi/mi1-pthreads.exp: Return instead of calling
23406 gdb_suppress_entire_file.
23407
234082003-02-01 Mark Salter <msalter@redhat.com>
23409
23410 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23411
234122003-01-31 Mark Salter <msalter@redhat.com>
23413
23414 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23415 Support empty arg.
23416
234172003-01-30 Michael Chastain <mec@shout.net>
23418
23419 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23420 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23421 has been fixed in gdb/readline on 2003-01-09.
23422
234232003-01-29 Michael Snyder <msnyder@redhat.com>
23424
23425 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23426 * gdb.base/display.exp: Allow for leading underscore in symbol.
23427 * gdb.base/args.exp: Skip if target does not support args passing.
23428
234292003-01-22 Daniel Jacobowitz <drow@mvista.com>
23430
23431 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
23432 gdb_test. Accept a list of expect arguments as the third
23433 parameter.
23434 (gdb_test): Use it.
23435
234362003-01-20 Elena Zannoni <ezannoni@redhat.com>
23437
23438 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23439 allow for different test tree configurations. Update some
23440 tescases accordingly.
23441 * gdb.arch/altivec-regs.exp: Ditto.
23442 * gdb.asm/asm-source.exp: Ditto.
23443 * gdb.base/advance.exp: Ditto.
23444 * gdb.base/display.exp: Ditto.
23445 * gdb.base/long_long.exp: Ditto.
23446 * gdb.base/mips_pro.exp: Ditto.
23447 * gdb.base/overlays.exp: Ditto.
23448 * gdb.base/relocate.exp: Ditto.
23449 * gdb.base/setshow.exp: Ditto.
23450 * gdb.base/step-line.exp: Ditto.
23451 * gdb.base/step-test.exp: Ditto.
23452 * gdb.base/until.exp: Ditto.
23453 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23454
234552003-01-17 David Carlton <carlton@math.stanford.edu>
23456
23457 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23458 corresponding to PR c++/945.
23459 Update copyright.
23460
234612003-01-17 David Carlton <carlton@math.stanford.edu>
23462
23463 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23464 corresponding to PR c++/68.
23465
234662003-01-17 David Carlton <carlton@math.stanford.edu>
23467
23468 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23469 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23470 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23471
234722003-01-15 Elena Zannoni <ezannoni@redhat.com>
23473
23474 * gdb.base/break.exp: Fix change of default location, because of
23475 removal of until tests.
23476 * gdb.base/help.exp: Update test for new 'until' help message.
23477 Add test for help on 'advance'.
23478 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
23479
234802003-01-15 Mark Kettenis <kettenis@gnu.org>
23481
23482 * gdb.base/default.exp: Adapt "info float" test for recent changes
23483 to that command. Add test for "info vector".
23484 * gdb.base/float.exp: New file. Add test for "info float" that
23485 resembles the old test in gdb.base/default.exp.
23486
234872003-01-15 David Carlton <carlton@math.stanford.edu>
23488
23489 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23490
234912003-01-15 Elena Zannoni <ezannoni@redhat.com>
23492
23493 * gdb.base/break.exp: Move the tests of until command from here...
23494 * gdb.base/until.exp: ... to here. New file. Add other tests.
23495 * gdb.base/advance.c: New file.
23496 * gdb.base/advance.exp: New file.
23497
234982003-01-14 Elena Zannoni <ezannoni@redhat.com>
23499
23500 * gdb.base/args.c: New file.
23501 * gdb.base/args.exp: New file.
23502
235032003-01-14 Daniel Jacobowitz <drow@mvista.com>
23504
23505 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23506
235072003-01-14 Daniel Jacobowitz <drow@mvista.com>
23508
23509 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23510
235112003-01-14 Daniel Jacobowitz <drow@mvista.com>
23512
23513 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23514 dates.
23515
235162003-01-13 Daniel Jacobowitz <drow@mvista.com>
23517
23518 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23519
235202003-01-13 Daniel Jacobowitz <drow@mvista.com>
23521
23522 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23523 (ptype &*"foo").
23524 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23525
235262003-01-13 Daniel Jacobowitz <drow@mvista.com>
23527
23528 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23529 * gdb.mi/mi1-console.exp: Likewise.
23530
235312003-01-13 Daniel Jacobowitz <drow@mvista.com>
23532
23533 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23534 * gdb.mi/mi1-console.exp: Likewise.
23535
235362003-01-13 Daniel Jacobowitz <drow@mvista.com>
23537
23538 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23539
235402003-01-09 Daniel Jacobowitz <drow@mvista.com>
23541
23542 * gdb.base/detach.exp: New test.
23543
235442003-01-09 Daniel Jacobowitz <drow@mvista.com>
23545
23546 * Makefile.in (ALL_SUBDIRS): New variable.
23547 (subdirs, clean, distclean): Use it.
23548 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23549 regenerating Makefile, since it is generated from the top level.
23550 * gdb.asm/Makefile.in: Likewise.
23551 * gdb.base/Makefile.in: Likewise.
23552 * gdb.c++/Makefile.in: Likewise.
23553 * gdb.disasm/Makefile.in: Likewise.
23554 * gdb.java/Makefile.in: Likewise.
23555 * gdb.mi/Makefile.in: Likewise.
23556 * gdb.threads/Makefile.in: Likewise.
23557 * gdb.trace/Makefile.in: Likewise.
23558
235592003-01-09 David Carlton <carlton@math.stanford.edu>
23560
23561 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23562 Add copyright year 2003.
23563
235642003-01-06 Michael Chastain <mec@shout.net>
23565
23566 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23567 When selecting a thread, 'line' and 'file' are optional.
23568 * gdb.mi/mi1-pthreads.exp: Likewise.
23569
235702003-01-06 Andreas Schwab <schwab@suse.de>
23571
23572 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23573 failures.
23574
235752003-01-04 Daniel Jacobowitz <drow@mvista.com>
23576
23577 Fix PR gdb/844
23578 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23579 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23580
23581 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23582 instead of calling gdb_suppress_entire_file.
23583 * gdb.threads/print-threads.exp: Likewise.
23584 * gdb.threads/schedlock.exp: Likewise.
23585
23586 * gdb.threads/killed.exp: Return instead of calling
23587 gdb_suppress_entire_file.
23588 * gdb.threads/linux-dp.exp: Likewise.
23589 * gdb.threads/pthreads.exp: Likewise.
23590
235912003-01-04 Daniel Jacobowitz <drow@mvista.com>
23592
23593 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23594 stabs.
23595 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23596 * gdb.base/whatis.exp: Always allow (void) after function names.
23597
235982003-01-04 Daniel Jacobowitz <drow@mvista.com>
23599
23600 * gdb.c++/casts.exp: Correct regexp.
23601
236022003-01-04 Mark Kettenis <kettenis@gnu.org>
23603
23604 * configure.in: Call AC_CONFIG_HEADER. Don't call
23605 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23606 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23607 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23608 aforementioned directories in the AC_OUPUT call.
23609 * config.hin: New file.
23610 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23611 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23612 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23613 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23614 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23615 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23616 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23617 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23618 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23619 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23620 gdb.threads/configure.in, gdb.threads/configure,
23621 gdb.threads/config.in, gdb.trace/configure.in,
23622 gdb.trace/configure: Removed.
23623
236242003-01-03 Michael Chastain <mec@shout.net>
23625
23626 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23627 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23628
236292003-01-03 Daniel Jacobowitz <drow@mvista.com>
23630
23631 * gdb.base/store.exp: Fix regular expressions.
23632
236332002-12-28 Mark Kettenis <kettenis@gnu.org>
23634
23635 * configure.in: Rewrite.
23636 * configure: Regenerated.
23637
236382003-01-03 David Carlton <carlton@math.stanford.edu>
23639
23640 * gdb.base/psymtab.exp: New file.
23641 * gdb.base/psymtab1.c: Ditto.
23642 * gdb.base/psymtab2.c: Ditto.
23643
236442002-12-23 Adam Fedor <fedor@gnu.org>
23645
23646 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23647
236482002-12-23 David Carlton <carlton@math.stanford.edu>
23649
23650 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23651 and current_directory initialization.
23652
236532002-12-22 Jim Blandy <jimb@redhat.com>
23654
23655 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23656 rather than as part of the output file name.
23657
23658 * gdb.base/attach.exp: There's no need to copy the test program to
23659 /tmp; that was only ever necessary on HP/UX, and this test is
23660 entirely disabled there anyway.
23661
236622002-12-21 Jim Blandy <jimb@redhat.com>
23663
23664 * gdb.c++/psmang.exp: Doc fix.
23665
23666 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23667 test.
23668
236692002-12-20 David Carlton <carlton@math.stanford.edu>
23670
23671 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23672
236732002-12-18 Michael Chastain <mec@shout.net>
23674
23675 * gdb.c++/annota2.exp: Add copyright year 2002.
23676
236772002-12-17 David Carlton <carlton@math.stanford.edu>
23678
23679 * gdb.c++/try_catch.cc: Add marker comments.
23680 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23681 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23682 * gdb.c++/m-static.cc: Ditto.
23683 * gdb.c++/m-static1.cc: Ditto.
23684 * gdb.c++/try_catch.cc: Ditto.
23685
236862002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23687
23688 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23689 to see whether we are using the new -environment-directory
23690 command which resets via -r or the old version of the command
23691 which may prompt the user. Part of fix for gdb/741.
23692
236932002-12-13 Andrew Cagney <ac131313@redhat.com>
23694
23695 * gdb.fortran/types.exp: Update obsolete comment.
23696 * gdb.fortran/exprs.exp: Ditto.
23697 * lib/gdb.exp: Delete obsolete code.
23698 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23699 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23700 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23701 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23702 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23703 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23704 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23705 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23706 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23707 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23708 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23709 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23710 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23711 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23712 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23713 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23714 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23715 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23716 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23717 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23718 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23719 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23720 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23721 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23722 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23723 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23724 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23725 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23726 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23727 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23728 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23729 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23730 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23731 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23732 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23733 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23734 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23735
237362002-12-11 David Carlton <carlton@math.stanford.edu>
23737
23738 * gdb.c++/m-data.exp: Add test for members that shadow global
23739 variables: see PR gdb/804.
23740 * gdb.c++/m-data.cc: Ditto.
23741
237422002-12-10 Daniel Jacobowitz <drow@mvista.com>
23743
23744 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23745
237462002-12-06 David Carlton <carlton@math.stanford.edu>
23747
23748 * gdb.base/store.c: Don't declare functions static.
23749
237502002-12-04 Andrew Cagney <ac131313@redhat.com>
23751
23752 * gdb.base/store.exp, gdb.base/store.c: New files.
23753
237542002-12-03 Daniel Jacobowitz <drow@mvista.com>
23755
23756 * gdb.base/selftest.exp: Update for current gdb.
23757
237582002-12-03 Daniel Jacobowitz <drow@mvista.com>
23759
23760 * gdb.base/maint.exp: Only dump symbols from one source file
23761 or objfile.
23762
237632002-12-03 Daniel Jacobowitz <drow@mvista.com>
23764
23765 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23766 function call.
23767
237682002-11-25 Jim Blandy <jimb@redhat.com>
23769
23770 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23771 function appearing in error message.
23772
237732002-11-21 Daniel Jacobowitz <drow@mvista.com>
23774
23775 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23776
237772002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23778
23779 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23780 for mi1 and current mi is in correct format. New mi startup message
23781 should be in mi console format. This is part of fix for PR gdb/604.
23782
237832002-09-18 Fernando Nasser <fnasser@redhat.com>
23784
23785 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23786 which explicitly prints the zero offset as "+0".
23787
237882002-10-22 Daniel Jacobowitz <drow@mvista.com>
23789
23790 * gdb.threads/schedlock.c (args): Make unsigned.
23791
237922002-10-21 Daniel Jacobowitz <drow@mvista.com>
23793
23794 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23795 numbers. Allow "foo2|selected stack frame".
23796 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23797 * gdb.asm/asmsrc2.s: Likewise.
23798 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23799 comments.
23800 * gdb.asm/mips.inc: New file.
23801
238022002-10-18 Adam Fedor <fedor@gnu.org>
23803
23804 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23805 * gdb.base/help.exp: Likewise.
23806
238072002-10-17 Kevin Buettner <kevinb@redhat.com>
23808
23809 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23810 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23811
238122002-10-02 Jim Blandy <jimb@redhat.com>
23813
23814 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23815
238162002-10-01 Andrew Cagney <ac131313@redhat.com>
23817
23818 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23819 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23820 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23821 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23822 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23823 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23824 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23825
238262002-09-29 Andrew Cagney <ac131313@redhat.com>
23827
23828 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23829 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23830 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23831 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23832 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23833 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23834 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23835
238362002-09-27 Kevin Buettner <kevinb@redhat.com>
23837
23838 * gdb.base/annota1.exp (info break): Make directory components of
23839 path optional since not all compilers emit this debug information.
23840
23841 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23842 step ends up stepping out of the function instead of stopping on
23843 the epilogue.
23844
238452002-09-26 Keith Seitz <keiths@redhat.com>
23846
23847 * lib/insight-support.exp (gdbtk_start): Figure out where
23848 the insight executable is based on where gdb is. Use this
23849 executable to start insight instead of gdb.
23850
238512002-09-25 Andrew Cagney <cagney@redhat.com>
23852
23853 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23854
238552002-09-24 Andrew Cagney <ac131313@redhat.com>
23856
23857 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23858 test_isolated_complaints.
23859 (test_empty_complaint): New function.
23860 (test_empty_complaints): New function. Check no output when no
23861 complaints.
23862
238632002-09-19 Jim Blandy <jimb@redhat.com>
23864
23865 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23866
238672002-09-19 Andrew Cagney <ac131313@redhat.com>
23868
23869 * gdb.gdb/complaints.exp: New file.
23870
238712002-09-18 Andrew Cagney <ac131313@redhat.com>
23872
23873 * gdb.base/maint.exp: Check `help maint internal-warning'.
23874
238752002-09-18 David Carlton <carlton@math.stanford.edu>
23876
23877 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23878 numbers, and replace them by a single breakpoint after the
23879 constructors are all finished.
23880 Add test 4.
23881 * gdb.c++/m-static.cc: Add test 4.
23882 * gdb.c++/m-static.h: New file.
23883 * gdb.c++/m-static1.cc: New file.
23884
23885 * gdb.c++/printmethod.exp: New file.
23886 * gdb.c++/printmethod.cc: New file.
23887
23888 * gdb.c++/pr-574.exp: New file.
23889 * gdb.c++/pr-574.cc: New file.
23890
238912002-09-18 Corinna Vinschen <vinschen@redhat.com>
23892
23893 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23894 embedded targets which never actually exit.
23895
238962002-09-18 Fernando Nasser <fnasser@redhat.com>
23897
23898 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23899 "don't step after run" as unresolved or unsupported, instead of xfail.
23900
239012002-09-18 Corinna Vinschen <vinschen@redhat.com>
23902
23903 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23904 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23905 Add newline to expected string in "step out of main (status wrapper)"
23906 case.
23907
239082002-09-18 Corinna Vinschen <vinschen@redhat.com>
23909
23910 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23911 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23912
239132002-09-17 Tom Tromey <tromey@redhat.com>
23914
23915 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23916 \000, not \0, in double-quoted string.
23917
239182002-09-14 Corinna Vinschen <vinschen@redhat.com>
23919
23920 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23921 string after running the commands execution on breakpoint tests.
23922
239232002-09-13 Corinna Vinschen <vinschen@redhat.com>
23924
23925 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23926
239272002-09-12 Joel Brobecker <brobecker@gnat.com>
23928
23929 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23930
239312002-09-10 Keith Seitz <keiths@redhat.com>
23932
23933 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23934 runto proc.
23935 (mi_run_to_main): Use mi_runto.
23936 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23937
239382002-09-10 Keith Seitz <keiths@redhat.com>
23939
23940 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23941 regexp for stopping at main. Could have multiple event notifications.
23942 Don't assume that main was declared with no parameters.
23943 (mi_next): Use mi_step_to.
23944 (mi_step): Use mi_next_to.
23945
239462002-09-09 Corinna Vinschen <vinschen@redhat.com>
23947
23948 * gdb.base/default.exp: Fix expected string in `info float' test.
23949
239502002-09-09 Ben Elliston <bje@redhat.com>
23951
23952 * config/mips.exp: Update comments.
23953 * config/mips-idt.exp: Likewise.
23954 * config/nind.exp: Likewise.
23955 * config/slite.exp: Likewise.
23956 * config/sparclet.exp: Likewise.
23957 * config/udi.exp: Likewise.
23958 * config/vx.exp: Likewise.
23959 * config/vxworks29k.exp: Likewise.
23960
239612002-09-05 Jim Blandy <jimb@redhat.com>
23962
23963 * gdb.threads/killed.exp: Fix test failure message.
23964
239652002-09-04 Keith Seitz <keiths@redhat.com>
23966
23967 * lib/mi-support.exp: Update copyright.
23968 (mi_gdb_test): Increase the priority of the expected pattern
23969 so that it matches gdb_test.
23970
239712002-09-03 Keith Seitz <keiths@redhat.com>
23972
23973 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23974 Use integer comparison instead of string comparison for testing
23975 whether binary was built.
23976
239772002-09-03 Jim Blandy <jimb@redhat.com>
23978
23979 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23980
239812002-08-29 Jim Blandy <jimb@redhat.com>
23982
23983 * gdb.threads/pthreads.exp: Move the portable thread compilation
23984 code into a function in lib/gdb.exp, and call that from here.
23985 * lib/gdb.exp (gdb_compile_pthreads): New function.
23986
239872002-08-29 Keith Seitz <keiths@redhat.com>
23988
23989 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23990 expect_out so that callers can get at it.
23991
239922002-08-23 Daniel Jacobowitz <drow@mvista.com>
23993
23994 * gdb.threads/print-threads.c: New file.
23995 * gdb.threads/print-threads.exp: New file.
23996 * gdb.threads/schedlock.c: New file.
23997 * gdb.threads/schedlock.exp: New file.
23998
239992002-08-22 Elena Zannoni <ezannoni@redhat.com>
24000
24001 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
24002 not altivec.c.
24003
240042002-08-17 Mark Kettenis <kettenis@gnu.org>
24005
24006 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
24007 targets. The problem should be fixed now.
24008
240092002-08-15 Mark Kettenis <kettenis@gnu.org>
24010
24011 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
24012 2002-07-24 change that removes final dots from error messages.
24013
240142002-08-13 Tom Tromey <tromey@redhat.com>
24015
24016 * gdb.base/readline.exp: New file.
24017
240182002-08-01 Andrew Cagney <ac131313@redhat.com>
24019
24020 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
24021 supress message.
24022
240232002-08-01 Andrew Cagney <cagney@redhat.com>
24024
24025 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
24026 CHILL_FOR_TARGET and CHILL_LIB.
24027 * configure.in (configdirs): Remove gdb.chill.
24028 * configure: Regenerate.
24029 * lib/gdb.exp: Obsolete references to chill.
24030 * gdb.fortran/types.exp: Ditto.
24031 * gdb.fortran/exprs.exp: Ditto.
24032
240332002-07-30 Kevin Buettner <kevinb@redhat.com>
24034
24035 * gdb.base/shlib-call.exp (additional_flags): Conditionally
24036 set Irix-specific compile and link flags.
24037
240382002-07-29 Kevin Buettner <kevinb@redhat.com>
24039
24040 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
24041 source files. The ``-o'' option doesn't work with the ``-E'' option
24042 when using the Irix compiler.
24043
240442002-07-19 Daniel Jacobowitz <drow@mvista.com>
24045
24046 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
24047 Improve support for reusing an exec file. Copy exec file
24048 to target, and run gdbserver on the target instead of on the host.
24049
240502002-07-18 Jim Blandy <jimb@redhat.com>
24051
24052 * gdb.base/ending-run.exp: Don't expect to see the program end in
24053 some orderly fashion when we're running on a real stand-alone
24054 board.
24055
24056 * gdb.base/interrupt.exp: Correct logic for skipping tests on
24057 targets that don't support interrupts.
24058
240592002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
24060
24061 * gdb.base/attach.exp: Add patterns to match output from /proc-based
24062 systems.
24063 Move comments in expect statements to inside the actions, so that they
24064 don't get matched against.
24065
240662002-07-10 Mark Kettenis <kettenis@gnu.org>
24067
24068 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
24069 function when asleep" test.
24070
240712002-07-10 Andrew Cagney <ac131313@redhat.com>
24072
24073 * gdb.base/page.exp: Rewrite to handle problems with very long
24074 `info set' output. Update copyright.
24075
240762002-06-26 Andrew Cagney <ac131313@redhat.com>
24077
24078 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
24079 gdb.threads-hp.
24080 * gdb.hp/configure: Regenerate.
24081 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
24082 * gdb.hp/gdb.threads-hp/configure: Delete file.
24083 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
24084
240852002-06-22 Andrew Cagney <ac131313@redhat.com>
24086
24087 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
24088 setlocale, bindtextdomain and textdomain.
24089
240902002-06-11 Jim Blandy <jimb@redhat.com>
24091
24092 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
24093 preprocessor macro information is present.
24094
24095 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
24096 tests.
24097
240982002-06-06 Michael Snyder <msnyder@redhat.com>
24099
24100 * gdb.base/overlays.exp: Record addresses of overlay
24101 functions in TCL variables rather than in GDB variables,
24102 to avoid having GDB convert them to pointers (with loss
24103 of information).
24104
24105 * gdb.base/d10v.ld: Merge in several years worth of
24106 default linker script changes.
24107 * gdb.base/long_long.exp: Add check for sizeof (long double).
24108
241092002-06-06 Michal Ludvig <mludvig@suse.cz>
24110
24111 * gdb.asm/asm-source.exp: Add x86-64 target.
24112 * gdb.asm/x86_64.inc: New.
24113
241142002-05-30 Michael Chastain <mec@shout.net>
24115
24116 From Benjamin Kosnik <bkoz@redhat.com>:
24117 * gdb.c++/m-static.cc: New file.
24118 * gdb.c++/m-static.exp: New file.
24119
241202002-05-28 Michael Snyder <msnyder@redhat.com>
24121
24122 * gdb.base/call-ar-st.exp: Allow for reduced floating point
24123 precision.
24124
241252002-05-27 Michael Chastain <mec@shout.net>
24126
24127 From Benjamin Kosnik <bkoz@redhat.com>:
24128 * gdb.c++/m-data.cc: New file.
24129 * gdb.c++/m-data.exp: New file.
24130
241312002-05-27 Michael Chastain <mec@shout.net>
24132
24133 From Benjamin Kosnik <bkoz@redhat.com>:
24134 * gdb.c++/try_catch.cc: New file.
24135 * gdb.c++/try_catch.exp: New file.
24136
241372002-05-27 Michael Chastain <mec@shout.net>
24138
24139 * gdb.c++/local.exp: Accept more nested types in output.
24140
241412002-05-26 Michael Chastain <mec@shout.net>
24142
24143 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
24144
241452002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
24146
24147 * lib/gdb.exp (gdb_wrapper_init): Just because
24148 gdb_wrapper_file exists, this does not mean that the file
24149 should not be rebuilt. That is what gdb_wrapper_initialized
24150 is for.
24151 (default_gdb_init): Reset gdb_wrapper_initialized.
24152
241532002-05-23 Michael Snyder <msnyder@redhat.com>
24154
24155 * gdb.base/all-bin.exp: Revise previous patch by just reducing
24156 the precision of the floating point test results.
24157 * gdb.base/call-rt-st.exp: Ditto.
24158
24159 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
24160 * gdb.base/call-rt-st.exp: Ditto.
24161
241622002-05-19 Michael Chastain <mec@shout.net>
24163
24164 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
24165
241662002-05-19 Elena Zannoni <ezannoni@redhat.com>
24167
24168 * configure.in (configdirs): Add gdb.arch.
24169 * configure: Regenerate.
24170
241712002-05-17 Jim Blandy <jimb@redhat.com>
24172
24173 * gdb.base/completion.exp: Recognize the more detailed error
24174 messages produced by the macro expander's lexical analyzer.
24175
241762002-05-14 Elena Zannoni <ezannoni@redhat.com>
24177
24178 * gdb.arch/altivec-abi.c: New file.
24179 * gdb.arch/altivec-abi.exp: New file.
24180 * gdb.arch/altivec-regs.c: New file.
24181 * gdb.arch/altivec-regs.exp: New file.
24182
241832002-05-14 Daniel Jacobowitz <drow@mvista.com>
24184
24185 * gdb.base/maint.exp (maint print type): Update for new type
24186 structure.
24187
241882002-05-14 Elena Zannoni <ezannoni@redhat.com>
24189
24190 * gdb.arch: New directory.
24191 * gdb.arch/configure.in: New file.
24192 * gdb.arch/configure: New file.
24193 * gdb.arch/Makefile.in: New file.
24194
241952002-05-13 Corinna Vinschen <vinschen@redhat.com>
24196
24197 * gdb.asm/asm-source.exp: Add v850 as supported target.
24198 * gdb.asm/v850.inc: New file.
24199
242002002-05-13 Daniel Jacobowitz <drow@mvista.com>
24201
24202 * gdb.c++/annota2.exp (annotate-quit): Add comment.
24203
242042002-05-12 Daniel Jacobowitz <drow@mvista.com>
24205
24206 * gdb.base/break.exp: Check 'break "marker2"'.
24207
242082002-05-10 Michael Snyder <msnyder@redhat.com>
24209
24210 * gdb.base/long_long.exp: Fix typo.
24211
242122002-05-10 Jim Blandy <jimb@redhat.com>
24213
24214 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
24215 a bug.
24216
24217 * gdb.base/printcmds.exp (test_integer_literals_rejected):
24218 Recognize more detailed error message produced by the macro
24219 expander's lexical analyzer.
24220 * lib/gdb.exp (test_print_reject): Same.
24221
242222002-05-09 Mark Kettenis <kettenis@gnu.org>
24223
24224 * gdb.c++/method.exp: Fix typo.
24225
242262002-05-08 Michael Snyder <msnyder@redhat.com>
24227
24228 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
24229 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
24230 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
24231 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
24232 Add iftarget clause for strongarm.
24233
242342002-05-06 Michael Snyder <msnyder@redhat.com>
24235
24236 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
24237 (gdb_continue_to_end): Accept output from status wrapper.
24238 * gdb.base/ending-run.exp: Add case for output from status wrapper.
24239 Clean up fail messages to match pass messages.
24240
24241 Enable the "needs_status_wrapper" testsuite feature.
24242 * lib/gdb.exp (gdb_wrapper_init): New procedure.
24243 (gdb_compile): Conditionally call gdb_wrapper_init.
24244 * gdb.base/a2-run.exp: Recognize output from status wrapper.
24245 * gdb.c++/method.exp: Recognize output from status wrapper.
24246
242472002-05-06 Ben Elliston <bje@redhat.com>
24248From Graydon Hoare <graydon@redhat.com>
24249
24250 * config/sid.exp: Include support for "rawsid" protocol.
24251
242522002-05-03 Jim Blandy <jimb@redhat.com>
24253
24254 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
24255 * gdb.c++/hang3.C: New file.
24256
242572002-05-04 Andrew Cagney <ac131313@redhat.com>
24258
24259 * gdb.base/default.exp: Remove obsolete code.
24260 * gdb.c++/misc.exp: Ditto. Update copyright.
24261 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
24262 * gdb.base/whatis.exp: Ditto. Update copyright.
24263 * gdb.base/scope.exp: Ditto. Update copyright.
24264 * gdb.base/ptype.exp: Ditto. Update copyright.
24265 * gdb.base/printcmds.exp: Ditto. Update copyright.
24266 * gdb.base/opaque.exp: Ditto. Update copyright.
24267 * gdb.base/list.exp: Ditto.
24268 * gdb.base/funcargs.exp: Ditto. Update copyright.
24269 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
24270 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
24271 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
24272 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
24273 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
24274 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
24275
242762002-05-02 Michael Snyder <msnyder@redhat.com>
24277
24278 * gdb.base/watchpoint.exp: Add xscale target.
24279 * gdb.base/long_long.exp: Add xscale target.
24280 * gdb.base/default.exp: Add xscale target.
24281
242822002-05-01 Jim Blandy <jimb@redhat.com>
24283
24284 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
24285 gdb.c++/hang.exp: New test.
24286
242872002-05-01 Fred Fish <fnf@redhat.com>
24288
24289 * gdb.base/completion.exp: Handle completions of "./Make" for
24290 more than one completion possibility, as is the case when we
24291 build and test in the source tree.
24292
242932002-04-29 Anthony Green <green@redhat.com>
24294
24295 * gdb.java/jmisc1.exp: New file.
24296 * gdb.java/jmisc2.exp: New file.
24297
242982002-04-24 Daniel Jacobowitz <drow@mvista.com>
24299
24300 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
24301
243022002-04-23 Elena Zannoni <ezannoni@redhat.com>
24303
24304 * gdb.base/help.exp: Change 'help status' to allow for target
24305 dependent output differences.
24306
243072002-04-22 Michael Chastain <mec@shout.net>
24308
24309 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
24310
243112002-04-22 Michael Chastain <mec@shout.net>
24312
24313 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
24314
243152002-04-17 David S. Miller <davem@redhat.com>
24316
24317 * gdb.asm/sparc64.inc: New file.
24318 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
24319
243202002-04-19 Elena Zannoni <ezannoni@redhat.com>
24321
24322 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
24323 instruction file directly into the build tree. Clean up at end of
24324 test.
24325
243262002-04-18 David S. Miller <davem@redhat.com>
24327
24328 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
24329 handle 64-bit platforms correctly.
24330 * gdb.base/maint.exp: Likewise.
24331
243322002-04-18 Kevin Buettner <kevinb@redhat.com>
24333
24334 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
24335 ``-fpic'' when compiling files comprising a shared library, but
24336 it does need additional linker flags in order to find shared
24337 libraries at run time.
24338
243392002-04-18 Kevin Buettner <kevinb@redhat.com>
24340
24341 * gdb.base/cvexpr.c (use): New function.
24342 (main): Invoke use() on all global variables to prevent
24343 some linkers from deleting these otherwise unused symbols.
24344
243452002-04-17 Michael Chastain <mec@shout.net>
24346From David S. Miller <davem@redhat.com>
24347
24348 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24349 handle 64-bit platforms correctly.
24350
243512002-04-12 Michael Snyder <msnyder@redhat.com>
24352From Jim Blandy <jimb@redhat.com>
24353 * gdb.base/foo.c (foox): Remove section attribute; the linker
24354 script can handle this instead.
24355 * gdb.base/bar.c (barx): Same.
24356 * gdb.base/baz.c (bazx): Same.
24357 * gdb.base/grbx.c (grbxx): Same.
24358
24359 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24360 manager doesn't automatically unmap overlays unnecessarily.
24361
243622002-04-10 Martin M. Hunt <hunt@redhat.com>
24363
24364 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24365 stepping out of main.
24366
243672002-04-09 Michael Chastain <mec@shout.net>
24368
24369 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24370 scope so that the nested scope tests will make sense.
24371 * gdb.c++/local.exp: Write patterns that actually work with gcc
24372 (the HP patterns "were never known to work with gcc").
24373 Keep the old aCC patterns too.
24374
243752002-04-09 Daniel Jacobowitz <drow@mvista.com>
24376
24377 * gdb.base/attach.exp: Correct target board test.
24378
243792002-04-08 Michael Chastain <mec@shout.net>
24380
24381 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24382 in a const method. Add some xfail and fail cases for configurations
24383 that do not emit the "const ...".
24384
243852002-04-07 Michael Chastain <mec@shout.net>
24386
24387 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24388 Accept "A * const" and "const A * const" as type of "this".
24389 Fix spelling of getFunky throughout. Make messages uniform.
24390
243912002-04-07 Elena Zannoni <ezannoni@redhat.com>
24392
24393 Work around for PR gdb/285:
24394 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24395
243962002-04-07 Elena Zannoni <ezannoni@redhat.com>
24397
24398 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24399 instructions file at run time instead of configure time.
24400 Sometimes we run the test in a directory that is not the one we
24401 configured in.
24402 * gdb.asm/configure.in: Delete creation of symlink.
24403 * gdb.asm/configure: Regenerate.
24404
244052002-04-05 J. Brobecker <brobecker@gnat.com>
24406
24407 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24408 xfullpath () function.
24409
244102002-04-04 Daniel Jacobowitz <drow@mvista.com>
24411
24412 * gdb.asm/Makefile.in: Correct dependencies.
24413
24414 * gdb.asm/powerpc.inc: New file.
24415 * gdb.asm/asm-source.exp: Add PowerPC.
24416 * gdb.asm/configure.in: Likewise.
24417 * gdb.asm/configure: Regenerated.
24418
244192002-04-04 Daniel Jacobowitz <drow@mvista.com>
24420
24421 * gdb.base/relocate.exp: New file.
24422 * gdb.base/relocate.c: New file.
24423
244242002-04-04 Fred Fish <fnf@redhat.com>
24425
24426 * gdb.base/step-test.exp: Update comment regarding stopping in
24427 memcpy/bcopy calls inserted as part of the compiler runtime.
24428
244292002-04-04 Michael Snyder <msnyder@redhat.com>
24430
24431 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24432
244332002-04-03 Daniel Jacobowitz <drow@mvista.com>
24434
24435 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24436 (gdb_expect): Remove $notransfer hack.
24437
244382002-04-02 Daniel Jacobowitz <drow@mvista.com>
24439
24440 * gdb.c++/classes.exp ("calling method for small class"): Match
24441 updated register output.
24442
244432002-03-30 Daniel Jacobowitz <drow@mvista.com>
24444
24445 Fix PR gdb/452
24446 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24447 when finished. Make gdb_file_cmd send "exec-file" when
24448 appropriate.
24449
244502002-03-30 Daniel Jacobowitz <drow@mvista.com>
24451
24452 * gdb.base/attach.exp: Remove extra setup_xfail.
24453
244542002-03-26 Michael Snyder <msnyder@redhat.com>
24455
24456 * gdb.base/default.exp: Add tests for dump, append, and restore.
24457 * gdb.base/help.exp: Add tests for dump, append, and restore.
24458 * gdb.base/dump.exp: New file, test dump, append and restore.
24459 * gdb.base/dump.c: New file.
24460
244612002-03-27 Michael Snyder <msnyder@redhat.com>
24462
24463 * gdb.base/help.exp: Modify expect strings to reflect
24464 clean-ups in help messages.
24465
244662002-03-26 Fred Fish <fnf@redhat.com>
24467
24468 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24469 have debugging info for those functions and the compiler uses them
24470 internally to copy structs around.
24471
244722002-03-26 Fred Fish <fnf@redhat.com>
24473
24474 * gdb.base/list.exp: Revert the change made yesterday and add note
24475 about why we don't list the default lines for remote targets.
24476
244772002-03-25 Michael Snyder <msnyder@redhat.com>
24478
24479 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24480
244812002-03-25 Fred Fish <fnf@redhat.com>
24482
24483 * gdb.base/list.exp: This test works on remote targets so remove
24484 the short circuit for remote targets. Update copyright.
24485
244862002-03-25 Fred Fish <fnf@redhat.com>
24487
24488 * gdb.base/attach.exp: Fix logic error that was suppressing this
24489 test for all non hppa*-*-hpux* targets, instead of the hp target.
24490 Move comments closer to the suppression point. Also now need to
24491 check that we are running natively.
24492
244932002-03-22 Michael Snyder <msnyder@redhat.com>
24494
24495 * gdb.base/default.exp: Add test for gcore. Update copyright.
24496 * gdb.base/help.exp: Add test for gcore. Update copyright.
24497
244982002-03-06 Fred Fish <fnf@redhat.com>
24499
24500 * gdb.base/funcargs.c: Remove extraneous ';' character.
24501 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24502
245032002-03-04 Michael Chastain <mec@shout.net>
24504
24505 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24506 accommodate gcc v3 function signature.
24507 * gdb.mi/mi0-var-cmd-exp: Ditto.
24508
245092002-02-24 Andrew Cagney <ac131313@redhat.com>
24510
24511 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24512 ``GNU/Linux'' or ``Linux kernel''
24513 * testsuite/gdb.threads/pthreads.c: Ditto.
24514
245152002-02-24 Michael Chastain <mec@shout.net>
24516
24517 * gdb.threads/pthreads.c (thread1): Add a return statement.
24518 (thread2): Likewise.
24519 (foo): Likewise.
24520
245212002-02-23 Michael Chastain <mec@shout.net>
24522
24523 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24524 to placate gcc.
24525
245262002-02-23 Michael Chastain <mec@shout.net>
24527
24528 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24529 test "ptype bint". The test passes on all my stabs configurations.
24530
245312002-02-21 Jim Blandy <jimb@redhat.com>
24532
24533 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24534 filename at a time, and watch for the ones we want to see.
24535
24536 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24537 types of pointers to prototyped functions.
24538
245392002-02-20 Andrew Cagney <ac131313@redhat.com>
24540
24541 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24542 signed, unsigned and straight char.
24543 (padding_char, padding_short, padding_int, padding_long,
24544 padding_long_long, padding_float, padding_double,
24545 padding_long_double): New global variables.
24546 (fill, fill_structs): New functions.
24547
24548 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24549 for correctly sized writes. Update copyright.
24550 (get_valueof): New procedure.
24551 (get_sizeof): Call get_valueof.
24552 (check_valueof): New procedure.
24553 (check_padding): New procedure.
24554
245552002-02-20 Michael Chastain <mec@shout.net>
24556
24557 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24558 to setup_xfail. Document some of the remaining calls.
24559
245602002-02-18 Michael Chastain <mec@shout.net>
24561
24562 * gdb.c++/userdef.exp: Update copyright year.
24563
245642002-02-18 Daniel Jacobowitz <drow@mvista.com>
24565
24566 * gdb.c++/userdef.exp: Test overloaded operators properly.
24567 Remove xfails.
24568
245692002-02-14 Michael Snyder <msnyder@redhat.com>
24570
24571 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24572
245732002-02-14 Daniel Jacobowitz <drow@mvista.com>
24574
24575 * gdb.base/a2-run.exp: Check for a remote target properly.
24576 * gdb.base/annota1.exp: Likewise.
24577 * gdb.base/list.exp: Likewise.
24578 * gdb.base/reread.exp: Likewise.
24579 * gdb.base/scope.exp: Likewise.
24580 * gdb.base/shlib-call.exp: Likewise.
24581 * gdb.base/term.exp: Likewise.
24582 * gdb.c++/annota2.exp: Likewise.
24583
245842002-02-13 Richard Earnshaw <rearnsha@arm.com>
24585
24586 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24587
245882002-02-10 Michael Chastain <mec@shout.net>
24589
24590 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24591 (call_after_alloca): Ditto.
24592
245932002-02-10 Daniel Jacobowitz <drow@mvista.com>
24594
24595 * gdb.base/ending-run.exp: Guard "cont" test with
24596 gdb_skip_stdio_test.
24597
245982002-02-06 Jim Blandy <jimb@redhat.com>
24599
24600 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24601 from here...
24602 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24603 To here. Disable this test on non-HP platforms. Add big comment.
24604
246052002-02-04 Michael Snyder <msnyder@redhat.com>
24606
24607 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24608 other than d10v and m32r.
24609
246102002-02-02 Richard Earnshaw <rearnsha@arm.com>
24611
24612 * gdb.base/default.exp: Rewrite test patterns to reduce time
24613 taken to match them.
24614
246152002-01-30 Daniel Jacobowitz <drow@mvista.com>
24616
24617 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24618 Allow a start function above main.
24619 * gdb.threads/linux-dp.exp: Fix copyright date.
24620
246212002-01-30 Daniel Jacobowitz <drow@mvista.com>
24622
24623 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24624 (check_philosopher_stack): Check for manager thread before checking
24625 for a just-starting thread.
24626
246272002-01-30 Daniel Jacobowitz <drow@mvista.com>
24628
24629 From Neil Booth <neil@daikokuya.demon.co.uk>:
24630 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24631 warnings.
24632
246332002-01-21 Fred Fish <fnf@redhat.com>
24634
24635 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24636 not caller.
24637
246382002-01-21 Jim Blandy <jimb@redhat.com>
24639
24640 * gdb.base/reread.exp: Check that GDB properly re-reads the
24641 executable file when it changes while no inferior is running.
24642
246432002-01-21 Fred Fish <fnf@redhat.com>
24644
24645 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24646 optionally accept the "shlib events" variation.
24647
246482002-01-21 Jim Blandy <jimb@redhat.com>
24649
24650 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24651 call `fflush' after every `printf', so that the output is produced
24652 at predictable points, regardless of whatever buffering does (or
24653 doesn't) take place.
24654 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24655 at different points.
24656
246572002-01-20 Daniel Jacobowitz <drow@mvista.com>
24658
24659 * gdb.c++/inherit.exp: Update copyright years.
24660 * gdb.c++/method.exp: Likewise.
24661
246622002-01-20 Daniel Jacobowitz <drow@mvista.com>
24663
24664 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24665 artificial methods/arguments.
24666 * gdb.c++/derivation.exp: Likewise.
24667 * gdb.c++/inherit.exp: Likewise.
24668 * gdb.c++/method.exp: Likewise.
24669 * gdb.c++/virtfunc.exp: Likewise.
24670
246712002-01-18 Andrew Cagney <ac131313@redhat.com>
24672
24673 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24674 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24675 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24676 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24677 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24678 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24679
246802002-01-17 Jim Blandy <jimb@redhat.com>
24681
24682 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24683 anchoring the pattern matching the entry point symbol's name.
24684
246852002-01-17 Andrew Cagney <ac131313@redhat.com>
24686
24687 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24688 continue/quit query. Update copyright.
24689
246902002-01-14 Michael Snyder <msnyder@redhat.com>
24691
24692 * gdb.base/gcore.exp: Remove extra debugging output.
24693
246942002-01-13 Daniel Jacobowitz <drow@mvista.com>
24695
24696 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24697 for slightly dubious v2 mangled string.
24698
246992002-01-13 Daniel Jacobowitz <drow@mvista.com>
24700
24701 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24702
247032002-01-10 Jason Merrill <jason@redhat.com>
24704
24705 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
24706
24707 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24708 constructors.
24709 * gdb.c++/derivation.exp: Likewise.
24710 * gdb.c++/templates.exp: Likewise.
24711 * gdb.c++/virtfunc.exp: Likewise.
24712
247132002-01-10 Michael Snyder <msnyder@redhat.com>
24714
24715 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
24716
247172002-01-08 Michael Snyder <msnyder@redhat.com>
24718
24719 * gdb.base/gcore.exp: New test for generate-core-file command.
24720 * gdb.base/gcore.c: Testcase for above.
24721 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24722
247232002-01-08 Jason Merrill <jason@redhat.com>
24724
24725 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24726
247272002-01-07 Fred Fish <fnf@redhat.com>
24728
24729 * gdb.c++/overload.exp: Remove unconditional xfails for:
24730 print foo_instance1.overloadargs(1)
24731 print foo_instance1.overloadargs(1, 2)
24732 print foo_instance1.overloadargs(1, 2, 3)
24733 print foo_instance1.overloadargs(1, 2, 3, 4)
24734 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24735 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24736 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24737 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24738 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24739 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24740 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24741 print foo_instance1.overload1arg()
24742 print foo_instance1.overload1arg((char)arg2)
24743 print foo_instance1.overload1arg((signed char)arg3)
24744 print foo_instance1.overload1arg((unsigned char)arg4)
24745 print foo_instance1.overload1arg((int)arg7)
24746 print foo_instance1.overload1arg((unsigned int)arg8)
24747 print foo_instance1.overload1arg((float)arg11)
24748 print foo_instance1.overload1arg((double)arg12)
24749
247502002-01-07 Michael Snyder <msnyder@redhat.com>
24751
24752 * gdb.base/huge.exp: New test. Print a very large target data object.
24753 (skip_huge_test): New test variable. Define if you want to skip this
24754 test. The test reads an 8 megabyte data object from the target, so it
24755 might be very time consuming on remote targets with a slow connection.
24756 * gdb.base/huge.c: New file. Test case for above.
24757
247582002-01-07 Fred Fish <fnf@redhat.com>
24759
24760 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24761 g_instance.bfoo, and g_instance.cfoo.
24762
247632002-01-07 Jeffrey A Law <law@redhat.com>
24764
24765 * gdb.base/break.c (multi_line_if_conditional): New function.
24766 (multi_ilne_while_conditional): Likewise.
24767 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24768 IF or WHILE condition puts the breakpoint at the start of
24769 the condition.
24770
24771 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24772 hppa*-*-hpux* expected failure.
24773 * gdb.base/structs.exp (do_function_calls): Similarly.
24774
24775 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24776 watchpoints.
24777
247782002-01-06 Andrew Cagney <ac131313@redhat.com>
24779
24780 Fix PR gdb/66.
24781 * gdb.base/structs.exp: Replace skip for a29k with skip for
24782 gdb,cannot_call_functions.
24783 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24784 * gdb.base/callfuncs.exp: Ditto.
24785 * gdb.base/call-rt-st.exp: Ditto.
24786 * gdb.base/call-strs.exp: Ditto.
24787 * gdb.base/callfwmall.exp: Ditto.
24788 * gdb.base/scope.exp: Obsolete xfail a29k.
24789 * gdb.c++/misc.exp: Ditto.
24790 * gdb.c++/cplusfuncs.exp: Ditto.
24791 * gdb.base/ptype.exp: Ditto.
24792 * gdb.base/printcmds.exp: Ditto.
24793 * gdb.base/opaque.exp: Ditto.
24794 * gdb.base/list.exp: Ditto.
24795 * gdb.base/funcargs.exp: Ditto.
24796 * gdb.base/default.exp: Ditto.
24797
247982002-01-04 Michael Snyder <msnyder@redhat.com>
24799
24800 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24801 * gdb.base/maint.exp: Add tests for maint info sections options.
24802
24803Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24804
24805 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24806
248072001-12-20 Corinna Vinschen <vinschen@redhat.com>
24808
24809 * gdb.asm/arm.inc: New file.
24810 * gdb.asm/asm-source.exp: Add arm targets.
24811 * gdb.asm/configure.in: Ditto.
24812 * gdb.asm/configure: Recreated from configure.in.
24813
24814Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24815
24816 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24817 with HP's compiler.
24818 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24819 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24820 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24821 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24822
24823 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24824 either HP's compilers or GCC.
24825
24826 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24827 a SIGBUS or SIGSEGV.
24828
24829 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24830
24831 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24832 can be compiled with either HP's compiler or GCC.
24833
24834 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24835 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24836 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24837
24838 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24839 to match current gdb output. Update due to using auto-solib-limit
24840 for limiting instead of overloading auto-solib-add.
24841 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24842 test program.
24843
24844 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24845 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24846 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24847 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24848 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24849 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24850 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24851 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24852 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24853 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24854 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24855 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24856 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24857
24858 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24859 a SIGTRAP to the inferior.
24860
248612001-12-19 Corinna Vinschen <vinschen@redhat.com>
24862
24863 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24864 Substitute call to target_link by call to gdb_compile.
24865
24866Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24867
24868 * gdb.base/break.exp: Fix HP specific search string when testing
24869 backtracing in a called function.
24870
24871 * gdb.base/constvars.exp: Only set lang to C++ if we're
24872 compiling the test with HP's compilers.
24873 * gdb.base/volatile.exp: Similarly.
24874
248752001-12-19 Jim Blandy <jimb@redhat.com>
24876
24877 * gdb.base/printcmds.exp: Expect the null character to be printed
24878 as '\0', and the '\013' to be printed as '\v'.
24879 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24880 * gdb.base/setvar.exp: Same.
24881
248822001-12-17 Jim Blandy <jimb@redhat.com>
24883
24884 * gdb.base/completion.exp: Rather than completing very long
24885 filenames, which can make the readline library produce output we
24886 don't recognize, cd to the directory first, and then complete
24887 using nice, short relative paths.
24888
24889 * gdb.base/completion.exp: On some systems, there is, in fact, a
24890 variable named `b' in scope, since GDB treats all static
24891 variables as being in scope. So use `no_var_named_this'
24892 instead of `b'.
24893
24894 * gdb.base/corefile.exp: Recognize the message saying that GDB
24895 can't find the core file's registers as a failure.
24896
248972001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24898
24899 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24900 test expect string more specific.
24901
249022001-12-13 Corinna Vinschen <vinschen@redhat.com>
24903
24904 * gdb.asm/asm-source.exp: Add support for xstormy16.
24905 * gdb.asm/configure.in: Ditto.
24906 * gdb.asm/configure: Rebuild.
24907 * gdb.asm/xstormy16.inc: New file.
24908
249092001-12-10 Fred Fish <fnf@redhat.com>
24910
24911 * gdb.base/maint.exp: Update to match changes in type dumping code.
24912
249132001-12-10 Jim Blandy <jimb@redhat.com>
24914
24915 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24916 matching the entry point symbol's name at the beginning of the
24917 line.
24918
249192001-12-07 Daniel Jacobowitz <drow@mvista.com>
24920
24921 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24922 gdb.c++/inherit.exp, gdb.c++/method.exp,
24923 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24924 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24925 and class layout support.
24926
249272001-12-07 Daniel Jacobowitz <drow@mvista.com>
24928
24929 * gdb.c++/classes.exp: Add test for static member function.
24930 * gdb.c++/misc.cc: Add class with static member function.
24931
249322001-12-07 Jim Blandy <jimb@redhat.com>
24933
24934 If GDB says it can't find the struct the function returned, report
24935 those tests as `unsupported'.
24936 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24937 Rewrite subsequent tests to use it.
24938
24939 If GDB says it can't find the struct the function returned, report
24940 those tests as `unsupported'.
24941 * gdb.base/structs.exp (call_struct_func): New function.
24942 (do_function_calls): Use call_struct_func to call the functions
24943 returning structs.
24944
24945 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24946 whether functions are prototyped or not, so we can't possibly pass
24947 arguments to t_float_values2 properly.
24948
24949 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24950 value of `timeout' for targets other than the mips*tx39-*.
24951
249522001-12-06 Michael Snyder <msnyder@redhat.com>
24953
24954 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24955 and detect whether the start symbol has a leading underscore.
24956
249572001-12-04 Jim Blandy <jimb@redhat.com>
24958
24959 * gdb.base/completion.exp: Clarify indentation.
24960
249612001-12-03 Jim Blandy <jimb@redhat.com>
24962
24963 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24964 variables on the S/390, not `.word'.
24965
249662001-11-30 Jim Blandy <jimb@redhat.com>
24967
24968 Add assembly-source tests for s390-ibm-linux.
24969 * gdb.asm/s390.inc: New file.
24970 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24971 the S/390 architecture.
24972 * gdb.asm/configure: Regenerated.
24973
249742001-11-30 Michael Snyder <msnyder@redhat.com>
24975
24976 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24977 next, info source, info sources, info line, global and static
24978 variables, and static functions.
24979 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24980 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24981 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24982 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24983 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24984 (gdbasm_leave): Restore frame pointer.
24985 (gdbasm_startup): Copy stack set-up from crt0.S.
24986
249872001-11-26 Fernando Nasser <fnasser@redhat.com>
24988
24989 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24990 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24991 to a local (non-static) variable. Copy tstruct.a to a static buffer
24992 and return a pointer to that buffer.
24993 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24994
249952001-11-24 Mark Kettenis <kettenis@gnu.org>
24996
24997 * gdb.asm/configure.in: Fix recognition of ix86 target.
24998 * gdb.asm/configure: Regenerate.
24999
250002001-11-21 Michael Snyder <msnyder@redhat.com>
25001
25002 * gdb.asm/sparc.inc: New file.
25003 * gdb.asm/asm-source.exp: Recognize sparc target.
25004 * gdb.asm/configure.in: Recognize sparc target.
25005 * gdb.asm/configure: Regenerate.
25006
250072001-11-21 Michael Snyder <msnyder@redhat.com>
25008
25009 * gdb.asm/m32r.inc: New file.
25010 * gdb.asm/asm-source.exp: Recognize m32r target.
25011 * gdb.asm/configure.in: Recognize m32r target.
25012 * gdb.asm/configure: Regenerate.
25013
250142001-11-20 Michael Snyder <msnyder@redhat.com>
25015
25016 * gdb.asm/i386.inc: New file.
25017 * gdb.asm/asm-source.exp: Recognize ix86 target.
25018 * gdb.asm/configure.in: Recognize ix86 target.
25019 * gdb.asm/configure: Regenerate.
25020
25021 * gdb.c++/namespace.exp: Fix quotes in output messages.
25022
250232001-11-14 Michael Snyder <msnyder@redhat.com>
25024
25025 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
25026 qualifier in a type cast expression, to designate an address
25027 in the instruction space (Harvard architecture).
25028
250292001-11-13 Michael Snyder <msnyder@redhat.com>
25030
25031 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
25032 Tests for expressions using 'const' and 'volatile'.
25033
250342001-11-13 Corinna Vinschen <vinschen@redhat.com>
25035
25036 * gdb.asm/asm-sources.exp: Allow defining linker flags.
25037
250382001-11-12 Daniel Jacobowitz <drow@mvista.com>
25039
25040 * lib/mi-support.exp (mi_run_to_helper): Move comments
25041 outside of gdb_expect.
25042
250432001-11-11 Daniel Jacobowitz <drow@mvista.com>
25044
25045 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
25046 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
25047 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
25048 mi0_run_to): New functions.
25049 * gdb.mi/mi-simplerun.exp: Use them.
25050 * gdb.mi/mi0-simplerun.exp: Likewise.
25051 * gdb.mi/mi-var-cmd.exp: Likewise.
25052 * gdb.mi/mi0-var-cmd.exp: Likewise.
25053
250542001-11-10 Andrew Cagney <ac131313@redhat.com>
25055
25056 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
25057 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
25058
250592001-11-09 Andrew Cagney <ac131313@redhat.com>
25060
25061 * gdb.base/restore.exp: Include $expected value in restored test
25062 message.
25063
250642001-11-09 Andrew Cagney <ac131313@redhat.com>
25065
25066 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
25067 implemented.
25068
250692001-11-08 Michael Snyder <msnyder@redhat.com>
25070
25071 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
25072 Add pass/fail message for stop at breakpoint in call dummy function.
25073
250742001-11-07 Michael Snyder <msnyder@redhat.com>
25075
25076 * gdb.c++/templates.exp (test_template_breakpoints):
25077 If we get an overload menu, but it does not match what
25078 we expect, we still need to issue the "cancel" command.
25079 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
25080 making the whitespace optional. Argument for "new" may be
25081 "unsigned" as well as "unsigned int/long".
25082 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
25083 making the whitespace optional. Also replace "(void) with
25084 "((void|)), making the keyword "void" optional.
25085 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
25086 making the whitespace optional. Also replace "(void) with
25087 "((void|)), making the keyword "void" optional.
25088 * gdb.base/callfuncs.c (t_float_values): This function must
25089 _not_ be prototyped, and the following function (t_float_values2)
25090 must be prototyped (if the compiler supports it), so that GDB
25091 can be tested against both cases. Usually one case involves
25092 promotion of float to double, while the other does not.
25093 * gdb.base/callfwmall.c: Ditto.
25094 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
25095 includes a stack frame for "start".
25096
250972001-11-05 Jim Blandy <jimb@redhat.com>
25098
25099 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
25100 pointers are 32 bits long, and that offsets of relocs are always
25101 stored in the data (REL-style), and not in the reloc entry itself
25102 (RELA-style).
25103 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
25104 stabs.
25105
251062001-11-01 Michael Snyder <msnyder@redhat.com>
25107
25108 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
25109 and regular expression operators by using quoting.
25110
251112001-10-31 Michael Snyder <msnyder@redhat.com>
25112
25113 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
25114 depending on what the symbol table contains.
25115 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
25116 the output of the ptype command. Similarly, accept both "const &"
25117 and "const&".
25118
251192001-10-31 Corinna Vinschen <vinschen@redhat.com>
25120
25121 * gdb.base/miscexprs.c (main): Add usage of preprocessor
25122 symbol `STORAGE' to allow to choose the storage class of
25123 the local datastructures.
25124 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
25125 compiler directive.
25126
251272001-10-30 Michael Snyder <msnyder@redhat.com>
25128
25129 * gdb.base/jump.exp: Allow it to run for all targets.
25130
251312001-10-29 Corinna Vinschen <vinschen@redhat.com>
25132
25133 * gdb.base/call-ar-st.c (print_double_array): Match for loop
25134 with new double_array size.
25135 (main): Change storage class of all local variables to static.
25136 Reduce size of double_array to 9.
25137 * gdb.base/call-ar-st.exp: Increase timeout value.
25138 Change expected output for double array to match new size in
25139 call-ar-st.c.
25140
251412001-10-29 Corinna Vinschen <vinschen@redhat.com>
25142
25143 * gdb.base/ending-run.exp: Create identical output when passing
25144 `step to end of run' case. Add regular expression branch satisfying
25145 Stormy16 target.
25146
251472001-10-28 Mark Kettenis <kettenis@gnu.org>
25148
25149 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
25150 that we catch the expected failure under Linux/x86.
25151
251522001-10-29 Orjan Friberg <orjanf@axis.com>
25153
25154 * gdb.base/setvar.exp: Escape curly braces.
25155 * gdb.stabs/weird.exp: Ditto.
25156
251572001-10-27 Daniel Jacobowitz <drow@mvista.com>
25158
25159 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
25160 * gdm.mi/mi0-hack-cli.exp: Likewise.
25161
251622001-10-25 Andrew Cagney <ac131313@redhat.com>
25163
25164 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
25165 messages.
25166
251672001-10-21 Andrew Cagney <ac131313@redhat.com>
25168
25169 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
25170 checking MI enabled.
25171
251722001-10-09 Corinna Vinschen <vinschen@redhat.com>
25173
25174 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
25175
251762001-10-04 Frank Ch. Eigler <fche@redhat.com>
25177
25178 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
25179 if gdb child process crashes, just signal an error.
25180
251812001-10-02 Jim Blandy <jimb@redhat.com>
25182
25183 * lib/gdb.exp (test_xfail_format): Simplify.
25184
25185 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
25186 front of the variable name `format'. Simplify `if'.
25187
251882001-10-01 Daniel Jacobowitz <drow@mvista.com>
25189
25190 * gdb.threads/pthreads.exp: Wait for output and delay
25191 before sending ^C.
25192
251932001-10-01 Daniel Jacobowitz <drow@mvista.com>
25194
25195 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
25196 some incorrect output instead of timing out.
25197 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
25198
251992001-09-28 Corinna Vinschen <vinschen@redhat.com>
25200
25201 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
25202 check to allow additional `int'.
25203
252042001-09-27 Daniel Jacobowitz <drow@mvista.com>
25205
25206 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
25207 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
25208
252092001-09-27 Michael Snyder <msnyder@redhat.com>
25210
25211 * lib/gdb.exp (test_debug_format): New proc.
25212 (setup_xfail_format): Use new proc test_debug_format.
25213 * gdb.base/constvars.exp (local_compiler_xfail_check): New
25214 proc; use new service proc test_debug_format.
25215 Replace all other "gcc_compiled" tests with this test.
25216 * gdb.base/volatile.exp (local_compiler_xfail_check): New
25217 proc; use new service proc test_debug_format.
25218 Replace all other "gcc_compiled" tests with this test.
25219
252202001-09-27 Michael Snyder <msnyder@redhat.com>
25221
25222 * gdb.base/cvexpr.exp: New file.
25223 * gdb.base/cvexpr.c: New file
25224 Test for expressions using const and volatile keywords.
25225
252262001-09-26 Corinna Vinschen <vinschen@redhat.com>
25227
25228 * gdb.base/constvars.exp: Check for different orders of keywords
25229 and additional "int" strings in output.
25230
252312001-09-22 Andrew Cagney <ac131313@redhat.com>
25232
25233 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
25234 responses from "help maint".
25235
252362001-09-19 Frank Ch. Eigler <fche@redhat.com>
25237
25238 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
25239 to localhost:NNN instead of :NNN, in case Xvfb is listening
25240 only on TCP.
25241
252422001-09-19 Corinna Vinschen <vinschen@redhat.com>
25243
25244 * gdb.base/recurse.exp: When checking leaving the watchpoint
25245 scope, recognize when gdb is in function's epilogue and pass.
25246
252472001-09-18 Keith Seitz <keiths@redhat.com>
25248
25249 * lib/insight-support.exp (_gdbtk_export_target_info): Add
25250 support for running tests against sid targets.
25251 (gdbtk_done): Ditto.
25252
252532001-09-18 Corinna Vinschen <vinschen@redhat.com>
25254
25255 * gdb.base/ending-run.c (main): Set stdout buffersize
25256 to the same reasonable value for any target.
25257 * gdb.base/ending-run.exp: Add a regular expression
25258 to make testsuite happy on Sanyo Stormy16 target.
25259
252602001-09-17 Corinna Vinschen <vinschen@redhat.com>
25261
25262 * gdb.base/display.c (do_loops): Add float variable `f'.
25263 Increment f in loop.
25264 * gdb.base/display.exp: Increment timeout by 60 seconds.
25265 Change float display test to use variable `f'.
25266
252672001-09-17 Jim Blandy <jimb@redhat.com>
25268
25269 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
25270 overflowing the limited breakpoint tables on some ROM monitors
25271 (like the ROM68K).
25272
252732001-09-15 Frank Ch. Eigler <fche@redhat.com>
25274
25275 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
25276 the "-ac" (disable access control) flag.
25277
252782001-08-30 Jeff Holcomb <jeffh@redhat.com>
25279
25280 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
25281 ints.
25282
252832001-08-30 Keith Seitz <keiths@redhat.com>
25284
25285 * lib/gdb.exp: Move all insight-related functionality into
25286 separate file.
25287 * lib/insight-support.exp: New file.
25288
252892001-08-29 Frank Ch. Eigler <fche@redhat.com>
25290
25291 * config/sid.exp (sid_start): Never set sid verbosity; disable
25292 expect_background {} that consumed its stdout; tolerate </dev/null.
25293 Attempt to set endianness override in "sid" protocol mode. Cleanup.
25294
252952001-08-18 Andrew Cagney <ac131313@redhat.com>
25296
25297 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
25298 CLI jump command to start it.
25299 (mi_run_to_main): Fail immediatly when unexpected output.
25300
253012001-08-18 Andrew Cagney <ac131313@redhat.com>
25302
25303 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
25304 beginning of function. Fix PR gdb/191.
25305
253062001-08-16 Frank Ch. Eigler <fche@redhat.com>
25307
25308 * config/sid.exp (sid_start): Don't warn if we cannot figure out
25309 what to force sid endianness to.
25310
253112001-08-15 Keith Seitz <keiths@redhat.com>
25312
25313 * lib/gdb.exp (gdbtk_start): Don't set environment
25314 variables for TCL_LIBRARY and friends. Insight will
25315 now figure these out for itself.
25316
253172001-08-02 Michael Snyder <msnyder@redhat.com>
25318
25319 * gdb.base/completion.exp: Remove the symbol "a64l" from
25320 the expect string; this is target-specific, and not related
25321 to what is being tested.
25322
253232001-08-02 Dave Brolley <brolley@redhat.com>
25324
25325 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
25326
253272001-07-25 Michael Snyder <msnyder@redhat.com>
25328
25329 * gdb.base/consecutive.exp: New file. Test stepping over
25330 breakpoints on consecutive instructions.
25331 * gdb.base/consecutive.c: New file.
25332
25333 * gdb.base/call-rt-st.exp: Use double-backslash to quote
25334 curly braces in regular expressions.
25335
253362001-07-25 Michael Snyder <msnyder@redhat.com>
25337
25338 * gdb.base/ending-run.exp: Accept "Program exited normally" as
25339 legitimate output from stepping out of main.
25340
253412001-07-22 Keith Seitz <keiths@redhat.com>
25342
25343 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
25344 the empty string, do not run the tests.
25345
253462001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25347
25348 * gdb.base/long_long.exp: Detect size of pointer. Take into
25349 account 2-byte pointers when testing for p/a results.
25350
253512001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25352
25353 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
25354 and defined to 1K for m68hc11.
25355 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25356 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25357 (sizeof_random_data): New variable to tell the size of the data table;
25358 don't test past this size; always run to main.
25359
253602001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25361
25362 * gdb.base/return2.exp: return of long long and double fails for
25363 68HC11; don't execute these tests on that platform.
25364 * gdb.base/return.exp: Return of a double fails for 68hc11.
25365
253662001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25367
25368 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25369 tests that print a float.
25370 * call-rt-st.exp: Likewise.
25371
253722001-07-12 Mark Kettenis <kettenis@gnu.org>
25373
25374 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25375 running this test on Linux.
25376
253772001-06-24 Michael Chastain <chastain@redhat.com>
25378
25379 * gdb.base/arithmet.exp: Remove some tests to make all test names
25380 unique.
25381
253822001-07-03 Michael Snyder <msnyder@redhat.com>
25383
25384 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25385 the output of the ptype command.
25386
253872001-07-02 Michael Snyder <msnyder@redhat.com>
25388
25389 * gdb.base/completion.exp: Don't assume that break.c is the only
25390 source file that may contain functions named "marker".
25391 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25392
253932001-06-28 Andrew Cagney <ac131313@redhat.com>
25394
25395 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25396 of files to delete.
25397
25398 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25399 * gdb.disasm/h8300s.exp: New file.
25400 gdb.disasm/h8300s.s: Likewise.
25401
254022001-06-27 Andrew Cagney <ac131313@redhat.com>
25403
25404 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25405 empty breakpoint tables.
25406
254072001-06-25 Andrew Cagney <ac131313@redhat.com>
25408
25409 * lib/mi-support.exp: Update args=... part of stop-reason
25410 patterns. Accept either a list or a tuple.
25411
254122001-06-23 Andrew Cagney <ac131313@redhat.com>
25413
25414 * lib/mi-support.exp: Remove local emacs variable defining
25415 change-log-default-name.
25416
254172001-06-22 Michael Chastain <chastain@redhat.com>
25418
25419 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25420 This is operationally compatible with the previous version.
25421
254222001-06-13 Jim Blandy <jimb@redhat.com>
25423
25424 * lib/gdb.exp (gdb_test): Doc fix.
25425
254262001-06-10 Michael Chastain <chastain@redhat.com>
25427
25428 * gdb.base/exprs.exp: Remove a duplicate test.
25429
254302001-06-06 Jim Blandy <jimb@redhat.com>
25431
25432 * gdb.base/return2.exp (main): Use values to test float and double
25433 returns that are not NaN's, to avoid being confused by IEEE
25434 comparison rules.
25435
254362001-06-04 Michael Snyder <msnyder@redhat.com>
25437
25438 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
25439 non-zero if control_c fails. Terminate the test on failure,
25440 rather than wait for 12 more tests to time out.
25441
254422001-06-06 Jim Blandy <jimb@redhat.com>
25443
25444 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
25445 Don't forget to match the GDB prompt.
25446
25447 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25448
254492001-06-04 Jim Blandy <jimb@redhat.com>
25450
25451 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25452 command.
25453
254542001-05-31 Kevin Buettner <kevinb@redhat.com>
25455
25456 * gdb.base/annota1.exp (info break): Match four or more spaces
25457 after "Address".
25458
254592001-05-31 Michael Chastain <chastain@redhat.com>
25460
25461 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25462 (dm_type_int_star): Likewise.
25463 (dm_type_long_star): Likewise.
25464 (dm_type_void_star): Likewise.
25465
254662001-05-29 Kevin Buettner <kevinb@redhat.com>
25467
25468 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25469 to a known value in order to get consistent results regardless
25470 of the setting of INPUTRC or the presence or contents of .inputrc.
25471
254722001-05-24 Michael Snyder <msnyder@redhat.com>
25473
25474 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25475 Don't require that the main thread and the manager thread are the
25476 first in the list.
25477
25478 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25479 debugging. If test fails, issue an "unsupported" not a "fail".
25480
254812001-05-24 Jim Blandy <jimb@redhat.com>
25482
25483 Don't assume that short is shorter than int.
25484 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25485 assume that shorts are smaller than ints. On a 16-bit machine,
25486 this isn't true.
25487 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25488 an int, is not equal to ~0 stored in an unsigned char. This tests
25489 the same thing that the previous test meant to, but works on
25490 16-bit machines, too.
25491 ("print unsigned char != (~0)"): Same test, complemented.
25492
254932001-05-24 Michael Snyder <msnyder@redhat.com>
25494
25495 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
25496 test for (full_coverage == 0). This makes the test run faster,
25497 and prevents dejagnu getting out of step.
25498
254992001-05-23 Kevin Buettner <kevinb@redhat.com>
25500
25501 * gdb.base/finish.exp (finish_void): Revise pattern for
25502 stopping on the call statement to not permit stopping at
25503 the start of the instructions comprising the call sequence.
25504
255052001-05-19 Michael Chastain <chastain@redhat.com>
25506
25507 * gdb.base/callfuncs.exp: Make all test names unique.
25508 * gdb.base/commands.exp: Make all test names unique.
25509 * gdb.base/condbreak.exp: Make all test names unique.
25510 * gdb.base/dbx.exp: Make all test names unique.
25511 * gdb.base/default.exp: Make all test names unique.
25512 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25513 and TIMEOUT messages to their corresponding PASS message.
25514 * gdb.base/ending-run.exp: Make all test names unique.
25515 * gdb.base/long_long.exp: Remove duplicate test.
25516
255172001-05-21 Kevin Buettner <kevinb@redhat.com>
25518
25519 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25520 stop on the call statement as well as the statement after the
25521 call.
25522
255232001-05-21 Michael Snyder <msnyder@redhat.com>
25524
25525 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25526
255272001-05-10 Elena Zannoni <ezannoni@redhat.com>
25528
25529 * gdb.base/completion.exp: Revamp test. Make it execute on all
25530 platforms.
25531
255322001-05-10 Elena Zannoni <ezannoni@redhat.com>
25533
25534 * config/gdbserver.exp (gdb_load): Handle the case
25535 in which the arguments to gdbserver are given in the
25536 baseboard configuration file.
25537 Also handle the case in which the server needs to do a
25538 load.
25539
255402001-05-07 Keith Seitz <keiths@cygnus.com>
25541
25542 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25543 set up the display for testing.
25544 (gdbtk_start): Convert all paths to paths that tcl will like.
25545 Export target information to environment.
25546 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25547 necessary.
25548 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25549 (to_tcl_path): New proc to convert a given pathname into
25550 a path acceptible as an argument to a tcl command.
25551 (_gdbtk_export_target_info): New proc to export target info
25552 into the environment for gdbtk testing.
25553 (gdbtk_done): New proc to signal end-of-test.
25554
255552001-05-06 Jim Blandy <jimb@redhat.com>
25556
25557 * restore.c: Make the code of caller0 correspond to its comment.
25558
255592001-05-03 Michael Snyder <msnyder@redhat.com>
25560
25561 * config/sid.exp (gdb_target_sid): Check for error messages.
25562 On error or timeout, don't make expect exit (which will terminate
25563 all subsequent tests); instead just make gdb exit.
25564 (gdb_load): Check for error messages. On error or timeout,
25565 return a negative value.
25566
255672001-04-24 Jim Blandy <jimb@redhat.com>
25568
25569 * gdb.c++/templates.exp: If we see the prompt for the overload
25570 list, but we haven't recognized any of the longer patterns,
25571 arrange for this test to fail, not hang.
25572
25573 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25574 variations.
25575
255762001-04-22 Michael Chastain <chastain@redhat.com>
25577
25578 * gdb.c++/local.exp: Use the 'runto' library function.
25579 * gdb.c++/namespace.exp: Likewise.
25580 * gdb.c++/overload.exp: Likewise.
25581
255822001-03-26 Kevin Buettner <kevinb@redhat.com>
25583
25584 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25585 * gdb.base/step-line.exp: New file. Test step/next in presence of
25586 #line directives.
25587 * gdb.base/step-line.c: New file. Test program for the above.
25588 * gdb.base/step-line.inp: New file. We pretend that this file has
25589 been transformed by some other tool into step-line.c.
25590
255912001-03-21 Jim Blandy <jimb@redhat.com>
25592
25593 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25594 unmangled operator names.
25595
255962001-03-20 Jim Blandy <jimb@redhat.com>
25597
25598 * gdb.threads/linux-dp.exp: Recognize an additional message
25599 generated by GDB when it doesn't understand how to debug threads
25600 on the target system.
25601
256022001-03-19 Andrew Cagney <ac131313@redhat.com>
25603
25604 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25605
256062001-03-12 Michael Chastain <chastain@redhat.com>
25607
25608 * gdb.c++/derivation.exp: Use the 'runto' library function.
25609
256102001-03-12 Michael Chastain <chastain@redhat.com>
25611
25612 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25613
256142001-02-24 Michael Chastain <chastain@redhat.com>
25615
25616 * gdb.c++/ref-types.exp: Change handwritten code to library
25617 function 'runto'.
25618
256192001-03-16 Orjan Friberg <orjanf@axis.com>
25620
25621 * gdb.base/signals.exp: Set count to 0 explicitly.
25622
256232001-03-15 Mark Salter <msalter@redhat.com>
25624
25625 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25626 (gdb_target_monitor): Add check of gdb_target_cmd return value.
25627 (gdb_load): Add support for additional target_info: gdb_download_size
25628 and gdb_load_timeout.
25629
25630Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25631
25632 * gdb.base/annota1.exp: Move test of isnative to earlier in the
25633 file -- to prevent failing when the compile fails but we have no
25634 intention of running the tests anyway.
25635
25636 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25637 tests if set.
25638
25639 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
25640 integers.
25641
25642 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25643 * gdb.c++/namespace.exp: Ditto.
25644
256452001-03-07 Orjan Friberg <orjanf@axis.com>
25646
25647 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25648 * gdb.base/pointers.exp: Relax pattern match of decimals.
25649
256502001-03-06 Kevin Buettner <kevinb@redhat.com>
25651
25652 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25653 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25654 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25655 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25656 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25657 config/sh.exp, config/sid.exp, config/slite.exp,
25658 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25659 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25660 config/vxworks.exp, config/vxworks29k.exp,
25661 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25662 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25663 gdb.base/arithmet.exp, gdb.base/assign.exp,
25664 gdb.base/async.exp, gdb.base/attach.exp,
25665 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25666 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25667 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25668 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25669 gdb.base/commands.exp, gdb.base/completion.exp,
25670 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25671 gdb.base/constvars.exp, gdb.base/corefile.exp,
25672 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25673 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25674 gdb.base/ending-run.exp, gdb.base/environ.exp,
25675 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25676 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25677 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25678 gdb.base/funcargs.exp, gdb.base/help.exp,
25679 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25680 gdb.base/logical.exp, gdb.base/long_long.exp,
25681 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25682 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25683 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25684 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25685 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25686 gdb.base/regs.exp, gdb.base/relational.exp,
25687 gdb.base/remote.exp, gdb.base/reread.exp,
25688 gdb.base/restore.exp, gdb.base/return2.exp,
25689 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25690 gdb.base/selftest.exp, gdb.base/setshow.exp,
25691 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25692 gdb.base/sigall.exp, gdb.base/signals.exp,
25693 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25694 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25695 gdb.base/step-test.exp, gdb.base/structs.c,
25696 gdb.base/structs.exp, gdb.base/structs2.exp,
25697 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25698 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25699 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25700 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25701 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25702 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25703 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25704 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25705 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25706 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25707 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25708 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25709 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25710 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25711 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25712 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25713 gdb.trace/circ.exp, gdb.trace/collection.exp,
25714 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25715 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25716 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25717 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25718 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25719 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25720 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25721 notices.
25722
257232001-02-27 Michael Snyder <msnyder@cygnus.com>
25724
25725 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25726 first arg is int not float.
25727
257282001-02-22 Michael Snyder <msnyder@cygnus.com>
25729
25730 * gdb.base/reread.exp: Unsupported for non-native targets;
25731 doesn't work for remote debugging.
25732
257332001-02-19 Fernando Nasser <fnasser@redhat.com>
25734
25735 From Drew Moseley <dmoseley@redhat.com>
25736 * gdb.base/ending-run.exp: Properly handle the BSP state when
25737 stepping past the end of main.
25738
257392001-02-19 John Moore <jmoore@redhat.com>
25740
25741 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25742 Converted HPUX fix for non-expected items following multiple
25743 step commands into general solution for all platforms.
25744
257452001-02-18 Michael Chastain <chastain@redhat.com>
25746
25747 * gdb.c++/classes.exp (do_tests): Change runto statements
25748 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25749 statements demangler agnostic.
25750 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25751 (gdb_virtfunc_restart): Likewise.
25752
257532001-02-14 Michael Chastain <chastain@redhat.com>
25754
25755 * gdb.c++/inherit.exp (do_tests): Change runto statements
25756 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25757 statements demangler agnostic.
25758
25759Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25760
25761 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25762 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25763 before calling common_routine 15 times'' tests.
25764
257652001-02-11 Michael Chastain <chastain@redhat.com>
25766
25767 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25768 Helps the test script figure out which demangler is in use.
25769 (dm_type_foo_ref): Ditto.
25770 (dm_type_int_star): Ditto.
25771 (dm_type_long_star): Ditto.
25772 (dm_type_unsigned_int): Ditto.
25773 (dm_type_void): Ditto.
25774 (dm_type_void_star): Ditto.
25775 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25776 Probe the gdb demangler and set variables to accommodate
25777 formatting differences.
25778 (info_func_regexp): New function. Same as info_func, but
25779 matches against a regexp.
25780 (info_func): Match against a literal string.
25781 (print_addr_2): New function. Match against a literal string,
25782 which can be different from the input to gdb.
25783 (print_addr): Simply call print_addr_2 with the same argument twice.
25784 (test_lookup_operator_functions): Use demangler formatting variables.
25785 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25786 the tests in the same order as the C++ class declaration.
25787 (test_paddr_operator_functions): Ditto.
25788 (test_paddr_overloaded_functions): Ditto.
25789 (test_paddr_hairy_functions): Use demangler formatting variables.
25790 Add reference to gdb/19 for related tests.
25791 (do_tests): Call probe_demangler.
25792
257932001-01-30 Kevin Buettner <kevinb@redhat.com>
25794
25795 * gdb.c++/templates.cc (printf): Remove unused function definition.
25796
257972001-01-26 Felix Lee <flee@redhat.com>
25798
25799 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25800
258012001-01-25 matthew green <mrg@redhat.com>
25802
25803 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25804 up sid.
25805 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25806
258072001-01-25 matthew green <mrg@redhat.com>
25808
25809 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25810 Deprecate $sid_spawn_id.
25811 (sid_exit): Remove code necessary only for `spawn.'
25812
258132001-01-25 matthew green <mrg@redhat.com>
25814
25815 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25816
258172001-01-28 Michael Chastain <chastain@redhat.com>
25818
25819 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25820 to call when tests fail. It takes gdb out of the overloaded
25821 function choice menu back to the main prompt, so that the test
25822 program stays synchronized.
25823 (set_bp_overloaded): New proc to collect all the common
25824 code for setting a breakpoint on an overloaded name. Calls
25825 take_gdb_out_of_choice_menu when needed.
25826 (menu_overload1arg): New variable to collect the repeated
25827 instances of the expected menu for an overloaded name. Change
25828 the regular expression to handle changes in g++ type encoding:
25829 "void" can be either "void" or "", and "unsigned int" can be
25830 either "unsigned int" or "unsigned".
25831 (continue_to_bp_overloaded): Change regular expressions to handle
25832 changes in g++ type encoding.
25833 (no proc): Call take_gdb_out_of_choice_menu when needed.
25834 Remove redundant calls to "info break". Accept either "canceled"
25835 or "cancelled". Change regular expressions in "info break"
25836 calls to handle changes in g++ type encoding. Give all tests
25837 unique strings.
25838
258392001-01-17 Ben Elliston <bje@redhat.com>
25840
25841 * config/sid.exp: New file.
25842
25843Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25844
25845 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25846
258472000-12-21 Michael Snyder <msnyder@cygnus.com>
25848
25849 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25850 Add a RE to accept a non-ascii char if one is ever presented.
25851
258522000-12-20 Fernando Nasser <fnasser@redhat.com>
25853
25854 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25855
258562000-12-18 Michael Snyder <msnyder@cygnus.com>
25857
25858 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25859 in regexp. One '\' does not suffice on Linux.
25860
258612000-12-09 Michael Chastain <chastain@redhat.com>
25862
25863 * gdb.base/break.exp (test_clear_command): Use a marker function
25864 rather than 'main' for the test function. Also move this
25865 test to an execution point where the marker function names are
25866 guaranteed to be bound to functions. (Executing tests after a
25867 'finish' from main runs into name conflicts with local names
25868 in __libc_start_main).
25869
258702000-12-07 Michael Snyder <msnyder@cygnus.com>
25871
25872 * gdb.base/finish.exp: New test for gdb's "finish" command.
25873 * gdb.base/return2.exp: New test for gdb's "return" command.
25874 * gdb.base/return2.c: New source file for above.
25875
258762000-12-05 Michael Snyder <msnyder@cygnus.com>
25877
25878 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25879 * gdb.base/miscexprs.exp: Ditto.
25880 * gdb.base/pointers.exp: Ditto.
25881 * gdb.c++/derivation.exp: Ditto.
25882 * gdb.c++/local.exp: Ditto.
25883 * gdb.c++/namespace.exp: Ditto.
25884 * gdb.c++/overload.exp: Ditto.
25885 * gdb.c++/ref-types.exp: Ditto.
25886
258872000-12-05 Michael Snyder <msnyder@cygnus.com>
25888
25889 * gdb.base/constvars.exp: Test result of "up" command.
25890 * gdb.base/miscexprs.exp: Ditto.
25891 * gdb.base/pointers.exp: Ditto.
25892 * gdb.base/scope.exp: Ditto.
25893 * gdb.c++/derivation.exp: Ditto.
25894 * gdb.c++/local.exp: Ditto.
25895 * gdb.c++/namespace.exp: Ditto.
25896 * gdb.c++/overload.exp: Ditto.
25897 * gdb.c++/ref-types.exp: Ditto.
25898
258992000-11-22 Michael Chastain <chastain@redhat.com>
25900
25901 * mips_pro.exp: Accept either "middle -> top -> main" or
25902 "middle -> main" in the backtrace, because gcc can optimize
25903 tail calls to jumps. Remove setup_xfail for the hppa case.
25904 Add a comment with the original warning messages from PR 3016,
25905 which was filed in 1993, to preserve them for posterity.
25906
259072000-11-17 Nick Duffek <nsd@redhat.com>
25908
25909 * lib/gdb.exp (gdb_test): Override timeout with board info.
25910
259112000-11-17 Nick Duffek <nsd@redhat.com>
25912
25913 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25914 the second kill and detach messages.
25915
259162000-11-17 Nick Duffek <nsd@redhat.com>
25917
25918 * configure.in: Add AC_EXEEXT.
25919 * configure: Regenerate.
25920 * Makefile.in (just-check): Export EXEEXT.
25921 * lib/gdb.exp ($EXEEXT): Import from environment.
25922 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25923 expect "maint dump-me" on Cygwin.
25924 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25925 $EXEEXT.
25926
259272000-11-17 Nick Duffek <nsd@redhat.com>
25928
25929 * gdb.base/break.exp: Test backtrace and finish from called
25930 function on all platforms, not just HP-UX.
25931
259322000-11-03 Michael Snyder <msnyder@cygnus.com>
25933
25934 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25935 code from gdb_target_monitor, so it can be used independantly
25936 for gdbserver. Also comment out an unnecessary PUTS.
25937
259382000-11-03 Michael Snyder <msnyder@cygnus.com>
25939
25940 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25941 * gdb.base/corefile.exp: Expect the message "Program is being
25942 debugged already" when we send the "corefile" command, since
25943 the preceeding gdb_load may have connected gdb to a remote target.
25944 * gdb.base/display.exp: Disable hardware watchpoints if new
25945 board info variable "no_hardware_watchpoints" is true.
25946 Replace single-letter commands with more readable ones.
25947 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25948 if new board info variable "no_hardware_watchpoints" is true.
25949 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25950 to see if stdio (printf) testing is possible.
25951 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25952 board info variable "no_hardware_watchpoints" is true. Use new
25953 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25954
259552000-11-13 Fernando Nasser <fnasser@redhat.com>
25956
25957 From Orjan Friberg <orjanf@axis.com>:
25958 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25959 in array print pattern match.
25960
259612000-11-09 Fernando Nasser <fnasser@redhat.com>
25962
25963 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25964 spelling "cancelled" to U.S. spelling "canceled" to match changes
25965 made to gdb.
25966 * gdb.c++/ovldbreak.exp: Ditto.
25967
259682000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25969
25970 * gdb.base/callfuncs.c (main): Moved to end of file, call
25971 t_double_values to initialize the FPU before inferior calls are made.
25972 * gdb.base/callfuncs.exp: Test for register preservation after calling
25973 inferior functions. Add tests for continuining, finishing and
25974 returning from a stop in a call dummy.
25975
259762000-10-24 Michael Snyder <msnyder@cygnus.com>
25977
25978 * gdb.base/commands.exp: Break up long lines, and re-indent.
25979
259802000-10-19 Michael Snyder <msnyder@cygnus.com>
25981
25982 * config/gdbserver.exp: Rewritten from the ground up, to make it
25983 compatible with the current dejagnu tree, and to make it work with
25984 the new "gdbserver" in libremote.
25985
259862000-10-16 Michael Snyder <msnyder@cygnus.com>
25987
25988 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25989 * gdb.base/varargs.exp: Skip entire test if no printf support.
25990 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25991 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25992
259932000-10-13 Michael Snyder <msnyder@cygnus.com>
25994
25995 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25996 no floating point support.
25997 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25998 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25999 * gdb.base/call-rt-st.exp: Ditto.
26000 * gdb.base/call-strs.exp: Ditto.
26001
260022000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
26003
26004 * gdb.base/sizeof.c: include <stdio.h>.
26005
26006 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
26007 'finish', otherwise uncaptured gdb_prompt would potentially
26008 throw remaining test points out of sync.
26009
260102000-07-26 Scott Bambrough <scottb@netwinder.org>
26011
26012 * gdb.base/recurse.exp: Run tests for all targets.
26013 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
26014 gnu-oldld case on ARM.
26015 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
26016 for ARM targets.
26017
26018Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
26019
26020 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
26021 * gdb.java/configure: Rebuild.
26022
26023Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
26024
26025 * gdb.java/jv-exp.exp: New file.
26026
26027Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
26028
26029 * configure: Rebuilt.
26030 * configure.in (configdirs): Add gdb.java.
26031 * gdb.java/jmisc.java: New file.
26032 * gdb.java/jmisc.exp: New file.
26033 * gdb.java/Makefile.in: New file.
26034 * gdb.java/configure: Rebuilt.
26035 * gdb.java/configure.in: New file.
26036 * lib/java.exp: New file.
26037
26038Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
26039
26040 * gdb.base/exprs.exp: Test casts to a pointer including over and
26041 underflow.
26042
26043Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
26044
26045 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
26046 and the compilers sizes.
26047
260482000-07-09 Nick Duffek <nsd@redhat.com>
26049
26050 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
26051 (use_methods): New function.
26052 (main): Call use_methods().
26053 * gdb.c++/classes.exp (test_method_param_class): New procedure.
26054 (do_tests): Call test_method_param_class.
26055
260562000-07-09 Nick Duffek <nsd@redhat.com>
26057
26058 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
26059 spelling.
26060 (test_enums): New procedure. Move enum tests from end of script
26061 to here. Set breakpoint on function name instead of line number.
26062 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
26063 (enums2): New marker function.
26064 (enums1): New function.
26065 (main): Call enums1(). Move enum tests to enums1().
26066
26067Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
26068
26069 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
26070 compile/link program. Update line numbers.
26071 * gdb.asm/d10v.inc: Define ``startup''.
26072 * gdb.asm/asmsrc1.s: Add definition of _start.
26073
26074Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
26075
26076 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
26077
260782000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26079
26080 * gdb.base/maint.exp: Add 'maint print architecture' item to output
26081 of 'help maint print' command.
26082
26083Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
26084
26085 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
26086 they use gdb_expect_list.
26087
26088Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
26089
26090 * gdb.base/commands.exp: Use ``set remote
26091 memory-read-packet-size'' instead of ``set endian big'' to test
26092 long commands.
26093
260942000-06-03 Daniel Berlin <dan@cgsoftware.com>
26095
26096 * gdb.c++/templates.exp (do_tests): Make all of these work under
26097 g++, and stop skipping them.
26098
26099 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
26100 work under g++.
26101
26102 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
26103 initialization.
26104
261052000-06-02 Michael Snyder <msnyder@cygnus.com>
26106
26107 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
26108 the regular expression: accept an (almost) arbitrary sequence of
26109 "frames-invalid" and "breakpoints-invalid" messages both before
26110 and after the "starting" message.
26111
261122000-06-02 Michael Snyder <msnyder@cygnus.com>
26113
26114 * gdb.c++/local.exp: This test has never been known to work with g++.
26115
261162000-05-18 Michael Snyder <msnyder@cygnus.com>
26117
26118 * gdb.base/annota1.exp (annotate-signal-handler-caller):
26119 Relax the regular expression a little, make it pass on Solaris 8.
26120
261212000-05-12 Kevin Buettner <kevinb@redhat.com>
26122
26123 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
26124 a call, do not require that gdb stop on the line after the call.
26125 Instead, it is permissible for gdb to stop on the line of the
26126 call itself.
26127
261282000-05-12 Michael Snyder <msnyder@.cygnus.com>
26129
26130 * gdb.base/break.exp (bp on small function, optimized file):
26131 Add a second pass pattern. The behavior differs here between stabs
26132 and dwarf for one-line functions. Stabs preserves two line symbols
26133 (one before the prologue and one after) with the same line number,
26134 but dwarf regards these as duplicates and discards one of them.
26135 Therefore the address after the prologue (where the breakpoint is)
26136 has no exactly matching line symbol, and GDB reports the breakpoint
26137 as if it were in the middle of a line rather than at the beginning.
26138
261392000-05-08 Michael Snyder <msnyder@cygnus.com>
26140
26141 * gdb.base/interrupt.exp: Make "pass" message say "send"
26142 rather than "send_gdb" (for consistancy).
26143
26144Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
26145
26146 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
26147 * gdb.c++/templates.cc: Properly check for GCC version number.
26148 * lib/compiler.cc: Likewise
26149
261502000-04-28 Michael Snyder <msnyder@cygnus.com>
26151
26152 * gdb.base/break.exp: When compiled with -O2 optimization,
26153 gdb may not stop at the first line of main, due to code motion.
26154
261552000-04-26 Michael Snyder <msnyder@cygnus.com>
26156
26157 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
26158 This test depends on parsing the printf output from the target.
26159 Since the sparclet stub doesn't do stdio, this will never work.
26160 * gdb.base/call-rt-st.exp: ditto.
26161 * gdb.base/call-strs: ditto.
26162
261632000-04-24 Michael Snyder <msnyder@cygnus.com>
26164
26165 * gdb.base/miscexprs.exp: make sizeof long array test portable.
26166
26167 * gdb.base/ending-run.exp: After connecting to a remote target,
26168 but before running, the target will appear to be in a random
26169 location. Specify both a file and a line for breakpoints.
26170 Also, the function that calls main may be called 'init'
26171 rather than 'start'.
26172
261732000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26174
26175 * gdb.base/help.exp: Update output for add-symbol-file command.
26176
261772000-04-10 Fernando Nasser <fnasser@cygnus.com>
26178
26179 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26180 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
26181
261822000-04-07 J.T. Conklin <jtc@redback.com>
26183
26184 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
26185
26186 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
26187
26188Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
26189
26190 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
26191 values that can be represented exactly.
26192 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
26193 above change, and to not check against the directory part of the source
26194 file name.
26195 (step into print_long_arg_list): Likewise.
26196 (print print_small_structs from print_long_arg_list): Likewise.
26197 (print print_long_arg_list): Likewise.
26198
261992000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26200
26201 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
26202
26203Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
26204
26205 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
26206
262072000-03-25 Daniel Berlin <dan@cgsoftware.com>
26208
26209 * gdb.base/commands.exp (deprecated_command_test): Add test for
26210 deprecate with no arguments.
26211
262122000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
26213
26214 * gdb.base/break.exp: Add new test for setting breakpoints on
26215 optimized code so we can test breakpoints work even when function
26216 prologues may be optimized away
26217
262182000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
26219
26220 From David Whedon <dwhedon@gordian.com>
26221 * gdb.base/commands.exp : Added command deprecator tests.
26222
262232000-03-22 Daniel Berlin <dan@cgsoftware.com>
26224
26225 * gdb.base/help.exp: Added test for new apropos command.
26226
262272000-03-21 Kevin Buettner <kevinb@redhat.com>
26228
26229 * gdb.base/pointers.c (usevar): New function.
26230 (main): Make sure that global variables v_int_pointer2, rptr,
26231 and y are all referenced someplace in the program by calling
26232 usevar() on them. [Some linkers delete symbols which are
26233 never referenced. The space remains, but there's no way to
26234 get a (symbolic) handle on the variable from the debugger.]
26235
262362000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26237
26238 * gdb.base/printcmds.c: Add typedeffed arrays.
26239
26240 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
26241 procedure to test arrays that are typedef'd.
26242
262432000-03-13 James Ingham <jingham@leda.cygnus.com>
26244
26245 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
26246 the library directories.
26247
26248Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
26249
26250 * configure.in (configdirs): Add sub directory gdb.mi.
26251 * configure: Re-generate.
26252
26253 * gdb.mi: New directory.
26254
262552000-02-25 Scott Bambrough <scottb@netwinder.org>
26256
26257 * gdb.base/long_long.exp: Correct test suite failure when printing
26258 a long long value as a double on ARM platforms.
26259
262602000-02-16 Jim Blandy <jimb@redhat.com>
26261
26262 * gdb.base/break.exp ("breakpoint line number"): Make sure the
26263 default source file is set properly before running this test.
26264
262652000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26266
26267 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
26268 gdbtk/library directory, not in gdbtcl2.
26269
262702000-02-04 Jim Blandy <jimb@redhat.com>
26271
26272 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
26273 backslash from regexp pattern.
26274
26275 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
26276 procedure. Use it to run all the "continue to bp overloaded"
26277 tests. Note that this changes the names of the tests slightly.
26278 If the breakpoint hit message includes a hex PC value, because
26279 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
26280 from the real source code, still consider that a pass.
26281
26282 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
26283 XFAIL here if the breakpoint message contains a hex address. Note
26284 similar change on 1999-11-02.
26285
26286 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
26287
26288 * gdb.base/ptype.exp: Establish a default source file before
26289 calling get_debug_format.
26290
262912000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
26292
26293 * gdb.base/watchpoint.exp: Remove duplication of test messages.
26294
262952000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26296
26297 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
26298 of successive stepi commands -- while in the prologue we should see
26299 the function entry bracket.
26300
263012000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26302
26303 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
26304 reach __change_mode() when stepping through the end of main().
26305
263062000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
26307
26308 * gdb.base/default.exp: Fix expected pattern.
26309 * gdb.base/help.exp: Same.
26310
263112000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26312
26313 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
26314 Don't use xfail's because that affects only the following test.
26315
26316 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
26317 solaris or linux.
26318
26319 * gdb.base/selftest.exp: Update to reflect changes to main.c.
26320
263212000-01-07 Michael Snyder <msnyder@cygnus.com>
26322
26323 * gdb.base/display.exp: Some yacc parsers like to say
26324 "A syntax error" rather than "A parse error". Accept both.
26325
263262000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
26327
26328 * gdb.base/default.exp: Remove OS dependent string from "target
26329 remote" test.
26330 * gdb.base/help.exp: Same for "help target remote" test.
26331
263322000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26333
26334 From Jim Kingdon <kingdon@redhat.com>:
26335
26336 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
26337 prompt (cleanup rather than necessity, but still might keep output
26338 from spilling to next test).
26339
263402000-01-02 Fred Fish <fnf@cygnus.com>
26341
26342 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
26343 AIX, which defines them in <sys/types.h>.
26344
263451999-12-16 Stan Shebs <shebs@andros.cygnus.com>
26346
26347 * gdb.base/default.exp: Match arm* etc instead of arm in "info
26348 float" test.
26349
263501999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
26351
26352 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
26353
26354 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26355 outermost frame disallowed".
26356
263571999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26358
26359 * gdb.base/setvar.exp: New tests for setting the value of a struct
26360 with a constant list.
26361
263621999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26363
26364 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26365 require the user to type a cast before setting the value of a struct.
26366
263671999-12-06 Jim Blandy <jimb@cygnus.com>
26368
26369 * gdb.base/default.exp: Expect the new 'info float' command on
26370 all i386 platforms.
26371
26372 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26373 LinuxThreads libraries that don't support debugging.
26374
26375Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26376
26377 * gdb.base/remote.c: Fill the buffer with truely random data.
26378 Change the buffer type to ``unsigned char'' to simplify size
26379 arithmetic.
26380
26381 * gdb.base/remote.exp: Reduce download numbers by one. Typical
26382 stub only handles 400-1 byte packets. Verify that the download
26383 worked.
26384
263851999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26386
26387 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26388 tests, using UNRESOLVED for the untested cases. Also, does not wait
26389 for a timeout if the prompt was received before a recognizable pattern.
26390
263911999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26392
26393 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26394
263951999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26396
26397 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
26398 watchpoints.
26399
264001999-11-24 Jason Merrill <jason@casey.cygnus.com>
26401
26402 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26403
26404 * gdb.c++/local.exp: Be more flexible in recognizing local class
26405 name mangling. Don't allow horribly truncated method names.
26406 * gdb.c++/derivation.exp: Expect protected inheritance.
26407 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26408 * gdb.c++/virtfunc.exp: Likewise.
26409 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26410 when printing a nested enum.
26411
264121999-11-22 Jim Blandy <jimb@cygnus.com>
26413
26414 * gdb.base/step-test.exp: Properly await GDB's response to setting
26415 a breakpoint on the call to large_struct_by_value.
26416
26417 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26418 just because we have debug info for the `start' function.
26419
264201999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26421
26422 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26423 "Unknown signal" messages, which indicate (on LinuxThreads) that
26424 GDB doesn't know how to debug threads on this system. This is
26425 better than hanging while philosopher 0 dumps chatter into gdb.log.
26426
264271999-11-18 Tom Tromey <tromey@cygnus.com>
26428
26429 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26430
264311999-11-18 Fred Fish <fnf@cygnus.com>
26432
26433 * gdb.base/coremaker2.c: Add sample program for generating
26434 cores that is more self contained than coremaker.c. Eventually
26435 I'll add more code to this and tie it into the testsuite.
26436
264371999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26438
26439 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26440
264411999-11-10 Jimmy Guo <guo@cup.hp.com>
26442
26443 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
26444 from $srcdir/lib/.
26445 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
26446 and gdb.c++/.
26447
26448 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26449
26450 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
26451 'continue with watch' test point.
26452
264531999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26454
26455 Merged from p2linux-990323-branch:
26456
26457 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26458
26459Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26460
26461 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
26462 {limit,fixed}''. Test ``set download-write-size''.
26463
26464Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26465
26466 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
26467 gdb_expect_list.
26468
26469Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26470
26471 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26472
264731999-11-03 Mark Salter <msalter@cygnus.com>
26474
26475 * gdb.base/break.exp: Fix "stub continue" pattern.
26476
264771999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26478
26479 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26480
264811999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26482
26483 * gdb.base/display.exp ("finish"): Add timeout clause.
26484
26485 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26486 plain prompt clause, so this doesn't have to time out in order to
26487 fail.
26488
26489 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
26490 breakpoint hit messages include an address.
26491
26492 * gdb.base/display.exp: Don't forget to escape parens in regular
26493 expressions. Unix regexp notatation sucks.
26494
264951999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26496
26497 * gdb.base/annota1.exp: Test for annotate-signalled: change output
26498 order for 'signalled' message.
26499
265001999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26501
26502 From Jimmy Guo <guo@cup.hp.com>:
26503 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26504 * gdb.base/annota1.c: Add code for tests to work with.
26505
265061999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26507
26508 * gdb.base/remote.exp: New test for remote downloading settings.
26509 * gdb.base/remote.c: New file with large .data.
26510
265111999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26512
26513 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26514 for LinuxThreads support, merged from the Code Fusion branch.
26515
26516Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26517
26518 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
26519 containing exp_continue into a while within an expect. Don't
26520 attempt a start more than three times. Check return value from
26521 gdb_load.
26522
26523Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26524
26525 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
26526 a pass case.
26527
265281999-10-01 Kevin Buettner <kevinb@cygnus.com>
26529
26530 * gdb.base/break.c (main): Added a statement that we can step
26531 off of.
26532 * gdb.base/break.exp: Added tests for setting a breakpoint
26533 at an offset and stepping onto a breakpoint.
26534
265351999-10-01 Fred Fish <fnf@cygnus.com>
26536
26537 * gdb.base/help.exp (help add-symbol-file): Update to match current
26538 gdb output.
26539
265401999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26541
26542 * gdb.base/break.exp: Code locations are in hex, don't forget!
26543 (For HP-UX.)
26544
265451999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26546
26547 * condbreak.exp: Use break.c as test program.
26548 * condbreak.c: Remove, redundant with break.c.
26549
265501999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26551
26552 * config/monitor.exp (gdb_target_monitor): Disable X- and
26553 Z-packets if the target needs it.
26554
265551999-09-13 James Ingham <jingham@leda.cygnus.com>
26556
26557 * gdb.c++/overload.exp: Added tests for listing overloaded
26558 functions with function pointers in the arg, explicitly calling
26559 out the version you want.
26560
265611999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26562
26563 * long_long.exp: Add variations of test cases that work for
26564 targets with 16-bit ints and 32-bit doubles.
26565
265661999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26567
26568 * break.c (main): Compare a possibly-uninitialized argc with an
26569 unlikely value that fits in 16 bits.
26570
265711999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26572
26573 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26574 0xfeeb, don't want negative numbers if ints are 16 bits.
26575
26576 * lib/gdb.exp (skip_cplus_tests): New proc.
26577 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26578 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26579 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26580 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26581 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26582 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26583 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26584 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
26585
26586 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26587
26588Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26589
26590 * gdb.base/corefile.exp (up): Allow a parameter to appear
26591 in the frame that we're going up to.
26592
26593 From Jim Blandy <jimb@cygnus.com>:
26594
26595 * gdb.base/default.exp (info float): Expect some output now.
26596
26597 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26598 returning floating-point values to fail on the x86.
26599 * gdb.base/callfwmall.exp (do_function_calls): Same.
26600
26601 * gdb.base/list.exp (test_listsize): Correct expectations for
26602 listing line 1 with listsize 2. Also, listing a single line
26603 works now, as does listing three lines. [Kevin's note: There
26604 were a number of other cases fixed too where the expectations
26605 differed...]
26606
266071999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26608
26609 * gdb.base/selftest.exp: Add case for when version prints as
26610 constant string instead of char pointer.
26611
266121999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26613
26614 * gdb.base/ending-run.exp: Add Solaris case for what happens when
26615 stepping out of main.
26616
26617 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26618 G++ used.
26619
26620 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
26621 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
26622
26623 * gdb.c++/ovldbreak.exp: Update match string in test that
26624 includes a warning of multiple breakpoints.
26625
266261999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26627
26628 * gdb.base/display.exp: Improve precision of step-after-finish
26629 added yesterday.
26630
26631 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
26632 test.
26633
26634 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26635 configs when using G++, not just hppa*.
26636
266371999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26638
26639 * gdb.base/async.c: New file.
26640 * gdb.base/async.exp: New file.
26641
26642Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26643
26644 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26645 PA64.
26646
26647Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26648
26649 * gdb.base/display.exp: "finish" can leave us mid-line on many
26650 targets, deal with it. Add a small constant to main, instead of
26651 1000 since main+1000 may not be a valid address in the target.
26652
26653 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26654 on hpux11.
26655
26656 * gdb.base/attach.exp: Handle another hpux11 error message variant
26657 when attaching to a process that does not exist.
26658
266591999-08-19 J.T. Conklin <jtc@redback.com>
26660
26661 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
26662 characters in 'continue to 1241' test.
26663
266641999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26665
26666 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26667 stop in print_long_arg_list, define and use a whitespace
26668 variable in print_small_structs test, add an XFAIL for Solaris.
26669 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26670 interested enough to fix.
26671
266721999-08-13 Keith Seitz <keiths@cygnus.com>
26673
26674 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26675 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26676 proc knows about targets other than the natives.
26677 (test_assign): Use "gdb_run_cmd" to "run" the target.
26678 Check that we've actually hit the breakpoint at main.
26679 When we attempt to assign a value to a local variable, check
26680 that the variable is in the current scope, i.e., don't use
26681 a test with an empty result.
26682
26683Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26684
26685 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
26686 command.
26687
266881999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26689
26690 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26691 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26692 gdb.compat, gdb.threads-hp.
26693 gdb.hp/configure, gdb.hp/configure.in: New files.
26694 gdb.hp/Makefile.in: Recurse into new subdirs.
26695 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26696 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26697 in object files.
26698 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26699
267001999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26701
26702 * gdb.base/display.exp: Help expect by putting a newline in the
26703 funky printf, remove a bogus p/a test.
26704
267051999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26706
26707 * gdb.base/display.exp: Make sure that when we say 'run', we are
26708 connected to the target. This is necessary when running not
26709 natively.
26710
267111999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26712
26713 * gdb.base/step-test.exp: Removed some extraneous messages.
26714
26715 * gdb.base/long_long.exp: Don't run memory examination tests
26716 on little-endian targets (they will need a different set of
26717 results to match).
26718
267191999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26720
26721 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26722 until somebody decides to fix GDB.
26723
26724 * gdb.base/long_long.c: Stop compiler complaint by specifying long
26725 constant as "ULL".
26726 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26727 matches for a couple x/2 commands.
26728
267291999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26730
26731 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26732 by merging in ref-types2 tests.
26733 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26734
26735 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26736 * gdb.c++/Makefile.in: Add standard actions.
26737 (EXECUTABLES): Rename from PROGS, update list.
26738 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26739 from gdb.hp.
26740 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26741 foo and bar locals.
26742 * gdb.c++/anon-union.exp: Fix tests to match.
26743 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26744 expect matches to handle output variations.
26745 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26746 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
26747 output, add HP alternatives for new and delete prints.
26748 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
26749 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
26750 * gdb.c++/demangle.exp: Use $style when reporting failure.
26751 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26752 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26753 match alternatives.
26754 * gdb.c++/local.exp: Add match alternatives or xfails for HP
26755 compilers.
26756 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26757 * gdb.c++/method.exp: Add match alternatives.
26758 * gdb.c++/misc.cc: Add bool types.
26759 * gdb.c++/misc.exp: Add tests for bool types.
26760 * gdb.c++/overload.exp: Add xfails.
26761 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26762 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26763 add some more template parameter tests (only for HP currently).
26764 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26765 * gdb.c++/virtfunc.cc: Add return type and value for main.
26766 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26767 match alternatives.
26768
267691999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26770
26771 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26772
267731999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26774
26775 * gdb.base/signals.exp: Don't expect getting a backtrace from
26776 within a signal handler to fail on Linux.
26777
267781999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26779
26780 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26781 * lib/gdb.exp: Remove some gratuitious semicolons.
26782 (delete_breakpoints): Increase timeout.
26783 (gdb_expect): Add -notransfer option.
26784 (gdb_test): Use -notransfer option.
26785 (get_compiler_info): Add f77 case.
26786 (get_compiler): New proc, split out from gdb_preprocess, add f77
26787 case.
26788 (gdb_preprocess): Call get_compiler.
26789
26790 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26791 * gdb.base/attach.exp, gdb.base/display.exp,
26792 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26793 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26794 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26795 third arg to gdb_test.
26796 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26797 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26798 HP-UX xfails, add others.
26799 * gdb.base/completion.exp: Reflect name change of self-test.
26800 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26801 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26802 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26803 HP failure number.
26804 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26805 useless HP-UX 10.30 references.
26806 * gdb.base/maint.exp: Loosen matches.
26807 * gdb.base/pointers.c (main): Declare more_code.
26808 * gdb.base/pointers.exp: Match on output of a `next'.
26809 * gdb.base/structs.c: Add prototypes.
26810 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26811 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26812
268131999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26814
26815 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26816 command.
26817
268181999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26819
26820 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26821 Fix run to main failures. Watchpoint can be hardware watchpoint.
26822
26823 * gdb.base/annota1.exp: Clean up some more, in case printf has
26824 debug info. Deal with lack of signal hanlder info in stack.
26825
26826 From Jim Kingdon <kingdon@redhat.com>:
26827 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26828
268291999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26830
26831 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26832 gdb.base/foll-vfork.exp: Don't run for crosses.
26833
26834Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26835
26836 * gdb.base/configure.in: Check for gdbvars.exp instead of
26837 a1-selftest.exp.
26838 * gdb.base/configure: Re-generate.
26839
268401999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26841
26842 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26843 in trying to run first and name is too long.
26844
26845 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26846 pointers2.c and pointers2.exp, respectively.
26847 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26848 doschk happier.
26849
268501999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26851
26852 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26853 callfuncs2.c and callfuncs2.exp.
26854
26855 * gdb.base/list.exp: Remove mistaken xfails.
26856 * gdb.base/list0.h: Add optional prototypes.
26857
26858Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26859
26860 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26861 calling malloc.
26862 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26863 * ptype.exp: Move test for get_debug_format to before its first
26864 use.
26865
268661999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26867
26868 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26869 * gdb.base/annota2.cc, annota2.exp: Move from here.
26870 * gdb.c++/annota2.cc, annota2.exp: To here.
26871 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26872
26873Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26874
26875 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26876 a consistent format.
26877
268781999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26879
26880 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26881 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26882 HP compilers, also set the globals $true and $false.
26883
26884 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26885 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26886 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26887 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26888 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26889 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26890 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26891 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26892 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26893 whatis.c} Add C++ compatible function definitions and return
26894 types, add includes for library functions.
26895 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26896 * gdb.base/step-test.c (myglob): Rename from glob.
26897 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26898 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26899 files, move here from gdb.hp.
26900 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26901 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26902 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26903 Adjust line numbers in regexps.
26904
26905 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26906 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26907 instead of 0/1.
26908
26909 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26910 foll-vfork.exp: New files, move here from gdb.hp.
26911 * gdb.base/page.exp: New file, test of pagination command.
26912
26913 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26914 recursion test.
26915 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26916
26917 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26918 gdb.base/solib.exp: Fix compiler invocation process.
26919
26920 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26921 HP-UX 11, turn off overload resolution explicitly.
26922 * gdb.base/commands.exp: Set argument list explicitly, add
26923 watchpoint test.
26924 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26925 them work.
26926 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26927 expressions properly.
26928 * gdb.base/corefile.exp: Loosen the match slightly.
26929 * gdb.base/default.exp: Allow "Error accessing memory" message
26930 also.
26931 * gdb.base/display.exp: Skip over x/0 j if PA64.
26932 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26933 * gdb.base/interrupt.exp: Ditto.
26934 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26935 in use.
26936 * gdb.base/list.exp: Add xfails for HP-UX.
26937 * gdb.base/long_long.exp: Refine some of the numeric matches.
26938 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26939 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26940 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26941 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26942 * gdb.base/ptype.exp: Succeed on more varieties of output.
26943 * gdb.base/scope.exp: Add xfails for HP-UX.
26944 * gdb.base/sect-cmd.exp: Add more cases.
26945 * gdb.base/setvar.exp: Add xfails for HP-UX.
26946 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26947 * gdb.base/signals.exp: Match on void symbolically.
26948 * gdb.base/step-test.exp: Add case for PA64.
26949 * gdb.base/term.exp: Add exit and restart.
26950 * gdb.base/twice.exp: Clean up after self.
26951 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26952 * gdb.base/whatis.exp: Allow more ways to pass tests.
26953
26954 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26955 no longer useful.
26956
26957Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26958
26959 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26960 list of patterns.
26961 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26962 print_double_array(double_array)", "continuing to breakpoint
26963 1018", "print print_double_array(array_d)" and "continuing to
26964 1034" tests.
26965
269661999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26967
26968 * Makefile.in: Add empty html and install-html targets.
26969
269701999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26971
26972 * config/mt-*: Remove, these haven't been used since 1996.
26973
269741999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26975
26976 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26977 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26978 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26979
269801999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26981
26982 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26983 simpler match case for the ptype of the big class.
26984
269851999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26986
26987 * gdb.exp: Fix test for gdb_prompt existence.
26988
269891999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26990
26991 * gdb.exp (gdb_test): Add fail after calls to perror.
26992
269931999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26994
26995 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26996
269971999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26998
26999 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
27000
27001Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
27002
27003 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
27004 malloc() is linked in.
27005
270061999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27007
27008 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
27009 step at end.
27010
27011 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
27012
270131999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
27014
27015 * gdb.java/jv-print.exp: New file. (Our first Java test!)
27016
27017Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
27018
27019 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
27020 * gdb.base/mips_pro.exp: Likewise.
27021
270221999-06-02 Keith Seitz <keiths@cygnus.com>
27023
27024 * gdb.c++/templates.cc: Change all "new" operators to throw
27025 an exception.
27026 * gdb.c++/cplusfuncs.cc: Likewise.
27027
27028 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
27029
27030Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
27031
27032 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
27033 * gdb.base/ending-run.exp: When stepping out of main, accept a
27034 step into an arbitrary assembler file.
27035
270361999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27037
27038 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
27039 "breakpoint-invalid" to be printed.
27040 * gdb.base/annota2.exp: Revise line number for main
27041 breakpoint. Allow any number of "frames-invalid" and
27042 "breakpoint-invalid" to be printed.
27043 * gdb.base/annota2.cc: Initialize a.x to 0.
27044
270451999-05-17 Keith Seitz <keiths@cygnus.com>
27046
27047 * gdb.base/call-ar-st.exp: Skip
27048 "print print_double_array (double_array)" when "skip_float_tests" set.
27049 Ditto for "print print_double_array(array_d)",
27050 "print print_small_structs", "print print_ten_doubles", and
27051 "step into print_long_arg_list".
27052 Don't assume we can step into "print_long_arg_list": we could step
27053 into memcpy.
27054 * gdb.base/call-rt-st.exp: Don't run float-related tests when
27055 "skip_float_tests" is set: "print print_one_double(*d1)"
27056 and "print print_two_floats(*f3)".
27057 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
27058 "skip_float_tests" is set.
27059 * gdb.base/varargs.exp: Skip
27060 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
27061 "skip_float_tests" set.
27062
270631999-05-06 Keith Seitz <keiths@cygnus.com>
27064
27065 * gdb.base/annota2.cc: Include stdio.h.
27066
27067Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
27068
27069 * gdb.base/crossload.exp: Remove, this has been disabled ever
27070 since BFD stopped including all targets, and cross-GDB gets
27071 plenty of testing anyway.
27072 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
27073 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
27074 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
27075 * gdb.base/README: Remove, was doc for this.
27076 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
27077 needed.
27078
270791999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27080
27081 * gdb.base/call-ar-st.exp: Fix one regular expression in test
27082 output.
27083
27084 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
27085 * gdb.base/annota2.exp: New file. More annotation tests.
27086 * gdb.base/annota1.c: New file. Source file for annota1.exp.
27087 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
27088
270891999-04-23 Angela Marie Thomas <angela@cygnus.com>
27090
27091 * config/cfdbug.exp: New file.
27092
270931999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
27094
27095 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
27096 Marcus Daniel's and Dale Hawkins's demangler crashes.
27097
27098 * gdb.c++/demangle.exp (test_gnu_style_demangling,
27099 test_lucid_style_demangling, test_arm_style_demangling,
27100 test_hp_style_demangling): Try Tom Tromey's core-dumping
27101 identifier under each demangling style.
27102
271031999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
27104
27105 * gdb.c++/demangle.exp: Include the current demangling style
27106 in all test names.
27107 (current_demangling_style): New global variable.
27108 (set_demangling_style, test_demangling_core, test_demangling,
27109 test_demangling_exact): New functions.
27110 (test_gnu_style_demangling, test_lucid_style_demangling,
27111 test_arm_style_demangling, test_hp_style_demangling): Use those,
27112 instead of calling gdb_test and gdb_test_exact directly.
27113 (catch_demangling_errors): New function, which reports errors
27114 signalled by the demangling test functions in an orderly way.
27115 (do_tests): Use catch_demangling_errors.
27116
271171999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
27118
27119 * gdb.base/signals.exp (test_handle_all_print): Use () for
27120 grouping in expressions, not {}.
27121
27122 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
27123 initialized yet.
27124
271251999-04-01 Stan Shebs <shebs@andros.cygnus.com>
27126
27127 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
27128 are listed.
27129
271301999-03-26 Stan Shebs <shebs@andros.cygnus.com>
27131
27132 * gdb.stabs/weird.exp: Test for CC being defined before
27133 looking at its value.
27134
271351999-03-25 Stan Shebs <shebs@andros.cygnus.com>
27136
27137 * gdb.base/call-ar-st.exp: Remove stray '#'.
27138 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
27139 "short int" and "long int".
27140 * gdb.c++/overload.cc: Cast the string added in the previous
27141 change, to mollify finicky HP compiler.
27142 * gdb.hp/reg-test.exp (testfile): Fix file name.
27143 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
27144
27145 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
27146 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
27147 alternate form of enum ptype.
27148
271491999-03-23 Stan Shebs <shebs@andros.cygnus.com>
27150
27151 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
27152 * gdb.hp/*.exp: Change all to run compiler probe only after
27153 passing skip_hp_tests, so as not to waste time on guaranteed
27154 failure.
27155
27156 * gdb.c++/overload.cc: Pass string instead of char addr, always
27157 init ccpfoo.
27158 * gdb.c++/templates.cc: Fix syntax error.
27159
27160Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27161
27162 * gdb.base/commands.exp: Add test for correct position of '>'
27163 when issuing the 'commands' command after a 'while' or 'if'
27164 command.
27165
271661999-03-18 James Ingham <jingham@cygnus.com>
27167
27168 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
27169
27170 * gdb.c++/method.exp: It was testing an uninitialized int on the
27171 stack and assuming it was positive.
27172
27173 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
27174
27175 * gdb.base/step-test.exp: Catch a case where finish is broken and
27176 keep it from killing the rest of the tests.
27177 Use gdb_continue_to_end.
27178
27179 * gdb.base/sigall.exp: use gdb_continue_to_end.
27180
27181 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
27182
27183 * gdb.base/display.exp: use runto_main, not run.
27184
27185 * gdb.base/default.exp: Check for the current error message in the
27186 r abbreviation test.
27187 Add strongarm to the targets that know info float.
27188
27189 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
27190 run which doesn't work with monitors.
27191
27192 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
27193 1034 test.
27194
27195 * gdb.base/break.exp: use the gdb_continue_to_end proc.
27196
27197 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
27198 end of a program. Traps the case (in Cygmon) when the program
27199 never really exits. Same as Mark's continue_to_exit, but I had
27200 put it in a lot more places, so I used my name. Sorry Mark...
27201
27202 * config/monitor.exp (gdb_target_monitor): added another
27203 target_info parameter: remotebinarydownload. This will set the
27204 remotebinarydownload flag if this is causing some boards trouble.
27205
272061999-03-18 Mark Salter <msalter@cygnus.com>
27207
27208 * lib/gdb.exp (continue_to_exit): New function.
27209
27210 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
27211 * gdb.base/ending-run.exp: Ditto.
27212 * gdb.base/step-test.exp: Ditto.
27213
272141999-03-16 Stan Shebs <shebs@andros.cygnus.com>
27215
27216 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
27217 (suggested by Art Haas <ahaas@neosoft.com>).
27218
272191999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
27220
27221 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
27222
27223Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
27224
27225 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
27226 descriptions of types (short unsigned int vs unsigned short, etc).
27227
272281999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
27229
27230 * gdb.base/call-strs.exp: Don't assume that `step' will step over
27231 a call to strlen; sometimes we do have sources.
27232
272331999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27234
27235 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
27236 character, so GDB won't print garbage after its end.
27237
27238 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
27239 breakpoint there instead. Sometimes GCC emits memcpy to handle
27240 the large structures being passed by value, so we step into that
27241 instead of sum_array_print, which obscures what we're really testing.
27242 * gdb.base/step-test.exp: However, we do want a test that notices
27243 the bizarre steps into memcpy, so do that here. Add check for
27244 stepping into function calls that pass large structures by value.
27245 ("Is that a noun clause, or are you just happy to see me?")
27246 Remove all references to specific line numbers.
27247 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
27248 New type and function.
27249 (main): Call large_struct_by_value, passing it a large struct by value.
27250 * lib/gdb.exp (gdb_get_line_number): New function.
27251
27252 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27253 more portable.
27254
272551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27256
27257 * lib/gdb.exp: Doc fixes.
27258
272591999-03-05 Nick Clifton <nickc@cygnus.com>
27260
27261 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
27262
272631999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
27264
27265 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
27266 commands. They're not germane to this test, and they don't work
27267 that way on remote targets.
27268
272691999-03-01 James Ingham <jingham@cygnus.com>
27270
27271 * Changelog entries merged over from gdb development branch.
27272
27273 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
27274
27275 * lib/gdb.exp (gdbtk_analyze_results): Generic function
27276 for outputting results of test run.
27277
27278 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
27279
27280 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
27281
272821999-02-25 Felix Lee <flee@cygnus.com>
27283
27284 * lib/gdb.exp (debug_format): initialize
27285
272861999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
27287
27288 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
27289 * gdb.base/call-rt-st.c: Ditto.
27290
272911999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
27292
27293 * gdb.threads/pthreads.exp (horiz): New variable.
27294 (test_startup): Fix regexps that capture thread numbers.
27295
272961999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
27297
27298 * gdb.base/smoke.exp: Disambiguate two test case names (both
27299 called ``print'').
27300
27301Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27302
27303 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
27304 compilation.
27305
273061999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27307
27308 * gdb.base/miscexprs.exp: Change patterns to match GDB's
27309 actual output formatting.
27310 * gdb.base/smoke.exp: GDB removes leading 0's.
27311 * gdb.base/volatile.exp: Don't check type of remuneration;
27312 that variable is no longer defined in constvars.c.
27313 * gdb.base/step-test.c (main): Exit with explicit exit code.
27314 * gdb.base/step-test.exp: Remove two nexti checks--they are
27315 not portable.
27316
273171999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27318
27319 * gdb.base/help.exp ("help delete display"): Fix test to match
27320 gdb's output.
27321
27322 * gdb.base/long_long.c (known_types): Initialize values to zero.
27323 * gdb.base/long_long.exp: Step one more line
27324 so 'dec' is initialized in "get to known place". GDB removes
27325 leading zeros. Explicitly ask for hex formatting. Use
27326 unique test case names.
27327
27328Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27329
27330 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
27331
27332 * gdb.c++/method.exp: Add missing close brace.
27333
273341999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
27335
27336 * gdb.base/maint.exp: Use 'set height 0' to disable page
27337 prompting, not 'set height 400'.
27338
27339 Fix a bunch of timeouts.
27340 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
27341 four separate tests, so expect doesn't take forever to match a ton
27342 of text against a regexp with lots of .* forms.
27343 ("maint print psymbols", "maint print symbols"): Make some of
27344 these greps more selective, so that expect doesn't try to wade
27345 through huge piles of output and time out.
27346
27347 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27348
27349 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
27350 tests: one which doesn't expect shlib events to be reported, and
27351 another which does, but is XFAIL for all platforms other than
27352 HP/UX.
27353
27354 * gdb.base/break.exp: Teach the test suite that the `catch
27355 fork', `catch vfork', and `catch exec' commands produce error
27356 messages on platforms that don't provide these features.
27357
27358Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27359
27360 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
27361 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27362 (shortening names from solib_threshold.exp etc), won't run on
27363 anything but HP-UX for the foreseeable future.
27364 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
27365 reflect move.
27366
27367Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27368
27369 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27370 gdb.trace/Makefile.in (clean): Remove all test executables.
27371
27372Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27373
27374 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27375 successfully re-sets breakpoints in shared libraries.
27376 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27377
27378Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27379
27380 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27381 and compiled w/o GCC.
27382
27383 * gdb.hp/watch-cmd.exp: ditto.
27384
27385 * gdb.hp/watch-hp.exp: ditto.
27386
27387 * gdb.hp/xdb1.exp: ditto.
27388
27389 * gdb.hp/xdb2.exp: ditto.
27390
27391 * gdb.hp/dbx.exp: ditto.
27392
27393Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27394
27395 * constvars.c: Remove C++-isms.
27396 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
27397 with GCC.
27398
27399Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27400
27401 The following changes are part of the HP merge.
27402
27403 * gdb.base/break.exp: new tests to verify that catchpoints for
27404 fork, vfork, and exec don't trigger inappropriately.
27405
27406 * gdb.base/opaque.exp: compile one file at a time, then link.
27407
27408 * gdb.base/signals.exp: be more restrictive about which hppa
27409 systems receive a setup_xfail. new tests.
27410
27411 * gdb.base/solib_threshold.build: new file.
27412 * gdb.base/solib_threshold.exp: new file.
27413 * gdb.base/solib_threshold.link_opts: new file.
27414 * gdb.base/solib_threshold.mk: new file.
27415 * gdb.base/gen_solib_threshold.c: new file.
27416
27417 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27418 tests. New tests for enums inside classes.
27419
27420 * gdb.c++/compiler.cc: indicate support of template debugging.
27421
27422 * gdb.c++/demangle.exp: run hp style demangling tests.
27423
27424 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27425 tests.
27426
27427 * gdb.c++/misc.cc: changes to support new tests.
27428
27429 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27430 to support new tests.
27431
27432 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27433 gcc, then skip these tests.
27434
27435Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27436
27437 The following files are part of the HP merge; some had longer
27438 names at HP, but have been renamed to be no more than 14
27439 characters in length.
27440
27441 * gdb.hp/ambiguous.cc: new file.
27442 * gdb.hp/ambiguous.exp: new file.
27443 * gdb.hp/attach.exp: new file.
27444 * gdb.hp/attach2.exp: new file.
27445 * gdb.hp/classes-hp.exp: new file.
27446 * gdb.hp/ctti.exp: new file.
27447 * gdb.hp/ctti-add.cc: new file.
27448 * gdb.hp/ctti-add1.cc: new file.
27449 * gdb.hp/ctti-add2.cc: new file.
27450 * gdb.hp/ctti-add3.cc: new file.
27451 * gdb.hp/dbx.exp: new file.
27452 * gdb.hp/exception.cc: new file.
27453 * gdb.hp/exception.exp: new file.
27454 * gdb.hp/foll-exec.c: new file.
27455 * gdb.hp/foll-exec.exp: new file.
27456 * gdb.hp/foll-fork.c: new file.
27457 * gdb.hp/foll-fork.exp: new file.
27458 * gdb.hp/foll-vfork.c: new file.
27459 * gdb.hp/foll-vfork.exp: new file.
27460 * gdb.hp/inherit-hp.exp: new file.
27461 * gdb.hp/more-steps.exp: new file.
27462 * gdb.hp/namespace.cc: new file.
27463 * gdb.hp/namespace.exp: new file.
27464 * gdb.hp/optimize.exp: new file.
27465 * gdb.hp/pxdb.c: new file.
27466 * gdb.hp/pxdb.exp: new file.
27467 * gdb.hp/quicksort.exp: new file.
27468 * gdb.hp/reg-test.exp: new file.
27469 * gdb.hp/reg-test.s: new file.
27470 * gdb.hp/sized-enum.c: new file.
27471 * gdb.hp/sized-enum.exp: new file.
27472 * gdb.hp/start-stop.exp: new file.
27473 * gdb.hp/templ-hp.cc: new file.
27474 * gdb.hp/templ-hp.exp: new file.
27475 * gdb.hp/thr-lib.c: new file.
27476 * gdb.hp/thr-lib.exp: new file.
27477 * gdb.hp/thr-lib.h: new file.
27478 * gdb.hp/thr-liblib.c: new file.
27479 * gdb.hp/virtfun-hp.c: new file.
27480 * gdb.hp/virtfun-hp.exp: new file.
27481 * gdb.hp/watch-cmd.exp: new file.
27482 * gdb.hp/watch-hp.exp: new file.
27483 * gdb.hp/xdb1.exp: new file.
27484 * gdb.hp/xdb2.exp: new file.
27485 * gdb.hp/xdb3.exp: new file.
27486
27487Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27488
27489 The following files are part of the HP merge; some had longer
27490 names at HP, but have been renamed to be no more than 14
27491 characters in length.
27492
27493 * gdb.base/ss.h: new file.
27494 * gdb.base/call-ar-st.c: new file.
27495 * gdb.base/call-ar-st.exp: new file.
27496 * gdb.base/call-rt-st.c: new file.
27497 * gdb.base/call-rt-st-exp: new file.
27498 * gdb.base/call-strs.exp: new file.
27499 * gdb.base/ena-dis-br.exp: new file.
27500 * gdb.base/environ.exp: new file.
27501 * gdb.base/long_long.exp: new file.
27502 * gdb.base/sect-cmd.exp: new file.
27503 * gdb.base/shlib-cl2.exp: new file.
27504 * gdb.base/smoke.exp: new file.
27505 * gdb.base/so-impl-ld.c: new file.
27506 * gdb.base/so-impl-ld.exp: new file.
27507 * gdb.base/so-indr-cl.c: new file.
27508 * gdb.base/so-indr-cl.exp: new file.
27509 * gdb.base/varargs.exp: new file.
27510 * gdb.base/volatile.exp: new file.
27511 * gdb.base/whatis-exp.exp: new file.
27512 * gdb.base/display.exp: new file.
27513 * gdb.c++/derivation.exp: new file.
27514 * gdb.c++/local.exp: new file.
27515 * gdb.c++/member-ptr.exp: new file.
27516 * gdb.c++/overload.exp: new file.
27517 * gdb.c++/ovldbreak.exp: new file.
27518 * gdb.c++/ref-types.exp: new file.
27519 * gdb.c++/ref-types2.exp: new file.
27520 * gdb.c++/userdef.exp: new file.
27521
27522Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27523
27524 * gdb.base/default.exp: Reflect wording change in remote.c.
27525
27526Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
27527
27528 * gdb.base/help.exp: Update to reflect current text.
27529
27530Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27531
27532 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27533 they're stack variables and contain garbage.
27534 * gdb.c++/anon-union.exp: new file.
27535
27536 The following changes were made by David Taylor
27537 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27538 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27539 in changes by HP.
27540
27541 * gdb.base/bitops.exp: new file.
27542 * gdb.base/default.exp: change expected messages for catch and
27543 info catch tests to reflect HP merge changes.
27544 * gdb.base/enable-disable-break.exp
27545 * gdb.base/ending-run.c: new file.
27546 * gdb.base/long_long.c: new file.
27547 * gdb.base/maint.exp: new file.
27548 * gdb.base/pointers2.exp: new file.
27549 * gdb.base/shlib-call2.exp: new file.
27550 * gdb.base/solib.exp: new file.
27551 * gdb.base/step-test.c: new file.
27552 * gdb.c++/anon-union.cc: new file.
27553 * gdb.c++/local.cc: new file.
27554 * gdb.c++/member-pointer.cc: new file.
27555 * gdb.c++/method.cc: new file.
27556 * gdb.c++/ref-types.cc: new file.
27557 * gdb.c++/ref-types2.cc: new file.
27558 * gdb.c++/userdef.cc: new file.
27559
27560 * gdb.base/scope.exp: compile one file at a time, then link.
27561 * gdb.base/langs.exp: ditto.
27562 * gdb.base/list.exp: ditto.
27563
27564Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
27565
27566 The following changes were made by David Taylor
27567 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27568 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27569 in changes by HP.
27570
27571 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27572 skip tests. When compiling pass c++ flag to gdb_compile.
27573 * gdb.c++/
27574
27575 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27576 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27577 (skip_hp_tests): new function.
27578 (gdb_preprocess): new function.
27579
27580 * configure.in (hpdir): decide whether to configure gdb.hp.
27581 * configure: regenerated.
27582
27583 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27584 to delete on clean.
27585 (EXECUTABLES): update to reflect new additions.
27586 * gdb.base/commands.exp: update message expected.
27587 * gdb.base/default.exp: add copyright notice.
27588 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27589 * gdb.base/help.exp: update messages to reflect current text.
27590 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27591 targets for recurse tests.
27592 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27593 skip this file.
27594
27595 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27596 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27597 compilation.
27598 * gdb.c++/misc.exp: ditto.
27599 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27600 run the tests. tell gdb_compile that it's a c++ compilation.
27601
27602 * gdb.threads/pthreads.exp: fix typo in message.
27603
27604 * gdb.base/all-bin.exp: new file.
27605 * gdb.base/arithmet.exp: new file.
27606 * gdb.base/assign.exp: new file.
27607 * gdb.base/completion.exp: new file.
27608 * gdb.base/cond-expr.exp: new file.
27609 * gdb.base/condbreak.exp: new file.
27610 * gdb.base/define.exp: new file.
27611 * gdb.base/dollar.exp: new file.
27612 * gdb.base/environment.exp: new file.
27613 * gdb.base/eval-skip.exp: new file.
27614 * gdb.base/jump.exp: new file.
27615 * gdb.base/logical.exp: new file.
27616 * gdb.base/pointers.exp: new file.
27617 * gdb.base/relational.exp: new file.
27618 * gdb.base/section_command.exp: new file.
27619 * gdb.base/whatis-expr.exp: new file.
27620
27621 * gdb.base/all-types.c: new file.
27622 * gdb.base/call-array-struct.c: new file.
27623 * gdb.base/call-return-struct.c: new file.
27624 * gdb.base/call-strings.c: new file.
27625 * gdb.base/callfuncs2.c: new file.
27626 * gdb.base/condbreak.c: new file.
27627 * gdb.base/constvars.c: new file.
27628 * gdb.base/display.c: new file.
27629 * gdb.base/int-type.c: new file.
27630 * gdb.base/jump.c: new file.
27631 * gdb.base/miscexprs.c: new file.
27632 * gdb.base/pointers.c: new file.
27633 * gdb.base/pointers2.c: new file.
27634 * gdb.base/shmain.c: new file.
27635 * gdb.base/shr1.c: new file.
27636 * gdb.base/shr2.c: new file.
27637 * gdb.base/solib.c: new file.
27638 * gdb.base/solib1.c: new file.
27639 * gdb.base/solib2.c: new file.
27640 * gdb.base/varargs.c: new file.
27641 * gdb.c++/derivation.cc: new file.
27642 * gdb.c++/overload.cc: new file.
27643 * gdb.c++/ovldbreak.cc: new file.
27644 * gdb.hp/attach.c: new file.
27645 * gdb.hp/attach2.c: new file.
27646 * gdb.hp/average.c: new file.
27647 * gdb.hp/compiler.c: new file.
27648 * gdb.hp/compiler.cc: new file.
27649 * gdb.hp/execd-program.c: new file.
27650 * gdb.hp/follow-exec.c: new file.
27651 * gdb.hp/follow-fork.c: new file.
27652 * gdb.hp/follow-vfork-and-exec.c: new file.
27653 * gdb.hp/misc-hp.cc: new file.
27654 * gdb.hp/more-steps.c: new file.
27655 * gdb.hp/optimize.c: new file.
27656 * gdb.hp/quicksort.c: new file.
27657 * gdb.hp/run-hp.c: new file.
27658 * gdb.hp/start-stop.c: new file.
27659 * gdb.hp/sum.c: new file.
27660 * gdb.hp/templates-hp.cc: new file.
27661 * gdb.hp/thread-local-in-lib.c: new file.
27662 * gdb.hp/thread-local-in-lib.h: new file.
27663 * gdb.hp/thread-local-in-lib.lib.c: new file.
27664 * gdb.hp/vforked-program.c: new file.
27665 * gdb.hp/virtfunc-hp.cc: new file.
27666 * gdb.hp/watchpoint-hp.c: new file.
27667 * gdb.hp/xdb.c: new file.
27668 * gdb.hp/xdb0.c: new file.
27669 * gdb.hp/xdb0.h: new file.
27670 * gdb.hp/xdb1.c: new file.
27671
27672Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27673
27674 The following change was made by Edith Epstein
27675 <eepstein@cygnus.com> as part of a project to merge in changes
27676 originally made by HP; HP did not create ChangeLog entries.
27677
27678 * gdb.c++/demangle.exp: changed the expected output for some
27679 ARM-style mangling -- removed second reference to datatype.
27680 For example, maint demangle __dt__11T1__pt__2_cFv
27681 T1<char>::~T1<char>(void)
27682 becomes,
27683 maint demangle __dt__11T1__pt__2_cFv
27684 T1<char>::~T1(void)
27685
27686 (test_hp_style_demangling): new hp specific demangling test cases.
27687
27688Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27689
27690 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27691 * gdb.trace/backtrace.exp: Likewise.
27692 * gdb.trace/circ.exp: Likewise.
27693 * gdb.trace/collection.exp: Likewise.
27694 * gdb.trace/deltrace.exp: Likewise.
27695 * gdb.trace/infotrace.exp: Likewise.
27696 * gdb.trace/limits.exp: Likewise.
27697 * gdb.trace/packetlen.exp: Likewise.
27698 * gdb.trace/passc-dyn.exp: Likewise.
27699 * gdb.trace/passcount.exp: Likewise.
27700 * gdb.trace/report.exp: Likewise.
27701 * gdb.trace/save-trace.exp: Likewise.
27702 * gdb.trace/tfind.exp: Likewise.
27703 * gdb.trace/tracecmd.exp: Likewise.
27704 * gdb.trace/while-dyn.exp: Likewise.
27705 * gdb.trace/while-stepping.exp: Likewise.
27706
277071998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27708
27709 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27710
27711Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27712
27713 From Brendan Kehoe:
27714 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27715 int return types.
27716
27717Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27718
27719 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
27720 remote dos host testing right.
27721
27722Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27723
27724 * gdb.base/corefile.exp: remove some xfails.
27725
27726Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27727
27728 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
27729 have different timestamps.
27730
27731Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27732
27733 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
27734 gdb.base/default.exp: Replace "exec" with "executable".
27735
27736Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27737
27738 * gdb.base/default.exp: Change else if to elseif from previous
27739 delta.
27740
27741Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27742
27743 * gdb.base/default.exp: Add brace missing from previous delta.
27744
27745Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27746
27747 * gdb.base/default.exp: Support test for info float for all
27748 varieties of arm toolchain.
27749
27750Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
27751
27752 * gdb.trace/*.exp: remove "remote_download" command.
27753
27754Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
27755
27756 * gdb.trace/*.exp: remove -gdwarf from compile.
27757
27758Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27759
27760 * gdb.trace/configure.in(AC_INIT): typo
27761 * gdb.trace/configure: regenerated
27762
27763Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27764
27765 * config/m68k-emc.exp: New file.
27766 * lib/<emc-support.exp trace-support.exp}: New files.
27767 * configure.in: add new test directory gdb.trace.
27768 * gdb.trace/{configure configure.in Makefile.in}: New files.
27769 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27770 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27771 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27772 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27773 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27774 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27775 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27776
27777Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27778
27779 * gdb.c++/classes.exp: Change all regular expressions to match
27780 arbitrary combinations of newline/carriage-return, so that they
27781 will work equally well on Unix and Windows.
27782 * gdb.c++/inherit.exp: ditto.
27783 * gdb.c++/virtfunc.exp: ditto.
27784
277851998-08-11 Dawn Perchik <dawn@cygnus.com>
27786
27787 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27788
27789Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27790
27791 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27792 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27793 to use a0-a3/d0-d3 as needed.
27794
27795Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27796
27797 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27798 * gdb.disasm/am33.exp: Corresponding changes.
27799
278001998-07-11 Felix Lee <flee@cygnus.com>
27801
27802 * gdb.base/callfuncs.exp: add cmp10 test.
27803 * gdb.base/callfuncs.c (cmp10): new function.
27804
27805Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27806
27807 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27808 into two parts to get around a synchronization problem in expect.
27809
27810Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27811
27812 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27813
27814 * configure.in: Add options for gdbtk testsuite.
27815
27816 * configure: Regenerate.
27817
27818 * gdb.gdbtk: New directory to hold gdbtk tests.
27819
27820Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27821
27822 * gdb.fortran/types.exp: Escape brackets in expect patterns
27823 for test_float_literal_types_accepted tests.
27824 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27825 before run test.
27826
27827Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27828
27829 * am33.exp: Just compile, do not link the testcase.
27830 * am33.s: Add ".am33" pseudoop to force am33 mode.
27831
278321998-06-25 Felix Lee <flee@cygnus.com>
27833
27834 * gdb.base/setshow.exp: make sure $pc is sane.
27835
27836 * gdb.stabs/weird.exp: split expect patterns properly.
27837
27838Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27839
27840 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27841 * gdb.disasm/am33.exp: Run it.
27842
27843Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27844
27845 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27846 match processing (and eliminate spurious timeouts when running).
27847
27848Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27849
27850 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27851 exception test, but conditionalize it on target [mach | gnu].
27852
27853Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27854
27855 * gdb.base/overlays.exp: fixup compile line for linker script.
27856
27857Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27858
27859 * gdb.fortran/types.exp: don't guess at float size.
27860
27861Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27862
27863 * gdb.base/exprs.exp: delete test that depends on int size.
27864
27865Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27866
27867 * config/sim.exp: Removed checks for target triplets.
27868 (gdb_target_sim): Use gdb,target_sim_options.
27869
27870Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27871
27872 * gdb.base/reread.exp: New file.
27873 * gdb.base/reread1.c: New file.
27874 * gdb.base/reread2.c: New file.
27875
27876Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27877
27878 * config/sim.exp: Use 'target sim -sparclite' when running
27879 SPARClite programs.
27880
27881Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27882
27883 * gdb.base/structs2.exp: New file.
27884 * gdb.base/structs2.c: New file.
27885
27886Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27887
27888 * gdb.asm/common.inc: New file.
27889 * gdb.asm/d10v.inc: New file.
27890 * asm-source.exp: Pass -I's to gas to find .inc files.
27891 Update line numbers in expected output.
27892 * asmsrc1.s: Rewrite.
27893 * asmsrc2.s: Rewrite.
27894 * configure.in: Create arch.inc symlink.
27895 * configure: Regenerate.
27896 * Makefile.in (distclean): Delete arch.inc.
27897
27898Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27899
27900 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27901 (t_enum_value2): ditto
27902 (t_enum_value3): ditto
27903 (main): ditto
27904Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27905
27906 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27907 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27908 change.
27909 Use gdb_test instead of send_gdb/gdb_expect sequences.
27910
27911Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27912
27913 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27914 not void.
27915
27916Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27917
27918 * gdb.base/branches.c: Code with lots of loops and
27919 subroutines. Used to test gdbs ability to single step through PC
27920 changes, especially to test mips-tdep.c:mips_next_pc
27921
27922Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27923
27924 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27925 more rigorous EGCS C++ error checking.
27926
27927Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27928
27929 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27930 tests.
27931 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27932 function when asleep.
27933 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27934 for i*86 Linux and SVR4 signal handling problems.
27935 Remove linux xfail for `next to handler in signals_tests_1', fixed
27936 by recent infrun.c change.
27937 Limit backtrace to 10 frames to avoid timeout problems with infinite
27938 stack backtraces.
27939 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27940 target.[ch] change.
27941
27942Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27943
27944 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27945 for a newline from gdb before continuing.
27946 (default_gdb_exit): Just look for y or n.
27947 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27948 it does, fail the rests of the tests in the file.
27949
27950Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27951
27952 * config/cygmon.exp: New file.
27953
27954Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27955
27956 * gdb.base/list.exp: Fix problem with "list default lines around
27957 main" test on remote targets.
27958
27959 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27960 run test on remote targets.
27961
27962Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27963
27964 * gdb.asm: New directory.
27965 * configure.in: Configure it.
27966 * configure: Regenerate.
27967 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27968 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27969
27970Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27971
27972 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27973
27974Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27975
27976 * gdb.base/overlays (several files): Merge the two overlay
27977 managers into one. Change variables (foox, barx, bazx, grbxx)
27978 back into ints but force them to load in their proper sections.
27979
27980Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27981
27982 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27983 on-chip insn memory and IMAP1 to upper 128k.
27984 (D10VCopy): Handle memory regions crossing 16k boundaries.
27985 (D10VCopy): Transfer data in 32 bit chunks.
27986
27987Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27988
27989 * gdb.base/overlays.c (main): Exit normally when result is
27990 correct.
27991
27992 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27993 map. Include space for printf in .text segment.
27994
27995 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27996 updated d10v memory VMA/LMA map.
27997 (D10VCopy): Call D10VTranslate.
27998
27999Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
28000
28001 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
28002
28003 * gdb.base/bar.c (barx, bar): Change variable to small array so
28004 that it won't be put into the .sdata - small data -
28005 section. Update reference.
28006 * gdb.base/baz.c (bazx, baz): Ditto.
28007 * gdb.base/foo.c (foox, foo): Ditto.
28008 * gdb.base/grbx.c (grbxx, grbx): Ditto.
28009
28010 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
28011 to be arrays.
28012
28013Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
28014
28015 * gdb.base/overlays.exp: fix up and get working again.
28016 Add tests for backtraces from an overlay function.
28017
28018Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
28019
28020 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
28021 "calling function with watchpoint enabled".
28022
28023Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
28024
28025 * gdb.base/break.exp (test_next_with_recursion): Remove
28026 gdb_suppress_tests for d10v-*-*.
28027 * lib/gdb.exp (gdb_suppress_tests): Disable this function
28028 pending review of whether it is useful or not.
28029
28030Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
28031
28032 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
28033
28034Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
28035
28036 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
28037 * config/dve.exp: New file to support Densan boards.
28038
28039Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
28040
28041 * gdb.base/interrupt.exp: Document problem of simulators, signals,
28042 reads and BSD.
28043
28044Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
28045
28046 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
28047 response.
28048
28049 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
28050
28051Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
28052
28053 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
28054 test.
28055
28056 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
28057 target_sizeof_long and target_bigendian_p.
28058 (structs_by_value, structs_by_reference): Check values according
28059 to targets word size and endianess.
28060
28061Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
28062
28063 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
28064 output.
28065
28066Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
28067
28068 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
28069 Update test of set args help to match source change.
28070
28071Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
28072
28073 * gdb.base/default.exp: Expect help system output to be in
28074 alphabetical order.
28075 * gdb.base/help.exp: Ditto.
28076
28077Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
28078
28079 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
28080 "i*86-pc-linux-gnu*".
28081 * gdb.base/interrupt.exp: Ditto.
28082 * gdb.base/corefile.exp: Ditto.
28083
28084 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
28085 define vxworks when building the testcase.
28086
28087 * gdb.base/ptype.exp: Fix testnames to be unique.
28088 * gdb.base/radix.exp: Ditto.
28089 * gdb.base/term.exp: Ditto.
28090 * gdb.base/whatis.exp: Ditto.
28091 * gdb.c++/classes.exp: Ditto.
28092
28093Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
28094
28095 * gdb.base/callfuncs.exp: Fix indentation.
28096
28097 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
28098 suppress_flag has been set.
28099 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
28100 target feature.
28101
28102Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
28103
28104 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
28105 the testcase.
28106
28107 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
28108 set_debug_traps() and breakpoint().
28109 * gdb.c++/misc.cc (main): Ditto.
28110 * gdb.c++/templates.cc (main): Ditto.
28111 * gdb.c++/virtfunc.cc (main): Ditto.
28112
28113Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
28114
28115 * lib/gdb.exp(gdb_step_for_stub): New function.
28116 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
28117 exists, reload the executable and do a "continue" instead of
28118 doing a jump.
28119 (runto_main): Use gdb_step_for_stub.
28120
28121 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
28122 tests to have unique names.
28123 * gdb.base/callfuncs.exp: Ditto.
28124 * gdb.base/commands.exp: Ditto.
28125 * gdb.base/default.exp: Ditto.
28126 * gdb.base/help.exp: Ditto.
28127 * gdb.base/list.exp: Ditto.
28128 * gdb.base/opaque.exp: Ditto.
28129 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
28130 similar tests.
28131
28132 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
28133 * gdb.c++/cplusfuncs.cc: Ditto.
28134 * gdb.c++/virtfunc.cc: Ditto.
28135
28136 * config/monitor.exp: Keep track of the last file we saw, rather
28137 than trying to get the info from gdb.
28138
28139 * gdb.fortran/types.exp: Move comment to previous line.
28140
28141Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
28142
28143 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
28144 target mode.
28145
28146Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
28147
28148 From Bob Manson:
28149 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
28150 string from GDB when it connects.
28151
28152 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
28153
28154Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
28155
28156 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
28157 if we can't get a debug format from GDB (we may be testing an
28158 older GDB). Use a 10 second timeout when checking for the format.
28159
28160 * gdb.stabs/weird.exp: Fix quoting.
28161
28162 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
28163
28164Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
28165
28166 * config/arm-ice.exp: New file.
28167
28168Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
28169
28170 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
28171 until it has been modified to work with the new testsuite.
28172
28173 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
28174 testcase won't compile, cause all of the testcases in the file to
28175 fail instead.
28176
28177 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
28178 (gdb_clear_suppressed): New procedure.
28179 (gdb_stop_suppressing_tests): Only clear suppress_flag if
28180 it contains a positive value.
28181
28182Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
28183
28184 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
28185
28186 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
28187
28188Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
28189
28190 * lib/gdb.exp (setup_xfail_format): New function.
28191 (get_debug_format): New function to get debug format.
28192 (debug_format): New global variable to hold last value set
28193 by get_debug_format.
28194 * gdb.base/list.exp: Call get_debug_format and expect some
28195 tests to fail for DWARF 1 and COFF formats.
28196 * gdb.c++/ptype.exp: Ditto.
28197 * gdb.c++/classes.exp: Ditto.
28198 * gdb.c++/cplusfuncs.exp: Ditto.
28199 * gdb.c++/inherit.exp: Ditto.
28200 * gdb.c++/templates.exp: Ditto.
28201 * gdb.c++/virtfunc.exp: Ditto.
28202
28203Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
28204
28205 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
28206 host doesn't have a currently-open connection.
28207
28208 * config/sparclet.exp: Cleanups and fixes to make it generic for
28209 any gdb stub target. Handle cases where gdb doesn't respond when
28210 interrupted in a sane fashion.
28211
28212 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
28213 same thing in a totally different way.
28214
28215 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
28216 setting "timeout".
28217 (gdb_start): We set the global gdb_prompt variable in
28218 default_gdb_init now.
28219
28220Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
28221
28222 * gdb.base/printcmds.exp: Fix "check for floating addition"
28223 regexp to accept results within approx +/- .01 of exact value.
28224 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
28225
28226Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
28227
28228 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
28229 properly.
28230 (gdb_expect): Add optional timeout parameter, and add timeout
28231 value to various calls.
28232 (gdb_suppress_tests): Only give one warning message per group.
28233
28234Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
28235
28236 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
28237 global variables. Handle getting a value for $timeout more
28238 gracefully.
28239
28240Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28241
28242 * lib/gdb.exp: Close connection to remote host if gdb doesn't
28243 initialize.
28244 (default_gdb_init): New procedure; allow gdb_init to be overridden
28245 by a target configuration file.
28246 (gdb_expect): Pass the timeout to remote_expect.
28247
28248 * config/monitor.exp(gdb_load): Fix typo in regexp.
28249
28250Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
28251
28252 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
28253
28254Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
28255
28256 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
28257 here. Call gdb_target_exec before rebooting the target, to make
28258 sure the connection to the target is closed.
28259 (gdb_load): Pass the name of the executable to gdb_target_monitor.
28260 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
28261 Also detect "Timeout reading from remote" error.
28262
28263 * config/gdbserver.exp: Pass the executable being loaded to
28264 gdb_target_monitor. Don't call gdb_file_cmd here; let
28265 gdb_target_monitor do it.
28266
28267 * gdb.disasm/hppa.exp: Don't use exec_output.
28268
28269Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
28270
28271 * gdb.base/list.exp: If we're debugging a non-native target,
28272 try to set the pc register to point to the start of the
28273 program before doing the first list command.
28274
28275 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
28276 test_calls after restarting.
28277
28278 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
28279 reloading.
28280
28281 * gdb.base/watchpoint.exp: Fix typo.
28282
28283 * gdb.base/setshow.exp: Check for use_gdb_stub.
28284
28285 * gdb.base/break.exp: Fix continue until exit test for the gdb
28286 stub case.
28287 * gdb.base/langs.exp: Ditto.
28288
28289 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
28290 gdb_load_offset. If we weren't given a file to load, figure out
28291 what the current file is and use it.
28292
28293 * config/i386-bozo.exp: New file.
28294
28295Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
28296
28297 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
28298 feature.
28299
28300 * config/proelf.exp: New entry.
28301
28302Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
28303
28304 * lib/gdb.exp: Remove spurious .* patterns at the beginning
28305 of regexps.
28306
28307 * gdb.base/watchpoint.exp: Don't run the test_stepping
28308 tests if gdb can't call functions on the target.
28309
28310 * gdb.base/setshow.exp: Don't run the set prompt tests if
28311 the board has gdb_prompt set.
28312
28313Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
28314
28315 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
28316 * gdb.base/commands.exp: Likewise.
28317 * gdb.base/setshow.exp: Likewise.
28318
28319Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
28320
28321 * config/monitor.exp(gdb_start): Look for gdb_prompt target
28322 feature.
28323
28324 * config/i960.exp: New file.
28325
28326Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
28327
28328 * gdb.base/funcargs.exp: Check for gdb,short_int target
28329 feature instead of looking for explicit target triplets.
28330
28331Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
28332
28333 * gdb.base/printcmds.exp: add a couple more tests a la
28334 "p 123DEADBEEF", to check parse_number.
28335 * top.c: change "to enable to enable" to "to enable" in a couple
28336 of help strings.
28337
28338Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
28339
28340 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
28341 on the mn10300.
28342
28343Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
28344
28345 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28346 where the test executable is run with explicit args.
28347 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28348
28349Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28350
28351 * gdb.base/run.c: Use FAKEARGV to build test executable that
28352 does not require a command line arg, since most simulators
28353 don't currently support passing such an arg into the simulated
28354 program.
28355 * gdb.base/commands.exp: Change tests to insert the proper
28356 value as the arg to the first recursive factorial call. Change
28357 compilation line to define FAKEARGV at compile time.
28358
28359Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28360
28361 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28362 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28363 function with watchpoint enabled" test.
28364
28365Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28366
28367 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
28368 Don't call gdb_test when the command doesn't return to a gdb prompt.
28369
28370 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
28371 "Tests restarted" messages.
28372
28373Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28374
28375 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28376
28377Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
28378
28379 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28380 for INFO SYMBOL; add help tests for OVERLAY commands.
28381 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28382 add tests for OVERLAY commands
28383 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28384 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28385 * gdb.base/sigall.c: add usestubs code frag
28386 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
28387
28388Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28389
28390 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28391 failures.
28392 (gdb_stop_suppressing_tests): Note that tests have restarted.
28393
28394Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28395
28396 * config/h8300.exp: New file.
28397
28398Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28399
28400 * gdb.base/setshow.exp: Check for the existence of a
28401 feature, not its value.
28402
28403Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28404
28405 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28406
28407 * gdb.base/scope.exp: It's now init0(), not init().
28408
28409 * gdb.base/scope0.c: For now, change init() to be init0().
28410
28411 * config/monitor.exp: Use gdb_serial in preference to serial
28412 or netport.
28413
28414 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
28415 and it's not already set.
28416
28417Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28418
28419 * gdb.base/setshow.exp: Only test the run command if the target
28420 isn't using a stub and if it supports argument passing.
28421
28422Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28423
28424 * config/udi.exp(gdb_start): Make sure UDICONF is set
28425 properly before starting gdb.
28426
28427Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28428
28429 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28430 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28431 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28432
28433Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28434
28435 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
28436 specialized code to reboot the board, use remote_reboot instead.
28437
28438 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28439
28440 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28441
28442 * config/monitor.exp: Make sure we disconnect from the target.
28443 Also, try a reboot/reload cycle instead of failing if the
28444 load fails.
28445
28446Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28447
28448 * gdb.base/default.exp: Don't set match_max.
28449 * gdb.base/help.exp: Ditto.
28450 * gdb.base/list.exp: Ditto.
28451 * gdb.base/signals.exp: Ditto.
28452
28453 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28454 set, use remote_ld to download the testcase instead of
28455 the GDB loader.
28456
28457Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28458
28459 * config/vr5000.exp: New file.
28460
28461 * config/monitor.exp(gdb_target_monitor): Add pattern for
28462 "Ending remote" to detect errors in connecting.
28463
28464 * gdb.base/setshow.exp: Add .* within auto language test.
28465
28466 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28467 target feature.
28468
28469 * config/monitor.exp(gdb_load): Check for a failure when loading,
28470 and reboot the board if necessary.
28471
28472 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28473 a set of tests. Remove print.* from the patterns being checked.
28474
28475Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28476
28477 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28478 refer to gdb_spawn_id.
28479
28480 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28481 longer used.
28482 * config/sparclet.exp: Ditto.
28483 * config/sparclet-old.exp: Ditto.
28484 * config/slite.exp: Ditto.
28485 * config/sim.exp: Ditto.
28486 * gdb.base/funcargs.exp: Ditto.
28487
28488 * lib/gdb.exp:Remove references to gdb_spawn_id.
28489 (gdb_expect): Move to remote.exp.
28490
28491Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28492
28493 * config/monitor.exp: Detect the "Couldn't establish connection"
28494 message from GDB.
28495
28496Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28497
28498 * gdb.base/bitfields.exp: Use runto instead of explicit
28499 gdb_run_cmd/gdb_expect sequences.
28500
28501 * gdb.base/break.exp(text_next_with_recursion): Add match for
28502 gdb_expect call.
28503
28504 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28505 We also need to handle the "A program is being debugged already"
28506 prompt from gdb. Use gdb_test to set the baud rate.
28507
28508 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28509 to 20000. Really. I mean it.
28510
28511Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28512
28513 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
28514 fails. If suppress_flag is set, skip perror message about not
28515 being able to send to GDB.
28516 (send_gdb): If suppress_flag is set, don't try to send commands to
28517 GDB.
28518 (gdb_expect): If suppress_flag is set, always fail immediately.
28519 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28520 (gdb_init): Call gdb_stop_suppressing_tests.
28521 (default_gdb_exit): Ditto.
28522 (default_gdb_start): Ditto.
28523
28524 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
28525 gdb_stop_suppressing_tests as appropriate.
28526 * gdb.base/break.exp: Ditto.
28527 * gdb.base/callfuncs.exp: Ditto.
28528 * gdb.base/commands.exp: Ditto.
28529 * gdb.base/exprs.exp: Ditto.
28530 * gdb.base/funcargs.exp: Ditto.
28531 * gdb.base/list.exp: Ditto.
28532 * gdb.base/recurse.exp: Ditto.
28533 * gdb.base/scope.exp: Ditto.
28534 * gdb.base/structs.exp: Ditto.
28535 * gdb.c++/inherit.exp: Ditto.
28536
28537Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28538
28539 * config/vr4300.exp: New file.
28540
28541 * gdb.*/*.exp: Call gdb_expect instead of expect.
28542
28543 * lib/gdb.exp(gdb_expect): New function.
28544
28545Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28546
28547 * lib/gdb.exp(gdb_init): New function.
28548
28549 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
28550 for each individual variable set.
28551
28552 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28553 name.
28554
28555 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28556
28557 * gdb.base/scope.exp: Use gdb_test.
28558
28559 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28560 aborting; the testsuite driver will do that for us (see
28561 gdb_finish). Also, use gdb_test in a few more places.
28562
28563Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28564
28565 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28566
28567Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28568
28569 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28570 and "add_tests" are not at the same address.
28571
28572Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28573
28574 * gdb.base/ptype.exp: Use gdb_test.
28575
28576Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28577
28578 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28579 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28580 left in. No longer expect them to fail.
28581
28582 * gdb.stabs/*.mt; Deleted, no longer used.
28583 * gdb.stabs/configure.in: Remove references to target makefile
28584 frags.
28585 * gdb.stabs/configure: Rebuilt.
28586
28587 * gdb.disasm/*.mt: Deleted, no longer used.
28588 * gdb.disasm/configure.in: Remove references to target makefile
28589 frags. Use "sh3.s" as the unique filename for this directory.
28590 * gdb.disasm/configure: Rebuilt.
28591
28592 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28593 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28594 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28595
28596Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28597
28598 * config/udi.exp: Use mondfe,name instead of remote_host.
28599
28600Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28601
28602 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28603 a function with a watchpoint enabled on the mn10200.
28604
28605 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28606 before trying to create it!
28607
28608Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28609
28610 * config/vx.exp: Use hostname instead of netport.
28611
28612 * config/vxworks.exp: New file.
28613
28614 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28615
28616 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
28617 gdb before assuming everything worked. Send a ^C if a timeout
28618 occurs.
28619
28620 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28621 $gdb_spawn_id directly.
28622 (gdb_run_cmd): Try _start as well as start. Use the target feature
28623 gdb,start_symbol as the symbol to start from when jumping.
28624
28625Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28626
28627 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28628 redundant) test.
28629
28630 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28631 it doesn't lose for 16bit integer systems.
28632
28633Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28634
28635 * gdb.fortran/types.exp: If the target doesn't support "double"
28636 data types, then expect "real" types to only be 4 bytes.
28637
28638 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28639 call tests if the target doesn't support inferior function calls.
28640
28641 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28642 in printf tests.
28643
28644Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28645
28646 * gdb.base/help.exp: Disable "help set", "help show", and
28647 "help support". Simplify regexp for "help stack".
28648
28649 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28650 to 60 seconds. Temporarily set match_max to 15000 around the
28651 "info copying" test.
28652
28653 * gdb.base/nodebug.exp: Don't try to do an inferior function
28654 call if the target doesn't support them.
28655 * gdb.base/printcmds.exp: Likewise.
28656 * gdb.base/setvar.exp: Likewise.
28657 * gdb.base/structs.exp: Likewise.
28658 * gdb.c++/templates.exp: Likewise.
28659 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28660
28661 * gdb.base/recurse.exp: Enable for the mn10200.
28662
28663 * configure.in: Do configure gdb.stabs directory for *-*-elf
28664 targets.
28665 * configure: Rebuilt.
28666
28667 * gdb.base/break.exp: Check for gdb,noresults before testing
28668 exit status and/or results from the target.
28669 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28670 * lib/gdb.exp: Remove old (now bogus) initialization of
28671 noinferior, noargs, noresults and nosignals.
28672
28673Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28674
28675 * config/sh.exp: New file.
28676
28677 * config/slite.exp: Try to connect multiple times to the board
28678 before rebooting. Only send a "monitor run" if need_monitor_run
28679 is set.
28680
28681 * gdb.base/break.exp: Don't do the "stub continue" test if
28682 the target has gdb_stub set.
28683
28684 * gdb.base/callfuncs.exp: Increase the timeout.
28685
28686 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28687 if the target has gdb,noinferiorio set.
28688
28689 * gdb.base/list.exp: Increase match_max to 10000 characters.
28690
28691 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28692
28693 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28694 target.
28695
28696 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28697
28698Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28699
28700 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
28701 trying to delete the copy of gdb. Catch the file delete so we
28702 don't die if the delete fails; also, the file should be copied to
28703 the host, not to the build.
28704
28705Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28706
28707 * lib/gdb.exp(gdb_test): Surround the result pattern with
28708 parenthesis in case it contains multiple regexps separated
28709 with |.
28710
28711 * gdb.base/watchpoint.exp: Use gdb_test.
28712 * gdb.base/default.exp: Ditto.
28713
28714Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28715
28716 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
28717
28718 * gdb.base/scope.exp: Use gdb_test.
28719 * gdb.c++/classes.exp: Ditto.
28720 * gdb.c++/inherit.exp: Ditto.
28721
28722Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28723
28724 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28725 remote_exec instead.
28726 * gdb.base/corefile.exp: Don't be ridiculous.
28727 * gdb.base/*.c: Add missing stub invocations.
28728
28729Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28730
28731 * config/slite.exp: Miscellaneous fixes.
28732
28733 * lib/gdb.exp: Fix runto.
28734
28735 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28736 the target.
28737
28738 * gdb.base/watchpoint.exp: Fix regexp.
28739
28740 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28741 close and wait commands, as the descriptor may now be
28742 invalid. Always call "remote_close host".
28743
28744Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28745
28746 Major rewrite for testsuite revision.
28747
28748 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28749 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28750 instead of relying on spawn_id to always contain a valid
28751 spawn id.
28752 (get_compiler_info): New procedure to build the ${binfile}.ci
28753 file, instead of replicating this in N different places.
28754 (gdb_compile): New procedure.
28755
28756 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
28757 appropriate arguments) instead of compile. Use gdb_test in a lot
28758 more places. Use send_gdb instead of send. Always run gdb_start
28759 at the start of a testcase, as this is no longer done magically.
28760
28761 config/*-gdb.exp: Rename without the -gdb suffix.
28762
28763 config/mips.exp: Use remote_close instead of exit_remote_shell.
28764 config/monitor.exp: Use target_info instead of looking at
28765 baud, timeout, etc.
28766 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28767
28768Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28769
28770 * gdb.c++/templates.exp (test_ptype_of_templates),
28771 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28772 Update expect patterns for destructors and assignment operators
28773 to match corresponding c-typeprint.c changes.
28774 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28775 to destructor breakpoint test, GDB should be able to set the
28776 destructor breakpoint without specifying arguments.
28777
28778Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28779
28780 * gdb.threads/pthreads.exp: Change result for failure to compile due
28781 to lack of pthreads runtime support from an error to simply an
28782 unsupported test, per dejagnu standards.
28783
28784Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28785
28786 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28787 where GDB exits to reduce pattern match time.
28788 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28789
28790 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28791
28792Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28793
28794 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28795 * gdb.base/default.exp: ditto.
28796 * gdb.base/nodebug.exp: ditto.
28797 * gdb.base/printcmds.exp: ditto.
28798 * gdb.base/ptype.exp: ditto.
28799 * gdb.base/setvar.exp: ditto.
28800 * gdb.base/structs.exp: ditto.
28801 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28802
28803Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28804
28805 * configure, */configure: Rebuild with autoconf 2.12.
28806
28807Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28808
28809 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28810 use new i*86-pc-linux*-gnu quads.
28811 * gdb.base/corefile.exp: Ditto.
28812 * gdb.base/signals.exp: Ditto.
28813 * gdb.base/sigall.exp: Ditto.
28814 * gdb.base/interrupt.exp: Ditto.
28815
28816 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28817 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28818 RedHat 4.0.
28819
28820 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28821 linux. This allows the test case to at least compile on latest
28822 linux, but still not run due to missing the threads runtime library.
28823
28824Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28825
28826 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28827 directory to search gdb directory. Accept and step over conditional
28828 stack alignment code. Consume $prompt in failure cases.
28829 Reset timeout to $oldtimeout instead of some arbitrary value.
28830 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28831 timeout problems with infinite stack backtraces.
28832 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28833 Accept function parameters for linkfunc member.
28834
28835Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28836
28837 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28838 (CXXFLAGS): Remove, unreferenced.
28839 (B_OPTIONS): Add for -B options and add code to initialize with
28840 previous -B options and also add -B option to pick up cross compiled
28841 runtime.
28842 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28843 doing cross compiles.
28844 (target_alias): Declare global.
28845 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28846 to verify that gcc exists in build tree, and if so set CC to that
28847 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28848
28849Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28850
28851 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28852 ptype test for anonymous union. Fixup testcase to match
28853 current gcc debug output.
28854
28855Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28856
28857 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28858 force argument to an unsigned long type.
28859
28860Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28861
28862 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28863 tests and anonymous union print/ptype tests.
28864 * gdb.base/list.exp (test_forward-search): Increase timeout by
28865 5 minutes for the "search extremely long line" case.
28866 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28867 completely optional and that the pass/fail messages use the command as
28868 the message if that third arg is a null string.
28869 (gdb_test_exact): Arrange that a null string pattern means match a
28870 null string output rather than any output, which might include random
28871 errors.
28872 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28873 backtrace test.
28874 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28875 always failing and failure is now exposed by gdb.exp changes.
28876
28877Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28878
28879 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28880 weren't being noted.
28881
28882Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28883
28884 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28885 * gdb.stabs/weird.exp: Remove v_comb xfails.
28886
28887Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28888
28889 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28890 list.exp scope.exp watchpoint.exp]
28891 Make all timeout error msgs explicitly say "(timeout)".
28892
28893Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28894
28895 * config/monitor.exp: Increase download timeout to 1000 seconds.
28896
28897Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28898
28899 * config/m32r.exp: Increase timeout to 120 seconds.
28900
28901Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28902
28903 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28904 and accept older ordering as obsolescent gcc or gdb.
28905 * gdb.c++/templates.exp: Ditto.
28906 * gdb.c++/virtfunc.exp: Ditto.
28907
28908Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28909
28910 * gdb.base/coremaker.c: Add code to mmap some data so we
28911 can check that it ends up in the core file.
28912 * gdb.base/corefile.exp: Add test to read mmapped data
28913 from core file.
28914
28915Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28916
28917 * config/m32r.exp: New file.
28918
28919Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28920
28921 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28922 that cflags can contains -gstabs, and work correctly for other tests.
28923
28924Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28925
28926 * gdb.base/setshow.exp: New file, tests show and set.
28927 * gdb.base/setshow.c: New file, tests show and set.
28928 * gdb.base/help.exp: Add test for help set|show annotate.
28929 * gdb.base/default.exp: Add test for set|show annotate.
28930
28931Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28932
28933 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28934 errors unique.
28935 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28936 explicitly.
28937
28938Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28939
28940 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28941 and width commands. This is done elsewhere.
28942 * (gdb_start): Don't call gdb_start_sim here. That's already
28943 done in gdb_load. This fixes lots of failures in default.exp.
28944
28945Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28946
28947 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28948 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28949 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28950 in the same we we treat other failures (since it may be an expected
28951 condition), rather than as an error.
28952 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28953 old test format.
28954
28955Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28956
28957 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28958 (distclean maintainer-clean realclean): No need to remove files
28959 twice. Nuke the duplicates.
28960 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28961 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28962 Remove config.h along with other config files.
28963
28964Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28965
28966 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28967 "p func1 ()" and note that rests of tests are skipped.
28968 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28969 setup_xfails for "print func2::coremaker_local".
28970 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28971 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28972 affected by the previous run test.
28973 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28974 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28975 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28976 "pass int powerset tuple" and "pass modeless int powerset tuple".
28977 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28978 "real write 4" and "real write 8".
28979 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28980 setup_xfails for "print vs1 after tuple assign 2",
28981 "print \$i after tuple assign 2", and
28982 "print vs2 after tuple assign 2".
28983 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28984 meaningful error message and return -1 so the caller can
28985 suppress further tests and avoid a cascade of errors.
28986
28987Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28988
28989 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28990 format for printing version.
28991 * gdb.base/default.exp: Ditto.
28992 * gdb.base/interrupt.exp: Fix problem with cascade of
28993 errors if child process dies while calling a function.
28994
28995Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28996
28997 * Makefile.in (VPATH): Add
28998 * Makefile.in (Makefile, config.status): Fix rules so things get
28999 remade when necessary.
29000
29001Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
29002
29003 * Makefile.in (just-check): Add path to sibling expect dir
29004 to environment variable specified by RPATH_ENVVAR.
29005
29006Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
29007
29008 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
29009 (just-check): Add shared library paths for libstdc++, tk,
29010 tcl, bfd, and opcodes to the environment variable specified
29011 in RPATH_ENVVAR.
29012 * configure.in: Add support to recognize --enable-shared flag
29013 and generate correct value for RPATH_ENVVAR.
29014 * configure: Regenerated with autoconf.
29015
29016Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
29017
29018 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
29019 include all osf versions.
29020 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
29021 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
29022 when target is linux. When failing to build pthreads test
29023 executable, give more meaningful message.
29024 * gdb.threads/pthreads.c: Hpux also uses old definition of second
29025 arg for pthread_create.
29026
29027Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
29028
29029 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
29030 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
29031 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
29032 and -lpthreads (everybody else).
29033 (test_startup): Fail gracefully if threads are not supported.
29034 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
29035 "p/c array_index("abcdef",2)" when not gcc compiled.
29036 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
29037 "print func2::coremaker_local" when not gcc compiled.
29038 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
29039 "ptype on opaque struct tagname (statically)",
29040 "ptype on opaque struct tagname (dynamically) 1", and
29041 "ptype on opaque struct tagname (dynamically) 2"
29042 for not compiled with gcc.
29043 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
29044 backtrace when compiled with gcc.
29045 * lib/gdb.exp (runto_main): Return result of "runto main" rather
29046 than always return success.
29047
29048Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
29049
29050 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
29051
29052Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
29053
29054 * gdb.base/structs.exp: Undo last change.
29055
29056Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
29057
29058 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
29059 encapsulate all the steps/nexts done during self test, starting
29060 at main, and makes them less sensitive to optimization issues.
29061 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
29062 signal handler" test.
29063 * gdb.threads/pthreads.exp: Only run this for native configs.
29064 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
29065 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
29066 tests.
29067 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
29068 for "runto test_calls(void)" test.
29069
29070Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
29071
29072 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
29073 and don't expect address info in breakpoint confirmations.
29074
29075Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
29076
29077 * gdb.base/list.exp (test_forward_search): Increase timeout
29078 temporarily by 60 seconds for searching extremely long line,
29079 and then reset to old value when done. Increase expect input
29080 buffer to 10000.
29081
29082Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
29083
29084 * gdb.base/list.exp (test_forward_search): Fix to handle very
29085 long source line without overflowing expect's input buffer.
29086
29087Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
29088
29089 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
29090 "buffer_full".
29091
29092 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
29093 "buffer_full".
29094
29095 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
29096 "buffer_full".
29097
29098 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
29099 "buffer_full".
29100
29101Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
29102
29103 * configure.in (configdirs): Add gdb.threads.
29104 * configure: Regenerated with autoconf.
29105 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
29106 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
29107 * gdb.threads/configure: New, generated with autoconf.
29108
29109Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
29110
29111 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
29112
29113Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
29114
29115 * gdb.base/signals.exp (test_handle_all_print): Test separately for
29116 each signal's status in the output of "handle all print".
29117 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
29118 the \r\n sequence that immediately precedes the gdb prompt.
29119 * gdb.base/a1-selftest.exp: Save original timeout and restore
29120 after test.
29121
29122Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
29123
29124 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
29125 symbol.
29126
29127Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
29128
29129 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
29130
29131Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
29132
29133 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
29134 timeout by 60 seconds.
29135
29136Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
29137
29138 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
29139 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
29140 error return.
29141
29142Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
29143
29144 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
29145 gdb initialization, also report how long dejagnu waited. Restore
29146 old timeout before doing error return. Temporarily increase timeout
29147 by 3 minutes to allow for slow startups over heavy NFS use.
29148
29149Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
29150
29151 * lib/gdb.exp: Report timeout value for verbosity level 2.
29152 * config/gdbserver.exp: Ditto.
29153 * config/hppro.exp: Ditto.
29154 * config/mips-gdb.exp: Ditto.
29155 * config/monitor.exp: Ditto.
29156 * config/netware.exp: Ditto.
29157 * config/sim-gdb.exp: Ditto.
29158 * config/slite-gdb.exp: Ditto.
29159 * config/udi-gdb.exp: Ditto.
29160 * config/unix-gdb.exp: Ditto.
29161 * config/vx-gdb.exp: Ditto.
29162 * gdb.base/a1-selftest.exp: Ditto.
29163 * gdb.base/a2-run.exp: Ditto.
29164 * gdb.base/break.exp: Ditto.
29165 * gdb.base/corefile.exp: Ditto.
29166 * gdb.base/list.exp: Ditto.
29167 * gdb.base/recurse.exp: Ditto.
29168 * gdb.base/scope.exp: Ditto.
29169 * gdb.base/signals.exp: Ditto.
29170
29171Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29172
29173 * gdb.threads/Makefile.in (docdir): Removed.
29174
29175Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29176
29177 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
29178 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
29179 @srcdir@.
29180 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
29181 autoconf 2.5 or higher.
29182 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
29183
29184Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
29185
29186 * configure: Regenerated.
29187 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
29188 avoid name clashes with SunOS headers.
29189
29190Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
29191
29192 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
29193
29194Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
29195
29196 * gdb.base/callfuncs.exp: Finish last change -- make sure the
29197 prototype information ends up in the compiler info file.
29198
29199Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
29200
29201 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
29202 attempting to regenerate it. Eliminate use of a temporary file
29203 and just generate the info file directly. Source it immediately,
29204 for consistency of use.
29205 * gdb.base/corefile.exp: Ditto
29206 * gdb.base/exprs.exp: Ditto.
29207 * gdb.base/funcargs.exp: Ditto.
29208 * gdb.base/langs.exp: Ditto.
29209 * gdb.base/list.exp: Ditto.
29210 * gdb.base/mips_pro.exp: Ditto.
29211 * gdb.base/nodebug.exp: Ditto.
29212 * gdb.base/opaque.exp: Ditto.
29213 * gdb.base/ptype.exp: Ditto.
29214 * gdb.base/scope.exp: Ditto.
29215 * gdb.base/setvar.exp: Ditto.
29216 * gdb.base/signals.exp: Ditto.
29217 * gdb.base/whatis.exp: Ditto.
29218 * gdb.c++/templates.exp: Ditto.
29219 * gdb.c++/virtfunc.exp: Ditto.
29220 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
29221 whether or not to add -lstdc++ to the compile command line args.
29222
29223Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29224
29225 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
29226 it got fixed by the recent lookup_minimal_symbol_by_pc change.
29227 Increase timeout, a lot of single stepping might be needed if the
29228 target has no hardware watchpoints.
29229
29230Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
29231
29232 * gdb.base/break.exp: Ignore compiler warnings when compiling
29233 break.c.
29234 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
29235 * gdb.base/default.exp: Add h8300 xfails. Handle messages
29236 from remote-sim.
29237 * gdb.base/exprs.exp: Add h8300 xfails.
29238 * gdb.base/funcargs.exp: Likewise.
29239 * gdb.base/nodebug.exp: Likewise.
29240 * gdb.base/printcmds.exp: Likewise.
29241 * gdb.base/ptype.exp: Likewise.
29242 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
29243 h8300 xfails.
29244 * gdb.base/return.exp: Handle float/double precision problems
29245 on the h8300.
29246 * gdb.base/funcargs.c: Explicitly make last constant argument to
29247 call_after_alloca_subr an unsigned long type.
29248 * gdb.base/return.c: Include stdio.h.
29249
29250Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
29251
29252 * config/abug.exp: New file for the older Motorola Bug monitor
29253 that runs on the mvme13x series VME boards.
29254 * config/monitor.exp: Use the new config array for target settings
29255 if they exist.
29256
29257Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
29258
29259 * sim-gdb.exp: Make the SH simulator allocate less space when
29260 it is targeted.
29261
29262Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
29263
29264 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
29265 test.
29266
29267Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
29268
29269 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
29270 "rs6000-*-*" for "list function in include file" when gcc compiled.
29271 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
29272 for "p ctable1[120]".
29273 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
29274 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
29275 Remove setup_xfail for "rs6000-*-*" for
29276 "print 'scope0.c'::filelocal before run".
29277 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
29278 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
29279 since some compilers don't allow both options to be given
29280 on the same command line. Create object file and move it.
29281
29282Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
29283
29284 * gdb.base/corefile.exp: Always regenerate the core file, since
29285 we always regenerate the coremaker program. Detect special case
29286 where registers cannot be read from core file.
29287
29288Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
29289
29290 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
29291 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
29292 * gdb.c++/templates.exp: Only match on basename of file since
29293 some formats like xcoff don't encode directory information.
29294 * gdb.stabs/weird.exp: Use the right sed script for powerpc
29295 and rs6000 AIX xcoff targets.
29296 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
29297 * configure: Regenerate.
29298 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
29299 here, rather than in distclean.
29300
29301Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
29302
29303 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
29304 defined, and use it to compile the test case with -O2. The
29305 native compilation still uses no optimization.
29306 * gdb.base/mips_pro.c: Remove inline assembly code since
29307 it is compiled PIC by default, which results in assembler
29308 warnings that make the testsuite think the compilation
29309 was unsuccessful.
29310
29311Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
29312
29313 * gdb.c++/misc.exp: Add note to message for
29314 "print s.a for foo struct" that this is a known gcc 2.7.2
29315 and earlier bug.
29316
29317Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
29318
29319 * gdb.base/break.exp: Fix pattern for matching "Delete all
29320 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
29321 setup_xfail for deleting all breakpoints test. Fix various
29322 timeout messages to include "(timeout)".
29323 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
29324 for "p t_float_values2(3.14159,float_val2)".
29325 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
29326 for "continue to call2g" when gcc compiled.
29327 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
29328 "up to foo in langs.exp", "show language at foo in langs.exp",
29329 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
29330 and "show language at fsub in langs.exp".
29331 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
29332 "list line 1 in include file", "list message for lines past EOF",
29333 "list function in include file", "list list0.h:foo", and
29334 "list filename:function; nonexistant function".
29335 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
29336 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
29337 and "ptype t_char_array" to be for native cc only.
29338
29339Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
29340
29341 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
29342 setup_xfail for "print coremaker_bss", "print coremaker_ro",
29343 "print func2::coremaker_local", and "backtrace in corefile.exp".
29344
29345Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29346
29347 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29348 "bt in signals.exp". This problem only appears when running
29349 the testsuite, and then only intermittently.
29350
29351Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29352
29353 * gdb.base/return.exp (return_tests): Differentiate between
29354 two tests of continuing.
29355
29356Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29357
29358 * */Makefile.in (maintainer-clean): Remove config.log.
29359 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29360 * gdb.c++/Makefile.in (PROGS): Add inherit.
29361 (clean): Remove *.ci.
29362
29363Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29364
29365 * gdb.c++/misc.cc: Add test code from Mike Stump.
29366 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29367
29368Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29369
29370 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29371 to "alpha-*-osf2*" and add comment.
29372 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
29373 setup_xfail for "step over execarg initialization" and
29374 "step over corearg initialization".
29375 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29376 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29377 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
29378 gcc compiled for "print coremaker_bss", "print coremaker_ro",
29379 "print func2::coremaker_local", and "backtrace in corefile.exp".
29380 * gdb.base/signals.exp: Build and source signals.ci.
29381 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29382 to be for gcc only.
29383 * lib/gdb.exp: Move verbose statements outside conditionals.
29384
29385Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29386
29387 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29388 Feb 3 procfs.c change.
29389
29390Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29391
29392 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29393
29394Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29395
29396 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29397 from dejagnu's apparent default of 10 seconds, which gives random
29398 results when running the tests over NFS on moderately loaded systems.
29399 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29400
29401Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29402
29403 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29404 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
29405 result reports.
29406
29407Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29408
29409 * configure.in (CY_AC_PATH_TCLH): Remove.
29410 * configure: Regenerate.
29411
29412Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29413
29414 * gdb.c++/Makefile.in (clean): Add missing '{'.
29415
29416Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29417
29418 * lib/gdb.exp: Provide a default value for noinferior.
29419
29420 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29421 Load libgloss.exp.
29422
29423Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29424
29425 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29426 the executable, not the .o to run the tests from.
29427
29428Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29429
29430 * gdb.base/break.exp: Don't test for program exit or exit status
29431 if $noresults if nonzero.
29432 * gdb.base/langs.exp: Likewise.
29433 * gdb.base/watchpoint.exp: Likewise.
29434
29435 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29436 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29437 trying to compile the testcase.
29438
29439Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29440
29441 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29442 * gdb.base/signals.exp (continue to handler): Likewise.
29443
29444Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29445
29446 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29447
29448 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29449
29450Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29451
29452 * gdb.base/corefile.exp: Recognize "not found" as failure
29453 when trying to determine if a core file was generated.
29454 If no core file was generate the first time, try again without
29455 the ulimit -c to work around braindamaged shells.
29456
29457Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29458
29459 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29460 [] tests with "test" and enclose string in quotes.
29461 * gdb.stabs/configure: Rebuild
29462
29463Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29464
29465 Changes in sync with expect:
29466 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29467 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29468 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29469 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29470 argument to AC_REQUIRE.
29471 * configure: Regenerated.
29472
29473Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29474
29475 * gdb.base/corefile.exp: When generating a core, discard any
29476 error messages about ulimit not found and the "core dumped"
29477 message from the shell that runs the coredumper.
29478
29479Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29480
29481 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29482
29483 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29484 which sed script to run. Expect failure for v_comb test
29485 on PA targets too.
29486
29487Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29488
29489 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
29490 "print func2::coremaker_local" and for "backtrace in corefile.exp"
29491
29492Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29493
29494 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29495 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
29496 "sparc-sun-solaris*" xfails for "p v_comb".
29497 * lib/gdb.exp (default_gdb_start): Fix typo.
29498 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29499 messages to not include the full program name that caused
29500 the core dump since some systems (such as solaris) apparently
29501 truncate this path to about 80 characters.
29502 When generating a core file first try increasing the core file
29503 size limit to unlimited since some systems may default it to
29504 zero, and it is harmless to try it. Move the test for failing
29505 to generate a core file to where it will actually get executed.
29506 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29507 new gdb result from g++ debug info improvements and make old
29508 pattern obsolescent. Also account for size_t differences
29509 (may be int or long).
29510 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29511 initialization before function call is placed in the delay slot
29512 and thus appears to be skipped over by commands such as "next".
29513
29514Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29515
29516 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29517
29518Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29519
29520 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29521 input source file; fix code to compile test to deal with this
29522 convention.
29523 * gdb.c++/*.exp: Likewise.
29524
29525Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29526
29527 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29528 "bt in signals.exp".
29529
29530Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29531
29532 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29533 "step over execarg initialization" and
29534 "step over corearg initialization".
29535
29536Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29537
29538 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29539 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29540
29541Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29542
29543 From Rob Savoye (rob@poseidon.cygnus.com)
29544 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29545 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
29546 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29547 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29548 configure.in}: Major reworking for autoconfig.
29549 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29550 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
29551 New files.
29552 * config/unix-gdb.exp: Make GDB global.
29553 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
29554 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29555 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29556 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29557 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29558 term.exp, twice.exp, watchpoint.exp, whatis.exp},
29559 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
29560 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29561 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29562 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29563 pr-8136.exp, result.exp, string.exp, tuples.exp},
29564 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
29565 to returns as necessary, arrange for test to compile own testcase
29566 executable.
29567 * lib/gdb.exp: Changes for testsuite to compile own test cases.
29568
29569Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29570
29571 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
29572 clear_xfail at end of test which might not call either pass or fail.
29573 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29574 "backtrace through signal handler".
29575
29576Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29577
29578 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29579 continuing from a job control stop signal.
29580 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29581
29582Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29583
29584 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29585 * gdb.base/corefile.exp: Likewise.
29586 * gdb.base/funcargs.exp: Likewise.
29587
29588Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29589
29590 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29591 * config/monitor.exp: Add support for setting baud rate.
29592
29593Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29594
29595 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29596 i*86-*-linux* xfails for "backtrace through signal handler".
29597 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29598 "print func2::coremaker_local".
29599 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
29600 alpha-dec-osf2* xfail for
29601 "delete all breakpoints when none".
29602
29603Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29604
29605 * gdb.base/break.exp: Change test that deletes all breakpoints
29606 when no user breakpoints are installed. A post 4.15 change
29607 causes gdb to no longer prompt in this case.
29608
29609Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29610
29611 * gdb.base/return.exp (return_tests): Change xfail for test
29612 "correct value returned double test" to stop xfailing at
29613 Solaris 2.5. Apparently the bug has been fixed.
29614
29615Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29616
29617 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29618 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29619
29620Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29621
29622 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29623 * gdb.disasm/hppa.s: Corresponding changes.
29624
29625Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29626
29627 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29628 makefile fragment.
29629 * config/mt-hpux: Deleted.
29630
29631Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29632
29633 * Many files: When warning about suppressed tests due to a
29634 nonexistant test binary, avoid incrementing the warning count.
29635
29636Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29637
29638 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
29639
29640Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29641
29642 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29643 "sparc-*-solaris2*".
29644
29645Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29646
29647 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29648 Add global and local variables and initialize them.
29649 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29650 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29651 extracts the file name and terminating signal from the core file.
29652 * TODO: Remove note about tests for correct mapping of corefile.
29653 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29654 from optimizing it away.
29655 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29656 handles common blocks.
29657
29658Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29659
29660 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29661 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29662
29663Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29664
29665 * Makefile.in (maintainer-clean): New target, synonym for
29666 realclean.
29667 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29668 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29669 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29670 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29671 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29672 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29673
29674Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29675
29676 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29677 xfails when not gcc compiled for "print foo::funclocal".
29678 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29679 "print foo::funclocal at foo",
29680 "print 'scope1.c'::foo::funclocal at foo",
29681 "print foo::funclocal_bss at foo",
29682 "print 'scope1.c'::foo::funclocal_bss at foo",
29683 "print foo::funclocal_ro at foo",
29684 "print 'scope1.c'::foo::funclocal_ro at foo",
29685 "print bar::funclocal at foo" and
29686 "print 'scope1.c'::bar::funclocal at foo".
29687 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29688 gcc compiled for "print foo::funclocal at bar".
29689 Expand all messages to ensure that they identify that
29690 the test is at bar().
29691 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29692 gcc compiled for:
29693 "ptype on opaque struct pointer (statically)",
29694 "ptype on opaque struct tagname (statically)",
29695 "ptype on opaque struct pointer (dynamically) 1",
29696 "ptype on opaque struct tagname (dynamically) 1",
29697 "ptype on opaque struct pointer (dynamically) 2" and
29698 "ptype on opaque struct tagname (dynamically) 2
29699 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29700 gcc compiled for:
29701 "p datalocal"
29702 "whatis datalocal",
29703 "ptype datalocal",
29704 "p bsslocal",
29705 "whatis bsslocal", and
29706 "ptype bsslocal".
29707 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29708 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29709 when not gcc compiled.
29710 * gdb.base/funcargs.exp (float_and_integral_args): Add
29711 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29712 compiled.
29713 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29714 "backtrace from call6a" when not gcc compiled.
29715 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29716 "backtrace from call7a" when not gcc compiled.
29717 * gdb.base/callfuncs.exp (do_function_calls):
29718 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29719 "p t_char_array_values(char_array_val2,char_array_val1)",
29720 "p t_char_array_values(char_array_val1,char_array_val2)",
29721 "p t_char_array_values("carray 1","carray 2")",
29722 "p t_char_array_values("carray 1",char_array_val2)",
29723 "p t_char_array_values(char_array_val1,"carray 2")",
29724 "p sum_args(1,{2})",
29725 "p sum_args(2,{2,3})",
29726 "p sum_args(3,{2,3,4})",
29727 "p sum_args(4,{2,3,4,5})"
29728 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29729 "backtrace in corefile.exp" when not gcc compiled.
29730
29731Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29732
29733 * gdb.base/signals.exp: Rewrite `handle all print' test as
29734 a procedure. Accept blanks or TABs as whitespace, increase
29735 timeout and expect input buffer size for the large output
29736 from the command. Remove "i*86-*-bsdi2.0" xfail.
29737
29738Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29739
29740 * gdb.base/setvar.exp: Add new testcases for truncation when
29741 assigning invalid values to bitfields.
29742
29743Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29744
29745 * gdb.base/callfuncs.exp (do_function_calls): Remove
29746 mips-sgi-irix* xfail for
29747 "call inferior func with struct - returns char *"
29748 and fix test so that an optional (unsigned char *) cast is
29749 accepted in the result.
29750
29751Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29752
29753 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29754 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29755 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29756 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29757 that accidentally got checked in.
29758
29759Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29760
29761 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29762 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29763 compiled test.
29764 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29765 Add mips-sgi-irix5* xfail for not gcc compiled.
29766 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29767 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29768 compiled for "p top", "whatis top", "p middle", and "whatis
29769 middle".
29770 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29771 "whatis signed char" for not gcc compiled.
29772 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29773 "set variable signed char=-1 (-1)" and
29774 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29775 * gdb.base/funcargs.exp (float_and_integral_args):
29776 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29777 Add mips-sgi-irix* xfail when not gcc compiled for
29778 "continue to call2b".
29779 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29780 "continue to call2g".
29781 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29782 compiled for "backtrace from call6a"
29783 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29784 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29785 when not gcc compiled for "backtrace from call7a".
29786 (localvars_after_alloca): Fix gdb_test cmds for
29787 "print * after runto ...".
29788 Remove rs6000-*-* xfails for
29789 "print i after runto localvars_after_alloca" and
29790 "print l after runto localvars_after_alloca"
29791 for all compilers.
29792 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29793 when not compiled with gcc, for:
29794 "print signed char == (minus)",
29795 "print signed char != (minus)",
29796 "print signed char < (minus)",
29797 "print signed char > (minus)".
29798 * gdb.base/callfuncs.exp (do_function_calls):
29799 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29800 "call inferior func with struct - returns char *".
29801 * gdb.base/return.exp (return_tests): Change xfail for
29802 "correct value returned double test" to include Solaris 2.4.
29803 * gdb.base/funcargs.exp (float_and_integral_args):
29804 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29805
29806Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29807
29808 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29809 enumeration bitfields if compiling with GNU C.
29810 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29811 to empty' prompt.
29812
29813Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29814
29815 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29816 test for PRO targets.
29817
29818 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29819 breakpoints in the inferior at any given time by making
29820 two groups of breakpoints for call2*, call6* and call7*
29821 tests.
29822
29823Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29824
29825 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29826 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29827 from optimizing it away.
29828 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29829 "call inferior func with struct".
29830
29831Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29832
29833 * configure.in: Only configure gdb.chill for particular targets.
29834
29835Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29836
29837 * gdb.base/Makefile.in: Add action to .c.o transformation
29838 rule that generates a .ci file for each .o file and remove
29839 explicit .c.o rules except for callfuncs.o.
29840 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29841 generates a .ci file for each .o file and remove explicit
29842 .cc.o rules.
29843 (clean): Remove *.tmp *.ci files.
29844 (EXECUTABLES): Remove templ-info.exp.
29845 * gdb.base/compiler.c: New file.
29846 * gdb.c++/compiler.cc: New file
29847 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29848 Change rs6000-*-* xfail for
29849 "print 'scope0.c'::filelocal_ro" and
29850 "print 'scope1.c'::filelocal" and
29851 "print 'scope1.c'::filelocal_bss" and
29852 "print 'scope1.c'::filelocal_ro" and
29853 "print 'scope1.c'::foo::funclocal" and
29854 "print 'scope1.c'::foo::funclocal_ro" and
29855 "print 'scope1.c'::bar::funclocal" and
29856 "print 'scope0.c'::filelocal_ro" and
29857 "print 'scope1.c'::filelocal at foo" and
29858 "print 'scope1.c'::filelocal_bss at foo" and
29859 "print 'scope1.c'::filelocal_ro at foo" and
29860 "print 'scope1.c'::foo::funclocal at foo" and
29861 "print 'scope1.c'::foo::funclocal_bss at foo" and
29862 "print 'scope1.c'::foo::funclocal_ro at foo" and
29863 "print 'scope1.c'::bar::funclocal at foo" and
29864 "print 'scope0.c'::filelocal_ro" and
29865 "print 'scope1.c'::filelocal" and
29866 "print 'scope1.c'::filelocal_bss" and
29867 "print 'scope1.c'::filelocal_ro" and
29868 "print 'scope1.c'::foo::funclocal" and
29869 "print 'scope1.c'::foo::funclocal_bss" and
29870 "print 'scope1.c'::foo::funclocal_ro" and
29871 "print 'scope1.c'::bar::funclocal" and
29872 "print 'scope1.c'::bar::funclocal_bss"
29873 to only be xfail'd when not compiled with gcc.
29874 Add rs6000-*-* xfail for
29875 "print 'scope0.c'::filelocal_bss before run"
29876 when compiled with gcc.
29877 (test_at_main): Add rs6000-*-* xfail for
29878 "print filelocal_ro in test_at_main"
29879 when compiled with gcc.
29880 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29881 Add rs6000-*-aix* xfail for
29882 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29883 "ptype t_char_array", not compiled with gcc.
29884 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29885 xfail for "list foo (in include file)" when gcc compiled.
29886 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29887 (integral_args): Add rs6000-*-* xfail for
29888 "run to call0a" if not compiled with gcc.
29889 (unsigned_integral_args): Add rs6000-*-* xfail for
29890 "run to call1a" if not compiled with gcc.
29891 (float_and_integral_args): Add rs6000-*-* xfail for
29892 "run to call2a" if not compiled with gcc and for
29893 "continue to call2b" for any compiler.
29894 Add rs6000-*-* xfail to
29895 "print f1 after run to call2a" for gcc compiled.
29896 (discard_and_shuffle): Add rs6000-*-* xfail for
29897 "run to call6a".
29898 (shuffle_round_robin): Add rs6000-*-* xfail for
29899 "backtrace from call7a" if not compiled with gcc.
29900 Add rs6000-*-* xfail for
29901 "backtrace from call7b" if compiled with gcc.
29902 (call_after_alloca): Add rs6000-*-* xfail for
29903 "print c in call_after_alloca" and
29904 "print s in call_after_alloca" and
29905 "backtrace from call_after_alloca_subr"
29906 if not compiled with gcc.
29907 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29908 "print c in localvars_in_indirect_call" and
29909 "print c in localvars_in_indirect_call" and
29910 "backtrace in indirectly called function" and
29911 "stepping into indirectly called function"
29912 if not compiled with gcc.
29913 (localvars_after_alloca): Add rs6000-*-* xfail for
29914 "print c after runto localvars_after_alloca" and
29915 "print s after runto localvars_after_alloca" and
29916 "print i after runto localvars_after_alloca" and
29917 "print l after runto localvars_after_alloca"
29918 for all compilers.
29919 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29920 than whatis-info.exp.
29921 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29922 than opaque-info.exp.
29923 Setup rs6000-*-* xfail for
29924 "ptype on opaque struct pointer (statically)" and
29925 "ptype on opaque struct pointer (dynamically)" when
29926 not compiled with gcc.
29927 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29928 rather than callf-info.exp.
29929 (do_function_calls): Add clear_xfail for rs6000-*-* for
29930 "p t_float_values2(3.14159,float_val2)". Seems to work
29931 fine there, both with xlc and gcc. Need to find out what
29932 it is doing right and fix other platforms.
29933 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29934 "call inferior func with struct - returns int",
29935 "call inferior func with struct - returns long",
29936 "call inferior func with struct - returns float",
29937 "call inferior func with struct - returns double",
29938 "call inferior func with struct - returns char *",
29939 but only if not gcc compiled (presumes xlc compiled).
29940 Change rs6000-*-* xfails for
29941 "call inferior func with struct - returns char" and
29942 " call inferior func with struct - returns short" to only
29943 xfail if not using gcc.
29944 (clean mostlyclean): Remove *.ci and *.tmp files.
29945 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29946 than templ-info.exp.
29947 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29948 Add rs6000-*-* xfail for "up to foo in langs.exp"
29949 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29950 when not gcc compiled.
29951
29952Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29953
29954 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29955 * gdb.base/corefile.exp: Likewise.
29956 * gdb.base/list.exp: Likewise.
29957 * gdb.base/scope.exp: Likewise.
29958 * gdb.base/siganls.exp: Likewise.
29959
29960 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29961 compiler output.
29962 * gdb.base/whatis.exp: Likewise.
29963
29964Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29965
29966 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29967 failure (opcode table has been fixed to match reality).
29968
29969Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29970
29971 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29972 "call inferior func with struct - returns char",
29973 "call inferior func with struct - returns short"
29974
29975 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29976 "print 'scope0.c'::filelocal at main",
29977 "print 'scope0.c'::filelocal_bss in test_at_main",
29978 "print 'scope0.c'::filelocal at foo",
29979 "print 'scope0.c'::filelocal_bss in test_at_foo",
29980 "print 'scope0.c'::filelocal at bar",
29981 "print 'scope0.c'::filelocal_bss in test_at_bar"
29982
29983 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29984 in source file 1". This bug seems to have been fixed with both
29985 gcc and native cc (was native assembler bug?).
29986
29987Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29988
29989 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29990 "backtrace through signal handler" to "i*86-*-sysv4*".
29991 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29992 continue" case. Add "known SVR4 bug" to fail message.
29993 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29994 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29995 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29996 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29997 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29998 "up to foo in langs.exp", "show language at foo in
29999 langs.exp", "up to cppsub_ in langs.exp", "show
30000 language at cppsub_ in langs.exp", "up to fsub in
30001 langs.exp", and "show language at fsub in langs.exp".
30002 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
30003 "bactrace in corefile.exp".
30004 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
30005 "call inferior function with struct - returns float" and
30006 "call inferior function with struct - returns double".
30007
30008Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
30009
30010 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
30011 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
30012 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
30013 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
30014
30015Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
30016
30017 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
30018 (or overriden) "CHILL" macro rather then bare "gcc".
30019 Also look for ../../gcc/xgcc since that is what we will
30020 actually need, not "Makefile". Remove following assignment
30021 of CHILL to CHILL_FOR_TARGET because that results in
30022 recursive definition.
30023
30024Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
30025
30026 * gdb.base/corefile.exp: Change xfail for backtrace in
30027 corefile.exp from linuxaout to all linux.
30028 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
30029 cases where we miss the breakpoint at the signal handler
30030 for some reason. Setup xfail for linuxoldld/linuxaout and
30031 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
30032 hitting SIGURG breakpoint.
30033 * gdb.base/signals.exp: Setup xfail for "next" acting like
30034 continue to add linuxoldld. Setup xfail for all linux for
30035 "next to handler in signals_tests_1", "backtrace in
30036 signals_tests_1", "continue to func1", "pass SIGUSR1",
30037 and continue to handler".
30038
30039Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
30040
30041 * Update all FSF addresses except those in COPYING* files.
30042
30043Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
30044
30045 * gdb.base/a2-run.exp: Change messages to be more explicit about
30046 the status of args, and quote binfile in results.
30047
30048Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
30049
30050 * gdb.base/callfuncs.exp: Add tests for passing structs to
30051 inferior functions and return various types.
30052 * gdb.base/callfuncs.c: Add functions to receive a struct
30053 and return a member of the struct, in various types.
30054
30055Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30056
30057 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
30058
30059Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
30060
30061 * config/vxworks29k.exp: New file, sources vxworks.exp.
30062
30063Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30064
30065 * config/gdbremote.exp: New file. Testing framework using
30066 gdbserver.
30067
30068Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
30069
30070 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
30071 "call function when asleep" and "send end of file".
30072 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
30073 for "backtrace in corefile.exp".
30074 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
30075 for "backtrace through signal handler".
30076 * gdb.base/corefile.exp: Make sure we actually generate a core file
30077 before trying the core tests. Some systems allow the user to suppress
30078 generation of core files and default to that (linux for example).
30079 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
30080 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
30081
30082Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30083
30084 * gdb.threads: New directory with some crude multi-threaded
30085 gdb tests (step.exp and step2.exp).
30086 * config/mt-lynx (STEP_EXECUTABLE): Define.
30087 (THREADFLAGS): Define.
30088
30089Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
30090
30091 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
30092
30093 * gdb.base/signals.exp: Disable whole file for lynx until
30094 further notice.
30095
30096 * gdb.base/signals.exp: xfail test where "next" acts like
30097 "continue" for lynx.
30098
30099 * gdb.base/interrupt.exp: xfail test for calling function while
30100 inferior is asleep for lynx.
30101
30102 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
30103 than one cr-lf after each command.
30104
30105Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30106
30107 * configure.in: Reinstate setting of stabsdirs variable, fix
30108 typo in setting up configdirs for native builds.
30109
30110 * gdb.base/return.exp: Fix typo in return double test.
30111 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
30112 compiler from optimizing them away.
30113
30114Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
30115
30116 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
30117 sequences to be echo'd by gdb when using gdb_test.
30118 * gdb.chill/chexp.exp: Likewise.
30119 * gdb.fortran/exprs.exp: Likewise
30120
30121Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30122
30123 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
30124 after the inferior gdb has started.
30125
30126 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
30127 after each command.
30128 * gdb.base/funcargs.exp: Likewise.
30129 * gdb.base/gdbvars.exp: Likewise.
30130 * gdb.base/interrupt.exp: Likewise.
30131 * gdb.base/list.exp: Likewise.
30132 * gdb.base/watchpoint.exp: Likewise.
30133 * gdb.c++/demangle.exp: Likewise.
30134 * gdb.c++/inherit.exp: Likewise.
30135 * gdb.chill/chexp.exp: Likewise.
30136 * gdb.fortran/exprs.exp: Likewise.
30137
30138 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
30139 test if we can't handle IO to/from the inferior.
30140
30141 * gdb.c++/misc.exp: Always check for a program already being
30142 started after sending a "run" command to gdb.
30143
30144 * gdb.base/twice.exp: Start with a fresh gdb.
30145
30146 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
30147 only depend on gdb's expression code, not the chill runtime.
30148
30149 * gdb.base/return.c: Put return values into variables so we
30150 can have gdb print them rather than depending on the program
30151 to print them.
30152 * gdb.base/return.exp: Corresponding changes.
30153
30154 * lib/gdb.exp: Provide default value for noinferiorio.
30155 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
30156 the inferior.
30157
30158 * gdb.base/break.exp: Always check for a program already being
30159 started after sending a "run" command to gdb.
30160 (text_next_with_recursion): Don't check the output from the
30161 program's printf statement. Instead just make sure the program
30162 exited.
30163
30164 * gdb.base/commands.exp: Protect tests which need arguments with
30165 $noargs conditionals.
30166
30167Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30168
30169 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
30170 of structure member arrays to match gdb/valops.c:value_addr change.
30171
30172Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
30173
30174 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
30175 cases.
30176
30177Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
30178
30179 * configure.in (configdirs): Remove gdb.chill from default list
30180 of subdirs and then add it back in only if doing a native build.
30181 The current chill compiler does not yet work in any cross build.
30182 * Revert all signal changes from Jul 6.
30183 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
30184 for sh-hms targets, allowing these tests to link, with no other
30185 changes. Testing is suppressed by setting "nosignals" in site.exp.
30186
30187Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
30188
30189 * configure.in (signaldirs): Define and add to configdirs for all
30190 targets except some specific ones that are known to not support signals.
30191 Also clean up formatting.
30192 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
30193 (signals, sigall): Remove rules to build.
30194 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
30195 Moved to new gdb.signals directory.
30196 * gdb.signals: New test directory.
30197 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
30198 signals.c signals.exp}: New or moved files.
30199
30200Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
30201
30202 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
30203
30204Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30205
30206 * gdb.base/return.exp: Xfail `return double' test failure
30207 on at least Solaris 2.3 and handle future/past versions on
30208 a case by case basis as appropriate. Also update message
30209 to include i*86 failures.
30210
30211Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30212
30213 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
30214
30215 * lib/gdb.exp: Fix comment which erroneously identified
30216 gdb_file_cmd as gdb_load (the 19 May change was in fact to
30217 gdb_file_cmd not gdb_load).
30218 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
30219
30220 * gdb.base/setvar.exp: Make test names consistent between pass and
30221 fail cases. Use gdb_test more.
30222
30223Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30224
30225 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
30226
30227Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30228
30229 * gdb.base/help.exp: Fix expected help string for `show commands'.
30230
30231Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
30232
30233 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
30234
30235 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
30236 of a text section.
30237
30238Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
30239
30240 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
30241 that loop eventually terminates. Fix Connection refused logic so
30242 that testsuite will expire nicely.
30243
30244Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
30245
30246 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
30247 config/rom68k.exp: New tcl glue for the appropriate monitors.
30248 These all just end up calling monitor.exp.
30249 * config/monitor.exp (gdb_target_monitor): Handle `Connection
30250 refused' by retrying. Cleanup some timeout issues.
30251 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
30252 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
30253 callers don't have to set/restore global timeout variable.
30254
30255 * The following set of changes centralizes management of the global
30256 timeout variable. This way, it can be set in one target dependent
30257 place instead of dozens of places scattered throughout the test suite.
30258 If you need to lengthen a timeout, then you should either set timeout
30259 in one of the config/{target}.exp files, or multiply it by a factor.
30260 Setting it to an absolute value is always going to lose for some
30261 targets.
30262 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
30263 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
30264 * gdb.base/funcargs.exp: Don't set timeout.
30265 * gdb.base/list.exp (test_forward_search): Only use local timeout.
30266 * gdb.base/printcmds.exp (test_print_string_constants
30267 test_print_array_constants): Don't set timeout.
30268 * gdb.base/ptype.exp: Don't set timeout.
30269 * gdb.base/recurse.exp: Don't set timeout.
30270 * gdb.base/return.exp: Don't set timeout.
30271 * gdb.base/watchpoint.exp: Don't set timeout.
30272 * gdb.c++/classes.exp (do_tests): Don't set timeout.
30273 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
30274
30275Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
30276
30277 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
30278
30279Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30280
30281 * lib/gdb.exp: Disable chill tests for irix5.
30282
30283Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30284
30285 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
30286 each test pass or fail.
30287
30288Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30289
30290 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
30291 xlc not gcc.
30292
30293Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
30294
30295 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
30296
30297Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
30298
30299 * config/est.exp: Fix copyright and comments. Remove dead code.
30300 Use targetname, serialport and baud variables instead of fixed
30301 constants.
30302 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
30303 * config/cpu32bug.exp: New file to support cpu32bug monitors.
30304
30305Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30306
30307 * gdb.base/watchpoint.exp: Don't run
30308 test_watchpoint_triggered_in_syscall for sunos.
30309
30310Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30311
30312 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
30313 they don't seem to exist. Do include stdio.h.
30314
30315Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30316
30317 * gdb.base/a1-selftest.exp: Add alpha xfail.
30318
30319Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30320
30321 * gdb.base/watchpoint.c (main): Prompt before calling read().
30322 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30323 Revise accordingly. Remove cruft about sending "123" several
30324 times, until it gets noticed. Clean up the "print buf[0]" stuff
30325 so that it passes or fails, and waits for prompts in the usual way.
30326
30327Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30328
30329 * gdb.base/recurse.exp: Fix comment.
30330
30331 * TODO: Remove item about printing variables in nodebug.exp. Add
30332 item about enabling tests which are only run on some targets.
30333
30334 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
30335 fail, make test names unique, use new gdb_test convention
30336 regarding pattern, use gdb_test more, etc.).
30337
30338 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
30339 fail, make test names unique, etc.).
30340
30341Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30342
30343 * gdb.base/nodebug.c: Change return type of top and middle to
30344 short.
30345 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30346 are fixed by the recent mdebugread.c changes. Allow `short ()'
30347 as type for top and middle.
30348
30349Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30350
30351 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30352 nearly as I can tell, the whole thing was an accident in Stu's
30353 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30354 to replace a send/expect pair with gdb_test, but ended up only
30355 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30356 of 30 Mar 1995 took care of it, but left this vestigial comment
30357 which I am now nuking.
30358
30359Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30360
30361 * gdb.base/break.exp: Look for different line number for
30362 breakpoint at main depending on usestubs.
30363
30364Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30365
30366 * gdb.base/list.exp: Adjust some alternate expect patterns to
30367 match recent list0.c change. Add alternate expect pattern for
30368 output from `list default lines around main' for optimizing
30369 compilers.
30370
30371Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30372
30373 * lib/gdb.exp: If nosignals is not set, set it to 0.
30374
30375Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30376
30377 * config/slite-gdb.exp: Responds to load symbol table prompt.
30378 * gdb.base/break.exp: Adjust line number, fix rerun.
30379 * gdb.base/langs0.c: Add #ifdef usestubs.
30380
30381Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30382
30383 * gdb.base/list.exp: Adjust line contents after adding new lines in
30384 list0.c. Also fix a syntax error.
30385
30386 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30387 * gdb.base/break.exp: ditto.
30388 * gdb.base/list.exp: ditto.
30389 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30390 * gdb.base/run.c: ditto.
30391 * gdb.base/list0.c: ditto.
30392 * gdb.base/funcargs.c: ditto.
30393
30394Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30395
30396 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30397 $targetname, $serialport and $baud instead of hardwired variables.
30398 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30399 target doesn't support signals.
30400
30401Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30402
30403 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30404
30405Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30406
30407 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30408 Don't rely on the value of an auto variable before it has been
30409 initialized. Use gdb_test more.
30410
30411Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30412
30413 * lib/gdb.exp (default_gdb_version): A version number must start
30414 with a digit, but other than that contains all characters up to
30415 the first whitespace character.
30416
30417Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30418
30419 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30420
30421Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30422
30423 * gdb.c++/*.exp: Warn if executable does not exist. The original
30424 reason for skipping the warning was that configure.in sometimes
30425 intentionally skipped building the executables but the tcl code
30426 had no way of knowing. That (a) was always bogus with respect to
30427 error handling, (b) is no longer true (right now there is no way
30428 to skip C++ tests).
30429
30430 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30431
30432Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30433
30434 * gdb.base/list.exp: Add expect patterns for output from
30435 SunPRO compiled executables.
30436 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30437 types.
30438
30439Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30440
30441 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30442 number (we are already testing that the correct source line text
30443 gets printed).
30444
30445 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30446 that is what is intended, but something needed to be done to get
30447 sunos4 native working again.
30448
30449 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30450
30451 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30452 apparently went with a (very) old xfail.
30453
30454Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30455
30456 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30457 runto_main is a proc in gdb.exp that will do 'step' for target use
30458 stubs.
30459 * gdb.base/exprs.exp: ditto.
30460 * gdb.base/interrupt.exp: ditto.
30461 * gdb.base/opaque.exp: ditto.
30462 * gdb.base/printcmds.exp: ditto.
30463 * gdb.base/ptype.exp: ditto.
30464 * gdb.base/scope.exp: ditto.
30465 * gdb.base/setvar.exp: ditto.
30466 * gdb.base/signals.exp: ditto.
30467 * gdb.base/twice.exp: ditto.
30468 * gdb.c++/classes.exp: ditto.
30469 * gdb.c++/inherit.exp: ditto.
30470 * gdb.c++/templates.exp: ditto.
30471 * gdb.base/break.exp: no run and hit main for stubs. Change line
30472 numbers for breakpoints and info breakpoint.
30473 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30474 breakpoint().
30475 * gdb.base/callfuncs.c: ditto.
30476 * gdb.base/exprs: ditto.
30477 * gdb.base/interrupt.c: ditto.
30478 * gdb.base/opaque0.c: ditto.
30479 * gdb.base/printcmds.c: ditto.
30480 * gdb.base/ptype.c: ditto.
30481 * gdb.base/scope0.c: ditto.
30482 * gdb.base/setvar.c: ditto.
30483 * gdb.base/signals.c: ditto.
30484 * gdb.base/twice.c: ditto.
30485 * gdb.c++/misc.cc: ditto.
30486 * gdb.c++/templates.cc: ditto.
30487
30488Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30489
30490 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30491
30492 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30493 somewhere between `read' and `main.c'. I'm pretty sure the
30494 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30495 and it isn't particularly useful.
30496
30497 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30498
30499Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30500
30501 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30502
30503Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30504
30505 * config/mt-slite: add LIBS and -nostdlib.
30506 * config/slite-gdb.exp: add this new file to support sparclite target.
30507
30508Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30509
30510 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30511
30512 * gdb.base/a2-run.exp: Change argument to istarget from
30513 "*-*-vxworks" to "*-*-vxworks*".
30514 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30515
30516Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30517
30518 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30519 will not runto main but do a 'step' to step out of breakpoint().
30520 * config/mt-slite: add -Dusestubs.
30521
30522Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30523
30524 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30525 instead of just @.
30526
30527 * gdb.base/signals.exp: Add test for "handle all print".
30528 * TODO: Remove "handle all print". Also remove item about
30529 checking copyright date (I don't like the idea of a spurious FAIL
30530 based on when we run the tests).
30531
30532 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30533 for SunOS4 (reason for failure not investigated). Remove
30534 redundant test for $binfile.
30535
30536 * gdb.base/nodebug.c (array_index): Call malloc.
30537
30538 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30539
30540Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30541
30542 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30543 conventions and slightly simplify the matching regexp.
30544
30545Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30546
30547 * gdb.base/break.exp: Update gdb_test invocation to use new
30548 convention.
30549
30550 * lib/gdb.exp: If noargs is not set, set it to 0.
30551
30552 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30553 tests unique.
30554
30555 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30556
30557Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30558
30559 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30560 one argument of type "<non-float parameter>".
30561
30562Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30563
30564 * config/rom68k.exp: New file to support Motorola IDP board.
30565 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30566 * gdb.base/break.c: Change things around so that this program
30567 doesn't depend upon args. This is necessary to make remote
30568 targets work (in general, they can't take args).
30569 * gdb.base/break.exp: Don't try to send args to program. Don't
30570 expect output. Also, replace lots of code with gdb_test.
30571
30572Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30573
30574 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30575 printing of '\'' (which is what the comment says we are testing,
30576 even though we were not), not '''.
30577 (test_integer_literals_rejected): Test that printing ''' is an error.
30578
30579 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30580 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30581 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30582 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30583 Use gdb_test not test_print_accept.
30584 * lib/gdb.exp: Remove test_print_accept.
30585
30586 * gdb.base/signals.exp (signal_tests_1): Make pass message
30587 consistent with fail message.
30588
30589 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30590 unsigned char; the bug (PR 1821) is fixed.
30591
30592 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30593
30594 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30595 successful tests--makes xfailing them work right.
30596
30597Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30598
30599 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30600 only \r\n, not .*. The test can pass .* as the last thing in
30601 $pattern if that is what it wants. In addition to providing this
30602 flexibility, this change should speed up pattern matching in cases
30603 where the pattern already ended with .* (there were a number of
30604 them). This change also helps catch bad patterns--in the old
30605 scheme the typo "char \*" instead of "char \\*" would pass. Now
30606 it is caught.
30607 * Many .exp files: Update callers.
30608
30609 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30610 clearer and does not spuriously match multiple ('s. Likewise for
30611 ) and *.
30612
30613 * gdb.base/nodebug.exp: Test ability to call a function and pass
30614 it a string (even with no debugging info).
30615
30616 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30617 "p '\'", which is the same as "p ''" once tcl gets done with
30618 quoting, to "p '\\'", which I suspect is what is intended (one
30619 backslash gets sent to GDB).
30620
30621 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30622
30623Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30624
30625 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30626 1817) was fixed literally years ago.
30627
30628Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30629
30630 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30631 test, it causes stepping out of call_after_alloca_subr with
30632 optimizing compilers.
30633 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30634 fails.
30635
30636 * gdb.c++/templates.exp: Source templ-info.exp only if
30637 the templates executable exists.
30638
30639 * gdb.c++/misc.cc (class Contains_static_instance,
30640 class Contains_nested_static_instance),
30641 gdb.c++/classes.exp (test_static_members): Test printing of
30642 a class that contains a static instance of the class.
30643
30644Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30645
30646 * gdb.base/langs2.c (cppsub_): Don't prototype.
30647 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30648 only, I believe).
30649
30650Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30651
30652 * lib/gdb.exp (skip_chill_tests): New procedure.
30653
30654 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30655
30656Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30657
30658 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30659 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30660
30661Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30662
30663 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30664
30665 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30666 disassemble 8, not 16, instructions for part 4.
30667
30668 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30669 support the latter anymore.
30670
30671 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30672 -DNO_PROTOTYPES.
30673 * gdb.base/callfuncs.c: Control use of prototypes based on
30674 NO_PROTOTYPES, not __STDC__.
30675 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30676 t_float_values2 tests if prototypes in use.
30677
30678 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30679 t_double_values): When checking differences against DELTA, check
30680 that difference is within the range (-DELTA,DELTA), not just
30681 (-infinity,DELTA).
30682
30683Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30684
30685 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30686 'file' command firts, then 'target', then 'load', this is due to gdb
30687 target set up.
30688 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30689
30690Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30691
30692 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30693 FP load/store variants.
30694 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30695
30696Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30697
30698 * gdb.base/term.exp: Do not give a warning if not native, it is
30699 not an abnormal condition.
30700
30701Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30702
30703 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30704 t_char_array".
30705
30706Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30707
30708 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30709 are getting the version number.
30710
30711 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30712 if not native, it is not an abnormal condition.
30713
30714Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30715
30716 * lib/gdb.exp: Just use "file exists", rather than undocumented
30717 dejagnu procedure "findfile".
30718
30719Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30720
30721 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30722 (LDFLAGS): Set to -Xlinker -Ur.
30723
30724 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30725 Removed, these values are set by lib/gdb.exp.
30726
30727 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30728
30729Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30730
30731 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30732 of replicating gdb startup code.
30733
30734 * config/mt-vxworks (LDFLAGS): Set to -r.
30735 (CFLAGS_FOR_TARGET): Removed.
30736
30737 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30738 (gdb) and gdb for vxworks uses (vxgdb).
30739
30740 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30741 executable is not in the tree and host != target, use sed and
30742 program_transform_name to determine the gdb name used by the
30743 target.
30744
30745 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30746 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30747
30748Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30749
30750 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30751 floats, chars, and shorts where there are ANSI-style function
30752 definitions.
30753
30754 * gdb.base/langs.exp, gdb.base/langs*: New test.
30755 * gdb.base/Makefile.in: Build it.
30756 * TODO: Remove item about checking that C names don't get C++
30757 demangling applied; this test tests it.
30758
30759Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30760
30761 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30762 went with the const70 xfail. The xfail went away a year ago.
30763
30764 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30765
30766 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30767 for hp300.
30768
30769 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30770
30771 * gdb.base/a1-selftest.exp: Don't run on hp300.
30772
30773Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30774
30775 * Makefile.in (site.exp): Set host_alias and target_alias as well
30776 as host_triplet and target_triplet.
30777
30778Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30779
30780 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30781
30782 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30783 places as other ecoff systems).
30784
30785 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30786 ultrix.
30787
30788Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30789
30790 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30791 remove them.
30792 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30793 variable and "variable" in addition to "data variable".
30794 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30795
30796 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30797 2.
30798 * gdb.base/list1.c (long_line): Add additional statement at start
30799 of function.
30800 * gdb.base/list.exp (test_forward_search): Update line number to
30801 reflect new statement.
30802
30803Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30804
30805 * gdb.base/signals.exp: Reinitialize searched source directories
30806 after gdb_start call.
30807
30808Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30809
30810 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30811 * gdb.stabs/Makefile.in: Likewise.
30812
30813 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30814 change. Instead split the tests into smaller pieces.
30815 * gdb.disasm/hppa.s: Corresponding changes.
30816
30817Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30818
30819 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30820 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30821
30822 * gdb.base/funcargs.exp: Modify many tests so that every test
30823 either passes or fails. Make some test names unique.
30824
30825Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30826
30827 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30828 Call stty to set interrupt character.
30829
30830 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30831 for HP assembler versus GNU assembler based on actual behavior of
30832 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30833
30834 * TODO: Suggest a few more stepping tests.
30835
30836Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30837
30838 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30839 restart GDB for h8300 after a continue.
30840 (return): Add pattern to match a29k-udi behavior.
30841 * gdb.base/nodebug.exp: Remove obsolete comment.
30842 * gdb.base/regs.exp: New file, testing of register displays.
30843 * gdb.base/return.exp: Fix typo in reference to $objdir.
30844 * gdb.base/whatis.exp: Always start with a fresh GDB.
30845
30846Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30847
30848 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30849 higher, these tests generate a lot of output.
30850
30851Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30852
30853 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30854 code following the catch silently ignored some errors; without the
30855 catch they should be thrown like any other tcl error. Also, the
30856 catch used "" instead of {} which meant all the callers who wanted
30857 to include one of the characters "[]$ had to quote it an extra time.
30858 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30859 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30860 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30861 Remove extra quoting.
30862
30863Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30864
30865 * gdb.base/commands.exp: Make test names unique; every test either
30866 passes or fails. Update some comments.
30867
30868 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30869
30870Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30871
30872 The following fixes a FAIL caused by the fact that the alpha stabs
30873 configuration didn't use the ".if alpha" code in weird.def.
30874 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30875 bit pointer, so the 32 bit version works even on the alpha.
30876 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30877 Remove the stuff which allowed us to have separate versions for
30878 alpha and everything else.
30879
30880 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30881 regexp which "info func operator\[\](" is supposed to match. Fix
30882 string to send to GDB. Note that GDB still doesn't work right. Add a
30883 new test for "info func .perator\[\](" which GDB does handle correctly.
30884
30885 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30886
30887Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30888
30889 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30890 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30891 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30892 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30893 it makes the tests harder to understand and confuses test-o-matic.
30894 The preferred style is that each test provides a PASS or a FAIL,
30895 and has a unique message (e.g. "continue #54" not just "continue")
30896 which is the same for the pass and the fail.
30897 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30898 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30899 to lib/gdb.exp.
30900 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30901 prt_accept which was basically the same thing. Likewise for
30902 test_print_reject and prt_reject.
30903 * lib/gdb.exp (test_print_reject): Add some more error message
30904 patterns to match from the former printcmds.exp (prt_reject).
30905 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30906 One defect of the passcount stuff is that some of it failed to
30907 report XPASS where appropriate.
30908 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30909 stuff before and after arg in expected pattern.
30910 (test_paddr_operator_functions): Re-do test without print_addr_of;
30911 this is the only test which seems to want extra stuff there.
30912
30913Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30914
30915 * gdb.base/nodebug.exp: Update new tests to reflect improved
30916 wording of gdb output.
30917
30918 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30919 and "ptype" work on variables in files compiled without -g.
30920 Replaces commented out "maint print msymbol" tests.
30921
30922Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30923
30924 * gdb.base/setvar.c (dummy): Call malloc.
30925
30926 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30927 losing with the irix4 sed.
30928
30929 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30930 ALRM" on irix4.
30931
30932Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30933
30934 * TODO: Remove items about corefile.exp testing new exec-file and
30935 backtrace; both are now done. Add items about printing enums.
30936
30937Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30938
30939 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30940 "get signal $thissig" test fails.
30941
30942 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30943
30944Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30945
30946 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30947 compiler warning with dec alpha compiler.
30948
30949 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30950 extra \n from gdb_test call (this explains why the prompt test
30951 that I removed yesterday was there).
30952 (user_defined_command_test): Remove extra \n and prompt test.
30953
30954 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30955 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30956 doesn't exist.
30957 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30958 Also remove alpha workaround, which turns out to be because
30959 SIGABRT == SIGLOST.
30960
30961 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30962
30963 * gdb.base/help.exp: Don't test "help show".
30964
30965Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30966
30967 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30968 "set print address" is on.
30969 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30970 pass prompt to gdb_test; gdb_test already looks for the prompt.
30971
30972 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30973
30974 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30975 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30976 was to make sure that gdb can read a core file. But (a) the "read
30977 the corefile" part didn't make it to a1-selftest.exp, we just
30978 delete the corefile after creating it, and (b) we test reading
30979 corefiles in corefile.exp anyway. Also, this test left around a
30980 xgdb process on Solaris.
30981
30982 * gdb.base/corefile.exp: Also test backtrace.
30983
30984Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30985
30986 * gdb.base/commands.exp: Test a simple user defined command with
30987 arguments and if/while statements; verify the full user command is
30988 printed by "show user".
30989
30990 * gdb.base/commands.exp: Test if/while commands as part of a
30991 breakpoint command list; verify they appear in breakpoint
30992 information.
30993
30994Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30995
30996 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30997 than by dividing by zero.
30998
30999Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
31000
31001 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
31002 performing an inferior call with watchpoints enabled.
31003 * gdb.base/watchpoint.c (main): Delete second unnecessary read
31004 call.
31005
31006Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31007
31008 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
31009 of "file" command.
31010
31011 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
31012 Add additional pattern for when "int operator int(void);" appears
31013 in a different order.
31014
31015Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31016
31017 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
31018
31019 * gdb.base/help.exp: Replace most of docstrings for "info signals"
31020 and "signal" with ".*".
31021
31022Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31023
31024 * TODO: Add note about "handle all nostop".
31025
31026 * gdb.base/{sigall.c, sigall.exp}: New test.
31027 * gdb.base/Makefile.in: Add it.
31028
31029Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
31030
31031 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
31032 when invoking GDB, suppresses any windowing interface.
31033
31034Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
31035
31036 * config/sim-gdb: New file, simulator testing support.
31037
31038Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
31039
31040 * gdb.base/interrupt.exp: Test calling func1 twice.
31041
31042Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
31043
31044 * gdb.base/list.exp (test_forward_search): Set timeout higher
31045 when we'll be getting lots of output from gdb.
31046
31047 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
31048 "init_malloc" to after the expect statement. Run it if that
31049 regexp is taken, but also for two others which happen if source
31050 cannot be found.
31051
31052Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31053
31054 * gdb.base/printcmds.exp: New test, for printing register before
31055 program is running.
31056
31057Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31058
31059 * gdb.base/list.exp: Correct some alternate expect patterns
31060 to reflect changes in list1.c.
31061
31062Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31063
31064 * TODO: Add item regarding large frames.
31065
31066 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
31067
31068 * TODO: Remove item about enabling return.exp; it
31069 is enabled. Suggest a few more "return" tests.
31070
31071Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31072
31073 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
31074 anonymous unions.
31075
31076Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31077
31078 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
31079 and pr-5646.o, so "make" is the same as "make all", not "make
31080 pr-4975.o".
31081
31082Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
31083
31084 * gdb.base/list.exp: Adjust expectations to reflect changes in
31085 list1.c.
31086 (test_forward_search): New test proc.
31087 * gdb.base/list1.c (long_line): New function, has long source line.
31088
31089Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
31090
31091 * gdb.base/a1-selftest.exp: Change initial stepping to know about
31092 additional line of code that was added.
31093
31094Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
31095
31096 * gdb.disasm/hppa.s: Break the large branching tests into smaller
31097 tests so as not to overflow expect's input buffers.
31098 * gdb.disasm/hppa.exp: Corresponding changes.
31099
31100Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31101
31102 Beginnings of template debugging tests.
31103 * gdb.c++/templ-info.cc: New file to test for template
31104 debugging capability of the compiler.
31105 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
31106 templ-info.cc.
31107 * gdb.c++/templates.cc: Add explicit template instantiations
31108 to enable compiling with -fno-implicit-templates. Add destructor
31109 and 'value' method to T5 class for template tests.
31110 * gdb.c++/templates.exp: Add testcases for printing of template
31111 types, setting breakpoints on template methods and calling a
31112 template method.
31113
31114Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
31115
31116 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
31117 branch target since some assemblers (gas-2.5) may emit a
31118 relocation for the branch instead of resolving it in the
31119 assembler.
31120
31121Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31122
31123 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
31124 through signal handler.
31125
31126Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31127
31128 * configure.in (*-*-netware): Use config/mt-netware.
31129
31130 * config/mt-netware: New file.
31131 * config/mt-i386-netware: Removed, separate configs for different
31132 netware architectures are no longer needed now that we have
31133 --with-headers.
31134
31135Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31136
31137 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
31138 by the recent changes to use ANSI C arithmetic conversions.
31139
31140Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31141
31142 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
31143 bug involving using inferior_pid to figure out whether to select a
31144 frame.
31145
31146Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
31147
31148 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
31149 match the current disassembler output.
31150
31151Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
31152
31153 * gdb.fortran/exprs.exp: Expect VOID instead of void.
31154 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
31155 types, expect "int" as type of integer values (for now).
31156
31157Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
31158
31159 * gdb.base/commands.exp: New tests for if/while commands.
31160
31161Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
31162
31163 * lib/gdb.exp (runto): Replace sub-pattern for hex value
31164 by .*, since hex values have different syntax in Chill mode.
31165
31166Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31167
31168 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
31169 linefeed from expect pattern for repeated types with indices > 9.
31170
31171Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
31172
31173 First part of Fortran test suite.
31174 * gdb.fortran: New directory.
31175 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
31176
31177Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31178
31179 * gdb.base/default.exp: Update expect pattern for load command
31180 without arguments.
31181
31182Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
31183
31184 * configure.in: Change i386 to i[345]86.
31185 * gdb.base/configure.in: Likewise.
31186 * gdb.c++/configure.in: Likewise.
31187 * gdb.chill/configure.in: Likewise.
31188
31189Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
31190
31191 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
31192 patterns, since that is not a valid context for comments.
31193
31194Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
31195
31196 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
31197 repeated types and repeated types with indices > 9.
31198
31199Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
31200
31201 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
31202 2417; old bug has been fixed.
31203
31204Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
31205
31206 * gdb.base/interrupt.exp: When trying to wake up the inferior,
31207 send the newline ourselves instead of assuming gdb_test will do
31208 so when passed an empty input string.
31209
31210 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
31211 stabs testcode.
31212
31213Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31214
31215 * lib/gdb.exp (gdb_test): Don't send anything if the first
31216 argument is an empty string. This makes cases where we want to
31217 match output that is already in expect's buffers (for example,
31218 matching a breakpoint after gdb_run_cmd has been called) work
31219 reliably.
31220
31221Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31222
31223 * config/netware.exp: New file.
31224
31225Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31226
31227 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
31228 the -B and -L prefixes so we can find the debugging stub.
31229
31230 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
31231 there and we are using the gcc from the tree.
31232
31233 * gdb.base/types.c: Removed.
31234
31235 * gdb.base/configure.in: Look for makefile fragments in ../config.
31236 Recognize i386-*-netware.
31237 * gdb.c++/configure.in: Likewise.
31238
31239Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31240
31241 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
31242 the correct TCL syntax.
31243
31244Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31245
31246 * gdb.base/opaque.exp: use runto instead of messing around with
31247 breakpoints. Simplify by using gdb_test.
31248
31249 * gdb.base/bitfields.exp: restart between tests on netware targets
31250 because breakpoints aren't relocated after target death. Run
31251 processes to completion.
31252
31253 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
31254
31255Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
31256
31257 * Makefile.in: Remove extra tabs that confuse some versions
31258 of "make". Use the newly built gdb to test with by default,
31259 rather than the first one in the tester's search path.
31260
31261Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
31262
31263 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
31264
31265 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
31266 condition help.
31267
31268Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31269
31270 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
31271
31272 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
31273 running.
31274 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
31275 * gdb.base/funcargs.exp: Likewise.
31276
31277 * gdb.base/bitfields.exp: Simplify by using gdb_test.
31278 * gdb.base/funcargs.exp: Likewise.
31279
31280 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
31281 message is "".
31282
31283Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31284
31285 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
31286 return,signals,twice}.exp: Handle non-existant binaries
31287 consistantly.
31288
31289 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
31290 * gdb.base/Makefile.in: Don't try to generate a core dump, we
31291 might testing a cross development system.
31292
31293Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31294
31295 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
31296 runtest script is relative to ${srcdir}, not ${rootdir}.
31297
31298Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
31299
31300 * gdb.base/signals.exp: Allow for optionality of breakpoint
31301 address.
31302
31303Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31304
31305 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
31306
31307Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31308
31309 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
31310 for size_t definition.
31311 * gdb.c++/templates.cc: Likewise
31312
31313 * config/mt-i386-netware: New file.
31314
31315 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
31316 defined.
31317
31318 * gdb.base/Makefile.in: Added support for systems that name core
31319 files by appending "core" to the program name.
31320 * gdb.base/a1-selftest.exp: Likewise.
31321
31322Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31323
31324 * gdb.base/return.exp: Add comment and message for `return double'
31325 test failure on Sparc Solaris.
31326
31327Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
31328
31329 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
31330
31331Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31332
31333 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
31334 from optimizing them away.
31335 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
31336 patterns to include default constructors and assignment operators,
31337 to match gcc versions beyond 2.5.8. Accept any cplus demangling
31338 character in the output of the virtual base pointer.
31339
31340Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31341
31342 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
31343 expression match in print_addr_of to avoid unintented matches.
31344 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31345 versions up to 2.5.8.
31346
31347Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31348
31349 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31350 included file to run under newer versions of expect.
31351 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31352 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31353 Remove xfail for the virtual table of BDDHookV.
31354
31355Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31356
31357 * lib/gdb.exp (string_to_regexp): Set a default result.
31358 (default_gdb_start): Fix misleading message.
31359
31360Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31361
31362 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31363 Remove all CC, etc definitions.
31364 * config/mt-hpux: New file.
31365 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31366 (CFLAGS, LDFLAGS): Define.
31367 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31368
31369 * Makefile.in (site.exp): Don't insert host_os, etc.
31370 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31371 (distclean): Check existence of subdir.
31372 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31373 * gdb.base/Makefile.in: General cleanup and simplification.
31374 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31375 to build executables. Use default rule to build .o files.
31376 (EXPECT, RUNTEST, CC): Fix relative pathname.
31377 (site.exp): Don't insert host_os, etc.
31378 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31379 and/or SIGUSR1 defined.
31380 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31381 * gdb.c++/Makefile.in: General cleanup and simplification.
31382 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31383 (CFLAGS): Remove.
31384 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31385
31386Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31387
31388 * gdb.base/recurse.exp: Misc changes to get tests running again
31389 after Kung's changes to the watchpoint code.
31390 * gdb.base/watchpoint.exp: Likewise.
31391
31392Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31393
31394 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31395
31396Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31397
31398 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31399 * lib/gdb.exp (default_gdb_start): Define.
31400 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31401 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31402 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31403 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31404 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31405 Don't call gdb_target_udi in between tests.
31406
31407Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31408
31409 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31410 (which was basically just a local version of the same thing). In
31411 addition to avoiding duplication, gdb_test_exact is faster.
31412 * lib/gdb.exp (gdb_test_exact): Fix typo.
31413
31414 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31415 don't give an error.
31416
31417 * gdb.base/term.exp: Call delete_breakpoints before starting.
31418
31419 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31420 (t10): Add comment.
31421
31422Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31423
31424 Reorganization of the GDB Test Suite.
31425
31426 * gdb.base: New directory, contains all the basic tests.
31427 * gdb.c++: New directory, tests specific to C++.
31428 * gdb.chill: New directory, tests specific to Chill.
31429 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31430 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31431 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31432 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31433 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31434 t30-31 to chill).
31435 * */gdbme.*: Rename to match appropriate expect scripts.
31436 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31437 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31438 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31439 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31440 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31441 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31442 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31443 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31444 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31445 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31446 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31447 gdb.c++/virtfunc.cc: New names of C++ files.
31448 * gdb.chill/chillvars.ch: New name of Chill file.
31449 * gdb.base/configure.in, gdb.c++/configure.in,
31450 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31451 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31452 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31453 * configure.in (configdirs): Update to reflect directory changes.
31454 (target_abbrev): No longer define for any configuration.
31455 * Makefile.in: Cosmetic improvements to header comments.
31456
31457Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31458
31459 Various changes to gdb.t31:
31460
31461 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31462 * gdbme.ch: Make all key-words and predefineds be upper-case.
31463 * chillvars.exp: Expect key-words and predefinds in upper-case.
31464
31465 * chillvars.exp: Use gdb_test_exact many places.
31466 Change expected output for arrays (which now includes index labels).
31467
31468 * pr-5020.exp, gdme.ch (module PR_5020):
31469 New test, for PR-5020.
31470
31471Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31472
31473 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31474 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31475
31476Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31477
31478 * Makefile.in: Fix bit-rot in definitions of CHILL,
31479 CHILL_FOR_TARGET and Chill_LIB.
31480 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31481 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31482 CHILL, and CHILL_LIB.
31483
31484Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31485
31486 * Revert the previous changes. Please see Rob's directory
31487 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31488
31489Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31490
31491 * Makefile.in, configure.in, config/mips-gdb.exp,
31492 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31493 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31494 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
31495 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31496 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31497 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31498 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31499 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31500 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31501 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31502 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31503 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31504 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31505 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31506 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31507 changes from 94Q1.
31508
31509Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31510
31511 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31512 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31513 Rob's new testing fragments.
31514
31515Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31516
31517 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
31518 lib/gdb.exp: Replace error proc calls with perror.
31519
31520Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31521
31522 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31523 version also, match on casted version strings, and match on
31524 gdb startup case where the line numbers might be messed up.
31525
31526Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31527
31528 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
31529 (CFLAGS): Delete it from here.
31530
31531Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31532
31533 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31534
31535Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31536
31537 * Makefile.in (RUNTEST): Default to just "runtest".
31538
31539Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31540
31541 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31542 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31543 the code has been restructured.
31544
31545Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31546
31547 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31548 \n, not just one of each.
31549
31550 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31551 /bin/cc gives a warning if you do.
31552
31553Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31554
31555 * gdb.t24/demangle.exp: change expect pattern of
31556 __t10ListS_link1ZUiRCUiPT0
31557
31558Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31559
31560 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31561 on local variables in recursive functions.
31562
31563 * gdb.t07/Makefile.in: Build the new test.
31564
31565Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31566
31567 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31568 directly. Instead compare the return values from actual calls.
31569
31570Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31571
31572 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31573
31574Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31575
31576 * From Peter Schauer with minor modifications.
31577 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31578 stops in mid-line in the caller. Add xfail for returning a float
31579 value on X86 targets.
31580
31581Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31582
31583 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31584 to avoid expect lossage.
31585 (fmem_LRbug_tests): Likewise.
31586 * gdb.disasm/hppa.s: Corresponding changes.
31587
31588 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31589 conditions to work with latest dejagnu/expect.
31590
31591 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31592 expected to fail on the PA.
31593 (backtrace in call with trampolines): Explicitly require main
31594 to be frame #1 (no trampolines should show up in backtrace).
31595
31596 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31597 "continue -expect".
31598 * gdb.t06/break.exp: Likewise.
31599 * gdb.t07/watchpoint.exp: Likewise.
31600 * gdb.t13/bitfields.exp: Likewise.
31601 * gdb.t15/{funcargs,return}.exp: Likewise.
31602 * gdb.stabs/weird.exp: Likewise.
31603 * config/{mips,udi}-gdb.exp: Likewise.
31604
31605 * hppa.sed: Enclose comments within a sed command to avoid
31606 losing with the old OSF1 sed.
31607
31608Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31609
31610 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31611 sequent dynix.
31612 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31613 * gdb.t15/funcargs.exp: Conditionally step again to really
31614 finish from marker_call_with_trampolines. Handle the case where
31615 the first step from within call_with_trampolines already steps
31616 us back to main.
31617 * gdb.t15/gdbme.c: Add comment to closing brace of
31618 call_with_trampolines for funcargs.exp.
31619
31620Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31621
31622 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31623 Fix typo(s).
31624
31625Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31626
31627 * gdb.t07/gdbme.c: More code for watchpoint testing.
31628
31629 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31630 "Hardware watchpoint" throughout file.
31631 (test_watchpoint_triggered_in_syscall): New test.
31632 (test_complex_watchpoint): New test.
31633
31634Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31635
31636 * gdbme.c (call_with_trampolines): New function to try and step
31637 into. Tests trampoline problems on the PA.
31638
31639 * funcargs.exp (localvars_in_indirect_call): No longer expect
31640 stepping into indirect call to fail on PAs.
31641 (test_stepping_over_trampolines): New test.
31642
31643Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31644
31645 * TODO: Add suggestions for static member function tests, and
31646 completion tests.
31647
31648Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31649
31650 * TODO: Add suggestions for "p/a" tests.
31651
31652 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31653 (default_gdb_exit): Replace all the hair with sending "quit" to
31654 the process with a simple close.
31655
31656Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31657
31658 * TODO: Add suggestions for shared library tests.
31659
31660Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31661
31662 * TODO: Add suggestions for x/s tests.
31663
31664Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31665
31666 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31667 "enable once", and "enable breakpoints once" with ".*".
31668
31669Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31670
31671 * TODO: Add suggestions about structure passing tests.
31672
31673Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31674
31675 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31676 the primary1 test, use work around if __GNUC__ < 2.
31677 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31678 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31679 Test for bad output rather than waiting for timeout. Issue
31680 second continue only if first continue failed.
31681
31682Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31683
31684 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31685 operator[] test with gdb_test because the old code didn't seem to
31686 be getting the quoting right with the new dejagnu.
31687
31688Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31689
31690 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31691 one from the path.
31692 * Makefile.in: Use a fresh expect if there is one, use runtest
31693 from the src tree if there is one.
31694
31695Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31696
31697 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31698 next over recursive call. Revise the tests from that point on
31699 (which had been skipped) to match GDB's actual (correct) output.
31700
31701 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31702 with next over a breakpoint whose condition is false.
31703
31704 * gdb.t00/help.exp: Comment out "help set print" tests just like
31705 (and for same reason as) "help set" test.
31706
31707Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31708
31709 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31710 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31711
31712Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31713
31714 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31715 necessary gdb_target_udi.
31716
31717 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31718
31719 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31720 1838 and 2417; they are fixed.
31721
31722 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31723 gdb.t03/ptype.exp (ptype structure, ptype union):
31724 Remove xfails; the test is looser than when the xfails were added.
31725
31726 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31727 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31728
31729 * gdb.t01/run.exp: Only run shell test if isnative.
31730
31731 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31732 since "run" automatically loads if necessary. Call gdb_target_udi
31733 after the "file" since "file" kills any execution target.
31734
31735 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31736 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31737 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31738 argument for UDI.
31739
31740Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31741
31742 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31743
31744 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31745
31746Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31747
31748 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31749 properly quoting regexps. This makes the second argument to
31750 demangle a fixed string, which matches the callers, instead of a
31751 shell-style pattern which is what the previous implementation
31752 used. Update some of the callers.
31753
31754Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31755
31756 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31757 (comib_nullified_tests): Fix typo.
31758 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31759 strings. No longer expected to fail.
31760
31761 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31762 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31763 strings. No longer expected to fail.
31764
31765 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31766 string. No longer expected to fail.
31767
31768Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31769
31770 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31771 No longer expected to fail.
31772
31773 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31774 string. No longer expected to fail.
31775
31776Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31777
31778 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31779 only in the names (I probably got most of them). I was even
31780 generous with some which differed in underscores in names, and
31781 probably missed a few, and I *still* was able to remove almost a
31782 third of the file with almost no impact on testsuite coverage.
31783
31784Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31785
31786 * gdb.t00/default.exp: Match udi_attach error message as well as
31787 the one from child_attach.
31788
31789 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31790
31791 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31792
31793 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31794 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31795
31796 * Move test with enums and partial symbols back to
31797 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31798 Reverts the change of 26 May 93. Per today's change to
31799 stabs.texinfo, the behavior that weird.exp was expecting was
31800 unreasonable; what is important is that the compiler+gdb get
31801 things right, which happens with a recent gcc. Also fix the test
31802 to deal with native compilers which put out the stab gdb can't
31803 deal with.
31804
31805Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31806
31807 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31808 in the names. The main thing these accomplish is to slow things down.
31809 Many more such duplicates surely remain.
31810
31811 * gdb.t00/help.exp: Comment out "help support" test just like
31812 (and for same reason as) "help set" test.
31813
31814Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31815
31816 * gdb.t06/break.exp: Remove setup_xfails for
31817 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31818 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31819 about known bug in gcc to include up through 2.5.8.
31820 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31821 well as "_vb$".
31822 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31823 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31824 with latest gcc and gdb.
31825 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31826 well as "_vb$".
31827
31828Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31829
31830 * configure.in (hppa*-*-*): Also configure and build stabs-only
31831 tests.
31832
31833Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31834
31835 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31836 * gdb.t10/configure.in (hppa*-*-*): Use it.
31837
31838Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31839
31840 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31841
31842Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31843
31844 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31845 versions prior to 1.13.5.
31846
31847Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31848
31849 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31850 the prompt is at the start of a line.
31851
31852Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31853
31854 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31855 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31856 in the copr tests now.
31857 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31858 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31859 expected to fail.
31860
31861Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31862
31863 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31864 gdb.t31/chillvars.exp, lib/gdb.exp:
31865 Tweak to run under either version of expect.
31866 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31867 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31868 * gdb.t11/list.exp: Remove extraneous whitespace.
31869
31870Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31871
31872 * gdb.t16/printcmds.exp (test_print_strings): Accept
31873 "(unsigned char *) " before the string.
31874
31875 * TODO: Add notes about printing of fancy types and GDB expressions.
31876
31877Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31878
31879 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31880 * gdb.t06/configure.in: Don't try to compile signals test program
31881 if doing mips-idt-ecoff.
31882
31883Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31884
31885 * Most .exp files: Tweak to run under either version of expect.
31886
31887Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31888
31889 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31890 xfails; I'm not sure why they are failing, but not because of PR 1806.
31891
31892Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31893
31894 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31895 defined in lib/gdb.exp.
31896
31897Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31898
31899 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31900 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31901 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31902 have to be typeless.
31903
31904Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31905
31906 * TODO: Add suggestion for copyright year test.
31907
31908Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31909
31910 * configure.in (*-*-lynxos*): Add stabs tests.
31911
31912Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31913
31914 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31915 so insert a tab before any assembler directive in column zero.
31916
31917 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31918 stores.
31919 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31920 stores.
31921 (fpu_short_memory_tests): Likewise.
31922
31923Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31924
31925 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31926 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31927 .stabs directives in comments.
31928
31929Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31930
31931 * TODO: New file, describing tests we could write.
31932 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31933
31934Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31935
31936 * gdb.t06/signals.exp: Add kludge to force re-sync.
31937
31938 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31939 to xgdb instead of gdb, get out of gdb.
31940
31941Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31942
31943 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31944 for info.
31945
31946Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31947
31948 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31949 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31950 * gdb.stabs/hppa.sed: New sed script for the PA.
31951
31952Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31953
31954 * gdb.stabs: Re-write weird.def and configuration to use sed
31955 instead of cpp. sed is portable and POSIX; cpp is neither.
31956
31957Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31958
31959 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31960
31961Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31962
31963 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31964
31965Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31966
31967 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31968 "_vb$".
31969 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31970 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31971
31972Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31973
31974 * lib/gdb.exp: Comment out code which depends on non-existent
31975 `transform' procedure.
31976
31977Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31978
31979 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31980 * lib/gdb.exp: Transform tool name.
31981 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31982 1.1's new error handling system.
31983
31984Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31985
31986 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31987
31988Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31989
31990 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31991 They made pattern matching so slow that timeouts happened on
31992 heavily loaded systems. Now any output from "show print" which
31993 gets us back to the GDB prompt is a PASS.
31994
31995Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31996
31997 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31998
31999Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32000
32001 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
32002
32003 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
32004 It is not from PR 3220.
32005
32006Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32007
32008 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
32009 just started failing because they depended on the order the
32010 subcommands are presented, or exact docstring text. This kind of
32011 test is a pain and has minimal benefit.
32012
32013Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32014
32015 * gdb.t09/corefile.exp: At end of test, use "core" command with
32016 no arguments.
32017
32018Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
32019
32020 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
32021 17}/Makefile.in: Make it possible to run the testsuite with Sun
32022 make and CC = cross gcc by adding explicit build rules for .o
32023 files.
32024
32025Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32026
32027 * gdb.t15/funcargs.exp: Don't put comments on same line as
32028 setup_xfail (@#$*%& tcl braindamage!).
32029
32030Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32031
32032 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
32033
32034Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
32035
32036 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
32037 * gdb.t20/inherit.exp: remove three dumplicate entries.
32038
32039Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32040
32041 * gdb.t06/break.exp: For "next over recursive call", fail on any
32042 incorrect output, not just on "factorial (value=2)".
32043
32044Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32045
32046 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
32047 working now. Add an xfail if accesing a bss variable causes
32048 a memory error if the target is not yet run.
32049
32050Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32051
32052 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
32053 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
32054 name of __st* demangling (2 strings). Did Kung really get the
32055 more than 95 others right without testing them?
32056
32057Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
32058
32059 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
32060
32061Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
32062
32063 * configure.in (configdirs): Add gdb.disasm
32064 * gdb.disasm: New directory for GDB disassembler tests.
32065 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
32066
32067Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32068
32069 * gdb.t00/help.exp: Don't test "help set".
32070
32071 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
32072 from within expect statements. None of these happen anymore and
32073 they cause regressions to be silently unnoticed.
32074
32075 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
32076 messages) about known failures with gcc cygnus-2.4.5-930417.
32077
32078 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
32079 comp-info.exp so it gets built if it doesn't exist.
32080
32081 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
32082 it is no longer used.
32083 * gdb.t13/comp-info.c: Removed.
32084
32085Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32086
32087 * gdb.t06/signals.exp: Add xfail for sun3.
32088
32089Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32090
32091 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
32092 relevant because ^C doesn't get sent but failure can be reproduced
32093 interactively).
32094
32095Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32096
32097 * gdb.stabs/alpha.mt: New configuration file for alpha.
32098 * gdb.stabs/configure.in: Use it.
32099 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
32100 sharing with alpha.mt, redefine long to word via preprocessor.
32101 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
32102 for alpha.
32103 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
32104 native cc.
32105 * gdb.t00/teststrategy.exp: Change expect string so that we
32106 consume the `(xgdb)' from the command echo and from the gdb prompt.
32107 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
32108 gdb currently compares all values as long, so this failure probably
32109 applies to any configuration where LONGEST is bigger than a target int.
32110 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
32111 with gcc.
32112 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
32113 to handle opaque pointers, gcc is.
32114 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
32115 as first argument. Include <sys/types.h> and change all operator
32116 new definitions to use size_t.
32117 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
32118 now that we use size_t.
32119
32120Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32121
32122 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
32123 a long or float array cast all array members to the same type.
32124 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
32125 with 64 bit longs.
32126 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
32127 on alpha.
32128 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
32129
32130Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32131
32132 * gdb.t24 (demangle.exp): Constructors of templates have names like
32133 vector<int>::vector(int) not vector<int>::vector<int>(int). See
32134 section 14.6 of the ARM.
32135
32136 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
32137 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
32138 accomplish little and slow down the testsuite.
32139
32140 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
32141 Accept spaces various places.
32142
32143Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32144
32145 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
32146 with watchpoint enabled.
32147
32148 * Makefile.in: Remove definition of CC and remove the second
32149 definition of CXX (the "CXX = gcc" one remains). These definitions
32150 were causing backquotes to be expanded within backquotes, which
32151 doesn't work.
32152
32153Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
32154
32155 * gdb.t17/callfuncs.exp: Add "return 0" to end.
32156
32157Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32158
32159 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
32160 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
32161 by mips cc and contains no stabs entries.
32162
32163Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
32164
32165 * config/vx-gdb.exp: Use fake device to load files rather than
32166 NFS.
32167 * lib/gdb.exp: New proc to do "file" command.
32168 * config/unix-gdb.exp: Use new "file" proc.
32169
32170Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
32171
32172 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
32173 Rework board rebooting slightly.
32174 (gdb_exit): Don't exit from the remote shell; there isn't one.
32175 * gdb.stabs/weird.exp: If a program is being debugged already,
32176 kill it.
32177 * gdb.t04/setvar.exp: Stop and restart gdb.
32178 * gdb.t05/expr.exp: Likewise.
32179 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
32180 restart gdb and reload the program.
32181 * gdb.t08/opaque.exp: Likewise.
32182 * gdb.t12/scope.exp: Likewise.
32183 * gdb.t13/bitfields.exp: Likewise.
32184 * gdb.t15/funcargs.exp: Likewise.
32185 * gdb.t20/classes.exp: Likewise.
32186 * gdb.t03/ptype.exp: Increase timeout.
32187 * gdb.t16/printcmds.exp (test_print_string_constants,
32188 test_print_array_constants): Likewise.
32189 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
32190 * gdb.t20/classes.exp (do_tests): Likewise.
32191 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
32192
32193Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
32194
32195 * gdb.stabs: Renamed *wierd* to *weird*.
32196
32197Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32198
32199 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
32200 for timeout. Add "known gcc 2.4.5 bug" to failure message.
32201
32202Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32203
32204 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
32205 (do_tests): Remove xfail for whatis on one_var and two_var.
32206
32207Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
32208
32209 * Makefile.in: Made cross building work better by adding
32210 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
32211
32212Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32213
32214 * gdb.t15/{return.c,return.exp,Makefile.in}:
32215 New test, currently commented out.
32216
32217Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
32218
32219 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
32220 still running and removes the leftover named socket so GDb can do
32221 clean restarts.
32222
32223Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
32224
32225 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
32226 console, not GDB.
32227 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
32228 cross testing works better with "make check"
32229 * config/unix-gdb: Use default procedures for exit and version.
32230 * config/vx-gdb.exp: Cleaned up and massaged back to working order
32231 with the newest VxWorks.
32232
32233Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32234
32235 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
32236 old form.
32237
32238 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
32239 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
32240
32241 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
32242
32243 * config/unix-gdb.exp: Remove this version of gdb_exit
32244 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
32245 Rob says he'll look at it when he gets back to testing boards.
32246
32247Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
32248
32249 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
32250 an expected fail for certain ptype commands.
32251
32252 * gdb.t20/classes.exp: Update expected results of "ptype class
32253 Base1" to account for the constructor that now appears in the type.
32254
32255Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
32256
32257 * configure.in (configdirs): Restore gdb.t04, which mysteriously
32258 disappeared from list.
32259 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
32260 "alldone" proc with call to cleanup and exit.
32261 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
32262 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
32263 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
32264 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
32265 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
32266 "alldone" proc with simple returns that suppress remaining
32267 tests. The alldone proc went away many months ago.
32268
32269Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32270
32271 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
32272
32273 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
32274
32275Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32276
32277 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
32278 as vax gdb will display them.
32279
32280Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32281
32282 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
32283 optimizers.
32284
32285 * scope.exp: Change "bad value for localval" messages so each one
32286 is unique.
32287
32288 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
32289 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
32290
32291 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
32292
32293Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32294
32295 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
32296 doesn't exist (due to optimization).
32297
32298Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32299
32300 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
32301 contains \r because the filename is long.
32302
32303 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
32304 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
32305
32306Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32307
32308 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
32309 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
32310 Ultrix.
32311 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
32312 int tests.
32313 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
32314
32315Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
32316
32317 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
32318
32319 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
32320 to match does not match the passing case but still matches the
32321 failing case.
32322
32323Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32324
32325 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
32326
32327Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
32328
32329 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
32330 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
32331 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
32332 Remove various versions of gdb_exit.
32333 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
32334 gdb_exit.
32335 * config/unix-gdb.exp: gdb_exit remains here, and should override
32336 the generic version, since it's doing a lot of wierd stuff that
32337 the other versions aren't. FIXME, fold it in, or abandon this
32338 version.
32339
32340Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32341
32342 * gdb.t24/demangle.exp: Add tests for PR 3220.
32343
32344Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32345
32346 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32347
32348Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32349
32350 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32351 "i386-*-*". Works for i486 as well.
32352
32353 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32354 bug, and expand domain of xfail to all SVR4 systems, since the
32355 actual problem is likely to be in generic SVR4 /proc support.
32356
32357Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32358
32359 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32360
32361Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32362
32363 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32364 xfails for other systems. Match a missing 'Continuing.' as an
32365 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32366
32367 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32368 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32369 Only issue warning for missing executables if -all option is used.
32370
32371 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32372 file if -all option is used. It's like an unpredictable XFAIL.
32373
32374Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32375
32376 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32377 for dynamically linked binaries.
32378
32379 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32380
32381Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32382
32383 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32384 to state that this is a known bug in old versions of g++.
32385
32386Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32387
32388 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32389 while waiting for `Continuing'.
32390
32391Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32392
32393 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32394 in text, data, and bss.
32395 * gdb.t10/nodebug.c: Add local and global test variables for
32396 initialized and uninitialized data.
32397
32398Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32399
32400 * config/unix-gdb.exp (gdb_exit): Add "wait".
32401
32402Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32403
32404 * gdb.t06/signals.exp: xfail the continue from the handler for all
32405 targets.
32406
32407 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32408 function with watchpoints enabled, the i386 call dummy starts with
32409 a call.
32410
32411 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32412 386 bsd names its corefiles.
32413
32414Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32415
32416 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32417 compilers don't grok it.
32418 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32419 with small octal ints rather than character constants, which
32420 are signed and might not fit if first promoted to int.
32421
32422Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32423
32424 * gdb.t09/Makefile.in (clean): Remove corefile.
32425
32426Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32427
32428 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32429
32430Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32431 and Jim Kingdon (kingdon@cygnus.com)
32432
32433 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32434 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32435 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32436
32437Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32438
32439 * gdb.t17/interrupt.exp: Add xfail for hppa.
32440
32441Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32442
32443 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32444 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32445 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32446 to determine signed-ness of bitfields and use the result to setup
32447 the xfail.
32448 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32449 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32450 call line is reached if necessary.
32451
32452Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32453
32454 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32455
32456Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32457
32458 * gdb.t06/break.exp: Also test `clear' command.
32459
32460Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32461
32462 * gdb.t00/teststrategy.exp: Remove extra quote.
32463
32464 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32465 watchpoint enabled to be for all non-68k machines.
32466
32467 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32468
32469Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32470
32471 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32472 targets use aout.mt instead of ecoff.mt as gas understands
32473 standard aout format.
32474
32475Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32476
32477 * lib/gdb.exp (runto): Don't insist that function we are running to
32478 was compiled with -g.
32479
32480 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32481
32482 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32483 to get back into the read system call.
32484 Accept leading newline in case where we woke it up.
32485
32486Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32487
32488 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32489 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32490 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32491 enable ecoff configuration.
32492
32493Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32494
32495 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32496
32497Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32498
32499 * gdb.t16/printcmds.exp: Add another printf test.
32500
32501Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32502
32503 * configure.in: If configured -with-stabs on any target, add
32504 stabsdirs to configdirs.
32505
32506Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32507
32508 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32509 fun" so pattern does not match the command itself.
32510
32511Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32512
32513 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32514
32515Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32516
32517 * gdb.t17/interrupt.exp: Test for more things.
32518
32519Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32520
32521 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32522 compiler arranges the code and line numbers.
32523
32524 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32525
32526Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32527
32528 * gdb.t00/help.exp: Increase expect input buffer size.
32529
32530Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32531
32532 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32533
32534 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32535
32536 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32537
32538 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32539 [0-9]*, not just [0-9].
32540
32541Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32542
32543 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32544
32545 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32546
32547Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32548
32549 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32550
32551Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32552
32553 * gdb.t06/signals.c: Add xfails for sun3.
32554
32555 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32556
32557 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32558 test_stepping tests.
32559
32560Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32561
32562 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32563
32564 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32565
32566 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32567 rather than actually putting it through cpp twice.
32568
32569 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32570
32571Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32572
32573 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32574 no longer needed.
32575
32576Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32577
32578 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32579
32580 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32581 C++ features prints as "struct", make it a pass, not an xfail.
32582
32583Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32584
32585 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32586 Don't require VA to print as "class" rather than "struct".
32587
32588Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32589
32590 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32591
32592Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32593
32594 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32595
32596Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32597
32598 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32599 order.
32600
32601Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32602
32603 * gdb.t16/printcmds.exp: Add printf tests.
32604
32605 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32606
32607 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32608
32609Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32610
32611 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32612 pass counts, to counteract any existing or future setup_xfails.
32613
32614Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32615
32616 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32617 {BEGIN,END}_COMMON for common block instead of STAB.
32618 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32619
32620 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32621 intp_var should be N_GSYM not N_LSYM.
32622 wierd-aout.S: Use a label for the value of the N_SO.
32623 wierd.def: Remove all backslashes.
32624 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32625
32626Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32627
32628 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32629 get the expected next to inheritance3.
32630
32631Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32632
32633 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32634 now that gcc-2.4 gets it right.
32635
32636Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32637
32638 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32639
32640 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32641 generating comp-info.exp which works for cross-compilation.
32642
32643Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32644
32645 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32646 "*-*-sysv4.*".
32647
32648Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32649
32650 * gdb.t01/run.exp: Start with a fresh gdb.
32651 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32652 SVR4.x.
32653
32654Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32655
32656 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32657 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32658 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32659 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32660 things to remove.
32661
32662Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32663
32664 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32665 test cases from bug reports.
32666
32667Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32668
32669 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32670 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32671 avoid spurious xfails.
32672 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32673 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32674 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32675
32676Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32677
32678 * gdb.t00/teststrategy.exp: Rework to provide more useful
32679 description of each test, fix problem with systems that define
32680 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32681 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32682 results for "next over recursive call" so timeouts aren't taken
32683 by error.
32684
32685Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32686
32687 * gdb.t12/scope.exp: Test printing of variables before run.
32688
32689 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32690 printed in wrong order due to sorting.
32691
32692Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32693
32694 * gdb.t00/teststrategy.exp: Fix expected results for printing
32695 user entered string constant. Is array of char, prints with no
32696 address.
32697
32698 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32699 commands.
32700 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32701 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32702 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32703 of struct of char arrays.
32704 * gdb.t00/radix.exp: New tests for radix commands.
32705
32706Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32707
32708 * gdb.t16/printcmd.exp: Print a variable before running program
32709 (with xfail for AIX).
32710
32711Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32712
32713 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32714
32715 * gdb.t16/printcmd.exp: Don't print variables before running program.
32716
32717 * gdb.t06/break.exp: Don't require envp argument to main.
32718
32719 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32720
32721 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32722 Add xfails for rs6000.
32723
32724 * gdb.t02/whatis.exp: Change other tests not to re-test something
32725 we already tested.
32726
32727 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32728 each type used has a variable of that type.
32729
32730Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32731
32732 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32733
32734Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32735
32736 * configure.in: change srctrigger to be a file, not a directory
32737
32738Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32739
32740 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32741
32742 * gdb.t11/list.exp: Fixed a couple of typos.
32743
32744Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32745
32746 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32747 is fixed and PR is closed.
32748 * gdb.t16 (gdbme.c): Add simple test string variable.
32749 * gdb.t16 (printcmds.exp): Add tests with simple test string
32750 variable, primarily for boundaries on "set print elements".
32751
32752Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32753
32754 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32755 Make leading 0's optional and don't expect a tab in the middle
32756 of the number.
32757
32758 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32759
32760 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32761 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32762 don't end command passed to gdb_test with newline.
32763
32764 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32765 signed keyword away, don't expect signed bitfields to be signed.
32766
32767 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32768 printing with only as many 1's as are in the field as well as printing
32769 with 32 1's (see comment).
32770
32771Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32772
32773 * gdb.t00/default.exp: Start with a fresh gdb.
32774 * configure.in (configdirs): Remove gdb.t31 until the chill
32775 compiler works again. It no longer is able to find chillrt0
32776 since it isn't in libchill.a anymore.
32777 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32778 wierd.o, make more modular.
32779 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32780 spurious newlines that caused problems.
32781
32782Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32783
32784 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32785 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32786 gdb.stabs/wierd.{exp,def}: Many new tests.
32787
32788 * gdb.t00/default.exp: update info line for new message.
32789
32790 * gdb.t02/{whatis.exp,gdbme.c}:
32791 Test that "char *" doesn't print as "caddr_t".
32792
32793Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32794
32795 * gdb.t00/help.exp: Use .* in place of some help messages which
32796 just changed.
32797 gdb.t00/default.exp: Update "info frame" test for new message.
32798 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32799 Remove some xfails
32800
32801Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32802
32803 * gdb.t03/{gdbme.c,ptype.exp}:
32804 Add tests for typedef'd struct and union without tags.
32805 Also check "whatis" on a variable of a typedef'd enum without a tag.
32806
32807 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32808 PRMS 1823; the bug still exists but isn't reproduced by this test
32809 anymore), and remove rs6000 XFAIL (the bug is fixed).
32810
32811 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32812 duplicated from whatis.exp. For those that are left, accept
32813 "long", "long int", or "int" for long variables (whatis.exp already
32814 has an XFAIL for "int", so no need to fail it here).
32815
32816 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32817 Deal with GCC's names for types now that GDB uses the compiler's names.
32818
32819 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32820 setup_xfail's for sunos4. If we #defined the signed keyword away,
32821 don't expect GDB to know that char it is signed.
32822
32823 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32824
32825Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32826
32827 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32828 should work on any system, regardless of debugging format.
32829 * gdb.t21/demangle.exp: Move to gdb.t24.
32830 * gdb.t24/demangle.exp: Move from gdb.t21.
32831 * gdb.t24/{Makefile.in, configure.in}: New files.
32832
32833Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32834
32835 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32836 * gdb.stabs: New directory.
32837
32838Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32839
32840 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32841 not just "Quit anyway?".
32842
32843Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32844
32845 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32846 that all setup_xfails are immediately followed by clear_xfails.
32847
32848Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32849
32850 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32851 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32852 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32853 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32854 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32855 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32856 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32857 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32858 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32859 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32860 gdb.t31/chillvars.exp, lib/gdb.exp:
32861 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32862 bug-gdb@prep.ai.mit.edu.
32863
32864Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32865
32866 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32867 with 0.0, not integer 0.
32868
32869Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32870
32871 * gdb.t06/break.exp: Update for "Kill the program" message change.
32872
32873Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32874
32875 * Makefile.in (GDBFLAGS): Set to -nx.
32876 * Makefile.in (site.exp): Use GDBFLAGS.
32877
32878Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32879
32880 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32881 Makefiles.
32882 (check): depend on just-check.
32883 (just-check): added so that tests can be run without a noop
32884 build pass.
32885
32886Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32887
32888 Switch to using configure's configdirs.
32889 * Makefile.in (Makefile): add configure.in dependency.
32890 (SUBDIRS): removed redundant assignment.
32891 * configure.in: switch subdirs assignment to configdirs.
32892 * gdb.t*/configure.in: new files.
32893
32894Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32895
32896 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32897 works.
32898
32899Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32900
32901 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32902 in explicit rules. Apparently this is not supported by some makes.
32903
32904Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32905
32906 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32907
32908Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32909
32910 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32911 disappeared.
32912
32913Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32914
32915 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32916
32917Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32918
32919 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32920 watchpoint problem that is now fixed.
32921 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32922 uninitialized convenience variables.
32923 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32924 structures.
32925
32926Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32927
32928 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32929 which causes expect to get out of sync with gdb on long output
32930 from help set.
32931 * gdb.t09/corefile.exp: Make expected pattern for core file
32932 failing signal and frame output format less sun specific.
32933
32934Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32935
32936 * gdb.t31/chillvars.exp: Add and remove initial dummy
32937 breakpoint, so that symbol table is forced in.
32938 (Needed at least on Sunos4, though it seems not SVR4.)
32939 * gdb.t31/chillvars.exp: Update for changed output format.
32940
32941Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32942
32943 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32944
32945Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32946
32947 * Makefile.in: Added --srcdir when invoking runtest, removed the
32948 need for a local config file. (optional now)
32949
32950Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32951
32952 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32953 failure count used to force early termination. Add some more
32954 expected failures for gnu style demangling.
32955
32956Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32957
32958 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32959 pmi variable from gdb.t20/gdbme to get optimized away.
32960 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32961 Check for written corefile upon timeout _and_ eof.
32962
32963Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32964
32965 * config/unix-gdb.exp: Add missing return 0.
32966
32967Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32968
32969 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32970 test termination.
32971
32972Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32973
32974 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32975 disappeared.
32976
32977Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32978
32979 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32980 time as i860 support works.
32981
32982 * gdb.t15/funcargs.exp: Fix expected outputs to include
32983 "backtrace 100\r" rather than just "backtrace\r", to match last
32984 change.
32985
32986Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32987
32988 * config/udi-gdb.exp (gdb_exit): Remove close command.
32989 (gdb_target_udi): New procedure to set the UDI target.
32990 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32991 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32992 Added waits for prompts after several question responses. Added
32993 some more responses used by a29k-amd-udi-gdb.
32994 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32995 pass different arguments, restart UDI connection after program
32996 completion.
32997 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32998 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32999 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
33000 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
33001 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
33002 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
33003 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33004 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
33005 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
33006 after program completion.
33007 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
33008 compiled with a SELECT_VECS setting.
33009 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
33010 infinite recursion.
33011
33012 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
33013 Added checks for COFF results, and made them expected failures for
33014 all targets. It would be better to make them expected failures
33015 for COFF targets only.
33016
33017Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
33018
33019 * Makefile.in: add null dvi target, don't bother to recurse
33020 through test directories for info and install-info; rename
33021 $(datadir) to be dejagnu instead of deja-gnu
33022
33023Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
33024
33025 * gdb.t31/gdbme.ch: Re-enable code that previously caused
33026 compiler to coredump.
33027 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
33028 code.
33029
33030Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
33031
33032 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
33033 coredump.
33034 * gdb.t31/chillvars.exp: Comment out tests that depend on that
33035 code.
33036
33037Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
33038
33039 * gdb.t03/ptype.exp: tests for return code from gdb_test.
33040 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
33041 which in a shell. Deletes xgdb when done.
33042 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
33043 Tests the return from the "set height" or "set width" commands.
33044 Added a few return codes where needed.
33045
33046Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
33047
33048 * Makefile.in (SUBDIRS): Add gdb.t17.
33049 * configure.in (subdirs): Add gdb.t17.
33050 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
33051 files to test gdb's calling of functions in the inferior with
33052 the correct arguments and gdb's ability to retrieve any
33053 result returned.
33054
33055Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
33056
33057 * config/unix-gdb.exp (gdb_exit): Remove close commands that
33058 may be called after gdb goes away. Previous versions of expect
33059 needed these to avoid file descriptor leaks, but they cause
33060 errors with the current revision of expect.
33061 * gdb.t00/gdbvars.exp: Use -re on expected output after
33062 setting sevenbit-strings.
33063 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
33064 to set sevenbit-strings consistent across tests.
33065 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
33066 set sevenbit-strings consistent across tests.
33067
33068Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
33069
33070 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
33071 expected output to match current "expect" expectations.
33072
33073Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
33074
33075 * gdb.t00/default.exp: Change expected output for default "source"
33076 command, to match new gdb behavior which requires a filename to
33077 source.
33078
33079Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
33080
33081 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
33082 expected fail for i486-*-* that misses the marker2 function.
33083 * gdb.t10/crossload.exp (bfddefault): Allow successful
33084 recognition of a format to pass even if no symbols are found.
33085 Explicitly catch failures where the format is not recognized
33086 or is ambiguous, and add the reason to the fail message.
33087 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
33088 the cause is and invalid target and add reason to failure message.
33089 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
33090 elf32-i386, elf32-sparc, and elf32-i860.
33091 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
33092 Set up expected failure for 'filename'::variable scope resolution,
33093 which is now apparently broken on all targets.
33094 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
33095 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
33096 gdb.t23/templates.exp: Change failure for missing binfile into
33097 just a warning.
33098 gdb.t21/demangle.exp: Change all cfront references to 'arm'
33099 references.
33100
33101Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
33102
33103 * gdb.t00/default.exp: Add expected output for default "source"
33104 command, to match new gdb behavior.
33105 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
33106
33107Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
33108
33109 * config/*-gdb.exp: returns an error, rather than exiting on
33110 internal errors.
33111
33112Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
33113
33114 * gdb.t03/gdbme.c: Add pointer to struct variable.
33115 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
33116 referencing struct members.
33117
33118Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
33119
33120 * configure.in (mips-idt-ecoff): New target.
33121 * config/mips-gdb.exp: New file for remote board using MIPS remote
33122 debugging protocol.
33123
33124 * Redid configuration scheme. Removed gdb.t*/configure.in.
33125 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
33126 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
33127 distclean targets. Built executables via .o files. Adjusted
33128 tests to account for source files in $(srcdir) rather than
33129 $(objdir).
33130 * lib/gdb.exp (runto): Don't expect () after the function name,
33131 because it may have arguments.
33132
33133Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
33134
33135 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
33136 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
33137 expected failures for mips-idt-* and mips-sgi-*.
33138 * gdb.t00/default.exp (attach): Kill process if requested.
33139 * gdb.t00/help.exp (help target core, help target): Accept a gdb
33140 that does not read core files.
33141 * gdb.t01/run.exp: Removed checks for exit status code.
33142 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
33143 it is linked in.
33144 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
33145 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
33146 appropriate, rather than doing it by hand.
33147 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
33148 execution.
33149 * gdb.t10/crossload.exp: Kill existing program if needed.
33150 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
33151 appropriate, rather than doing it by hand. Always increase
33152 timeout for this test, not just for VxWorks.
33153
33154Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
33155
33156 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
33157 of Chill STRUCT types and STRUCT values.
33158 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
33159 than "char".
33160 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
33161 struct2): New struct definitions and initializations to test
33162 simple Chill STRUCT types.
33163
33164Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
33165
33166 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
33167 the null byte at the end of strings.
33168 * gdb.t00/default.exp: Make show version insensitive to copyright
33169 date.
33170 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
33171 to avoid dependencies on target char signedness.
33172 * gdb.t16/printcmds.exp: Update expected results for explicitly
33173 unsigned char.
33174 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
33175 now work.
33176 * gdb.t21/demangle.exp: Add many more patterns for template
33177 demangling, most of them being expected failures.
33178 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
33179 string we are matching for, to match on the whole string.
33180 * gdb.t21/demangle.exp: Add many new test strings to demangle,
33181 and fix a whole bunch that had incorrect expected output but were
33182 passing anyway because of the bug in "proc demangle".
33183 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
33184 type.
33185 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
33186
33187Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
33188
33189 * gdb/testsuite: made modifications to testcases, etc., to allow
33190 them to work properly given the reorganization of deja-gnu and the
33191 relocation of the testcases from deja-gnu to a "tool" subdirectory.
33192
33193Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
33194
33195 * gdb/testsuite: Initial creation of gdb/testsuite.
33196 Migrated dejagnu testcases and support files for testing nm to
33197 gdb/testsuite from deja-gnu. These files were moved "as is"
33198 with no modifications. This migration is part of a major overhaul
33199 of dejagnu. The modifications to these testcases, etc., which
33200 will allow them to work with the new version of dejagnu will be
33201 made in a future update.
33202
33203 For additional changes see gdb.mi/ChangeLog-1999-2003.
33204\f
33205;; Local Variables:
33206;; mode: change-log
33207;; left-margin: 8
33208;; fill-column: 74
33209;; version-control: never
33210;; End:
33211
33212 Copyright 1993-2013 Free Software Foundation, Inc.
33213 Copying and distribution of this file, with or without modification,
33214 are permitted provided the copyright notice and this notice are preserved.