Add pretty-printer for MPX bnd registers.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
2
3 2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
4
5 * gdb.python/py-pp-maint.exp: Consider new pretty-print added
6 for bnd registers.
7
8 * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
9 start and end equal 0.
10
11 2013-11-19 Yao Qi <yao@codesourcery.com>
12
13 * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
14 (mi_list_varobj_children_range): Likewise.
15
16 2013-11-19 Yao Qi <yao@codesourcery.com>
17
18 * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
19
20 2013-11-19 Yao Qi <yao@codesourcery.com>
21
22 * lib/mi-support.exp: Fix format.
23
24 2013-11-19 Joel Brobecker <brobecker@adacore.com>
25
26 * gdb.ada/py_range: New testcase.
27
28 2013-11-18 Joel Brobecker <brobecker@adacore.com>
29
30 * mi-language.exp: Add "-list-features" test verifying that
31 its output contains "language-option".
32
33 2013-11-16 Joel Brobecker <brobecker@adacore.com>
34
35 * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
36 * info_exc/foo.adb: Adjust to new exception name.
37 * info_exc.exp: Adjust after exception renaming in const.ads.
38 Update "info exception global" test to test "info exceptions
39 global_gdb" instead.
40
41 * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
42 * mi_exc_info/foo.adb (Adjust to new exception name.
43 * mi_exc_info.exp: Adjust after exception renaming in const.ads.
44 Update "-info-ada-exceptions global" test to test
45 "-info-ada-exceptions global_gdb" instead.
46
47 2013-11-15 Luis Machado <lgustavo@codesourcery.com>
48
49 * lib/mi-support.exp (mi_gdb_test): Expect different formats
50 of inferior output for remote and native sessions.
51 * gdb.mi/mi-console.exp: Remove obsolete comment.
52 Check for semihosted inferior output pattern.
53 (semihosted_string): New function.
54
55 2013-11-15 Joel Brobecker <brobecker@adacore.com>
56
57 * gdb.ada/info_exc.exp: Allow other global exceptions to be
58 listed in the output of "info exceptions".
59 * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
60 listed in the output of "-info-ada-exceptions".
61
62 2013-11-15 Joel Brobecker <brobecker@adacore.com>
63
64 * gdb.ada/info_exc.exp: Start inferior before starting
65 the "info exceptions" tests.
66 * gdb.ada/mi_exc_info.exp: Start inferior before starting
67 the "-info-ada-exceptions" tests.
68
69 2013-11-15 Tom Tromey <tromey@redhat.com>
70
71 * gdb.cp/includefile: New file.
72 * gdb.cp/filename.exp: New file.
73 * gdb.cp/filename.cc: New file.
74
75 2013-11-15 Doug Evans <xdje42@gmail.com>
76
77 * gdb.python/py-breakpoint.exp: Make tests have unique names.
78
79 2013-11-15 Doug Evans <xdje42@gmail.com>
80
81 * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
82
83 2013-11-15 Doug Evans <xdje42@gmail.com>
84
85 * gdb.python/py-breakpoint.exp: Split up into several functions,
86 each with their own test prefix.
87
88 2013-11-15 Joel Brobecker <brobecker@adacore.com>
89
90 * gdb.ada/O2_float_param: New testcase.
91
92 2013-11-14 Tom Tromey <tromey@redhat.com>
93
94 * Makefile.in (check-parallel): Print summary from gdb.sum.
95
96 2013-11-14 Omair Javaid <Omair.Javaid@linaro.org>
97
98 * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
99 and function label names.
100 * gdb.dwarf2/dw2-case-insensitive.c: Created function and
101 compile unit labels.
102
103 2013-11-14 Joel Brobecker <brobecker@adacore.com>
104
105 * gdb.mi/mi-language.exp: New file.
106
107 2013-09-17 Keith Seitz <keiths@redhat.com>
108
109 PR c++/7935
110 PR c++/10541
111 * gdb.cp/nsalias.exp: New file.
112 * gdb.cp/nsalias.cc: New file.
113 * gdb.cp/nsrecurs.exp: Remove kfails. Conditionally run
114 tests only on known, working compiler versions.
115
116 2013-11-13 Tom Tromey <tromey@redhat.com>
117
118 * gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
119 * gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
120
121 2013-11-12 Doug Evans <dje@google.com>
122
123 * gdb.base/fileio.exp: Make $dir2 writable after the test is done
124 so that "rm -rf $builddir" Just Works.
125
126 2013-11-12 Joel Brobecker <brobecker@adacore.com>
127
128 * gdb.ada/mi_exc_info: New testcase.
129
130 2013-11-12 Joel Brobecker <brobecker@adacore.com>
131
132 * gdb.ada/info_exc: New testcase.
133
134 2013-11-11 Doug Evans <dje@google.com>
135
136 * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
137 of testfile.
138
139 2013-11-11 Phil Muldoon <pmuldoon@redhat.com>
140
141 * gdb.python/py-linetable.S: New file.
142 * gdb.python/py-linetable.c: New file.
143 * gdb.python/py-linetable.exp: New file.
144
145 2013-11-11 Joel Brobecker <brobecker@adacore.com>
146
147 * gdb.ada/mi_ex_cond: New testcase.
148
149 2013-11-07 Doug Evans <dje@google.com>
150
151 PR 11786
152 * gdb.base/gcore-relro-pie.c: New file.
153 * gdb.base/gcore-relro-pie.exp: New file.
154
155 2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
156
157 * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
158 * gdb.python/py-cmd.c: New File.
159
160 2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
161
162 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
163
164 2013-11-06 Doug Evans <xdje42@gmail.com>
165
166 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
167
168 2013-11-06 Yao Qi <yao@codesourcery.com>
169
170 * lib/gdb.exp (gdb_produce_source): New procedure.
171 * gdb.perf/solib.c: New.
172 * gdb.perf/solib.exp: New.
173 * gdb.perf/solib.py: New.
174
175 2013-11-06 Yao Qi <yao@codesourcery.com>
176
177 * README: Mention performance tests.
178
179 2013-11-06 Yao Qi <yao@codesourcery.com>
180
181 * lib/perftest.exp: New.
182 * gdb.perf/lib/perftest/__init__.py: New.
183 * gdb.perf/lib/perftest/measure.py: New.
184 * gdb.perf/lib/perftest/perftest.py: New.
185 * gdb.perf/lib/perftest/reporter.py: New.
186 * gdb.perf/lib/perftest/testresult.py: New.
187
188 2013-11-06 Yao Qi <yao@codesourcery.com>
189
190 * Makefile.in (check-perf): New target.
191 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
192 * configure: Re-generated.
193 * gdb.perf/Makefile.in: New.
194
195 2013-11-04 Tom Tromey <tromey@redhat.com>
196
197 * Makefile.in (TEST_DIRS): Remove.
198 (TEST_TARGETS, check-parallel): Rewrite.
199 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
200 (subdir_do, subdirs): Remove.
201 (do-check-parallel, check/%): New targets.
202 (clean): Remove outputs, temp, and cache directories.
203 (saw_dash_j): New variable.
204 (CHECK_TARGET): Use it.
205 (check): Depend on all, site.exp. Rewrite.
206 (check-single): Remove dependencies.
207 (slow_tests, all_tests, reordered_tests): New variables.
208
209 2013-11-04 Tom Tromey <tromey@redhat.com>
210
211 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
212 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
213 before loading binfile.
214 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
215 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
216 before loading binfile.
217
218 2013-11-04 Tom Tromey <tromey@redhat.com>
219
220 * gdb.base/foll-exec.c (main): Use BASEDIR.
221 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
222 * gdb.base/foll-vfork.c (main): Use BASEDIR.
223 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
224 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
225 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
226
227 2013-11-04 Tom Tromey <tromey@redhat.com>
228
229 * gdb.base/argv0-symlink.exp: Compute executable's directory
230 dynamically.
231
232 2013-11-04 Tom Tromey <tromey@redhat.com>
233
234 * gdb.asm/asm-source.exp: Use standard_output_file.
235
236 2013-11-04 Tom Tromey <tromey@redhat.com>
237
238 * gdb.server/file-transfer.exp: Use standard_output_file.
239
240 2013-11-04 Tom Tromey <tromey@redhat.com>
241
242 * gdb.base/fullname.exp: Use standard_output_file,
243 relative_filename.
244 * gdb.base/hashline1.exp: Use standard_testfile,
245 standard_output_file, relative_filename, clean_restart.
246 * gdb.base/hashline2.exp: Use standard_testfile,
247 standard_output_file.
248 * gdb.base/hashline3.exp: Use standard_testfile,
249 standard_output_file, relative_filename.
250 * lib/gdb.exp (relative_filename): New proc.
251
252 2013-11-04 Tom Tromey <tromey@redhat.com>
253
254 * gdb.base/fileio.c (test_open, test_write, test_read)
255 (test_lseek, test_close, test_stat, test_fstat)
256 (test_isatty, test_system, test_rename, test_unlink):
257 Use OUTDIR define.
258 * gdb.base/fileio.exp: Define OUTDIR during compilation.
259 Use standard_output_file.
260
261 2013-11-04 Tom Tromey <tromey@redhat.com>
262
263 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
264 defines.
265 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
266 compilation. Use prepare_for_testing, standard_output_file.
267
268 2013-11-04 Tom Tromey <tromey@redhat.com>
269
270 * gdb.base/advance.exp: Use standard_testfile and
271 prepare_for_testing.
272 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
273 appropriate directory when local.
274 * gdb.base/dump.exp: Use standard_output_file. Update all
275 "dump" and "restore" filenames.
276 * gdb.base/interact.exp: Use standard_output_file.
277 * gdb.base/jit-so.exp: Don't download file when local.
278 * gdb.base/jit.exp (compile_jit_test): Don't download file
279 when local.
280 * gdb.base/list.exp: Use gdb_remote_download.
281 * gdb.base/maint.exp: Use standard_output_file.
282 * gdb.base/prelink.exp: Use standard_output_file.
283 * gdb.base/save-bp.exp: Use standard_output_file.
284 * gdb.base/sepdebug.exp: Use standard_testfile,
285 standard_output_file.
286 (test_different_dir): Don't declare objdir.
287 * gdb.base/solib-search.exp: Use standard_output_file.
288 * gdb.base/step-line.exp: Use gdb_remote_download.
289 * gdb.base/trace-commands.exp: Use standard_output_file.
290
291 2013-11-04 Tom Tromey <tromey@redhat.com>
292
293 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
294 to compilation. Use standard_output_file.
295 (test_tfind_tfile): Update.
296 * gdb.trace/tfile.c (write_basic_trace_file)
297 (write_error_trace_file): Use TFILE_DIR.
298 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
299 standard_output_file.
300
301 2013-11-04 Tom Tromey <tromey@redhat.com>
302
303 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
304 Use "dwarf2 always-disassemble" for the "maint set" test.
305 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
306 standard_output_file.
307 * gdb.mi/mi-logging.exp: Use standard_output_file.
308
309 2013-11-04 Tom Tromey <tromey@redhat.com>
310
311 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
312 downloads conditional on remote host.
313 (set_arch): Likewise.
314 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
315 (load_description): Use standard_output_file.
316
317 2013-11-04 Tom Tromey <tromey@redhat.com>
318
319 * gdb.gdb/selftest.exp: Use standard_output_file.
320 * lib/selftest-support.exp (do_self_tests): Use
321 standard_output_file.
322
323 2013-11-04 Tom Tromey <tromey@redhat.com>
324
325 * gdb.stabs/weird.exp: Use gdb_remote_download and
326 standard_output_file.
327
328 2013-11-04 Tom Tromey <tromey@redhat.com>
329
330 * gdb.base/gcore-buffer-overflow.exp: Use
331 standard_output_file, not standard_testfile.
332 * gdb.base/twice.exp: Use standard_testfile, not
333 standard_output_file. Use gdb_remote_download.
334
335 2013-11-04 Tom Tromey <tromey@redhat.com>
336
337 * lib/gdb.exp (get_compiler_info): Use log_file -info and
338 restore from that.
339
340 2013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
341
342 * gdb.cp/derivation.exp: s/perrro/perror/
343
344 2013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
345
346 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
347 `debugdir'.
348
349 2013-10-31 Andrew Burgess <aburgess@broadcom.com>
350
351 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
352 tests and update expected error message.
353 (test_watch_register_location): New tests.
354 (do_tests): Call test_watch_register_location.
355 * gdb.base/watchpoints.exp: Update expected error message.
356
357 2013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
358
359 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
360 the patterns in gdb_test_multiple.
361
362 2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
363
364 * gdb.base/sym-file-lib.c: New file.
365 * gdb.base/sym-file-loader.c: New file.
366 * gdb.base/sym-file-loader.h: New file.
367 * gdb.base/sym-file-main.c: New file.
368 * gdb.base/sym-file.exp: New file.
369 * lib/gdb.exp (is_elf_target): New function.
370
371 2013-10-29 Pedro Alves <palves@redhat.com>
372
373 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
374 variable setting change-log-default-name to ChangeLog-mi.
375
376 2013-10-29 Andrew Burgess <aburgess@broadcom.com>
377
378 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
379 Expect <unavailable> pattern.
380
381 2013-10-28 Tom de Vries <tom@codesourcery.com>
382
383 * gdb.arch/thumb2-it.S (it_8): Fix typo.
384
385 2013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
386
387 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
388 remote stubs where exit() behaviour is unreliable.
389
390 2013-10-25 Pedro Alves <palves@redhat.com>
391
392 * gdb.cp/m-static.exp: Adjust expected output of printing a
393 nonexistent or optimized out static field. Also test printing the
394 the "container" object.
395
396 2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
397
398 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
399 if in the persistent mode.
400 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
401
402 2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
403
404 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
405 support core file generation" reply.
406
407 2013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
408
409 PR gdb/15986
410 * gdb.base/run.c (main): gdb_get_line_number tag added for
411 commands.exp.
412 (factorial): Likewise.
413
414 * gdb.base/commands.exp (watchpoint_command_test): Use
415 gdb_get_line_number in order to determine the locations in run.c
416 where local_var is detected to go out of scope.
417
418 2013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
419
420 * gdb.base/gnu_vector.exp: Care about endianness when casting
421 scalars to vectors.
422
423 2013-10-18 Tom Tromey <tromey@redhat.com>
424
425 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
426 of "binfile".
427
428 2013-10-18 Andrew Burgess <aburgess@broadcom.com>
429
430 * gdb.base/watchpoints.exp: Add test for setting software
431 watchpoints of different types before starting the inferior.
432
433 2013-10-18 Pedro Alves <palves@redhat.com>
434
435 PR gdb/16062
436 * gdb.threads/stepi-random-signal.c: New file.
437 * gdb.threads/stepi-random-signal.exp: New file.
438
439 2013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
440
441 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
442 Fix comment typo.
443 * lib/gdb.exp (gdb_init): Likewise.
444
445 2013-10-17 Tom Tromey <tromey@redhat.com>
446
447 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
448
449 2013-10-14 Tom Tromey <tromey@redhat.com>
450
451 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
452 name to gdb_test_no_output.
453
454 2013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
455
456 Canonicalize directories for EXEC_FILENAME.
457 * gdb.base/argv0-symlink.exp
458 (kept file symbolic link name for info inferiors): New.
459 (kept directory symbolic link name): Setup kfail.
460 (kept directory symbolic link name for info inferiors): New.
461
462 2013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
463
464 * gdb.arch/s390-multiarch.exp: New file.
465 * gdb.arch/s390-multiarch.c: New file.
466
467 2013-10-11 Joel Brobecker <brobecker@adacore.com>
468
469 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
470 use the appropriate GDB/MI command instead, and verify
471 the test output.
472
473 2013-10-11 Joel Brobecker <brobecker@adacore.com>
474
475 * gdb.base/source-nofile.gdb: New file.
476 * gdb.base/source.exp: Add two tests verifying the behavior when
477 the "source" command is given a non-existant filename.
478
479 2013-10-11 Yao Qi <yao@codesourcery.com>
480
481 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
482 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
483 and 'dlclose'.
484 [!__WIN32__]: Include "dlfcn.h".
485 * gdb.mi/mi-catch-load.exp: Set up kfail.
486
487 2013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
488
489 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
490 generated corefile" by argument "$test".
491
492 2013-10-09 Pedro Alves <palves@redhat.com>
493
494 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
495 output.
496
497 2013-10-09 Pedro Alves <palves@redhat.com>
498
499 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
500 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
501 (test_catch_syscall_with_wrong_args)
502 (test_catch_syscall_restarting_inferior)
503 (test_catch_syscall_fail_nodatadir)
504 (test_catch_syscall_without_args_noxml)
505 (test_catch_syscall_with_args_noxml)
506 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
507
508 2013-10-08 Tom Tromey <tromey@redhat.com>
509
510 * gdb.dwarf2/dwzbuildid.exp: New file.
511 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
512 parameters.
513 (Dwarf::_defer_output): Change "section" parameter to
514 "section_spec"; update.
515 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
516 procs.
517
518 2013-10-08 Joel Brobecker <brobecker@adacore.com>
519
520 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
521
522 2013-10-07 Tom Tromey <tromey@redhat.com>
523
524 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
525 to 0.
526
527 2013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
528
529 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
530 $_exitcode is void when opening a corefile.
531 * gdb.base/exitsignal.exp: New file.
532 * gdb.base/segv.c: Likewise.
533 * gdb.base/normal.c: Likewise.
534
535 2013-10-04 Joel Brobecker <brobecker@adacore.com>
536
537 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
538
539 2013-10-02 Vidya Praveen <vidyapraveen@arm.com>
540
541 * gdb.trace/entry-values.exp: Modify regular expression to scan for
542 'bl' instruction instead of 'call' for ARM and AArch64 targets.
543
544 2013-10-02 Pedro Alves <palves@redhat.com>
545
546 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
547 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
548 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
549 (not_saved_pattern): New.
550 Replace use of the former with the latter.
551
552 2013-10-02 Pedro Alves <palves@redhat.com>
553
554 * README (Board Settings): Document "exit_is_reliable".
555 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
556 running to exit reliably reports program exits.
557 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
558 info.
559 * boards/native-stdio-gdbserver.exp: Likewise.
560
561 2013-10-01 Doug Evans <dje@google.com>
562
563 * gdb.python/python.exp: Remove redundant print-stack tests.
564 Make all print-stack test names unique. Fix spelling of print-stack.
565
566 2013-09-29 Yao Qi <yao@codesourcery.com>
567
568 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
569 is remote.
570
571 2013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
572
573 PR shlibs/8882
574 * gdb.base/corefile.exp: Add a check to assure warning-free
575 core-file load.
576
577 2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
578
579 * gdb.dwarf2/dwp-symlink.c: New file.
580 * gdb.dwarf2/dwp-symlink.exp: New file.
581
582 2013-09-20 Doug Evans <dje@google.com>
583
584 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
585 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
586 file.
587 * gdb.dwarf2/fission-loclists.S: Ditto.
588 * gdb.dwarf2/fission-reread.S: Ditto.
589 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
590 build_executable_from_fission_assembler.
591 * gdb.dwarf2/fission-loclists.exp: Ditto.
592 * gdb.dwarf2/fission-reread.exp: Ditto.
593
594 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
595 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
596 (gdb_gnu_strip_debug): Ditto.
597 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
598 * gdb.arch/altivec-abi.exp: Ditto.
599 * gdb.base/attach-pie-misread.exp: Ditto.
600 * gdb.base/comprdebug.exp: Ditto.
601 * gdb.base/dup-sect.exp: Ditto.
602 * gdb.base/gnu-debugdata.exp: Ditto.
603 * gdb.base/step-symless.exp: Ditto.
604 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
605 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
606 * gdb.dwarf2/gdb-index.exp: Ditto.
607
608 2013-09-18 Andrew Burgess <aburgess@broadcom.com>
609
610 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
611 register to "<optimized out>", and also print the registers.
612
613 2013-09-18 Pedro Alves <palves@redhat.com>
614
615 PR server/15967
616 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
617 change text.
618
619 2013-09-18 Yao Qi <yao@codesourcery.com>
620
621 * gdb.server/wrapper.c: New.
622 * gdb.server/wrapper.exp: New.
623
624 2013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
625 Jan Kratochvil <jan.kartochvil@redhat.com>
626 Pedro Alves <palves@redhat.com>
627
628 PR gdb/11568
629 * gdb.thread/thread-specific-bp.c: New file.
630 * gdb.thread/thread-specific-bp.exp: New file.
631
632 2013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
633
634 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
635 convenience function.
636
637 2013-09-17 Pedro Alves <palves@redhat.com>
638
639 PR gdb/15911
640 * gdb.threads/info-threads-cur-sal-2.c: New file.
641 * gdb.threads/info-threads-cur-sal.c: New file.
642 * gdb.threads/info-threads-cur-sal.exp: New file.
643
644 2013-09-17 Yao Qi <yao@codesourcery.com>
645
646 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
647 [__WIN32__]: Include "windows.h" and define macro dlopen
648 and dlclose.
649 [!__WIN32__]: Include "dlfcn.h".
650 * gdb.base/catch-load.exp (one_catch_load_test): Match
651 directory separator.
652
653 2013-09-16 Doug Evans <dje@google.com>
654
655 * lib/gdb.exp (using_fission): New proc.
656 * gdb.base/info-macros.exp: Skip test if using Fission.
657
658 * gdb.base/break-interp.exp: Fix indentation.
659
660 2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
661
662 * gdb.base/gdbvars.c (foo_void): New function.
663 (foo_int): Likewise.
664 * gdb.base/gdbvars.exp (test_convenience_functions): New
665 function. Call it.
666
667 2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
668
669 * gdb.arch/s390-tdbregs.c: New file.
670 * gdb.arch/s390-tdbregs.exp: New file.
671
672 2013-09-12 Stan Shebs <stan@codesourcery.com>
673
674 * README: New file.
675
676 2013-09-12 Doug Evans <dje@google.com>
677
678 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
679 added code to print event.inferior.
680
681 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
682
683 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
684 debug part of the binary.
685
686 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
689 (addlink): Add comment.
690
691 2013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
692
693 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
694 canonical pathname.
695
696 2013-09-04 Doug Evans <dje@google.com>
697
698 * gdb.python/py-events.py (exit_handler): Verify we get the expected
699 event.
700 (continue_handler, new_objfile_handler): Ditto.
701 (test_events): Rename command to "test-events".
702 (test_newobj_events): Rename command to "test-objfile-events".
703 * gdb.python/py-events.exp: Update.
704 * gdb.python/py-evsignal.exp: Update.
705 * gdb.python/py-evthreads.exp: Update.
706
707 * gdb.base/enumval.c (ZERO): New enum value.
708 (main): Use it
709 * gdb.base/enumval.exp: Test ability to print ZERO.
710
711 2013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
712 Pedro Alves <palves@redhat.com>
713
714 * gdb.base/relocate.exp: Check that invalid options are
715 rejected.
716
717 2013-08-30 Andrew Burgess <aburgess@broadcom.com>
718
719 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
720 (my_static_symbol): Add comment.
721 (main): Reference my_bss_symbol.
722
723 2013-08-30 Phil Muldoon <pmuldoon@redhat.com>
724
725 * gdb.python/py-arch.exp: Tests for invalid architecture.
726
727 2013-08-29 Sterling Augustine <saugustine@google.com>
728
729 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
730 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
731 said conditional.
732
733 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
734
735 * gdb.python/py-arch.exp: Load gdb-python.exp.
736
737 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
738
739 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
740 itertools for imap attribute. Otherwise use map().
741 (ElidingIterator): Define wrapper function __next__.
742 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
743 use exec (open (read ())) instead.
744 * gdb.python/py-framefilter.exp: Ditto.
745 * gdb.python/py-arch.exp: Update print based test to Python 3.x
746 compliance.
747 * gdb.python/py-frame.exp: Ditto.
748 * gdb.python/py-type.exp: Ditto.
749
750 2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 PR gdb/15415
753 * gdb.base/argv0-symlink.c: New file.
754 * gdb.base/argv0-symlink.exp: New file.
755
756 2013-08-28 Tom Tromey <tromey@redhat.com>
757
758 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
759 when saving index.
760
761 2013-08-27 Yao Qi <yao@codesourcery.com>
762
763 * gdb.trace/entry-values.exp: Test unavailable entry value is
764 not shown when option '--skip-unavailable' is specified.
765 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
766 Add tests for new option '--skip-unavailable'.
767
768 2013-08-27 Yao Qi <yao@codesourcery.com>
769
770 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
771 remote_download if it is empty.
772
773 2013-08-26 Doug Evans <dje@google.com>
774
775 PR symtab/15885
776 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
777 (clean): rm -f *.gdb-index *.with-index.
778 * gdb.dwarf2/gdb-index.exp: New testcase.
779
780 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
781 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
782 run_on_host. All callers updated.
783
784 2013-08-24 Yao Qi <yao@codesourcery.com>
785
786 * gdb.trace/entry-values.c (end): New
787 (main): Call end.
788 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
789 tracepoint and collect data. Test entry value is unavailable.
790
791 2013-08-24 Yao Qi <yao@codesourcery.com>
792
793 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
794 * gdb.trace/entry-values.c: New.
795 * gdb.trace/entry-values.exp: New.
796
797 2013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
798
799 PR gdb/15501
800 * gdb.base/ena-dis-br.exp: Add test to verify
801 enable/disable commands work correctly with
802 multiple arguments that include multiple locations.
803
804 2013-08-22 Samuel Bronson <naesten@gmail.com>
805
806 ARM Linux support for `catch syscall'.
807 * gdb.base/catch-syscall.exp: Test this on ARM now.
808 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
809
810 2013-08-22 Tom Tromey <tromey@redhat.com>
811
812 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
813 default addr_size.
814 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
815
816 2013-08-22 Tom Tromey <tromey@redhat.com>
817
818 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
819 standard_temp_file.
820
821 2013-08-22 Tom Tromey <tromey@redhat.com>
822
823 * gdb.arch/amd64-byte.exp: Use standard_testfile,
824 clean_restart.
825 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
826 * gdb.arch/amd64-dword.exp: Use standard_testfile,
827 clean_restart.
828 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
829 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
830 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
831 * gdb.arch/amd64-word.exp: Use standard_testfile,
832 clean_restart.
833 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
834 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
835 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
836 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
837 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
838 * gdb.arch/i386-signal.exp: Use standard_testfile.
839 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
840 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
841 * gdb.arch/i386-unwind.exp: Use standard_testfile.
842 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
843
844 2013-08-22 Tom Tromey <tromey@redhat.com>
845
846 * gdb.python/py-error.exp: Use gdb_remote_download.
847 * gdb.python/py-mi.exp: Use gdb_remote_download.
848 * gdb.python/py-objfile-script.exp: Use standard_output_file.
849 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
850 (run_lang_tests): Likewise.
851 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
852 filename.
853 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
854 compiling. Use gdb_remote_download. Update some tests.
855 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
856 standard_output_file.
857 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
858 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
859 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
860 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
861 standard_output_file.
862
863 2013-08-22 Tom Tromey <tromey@redhat.com>
864
865 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
866
867 2013-08-22 Tom Tromey <tromey@redhat.com>
868
869 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
870 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
871 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
872 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
873 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
874 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
875 * lib/gdb.exp (gdb_remote_download): New proc.
876
877 2013-08-22 Tom Tromey <tromey@redhat.com>
878
879 * gdb.dwarf2/clztest.exp: Use standard_testfile.
880 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
881 * gdb.dwarf2/fission-base.S: Remove directory from
882 DW_AT_GNU_dwo_name.
883 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
884 debug-file-directory.
885 * gdb.dwarf2/fission-reread.S: Remove directory from
886 DW_AT_GNU_dwo_name.
887 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
888 debug-file-directory.
889
890 2013-08-16 Doug Evans <dje@google.com>
891
892 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
893 prelink complains about an unhandled DWARF version.
894
895 2013-08-14 Cary Coutant <ccoutant@google.com>
896
897 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
898
899 2013-08-13 Tom Tromey <tromey@redhat.com>
900 Yao Qi <yao@codesourcery.com>
901
902 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
903 * lib/gdb.exp: Handle GDB_PARALLEL.
904 (default_gdb_version): Kill inotify_pid if it exists.
905 (default_gdb_exit): Emit warning if the inotify log is not
906 empty.
907 (standard_output_file): Respect GDB_PARALLEL.
908 (standard_temp_file): Likewise.
909 (gdb_init): Start inotifywait if requested.
910
911 2013-08-13 Andrew Burgess <aburgess@broadcom.com>
912
913 * gdb.base/printcmds.exp (test_printf): Add test for printf of
914 pointer with various flags.
915
916 2013-08-13 Tom Tromey <tromey@redhat.com>
917
918 * lib/cache.exp: New file.
919 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
920 * lib/gdb.exp: Load cache.exp.
921 (support_complex_tests, is_ilp32_target, is_lp64_target)
922 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
923 (gdb_skip_xml_test): Use gdb_caching_proc.
924 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
925
926 2013-08-13 Tom Tromey <tromey@redhat.com>
927
928 * lib/gdb.exp (standard_temp_file): New proc.
929 (support_complex_tests, is_ilp32_target, is_lp64_target)
930 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
931 standard_temp_file.
932
933 2013-08-13 Tom Tromey <tromey@redhat.com>
934
935 * lib/gdb.exp (build_id_debug_filename_get): Use
936 standard_output_file.
937 * lib/prelink-support.exp (section_get)
938 (build_executable_own_libs): Use standard_output_file.
939
940 2013-08-12 Tom Tromey <tromey@redhat.com>
941
942 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
943
944 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
945
946 * gdb.base/break.exp: Test break via convenience variable
947 with file name.
948
949 2013-08-09 Doug Evans <dje@google.com>
950
951 * lib/future.exp (gdb_find_ldd): New proc.
952 * lib/prelink-support.exp (build_executable_own_libs): Call it.
953 Make "/usr/sbin/" in prelink path optional.
954
955 2013-08-09 Yao Qi <yao@codesourcery.com>
956
957 * gdb.trace/collection.exp (gdb_collect_args_test): Set
958 "only" and "both" to 'print entry-values' before selecting
959 trace frame.
960
961 2013-08-08 Yao Qi <yao@codesourcery.com>
962
963 * gdb.trace/mi-trace-unavailable.exp: Don't set
964 "print entry-values" to "no".
965 (test_trace_unavailable): Set various values to
966 "print entry-values" to test that the output of
967 '-stack-list-locals' is not affected, and then set
968 set "print entry-values" to "no".
969
970 2013-08-07 Doug Evans <dje@google.com>
971
972 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
973 * gdb.python/py-value-cc.exp: Update.
974 * gdb.python/py-value.exp: Use different names for .o files for
975 C and C++. Only perform C++ tests if !skip_cplus_tests.
976
977 2013-08-07 Tom Tromey <tromey@redhat.com>
978
979 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
980
981 2013-08-07 Tom Tromey <tromey@redhat.com>
982
983 * gdb.dwarf2/dwz.exp: New file.
984
985 2013-08-02 Tom Tromey <tromey@redhat.com>
986
987 * gdb.base/watchpoint.c (struct foo5): New.
988 (nullptr): New global.
989 * gdb.base/watchpoint.exp (test_watch_location): Add test.
990
991 2013-08-01 Doug Evans <dje@google.com>
992
993 PR symtab/15691
994 * gdb.dwarf2/fission-mix.exp: New file.
995 * gdb.dwarf2/fission-mix.h: New file.
996 * gdb.dwarf2/fission-mix.c: New file.
997 * gdb.dwarf2/fission-mix2.c: New file.
998
999 PR symtab/15695
1000 * gdb.base/func-ptr.exp: New file.
1001 * gdb.base/func-ptr.c: New file.
1002
1003 2013-08-01 Yao Qi <yao@codesourcery.com>
1004
1005 * gdb.python/py-sync-interp.c: New.
1006 * gdb.python/py-sync-interp.exp: New.
1007
1008 2013-07-31 Yao Qi <yao@codesourcery.com>
1009
1010 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
1011 'tdump' on stack frame 0 and 1 respectively.
1012
1013 2013-07-31 Yao Qi <yao@codesourcery.com>
1014
1015 PR gdb/13443
1016 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
1017 'traceframe'. Wrap test with with_test_prefix.
1018 (top level): Update.
1019
1020 2013-07-31 Yao Qi <yao@codesourcery.com>
1021
1022 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
1023 'gdb_start'.
1024 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
1025 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
1026
1027 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
1028
1029 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
1030 when printing an optimized out value. Expect an error when using
1031 an optimized out value in an expression.
1032
1033 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
1034
1035 * gdb.dwarf2/pieces-optimized-out.exp: New file.
1036 * gdb.dwarf2/pieces-optimized-out.c: New file.
1037 * gdb.dwarf2/pieces-optimized-out.S: New file.
1038
1039 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
1040
1041 PR gdb/15715
1042 * gdb.base/setshow.exp: Test that relative paths passed to
1043 'set history filename' are converted to absolute paths.
1044
1045 2013-07-26 Keith Seitz <keiths@redhat.com>
1046
1047 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
1048 of f77.
1049 Allow for compiler variations of integer types.
1050 Use mi_create_varobj.
1051 Use mi_list_varobj_children for the immediate children of `array'.
1052 Add "has_more" attribute for grandchildren test.
1053
1054 2013-07-26 Pedro Alves <palves@redhat.com>
1055
1056 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
1057 files.
1058
1059 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
1060
1061 * gdb.mi/mi-reg-undefined.exp: New file.
1062 * gdb.mi/mi-reg-undefined.c: Likewise.
1063 * gdb.mi/mi-reg-undefined.S: Likewise.
1064
1065 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
1066
1067 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
1068 z, o, and t output formats.
1069 * gdb.base/display.exp: Use 'k' as an undefined format now that
1070 'z' is defined.
1071
1072 2013-07-24 Doug Evans <dje@google.com>
1073
1074 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
1075 "--" to switch.
1076
1077 2013-07-24 Yao Qi <yao@codesourcery.com>
1078
1079 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
1080 host.
1081 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
1082 Likewise. If host is remote, copy ${binfile} to host.
1083
1084 2013-07-23 Yao Qi <yao@codesourcery.com>
1085
1086 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
1087 message.
1088
1089 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1090
1091 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
1092 instructions and enable disp-step-syscall for arm targets.
1093
1094 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1095
1096 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
1097 assembler errors on arm.
1098 * gdb.dwarf2/mac-fileno.S: Likewise.
1099 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
1100 * gdb.dwarf2/pr13961.S: Likewise.
1101
1102 2013-07-19 Hui Zhu <hui@codesourcery.com>
1103
1104 PR gdb/15692
1105 * gdb.mi/mi-dprintf.exp: Add double quotes test.
1106
1107 2013-07-19 Yao Qi <yao@codesourcery.com>
1108
1109 * gdb.trace/read-memory.exp (test_from_remote): Update test.
1110 (teset_from_exec): Likewise.
1111
1112 2013-07-19 Yao Qi <yao@codesourcery.com>
1113
1114 * gdb.trace/read-memory.c: New.
1115 * gdb.trace/read-memory.exp: New.
1116
1117 2013-07-19 Yao Qi <yao@codesourcery.com>
1118
1119 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
1120 $dest to link options if host is remote. Move the
1121 generated file to $dest.a on host if host is remote.
1122
1123 2013-07-18 Will Newton <will.newton@linaro.org>
1124
1125 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
1126 to ensure the test is linked against pthreads.
1127 * gdb.threads/tls-var-main.c: Likewise.
1128 * gdb.threads/tls-shared.c: Likewise.
1129
1130 2013-07-18 Yao Qi <yao@codesourcery.com>
1131
1132 * lib/future.exp (gdb_default_target_compile): Use tail name
1133 of $destfile as the output name of compile. Move the
1134 generated file to $destfile on build.
1135
1136 2013-07-18 Yao Qi <yao@codesourcery.com>
1137
1138 * lib/gdb.exp (gdb_compile): Set
1139 gdb_saved_set_unbuffered_mode_obj to
1140 set_unbuffered_mode_saved.o if host is remote. Invoke
1141 remote_download to copy $unbuf_obj to host.
1142
1143 2013-07-17 Doug Evans <dje@google.com>
1144
1145 * gdb.python/py-frame-args.c: New file.
1146 * gdb.python/py-frame-args.py: New file.
1147 * gdb.python/py-frame-args.exp New file.
1148
1149 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
1150
1151 * gdb.base/printcmds.exp (test_printf): Add tests for format
1152 strings with missing format specifier.
1153
1154 2013-07-16 Tom Tromey <tromey@redhat.com>
1155
1156 * gdb.ada/info_types.exp: Use standard_testfile.
1157
1158 2013-07-16 Tom Tromey <tromey@redhat.com>
1159
1160 * gdb.mi/mi-basics.exp: Use standard_output_file.
1161 (test_dir_specification, test_cwd_specification)
1162 (test_path_specification): Use testsubdir, not subdir and objdir.
1163
1164 2013-07-16 Tom Tromey <tromey@redhat.com>
1165
1166 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
1167
1168 2013-07-09 Joel Brobecker <brobecker@adacore.com>
1169
1170 * gdb.ada/small_reg_param.exp: Accept optional entry value
1171 for parameter "w".
1172
1173 2013-07-09 Joel Brobecker <brobecker@adacore.com>
1174
1175 * gdb.ada/small_reg_param.exp: Remove trailing space.
1176
1177 2013-07-09 Doug Evans <dje@google.com>
1178
1179 * gdb.base/default.exp: Update expected output of "show print array"
1180 and "show print pretty".
1181
1182 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1183
1184 * gdb.threads/wp-replication.exp: Stop counting available hardware
1185 watchpoints after NR_THREADS iterations.
1186
1187 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
1188
1189 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
1190
1191 2013-07-07 Yao Qi <yao@codesourcery.com>
1192
1193 * boards/native-gdbserver.exp: Move invoke of
1194 process_multilib_options to gdbserver-base.exp.
1195 Move set_board_info 'compiler', 'gdb,noinferiorio',
1196 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
1197 gdbserver-base.exp.
1198 Move proc ${board}_download, ${board}_upload and
1199 ${board}_file to gdbserver-base.exp.
1200 * boards/native-extended-gdbserver.exp: Likewise.
1201 * boards/native-stdio-gdbserver.exp: Likewise.
1202 * boards/gdbserver-base.exp: New file.
1203
1204 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
1205
1206 * gdb.base/dump.exp: Remove arch-specific tests and do a
1207 generic data address check to set is64bitonly correctly.
1208
1209 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
1210
1211 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
1212 the register number instead of expecting only 0.
1213
1214 2013-07-05 Will Newton <will.newton@linaro.org>
1215
1216 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
1217 in asm syntax to allow building on ARM.
1218
1219 2013-07-05 Yao Qi <yao@codesourcery.com>
1220
1221 * boards/local-remote-host.exp: Remove obsolete comments.
1222 * boards/native-extended-gdbserver.exp: Likewise.
1223 * boards/native-gdbserver.exp: Likewise.
1224 * boards/native-stdio-gdbserver.exp: Likewise.
1225
1226 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
1227
1228 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
1229 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
1230 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
1231
1232 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1233
1234 * gdb.base/break-on-linker-gcd-function.exp: Replace
1235 prepare_for_testing by build_executable_from_specs and clean_restart.
1236
1237 2013-06-27 Tom Tromey <tromey@redhat.com>
1238
1239 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
1240 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
1241 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
1242 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
1243 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
1244 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
1245 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
1246 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
1247 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
1248 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
1249 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
1250 Use standard_testfile, standard_output_file, prepare_for_testing,
1251 clean_restart.
1252
1253 2013-06-27 Tom Tromey <tromey@redhat.com>
1254
1255 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
1256 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
1257 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
1258 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1259 gdb.base/shreloc.exp, gdb.base/sigall.exp,
1260 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
1261 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
1262 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
1263 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
1264 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
1265 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
1266 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
1267 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
1268 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
1269 gdb.base/solib-weak.exp, gdb.base/source.exp,
1270 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
1271 gdb.base/stap-probe.exp, gdb.base/start.exp,
1272 gdb.base/step-break.exp, gdb.base/step-bt.exp,
1273 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
1274 gdb.base/step-test.exp, gdb.base/structs.exp,
1275 gdb.base/structs2.exp, gdb.base/structs3.exp,
1276 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
1277 standard_output_file, prepare_for_testing, clean_restart.
1278
1279 2013-06-27 Tom Tromey <tromey@redhat.com>
1280
1281 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
1282 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
1283 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
1284 gdb.base/pending.exp, gdb.base/permissions.exp,
1285 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
1286 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
1287 gdb.base/printcmds.exp, gdb.base/prologue.exp,
1288 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
1289 gdb.base/ptype.exp, gdb.base/randomize.exp,
1290 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
1291 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
1292 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
1293 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
1294 standard_testfile, standard_output_file, prepare_for_testing,
1295 clean_restart.
1296
1297 2013-06-27 Tom Tromey <tromey@redhat.com>
1298
1299 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
1300 gdb.base/huge.exp, gdb.base/included.exp,
1301 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
1302 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
1303 gdb.base/info-os.exp, gdb.base/info-proc.exp,
1304 gdb.base/info-target.exp, gdb.base/infoline.exp,
1305 gdb.base/interp.exp, gdb.base/interrupt.exp,
1306 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
1307 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
1308 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
1309 gdb.base/logical.exp, gdb.base/long_long.exp,
1310 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
1311 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
1312 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
1313 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
1314 standard_testfile, standard_output_file, prepare_for_testing,
1315 clean_restart.
1316
1317 2013-06-27 Tom Tromey <tromey@redhat.com>
1318
1319 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
1320 gdb.base/enumval.exp, gdb.base/environ.exp,
1321 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
1322 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
1323 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
1324 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
1325 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
1326 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
1327 gdb.base/fullname.exp, gdb.base/funcargs.exp,
1328 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
1329 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
1330 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
1331 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
1332 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
1333 gdb.base/gnu_vector.exp: Use standard_testfile,
1334 standard_output_file, prepare_for_testing, clean_restart.
1335
1336 2013-06-27 Tom Tromey <tromey@redhat.com>
1337
1338 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
1339 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
1340 gdb.base/call-strs.exp, gdb.base/callexit.exp,
1341 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
1342 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
1343 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
1344 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
1345 gdb.base/commands.exp, gdb.base/completion.exp,
1346 gdb.base/complex.exp, gdb.base/cond-expr.exp,
1347 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
1348 gdb.base/constvars.exp, gdb.base/corefile.exp,
1349 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
1350 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1351 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
1352 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
1353 gdb.base/dup-sect.exp: Use standard_testfile,
1354 standard_output_file, prepare_for_testing, clean_restart.
1355
1356 2013-06-27 Tom Tromey <tromey@redhat.com>
1357
1358 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
1359 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
1360 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
1361 gdb.base/async-shell.exp, gdb.base/async.exp,
1362 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
1363 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
1364 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
1365 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
1366 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
1367 gdb.base/break-on-linker-gcd-function.exp,
1368 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
1369 standard_output_file, prepare_for_testing, clean_restart.
1370
1371 2013-06-26 Yao Qi <yao@codesourcery.com>
1372
1373 * gdb.trace/mi-trace-frame-collected.exp: New.
1374
1375 2013-06-25 Yao Qi <yao@codesourcery.com>
1376
1377 * boards/native-extended-gdbserver.exp: Set board_info
1378 'gdb,predefined_tsv'.
1379 * boards/native-gdbserver.exp: Likewise.
1380 * boards/native-stdio-gdbserver.exp: Likewise.
1381 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
1382 uploaded TSVs if target supports tracing.
1383 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
1384 tracing and target has predefined tsv.
1385
1386 2013-06-25 Yao Qi <yao@codesourcery.com>
1387 Hui Zhu <hui@codesourcery.com>
1388 Pedro Alves <palves@redhat.com>
1389
1390 PR breakpoints/15075
1391 PR breakpoints/15434
1392 * gdb.base/dprintf-next.c: New file.
1393 * gdb.base/dprintf-next.exp: New file.
1394 * gdb.base/dprintf-non-stop.c: New file.
1395 * gdb.base/dprintf-non-stop.exp: New file.
1396 * gdb.base/dprintf.exp: Don't check "continue" in the output
1397 of "info breakpoints".
1398 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1399 Don't check "continue" in script field.
1400
1401 2013-06-21 Tom Tromey <tromey@redhat.com>
1402
1403 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
1404 name in a test name.
1405
1406 2013-06-20 Yao Qi <yao@codesourcery.com>
1407
1408 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
1409 and set an action.
1410 (test_trace_unavailable): Test command -data-list-register-values
1411 in the context of traceframe and with option --skip-unavailable.
1412 * gdb.trace/trace-unavailable.c (foo): New.
1413 (main): Call it.
1414 * gdb.mi/gdb2549.exp: Update matching pattern.
1415
1416 2013-06-19 Mike Frysinger <vapier@gentoo.org>
1417
1418 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
1419 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
1420 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
1421 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
1422 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
1423
1424 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
1425
1426 * gdb.base/subst.exp: Delete default rules before further
1427 tests.
1428
1429 2013-06-19 Yao Qi <yao@codesourcery.com>
1430
1431 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
1432 unsupported if it is not registered.
1433
1434 2013-06-18 Tom Tromey <tromey@redhat.com>
1435
1436 * gdb.base/random-signal.c: New file.
1437 * gdb.base/random-signal.exp: New file.
1438
1439 2013-06-18 Will Newton <will.newton@linaro.org>
1440
1441 * gdb.base/skip.c: Use comma to evaluate results of foo()
1442 and bar() before passing to baz().
1443 * gdb.base/skip.c: baz() now takes one argument instead of
1444 two.
1445
1446 2013-06-18 Tom Tromey <tromey@redhat.com>
1447
1448 * gdb.dwarf2/implptrpiece.exp: New file.
1449 * gdb.dwarf2/implptrconst.exp (d): New variable.
1450 Print d.
1451 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
1452
1453 2013-06-18 Tom Tromey <tromey@redhat.com>
1454
1455 * lib/selftest-support.exp (do_self_tests): Reject remote or
1456 non-native targets.
1457 * gdb.gdb/complaints.exp: Remove check.
1458 * gdb.gdb/observer.exp: Remove check.
1459 * gdb.gdb/xfullpath.exp: Remove check.
1460 * gdb.gdb/complaints.exp: Remove check.
1461
1462 2013-06-07 Pedro Alves <palves@redhat.com>
1463
1464 * boards/native-extended-gdbserver.exp: Remove semicolon.
1465 * config/arm-ice.exp: Likewise.
1466 * config/bfin.exp: Likewise.
1467 * config/cygmon.exp: Likewise.
1468 * config/h8300.exp: Likewise.
1469 * config/monitor.exp: Likewise.
1470 * config/sid.exp: Likewise.
1471 * config/sim.exp: Likewise.
1472 * config/slite.exp: Likewise.
1473 * config/vx.exp: Likewise.
1474 * gdb.arch/i386-bp_permanent.exp: Likewise.
1475 * gdb.asm/asm-source.exp: Likewise.
1476 * gdb.base/args.exp: Likewise.
1477 * gdb.base/attach-pie-misread.exp: Likewise.
1478 * gdb.base/auxv.exp: Likewise.
1479 * gdb.base/bigcore.exp: Likewise.
1480 * gdb.base/bitfields2.exp: Likewise.
1481 * gdb.base/bitfields.exp: Likewise.
1482 * gdb.base/break.exp: Likewise.
1483 * gdb.base/break-interp.exp: Likewise.
1484 * gdb.base/callfuncs.exp: Likewise.
1485 * gdb.base/call-sc.exp: Likewise.
1486 * gdb.base/commands.exp: Likewise.
1487 * gdb.base/corefile.exp: Likewise.
1488 * gdb.base/dbx.exp: Likewise.
1489 * gdb.base/ending-run.exp: Likewise.
1490 * gdb.base/exprs.exp: Likewise.
1491 * gdb.base/funcargs.exp: Likewise.
1492 * gdb.base/hbreak2.exp: Likewise.
1493 * gdb.base/huge.exp: Likewise.
1494 * gdb.base/list.exp: Likewise.
1495 * gdb.base/memattr.exp: Likewise.
1496 * gdb.base/overlays.exp: Likewise.
1497 * gdb.base/printcmds.exp: Likewise.
1498 * gdb.base/recurse.exp: Likewise.
1499 * gdb.base/remotetimeout.exp: Likewise.
1500 * gdb.base/reread.exp: Likewise.
1501 * gdb.base/savedregs.exp: Likewise.
1502 * gdb.base/scope.exp: Likewise.
1503 * gdb.base/sepdebug.exp: Likewise.
1504 * gdb.base/setshow.exp: Likewise.
1505 * gdb.base/setvar.exp: Likewise.
1506 * gdb.base/sigaltstack.exp: Likewise.
1507 * gdb.base/siginfo-addr.exp: Likewise.
1508 * gdb.base/siginfo.exp: Likewise.
1509 * gdb.base/siginfo-obj.exp: Likewise.
1510 * gdb.base/sigrepeat.exp: Likewise.
1511 * gdb.base/sigstep.exp: Likewise.
1512 * gdb.base/structs.exp: Likewise.
1513 * gdb.base/testenv.exp: Likewise.
1514 * gdb.base/twice.exp: Likewise.
1515 * gdb.base/valgrind-db-attach.exp: Likewise.
1516 * gdb.base/valgrind-infcall.exp: Likewise.
1517 * gdb.base/varargs.exp: Likewise.
1518 * gdb.base/watchpoint.exp: Likewise.
1519 * gdb.cp/gdb1355.exp: Likewise.
1520 * gdb.cp/misc.exp: Likewise.
1521 * gdb.disasm/hppa.exp: Likewise.
1522 * gdb.disasm/t01_mov.exp: Likewise.
1523 * gdb.disasm/t02_mova.exp: Likewise.
1524 * gdb.disasm/t03_add.exp: Likewise.
1525 * gdb.disasm/t04_sub.exp: Likewise.
1526 * gdb.disasm/t05_cmp.exp: Likewise.
1527 * gdb.disasm/t06_ari2.exp: Likewise.
1528 * gdb.disasm/t07_ari3.exp: Likewise.
1529 * gdb.disasm/t08_or.exp: Likewise.
1530 * gdb.disasm/t09_xor.exp: Likewise.
1531 * gdb.disasm/t10_and.exp: Likewise.
1532 * gdb.disasm/t11_logs.exp: Likewise.
1533 * gdb.disasm/t12_bit.exp: Likewise.
1534 * gdb.disasm/t13_otr.exp: Likewise.
1535 * gdb.gdb/selftest.exp: Likewise.
1536 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1537 * gdb.mi/mi-reverse.exp: Likewise.
1538 * gdb.pascal/floats.exp: Likewise.
1539 * gdb.python/py-inferior.exp: Likewise.
1540 * gdb.threads/attach-into-signal.exp: Likewise.
1541 * gdb.threads/pthreads.exp: Likewise.
1542 * gdb.threads/thread_events.exp: Likewise.
1543 * gdb.threads/watchthreads.exp: Likewise.
1544 * gdb.trace/actions-changed.exp: Likewise.
1545 * gdb.trace/actions.exp: Likewise.
1546 * gdb.trace/ax.exp: Likewise.
1547 * gdb.trace/backtrace.exp: Likewise.
1548 * gdb.trace/change-loc.exp: Likewise.
1549 * gdb.trace/deltrace.exp: Likewise.
1550 * gdb.trace/disconnected-tracing.exp: Likewise.
1551 * gdb.trace/ftrace.exp: Likewise.
1552 * gdb.trace/infotrace.exp: Likewise.
1553 * gdb.trace/passc-dyn.exp: Likewise.
1554 * gdb.trace/passcount.exp: Likewise.
1555 * gdb.trace/pending.exp: Likewise.
1556 * gdb.trace/qtro.exp: Likewise.
1557 * gdb.trace/range-stepping.exp: Likewise.
1558 * gdb.trace/report.exp: Likewise.
1559 * gdb.trace/save-trace.exp: Likewise.
1560 * gdb.trace/status-stop.exp: Likewise.
1561 * gdb.trace/strace.exp: Likewise.
1562 * gdb.trace/tfile.exp: Likewise.
1563 * gdb.trace/tfind.exp: Likewise.
1564 * gdb.trace/trace-break.exp: Likewise.
1565 * gdb.trace/tracecmd.exp: Likewise.
1566 * gdb.trace/trace-mt.exp: Likewise.
1567 * gdb.trace/tspeed.exp: Likewise.
1568 * gdb.trace/tsv.exp: Likewise.
1569 * gdb.trace/while-stepping.exp: Likewise.
1570 * lib/gdb.exp: Likewise.
1571 * lib/gdbserver-support.exp: Likewise.
1572 * lib/java.exp: Likewise.
1573 * lib/mi-support.exp: Likewise.
1574 * lib/pascal.exp: Likewise.
1575 * lib/prompt.exp: Likewise.
1576 * lib/trace-support.exp: Likewise.
1577
1578 2013-06-07 Pedro Alves <palves@redhat.com>
1579
1580 * gdb.ada/info_types.c: Fix formating in copyright header.
1581 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1582 * gdb.base/float.c: Likewise.
1583 * gdb.base/inferior-died.c: Likewise.
1584 * gdb.base/interp.c: Likewise.
1585 * gdb.base/jit-main.c: Likewise.
1586 * gdb.base/jit-solib.c: Likewise.
1587 * gdb.base/long_long.c: Likewise.
1588 * gdb.base/longjmp.c: Likewise.
1589 * gdb.base/nextoverexit.c: Likewise.
1590 * gdb.base/pr11022.c: Likewise.
1591 * gdb.base/prelink-lib.c: Likewise.
1592 * gdb.base/prelink.c: Likewise.
1593 * gdb.base/prologue.c: Likewise.
1594 * gdb.base/restore.c: Likewise.
1595 * gdb.base/sigchld.c: Likewise.
1596 * gdb.base/solib-search-lib1.c: Likewise.
1597 * gdb.base/solib-search-lib2.c: Likewise.
1598 * gdb.base/solib-search.c: Likewise.
1599 * gdb.base/solib-search.h: Likewise.
1600 * gdb.base/whatis.c: Likewise.
1601 * gdb.cp/abstract-origin.cc: Likewise.
1602 * gdb.cp/anon-struct.cc: Likewise.
1603 * gdb.cp/baseenum.cc: Likewise.
1604 * gdb.cp/bs15503.cc: Likewise.
1605 * gdb.cp/call-c-1.c: Likewise.
1606 * gdb.cp/call-c.cc: Likewise.
1607 * gdb.cp/class2.cc: Likewise.
1608 * gdb.cp/classes.cc: Likewise.
1609 * gdb.cp/cttiadd.cc: Likewise.
1610 * gdb.cp/cttiadd1.cc: Likewise.
1611 * gdb.cp/cttiadd2.cc: Likewise.
1612 * gdb.cp/cttiadd3.cc: Likewise.
1613 * gdb.cp/derivation.cc: Likewise.
1614 * gdb.cp/derivation2.cc: Likewise.
1615 * gdb.cp/dispcxx.cc: Likewise.
1616 * gdb.cp/exception.cc: Likewise.
1617 * gdb.cp/gdb2384-base.cc: Likewise.
1618 * gdb.cp/gdb2384-base.h: Likewise.
1619 * gdb.cp/gdb2384.cc: Likewise.
1620 * gdb.cp/gdb2495.cc: Likewise.
1621 * gdb.cp/mb-inline.h: Likewise.
1622 * gdb.cp/mb-inline1.cc: Likewise.
1623 * gdb.cp/mb-inline2.cc: Likewise.
1624 * gdb.cp/member-name.cc: Likewise.
1625 * gdb.cp/member-ptr.cc: Likewise.
1626 * gdb.cp/misc.cc: Likewise.
1627 * gdb.cp/namespace1.cc: Likewise.
1628 * gdb.cp/nextoverthrow.cc: Likewise.
1629 * gdb.cp/pr-574.cc: Likewise.
1630 * gdb.cp/pr9631.cc: Likewise.
1631 * gdb.cp/printmethod.cc: Likewise.
1632 * gdb.cp/psmang1.cc: Likewise.
1633 * gdb.cp/psmang2.cc: Likewise.
1634 * gdb.cp/psymtab-parameter.cc: Likewise.
1635 * gdb.cp/ptype-flags.cc: Likewise.
1636 * gdb.cp/ref-params.cc: Likewise.
1637 * gdb.cp/ref-types.cc: Likewise.
1638 * gdb.cp/smartp.cc: Likewise.
1639 * gdb.cp/try_catch.cc: Likewise.
1640 * gdb.cp/userdef.cc: Likewise.
1641 * gdb.cp/using-crash.cc: Likewise.
1642 * gdb.cp/virtfunc.cc: Likewise.
1643 * gdb.cp/virtfunc2.cc: Likewise.
1644 * gdb.dwarf2/callframecfa.S: Likewise.
1645 * gdb.dwarf2/dw2-ranges.c: Likewise.
1646 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1647 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1648 * gdb.dwarf2/dw2-restore.S: Likewise.
1649 * gdb.dwarf2/pieces.S: Likewise.
1650 * gdb.dwarf2/valop.S: Likewise.
1651 * gdb.java/jnpe.java: Likewise.
1652 * gdb.mi/mi-stepn.c: Likewise.
1653 * gdb.mi/mi-var-cp.cc: Likewise.
1654 * gdb.mi/mi-var-rtti.cc: Likewise.
1655 * gdb.mi/ns-stale-regcache.c: Likewise.
1656 * gdb.mi/pr11022.c: Likewise.
1657 * gdb.mi/solib-lib.c: Likewise.
1658 * gdb.mi/solib-main.c: Likewise.
1659 * gdb.python/py-arch.c: Likewise.
1660 * gdb.python/py-block.c: Likewise.
1661 * gdb.python/py-breakpoint.c: Likewise.
1662 * gdb.python/py-events.c: Likewise.
1663 * gdb.python/py-evthreads.c: Likewise.
1664 * gdb.python/py-explore.c: Likewise.
1665 * gdb.python/py-explore.cc: Likewise.
1666 * gdb.python/py-finish-breakpoint.c: Likewise.
1667 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1668 * gdb.python/py-symbol.c: Likewise.
1669 * gdb.threads/execl.c: Likewise.
1670 * gdb.threads/execl1.c: Likewise.
1671
1672 2013-06-07 Will Newton <will.newton@linaro.org>
1673
1674 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1675
1676 2013-06-07 Will Newton <will.newton@linaro.org>
1677
1678 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1679 and "starting".
1680
1681 2013-06-07 Will Newton <will.newton@linaro.org>
1682
1683 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1684 destructor prototypes for ARM ABI.
1685 * gdb.cp/m-static.exp: Likewise.
1686
1687 2013-06-07 Yao Qi <yao@codesourcery.com>
1688
1689 * gdb.trace/mi-trace-unavailable.exp: New.
1690 * gdb.trace/trace-unavailable.c: New.
1691
1692 2013-06-06 Doug Evans <dje@google.com>
1693
1694 * gdb.cp/derivation.exp: Make tests have unique names.
1695
1696 2013-06-06 Tom Tromey <tromey@redhat.com>
1697
1698 * gdb.base/dump.exp (capture_value): Don't put expression into
1699 test name if arguments passed in.
1700 Rename a couple more tests to make them unique.
1701
1702 2013-06-06 Tom Tromey <tromey@redhat.com>
1703
1704 * gdb.base/break-always.exp: Explicitly specify test name.
1705
1706 2013-06-05 Doug Evans <dje@google.com>
1707 Keith Seitz <keiths@redhat.com>
1708
1709 * gdb.cp/derivation2.cc: New file.
1710 * gdb.cp/derivation.cc (main): Call foo2.
1711 * gdb.cp/derivation.exp: Add tests for typedefs in another
1712 file, and when there's an active block.
1713
1714 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
1715
1716 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1717 from targets that use function descriptors in the virtual tables.
1718 Handle presence of dot symbols.
1719
1720 2013-06-04 Gary Benson <gbenson@redhat.com>
1721
1722 * gdb.base/break-probes.exp: New file.
1723 * gdb.base/break-probes.c: Likewise.
1724 * gdb.base/break-probes-solib.c: Likewise.
1725 * gdb.base/info-shared.exp: New file.
1726 * gdb.base/info-shared.c: Likewise.
1727 * gdb.base/info-shared-solib1.c: Likewise.
1728 * gdb.base/info-shared-solib2.c: Likewise.
1729
1730 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1731 Gary Benson <gbenson@redhat.com>
1732
1733 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1734 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1735 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1736 to be set to "no" to indicate that no ld.so copy should be made.
1737 * gdb.base/break-interp.exp (solib_bp): New constant.
1738 (reach_1): Use the above instead of "_dl_debug_state".
1739 (test_attach): Likewise.
1740 (test_ld): Likewise.
1741 * gdb.threads/dlopen-libpthread.exp: New file.
1742 * gdb.threads/dlopen-libpthread.c: Likewise.
1743 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1744 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1745
1746 2013-05-30 Yao Qi <yao@codesourcery.com>
1747
1748 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1749 Add a test that no MI notification is emitted when executing
1750 -exec-arguments.
1751
1752 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1753
1754 PR testsuite/12649
1755 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1756 $mi_gdb_prompt expectation by mi_expect_stop.
1757 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1758 (mi info dprintf second time): Replace them by mi_send_resuming_command
1759 and mi_expect_stop.
1760
1761 2013-05-24 Gary Benson <gbenson@redhat.com>
1762
1763 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1764 backslash.
1765 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1766 backslashes.
1767 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1768 backslash.
1769
1770 2013-05-24 Yao Qi <yao@codesourcery.com>
1771
1772 * gdb.trace/tfile.exp: Test inferior and thread.
1773
1774 2013-05-24 Yao Qi <yao@codesourcery.com>
1775 Pedro Alves <palves@redhat.com>
1776
1777 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1778 test fails.
1779 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1780 Return 0 if the test passes, otherwise return 1.
1781
1782 2013-05-23 Doug Evans <dje@google.com>
1783
1784 * boards/fission-dwp.exp: New file.
1785
1786 2013-05-23 Yao Qi <yao@codesourcery.com>
1787 Pedro Alves <palves@redhat.com>
1788
1789 * gdb.base/range-stepping.c: New file.
1790 * gdb.base/range-stepping.exp: New file.
1791 * gdb.trace/range-stepping.c: New file.
1792 * gdb.trace/range-stepping.exp: New file.
1793 * lib/range-stepping-support.exp: New file.
1794
1795 2013-05-22 Tom Tromey <tromey@redhat.com>
1796
1797 * gdb.cp/class2.cc (main): New local 'aref'.
1798 * gdb.cp/class2.exp: Check printing of 'aref'.
1799
1800 2013-05-22 Doug Evans <dje@google.com>
1801
1802 * gdb.threads/wp-replication.c (main): Insert some code at the start
1803 to ensure the breakpoint on main is only hit once. Fix comment.
1804
1805 2013-05-21 Keith Seitz <keiths@redhat.com>
1806 Pedro Alves <palves@redhat.com>
1807
1808 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1809 gdb_expect.
1810 Add test to flush the remaining input buffer so that this
1811 file passes testsuite/12649.
1812
1813 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1814
1815 * gdb.base/catch-signal-fork.exp: New file.
1816 * gdb.base/catch-signal-fork.c: New file.
1817
1818 2013-05-21 Sterling Augustine <saugustine@google.com>
1819
1820 * boards/remote-stdio-gdbserver.exp: New file.
1821
1822 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1823
1824 PR testsuite/12649
1825 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1826 racy matches.
1827
1828 2013-05-21 Christian Groessler <chris@groessler.org>
1829
1830 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1831 since it's not supported in all shells.
1832
1833 2013-05-21 Hui Zhu <hui@codesourcery.com>
1834
1835 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1836 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1837
1838 2013-05-20 Doug Evans <dje@google.com>
1839
1840 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1841 (_handle_DW_TAG): Use it.
1842 (cu, tu): Replace parameters is_64, version, addr_size with options.
1843 All callers updated. Add Fission support.
1844 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1845 * gdb.dwarf2/method-ptr.exp: Ditto.
1846 * gdb.dwarf2/nostaticblock.exp: Ditto.
1847 * gdb.dwarf2/subrange.exp: Ditto.
1848 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1849
1850 2013-05-20 Tom Tromey <tromey@redhat.com>
1851
1852 * gdb.gdb/python-selftest.exp: New file.
1853
1854 2013-05-20 Doug Evans <dje@google.com>
1855
1856 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1857 -fdebug-types-section.
1858
1859 2013-05-20 Joel Brobecker <brobecker@adacore.com>
1860
1861 * gdb.ada/float_param: New testcase.
1862
1863 2013-05-17 Doug Evans <dje@google.com>
1864
1865 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1866 Add tests for "maint check-symtabs", "maint expand-symtabs".
1867
1868 * gdb.base/maint.exp: Remove testing of individual maint command
1869 help output.
1870
1871 2013-05-16 Pedro Alves <palves@redhat.com>
1872
1873 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1874 comment. Use gdb_test_no_output.
1875
1876 2013-05-16 Joel Brobecker <brobecker@adacore.com>
1877
1878 * gdb.ada/complete.exp: Add test verifying completion using
1879 the "tab" key.
1880
1881 2013-05-15 Keith Seitz <keiths@redhat.com>
1882
1883 * gdb.base/filesym.exp: New completer test.
1884 * gdb.base/filesym.c: New file.
1885
1886 2013-05-15 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.base/fixsection.c: Remove attribution.
1889 * gdb.base/watch-read.exp: Ditto.
1890
1891 2013-05-13 Tom Tromey <tromey@redhat.com>
1892
1893 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1894 size and change type sizes to 4 bytes.
1895
1896 2013-05-13 Tom Tromey <tromey@redhat.com>
1897
1898 * gdb.base/exprs.exp (test_expr): Add regression test.
1899 * gdb.base/exprs.c (null_t_struct): New global.
1900
1901 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1902
1903 * gdb.base/default.exp: Disable history saving.
1904 * gdb.base/setshow.exp: Likewise.
1905
1906 2013-05-10 Pedro Alves <palves@redhat.com>
1907
1908 PR remote/15455
1909
1910 * gdb.trace/qtro.c: New file.
1911 * gdb.trace/qtro.exp: New file.
1912
1913 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1914
1915 * gdb.python/py-framefilter.py: New File.
1916 * gdb.python/py-framefilter-mi.exp: Ditto.
1917 * gdb.python/py-framefilter.c: Ditto.
1918 * gdb.python/py-framefilter-mi.exp: Ditto.
1919 * gdb.python/py-framefilter-mi.c: Ditto,
1920 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1921
1922 2013-05-08 Tom Tromey <tromey@redhat.com>
1923
1924 * gdb.base/solib-search.exp: Set test name for "set
1925 solib-search-path" test.
1926
1927 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1928
1929 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1930 (set_a_tracepoint): Set tracepoint before prologue.
1931 (run_trace_experiment): Test setup_tracepoints and 'break end'
1932 in it.
1933 (trace_buffer_normal): Remove.
1934 (gdb_trace_circular_tests): Remove. Move tests to...
1935 (top level): ...here. Call 'runto_main' before checking for
1936 trace support. Use commands to check the support for circular
1937 trace buffer and changing of trace buffer size. Add test
1938 to calculate size of single frame. Use this size to
1939 calculate the size of trace buffer. Use 'tfind pc func9'
1940 instead of 'tfind 9'. Use 'with_test_prefix'.
1941
1942 2013-05-07 Tom Tromey <tromey@redhat.com>
1943
1944 * lib/selftest-support.exp: New file.
1945 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1946 do_self_tests.
1947 (setup_test, find_gdb): Remove.
1948 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1949 do_self_tests.
1950 (setup_test, find_gdb): Remove.
1951 (test_observer): Don't call setup_test. Remove argument.
1952 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1953 (find_gdb): Remove.
1954 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1955 do_self_tests.
1956 (setup_test, find_gdb): Remove.
1957 (test_with_self): Don't call setup_test. Remove argument.
1958
1959 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1960
1961 * gdb.arch/system-gcore.exp: Remove.
1962 * gdb.arch/gcore.c: Remove.
1963 * gdb.base/gcore.exp: Add "info reg system".
1964
1965 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1966
1967 PR breakpoints/15413:
1968 * gdb.base/pending.exp: Add test for completion of the "condition"
1969 command for pending breakpoints.
1970 * gdb.linespec/linespec.ex: Add test for completion of the
1971 "condition" command when dealing with multiple locations.
1972
1973 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1974
1975 * gdb.threads/wp-replication.c: New file.
1976 * gdb.threads/wp-replication.exp: New file.
1977
1978 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1979
1980 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1981
1982 2013-05-06 Doug Evans <dje@google.com>
1983
1984 * gdb.base/solib-search-lib1.c: New file.
1985 * gdb.base/solib-search-lib2.c: New file.
1986 * gdb.base/solib-search.c: New file.
1987 * gdb.base/solib-search.h: New file.
1988 * gdb.base/solib-search.exp: New file.
1989
1990 * lib/gdb.exp (gdb_core_cmd): New function.
1991 * gdb.arch/system-gcore.exp: Use it.
1992 * gdb.arch/vsx-regs.exp: Ditto.
1993 * gdb.base/gcore.exp: Ditto.
1994 * gdb.threads/gcore-thread.exp: Ditto.
1995
1996 * gdb.reverse/shr.h: New file.
1997 * gdb.reverse/shr1.c: New file.
1998 * gdb.reverse/shr2.c: #include "shr.h".
1999 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
2000 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
2001 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
2002 Update tests using sleep/printf to use shr2.sl instead.
2003 * gdb.reverse/solib-reverse.exp: Ditto.
2004
2005 2013-05-06 Tom Tromey <tromey@redhat.com>
2006
2007 * gdb.dwarf2/implptrconst.c: New file.
2008 * gdb.dwarf2/implptrconst.exp: New file.
2009 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
2010 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
2011 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
2012
2013 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2014
2015 * gdb.base/catch-sig.c (main): Raise SIGINT.
2016 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
2017
2018 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
2019
2020 * status-stop.exp (test_tstart_tstart): Check for error
2021 returned by the second 'tstart' command.
2022
2023 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2024
2025 * gdb.xml/maint_print_struct.exp: New file.
2026 * gdb.xml/maint_print_struct.xml: New file.
2027
2028 2013-04-25 Tom Tromey <tromey@redhat.com>
2029
2030 * gdb.dwarf2/nostaticblock.exp: New file.
2031
2032 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
2033
2034 PR gdb/10462
2035 * gdb.base/setshow.exp: Add test case.
2036
2037 2013-04-23 Hui Zhu <hui@codesourcery.com>
2038
2039 PR gdb/15293
2040 * gdb.base/dprintf.exp: Add ignore command.
2041
2042 2013-04-23 Hui Zhu <hui@codesourcery.com>
2043
2044 PR gdb/15165
2045 * gdb.base/save-bp.exp: Add test for dprintf.
2046
2047 2013-04-22 Tom Tromey <tromey@redhat.com>
2048
2049 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
2050 notice_open_fds.
2051
2052 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2053
2054 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
2055 ldflags.
2056
2057 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2058
2059 * gdb.arch/arm-bl-branch-dest.c: New file.
2060 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
2061
2062 2013-04-19 Vladimir Kargov <kargov@gmail.com>
2063 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.arch/i386-float.S: New file.
2066 * gdb.arch/i386-float.exp: New file.
2067
2068 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
2069
2070 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
2071 type void *.
2072
2073 2013-04-17 Doug Evans <dje@google.com>
2074
2075 * lib/dwarf.exp (Dwarf): New proc "tu".
2076 * gdb.dwarf2/missing-sig-type.exp: New file.
2077
2078 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
2079
2080 Add option to link testcases with Pthreads library when
2081 using 'prepare_for_testing' in tests.
2082
2083 * lib/gdb.exp (build_executable_from_specs): Use
2084 gdb_compile_pthreads to compile if option "pthreads" is
2085 specified.
2086
2087 2013-04-15 Tom Tromey <tromey@redhat.com>
2088
2089 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
2090
2091 2013-04-15 Tom Tromey <tromey@redhat.com>
2092
2093 * gdb.base/default.exp: Update for $_exception.
2094 * gdb.cp/exceptprint.cc: New file.
2095 * gdb.cp/exceptprint.exp: New file.
2096 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
2097
2098 2013-04-15 Tom Tromey <tromey@redhat.com>
2099
2100 * gdb.cp/typeid.cc: New file.
2101 * gdb.cp/typeid.exp: New file.
2102
2103 2013-04-15 Tom Tromey <tromey@redhat.com>
2104
2105 * gdb.cp/exception.exp: Add "catch rethrow" tests.
2106
2107 2013-04-13 Yao Qi <yao@codesourcery.com>
2108
2109 * gdb.base/completion.exp: Test completion of command
2110 'target ctf' if target ctf is supported.
2111
2112 2013-04-10 Pedro Alves <palves@redhat.com>
2113
2114 * gdb.base/completion.exp: Test "set height", "set listsize" and
2115 "set trace-buffer-size" completion.
2116 * gdb.base/setshow.exp: Test "set height unlimited".
2117 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
2118 unlimited".
2119
2120 2013-04-10 Yao Qi <yao@codesourcery.com>
2121
2122 * gdb.trace/actions.exp: Save trace data to CTF.
2123 Change to ctf target if GDB supports, read CTF data in ctf
2124 target, and check the actions of tracepoints.
2125 * gdb.trace/while-stepping.exp: Likewise.
2126 * gdb.trace/report.exp: Test GDB saves trace data to CTF
2127 format and read CTF trace file if GDB supports.
2128 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
2129 target is supported, change to ctf target, read trace data and
2130 check output of command "tstatus".
2131 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
2132 read CTF data by target ctf and call check_tsv.
2133
2134 2013-04-10 Yao Qi <yao@codesourcery.com>
2135
2136 * gdb.trace/actions.exp (check_tracepoint): New.
2137 (top level): Start the tracing and check the actions of
2138 tracepoints. Save trace data to tfile format. Restart GDB
2139 and read trace file in tfile target. Check the actions of
2140 tracepoints again.
2141 * gdb.trace/while-stepping.exp: Likewise.
2142
2143 2013-04-10 Yao Qi <yao@codesourcery.com>
2144
2145 * gdb.trace/report.exp: Use standard_output_file for saved
2146 trace file.
2147
2148 2013-04-10 Hui Zhu <hui@codesourcery.com>
2149
2150 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
2151 (MISCELLANEOUS): Add dprintf-pendshr.sl.
2152 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
2153
2154 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2155
2156 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
2157 response.
2158
2159 2013-04-08 Pedro Alves <palves@redhat.com>
2160
2161 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
2162 the location.
2163
2164 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2165
2166 * gdb.cp/cplabel.exp: Allow empty directory in file reported
2167 for breakpoint location.
2168
2169 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2170
2171 * gdb.linespec/linespec.exp: Make dir/file:line tests
2172 conditional for non-remote hosts only.
2173
2174 2013-04-04 Stan Shebs <stan@codesourcery.com>
2175 Pedro Alves <palves@redhat.com>
2176
2177 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
2178 * gdb.trace/actions-changed.c: New file.
2179 * gdb.trace/actions-changed.exp: New file.
2180 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
2181 (gdb_trace_setactions_command): ... this. Add "actions_command"
2182 parameter, and handle it.
2183 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
2184
2185 2013-04-04 Yao Qi <yao@codesourcery.com>
2186
2187 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
2188 'step'.
2189
2190 2013-04-03 Yao Qi <yao@codesourcery.com>
2191
2192 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
2193 "tfile-basic.tf".
2194 (test_tfind_tfile): Likewise.
2195
2196 2013-04-03 Yao Qi <yao@codesourcery.com>
2197
2198 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
2199 "tfile-basic.tf" instead of "basic.tf".
2200 (write_error_trace_file): Pass argument "tfile-error.tf"
2201 instead of "error.tf".
2202 * gdb.trace/tfile.exp: Update tfile names to
2203 "tfile-basic.tf" and "tfile-error.tf".
2204
2205 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
2206
2207 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
2208 empty directory in file for breakpoint hit.
2209
2210 2013-03-29 Yao Qi <yao@codesourcery.com>
2211
2212 * gdb.base/completion.exp: Test completion of commands
2213 "target core", "target tfile" and "target exec".
2214 * gdb.trace/tfile.exp: Test completion of command
2215 "target tfile".
2216
2217 2013-03-28 Joel Brobecker <brobecker@adacore.com>
2218
2219 * gdb.ada/win_fu_syms: New testcase.
2220
2221 2013-03-28 Doug Evans <dje@google.com>
2222
2223 * gdb.base/maint.exp (maint print statistics): Update expected output.
2224
2225 2013-03-28 Pedro Alves <palves@redhat.com>
2226
2227 PR gdb/15294
2228
2229 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
2230 mean unlimited instead of $arg < 0.
2231 (test_listsize): Remove "listsize of 0 suppresses output" test.
2232 Test that "set listsize 0" ends up with an unlimited listsize.
2233
2234 2013-03-28 Pedro Alves <palves@redhat.com>
2235
2236 * gdb.base/list.exp (last_line): New global.
2237 (last_line_re): New global.
2238 (test_listsize, test_list_function, test_list_forward)
2239 (test_repeat_list_command, test_list_range)
2240 (test_list_filename_and_function): Use them.
2241 * gdb.base/list0.c: Comment the last line of the file with "last
2242 line".
2243
2244 2013-03-28 Pedro Alves <palves@redhat.com>
2245
2246 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
2247 list the whole file.
2248
2249 2013-03-28 Pedro Alves <palves@redhat.com>
2250
2251 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
2252 "set listsize".
2253
2254 2013-03-26 Keith Seitz <keiths@redhat.com>
2255
2256 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
2257 from passing.
2258
2259 2013-03-26 Pedro Alves <palves@redhat.com>
2260
2261 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
2262 until after GDB has run.
2263
2264 2013-03-26 Yao Qi <yao@codesourcery.com>
2265
2266 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
2267 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
2268
2269 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
2270
2271 * gdb.btrace/enable.exp: Add regression test.
2272
2273 2013-03-25 Tom Tromey <tromey@redhat.com>
2274
2275 * gdb.cp/m-static.exp: Add destructor-printing tests.
2276
2277 2013-03-25 Tom Tromey <tromey@redhat.com>
2278
2279 * gdb.cp/m-static.exp: Add constructor ptype tests.
2280 * gdb.cp/m-static.cc (single_constructor): New class.
2281 (main): Make instance of single_constructor.
2282
2283 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2284 Pedro Alves <palves@redhat.com>
2285
2286 * gdb.server/server-kill.c: New file.
2287 * gdb.server/server-kill.exp: New file.
2288
2289 2013-03-21 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.trace/trace-buffer-size.exp (get default buffer size):
2292 Expect $gdb_prompt in gdb_test_multiple.
2293
2294 2013-03-21 Doug Evans <dje@google.com>
2295
2296 * gdb.base/maint.exp: Update tests for per-command stats.
2297
2298 2013-03-21 Tom Tromey <tromey@redhat.com>
2299
2300 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
2301 * gdb.cp/misc.exp: Add test for FILENAME:: case.
2302
2303 2013-03-20 Pedro Alves <palves@redhat.com>
2304
2305 PR gdb/15289
2306
2307 * gdb.base/remote.exp: Test
2308 "set remote hardware-watchpoint-limit -1",
2309 "set remote hardware-breakpoint-limit -1",
2310 "set remote hardware-watchpoint-limit 2147483647" and
2311 "set remote hardware-breakpoint-limit 2147483647".
2312
2313 2013-03-20 Pedro Alves <palves@redhat.com>
2314 Yao Qi <yao@codesourcery.com>
2315
2316 * gdb.trace/tfile.c: Add comments.
2317 (nonconstglob): New global.
2318 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
2319 global that is not covered by the trace frame. Test
2320 disassembling.
2321
2322 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 * gdb.base/valgrind-infcall.exp
2325 (continue #$continue_count) <remote connection closed>
2326 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
2327 $valgrind_pid.
2328
2329 2013-03-15 Tom Tromey <tromey@redhat.com>
2330
2331 * gdb.cp/overload.cc (intintfunc): New.
2332 * gdb.cp/overload.exp: Add regression test.
2333
2334 2013-03-15 Yao Qi <yao@codesourcery.com>
2335
2336 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
2337 using with_test_prefix.
2338 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
2339 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
2340 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
2341 * gdb.threads/watchpoint-fork.exp (test): Likewise.
2342 * gdb.base/break-interp.exp (test_core): Likewise.
2343 (test_attach_gdb): Likewise.
2344 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2345 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2346 Likewise.
2347 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2348 * gdb.base/jit.exp (one_jit_test): Likewise.
2349 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
2350 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
2351 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
2352 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
2353 Likewise.
2354 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2355 Likewise.
2356 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
2357 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
2358 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
2359 (tracepoint_change_loc_2): Likewise.
2360 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2361 Likewise.
2362 (disconnected_tfind): Likewise.
2363 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
2364 Likewise.
2365 (test_tfind_remote): Likewise.
2366 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
2367 Likewise.
2368 (test_pending_resolved): Likewise.
2369 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
2370 Likewise.
2371 (test_upload_tsv): Likewise.
2372 * gdb.trace/pending.exp (pending_tracepoint_resolved):
2373 Likewise.
2374 (pending_tracepoint_works): Likewise.
2375 * gdb.trace/report.exp (use_collected_data): Likewise.
2376 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
2377 Likewise.
2378 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
2379 * gdb.trace/strace.exp (strace_info_marker): Likewise.
2380 (strace_trace_on_same_addr): Likewise.
2381 (strace_trace_on_diff_addr): Likewise.
2382 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
2383 (gdb_collect_locals_test): Likewise.
2384 (gdb_unavailable_registers_test): Likewise.
2385 (gdb_collect_globals_test): Likewise.
2386
2387 2013-03-15 Yao Qi <yao@codesourcery.com>
2388
2389 * gdb.base/condbreak.exp: Add semicolon back which was removed
2390 by my previous commit.
2391
2392 2013-03-14 Yao Qi <yao@codesourcery.com>
2393
2394 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
2395 'return'.
2396 (gdb_target_monitor, gdb_load): Likewise.
2397 * config/sid.exp (gdb_load): Likewise.
2398 * config/slite.exp (gdb_load): Likewise.
2399 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
2400 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
2401 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
2402 (single_step_until): Likewise.
2403 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2404 * gdb.arch/system-gcore.exp: Likewise.
2405 * gdb.base/bigcore.exp (extract_heap): Likewise.
2406 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
2407 * gdb.base/call-ar-st.exp: Likewise.
2408 * gdb.base/call-rt-st.exp: Likewise.
2409 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
2410 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
2411 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
2412 * gdb.base/corefile.exp: Likewise.
2413 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
2414 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
2415 * gdb.base/fixsection.exp: Likewise.
2416 * gdb.base/funcargs.exp: Likewise.
2417 * gdb.base/gcore-buffer-overflow.exp: Likewise.
2418 * gdb.base/gcore-relro.exp: Likewise.
2419 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
2420 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
2421 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
2422 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
2423 * gdb.base/list.exp: Likewise.
2424 (set_listsize): Likewise.
2425 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
2426 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
2427 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
2428 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
2429 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
2430 * gdb.base/setvar.exp: Likewise.
2431 (test_set): Likewise.
2432 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
2433 * gdb.base/solib-overlap.exp: Likewise.
2434 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
2435 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
2436 * gdb.base/watchpoint.exp (initialize): Likewise.
2437 (test_simple_watchpoint): Likewise.
2438 (test_disabling_watchpoints): Likewise.
2439 (test_watchpoint_triggered_in_syscall): Likewise.
2440 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
2441 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
2442 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
2443 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
2444 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2445 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2446 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2447 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2448 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2449 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
2450 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2451 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
2452 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
2453 * gdb.mi/gdb792.exp: Likewise.
2454 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
2455 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
2456 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
2457 * gdb.threads/gcore-thread.exp: Likewise.
2458 (load_core): Likewise.
2459 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
2460 (test_startup, check_control_c): Likewise.
2461 * gdb.threads/sigstep-threads.exp: Likewise.
2462 * gdb.threads/thread_check.exp: Likewise.
2463 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
2464 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
2465 (set_a_tracepoint, trace_buffer_normal): Likewise.
2466 (gdb_trace_circular_tests): Likewise.
2467 * gdb.trace/collection.exp: Likewise.
2468 * gdb.trace/disconnected-tracing.exp: Likewise.
2469 * gdb.trace/infotrace.exp: Likewise.
2470 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2471 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2472 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
2473 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
2474 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
2475 * gdb.trace/stap-trace.exp: Likewise.
2476 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
2477 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2478 * gdb.trace/trace-buffer-size.exp: Likewise.
2479 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2480 * gdb.trace/unavailable.exp: Likewise.
2481 * gdb.trace/while-dyn.exp: Likewise.
2482 * lib/fortran.exp (set_lang_fortran): Likewise.
2483 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2484 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2485 (default_gdb_start, get_compiler_info): Likewise.
2486 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2487 (get_debug_format, setup_xfail_format): Likewise.
2488 (rerun_to_main, gdb_skip_float_test): Likewise.
2489 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2490 * lib/java.exp (set_lang_java): Likewise.
2491 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2492 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2493 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2494 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2495 * lib/objc.exp (set_lang_objc): Likewise.
2496 * lib/pascal.exp (set_lang_pascal): Likewise.
2497 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2498 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2499 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2500
2501 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2502
2503 PR c++/15203
2504 PR c++/15210
2505 * gdb.cp/m-static.cc (keepalive_int): New function.
2506 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2507 * gdb.cp/m-static.exp: New test for `sintvar'.
2508
2509 2013-03-14 Yao Qi <yao@codesourcery.com>
2510
2511 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2512 of 'tstatus' into tstatus_output.
2513 (top level): Save the trace data to tfile. Read trace file in
2514 tfile target. Check the trace status.
2515
2516 2013-03-13 Yao Qi <yao@codesourcery.com>
2517
2518 * gdb.trace/tsv.exp (check_tsv): New.
2519 (top level): Save a tfile on current trace session. Call
2520 check_tsv on live target. Load the tfile with target tfile
2521 and call check_tsv again.
2522
2523 2013-03-13 Yao Qi <yao@codesourcery.com>
2524
2525 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2526 Replace some "gdb_test" with "gdb_test_no_output".
2527
2528 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2529
2530 * gdb.ada/expr_delims.exp: New file.
2531 * gdb.ada/expr_delims/foo.adb: New file.
2532 * gdb.ada/expr_delims/pck.ads: New file.
2533 * gdb.ada/expr_delims/pck.adb: New file.
2534
2535 2013-03-11 Keith Seitz <keiths@redhat.com>
2536
2537 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2538 both condition and thread. Then delete the watchpoint.
2539
2540 2013-03-11 Christian Himpel <christian.himpel@intel.com>
2541
2542 * Makefile.in: Add btrace testsuite.
2543 * configure: Regenerated.
2544 * configure.ac: Add btrace testsuite.
2545 * gdb.btrace/Makefile.in: New file.
2546 * gdb.btrace/enable.c: New file.
2547 * gdb.btrace/enable.exp: New file.
2548 * gdb.btrace/function_call_history.c: New file.
2549 * gdb.btrace/function_call_history.exp: New file.
2550 * gdb.btrace/instruction_history.c: New file.
2551 * gdb.btrace/instruction_history.exp: New file.
2552 * gdb.btrace/instruction_history.S: New file.
2553 * lib/gdb.exp: Add btrace skip proc.
2554
2555 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2556
2557 Fix entry-values if the callee called a noreturn function.
2558 * gdb.arch/amd64-tailcall-noret.S: New file.
2559 * gdb.arch/amd64-tailcall-noret.c: New file.
2560 * gdb.arch/amd64-tailcall-noret.exp: New file.
2561
2562 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2563
2564 Fix entry-values in C++ across CUs.
2565 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2566 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2567 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2568 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2569 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2570
2571 2013-03-08 Stan Shebs <stan@codesourcery.com>
2572 Hafiz Abid Qadeer <abidh@codesourcery.com>
2573
2574 gdb/testsuite/
2575 * gdb.trace/trace-buffer-size.exp: New file.
2576 * gdb.trace/trace-buffer-size.c: New file.
2577
2578 2013-03-06 Pedro Alves <palves@redhat.com>
2579
2580 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2581 doesn't support the tested optional feature, call "unsupported"
2582 with the same test message as the "pass" case, instead of calling
2583 "pass" with a different message. Use the same text for the "fail"
2584 cases too.
2585
2586 2013-03-06 Yao Qi <yao@codesourcery.com>
2587
2588 * gdb.trace/tstatus.exp: Remove the invocation of
2589 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2590 (test_tracepoints): Don't set fast tracepoint.
2591 (top level): Don't check agent library is loaded or not.
2592
2593 2013-03-06 Yao Qi <yao@codesourcery.com>
2594
2595 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2596 parentheses by "\\".
2597
2598 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2599
2600 * gdb.linespec/base/one/thefile.cc (twodup): New.
2601 (m): Call it.
2602 * gdb.linespec/base/two/thefile.cc (dupname): New.
2603 (n): Call it.
2604 * gdb.linespec/break-ask.exp: New file.
2605 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2606
2607 2013-02-28 Yao Qi <yao@codesourcery.com>
2608
2609 * gdb.trace/report.exp: Move some code to ...
2610 (use_collected_data): New.
2611 (top level): Call use_collected_data once on the live target.
2612 Save at file of the current trace session, load it with target
2613 tfile, and call use_collected_data again.
2614
2615 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2616
2617 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2618
2619 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2620
2621 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2622 Add final kill of ${valgrind_pid}.
2623
2624 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2625
2626 * gdb.python/py-arch.c: New test case
2627 * gdb.python/py-arch.exp: New tests to test
2628 gdb.Architecture.disassemble
2629 * gdb.python/Makefile.in: Add py-arch to the list of
2630 EXECUTABLES.
2631
2632 2013-02-18 Tom Tromey <tromey@redhat.com>
2633
2634 * gdb.dwarf2/subrange.exp: New file.
2635
2636 2013-02-15 Pedro Alves <pedro@codesourcery.com>
2637 Hafiz Abid Qadeer <abidh@codesourcery.com>
2638
2639 * gdb.trace/tfile.exp: Add test for -trace-status command.
2640
2641 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2642
2643 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2644 nanosleep by sleep.
2645
2646 2013-02-14 Pedro Alves <palves@redhat.com>
2647
2648 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2649
2650 2013-02-14 Pedro Alves <pedro@codesourcery.com>
2651 Hafiz Abid Qadeer <abidh@codesourcery.com>
2652
2653 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2654
2655 2013-02-12 Tom Tromey <tromey@redhat.com>
2656
2657 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2658 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2659
2660 2013-02-12 Pedro Alves <palves@redhat.com>
2661
2662 * gdb.base/catch-signal.c: Update copyright years.
2663 * gdb.base/catch-signal.exp: Update copyright years.
2664 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2665 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2666 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2667 * gdb.dwarf2/dw2-error.S: Update copyright years.
2668 * gdb.dwarf2/dw2-error.c: Update copyright years.
2669 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2670 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2671 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2672
2673 2013-02-12 Pedro Alves <palves@redhat.com>
2674
2675 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2676 message.
2677 * gdb.base/sigaltstack.exp: Ditto.
2678 * gdb.base/siginfo.exp: Ditto.
2679 * gdb.base/sizeof.exp: Ditto.
2680
2681 2013-02-12 Pedro Alves <palves@redhat.com>
2682
2683 * gdb.mi/mi-basics.exp: Tweak intro comment.
2684 * gdb.mi/mi-break.exp: Tweak intro comment.
2685 * gdb.mi/mi-console.exp: Tweak intro comment.
2686 * gdb.mi/mi-file.exp: Tweak intro comment.
2687 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2688 * gdb.mi/mi-return.exp: Tweak intro comment.
2689 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2690 * gdb.mi/mi-until.exp: Tweak intro comment.
2691 * gdb.mi/mi-watch.exp: Tweak intro comment.
2692
2693 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2694
2695 * gdb.server/no-thread-db.exp: New file.
2696 * gdb.server/no-thread-db.c: New file.
2697 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2698
2699 2013-02-11 Doug Evans <dje@google.com>
2700
2701 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2702 two decfloats.
2703
2704 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2705
2706 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2707 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2708
2709 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2710
2711 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2712
2713 2013-02-06 Yao Qi <yao@codesourcery.com>
2714
2715 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2716 to ...
2717 (test_create_delete_modify_tsv): ... here. New test on modifying
2718 the initial value of a tsv.
2719
2720 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2721
2722 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2723 (cd .../rdir): ... here.
2724
2725 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2726
2727 * gdb.linespec/base/one/header.h: New file.
2728 * gdb.linespec/base/two/header.h: New file.
2729 * gdb.linespec/macro-relative.c: New file.
2730 * gdb.linespec/macro-relative.exp: New file.
2731
2732 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2733
2734 * gdb.base/fullpath-expand-func.c: New file.
2735 * gdb.base/fullpath-expand.c: New file.
2736 * gdb.base/fullpath-expand.exp: New file.
2737 * gdb.base/realname-expand-real.c: New file.
2738 * gdb.base/realname-expand.c: New file.
2739 * gdb.base/realname-expand.exp: New file.
2740
2741 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2742
2743 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2744 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2745
2746 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2747
2748 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2749 (compare_filenames_for_search does not match)
2750 (compare_filenames_for_search does match): New tests.
2751
2752 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2753
2754 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2755
2756 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2757
2758 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2759
2760 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2761
2762 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2763 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2764 ${binfile}.mini_debuginfo-debuglink and
2765 ${binfile}.mini_debuginfo-debuglink.xz.
2766
2767 2013-02-01 Tom Tromey <tromey@redhat.com>
2768
2769 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2770 attributes.
2771
2772 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2773 Tom Tromey <tromey@redhat.com>
2774
2775 * gdb.dwarf2/method-ptr.exp: Link with c++.
2776 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2777
2778 2013-01-31 Tom Tromey <tromey@redhat.com>
2779
2780 * gdb.base/jit.exp (compile_jit_test): New proc.
2781 Add PIE tests.
2782
2783 2013-01-31 Tom Tromey <tromey@redhat.com>
2784
2785 * gdb.dwarf2/method-ptr.cc: New file.
2786 * gdb.dwarf2/method-ptr.exp: New file.
2787
2788 2013-01-31 Tom Tromey <tromey@redhat.com>
2789
2790 * lib/dwarf.exp (namespace Dwarf): New.
2791
2792 2013-01-29 Tom Tromey <tromey@redhat.com>
2793
2794 * gdb.dwarf2/fission-reread.exp: Add unload test.
2795
2796 2013-01-28 Doug Evans <dje@google.com>
2797
2798 * gdb.dwarf2/fission-loclists.exp: New file.
2799 * gdb.dwarf2/fission-loclists.S: New file.
2800
2801 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 Code cleanup.
2804 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2805 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2806 and prepare_for_testing.
2807 * gdb.base/store.exp: Likewise.
2808
2809 2013-01-25 Tom Tromey <tromey@redhat.com>
2810
2811 * gdb.python/py-explore.exp: Expect the gdb prompt.
2812
2813 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
2814
2815 * gdb.base/gnu_vector.c: New variable for use in tests.
2816 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2817 changes in scalar to vector casting and widening.
2818 * gdb.python/py-type.c: New variables for use in tests.
2819 * gdb.python/py-type.exp: Update vector related tests to reflect
2820 changes in scalar to vector casting and widening.
2821
2822 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2823
2824 * gdb.base/prologue-include.c: New file.
2825 * gdb.base/prologue-include.exp: New file.
2826 * gdb.base/prologue-include.h: New file.
2827
2828 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2829
2830 PR gdb/13443
2831 * gdb.mi/mi-var-block.exp: Make test messages unique.
2832
2833 2013-01-23 Tom Tromey <tromey@redhat.com>
2834
2835 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2836
2837 2013-01-23 Tom Tromey <tromey@redhat.com>
2838
2839 * gdb.cp/converts.cc (main): Initialize 'a'.
2840
2841 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2842
2843 * testsuite/gdb.python/frame.exp: Add a test for
2844 gdb.Frame.architecture() method.
2845
2846 2013-01-22 Pedro Alves <palves@redhat.com>
2847
2848 * gdb.base/annota1.exp (signal sent): No longer expect
2849 breakpoints-invalid.
2850 * gdb.cp/annota2.exp (continue until exit)
2851 (watch triggered on a.x): Ditto.
2852
2853 2013-01-22 Pedro Alves <palves@redhat.com>
2854
2855 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2856 Adjust tests to breakpoints-invalid changes.
2857 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2858 variables.
2859 Adjust tests to breakpoints-invalid changes.
2860
2861 2013-01-22 Pedro Alves <palves@redhat.com>
2862
2863 * gdb.base/annota1.exp (annotate ignore count change): Add
2864 expected output for failure case.
2865
2866 2013-01-22 Tom Tromey <tromey@redhat.com>
2867
2868 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2869 call.
2870
2871 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2872
2873 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
2874 * gdb.mi/mi-catch-load.exp: Ditto.
2875 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2876 Also handle 'thread' field.
2877 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2878 * gdb.mi/mi-watch.exp: Ditto.
2879 * lib/mi-support.exp: Ditto.
2880
2881 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2882
2883 * gdb.python/py-explore.exp: Improve a test
2884
2885 2013-01-18  David Blaikie  <dblaikie@gmail.com>
2886
2887 * gdb.base/label.c (main): Correct the type of the second
2888 parameter.
2889
2890 2013-01-18 Tom Tromey <tromey@redhat.com>
2891
2892 * gdb.dwarf2/trace-crash.s: New file.
2893 * gdb.dwarf2/trace-crash.exp: New file.
2894
2895 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2896
2897 PR gdb/13443
2898 * gdb.base/checkpoint.exp: Update test messages to make them
2899 unique.
2900
2901 2013-01-18 Yao Qi <yao@codesourcery.com>
2902
2903 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2904 output of 'info tracepoints'.
2905 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2906 Likewise.
2907 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2908 * gdb.trace/disconnected-tracing.c (struct foo): New.
2909
2910 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2911
2912 * gdb.dwarf2/dw2-dos-drive.S: New file.
2913 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2914
2915 2013-01-17 Doug Evans <dje@google.com>
2916
2917 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2918 CXX_FOR_TARGET.
2919
2920 * boards/cc-with-tweaks.exp: New file.
2921
2922 2013-01-17 Tom Tromey <tromey@redhat.com>
2923
2924 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2925
2926 2013-01-17 Pedro Alves <palves@redhat.com>
2927
2928 Merge dg-extract-results.sh from upstream (svn 195224).
2929
2930 2013-01-15 David Blaikie <dblaikie@gmail.com>
2931 * dg-extract-results.sh: Fix order of summary counts.
2932
2933 2013-01-15 David Blaikie <dblaikie@gmail.com>
2934 * dg-extract-results.sh: Constrain the start-of-log pattern.
2935
2936 2013-01-15 David Blaikie <dblaikie@gmail.com>
2937 * dg-extract-results.sh: Handle KPASSes.
2938
2939 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2940 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2941 of grep -q.
2942
2943 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2944
2945 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2946 interface.
2947 * gdb.base/jithost.c: New file.
2948 * gdb.base/jithost.h: New file.
2949 * gdb.base/jitreader.c : New file.
2950 * gdb.base/jit-protocol.h: New file.
2951
2952 2013-01-16 Tom Tromey <tromey@redhat.com>
2953
2954 * gdb.base/catch-signal.c: New file.
2955 * gdb.base/catch-signal.exp: New file.
2956
2957 2013-01-16 Tom Tromey <tromey@redhat.com>
2958
2959 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2960
2961 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2962
2963 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2964
2965 2013-01-14 Tom Tromey <tromey@redhat.com>
2966
2967 * gdb.base/completion.exp: Add "set gnutarget" test.
2968
2969 2013-01-14 Tom Tromey <tromey@redhat.com>
2970
2971 * gdb.dwarf2/dw2-restrict.S: New file.
2972 * gdb.dwarf2/dw2-restrict.c: New file.
2973 * gdb.dwarf2/dw2-restrict.exp: New file.
2974
2975 2013-01-14 Tom Tromey <tromey@redhat.com>
2976
2977 * gdb.dwarf2/dw2-error.exp: New file.
2978 * gdb.dwarf2/dw2-error.c: New file.
2979 * gdb.dwarf2/dw2-error.S: New file.
2980
2981 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2982
2983 * gdb.cp/parse-lang.cc: New file.
2984 * gdb.cp/parse-lang.exp: New file.
2985
2986 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2987
2988 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2989 (set substitute-path): New test.
2990 (fullname present): Remove content.
2991 (substituted fullname): New test.
2992
2993 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2994
2995 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2996 check. Move $gdb_py_is_py24 value check right after.
2997
2998 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2999
3000 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
3001 targets.
3002
3003 2013-01-11 Yao Qi <yao@codesourcery.com>
3004
3005 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
3006 for dprintf.
3007 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3008 Check the fields in "=breakpoint-created" for dprintf.
3009
3010 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3011
3012 * gdb.mi/mi-fullname-deleted.exp: New file.
3013
3014 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3015
3016 * gdb.base/skip-solib.exp (info skip with pending file): Update the
3017 expected output.
3018 (info skip with pending file): Remove.
3019 (ignoring function in solib, info skip for function multiply): Update
3020 the expected output.
3021 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
3022 (info skip (delete 1), info skip after disabling all)
3023 (info skip after enabling all, info skip after disabling 4 2-3)
3024 (info skip after enabling 2-3, info skip 2-3)
3025 (info skip after deleting 2 3): Update the expected output.
3026 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
3027 statement to its initialization and return.
3028 * gdb.linespec/skip-two.exp: New file.
3029
3030 2012-12-19 Doug Evans <dje@google.com>
3031
3032 * gdb.base/maint.exp: Handle testing with .gdb_index.
3033
3034 2012-12-19 Joel Brobecker <brobecker@adacore.com>
3035
3036 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
3037 Cavium to FSF.
3038
3039 2012-12-19 Joel Brobecker <brobecker@adacore.com>
3040
3041 * dg-extract-results.sh: Update contact info in copyright notice.
3042 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
3043 GPL v3 or later. Update contact info.
3044 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
3045 gdb.threads/watchpoint-fork-mt.c,
3046 gdb.threads/watchpoint-fork-parent.c,
3047 gdb.threads/watchpoint-fork-st.c,
3048 gdb.threads/watchpoint-fork.h: Likewise.
3049
3050 2012-12-15 Yao Qi <yao@codesourcery.com>
3051
3052 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
3053 'installed' field in '=breakpoint-modified'.
3054 (test_reconnect): Check 'installed' field in
3055 '=breakpoint-modified' and '=breakpoint-created'.
3056
3057 * gdb.trace/actions.exp: Update test for 'installed' field.
3058 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
3059 (tracepoint_change_loc_2): Likewise.
3060 Check 'info tracepoint' display nothing else.
3061 * gdb.trace/deltrace.exp: Likewise.
3062 * gdb.trace/infotrace.exp: Likewise.
3063 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
3064 Likewise.
3065 * gdb.trace/passcount.exp: Likewise.
3066 * gdb.trace/tracecmd.exp: Likewise.
3067 * gdb.trace/while-stepping.exp: Likewise.
3068
3069 2012-12-14 Tom Tromey <tromey@redhat.com>
3070
3071 * gdb.cp/member-name.exp: New file.
3072 * gdb.cp/member-name.cc: New file.
3073
3074 2012-12-14 Tom Tromey <tromey@redhat.com>
3075
3076 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
3077
3078 2012-12-14 Doug Evans <dje@google.com>
3079
3080 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
3081 DW_OP_GNU_implicit_pointer is section-relative.
3082
3083 2012-12-14 Tom Tromey <tromey@redhat.com>
3084
3085 * gdb.base/info-proc.exp: Add core file tests.
3086
3087 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
3088
3089 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
3090
3091 2012-12-13 Doug Evans <dje@google.com>
3092
3093 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
3094 * gdb.multi/multi-arch.exp: Ditto.
3095
3096 2012-12-12 Keven Boell <keven.boell@intel.com>
3097
3098 * gdb.mi/mi-catch-load-so.c: New. Clone of the
3099 catch load test library source file.
3100 * gdb.mi/mi-catch-load.c: New. Clone of the catch
3101 load test source file.
3102 * gdb.mi/mi-catch-load.exp: New. Test file for
3103 basic MI -catch-load and -catch-unload tests.
3104
3105 2012-12-11 Paul Koning <paul_koning@dell.com>
3106
3107 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
3108 exception.
3109 (_iterator_except): New function.
3110 (ArrayPrinter): Use _iterator function instead of local _iterator
3111 class for Python 3 compatibility.
3112 (NoStringContainerPrinter): Use _iterator_except instead of
3113 _iterator.
3114 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
3115 execfile for Python 3 compatibility.
3116 * gdb.python/python.exp: Handle Python 2.4 exception traceback
3117 format in error_prompt test.
3118
3119 2012-12-10 Paul Koning <paul_koning@dell.com>
3120
3121 * gdb.base/charset.exp: Change print syntax for Python 3
3122 compatibility.
3123 * gdb.python/py-block.exp: Ditto.
3124 * gdb.python/py-breakpoint.exp: Ditto.
3125 * gdb.python/py-cmd.exp: Ditto.
3126 * gdb.python/py-events.py: Ditto.
3127 * gdb.python/py-finish-breakpoint.py: Ditto.
3128 * gdb.python/py-finish-breakpoint2.exp: Ditto.
3129 * gdb.python/py-finish-breakpoint2.py: Ditto.
3130 * gdb.python/py-frame-inline.exp: Ditto.
3131 * gdb.python/py-frame.exp: Ditto.
3132 * gdb.python/py-infthread.exp: Ditto.
3133 * gdb.python/py-objfile.exp: Ditto.
3134 * gdb.python/py-parameter.exp: Ditto.
3135 * gdb.python/py-progspace.exp: Ditto.
3136 * gdb.python/py-prompt.exp: Ditto.
3137 * gdb.python/py-symbol.exp: Ditto.
3138 * gdb.python/py-symtab.exp: Ditto.
3139 * gdb.python/py-template.exp: Ditto.
3140 * gdb.python/py-value-cc.exp: Ditto.
3141 * gdb.python/python.exp: Ditto.
3142 * gdb.python/source2.py: Ditto.
3143 * gdb.python/lib-types.exp: Change print syntax for Python 3
3144 compatibility.
3145 Use sorted() function rather than sort() method.
3146 Accept either int or long values for enum values.
3147 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
3148 execfile for Python 3 compatibility.
3149 * gdb.python/py-evsignal.exp: Ditto.
3150 * gdb.python/py-evthreads.exp: Ditto.
3151 * gdb.python/py-mi.exp: Ditto.
3152 * gdb.python/py-pp-maint.exp: Ditto.
3153 * gdb.python/py-prettyprint.exp: Ditto.
3154 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
3155 Python 3 compatibility.
3156 Skip tests for Python 2.4.
3157 * gdb.python/py-inferior.exp: Change print syntax for
3158 Python 3 compatibility.
3159 Use byte string rather than character string in memory write test
3160 if Python 3.
3161 * gdb.python/py-pp-maint.py: Change class declarations to "new
3162 class" syntax.
3163 * gdb.python/py-prettyprint.py: Change iterator class to generator
3164 function for Python 3 compatibility.
3165 Make all classes "new style".
3166 Fix indentation issue and stray semicolon.
3167 * gdb.python/py-shared.expChange print syntax for Python 3
3168 compatibility.
3169 Define "long" if Python 3.
3170 * gdb.python/py-type.exp: Change print syntax for Python 3
3171 compatibility.
3172 Accept either int or long values for enum values.
3173 * gdb.python/py-value.exp: Change print syntax for Python 3
3174 compatibility.
3175 Skip "long" and "unicode" tests if Python 3.
3176 Accept either "type" or "class" in type checks.
3177 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
3178 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
3179
3180 2012-12-10 Tom Tromey <tromey@redhat.com>
3181
3182 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
3183 (test): Add "two_cu" argument.
3184 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
3185 for types; allow two CUs.
3186
3187 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3188
3189 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
3190 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
3191
3192 2012-12-08 Yao Qi <yao@codesourcery.com>
3193 Pedro Alves <palves@redhat.com>
3194
3195 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
3196 '=breakpoint-created' when GDB merges the tracepoints of both
3197 sides.
3198
3199 2012-12-07 Tom Tromey <tromey@redhat.com>
3200
3201 * gdb.base/break1.c (enum some_enum, union some_union): New.
3202 (some_enum_global, some_union_global, some_value): New globals.
3203 * gdb.base/completion.exp: Add tag completion tests.
3204
3205 2012-12-07 Tom Tromey <tromey@redhat.com>
3206
3207 * gdb.base/completion.exp: Add tests for ptype and whatis
3208 completion.
3209
3210 2012-12-07 Joel Brobecker <brobecker@adacore.com>
3211
3212 * gdb.base/stale-infcall.exp: Fix copyright line.
3213
3214 2012-12-07 Joel Brobecker <brobecker@adacore.com>
3215
3216 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
3217
3218 2012-12-06 Pedro Alves <palves@redhat.com>
3219 Tom Tromey <tromey@redhat.com>
3220
3221 * gdb.base/exprs.exp: Add tests for cast to void.
3222
3223 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
3224
3225 * gdb.python/py-mi.exp: Correct expected results for attribute
3226 "dynamic" returned by -var-update.
3227 Add test case for correct handling of "diplayhint" for children
3228 of dynamic varobjs.
3229 * gdb.python/py-prettyprint.c (set_itme): New function.
3230 (bug_14741) New function.
3231 (main) Add call to bug_14741().
3232 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
3233
3234 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
3235
3236 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
3237 ${binfile}.funcsyms list.
3238
3239 2012-12-04 Yao Qi <yao@codesourcery.com>
3240
3241 PR gdb/13443
3242 * gdb.trace/actions.exp: Make test messages unique.
3243
3244 2012-11-29 Tom Tromey <tromey@redhat.com>
3245
3246 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
3247
3248 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
3249
3250 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
3251 * gdb.opencl/datatypes.exp: Likewise.
3252 * gdb.opencl/operators.exp: Likewise.
3253 * gdb.opencl/vec_comps.exp: Likewise.
3254
3255 2012-11-29 Jerome Guitton <guitton@adacore.com>
3256
3257 * gdb.ada/iwide: New testcase.
3258
3259 2012-11-29 Jerome Guitton <guitton@adacore.com>
3260
3261 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
3262 ptype test.
3263
3264 2012-11-29 Jerome Guitton <guitton@adacore.com>
3265
3266 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
3267 form {VARIANT_TYPE}ADDRESS.
3268
3269 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
3270
3271 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
3272 (func): New function.
3273 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
3274 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
3275 pointers to members with pointer-to-function type.
3276
3277 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3278 Tom Tromey <tromey@redhat.com>
3279
3280 * gdb.base/gnu-debugdata.exp: New file.
3281 * gdb.base/gnu-debugdata.c: New file.
3282 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
3283 (gdb_unload): Return 0 on success.
3284
3285 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3286
3287 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
3288
3289 2012-11-26 Joel Brobecker <brobecker@adacore.com>
3290
3291 * gdb.base/empty_exe.exp: New testcase.
3292
3293 2012-11-20 Mike Frysinger <vapier@gentoo.org>
3294
3295 * gdb.base/completion.exp: Add test for help aliases completion.
3296
3297 2012-11-20 Yao Qi <yao@codesourcery.com>
3298
3299 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3300 Don't test 'maint set show-debug-regs'.
3301 Use command 'set remotecache' instead of
3302 'set circular-trace-buffer'.
3303
3304 2012-11-16 Keith Seitz <keiths@redhat.com>
3305
3306 PR c++/13615
3307 * gdb.cp/baseenum.cc: New file.
3308 * gdb.cp/baseenum.exp: New file.
3309 * gdb.cp/derivation.cc (A): Add copyright.
3310 Add a typedef.
3311 (B): Use A::value_type instead of int. Change all references.
3312 (D): Use value_type instead of int. Change all references.
3313 (E): Likewise.
3314 (F); Likewise.
3315 (Z): New class.
3316 (ZZ): New class.
3317 (N, Base, Derived): New namespace and classes.
3318 (main): Add instances of Z and ZZ.
3319 Make sure all symbols from N are kept.
3320 * gdb.cp/derivation.exp: Update typedef changes in tests.
3321 Add tests for class typedefs both before and after starting
3322 the inferior.
3323 Add tests for searching for a typedef while stopped in a
3324 method.
3325
3326 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
3327
3328 * gdb.mi/mi-var-create-rtti.c: New file.
3329 * gdb.mi/mi-var-create-rtti.exp: New file.
3330
3331 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
3332
3333 * gdb.base/structs3.exp: Run to main before doing any tests.
3334
3335 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
3336
3337 * gdb.python/py-type.exp: Uniquify test names.
3338
3339 2012-11-14 Yao Qi <yao@codesourcery.com>
3340
3341 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
3342 (thread_function) [DEBUG]: Call 'printf'.
3343 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
3344 command line if 'DEBUG=1' is passed to test.
3345 Remove a pattern to match inferior's output.
3346
3347 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
3348
3349 * gdb.mi/mi-fill-memory.exp: New test.
3350
3351 2012-11-12 Tom Tromey <tromey@redhat.com>
3352
3353 * gdb.base/completion.exp: Update for "info type-printers".
3354 * gdb.python/py-typeprint.cc: New file.
3355 * gdb.python/py-typeprint.exp: New file.
3356 * gdb.python/py-typeprint.py: New file.
3357
3358 2012-11-12 Tom Tromey <tromey@redhat.com>
3359
3360 * gdb.base/call-sc.exp: Use "ptype/r".
3361 * gdb.base/volatile.exp: Don't expect "int".
3362 * gdb.cp/ptype-flags.cc: New file.
3363 * gdb.cp/ptype-flags.exp: New file.
3364 * gdb.cp/templates.exp: Use ptype/r.
3365 (test_ptype_of_templates, test_template_typedef): Likewise.
3366 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
3367 argument. Handle template names and template parameters.
3368 * gdb.mi/mi-var-cmd.exp: Accept "long".
3369 * gdb.mi/mi-var-child.exp: Accept "long".
3370 * gdb.mi/mi-var-display.exp: Accept "long".
3371 * gdb.mi/mi2-var-child.exp: Accept "long".
3372
3373 2012-11-12 Tom Tromey <tromey@redhat.com>
3374
3375 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
3376 "ptype" from calls to cp_test_ptype_class.
3377 (test_enums): Likewise.
3378 * gdb.cp/derivation.exp: Remove "ptype" from calls to
3379 cp_test_ptype_class.
3380 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
3381 calls to cp_test_ptype_class.
3382 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
3383 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
3384 from calls to cp_test_ptype_class.
3385 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
3386 command here. Change "in_command" argument to "in_exp".
3387
3388 2012-11-10 Keith Seitz <keiths@redhat.com>
3389
3390 PR gdb/14288
3391 * gdb.base/printcmds.c: Add invalid_XXX globals
3392 for repeated byte tests.
3393 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
3394 * gdb.base/wchar.c (main): Add and construct a wchar_t
3395 array with repeated characters.
3396 * gdb.base/wchar.exp: Add repeated character tests.
3397
3398 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
3399
3400 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
3401 disassembly output.
3402
3403 2012-11-09 Pedro Alves <palves@redhat.com>
3404
3405 PR gdb/14306
3406
3407 * gdb.multi/multi-arch-exec.c: New file.
3408 * gdb.multi/multi-arch-exec.exp: New file.
3409
3410 2012-11-09 Yao Qi <yao@codesourcery.com>
3411
3412 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
3413 (top level): Call it.
3414
3415 2012-11-09 Yao Qi <yao@codesourcery.com>
3416
3417 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
3418 typo.
3419
3420 2012-11-09 Pedro Alves <palves@redhat.com>
3421
3422 * gdb.multi/multi-arch.exp: New.
3423
3424 2012-11-08 Tom Tromey <tromey@redhat.com>
3425
3426 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
3427 core files, if possible.
3428 * gdb.base/siginfo-thread.c: New file
3429 * gdb.base/siginfo-thread.exp: New file
3430
3431 2012-11-08 Tom Tromey <tromey@redhat.com>
3432
3433 * gdb.base/comprdebug.exp: New file.
3434
3435 2012-11-06 Pedro Alves <palves@redhat.com>
3436
3437 PR gdb/14810
3438
3439 * gdb.base/disabled-location.c: New file.
3440 * gdb.base/disabled-location.exp: New file.
3441
3442 2012-11-06 Tom Tromey <tromey@redhat.com>
3443
3444 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
3445 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
3446 gdb_gcore_cmd.
3447 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
3448 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
3449 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
3450 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
3451 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
3452 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
3453 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
3454 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
3455 * lib/gdb.exp (gdb_gcore_cmd): New proc.
3456
3457 2012-11-05 Pedro Alves <palves@redhat.com>
3458
3459 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
3460 procedure.
3461 (do_vfork_and_follow_child_tests_exec)
3462 (do_vfork_and_follow_child_tests_exit): Call it.
3463
3464 2012-11-05 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
3467 fails.
3468
3469 2012-11-03 Yao Qi <yao@codesourcery.com>
3470
3471 Fix PR gdb/14617.
3472 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3473 Remove setup_kfail, and update test.
3474
3475 2012-11-02 Tom Tromey <tromey@redhat.com>
3476
3477 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3478 test.
3479
3480 2012-11-02 Pedro Alves <palves@redhat.com>
3481
3482 PR gdb/14766
3483
3484 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3485 setup_kfail.
3486 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3487 get registers".
3488
3489 2012-11-02 Pedro Alves <palves@redhat.com>
3490
3491 * gdb.base/foll-vfork-exit.c: New file.
3492 * gdb.base/foll-vfork.exp (top level): New file-describing
3493 comment.
3494 (vfork_child_follow_to_exit): New procedure.
3495 (tcatch_vfork_then_child_follow): Rename as ...
3496 (tcatch_vfork_then_child_follow_exec): ... this.
3497 (tcatch_vfork_then_child_follow_exit): New procedure.
3498 (do_vfork_and_follow_parent_tests): New procedure, factored out
3499 from do_vfork_and_exec_tests.
3500 (do_vfork_and_follow_child_tests_exec): Ditto.
3501 (do_vfork_and_exec_tests): Delete.
3502 (do_vfork_and_follow_child_tests_exit): New procedure.
3503 (top level): Run tests with both the program that has the vfork
3504 child execing, and the program has the vfork child exiting.
3505
3506 2012-11-02 Pedro Alves <palves@redhat.com>
3507
3508 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3509 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3510 (vfork_parent_follow_to_bp): Call it.
3511 (kill_child): Delete.
3512 (vfork_and_exec_child_follow_to_main_bp)
3513 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3514 longer call kill_child.
3515 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3516 (do_vfork_and_exec_tests): Don't runto_main before calling each
3517 test procedure.
3518 (top level): Don't clean restart and set verbose before running
3519 each test procedure.
3520
3521 2012-11-02 Pedro Alves <palves@redhat.com>
3522
3523 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3524 (vfork_parent_follow_to_bp)
3525 (vfork_and_exec_child_follow_to_main_bp)
3526 (vfork_and_exec_child_follow_through_step)
3527 (tcatch_vfork_then_parent_follow)
3528 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3529 Use with_test_prefix.
3530
3531 2012-11-02 Pedro Alves <palves@redhat.com>
3532
3533 * gdb.base/foll-vfork.c: Add copyright header.
3534 * gdb.base/vforked-prog.c: Add copyright header.
3535
3536 2012-11-02 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/foll-vfork.exp
3539 (vfork_and_exec_child_follow_through_step): Don't skip on
3540 non-HP/UX targets. Expect the next to only step one line on
3541 non-HP/UX targets, rather than stopping only after the exec.
3542
3543 2012-11-02 Pedro Alves <palves@redhat.com>
3544
3545 Don't hard code line numbers.
3546
3547 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3548 Expect text from the sources instead of a line number.
3549 (vfork_parent_follow_to_bp)
3550 (vfork_and_exec_child_follow_to_main_bp)
3551 (vfork_and_exec_child_follow_through_step)
3552 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3553 Use gdb_get_line_number.
3554
3555 2012-11-02 Pedro Alves <palves@redhat.com>
3556
3557 Modernize.
3558
3559 * gdb.base/foll-vfork.exp: Use standard_testfile and
3560 build_executable. Pass descriptive string to untested.
3561 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3562 (vfork_and_exec_child_follow_to_main_bp)
3563 (vfork_and_exec_child_follow_through_step)
3564 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3565 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3566 of send_gdb/gdb_expect.
3567
3568 (kill_child): New procedure.
3569 (vfork_and_exec_child_follow_to_main_bp)
3570 (vfork_and_exec_child_follow_through_step): Use it.
3571
3572 2012-11-02 Yao Qi <yao@codesourcery.com>
3573
3574 * gdb.base/setvar.exp: Test setting nested struct.
3575 * gdb.base/setvar.c (v_struct3): New.
3576
3577 2012-11-01 Doug Evans <dje@google.com>
3578
3579 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3580 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3581 use them.
3582
3583 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
3584
3585 PR cli/14772
3586 * gdb.base/gnu_vector.c (union_with_vector_1)
3587 (struct_with_vector_1): Add new struct and union for testing
3588 ptype.
3589 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3590 structs / unions containing vectors.
3591
3592 2012-10-25 Yao Qi <yao@codesourcery.com>
3593
3594 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3595 'setup_kfail' instead of 'setup_kfail_for_target'.
3596 * gdb.base/varargs.exp: Likewise.
3597 * lib/gdb.exp (setup_kfail_for_target): Remove.
3598
3599 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3600
3601 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3602
3603 2012-10-25 Mark Kettenis <kettenis@gnu.org>
3604
3605 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3606
3607 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3608
3609 * gdb.ada/set_wstr: New testcase.
3610
3611 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3612
3613 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3614
3615 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3616
3617 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3618
3619 2012-10-24 Mark Kettenis <kettenis@gnu.org>
3620
3621 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3622
3623 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3624
3625 * gdb.base/callfuncs.exp (do_function_calls): Fix
3626 setup_kfail_for_target for -m32 mode.
3627
3628 2012-10-23 Mark Kettenis <kettenis@gnu.org>
3629
3630 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3631 are now fixed.
3632
3633 2012-10-23 Yao Qi <yao@codesourcery.com>
3634
3635 * gdb.base/info-os.exp: Resume the inferior until it exits.
3636
3637 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3638
3639 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3640 * gdb.base/print-file-var.exp: Likewise.
3641 * gdb.base/type-opaque.exp: Likewise.
3642
3643 2012-10-17 Yao Qi <yao@codesourcery.com>
3644
3645 * gdb.mi/mi-memory-changed.exp: New.
3646
3647 2012-10-16 Yao Qi <yao@codesourcery.com>
3648
3649 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3650 returns true.
3651 Call gdb_load_shlibs.
3652 * gdb.reverse/solib-reverse.exp: Likewise.
3653
3654 2012-10-15 Keith Seitz <keiths@redhat.com>
3655
3656 * lib/cp-support.exp (cp_test_ptype_class): Add support
3657 for class typedefs.
3658
3659 * gdb.cp/derivation.exp: Add tests for g_instance.
3660
3661 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3662
3663 Fix entry values resolving in inlined frames.
3664 * gdb.arch/amd64-entry-value-inline.S: New file.
3665 * gdb.arch/amd64-entry-value-inline.c: New file.
3666 * gdb.arch/amd64-entry-value-inline.exp: New file.
3667
3668 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3669 Doug Evans <dje@google.com>
3670
3671 Fix recent gdb_breakpoint regression.
3672 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3673 braces from the parameter.
3674 * gdb.java/jprint.exp: Likewise.
3675
3676 2012-10-15 Doug Evans <dje@google.com>
3677
3678 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3679
3680 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3681
3682 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3683
3684 2012-10-15 Tom Tromey <tromey@redhat.com>
3685
3686 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3687
3688 2012-10-15 Tom Tromey <tromey@redhat.com>
3689
3690 * gdb.python/py-symbol.exp: Test symbol destructor.
3691
3692 2012-10-14 Yao Qi <yao@codesourcery.com>
3693
3694 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3695 * gdb.mi/mi-cli.exp: New.
3696
3697 * gdb.mi/mi2-basics.exp: Remove.
3698 * gdb.mi/mi2-break.exp: Remove.
3699 * gdb.mi/mi2-console.exp: Remove.
3700 * gdb.mi/mi2-disassemble.exp: Remove.
3701 * gdb.mi/mi2-eval.exp: Remove.
3702 * gdb.mi/mi2-file.exp: Remove.
3703 * gdb.mi/mi2-hack-cli.exp: Remove.
3704 * gdb.mi/mi2-pthreads.exp: Remove.
3705 * gdb.mi/mi2-read-memory.exp: Remove.
3706 * gdb.mi/mi2-regs.exp: Remove.
3707 * gdb.mi/mi2-return.exp: Remove.
3708 * gdb.mi/mi2-simplerun.exp: Remove.
3709 * gdb.mi/mi2-stack.exp: Remove.
3710 * gdb.mi/mi2-stepi.exp: Remove.
3711 * gdb.mi/mi2-syn-frame.exp: Remove.
3712 * gdb.mi/mi2-until.exp: Remove.
3713 * gdb.mi/mi2-watch.exp: Remove.
3714 * gdb.mi/mi2-var-block.exp: Remove.
3715 * gdb.mi/mi2-var-cmd.exp: Remove.
3716 * gdb.mi/mi2-var-display.exp: Remove.
3717
3718 2012-10-12 Yao Qi <yao@codesourcery.com>
3719
3720 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3721 trail '.*' on matching patterns.
3722
3723 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3724
3725 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3726 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3727 * gdb.arch/i386-disp-step.exp: Likewise.
3728 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3729 * gdb.arch/i386-prologue.exp: Likewise.
3730 * gdb.arch/i386-size-overlap.exp: Likewise.
3731 * gdb.arch/i386-size.exp: Likewise.
3732 * gdb.arch/i386-unwind.exp: Likewise.
3733
3734 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3735
3736 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3737 * gdb.arch/i386-word.exp: Likewise.
3738
3739 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3742 is_ilp32_target to set nr_regs.
3743 * gdb.arch/i386-sse.exp: Likewise.
3744
3745 2012-10-11 Doug Evans <dje@google.com>
3746
3747 PR breakpoints/14643.
3748 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3749 * gdb.linespec/thread.c: New file.
3750 * gdb.linespec/thread.exp: New file.
3751
3752 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3753 Recognize "message" -> print pass and fail. Add eof case.
3754 (runto): Recognize message, no-message. Print pass/fail if requested,
3755 with same treatment as gdb_breakpoint.
3756 (runto_main): Pass no-message to runto.
3757 (gdb_internal_error_resync): Add log message.
3758 (gdb_file_cmd): Tweak internal error fail text for consistency.
3759
3760 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3761
3762 Fix crash during stepping on ppc32.
3763 * gdb.base/step-symless.c: New file.
3764 * gdb.base/step-symless.exp: New file.
3765
3766 2012-10-03 Doug Evans <dje@google.com>
3767
3768 PR symtab/14601
3769 * gdb.cp/using-crash.exp: New file.
3770 * gdb.cp/using-crash.cc: New file.
3771
3772 2012-10-02 Doug Evans <dje@google.com>
3773
3774 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3775 more consistent.
3776 (runto,gdb_debug_format): Ditto.
3777 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3778 Clean up logging and error messages.
3779
3780 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
3781
3782 Test find command on unmapped memory.
3783 * gdb.base/find-unmapped.c: New file.
3784 * gdb.base/find-unmapped.exp: New file.
3785
3786 2012-09-29 Yao Qi <yao@codesourcery.com>
3787
3788 * gdb.trace/mi-tracepoint-changed.exp: New.
3789 * gdb.mi/mi-breakpoint-changed.exp: New.
3790 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3791 * gdb.mi/pendshr2.c: New.
3792
3793 2012-09-28 Yao Qi <yao@codesourcery.com>
3794
3795 * gdb.mi/pr11022.exp: New.
3796 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3797
3798 2012-09-27 Tom Tromey <tromey@redhat.com>
3799
3800 * gdb.cp/derivation.exp: Add regression test.
3801 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3802 V_derived): New.
3803 (vderived): New global.
3804
3805 2012-09-26 Tom Tromey <tromey@redhat.com>
3806
3807 * gdb.dwarf2/dw2-common-block.S: New file.
3808 * gdb.dwarf2/dw2-common-block.exp: New file.
3809
3810 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3811
3812 * gdb.fortran/common-block.exp: New file.
3813 * gdb.fortran/common-block.f90: New file.
3814
3815 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
3816
3817 * gdb.base/duplicate-bp.c: New file.
3818 * gdb.base/duplicate-bp.exp: New file.
3819
3820 2012-09-26 Yao Qi <yao@codesourcery.com>
3821
3822 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3823
3824 Revert:
3825 2012-09-21 Yao Qi <yao@codesourcery.com>
3826
3827 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3828
3829 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3830
3831 * gdb.base/longest-types.c: New test case.
3832 * gdb.base/longest-types.exp: New test case.
3833
3834 2012-09-25 Yao Qi <yao@codesourcery.com>
3835
3836 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3837
3838 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3839
3840 Fix internal error on canonicalization of clang types.
3841 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3842 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3843 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3844
3845 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3846
3847 Fix disassemble without parameters in tailcall frame.
3848 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3849
3850 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
3851
3852 * gdb.dwarf2/dw2-op-out-param.S: New file.
3853 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3854
3855 2012-09-21 Yao Qi <yao@codesourcery.com>
3856
3857 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3858
3859 2012-09-21 Yao Qi <yao@codesourcery.com>
3860
3861 * gdb.mi/mi-cli.exp: Remove.
3862 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3863
3864 2012-09-21 Yao Qi <yao@codesourcery.com>
3865
3866 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3867 "=record-started" notification.
3868
3869 2012-09-21 Yao Qi <yao@codesourcery.com>
3870
3871 * gdb.mi/mi-record-changed.exp: New.
3872 * gdb.mi/mi-reverse.exp: Adjust expected output.
3873
3874 2012-09-20 Tom Tromey <tromey@redhat.com>
3875
3876 * gdb.python/python.exp: Test atexit.register.
3877
3878 2012-09-20 Doug Evans <dje@google.com>
3879
3880 * boards/dwarf4-gdb-index.exp: New file.
3881
3882 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3883 while running the tests.
3884
3885 2012-09-18 Joel Brobecker <brobecker@adacore.com>
3886
3887 * gdb.ada/bp_reset: New testcase.
3888
3889 2012-09-18 Yao Qi <yao@codesourcery.com>
3890
3891 * gdb.trace/mi-tsv-changed.exp: New.
3892
3893 2012-09-18 Yao Qi <yao@codesourcery.com>
3894
3895 * gdb.trace/mi-traceframe-changed.exp: New.
3896
3897 2012-09-17 Yao Qi <yao@codesourcery.com>
3898
3899 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3900 when it is less than 0.
3901
3902 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3903
3904 PR 14119
3905 * gdb.arch/amd64-tailcall-ret.S: New file.
3906 * gdb.arch/amd64-tailcall-ret.c: New file.
3907 * gdb.arch/amd64-tailcall-ret.exp: New file.
3908 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3909 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3910 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3911
3912 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3913
3914 PR 14548
3915 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3916 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3917 * gdb.reverse/singlejmp-reverse.S: New file.
3918 * gdb.reverse/singlejmp-reverse.c: New file.
3919 * gdb.reverse/singlejmp-reverse.exp: New file.
3920
3921 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3922
3923 Fix compatibility with old GCC (~4.1).
3924 * gdb.cp/converts.cc (my_enum_var): New variable.
3925
3926 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
3927
3928 * gdb.xml/tdesc-regs.exp: Update expected output for new
3929 vector_size syntax of vector types.
3930
3931 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3932
3933 Refactor Python "gdb" module into a proper Python package, by
3934 introducing a new "_gdb" module for code implemented in C, and
3935 using reload/__import__ instead of exec.
3936 * gdb.python/python.exp (Test stderr location): Update module
3937 location of GDB-specific sys.stderr.
3938 (Test stdout location): Ditto for sys.stdout.
3939
3940 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3941
3942 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3943
3944 2012-09-12 Keith Seitz <keiths@redhat.com>
3945
3946 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3947 conversion statement.
3948
3949 2012-09-12 Doug Evans <dje@google.com>
3950
3951 * gdb.base/help.exp: Remove testing of individual command help text,
3952 too much of a maintenance burden. Instead, test the functionality
3953 of "help" itself.
3954
3955 2012-09-11 Doug Evans <dje@google.com>
3956
3957 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3958 breakpoint.
3959
3960 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3961 * gdb.dwarf2/fission-reread.S: Ditto.
3962 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3963 * gdb.dwarf2/fission-reread.exp: Ditto.
3964
3965 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3966
3967 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3968
3969 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3970
3971 * gdb.ada/optim_drec: New testcase.
3972
3973 2012-09-10 Doug Evans <dje@google.com>
3974
3975 * boards/fission.exp: Explicitly mark "board" as not remote.
3976
3977 2012-09-10 Keith Seitz <keiths@redhat.com>
3978
3979 PR gdb/13483
3980 * gdb.cp/converts.cc (A::A): Add ctor.
3981 (A::member_): Add member.
3982 (enum my_enum): New enumeration.
3983 (main): Add calls to foo1_7 with various
3984 permitted arguments.
3985 * gdb.cp/converts.exp: Add tests for boolean
3986 conversions permitted by the standard.
3987
3988 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3989
3990 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3991 avoid spurious results due to ~/.gdbinit.
3992 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3993 $INTERNAL_GDBFLAGS in run command.
3994 * gdb.gdb/observer.exp (setup_test): Ditto.
3995 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3996 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3997
3998 2012-09-06 Doug Evans <dje@google.com>
3999
4000 * boards/fission.exp: New file.
4001
4002 * gdb.python/py-value.exp: Use clean_restart.
4003
4004 2012-09-05 Doug Evans <dje@google.com>
4005
4006 * gdb.base/info-macros.c: Fix whitespace.
4007
4008 2012-08-28 Pedro Alves <palves@redhat.com>
4009
4010 PR gdb/14428
4011
4012 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
4013
4014 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4015
4016 * gdb.base/break-caller-line.c: New file.
4017 * gdb.base/break-caller-line.exp: New file.
4018
4019 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4020
4021 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
4022 * gdb.arch/i386-cfi-notcurrent.S: New file.
4023 * gdb.arch/i386-cfi-notcurrent.exp: New file.
4024
4025 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
4026 Yao Qi <yao@codesourcery.com>
4027 Pedro Alves <palves@redhat.com>
4028
4029 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
4030 New procedures.
4031 (top level): Add overlap checking tests.
4032
4033 2012-08-24 Tom Tromey <tromey@redhat.com>
4034
4035 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
4036 gdb_test_multiple fails for other reasons.
4037
4038 2012-08-24 Yao Qi <yao@codesourcery.com>
4039
4040 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
4041
4042 2012-08-23 Pedro Alves <palves@redhat.com>
4043
4044 * gdb.base/help.exp: Adjust to "handle" help text change.
4045
4046 2012-08-23 Yao Qi <yao@codesourcery.com>
4047
4048 * gdb.trace/disconnected-tracing.c (start, end): New.
4049 (main): Call start and end.
4050 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
4051 existing tests into this proc.
4052 (disconnected_tfind): New.
4053
4054 2012-08-23 Yao Qi <yao@codesourcery.com>
4055
4056 * boards/native-gdbserver.exp (${board}_upload): New.
4057 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
4058 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
4059 Execute tfile on remote target.
4060 Copy trace file from target to host.
4061
4062 2012-08-22 Joseph Myers <joseph@codesourcery.com>
4063
4064 * gdb.arch/thumb-bx-pc.S: New file.
4065 * gdb.arch/thumb-bx-pc.exp: New file.
4066
4067 2012-08-22 Tom Tromey <tromey@redhat.com>
4068
4069 * gdb.base/maint.exp: Update.
4070
4071 2012-08-22 Tom Tromey <tromey@redhat.com>
4072
4073 * lib/gdb.exp (skip_unwinder_tests): New proc.
4074 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
4075 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
4076
4077 2012-08-21 Tom Tromey <tromey@redhat.com>
4078
4079 * gdb.hp/gdb.aCC/exception.exp: Remove.
4080
4081 012-08-19 Andrew Pinski <apinski@cavium.com>
4082
4083 * gdb.arch/mips-octeon-bbit.c: New file.
4084 * gdb.arch/mips-octeon-bbit.exp: New Test.
4085
4086 012-08-19 Keith Seitz <keiths@redhat.com>
4087
4088 PR c++/14365
4089 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
4090 * gdb.dwarf2/dw2-anon-mptr.S: New file.
4091
4092 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4093
4094 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
4095 verbose -log by more specific untested call.
4096
4097 2012-08-18 Yao Qi <yao@codesourcery.com>
4098
4099 * gdb.trace/tfind.exp: Move tests on various command help before
4100 checking target supports trace.
4101 Fix the expected output of 'help tfind end'.
4102
4103 2012-08-17 Keith Seitz <keiths@redhat.com>
4104
4105 PR c++/13356
4106 * gdb.base/default.exp: Update all "check type" tests.
4107 * gdb.base/help.exp: Likewise.
4108 * gdb.base/setshow.exp: Likewise.
4109 * gdb.cp/converts.cc (foo1_type_check): New function.
4110 (foo2_type_check): New function.
4111 (foo3_type_check): New function.
4112 (main): Call new functions.
4113 * converts.exp: Add tests for integer-to-pointer conversions
4114 with/without strict type-checking.
4115
4116 2012-08-16 Mike Frysinger <vapier@gentoo.org>
4117
4118 * gdb.base/help.exp: Update expected output.
4119
4120 2012-08-16 Joel Brobecker <brobecker@adacore.com>
4121
4122 * gdb.ada/rdv_wait: New testcase.
4123
4124 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4125
4126 * gdb.base/attach-twice.exp: Remove excessive ps exec.
4127
4128 2012-08-13 Doug Evans <dje@google.com>
4129
4130 * gdb.base/help.exp: Update expected output.
4131 * gdb.base/default.exp: Update expected output of "show convenience".
4132
4133 2012-08-10 Doug Evans <dje@google.com>
4134
4135 * gdb.python/py-strfns.c: New file.
4136 * gdb.python/py-strfns.exp: New file.
4137 * gdb.python/py-type.exp (test_fields): Add vector tests.
4138
4139 2012-08-10 Mike Frysinger <vapier@gentoo.org>
4140
4141 PR cli/10436:
4142 * gdb.base/completion.exp: Add tests for handle completion.
4143
4144 2012-08-09 Yao Qi <yao@codesourcery.com>
4145
4146 * gdb.mi/mi-cmd-param-changed.exp: New.
4147 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
4148 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
4149 * gdb.mi/mi2-prompt.exp: Likewise.
4150
4151 2012-08-08 Doug Evans <dje@google.com>
4152
4153 * gdb.base/debug-expr.c: New file.
4154 * gdb.base/debug-expr.exp: New file.
4155 * gdb.base/exprs.exp: Test {type} casts.
4156 * gdb.cp/debug-expr.exp: New file.
4157
4158 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4159
4160 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
4161 global variable loop, not a 'break'. Add loop count limit to 100.
4162 Add new fail case for terminated vgdb.
4163
4164 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4165 Jean-Marc Saffroy <saffroy@gmail.com>
4166
4167 PR 11804
4168 * gdb.base/gcore-relro.exp: New file.
4169 * gdb.base/gcore-relro-main.c: New file.
4170 * gdb.base/gcore-relro-lib.c: New file.
4171
4172 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4173
4174 Do not false FAIL with old GCCs.
4175 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
4176 GCC < 4.5 in $no_hw mode.
4177
4178 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4179
4180 * gdb.base/default.exp (cd): Accept new directory with no arguments.
4181
4182 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4183
4184 * gdb.base/list.exp (test_only_end): New function.
4185 Call it.
4186
4187 2012-08-06 Tom Tromey <tromey@redhat.com>
4188
4189 * gdb.python/py-mi.exp: Add test for printer whose children
4190 are a list.
4191 * gdb.python/py-prettyprint.c (struct children_as_list): New.
4192 (main): New variable children_as_list.
4193 * gdb.python/py-prettyprint.py (class pp_children_as_list):
4194 New.
4195 (register_pretty_printers): Register new printer.
4196
4197 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4198
4199 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
4200 symbols. Abort if vgdb remote connection is closed.
4201
4202 2012-08-02 Doug Evans <dje@google.com>
4203
4204 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
4205
4206 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
4207
4208 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
4209 s390x, PowerPC 64 and m68k-linux.
4210
4211 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4212
4213 * gdb.base/annota1.exp: Accept no frames-invalid notification
4214 when starting up the program.
4215 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
4216 show a symbolic value as well.
4217 * gdb.server/server-exec-info.exp: Skip test when skipping
4218 gdbserver test and/or when skipping shared library tests.
4219 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
4220 avoid name conflicts with other tests.
4221
4222 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4223
4224 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
4225 Fix wrong output on big-endian systems.
4226 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4227 4-byte pointer types on 64-bit s390x.
4228
4229 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4230
4231 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
4232 marker comment at the beginning (after intialization).
4233 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
4234 breakpoint on marker comment instead of function begin.
4235 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
4236 PowerPC.
4237 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
4238 or 64-bit PowerPC.
4239 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
4240 gdb,no_hardware_watchpoints flag is set.
4241 (initialize): Remove now redundant can-use-hw-watchpoints change.
4242
4243 2012-08-02 Yao Qi <yao@codesourcery.com>
4244 Pedro Alves <palves@redhat.com>
4245
4246 * boards/local-remote-host.exp: New.
4247
4248 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4249
4250 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
4251 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
4252 * gdb.base/print-file-var.exp: Likewise.
4253 * gdb.server/solib-list.exp: Skip on remote targets.
4254
4255 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4256
4257 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
4258 watchpoints on ARM. When expecting software watchpoints, tolerate
4259 (remote) targets that report unsupported hardware watchpoint only
4260 at continue time.
4261 (test_wide_location_2): Likewise.
4262
4263 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4264
4265 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
4266 valgrind versions.
4267
4268 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4269
4270 * gdb.base/valgrind-infcall.c: New file.
4271 * gdb.base/valgrind-infcall.exp: New file.
4272
4273 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
4274
4275 2012-07-30 Keith Seitz <keiths@redhat.com>
4276
4277 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
4278 linespecs.
4279
4280 2012-07-30 Doug Evans <dje@google.com>
4281
4282 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
4283 * gdb.dwarf2/pr13961.S: Ditto.
4284
4285 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
4286
4287 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
4288
4289 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
4290 change its format immediately after reloading the binary.
4291
4292 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4293
4294 Fix testsuite regression after --use-deprecated-index-sections removal.
4295 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
4296 string.
4297 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
4298
4299 2012-07-27 Yao Qi <yao@codesourcery.com>
4300
4301 KFAIL for PR remote/14161.
4302 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
4303 Cleanup socket files.
4304 (strace_info_marker): Detach inferior.
4305
4306 2012-07-26 Tom Tromey <tromey@redhat.com>
4307
4308 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
4309
4310 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
4311
4312 * gdb.python/py-inferior.c (thread): New function.
4313 (check_threads): New function.
4314 (test_threads): New function.
4315 * gdb.python/py-inferior.exp: Added test.
4316 Replaced runto with continue to breakpoint.
4317
4318 2012-07-26 Tom Tromey <tromey@redhat.com>
4319
4320 * lib/ada.exp (standard_ada_testfile): New proc.
4321 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
4322 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
4323 * gdb.ada/array_return.exp: Use standard_ada_testfile.
4324 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
4325 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
4326 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
4327 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
4328 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
4329 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
4330 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
4331 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
4332 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
4333 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
4334 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
4335 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
4336 * gdb.ada/char_param.exp: Use standard_ada_testfile.
4337 * gdb.ada/complete.exp: Use standard_ada_testfile.
4338 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
4339 standard_output_file.
4340 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
4341 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
4342 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
4343 standard_output_file.
4344 * gdb.ada/exprs.exp: Use standard_ada_testfile.
4345 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
4346 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
4347 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
4348 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
4349 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
4350 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
4351 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
4352 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
4353 * gdb.ada/homonym.exp: Use standard_ada_testfile.
4354 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
4355 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
4356 * gdb.ada/interface.exp: Use standard_ada_testfile.
4357 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
4358 standard_output_file
4359 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
4360 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
4361 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
4362 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
4363 * gdb.ada/nested.exp: Use standard_ada_testfile.
4364 * gdb.ada/null_array.exp: Use standard_ada_testfile.
4365 * gdb.ada/null_record.exp: Use standard_ada_testfile.
4366 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
4367 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
4368 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
4369 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
4370 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
4371 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
4372 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
4373 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
4374 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
4375 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
4376 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
4377 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
4378 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
4379 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
4380 * gdb.ada/start.exp: Use standard_ada_testfile.
4381 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
4382 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
4383 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
4384 * gdb.ada/tagged.exp: Use standard_ada_testfile.
4385 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
4386 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
4387 * gdb.ada/tasks.exp: Use standard_ada_testfile.
4388 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
4389 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
4390 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
4391 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
4392 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
4393 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
4394 * gdb.ada/widewide.exp: Use standard_ada_testfile.
4395
4396 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4397
4398 Fix testsuite regression after --use-deprecated-index-sections removal.
4399 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
4400
4401 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4402
4403 Fix compatibility with Tcl before 7.5.
4404 * lib/future.exp (lreverse): New function if it does not exist.
4405
4406 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
4407
4408 * gdb.mi/mi-pending.c: New method to set a second pending
4409 breakpoint.
4410 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
4411 condition.
4412
4413 2012-07-20 Pedro Alves <palves@redhat.com>
4414
4415 PR threads/11692
4416 PR gdb/12203
4417
4418 * gdb.threads/create-fail.c: New file.
4419 * gdb.threads/create-fail.exp: New file.
4420
4421 2012-07-19 Pedro Alves <palves@redhat.com>
4422
4423 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
4424 * config/vx.exp (gdb_start): Likewise.
4425 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
4426 * gdb.base/setvar.exp (test_set): Likewise.
4427 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
4428 * gdb.reverse/sigall-precsave.exp: Likewise.
4429 * gdb.reverse/sigall-reverse.exp: Likewise.
4430
4431 2012-07-19 Pedro Alves <palves@redhat.com>
4432
4433 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
4434 handler before recording.
4435
4436 2012-07-19 Tom Tromey <tromey@redhat.com>
4437
4438 * gdb.cp/casts.exp: Add tests for typeof and decltype.
4439 * gdb.cp/casts.cc (decltype): New function.
4440 (main): Use it.
4441
4442 2012-07-19 Pedro Alves <palves@redhat.com>
4443
4444 * gdb.base/sigall.exp (signals): New list.
4445 <top level>: Loop over signals in the $signals list instead of
4446 calling a test function once per signal.
4447 * gdb.reverse/sigall-precsave.exp (signals): New list.
4448 <top level>: Loop over signals in the $signals list instead of
4449 calling a test function once per signal.
4450 * gdb.reverse/sigall-reverse.exp (signals): New list.
4451 <top level>: Loop over signals in the $signals list instead of
4452 calling a test function once per signal.
4453
4454 2012-07-19 Yao Qi <yao@codesourcery.com>
4455
4456 * gdb.base/setshow.exp: Test 'set args ~'.
4457
4458 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4459
4460 * gdb.base/store.exp (check_set): Import gdb_prompt.
4461 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
4462 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
4463
4464 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4465
4466 PR 11914
4467 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
4468 (main): Call eval_sub.
4469 * gdb.python/py-prettyprint.exp:
4470 (python execfile ('py-prettyprint.py')): Move it earlier.
4471 New breakpoint for eval-break.
4472 (continue to breakpoint: eval-break, info locals): New test.
4473 (python execfile ('py-prettyprint.py')): Move it from here.
4474 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
4475 (register_pretty_printers): Register pp_eval_type.
4476
4477 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4478
4479 Fix a testcase regression by me.
4480 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4481 DW_FORM_data4.
4482
4483 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4484 Doug Evans <dje@google.com>
4485
4486 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4487 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4488
4489 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4490
4491 Fix gdbserver run regression.
4492 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4493
4494 2012-07-12 Tom Tromey <tromey@redhat.com>
4495
4496 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4497 (clean_restart): Likewise.
4498 (core_find): Use standard_output_file.
4499
4500 2012-07-12 Tom Tromey <tromey@redhat.com>
4501
4502 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4503 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4504 prepare_for_testing_full.
4505 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4506 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4507 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4508 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4509 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4510 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4511 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4512 prepare_for_testing_full.
4513 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4514 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4515 prepare_for_testing_full.
4516 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4517 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4518 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4519
4520 2012-07-12 Tom Tromey <tromey@redhat.com>
4521
4522 * lib/gdb.exp (build_executable_from_specs): New proc, from
4523 build_executable.
4524 (build_executable): Use it.
4525 (prepare_for_testing_full): New proc.
4526
4527 2012-07-11 Tom Tromey <tromey@redhat.com>
4528
4529 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4530 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4531 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4532 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4533 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4534 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4535 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4536 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4537 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4538 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4539
4540 2012-07-10 Tom Tromey <tromey@redhat.com>
4541
4542 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4543 standard_output_file.
4544 * gdb.mi/gdb2549.exp: Use standard_testfile.
4545 * gdb.mi/gdb669.exp: Use standard_testfile.
4546 * gdb.mi/gdb701.exp: Use standard_testfile.
4547 * gdb.mi/gdb792.exp: Use standard_testfile.
4548 * gdb.mi/mi-async.exp: Use standard_testfile.
4549 * gdb.mi/mi-basics.exp: Use standard_testfile.
4550 * gdb.mi/mi-break.exp: Use standard_testfile.
4551 * gdb.mi/mi-cli.exp: Use standard_testfile.
4552 * gdb.mi/mi-console.exp: Use standard_testfile.
4553 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4554 * gdb.mi/mi-eval.exp: Use standard_testfile.
4555 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4556 * gdb.mi/mi-file.exp: Use standard_testfile.
4557 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4558 * gdb.mi/mi-logging.exp: Use standard_testfile.
4559 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4560 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4561 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4562 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4563 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4564 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4565 * gdb.mi/mi-pending.exp: Use standard_testfile,
4566 standard_output_file.
4567 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4568 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4569 * gdb.mi/mi-regs.exp: Use standard_testfile.
4570 * gdb.mi/mi-return.exp: Use standard_testfile.
4571 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4572 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4573 * gdb.mi/mi-solib.exp: Use standard_testfile,
4574 standard_output_file.
4575 * gdb.mi/mi-stack.exp: Use standard_testfile.
4576 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4577 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4578 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4579 * gdb.mi/mi-until.exp: Use standard_testfile.
4580 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4581 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4582 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4583 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4584 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4585 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4586 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4587 standard_output_file.
4588 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4589 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4590 * gdb.mi/mi-watch.exp: Use standard_testfile.
4591 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4592 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4593 * gdb.mi/mi2-break.exp: Use standard_testfile.
4594 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4595 * gdb.mi/mi2-console.exp: Use standard_testfile.
4596 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4597 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4598 * gdb.mi/mi2-file.exp: Use standard_testfile.
4599 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4600 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4601 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4602 * gdb.mi/mi2-return.exp: Use standard_testfile.
4603 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4604 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4605 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4606 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4607 * gdb.mi/mi2-until.exp: Use standard_testfile.
4608 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4609 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4610 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4611 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4612 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4613
4614 2012-07-10 Tom Tromey <tromey@redhat.com>
4615
4616 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4617 * gdb.cp/ambiguous.exp: Use standard_testfile,
4618 prepare_for_testing.
4619 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4620 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4621 * gdb.cp/anon-ns.exp: Use standard_testfile.
4622 * gdb.cp/anon-struct.exp: Use standard_testfile.
4623 * gdb.cp/anon-union.exp: Use standard_testfile,
4624 prepare_for_testing.
4625 * gdb.cp/arg-reference.exp: Use standard_testfile,
4626 prepare_for_testing.
4627 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4628 * gdb.cp/breakpoint.exp: Use standard_testfile,
4629 prepare_for_testing.
4630 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4631 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4632 standard_output_file.
4633 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4634 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4635 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4636 (test_static_members): Update.
4637 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4638 * gdb.cp/converts.exp: Use standard_testfile.
4639 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4640 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4641 prepare_for_testing.
4642 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4643 * gdb.cp/cplabel.exp: Use standard_testfile.
4644 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4645 prepare_for_testing.
4646 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4647 * gdb.cp/derivation.exp: Use standard_testfile,
4648 prepare_for_testing.
4649 * gdb.cp/destrprint.exp: Use standard_testfile.
4650 * gdb.cp/dispcxx.exp: Use standard_testfile.
4651 * gdb.cp/exception.exp: Use standard_testfile,
4652 prepare_for_testing.
4653 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4654 * gdb.cp/extern-c.exp: Use standard_testfile,
4655 prepare_for_testing.
4656 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4657 prepare_for_testing.
4658 * gdb.cp/fpointer.exp: Use standard_testfile.
4659 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4660 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4661 standard_output_file.
4662 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4663 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4664 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4665 standard_output_file.
4666 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4667 (do_tests): Update.
4668 * gdb.cp/koenig.exp: Use standard_testfile.
4669 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4670 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4671 * gdb.cp/m-static.exp: Use standard_testfile,
4672 prepare_for_testing.
4673 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4674 * gdb.cp/mb-inline.exp: Use standard_testfile,
4675 prepare_for_testing.
4676 * gdb.cp/mb-templates.exp: Use standard_testfile,
4677 prepare_for_testing.
4678 * gdb.cp/member-ptr.exp: Use standard_testfile,
4679 prepare_for_testing.
4680 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4681 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4682 * gdb.cp/method2.exp: Use standard_testfile.
4683 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4684 standard_output_file.
4685 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4686 (do_tests): Update.
4687 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4688 prepare_for_testing.
4689 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4690 prepare_for_testing.
4691 * gdb.cp/namespace.exp: Use standard_testfile,
4692 prepare_for_testing.
4693 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4694 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4695 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4696 * gdb.cp/nsimport.exp: Use standard_testfile,
4697 prepare_for_testing.
4698 * gdb.cp/nsnested.exp: Use standard_testfile.
4699 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4700 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4701 prepare_for_testing.
4702 * gdb.cp/nsstress.exp: Use standard_testfile,
4703 prepare_for_testing.
4704 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4705 * gdb.cp/operator.exp: Use standard_testfile.
4706 * gdb.cp/oranking.exp: Use standard_testfile.
4707 * gdb.cp/overload-const.exp: Use standard_testfile.
4708 * gdb.cp/overload.exp: Use standard_testfile,
4709 prepare_for_testing.
4710 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4711 * gdb.cp/ovsrch.exp: Use standard_testfile.
4712 * gdb.cp/paren-type.exp: Use standard_testfile.
4713 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4714 prepare_for_testing.
4715 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4716 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4717 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4718 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4719 * gdb.cp/pr10728.exp: Use standard_testfile,
4720 standard_output_file.
4721 * gdb.cp/pr12028.exp: Use standard_testfile.
4722 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4723 * gdb.cp/pr9167.exp: Use standard_testfile.
4724 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4725 * gdb.cp/printmethod.exp: Use standard_testfile,
4726 prepare_for_testing.
4727 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4728 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4729 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4730 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4731 standard_output_file.
4732 * gdb.cp/readnow-language.exp: Use standard_testfile.
4733 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4734 (gdb_start_again): Use clean_restart.
4735 * gdb.cp/ref-types.exp: Use standard_testfile,
4736 prepare_for_testing.
4737 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4738 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4739 * gdb.cp/smartp.exp: Use standard_testfile.
4740 * gdb.cp/static-method.exp: Use standard_testfile.
4741 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4742 * gdb.cp/temargs.exp: Use standard_testfile.
4743 * gdb.cp/templates.exp: Use standard_testfile,
4744 prepare_for_testing.
4745 (do_tests): Update.
4746 * gdb.cp/try_catch.exp: Use standard_testfile,
4747 prepare_for_testing.
4748 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4749 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4750 * gdb.cp/virtbase.exp: Use standard_testfile,
4751 prepare_for_testing.
4752 * gdb.cp/virtfunc.exp: Use standard_testfile,
4753 prepare_for_testing.
4754 (do_tests): Update.
4755 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4756 prepare_for_testing.
4757
4758 2012-07-10 Tom Tromey <tromey@redhat.com>
4759
4760 * lib/gdb.exp (standard_testfile): Unset output variables from
4761 earlier invocations.
4762
4763 2012-07-10 Yao Qi <yao@codesourcery.com>
4764
4765 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4766 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4767 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4768 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4769 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4770 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4771 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4772 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4773 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4774 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4775 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4776 * gdb.mi/mi-var-display.exp: Likewise.
4777 * gdb.mi/mi-var-invalidate.exp: Likewise.
4778 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4779 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4780 * gdb.mi/mi2-console.exp: Likewise.
4781 * gdb.mi/mi2-disassemble.exp: Likewise.
4782 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4783 * gdb.mi/mi2-read-memory.exp: Likewise.
4784 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4785 * gdb.mi/mi2-simplerun.exp: Likewise.
4786 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4787 * gdb.mi/mi2-syn-frame.exp: Likewise.
4788 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4789 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4790 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4791
4792 2012-07-09 Tom Tromey <tromey@redhat.com>
4793
4794 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4795 * gdb.base/callfuncs.exp: Add cast-based test.
4796 * gdb.base/callfuncs.c (voidfunc): New function.
4797
4798 2012-07-08 Doug Evans <dje@google.com>
4799
4800 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4801
4802 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4803
4804 Fix XFAIL compatibility with old i386 systems.
4805 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4806 Check also 'Cannot insert breakpoint 0'.
4807
4808 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4809
4810 PR 14321
4811 * gdb.base/find.exp
4812 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4813
4814 2012-07-06 Tom Tromey <tromey@redhat.com>
4815
4816 * gdb.base/whatis.exp: Add test.
4817
4818 2012-07-06 Tom Tromey <tromey@redhat.com>
4819
4820 * gdb.base/whatis.exp: Add regression test.
4821
4822 2012-07-06 Tom Tromey <tromey@redhat.com>
4823
4824 * gdb.base/whatis.exp: Add tests.
4825
4826 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4827
4828 PR 12649
4829 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4830 gdb_test_multiple $gdb_prompt terminator.
4831
4832 2012-07-04 Pedro Alves <palves@redhat.com>
4833
4834 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4835 supports_process_record.
4836
4837 2012-07-04 Pedro Alves <palves@redhat.com>
4838
4839 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4840 endings.
4841 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4842
4843 2012-07-03 Stan Shebs <stan@codesourcery.com>
4844
4845 * gdb.base/info-os.c (main): Retry resource acquisition until an
4846 available one is found.
4847 * gdb.base/info-os.exp: Collect resource keys from the program
4848 and use them in matching.
4849
4850 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4851
4852 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4853 Wrap the test into loop for corefile and core0file.
4854
4855 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4856
4857 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4858 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4859 .note.GNU-stack.
4860
4861 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4862
4863 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4864
4865 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4866 break): Include help message for the new `-probe' and `-probe-stap'
4867 options.
4868
4869 2012-07-02 Stan Shebs <stan@codesourcery.com>
4870
4871 * gdb.base/dprintf.exp: Add agent style tests.
4872
4873 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4874
4875 * gdb.base/stale-infcall.c (infcall): New label test-next.
4876 (main): New labels test-pass and test-fail.
4877 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4878 $test_fail_bpnum to test-fail.
4879 (test system longjmp tracking support): New test.
4880 Delete $test_fail_bpnum.
4881 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4882 breakpoint.
4883
4884 2012-06-30 Doug Evans <dje@google.com>
4885
4886 * gdb.dwarf2/fission-reread.S: New file.
4887 * gdb.dwarf2/fission-reread.exp: New file.
4888
4889 2012-06-28 Stan Shebs <stan@codesourcery.com>
4890
4891 * gdb.mi/mi-logging.exp: New file.
4892
4893 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4894 Pedro Alves <palves@redhat.com>
4895
4896 * gdb.threads/siginfo-threads.exp: New file.
4897 * gdb.threads/siginfo-threads.c: New file.
4898 * gdb.threads/sigstep-threads.exp: New file.
4899 * gdb.threads/sigstep-threads.c: New file.
4900
4901 2012-06-28 Tom Tromey <tromey@redhat.com>
4902
4903 * gdb.go/package.exp: Partially revert earlier patch; use
4904 gdb_compile again. Use standard_output_file.
4905
4906 2012-06-27 Doug Evans <dje@google.com>
4907
4908 * gdb.dwarf2/fission-base.c: New file.
4909 * gdb.dwarf2/fission-base.S: New file.
4910 * gdb.dwarf2/fission-base.exp: New file.
4911
4912 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4915
4916 2012-06-27 Tom Tromey <tromey@redhat.com>
4917
4918 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4919 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4920
4921 2012-06-27 Tom Tromey <tromey@redhat.com>
4922
4923 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4924 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4925 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4926 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4927 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4928 prepare_for_testing.
4929 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4930 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4931 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4932 standard_testfile.
4933 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4934 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4935 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4936 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4937 prepare_for_testing.
4938 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4939 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4940 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4941 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4942 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4943 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4944 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4945 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4946 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4947 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4948 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4949 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4950 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4951 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4952 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4953 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4954 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4955 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4956 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4957 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4958 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4959 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4960 standard_output_file.
4961 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4962 standard_output_file.
4963 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4964 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4965 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4966 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4967 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4968 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4969 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4970 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4971 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4972 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4973 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4974 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4975 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4976 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4977 * gdb.dwarf2/valop.exp: Use standard_testfile,
4978 prepare_for_testing.
4979
4980 2012-06-27 Tom Tromey <tromey@redhat.com>
4981
4982 * gdb.python/python.exp: Fix regexps in pagination tests.
4983
4984 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4985
4986 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4987 'last' of gdb.Symtab_and_line.
4988 * gdb.python/py-symbol.c: Move break point comment to enable
4989 testing of gdb.Symtab_and_line.last.
4990
4991 2012-06-26 Tom Tromey <tromey@redhat.com>
4992
4993 * gdb.threads/step.c: Remove.
4994 * gdb.threads/step.exp: Remove.
4995 * gdb.threads/step2.exp: Remove.
4996
4997 2012-06-26 Tom Tromey <tromey@redhat.com>
4998
4999 * gdb.threads/watchpoint-fork.exp (test): Use
5000 standard_output_file. Don't declare objdir.
5001 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
5002 standard_output_file.
5003 * gdb.threads/attach-stopped.exp: Use standard_testfile.
5004 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
5005 clean_restart. Remove incdir.
5006 * gdb.threads/corethreads.exp: Use standard_testfile.
5007 * gdb.threads/execl.exp: Use standard_testfile,
5008 standard_output_file, clean_restart.
5009 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
5010 clean_restart.
5011 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
5012 clean_restart.
5013 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
5014 incdir.
5015 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
5016 clean_restart. Remove incdir.
5017 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
5018 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
5019 clean_restart. Remove incdir.
5020 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
5021 Remove incdir.
5022 * gdb.threads/leader-exit.exp: Use standard_testfile.
5023 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
5024 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
5025 clean_restart.
5026 * gdb.threads/manythreads.exp: Use standard_testfile,
5027 clean_restart. Remove incdir.
5028 * gdb.threads/multi-create.exp: Use standard_testfile,
5029 clean_restart.
5030 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
5031 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
5032 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
5033 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
5034 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
5035 * gdb.threads/pending-step.exp: Use standard_testfile,
5036 clean_restart. Remove incdir.
5037 * gdb.threads/print-threads.exp: Use standard_testfile,
5038 clean_restart. Remove incdir.
5039 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
5040 clean_restart. Remove incdir.
5041 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
5042 Remove incdir.
5043 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
5044 incdir.
5045 * gdb.threads/sigthread.exp: Use standard_testfile,
5046 clean_restart.
5047 * gdb.threads/staticthreads.exp: Use standard_testfile,
5048 clean_restart. Remove incdir.
5049 * gdb.threads/switch-threads.exp: Use standard_testfile,
5050 clean_restart. Remove incdir.
5051 * gdb.threads/thread-execl.exp: Use standard_testfile,
5052 clean_restart. Remove incdir.
5053 * gdb.threads/thread-find.exp: Use standard_testfile,
5054 clean_restart.
5055 * gdb.threads/thread-specific.exp: Use standard_testfile,
5056 clean_restart. Remove incdir.
5057 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
5058 clean_restart. Remove incdir.
5059 * gdb.threads/thread_check.exp: Use standard_testfile,
5060 clean_restart. Remove incdir.
5061 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
5062 incdir.
5063 * gdb.threads/threadapply.exp: Use standard_testfile,
5064 clean_restart. Remove incdir.
5065 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
5066 clean_restart. Remove incdir.
5067 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
5068 clean_restart.
5069 * gdb.threads/tls-shared.exp: Use standard_testfile,
5070 clean_restart, standard_output_file.
5071 * gdb.threads/tls-var.exp: Use standard_testfile,
5072 standard_output_file.
5073 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
5074 Remove incdir.
5075 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
5076 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
5077 incdir.
5078 * gdb.threads/watchthreads2.exp: Use standard_testfile,
5079 clean_restart. Remove incdir.
5080
5081 2012-06-26 Tom Tromey <tromey@redhat.com>
5082
5083 * gdb.trace/actions.exp: Use standard_testfile.
5084 * gdb.trace/ax.exp: Use standard_testfile.
5085 * gdb.trace/backtrace.exp: Use standard_testfile.
5086 * gdb.trace/change-loc.exp: Use standard_testfile.
5087 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
5088 * gdb.trace/collection.exp: Use standard_testfile,
5089 prepare_for_testing.
5090 * gdb.trace/deltrace.exp: Use standard_testfile.
5091 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
5092 * gdb.trace/ftrace.exp: Use standard_testfile.
5093 * gdb.trace/infotrace.exp: Use standard_testfile.
5094 * gdb.trace/packetlen.exp: Use standard_testfile.
5095 * gdb.trace/passc-dyn.exp: Use standard_testfile.
5096 * gdb.trace/passcount.exp: Use standard_testfile.
5097 * gdb.trace/pending.exp: Use standard_testfile.
5098 * gdb.trace/report.exp: Use standard_testfile.
5099 * gdb.trace/save-trace.exp: Use standard_testfile.
5100 * gdb.trace/stap-trace.exp: Use standard_testfile.
5101 * gdb.trace/status-stop.exp: Use standard_testfile.
5102 * gdb.trace/strace.exp: Use standard_testfile.
5103 * gdb.trace/tfile.exp: Use standard_testfile.
5104 * gdb.trace/tfind.exp: Use standard_testfile.
5105 * gdb.trace/trace-break.exp: Use standard_testfile.
5106 * gdb.trace/trace-mt.exp: Use standard_testfile.
5107 * gdb.trace/tracecmd.exp: Use standard_testfile.
5108 * gdb.trace/tspeed.exp: Use standard_testfile.
5109 * gdb.trace/tstatus.exp: Use standard_testfile.
5110 * gdb.trace/tsv.exp: Use standard_testfile.
5111 * gdb.trace/unavailable.exp: Use standard_testfile,
5112 prepare_for_testing.
5113 * gdb.trace/while-dyn.exp: Use standard_testfile.
5114 * gdb.trace/while-stepping.exp: Use standard_testfile.
5115
5116 2012-06-26 Tom Tromey <tromey@redhat.com>
5117
5118 * gdb.reverse/break-precsave.exp: Use standard_testfile.
5119 * gdb.reverse/break-reverse.exp: Use standard_testfile.
5120 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
5121 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
5122 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
5123 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
5124 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
5125 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
5126 prepare_for_testing.
5127 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
5128 prepare_for_testing.
5129 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
5130 prepare_for_testing.
5131 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
5132 prepare_for_testing.
5133 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
5134 prepare_for_testing
5135 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
5136 * gdb.reverse/machinestate.exp: Use standard_testfile.
5137 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
5138 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
5139 build_executable.
5140 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
5141 build_executable.
5142 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
5143 standard_output_file.
5144 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
5145 standard_output_file.
5146 * gdb.reverse/step-precsave.exp: Use standard_testfile.
5147 * gdb.reverse/step-reverse.exp: Use standard_testfile.
5148 * gdb.reverse/until-precsave.exp: Use standard_testfile.
5149 * gdb.reverse/until-reverse.exp: Use standard_testfile.
5150 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
5151 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
5152
5153 2012-06-26 Tom Tromey <tromey@redhat.com>
5154
5155 * gdb.stabs/weird.exp: Remove directory-checking code. Use
5156 standard_output_file.
5157 * gdb.stabs/exclfwd.exp: Use standard_testfile,
5158 prepare_for_testing. Remove directory-checking code.
5159
5160 2012-06-25 Tom Tromey <tromey@redhat.com>
5161
5162 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
5163 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
5164 build_executable, not prepare_for_testing.
5165 * gdb.multi/base.exp: Use standard_output_file. Use
5166 build_executable, not prepare_for_testing.
5167
5168 2012-06-25 Tom Tromey <tromey@redhat.com>
5169
5170 * gdb.fortran/subarray.exp: Use standard_testfile,
5171 prepare_for_testing.
5172 * gdb.fortran/multi-dim.exp: Use standard_testfile.
5173 * gdb.fortran/module.exp: Use standard_testfile.
5174 * gdb.fortran/logical.exp: Use standard_testfile.
5175 * gdb.fortran/library-module.exp: Use standard_testfile,
5176 standard_output_file.
5177 * gdb.fortran/derived-type.exp: Use standard_testfile,
5178 prepare_for_testing.
5179 * gdb.fortran/complex.exp: Use standard_testfile,
5180 prepare_for_testing.
5181 * gdb.fortran/charset.exp: Use standard_testfile.
5182 * gdb.fortran/array-element.exp: Use standard_testfile,
5183 prepare_for_testing.
5184
5185 2012-06-25 Keith Seitz <keiths@redhat.com>
5186
5187 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
5188 Change rbreak-related tests to KFAIL and add bugzilla numbers.
5189
5190 2012-06-25 Tom Tromey <tromey@redhat.com>
5191
5192 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
5193 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
5194 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
5195 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
5196
5197 2012-06-25 Tom Tromey <tromey@redhat.com>
5198
5199 * gdb.linespec/ls-errs.exp: Use standard_testfile.
5200 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
5201 * gdb.linespec/linespec.exp: Use standard_testfile.
5202
5203 2012-06-25 Tom Tromey <tromey@redhat.com>
5204
5205 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
5206 prepare_for_testing.
5207
5208 2012-06-25 Tom Tromey <tromey@redhat.com>
5209
5210 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
5211 prepare_for_testing.
5212 * gdb.opt/inline-break.exp: Use standard_testfile,
5213 prepare_for_testing.
5214 * gdb.opt/inline-bt.exp: Use standard_testfile,
5215 prepare_for_testing.
5216 * gdb.opt/inline-cmds.exp: Use standard_testfile,
5217 prepare_for_testing.
5218 * gdb.opt/inline-locals.exp: Use standard_testfile,
5219 prepare_for_testing.
5220
5221 2012-06-25 Tom Tromey <tromey@redhat.com>
5222
5223 * gdb.asm/asm-source.exp: Use standard_output_file,
5224 standard_testfile. Construct .o files in proper subdir.
5225
5226 2012-06-25 Tom Tromey <tromey@redhat.com>
5227
5228 * gdb.server/ext-attach.exp: Use standard_testfile,
5229 prepare_for_testing.
5230 * gdb.server/ext-run.exp: Use standard_testfile,
5231 build_executable.
5232 * gdb.server/file-transfer.exp: Use standard_testfile,
5233 prepare_for_testing.
5234 * gdb.server/server-exec-info.exp: Use standard_testfile.
5235 * gdb.server/server-mon.exp: Use standard_testfile,
5236 prepare_for_testing.
5237 * gdb.server/server-run.exp: Use standard_testfile,
5238 build_executable.
5239 * gdb.server/solib-list.exp: Use standard_testfile,
5240 standard_output_file.
5241
5242 2012-06-25 Tom Tromey <tromey@redhat.com>
5243
5244 * lib/gdb.exp (standard_output_file): Use "file join".
5245 * gdb.go/chan.exp: Use standard_testfile.
5246 * gdb.go/handcall.exp: Use standard_testfile.
5247 * gdb.go/hello.exp: Use standard_testfile.
5248 * gdb.integers/chan.exp: Use standard_testfile.
5249 * gdb.go/methods.exp: Use standard_testfile.
5250 * gdb.go/package.exp: Use standard_testfile.
5251 * gdb.go/strings.exp: Use standard_testfile.
5252 * gdb.go/types.exp: Use standard_testfile.
5253 * gdb.go/unsafe.exp: Use standard_testfile.
5254
5255 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
5256
5257 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
5258
5259 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5260
5261 Fix regression by the previous commit.
5262 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
5263
5264 2012-06-22 Tom Tromey <tromey@redhat.com>
5265
5266 * gdb.python/lib-types.exp: Use standard_testfile,
5267 prepare_for_testing.
5268 * gdb.python/py-block.exp: Use standard_testfile.
5269 * gdb.python/py-breakpoint.exp: Use standard_testfile.
5270 * gdb.python/py-events.exp: Use standard_testfile,
5271 standard_output_file.
5272 * gdb.python/py-evsignal.exp: Use standard_testfile.
5273 * gdb.python/py-evethreads.exp: Use standard_testfile.
5274 * gdb.python/py-explore-cc.exp: Use standard_testfile.
5275 * gdb.python/py-explore.exp: Use standard_testfile.
5276 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
5277 standard_output_file.
5278 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
5279 prepare_for_testing.
5280 * gdb.python/py-frame-inline.exp: Use standard_testfile.
5281 * gdb.python/py-frame.exp: Use standard_testfile.
5282 * gdb.python/py-inferior.exp: Use standard_testfile.
5283 * gdb.python/py-infthread.exp: Use standard_testfile.
5284 * gdb.python/py-mi.exp: Use standard_testfile.
5285 * gdb.python/py-objfile-script.exp: Use standard_testfile,
5286 build_executable.
5287 * gdb.python/py-objfile.exp: Use standard_testfile.
5288 * gdb.python/py-pp-maint.exp: Use standard_testfile,
5289 prepare_for_testing.
5290 * gdb.python/py-prettyprint.exp: Use standard_testfile.
5291 * gdb.python/py-progspace.exp: Use standard_testfile,
5292 build_executable.
5293 * gdb.python/py-prompt.exp: Use standard_testfile,
5294 build_executable.
5295 * gdb.python/py-section-script.exp: Use standard_testfile,
5296 build_executable.
5297 * gdb.python/py-shared.exp: Use standard_testfile,
5298 standard_output_file, clean_restart.
5299 * gdb.python/py-symbol.exp: Use standard_output_file,
5300 prepare_for_testing.
5301 * gdb.python/py-symtab.exp: Use standard_output_file,
5302 prepare_for_testing
5303 * gdb.python/py-template.exp: Use standard_testfile.
5304 * gdb.python/py-type.exp: Use standard_testfile.
5305 * gdb.python/py-value-cc.exp: Use standard_testfile.
5306 * gdb.python/py-value.exp: Use standard_testfile.
5307 * gdb.python/python.exp: Use standard_testfile, build_executable.
5308
5309 2012-06-22 Tom Tromey <tromey@redhat.com>
5310
5311 * gdb.objc/basicclass.exp: Use standard_testfile.
5312 (do_objc_tests): Don't declare objdir.
5313 * gdb.objc/nondebug.exp: Use standard_testfile.
5314 (do_objc_tests): Don't declare objdir.
5315 * gdb.objc/objcdecode.exp: Use standard_testfile.
5316 (do_objc_tests): Don't declare objdir.
5317
5318 2012-06-22 Tom Tromey <tromey@redhat.com>
5319
5320 * gdb.java/jmain.exp: Use standard_testfile.
5321 * gdb.java/jmisc.exp: Use standard_testfile.
5322 * gdb.java/jnpe.exp: Use standard_testfile.
5323 * gdb.java/jprint.exp: Use standard_testfile.
5324
5325 2012-06-22 Tom Tromey <tromey@redhat.com>
5326
5327 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
5328 (standard_output_file, standard_testfile): New procs.
5329 (build_executable, clean_restart): Use standard_output_file.
5330
5331 2012-06-22 Yao Qi <yao@codesourcery.com>
5332
5333 * boards/native-gdbserver.exp: New proc ${board}_exec.
5334 * boards/native-stdio-gdbserver.exp: Likewise.
5335
5336 2012-06-21 Tom Tromey <tromey@redhat.com>
5337
5338 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
5339 (build_executable): Update.
5340 (get_compiler_info): Remove 'binfile' argument.
5341 * gdb.ada/arrayidx.exp: Update.
5342 * gdb.ada/null_array.exp: Update.
5343 * gdb.arch/altivec-abi.exp: Update.
5344 * gdb.arch/altivec-regs.exp: Update.
5345 * gdb.arch/amd64-byte.exp: Update.
5346 * gdb.arch/amd64-dword.exp: Update.
5347 * gdb.arch/amd64-word.exp: Update.
5348 * gdb.arch/i386-avx.exp: Update.
5349 * gdb.arch/i386-byte.exp: Update.
5350 * gdb.arch/i386-sse.exp: Update.
5351 * gdb.arch/i386-word.exp: Update.
5352 * gdb.arch/ppc-dfp.exp: Update.
5353 * gdb.arch/ppc-fp.exp: Update.
5354 * gdb.arch/vsx-regs.exp: Update.
5355 * gdb.base/all-bin.exp: Update.
5356 * gdb.base/annota1.exp: Update.
5357 * gdb.base/async.exp: Update.
5358 * gdb.base/attach.exp: Update.
5359 * gdb.base/break-interp.exp: Update.
5360 * gdb.base/call-ar-st.exp: Update.
5361 * gdb.base/call-rt-st.exp: Update.
5362 * gdb.base/call-sc.exp: Update.
5363 * gdb.base/callfuncs.exp: Update.
5364 * gdb.base/catch-load.exp: Update.
5365 * gdb.base/completion.exp: Update.
5366 * gdb.base/complex.exp: Update.
5367 * gdb.base/condbreak.exp: Update.
5368 * gdb.base/consecutive.exp: Update.
5369 * gdb.base/constvars.exp: Update.
5370 * gdb.base/corefile.exp: Update.
5371 * gdb.base/eval-skip.exp: Update.
5372 * gdb.base/expand-psymtabs.exp: Update.
5373 * gdb.base/exprs.exp: Update.
5374 * gdb.base/fileio.exp: Update.
5375 * gdb.base/fixsection.exp: Update.
5376 * gdb.base/funcargs.exp: Update.
5377 * gdb.base/gdb11530.exp: Update.
5378 * gdb.base/gdb1555.exp: Update.
5379 * gdb.base/gnu-ifunc.exp: Update.
5380 * gdb.base/gnu_vector.exp: Update.
5381 * gdb.base/info-macros.exp: Update.
5382 * gdb.base/jit-simple.exp: Update.
5383 * gdb.base/jit-so.exp: Update.
5384 * gdb.base/jit.exp: Update.
5385 * gdb.base/langs.exp: Update.
5386 * gdb.base/list.exp: Update.
5387 * gdb.base/logical.exp: Update.
5388 * gdb.base/long_long.exp: Update.
5389 * gdb.base/longjmp.exp: Update.
5390 * gdb.base/macscp.exp: Update.
5391 * gdb.base/mips_pro.exp: Update.
5392 * gdb.base/miscexprs.exp: Update.
5393 * gdb.base/morestack.exp: Update.
5394 * gdb.base/nodebug.exp: Update.
5395 * gdb.base/opaque.exp: Update.
5396 * gdb.base/pc-fp.exp: Update.
5397 * gdb.base/pending.exp: Update.
5398 * gdb.base/permissions.exp: Update.
5399 * gdb.base/pointers.exp: Update.
5400 * gdb.base/prelink.exp: Update.
5401 * gdb.base/printcmds.exp: Update.
5402 * gdb.base/psymtab.exp: Update.
5403 * gdb.base/ptype.exp: Update.
5404 * gdb.base/relational.exp: Update.
5405 * gdb.base/scope.exp: Update.
5406 * gdb.base/setvar.exp: Update.
5407 * gdb.base/shlib-call.exp: Update.
5408 * gdb.base/shreloc.exp: Update.
5409 * gdb.base/signals.exp: Update.
5410 * gdb.base/sizeof.exp: Update.
5411 * gdb.base/so-impl-ld.exp: Update.
5412 * gdb.base/so-indr-cl.exp: Update.
5413 * gdb.base/solib-disc.exp: Update.
5414 * gdb.base/solib-display.exp: Update.
5415 * gdb.base/solib-nodir.exp: Update.
5416 * gdb.base/solib-overlap.exp: Update.
5417 * gdb.base/solib-symbol.exp: Update.
5418 * gdb.base/solib-weak.exp: Update.
5419 * gdb.base/solib.exp: Update.
5420 * gdb.base/store.exp: Update.
5421 * gdb.base/structs.exp: Update.
5422 * gdb.base/structs2.exp: Update.
5423 * gdb.base/type-opaque.exp: Update.
5424 * gdb.base/unload.exp: Update.
5425 * gdb.base/varargs.exp: Update.
5426 * gdb.base/volatile.exp: Update.
5427 * gdb.base/watch_thread_num.exp: Update.
5428 * gdb.base/watchpoint-solib.exp: Update.
5429 * gdb.base/watchpoint.exp: Update.
5430 * gdb.base/watchpoints.exp: Update.
5431 * gdb.base/whatis.exp: Update.
5432 * gdb.cell/arch.exp: Update.
5433 * gdb.cell/break.exp: Update.
5434 * gdb.cell/bt.exp: Update.
5435 * gdb.cell/core.exp: Update.
5436 * gdb.cell/data.exp: Update.
5437 * gdb.cell/ea-cache.exp: Update.
5438 * gdb.cell/f-regs.exp: Update.
5439 * gdb.cell/fork.exp: Update.
5440 * gdb.cell/gcore.exp: Update.
5441 * gdb.cell/mem-access.exp: Update.
5442 * gdb.cell/ptype.exp: Update.
5443 * gdb.cell/registers.exp: Update.
5444 * gdb.cell/sizeof.exp: Update.
5445 * gdb.cell/solib-symbol.exp: Update.
5446 * gdb.cell/solib.exp: Update.
5447 * gdb.cp/ambiguous.exp: Update.
5448 * gdb.cp/breakpoint.exp: Update.
5449 * gdb.cp/bs15503.exp: Update.
5450 * gdb.cp/casts.exp: Update.
5451 * gdb.cp/class2.exp: Update.
5452 * gdb.cp/cpexprs.exp: Update.
5453 * gdb.cp/cplusfuncs.exp: Update.
5454 * gdb.cp/ctti.exp: Update.
5455 * gdb.cp/dispcxx.exp: Update.
5456 * gdb.cp/gdb1355.exp: Update.
5457 * gdb.cp/gdb2384.exp: Update.
5458 * gdb.cp/gdb2495.exp: Update.
5459 * gdb.cp/infcall-dlopen.exp: Update.
5460 * gdb.cp/local.exp: Update.
5461 * gdb.cp/m-data.exp: Update.
5462 * gdb.cp/m-static.exp: Update.
5463 * gdb.cp/mb-ctor.exp: Update.
5464 * gdb.cp/mb-inline.exp: Update.
5465 * gdb.cp/mb-templates.exp: Update.
5466 * gdb.cp/member-ptr.exp: Update.
5467 * gdb.cp/method.exp: Update.
5468 * gdb.cp/namespace.exp: Update.
5469 * gdb.cp/nextoverthrow.exp: Update.
5470 * gdb.cp/nsdecl.exp: Update.
5471 * gdb.cp/nsrecurs.exp: Update.
5472 * gdb.cp/nsstress.exp: Update.
5473 * gdb.cp/nsusing.exp: Update.
5474 * gdb.cp/pr-1023.exp: Update.
5475 * gdb.cp/pr-1210.exp: Update.
5476 * gdb.cp/pr-574.exp: Update.
5477 * gdb.cp/pr9631.exp: Update.
5478 * gdb.cp/printmethod.exp: Update.
5479 * gdb.cp/psmang.exp: Update.
5480 * gdb.cp/re-set-overloaded.exp: Update.
5481 * gdb.cp/rtti.exp: Update.
5482 * gdb.cp/shadow.exp: Update.
5483 * gdb.cp/templates.exp: Update.
5484 * gdb.cp/try_catch.exp: Update.
5485 * gdb.dwarf2/dw2-ranges.exp: Update.
5486 * gdb.dwarf2/pr10770.exp: Update.
5487 * gdb.fortran/library-module.exp: Update.
5488 * gdb.hp/gdb.aCC/optimize.exp: Update.
5489 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5490 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5491 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5492 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5493 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5494 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5495 * gdb.hp/gdb.compat/xdb1.exp: Update.
5496 * gdb.hp/gdb.compat/xdb2.exp: Update.
5497 * gdb.hp/gdb.compat/xdb3.exp: Update.
5498 * gdb.hp/gdb.defects/bs14602.exp: Update.
5499 * gdb.hp/gdb.defects/solib-d.exp: Update.
5500 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5501 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5502 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5503 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5504 * gdb.mi/gdb792.exp: Update.
5505 * gdb.mi/mi-pending.exp: Update.
5506 * gdb.mi/mi-solib.exp: Update.
5507 * gdb.mi/mi-var-cp.exp: Update.
5508 * gdb.opt/clobbered-registers-O2.exp: Update.
5509 * gdb.opt/inline-bt.exp: Update.
5510 * gdb.opt/inline-cmds.exp: Update.
5511 * gdb.opt/inline-locals.exp: Update.
5512 * gdb.python/py-events.exp: Update.
5513 * gdb.python/py-finish-breakpoint.exp: Update.
5514 * gdb.python/py-type.exp: Update.
5515 * gdb.reverse/solib-precsave.exp: Update.
5516 * gdb.reverse/solib-reverse.exp: Update.
5517 * gdb.server/solib-list.exp: Update.
5518 * gdb.stabs/weird.exp: Update.
5519 * gdb.threads/attach-into-signal.exp: Update.
5520 * gdb.threads/attach-stopped.exp: Update.
5521 * gdb.threads/tls-shared.exp: Update.
5522 * gdb.trace/change-loc.exp: Update.
5523 * gdb.trace/strace.exp: Update.
5524
5525 2012-06-19 Tom Tromey <tromey@redhat.com>
5526
5527 * gdb.base/whatis.exp: Add tests.
5528
5529 2012-06-19 Tom Tromey <tromey@redhat.com>
5530
5531 * gdb.cp/m-static.cc (keepalive): New function.
5532 (gnu_obj_1::method): Use it.
5533
5534 2012-06-18 Doug Evans <dje@google.com>
5535
5536 * gdb.base/info-fun.exp: New file.
5537 * gdb.base/info-fun.c: New file.
5538 * gdb.base/info-fun-solib.c: New file.
5539
5540 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5541
5542 Remove stale dummy frames.
5543 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5544 (maintenance info breakpoints): New tests.
5545 * gdb.base/stale-infcall.c: New file.
5546 * gdb.base/stale-infcall.exp: New file.
5547
5548 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5549
5550 * gdb.arch/amd64-entry-value-param.S: New file.
5551 * gdb.arch/amd64-entry-value-param.c: New file.
5552 * gdb.arch/amd64-entry-value-param.exp: New file.
5553
5554 2012-06-15 Tom Tromey <tromey@redhat.com>
5555
5556 * gdb.cp/namespace.exp: Add "show lang" test.
5557
5558 2012-06-15 Iain Sandoe <iain@codesourcery.com>
5559
5560 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5561 case. (top level): Use gdb_file_cmd instead of gdb_load.
5562
5563 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5564
5565 PR tdep/14222
5566 * gdb.arch/i386-sse-stack-align.S: New file.
5567 * gdb.arch/i386-sse-stack-align.c: New file.
5568 * gdb.arch/i386-sse-stack-align.exp: New file.
5569
5570 2012-06-13 Keith Seitz <keiths@redhat.com>
5571
5572 PR breakpoints/13798 and mi/11541
5573 * gdb.linespec/ls-errs.exp: Add a few more tests for
5574 filenames with spaces and colons.
5575
5576 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5577
5578 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5579 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5580 (test_function): Call CV_f.
5581 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5582 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5583 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5584 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5585 (p CV_f(CV::i)): New tests.
5586
5587 2012-06-13 Tom Tromey <tromey@redhat.com>
5588
5589 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5590
5591 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5592
5593 Fix regression by the "ambiguous linespec" series.
5594 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5595 tests.
5596
5597 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5598
5599 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5600 missing.
5601
5602 2012-06-11 Tom Tromey <tromey@redhat.com>
5603
5604 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5605 location...
5606 (main): ...here.
5607
5608 2012-06-07 Yao Qi <yao@codesourcery.com>
5609
5610 * gdb.trace/strace.exp: Shorten some too-long lines.
5611
5612 2012-06-06 Pedro Alves <palves@redhat.com>
5613
5614 * gdb.threads/clone-new-thread-event.c: New file.
5615 * gdb.threads/clone-new-thread-event.exp: New file.
5616
5617 2012-06-06 Yao Qi <yao@codesourcery.com>
5618
5619 * gdb.base/dprintf.c (main): Add extra parameter when calling
5620 printf and fprintf.
5621 (bar): New function. It is a dead function, but to ensure
5622 'malloc' is linked explicitly.
5623
5624 2012-06-06 Yao Qi <yao@codesourcery.com>
5625
5626 * gdb.base/info-proc.exp: Return if target doesn't support
5627 'info proc'.
5628
5629 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5630
5631 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5632 (run program with breakpoint commands): XFAIl if it is not.
5633
5634 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5635
5636 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5637 and add comment.
5638 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5639 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5640 "STOP" marker. Adjust testing strategy to make it work on
5641 all targets.
5642
5643 * gdb.base/print-file-var-main.c (main): Rewrite using local
5644 variables and adjust get_version_2's return value check.
5645 Add small comment.
5646 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5647 marker. Adjust testing strategy to make it work on all targets.
5648
5649 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5650
5651 * gdb.ada/bad-task-bp-keyword: New testcase.
5652
5653 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5654
5655 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5656 Simplify it to ...
5657 (symbol-file ${testfile1}): ... here.
5658 (test eliminated var my_global_symbol)
5659 (test eliminated var my_static_symbol)
5660 (test eliminated var my_global_func, get address of main): Wrap them to
5661 'single psymtabs' and 'single symtabs'
5662 (get address of my_global_symbol, get address of my_static_symbol)
5663 (get address of my_global_func, get address of main): Wrap them to
5664 'order1' and 'order2'.
5665
5666 * gdb.base/code_elim.exp
5667 (add-symbol-file ${testfile1} 0x100000)
5668 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5669 'order2'.
5670 (order1: add-symbol-file ${testfile1} 0x100000)
5671 (order1: add-symbol-file ${testfile2} 0x200000)
5672 (order2: add-symbol-file ${testfile2} 0x200000)
5673 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5674 .bss as appropriate.
5675
5676 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5677
5678 * gdb.server/solib-list-lib.c: New file.
5679 * gdb.server/solib-list-main.c: New file.
5680 * gdb.server/solib-list.exp: New file.
5681
5682 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5683
5684 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5685 for 'set print symbol' change.
5686
5687 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5688
5689 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5690 .debug_abbrev_seg3.
5691
5692 2012-05-24 John Steele Scott <toojays@toojays.net>
5693
5694 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5695 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5696 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5697
5698 2012-05-23 Stan Shebs <stan@codesourcery.com>
5699
5700 * gdb.mi/mi-info-os.exp: New file.
5701
5702 2012-05-23 Keith Seitz <keiths@redhat.com>
5703
5704 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5705 return -1 to suppress the rest of the tests.
5706 (compile_stap_bin): Return boolean success value.
5707
5708 2012-05-21 Tom Tromey <tromey@redhat.com>
5709
5710 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5711 Remove kfails.
5712 (test_print_mi_member_types): Likewise.
5713
5714 2012-05-21 Tom Tromey <tromey@redhat.com>
5715
5716 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5717 print symbol' change.
5718
5719 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5720
5721 * gdb.python/py-prompt.exp: Quit if the target is remote.
5722
5723 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5724
5725 Fix ERROR: internal buffer is full.
5726 * gdb.base/info-os.exp (expect_multiline): New function.
5727 (get process list, get process groups, get threads)
5728 (get file descriptors, get internet-domain sockets)
5729 (get shared-memory regions, get semaphores, get message queues): Use
5730 it for these tests.
5731
5732 2012-05-18 Tom Tromey <tromey@redhat.com>
5733
5734 * gdb.mi/mi-var-cmd.exp: Update.
5735 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5736 * gdb.cp/virtbase.exp: Update.
5737 * gdb.cp/classes.exp (test_static_members): Update.
5738 * gdb.cp/casts.exp: Update.
5739 * gdb.base/pointers.exp: Update.
5740 * gdb.base/funcargs.exp (pointer_args): Update.
5741 (structs_by_reference): Update.
5742 * gdb.base/find.exp: Update.
5743 * gdb.base/call-strs.exp: Send "set print symbol off".
5744 * gdb.base/call-ar-st.exp: Update.
5745 * gdb.ada/fun_addr.exp: Update.
5746 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5747 Call it.
5748 (test_print_repeats_10, test_print_strings)
5749 (test_print_char_arrays): Update.
5750
5751 2012-05-18 Tom Tromey <tromey@redhat.com>
5752
5753 * gdb.base/charset.exp (string_display): Update.
5754
5755 2012-05-18 Tom Tromey <tromey@redhat.com>
5756
5757 * gdb.mi/mi2-var-display.exp: Update.
5758 * gdb.mi/mi-var-display.exp: Update.
5759 * gdb.mi/mi-var-child.exp: Update.
5760 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5761 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5762
5763 2012-05-17 Doug Evans <dje@google.com>
5764
5765 * info-macros.exp: Pass "debug" to prepare_for_testing.
5766
5767 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5768 * gdb.ada/Makefile.in (clean): Ditto.
5769 * gdb.arch/Makefile.in (clean): Ditto.
5770 * gdb.asm/Makefile.in (clean): Ditto.
5771 * gdb.base/Makefile.in (clean): Ditto.
5772 * gdb.cell/Makefile.in (clean): Ditto.
5773 * gdb.cp/Makefile.in (clean): Ditto.
5774 * gdb.disasm/Makefile.in (clean): Ditto.
5775 * gdb.dwarf2/Makefile.in (clean): Ditto.
5776 * gdb.fortran/Makefile.in (clean): Ditto.
5777 * gdb.go/Makefile.in (clean): Ditto.
5778 * gdb.hp/Makefile.in (clean): Ditto.
5779 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5780 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5781 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5782 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5783 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5784 * gdb.java/Makefile.in (clean): Ditto.
5785 * gdb.linespec/Makefile.in (clean): Ditto.
5786 * gdb.mi/Makefile.in (clean): Ditto.
5787 * gdb.modula2/Makefile.in (clean): Ditto.
5788 * gdb.multi/Makefile.in (clean): Ditto.
5789 * gdb.objc/Makefile.in (clean): Ditto.
5790 * gdb.opencl/Makefile.in (clean): Ditto.
5791 * gdb.opt/Makefile.in (clean): Ditto.
5792 * gdb.pascal/Makefile.in (clean): Ditto.
5793 * gdb.python/Makefile.in (clean): Ditto.
5794 * gdb.reverse/Makefile.in (clean): Ditto.
5795 * gdb.server/Makefile.in (clean): Ditto.
5796 * gdb.stabs/Makefile.in (clean): Ditto.
5797 * gdb.threads/Makefile.in (clean): Ditto.
5798 * gdb.trace/Makefile.in (clean): Ditto.
5799 * gdb.xml/Makefile.in (clean): Ditto.
5800
5801 2012-05-16 Tom Tromey <tromey@redhat.com>
5802
5803 * gdb.base/macscp1.c (macscp_expr): Add comment.
5804 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5805
5806 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5807
5808 * gdb.base/return-nodebug.exp: Also test float and double types.
5809
5810 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5811
5812 PR testsuite/12649
5813 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5814
5815 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5816
5817 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5818
5819 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5820 `rerun_to_main'.
5821 (stap_test_no_debuginfo): Likewise.
5822
5823 2012-05-14 Stan Shebs <stan@codesourcery.com>
5824
5825 * gdb.base/dprintf.c: New file.
5826 * gdb.base/dprintf.exp: New file.
5827
5828 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
5829
5830 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5831 * gdb.trace/disconnected-tracing.c: New file.
5832 * gdb.trace/disconnected-tracing.exp: New file.
5833
5834 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5835
5836 * gdb.python/python.c: Add a new breakpoint comment.
5837 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5838
5839 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5840
5841 * gdb.base/info-os.exp: New file.
5842 * gdb.base/info-os.c: New file.
5843
5844 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5845
5846 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5847 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5848 New files.
5849
5850 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5851
5852 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5853 gdb.base/ctxobj.exp: New files.
5854
5855 2012-05-09 Tom Tromey <tromey@redhat.com>
5856
5857 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5858
5859 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5860
5861 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5862
5863 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5864
5865 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5866 before using it.
5867
5868 2012-05-04 Tristan Gingold <gingold@adacore.com>
5869
5870 * gdb.base/set-noassign.exp: New test.
5871
5872 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5873
5874 * gdb.python/py-symbol.exp: Add tests to test the new methods
5875 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5876 * gdb.python/py-symbol.c: Add new struct to help test
5877 gdb.Symtab.static_block().
5878
5879 2012-05-03 Doug Evans <dje@google.com>
5880
5881 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5882 commented out.
5883
5884 2012-05-03 Yao Qi <yao@codesourcery.com>
5885
5886 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5887 doesn't support.
5888 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5889 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5890
5891 2012-05-03 Yao Qi <yao@codesourcery.com>
5892
5893 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5894
5895 2012-04-30 Doug Evans <dje@google.com>
5896
5897 PR testsuite/13961
5898 * gdb.dwarf2/pr13961.S: New file.
5899 * gdb.dwarf2/pr13961.exp: New file.
5900
5901 2012-04-29 Yao Qi <yao@codesourcery.com>
5902
5903 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5904
5905 2012-04-28 Doug Evans <dje@google.com>
5906
5907 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5908 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5909 All uses updated.
5910 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5911 "ptype func_cu1" to expand cu2 before cu1.
5912
5913 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5914 Tom Tromey <tromey@redhat.com>
5915
5916 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5917 variables.
5918 * gdb.base/stap-probe.c: New file.
5919 * gdb.base/stap-probe.exp: New file.
5920 * gdb.trace/stap-trace.c: New file.
5921 * gdb.trace/stap-trace.exp: New file.
5922 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5923 libgcc's unwinder.
5924
5925 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5926
5927 * gdb.arch/mips16-thunks-inmain.c: New file.
5928 * gdb.arch/mips16-thunks-main.c: New file.
5929 * gdb.arch/mips16-thunks-sin.c: New file.
5930 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5931 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5932 * gdb.arch/mips16-thunks-sinmain.c: New file.
5933 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5934 * gdb.arch/mips16-thunks.exp: New file.
5935
5936 2012-04-25 Doug Evans <dje@google.com>
5937
5938 * configure.ac: Create gdb.go/Makefile.
5939 * configure: Regenerate.
5940 * gdb.base/default.exp: Add "go" to "set language" testing.
5941 * gdb.go/Makefile.in: New file.
5942 * gdb.go/basic-types.exp: New file.
5943 * gdb.go/chan.exp: New file.
5944 * gdb.go/chan.go: New file.
5945 * gdb.go/handcall.exp: New file.
5946 * gdb.go/handcall.go: New file.
5947 * gdb.go/hello.exp: New file.
5948 * gdb.go/hello.go: New file.
5949 * gdb.go/integers.exp: New file.
5950 * gdb.go/integers.go: New file.
5951 * gdb.go/methods.exp: New file.
5952 * gdb.go/methods.go: New file.
5953 * gdb.go/package.exp: New file.
5954 * gdb.go/package1.go: New file.
5955 * gdb.go/package2.go: New file.
5956 * gdb.go/print.exp: New file.
5957 * gdb.go/strings.exp: New file.
5958 * gdb.go/strings.go: New file.
5959 * gdb.go/types.exp: New file.
5960 * gdb.go/types.go: New file.
5961 * gdb.go/unsafe.exp: New file.
5962 * gdb.go/unsafe.go: New file.
5963 * lib/future.exp: Add Go support.
5964 (gdb_find_go, gdb_find_go_linker): New procs.
5965 (gdb_default_target_compile): Add Go support.
5966 * lib/gdb.exp (skip_go_tests): New proc.
5967 * lib/go.exp: New file.
5968
5969 2012-04-25 Tom Tromey <tromey@redhat.com>
5970
5971 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5972
5973 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5974 Jan Kratochvil <jan.kratochvil@redhat.com>
5975
5976 PR symtab/7259:
5977 * gdb.base/enumval.c: New test case.
5978 * gdb.base/enumval.exp: New test case.
5979 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5980 field.bitpos.
5981
5982 2012-04-17 Pedro Alves <palves@redhat.com>
5983
5984 * Makefile.in (site.exp): Make site.exp source
5985 $srcdir/lib/append_gdb_boards_dir.exp.
5986 * lib/append_gdb_boards_dir.exp: New file.
5987
5988 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5989
5990 New option "set auto-load safe-path".
5991 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5992 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5993
5994 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5995
5996 auto-load: Implementation.
5997 * gdb.base/help.exp (test set height): Increase the height.
5998 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5999 to ...
6000 (info auto-load python-scripts): ... here.
6001 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
6002 to ...
6003 (info auto-load python-scripts *): ... here.
6004
6005 2012-04-16 Yao Qi <yao@codesourcery.com>
6006
6007 * lib/trace-support.exp (get_in_proc_agent): New.
6008 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
6009 of in process trace agent.
6010 * gdb.trace/ftrace.exp: Likewise.
6011 * gdb.trace/pending.exp: Likewise.
6012 * gdb.trace/trace-break.exp: Likewise.
6013 * gdb.trace/trace-mt.exp
6014 * gdb.trace/tspeed.exp: Likewise.
6015 * gdb.trace/tstatus.exp
6016 * gdb.trace/strace.exp: Likewise.
6017
6018 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
6019
6020 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
6021 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
6022
6023 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
6024
6025 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
6026
6027 PR mi/13393
6028 * gdb.mi/mi-var-rtti.cc: New file.
6029 * gdb.mi/mi-var-rtti.exp: New file.
6030 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
6031 function.
6032 (mi_varobj_update_with_type_change): updated to avoid code duplication.
6033
6034 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
6035
6036 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
6037 EXECUTABLES.
6038 * gdb.python/py-explore.c: C program used for testing the new
6039 'explore' command on C constructs.
6040 * gdb.python/py-explore.cc: C++ program used for testing the new
6041 'explore' command on C++ constructs.
6042 * gdb-python/py-explore.exp: Tests for the new 'explore'
6043 command on C constructs.
6044 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
6045 command on C++ constructs.
6046
6047 2012-04-07 Mark Kettenis <kettenis@gnu.org>
6048
6049 * gdb.base/funcargs.exp (complex_args): Fix typo.
6050
6051 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6052
6053 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
6054 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
6055
6056 2012-04-05 Keith Seitz <keiths@redhat.com>
6057
6058 * gdb.base/advance.exp: Update error message for
6059 "advance malformed" test.
6060 * gdb.base/break.exp: Likewise for "breakpoint with
6061 trailing garbage" test.
6062 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
6063 with trailing garbage" test.
6064 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
6065 trailng garbage" test.
6066 * gdb.base/until.exp: Likewise for "malformed until" test.
6067 * gdb.cp/ovldbreak.exp: Create the breakpoint table
6068 for "breakpoint info (after setting on all)".
6069 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
6070 tests.
6071 * gdb.cp/cplabel.cc: New file.
6072 * gdb.cp/cplabel.exp: New test.
6073 * gdb.linespec/ls-errs.c: New file.
6074 * gdb.linespec/ls-errs.exp: New test.
6075
6076 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6077
6078 * gdb.trace/unavailable.exp
6079 (collect globals: print object on: print derived_partial)
6080 (collect globals: print object on: print derived_whole)
6081 (collect globals: print object off: print derived_partial)
6082 (collect globals: print object off: print derived_whole): Update
6083 expected output.
6084
6085 2012-03-30 Keith Seitz <keiths@redhat.com>
6086
6087 * gdb.python: Add test for linespecs with commas.
6088
6089 2012-03-28 Keith Seitz <keiths@redhat.com>
6090
6091 * gdb.linespec/ls-dollar.cc: New file.
6092 * gdb.linespec/ls-dollar.exp: New test.
6093
6094 2012-03-28 Keith Seitz <keiths@redhat.com>
6095
6096 * gdb.cp/namespace.exp: Add breakpoint tests for functions
6097 starting with the global namespace.
6098
6099 2012-03-23 Doug Evans <dje@google.com>
6100
6101 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
6102
6103 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
6104
6105 * gdb.python/py-value.cc: Add test case for testing the
6106 methodology exposing C++ values to Python.
6107 * gdb.python/py-value-cc.exp: Add tests testing the methodology
6108 exposing C++ values to Python.
6109 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
6110
6111 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6112 Siddhesh Poyarekar <siddhesh@redhat.com>
6113
6114 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
6115 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
6116 (generate native core dump): Make the test unsupported if core cannot
6117 be generated.
6118
6119 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6120
6121 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
6122 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
6123 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
6124
6125 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6126
6127 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
6128
6129 2012-03-17 Doug Evans <dje@google.com>
6130
6131 * dg-extract-results.sh: Handle KFAILs.
6132
6133 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6134
6135 PR symtab/13777
6136 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
6137
6138 2012-03-16 Joel Brobecker <brobecker@adacore.com>
6139
6140 * gdb.ada/set_pckd_arr_elt: New testcase.
6141
6142 2012-03-16 Gary Benson <gbenson@redhat.com>
6143
6144 PR breakpoints/10738
6145 * gdb.opt/inline-break.exp: New file.
6146 * gdb.opt/inline-break.c: Likewise.
6147 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
6148 * gdb.dwarf2/dw2-inline-break.S: Likewise.
6149 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
6150 * gdb.base/async-shell.exp: Likewise.
6151 * lib/mi-support.exp (library_loaded_re): Likewise.
6152
6153 2012-03-15 Tom Tromey <tromey@redhat.com>
6154
6155 * gdb.cp/virtfunc2.exp: Update expected output.
6156 * gdb.cp/pr9631.exp: Update expected output.
6157 * gdb.cp/member-ptr.exp: Update expected output.
6158 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
6159 output.
6160 * gdb.cp/casts.exp: Update expected output.
6161
6162 2012-03-15 Tom Tromey <tromey@redhat.com>
6163
6164 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
6165 (test_info_vtbl): Likewise.
6166 (do_tests): Call test_info_vtbl.
6167 * gdb.cp/virtfunc.cc (va): New global.
6168
6169 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
6170
6171 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
6172 describing DWARF data structures.
6173 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
6174 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
6175 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
6176 * gdb.dwarf2/dw2-entry-value.S: Likewise.
6177 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6178 * gdb.dwarf2/dw2-param-error.S: Likewise.
6179 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
6180 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
6181 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
6182 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
6183 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
6184 * gdb.dwarf2/pr11465.S: Likewise.
6185
6186 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6187
6188 * gdb.mi/mi2-prompt.exp: New file.
6189
6190 2012-03-13 Joel Brobecker <brobecker@adacore.com>
6191
6192 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
6193
6194 2012-03-13 Joel Brobecker <brobecker@adacore.com>
6195
6196 * gdb.ada/bp_range_type: New testcase.
6197
6198 2012-03-13 Doug Evans <dje@google.com>
6199
6200 * gdb.base/default.exp: Delete tests for symbol-reloading.
6201 * gdb.base/help.exp: Ditto.
6202 * gdb.base/setshow.exp: Ditto.
6203 * gdb.base/gdb_history: Delete references to symbol-reloading.
6204
6205 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6206
6207 * gdb.base/attach-twice.c: New files.
6208 * gdb.base/attach-twice.exp: New files.
6209
6210 2012-03-08 Keith Seitz <keiths@redhat.com>
6211
6212 * lib/gdb.exp (gdb_get_line_number): Throw an
6213 error instead of returning -1.
6214 * gdb.base/break.exp: Remove unused variable
6215 bp_location5.
6216 * gdb.base/hbreak2.exp: Likewise.
6217 * gdb.base/sepdebug.exp: Likewise.
6218
6219 2012-03-08 Yao Qi <yao@codesourcery.com>
6220 Pedro Alves <palves@redhat.com>
6221
6222 Fix PR server/13392.
6223 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
6224 (tracepoint_change_loc_2): Remove kfail. Return if failed to
6225 download tracepoints.
6226 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
6227 (pending_tracepoint_resolved_during_trace): Likewise.
6228 (pending_tracepoint_installed_during_trace): Likewise.
6229 (pending_tracepoint_with_action_resolved): Likewise.
6230
6231 2012-03-08 Keith Seitz <keiths@redhat.com>
6232
6233 * gdb.ada/array_bounds.exp: Get breakpoint for line
6234 with "START", not "STOP".
6235 * gdb.python/py-infthread.exp: Do not continue to
6236 line marked "Break here.", which is undefined.
6237
6238 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
6239
6240 Revert:
6241
6242 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6243
6244 Implement testsuite workaround for PR breakpoints/13781.
6245 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6246 (set breakpoint condition-evaluation host): New conditional command.
6247
6248 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6249
6250 Fix CU relative vs. absolute DIE offsets.
6251 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
6252 one.
6253
6254 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6255
6256 Fix false FAIL on distros with relro linkage as default.
6257 * gdb.reverse/solib-precsave.exp: Try to compile the test using
6258 -Wl,-z,norelro first.
6259
6260 2012-03-06 Joel Brobecker <brobecker@adacore.com>
6261
6262 * gdb.ada/bp_on_var: New testcase.
6263
6264 2012-03-06 Joel Brobecker <brobecker@adacore.com>
6265
6266 * gdb.ada/bp_enum_homonym: New testcase.
6267
6268 2012-03-06 Yao Qi <yao@codesourcery.com>
6269
6270 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
6271 x86_64-*-* and i?86-*-*.
6272 Set up KFAIL for gdb/13808.
6273
6274 2012-03-05 Tom Tromey <tromey@redhat.com>
6275
6276 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
6277 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
6278
6279 2012-03-05 Tom Tromey <tromey@redhat.com>
6280
6281 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
6282
6283 2012-03-04 Yao Qi <yao@codesourcery.com>
6284
6285 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
6286 messages for KFAIL.
6287
6288 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6289
6290 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
6291 (print one_two_three, indexes off, print few_reps, indexes off)
6292 (print many_reps, indexes off, print empty, indexes off)
6293 (print one_two_three, print few_reps, print many_reps, print empty):
6294 Call setup_xfail if $gcc_old.
6295
6296 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6297
6298 Implement testsuite workaround for PR breakpoints/13781.
6299 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6300 (set breakpoint condition-evaluation host): New conditional command.
6301
6302 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6303
6304 Code cleanup.
6305 * gdb.cp/mb-templates.exp: New variables executable. Use it for
6306 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
6307 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
6308 number 1 by $bpnum. Four times.
6309
6310 2012-03-03 Yao Qi <yao@codesourcery.com>
6311
6312 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
6313
6314 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6315
6316 Setup KFAIL for PR server/13796.
6317 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
6318
6319 2012-03-02 Joel Brobecker <brobecker@adacore.com>
6320
6321 * gdb.ada/operator_bp: New testcase.
6322
6323 2012-03-02 Joel Brobecker <brobecker@adacore.com>
6324
6325 * gdb.ada/info_locals_renaming: New testcase.
6326
6327 2012-03-02 Tom Tromey <tromey@redhat.com>
6328
6329 * gdb.base/nextoverexit.c: New file.
6330 * gdb.base/nextoverexit.exp: New file.
6331
6332 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6333
6334 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
6335 parameter.
6336
6337 2012-03-01 Maciej W. Rozycki <macro@mips.com>
6338
6339 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
6340 core registers.
6341
6342 2012-03-01 Maciej W. Rozycki <macro@mips.com>
6343 Maciej W. Rozycki <macro@codesourcery.com>
6344 Daniel Jacobowitz <dan@codesourcery.com>
6345
6346 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
6347
6348 2012-03-01 Pedro Alves <palves@redhat.com>
6349
6350 PR gdb/13767
6351
6352 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
6353 (gdb_collect_globals_test): Call it.
6354
6355 2012-03-01 Keith Seitz <keiths@redhat.com>
6356
6357 * gdb.cp/method2.exp: Output of overload menu is now
6358 alphabetized. Update tests for "break A::method".
6359 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
6360 of hard-coding them.
6361 Overload menu is alphabetized: rewrite to accommodate.
6362 Unset variables LINE and TYPES which are used in other tests.
6363 Compute the output of "info break".
6364 Update the breakpoint table after all breakpoints are deleted.
6365 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
6366 compute ACTUALS and the method body based on parameters.
6367 Update expected output accordingly.
6368 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
6369 unique comments to allow the use of gdb_get_line_number.
6370
6371 2012-03-01 Keith Seitz <keiths@redhat.com>
6372
6373 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
6374 some Tcl syntax.
6375 * gdb.cp/ovldbreak.exp: Likewise.
6376
6377 2012-03-01 Keith Seitz <keiths@redhat.com>
6378
6379 * gdb.base/help.exp (help show user): Update expected result
6380 for new doc string changes (add "non-python").
6381
6382 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
6383
6384 * gdb.python/py-cmd.exp: Add test to verify that python commands can
6385 be put in the user-defined category and that the commands appear in
6386 "help user-defined".
6387
6388 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6389
6390 * gdb.ada/tagged_not_init: New testcase.
6391
6392 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6393
6394 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
6395 * gdb.ada/enum_idx_packed: New testcase.
6396
6397 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6398
6399 * gdb.ada/aliased_array: New testcase.
6400
6401 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6402
6403 * gdb.ada/whatis_array_val: New testcase.
6404
6405 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6406
6407 Fix disp-step-syscall.exp: fork: single step over fork.
6408 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
6409 whitespaces.
6410 (single step over $syscall): Remove its check.
6411 (single step over $syscall final pc): New check.
6412
6413 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6414
6415 Support processors without SSSE3.
6416 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
6417 pabsd into ...
6418 (ssse3_test): ... a new function.
6419 (main): Call ssse3_test.
6420 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
6421 Update expected values everywhere.
6422 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
6423 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
6424 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
6425 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
6426 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
6427 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
6428 Move these tests lower.
6429 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
6430 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
6431 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
6432 New tests.
6433
6434 2012-02-29 Yao Qi <yao@codesourcery.com>
6435 Pedro Alves <palves@redhat.com>
6436
6437 * gdb.trace/trace-mt.c: New.
6438 * gdb.trace/trace-mt.exp: New.
6439
6440 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
6441
6442 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
6443 numbers instead of hardcoding them.
6444 * gdb.base/annota1.c: Provide suitable markers.
6445 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
6446 numbers instead of hardcoding them.
6447 * gdb.base/annota3.c: Provide suitable markers.
6448
6449 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
6450 * gdb.base/annota3.c: Likewise.
6451 * gdb.base/sigall.c: Likewise.
6452 * gdb.base/signals.c: Likewise.
6453 * gdb.reverse/sigall-reverse.c: Likewise.
6454
6455 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
6456
6457 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
6458 failure return path.
6459
6460 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
6461
6462 * gdb.base/save-bp.exp: Account for new condition evaluator output.
6463
6464 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
6465
6466 * gdb.base/cond-eval-mode.exp: New file.
6467
6468 2012-02-24 Pedro Alves <palves@redhat.com>
6469
6470 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
6471 (top level): Use with_test_prefix.
6472
6473 2012-02-24 Pedro Alves <palves@redhat.com>
6474
6475 * gdb.threads/attach-into-signal.exp (corefunc): Use
6476 with_test_prefix.
6477
6478 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6479
6480 Fix false FAILs on old CPUs without SSE.
6481 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6482 Return untested for Illegal instruction.
6483
6484 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6485
6486 Fix false FAILs with glibc debug infos installed.
6487 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6488 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6489
6490 2012-02-22 Sterling Augustine <saugustine@google.com>
6491
6492 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6493 constant with cast.
6494
6495 2012-02-21 Pedro Alves <palves@redhat.com>
6496
6497 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6498
6499 2012-02-21 Pedro Alves <palves@redhat.com>
6500
6501 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6502
6503 2012-02-21 Pedro Alves <palves@redhat.com>
6504
6505 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6506 with_test_prefix.
6507
6508 2012-02-21 Pedro Alves <palves@redhat.com>
6509
6510 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6511 with_test_prefix here.
6512 (top level): Do it here instead. Remove `:' from the
6513 with_test_prefix string.
6514 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6515 the suffix `:' from the with_test_prefix prefix string.
6516 * gdb.base/break-interp.exp: Ditto.
6517 * gdb.base/catch-load.exp: Ditto.
6518 * gdb.base/disp-step-syscall.exp: Ditto.
6519 * gdb.base/jit-so.exp: Ditto.
6520 * gdb.base/jit.exp: Ditto.
6521 * gdb.base/sepdebug.exp: Ditto.
6522 * gdb.base/solib-display.exp: Ditto.
6523 * gdb.base/solib-overlap.exp: Ditto.
6524 * gdb.base/watch-cond-infcall.exp: Ditto.
6525 * gdb.base/watchpoint.exp: Ditto.
6526 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6527 * gdb.mi/mi-watch.exp: Ditto.
6528 * gdb.mi/mi2-watch.exp: Ditto.
6529 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6530 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6531 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6532 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6533 * gdb.threads/watchpoint-fork.exp: Ditto.
6534 * gdb.threads/watchthreads-reorder.exp: Ditto.
6535 * gdb.trace/change-loc.exp: Ditto.
6536 * gdb.trace/pending.exp: Ditto.
6537 * gdb.trace/status-stop.exp: Ditto.
6538 * gdb.trace/strace.exp: Ditto.
6539 * gdb.trace/trace-break.exp: Ditto.
6540 * gdb.trace/unavailable.exp: Ditto.
6541 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6542 suffix with colon. Adjust leading comments.
6543
6544 2012-02-21 Pedro Alves <palves@redhat.com>
6545 Tom Tromey <tromey@redhat.com>
6546
6547 * lib/gdb.exp: Add description of test prefixes.
6548 (with_test_prefix): New procedure.
6549 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6550 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6551 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6552 instead of lappend to append to pf_prefix.
6553 * gdb.base/catch-load.exp: Use with_test_prefix.
6554 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6555 * gdb.base/jit-so.exp: Use with_test_prefix.
6556 * gdb.base/jit.exp: Use with_test_prefix.
6557 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6558 lappend to append to pf_prefix.
6559 * gdb.base/sepdebug.exp: Use with_test_prefix.
6560 * gdb.base/solib-display.exp: Use with_test_prefix.
6561 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6562 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6563 * gdb.base/watchpoint.exp: Use with_test_prefix.
6564 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6565 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6566 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6567 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6568 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6569 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6570 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6571 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6572 append instead of lappend to append to pf_prefix.
6573 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6574 * gdb.trace/change-loc.exp: Use with_test_prefix.
6575 * gdb.trace/pending.exp: Use with_test_prefix.
6576 * gdb.trace/status-stop.exp: Use with_test_prefix.
6577 * gdb.trace/strace.exp: Use with_test_prefix.
6578 * gdb.trace/trace-break.exp: Use with_test_prefix.
6579 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6580 instead of lappend to append to pf_prefix.
6581
6582 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6583
6584 Fix racy FAILs.
6585 * gdb.base/inferior-died.c (main): Add return of 0.
6586 * gdb.base/inferior-died.exp (continue): Fix expectation of
6587 asynchronous events.
6588 (p 1): New test.
6589
6590 2012-02-20 Pedro Alves <palves@redhat.com>
6591
6592 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6593 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6594 gdb's internal debug output. For the non-threaded case, look for
6595 "Program received signal SIGLARM", for the threaded case, peek at
6596 the thread's siginfo.
6597
6598 2012-02-20 Pedro Alves <palves@redhat.com>
6599
6600 General cleanup, make output test messages unique, and build
6601 different executable files for the non-threaded and threaded
6602 cases.
6603
6604 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6605 Delete.
6606 (executable_nothr, executable_thr): New globals.
6607 (top level): Adjust to delete both executables.
6608 (corefunc): New parameter $executable. Set $pf_prefix instead of
6609 hand writing a prefix in tests. Issue a clean_restart and enable
6610 lin-lwp debug output here.
6611 (top level): Adjust. Use build_executable. Don't start gdb here,
6612 and don't enable lin-lwp debug output here.
6613 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6614
6615 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6616
6617 Fix racy FAILs.
6618 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6619 "continue" command.
6620
6621 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6622
6623 Fix for gdbserver non-extended mode.
6624 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6625 and gdb_run_cmd.
6626
6627 2012-02-17 Tom Tromey <tromey@redhat.com>
6628
6629 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6630 * gdb.python/py-events.exp: Check 'dir' output.
6631 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6632
6633 2012-02-17 Yao Qi <yao@codesourcery.com>
6634
6635 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6636
6637 2012-02-16 Tom Tromey <tromey@redhat.com>
6638
6639 * gdb.base/inferior-died.c: Don't include stdio.h.
6640
6641 2012-02-16 Tom Tromey <tromey@redhat.com>
6642
6643 * gdb.base/inferior-died.c: New file.
6644 * gdb.base/inferior-died.exp: New file.
6645
6646 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6647
6648 * gdb.base/break-inline.exp: New file.
6649 * gdb.base/break-inline.c: New file.
6650
6651 2012-02-15 Tom Tromey <tromey@redhat.com>
6652
6653 * gdb.base/pc-fp.exp: Add "info register" tests.
6654
6655 2012-02-15 Tom Tromey <tromey@redhat.com>
6656
6657 * gdb.base/regs.exp: Remove.
6658
6659 2012-02-15 Pedro Alves <palves@redhat.com>
6660
6661 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6662 the target doesn't support tracepoints.
6663 * gdb.trace/circ.exp: Ditto.
6664 * gdb.trace/collection.exp: Ditto.
6665 * gdb.trace/packetlen.exp: Ditto.
6666 * gdb.trace/passc-dyn.exp: Ditto.
6667 * gdb.trace/report.exp: Ditto.
6668 * gdb.trace/tfind.exp: Ditto.
6669 * gdb.trace/tspeed.exp: Ditto.
6670 * gdb.trace/tsv.exp: Ditto.
6671 * gdb.trace/unavailable.exp: Ditto.
6672 * gdb.trace/while-dyn.exp: Ditto.
6673
6674 2012-02-15 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6677 gdb_test_multiple, and call unsupported instead of fail, if the
6678 remote side does not support the request.
6679
6680 2012-02-15 Pedro Alves <palves@redhat.com>
6681
6682 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6683 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6684 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6685 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6686 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6687 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6688 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6689 doesn't start with "extended-" already.
6690
6691 2012-02-15 Pedro Alves <palves@redhat.com>
6692
6693 Support extended-remote. Avoid cascading timeouts.
6694
6695 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6696 the extended-remote target. If attaching with no file fails, load
6697 the file manually.
6698 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6699
6700 2012-02-14 Stan Shebs <stan@codesourcery.com>
6701
6702 * gdb.base/ena-dis-br.exp: Add enable count test.
6703
6704 2012-02-13 Pedro Alves <palves@redhat.com>
6705
6706 * config/mips-idt.exp: Delete.
6707 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6708 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6709 * gdb.base/break.exp: Remove mips-idt references.
6710 * gdb.base/chng-syms.exp: Ditto.
6711 * gdb.base/default.exp: Ditto.
6712 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6713 (top level): Don't call it.
6714 * gdb.base/opaque.exp: Remove mips-idt restarts.
6715 * gdb.base/ptype.exp: Remove mips-idt xfails.
6716 * gdb.base/scope.exp: Remove mips-idt restarts.
6717 * gdb.base/sepdebug.exp: Remove mips-idt references.
6718 * gdb.base/watchpoint.exp (maybe_clean_restart)
6719 (maybe_reinitialize): Delete.
6720 (test_disabling_watchpoints, test_disabling_watchpoints)
6721 (test_watchpoint_triggered_in_syscall)
6722 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6723 Don't call them.
6724
6725 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6726
6727 * gdb.server/server-exec-info.exp: New file.
6728
6729 2012-02-10 Pedro Alves <palves@redhat.com>
6730
6731 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6732 always non-empty.
6733 (test_attach): Always pass $exec to test_attach_gdb.
6734
6735 2012-02-08 Tom Tromey <tromey@redhat.com>
6736
6737 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6738 before inferior is started.
6739
6740 2012-02-07 Tom Tromey <tromey@redhat.com>
6741
6742 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6743 Symbol.value.
6744 * gdb.python/py-symbol.c (qq): Set default value.
6745
6746 2012-02-07 Tom Tromey <tromey@redhat.com>
6747
6748 * gdb.python/py-symbol.c (qq): New global.
6749 * gdb.python/py-symbol.exp: Add test for frame-less
6750 lookup_symbol.
6751 * gdb.python/py-symtab.exp: Fix line number.
6752
6753 2012-02-03 Joel Brobecker <brobecker@adacore.com>
6754
6755 * gdb.ada/mi_task_arg: New testcase.
6756
6757 2012-02-02 Pedro Alves <palves@redhat.com>
6758
6759 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6760 extended timeout.
6761
6762 2012-02-02 Pedro Alves <palves@redhat.com>
6763
6764 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6765 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6766
6767 2012-02-02 Pedro Alves <palves@redhat.com>
6768
6769 * gdb.base/term.exp: Rewrite.
6770 * gdb.base/term.c: New.
6771
6772 2012-02-02 Pedro Alves <palves@redhat.com>
6773
6774 * gdb.base/default.exp (run "r" abbreviation, run): Add
6775 extended-remote expected output.
6776
6777 2012-02-02 Tom Tromey <tromey@redhat.com>
6778
6779 * gdb.cp/dispcxx.exp: New file.
6780 * gdb.cp/dispcxx.cc: New file.
6781
6782 2012-02-01 Tom Tromey <tromey@redhat.com>
6783
6784 * gdb.base/jit-simple.exp: New file.
6785 * gdb.base/jit-simple.c: New file.
6786
6787 2012-01-30 Yao Qi <yao@codesourcery.com>
6788
6789 * gdb.base/skip.exp: Make test result unique.
6790
6791 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6792
6793 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6794 compatibility with valgrind-3.7.0.
6795
6796 2012-01-27 Pedro Alves <palves@redhat.com>
6797
6798 * gdb.base/watchpoint.exp (no_hw): New global.
6799 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6800 disable hw watchpoints.
6801 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6802 don't expect hw watchpoints.
6803 (no_hw_watchpoints): Always clean restart.
6804 (do_tests): New procedure, factored out from the top level.
6805 (top level): Run tests twice. Once with hw watchpoints enabled,
6806 another time with hw watchpoints disabled.
6807
6808 2012-01-27 Pedro Alves <palves@redhat.com>
6809
6810 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6811 out from the top level.
6812 (top level): Call it instead.
6813
6814 2012-01-27 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6817 watchpoints sooner.
6818
6819 2012-01-27 Pedro Alves <palves@redhat.com>
6820
6821 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6822
6823 2012-01-27 Pedro Alves <palves@redhat.com>
6824
6825 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6826 "You may have requested too many hardware
6827 breakpoints/watchpoints".
6828
6829 2012-01-27 Pedro Alves <palves@redhat.com>
6830
6831 * gdb.base/watchpoint.exp (maybe_clean_restart)
6832 (maybe_reinitialize): New.
6833 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6834 expect "hit N times".
6835 (test_disabling_watchpoints, test_complex_watchpoint)
6836 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6837 Call maybe_clean_restart.
6838 (top level): Use clean_restart. Remove "mips-idt-*"
6839 reinitialization.
6840
6841 2012-01-27 Pedro Alves <palves@redhat.com>
6842
6843 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6844
6845 2012-01-27 Pedro Alves <palves@redhat.com>
6846
6847 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6848 require `initialize' anymore. Remove unnecessary `initialize'
6849 calls.
6850
6851 2012-01-27 Pedro Alves <palves@redhat.com>
6852
6853 * gdb.base/watchpoint.exp (wp_set): Delete.
6854 (initialize, test_simple_watchpoint, top level): Remove dead code.
6855
6856 2012-01-27 Pedro Alves <palves@redhat.com>
6857
6858 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6859 typo.
6860
6861 2012-01-27 Pedro Alves <palves@redhat.com>
6862
6863 * config/extended-gdbserver.exp: New file.
6864 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6865 comment.
6866 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6867 * boards/native-extended-gdbserver.exp: New file.
6868
6869 2012-01-26 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6872 and gdb_test_multiple.
6873
6874 2012-01-26 Pedro Alves <palves@redhat.com>
6875
6876 Make test messages unique, and more identifiable.
6877 * gdb.multi/watchpoint-multi.exp: Change test messages.
6878
6879 2012-01-25 Tom Tromey <tromey@redhat.com>
6880
6881 * gdb.base/solib-disc.exp: Fix regexps.
6882
6883 2012-01-24 Tom Tromey <tromey@redhat.com>
6884
6885 * lib/mi-support.exp (mi_expect_stop): Add special case for
6886 solib-event.
6887 * gdb.base/catch-load-so.c: New file.
6888 * gdb.base/catch-load.exp: New file.
6889 * gdb.base/catch-load.c: New file.
6890 * gdb.base/break-interp.exp (reach_1): Update regexp.
6891
6892 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6893
6894 Fix fuzzy results.
6895 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6896 lpsimple and func.
6897
6898 2012-01-24 Gary Benson <gbenson@redhat.com>
6899
6900 Delete #if 0'd out code.
6901 * gdb.base/default.exp (info catch): Remove.
6902 * gdb.base/gdb_history (info catch): Likewise.
6903 * gdb.base/help.exp (info catch): Likewise.
6904
6905 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6906
6907 Fix watchpoints to be specific for each inferior.
6908 * gdb.multi/watchpoint-multi.c: New file.
6909 * gdb.multi/watchpoint-multi.exp: New file.
6910
6911 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6912
6913 Fix watchpoints across inferior fork.
6914 * gdb.threads/watchpoint-fork-child.c: New file.
6915 * gdb.threads/watchpoint-fork-mt.c: New file.
6916 * gdb.threads/watchpoint-fork-parent.c: New file.
6917 * gdb.threads/watchpoint-fork-st.c: New file.
6918 * gdb.threads/watchpoint-fork.exp: New file.
6919 * gdb.threads/watchpoint-fork.h: New file.
6920
6921 2012-01-23 Pedro Alves <palves@redhat.com>
6922
6923 * gdb.base/call-signal-resume.exp: Allow output after "return".
6924
6925 2012-01-20 Pedro Alves <palves@redhat.com>
6926
6927 * gdb.python/py-finish-breakpoint.py: Fix typo.
6928
6929 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6930
6931 * gdb.base/info-proc.exp: Also run on remote targets. Main
6932 "info proc" command is now always present; whether target supports
6933 actual info proc operation is detected when attempting to issue
6934 the command.
6935
6936 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6937
6938 * .gdbinit: Remove.
6939
6940 2012-01-19 Pedro Alves <palves@redhat.com>
6941
6942 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6943 look at the funtions' returns.
6944 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6945 (jprint.print(int, int)): Change return type to int. Adjust.
6946
6947 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6948
6949 PR gdb/9538
6950 * gdb.base/sepdebug.exp: New test.
6951
6952 2012-01-18 Pedro Alves <palves@redhat.com>
6953
6954 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6955 Allow output before ^done.
6956
6957 2012-01-16 Tom Tromey <tromey@redhat.com>
6958
6959 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6960 Add tests for relative directory.
6961
6962 2012-01-16 Tom Tromey <tromey@redhat.com>
6963
6964 * gdb.base/printcmds.c (enum flag_enum): New.
6965 (three): New global.
6966 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6967 enum printing.
6968 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6969 FlagEnumerationPrinter.
6970 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6971 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6972 (fval): New global.
6973
6974 2012-01-16 Pedro Alves <palves@redhat.com>
6975
6976 * lib/gdb.exp (banned_procedures): New variable.
6977 (banned_variables_traced): Rename to ...
6978 (banned_traced): ... this.
6979 (gdb_init): Also trace banned procedures.
6980 (gdb_finish): Also untrace banned procedures.
6981
6982 2012-01-16 Pedro Alves <palves@redhat.com>
6983
6984 Remove all calls to strace.
6985
6986 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6987
6988 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6989 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6990
6991 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6992
6993 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6994 * gdb.base/pie-execl.exp: Likewise.
6995
6996 2012-01-12 Keith Seitz <keiths@redhat.com>
6997
6998 PR mi/10586
6999 * gdb.mi/var-cmd.c (struct anonymous): New structure.
7000 (do_anonymous_type_tests): New function.
7001 (main): Call do_anonymous_type_tests.
7002 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
7003 (verify_everything): New procedure.
7004 * gdb.mi/mi-var-cp.cc (class A): New class.
7005 (anonymous_structs_and_unions): New function.
7006 (main): Call anonymous_structs_and_unions.
7007 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
7008 (verify_everything): New procedure.
7009
7010 2012-01-12 Keith Seitz <keiths@redhat.com>
7011
7012 * lib/mi-support.exp: Expand comments about PATH_EXPR.
7013 (varobj_tree::get_path_expr): Assume that all varobjs are
7014 compound unless they are known simple types.
7015 Adjust path expressions based on parent type, path parent type,
7016 and tree language.
7017 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
7018 the root varobj.
7019 (mi_walk_varobj_tree): Add LANGUAGE parameter.
7020
7021 2012-01-11 Pedro Alves <palves@redhat.com>
7022
7023 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
7024 core files on this machine" anymore.
7025
7026 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
7027
7028 * gdb.base/watchpoint.c (recurser): Initialize local_x.
7029 (main): Repeat recurser call.
7030 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
7031 equivalent to 'local_x'.
7032
7033 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
7034 Joel Brobecker <brobecker@adacore.com>
7035
7036 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
7037
7038 2012-01-05 Pedro Alves <alves.ped@gmail.com>
7039
7040 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
7041 * gdb.python/py-events.c (first): Add bits for new "step N" test.
7042 * gdb.python/py-events.exp: Test that "step N" tripping on a
7043 breakpoint emits a breakpoint event.
7044
7045 2012-01-03 Joel Brobecker <brobecker@adacore.com>
7046
7047 * gdb.base/auxv.exp: Reformat the copyright notice.
7048
7049 2012-01-03 Yao Qi <yao@codesourcery.com>
7050
7051 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
7052 (strace_trace_on_diff_addr): New.
7053 * gdb.trace/strace.c: (main): Add two local variables.
7054
7055 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
7056
7057 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
7058 * gdb.cell/gcore.exp: Likewise.
7059 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
7060 to verify the correct instance of main is selected.
7061
7062 2012-01-02 Joel Brobecker <brobecker@adacore.com>
7063
7064 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
7065 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
7066 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
7067 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
7068 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
7069 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
7070 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
7071 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
7072 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
7073 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
7074 gdb.threads/thread_check.c: Reformat copyright header.
7075
7076 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
7077
7078 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
7079 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
7080 is not enabled.
7081
7082 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7083
7084 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
7085 parameter to self_exec, adjust the function.
7086 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
7087 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
7088 (set var do_exit = 0): Remove test.
7089 (newline at end of file): Add one.
7090
7091 2011-12-27 Joel Brobecker <brobecker@adacore.com>
7092
7093 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
7094 New files.
7095
7096 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7097
7098 Fix racy FAILs.
7099 * gdb.threads/fork-thread-pending.c (barrier): New variable.
7100 (thread_function, thread_forker): Call pthread_barrier_wait for it.
7101 (main): Call pthread_barrier_init for it.
7102
7103 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7104
7105 Fix double send_gdb leading to racy FAILs.
7106 * gdb.base/break.exp (set silent break bp_location1): Replace
7107 3x send_gdb and gdb_expect by gdb_test.
7108 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
7109 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
7110 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
7111 instead of send_gdb. Twice.
7112 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
7113 3x send_gdb and gdb_expect by gdb_test.
7114 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
7115
7116 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7117
7118 * gdb.linespec/linespec.exp: Compile using {c++}.
7119
7120 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7121
7122 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
7123 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
7124 (verify GCC PR debug/51668): New test.
7125
7126 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
7127
7128 Introduce gdb.FinishBreakpoint in Python.
7129 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
7130 py-finish-breakpoint2
7131 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
7132 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
7133 instead of line number.
7134 * gdb.python/py-finish-breakpoint.c: New file.
7135 * gdb.python/py-finish-breakpoint.exp: New file.
7136 * gdb.python/py-finish-breakpoint.py: New file.
7137 * gdb.python/py-finish-breakpoint2.cc: New file.
7138 * gdb.python/py-finish-breakpoint2.exp: New file.
7139 * gdb.python/py-finish-breakpoint2.py: New file.
7140
7141 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7142
7143 Partial fix of compatibility with gcc-4.7.
7144 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
7145 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
7146 Add comment to add a PASS case in the future.
7147
7148 Fix compatibility with gcc-4.7.
7149 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
7150
7151 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
7152
7153 PR tdep/12797
7154 * gdb.base/callfuncs.exp: Remove KFAIL.
7155
7156 2011-12-21 Joel Brobecker <brobecker@adacore.com>
7157
7158 * gdb.ada/task_bp: New testcase.
7159
7160 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7161
7162 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
7163 -DNO_SECTIONS.
7164 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
7165
7166 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7167
7168 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
7169 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
7170 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7171 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
7172 conditional for gcc <= 4.5.
7173
7174 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7175
7176 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
7177 by XFAIL.
7178 * gdb.cp/static-method.exp (info addr A::func())
7179 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7180 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7181 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7182 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
7183 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
7184 (test value of F in k3_m): Likewise.
7185 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7186 Likewise.
7187
7188 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7189
7190 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
7191 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
7192 Remove.
7193 * gdb.threads/attachstop-mt.c: Remove.
7194 * gdb.threads/attachstop-mt.exp: Remove.
7195
7196 2011-12-17 Mark Kettenis <kettenis@gnu.org>
7197
7198 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
7199
7200 2011-12-16 Doug Evans <dje@google.com>
7201
7202 * boards/native-stdio-gdbserver.exp: New file.
7203 * boards/native-gdbserver.exp: New file.
7204
7205 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
7206 gdbserver output.
7207 (gdbserver_default_get_remote_address): New function.
7208 (gdbserver_start): Call gdb,get_remote_address to compute argument
7209 to "target remote" command.
7210
7211 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
7212
7213 * gdb.python/py-function.exp: Change "on" to "full" for
7214 python print-stack. Add set/show python print-stack
7215 off|full|message tests.
7216
7217 2011-12-15 Yao Qi <yao@codesourcery.com>
7218
7219 * gdb.trace/strace.c: New
7220 * gdb.trace/strace.exp: New.
7221
7222 2011-12-14 Tom Tromey <tromey@redhat.com>
7223
7224 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
7225
7226 2011-12-14 Doug Evans <dje@google.com>
7227
7228 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
7229
7230 2011-12-14 Pedro Alves <pedro@codesourcery.com>
7231
7232 PR threads/10729
7233
7234 * gdb.mi/watch-nonstop.c: New file.
7235 * gdb.mi/mi-watch-nonstop.exp: New file.
7236
7237 2011-12-13 Pedro Alves <pedro@codesourcery.com>
7238 Doug Evans <dje@google.com>
7239
7240 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
7241 (clean_restart): Remove references to the gdb_stub target board
7242 variable.
7243 (gdb_step_for_stub): Delete.
7244
7245 * gdb.base/annota1.exp: Remove all references to [target_info
7246 exists gdb_stub], gdb_step_for_stub and usestubs.
7247 * gdb.base/annota3.exp: Ditto.
7248 * gdb.base/async.exp: Ditto.
7249 * gdb.base/break.exp: Ditto.
7250 * gdb.base/code-expr.exp: Ditto.
7251 * gdb.base/commands.exp: Ditto.
7252 * gdb.base/completion.exp: Ditto.
7253 * gdb.base/condbreak.exp: Ditto.
7254 * gdb.base/consecutive.exp: Ditto.
7255 * gdb.base/cvexpr.exp: Ditto.
7256 * gdb.base/define.exp: Ditto.
7257 * gdb.base/display.exp: Ditto.
7258 * gdb.base/ena-dis-br.exp: Ditto.
7259 * gdb.base/environ.exp: Ditto.
7260 * gdb.base/gnu-ifunc.exp: Ditto.
7261 * gdb.base/maint.exp: Ditto.
7262 * gdb.base/pending.exp: Ditto.
7263 * gdb.base/sect-cmd.exp: Ditto.
7264 * gdb.base/sepdebug.exp: Ditto.
7265 * gdb.base/unload.exp: Ditto.
7266 * gdb.base/watchpoint-solib.exp: Ditto.
7267 * gdb.cp/annota2.exp: Ditto.
7268 * gdb.cp/annota3.exp: Ditto.
7269 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
7270 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
7271 * gdb.mi/mi-pending.exp: Ditto.
7272 * gdb.trace/circ.exp: Ditto.
7273 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
7274 * gdb.base/list.exp: Ditto.
7275
7276 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
7277 breakpoint function and all references to the usestubs macro.
7278 * gdb.base/exprs.c: Ditto.
7279 * gdb.base/freebpcmd.c: Ditto.
7280 * gdb.base/bitfields.c: Ditto.
7281 * gdb.base/bitfields2.c: Ditto.
7282 * gdb.base/break.c: Ditto.
7283 * gdb.base/call-sc.c: Ditto.
7284 * gdb.base/call-signals.c: Ditto.
7285 * gdb.base/callfuncs.c: Ditto.
7286 * gdb.base/charset.c: Ditto.
7287 * gdb.base/consecutive.c: Ditto.
7288 * gdb.base/constvars.c: Ditto.
7289 * gdb.base/funcargs.c: Ditto.
7290 * gdb.base/int-type.c: Ditto.
7291 * gdb.base/interrupt.c: Ditto.
7292 * gdb.base/langs0.c: Ditto.
7293 * gdb.base/list0.c: Ditto.
7294 * gdb.base/mips_pro.c: Ditto.
7295 * gdb.base/miscexprs.c: Ditto.
7296 * gdb.base/nodebug.c: Ditto.
7297 * gdb.base/opaque0.c: Ditto.
7298 * gdb.base/pointers.c: Ditto.
7299 * gdb.base/printcmds.c: Ditto.
7300 * gdb.base/ptype.c: Ditto.
7301 * gdb.base/recurse.c: Ditto.
7302 * gdb.base/reread1.c: Ditto.
7303 * gdb.base/reread2.c: Ditto.
7304 * gdb.base/restore.c: Ditto.
7305 * gdb.base/return.c: Ditto.
7306 * gdb.base/run.c: Ditto.
7307 * gdb.base/scope0.c: Ditto.
7308 * gdb.base/sepdebug.c: Ditto.
7309 * gdb.base/setshow.c: Ditto.
7310 * gdb.base/setvar.c: Ditto.
7311 * gdb.base/sigall.c: Ditto.
7312 * gdb.base/signals.c: Ditto.
7313 * gdb.base/structs.c: Ditto.
7314 * gdb.base/structs2.c: Ditto.
7315 * gdb.base/testenv.c: Ditto.
7316 * gdb.base/twice.c: Ditto.
7317 * gdb.base/unwindonsignal.c: Ditto.
7318 * gdb.base/watchpoint.c: Ditto.
7319 * gdb.base/watchpoints.c: Ditto.
7320 * gdb.base/whatis.c: Ditto.
7321 * gdb.cp/classes.cc: Ditto.
7322 * gdb.cp/cplusfuncs.cc: Ditto.
7323 * gdb.cp/derivation.cc: Ditto.
7324 * gdb.cp/formatted-ref.cc: Ditto.
7325 * gdb.cp/misc.cc: Ditto.
7326 * gdb.cp/overload.cc: Ditto.
7327 * gdb.cp/ovldbreak.cc: Ditto.
7328 * gdb.cp/ref-params.cc: Ditto.
7329 * gdb.cp/ref-types.cc: Ditto.
7330 * gdb.cp/templates.cc: Ditto.
7331 * gdb.cp/virtfunc.cc: Ditto.
7332 * gdb.hp/gdb.aCC/run.c: Ditto.
7333 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
7334 * gdb.hp/gdb.compat/xdb0.c: Ditto.
7335 * gdb.reverse/consecutive-reverse.c: Ditto.
7336 * gdb.reverse/sigall-reverse.c: Ditto.
7337 * gdb.reverse/until-reverse.c: Ditto.
7338 * gdb.reverse/watch-reverse.c: Ditto.
7339 * gdb.trace/actions.c: Ditto.
7340 * gdb.trace/circ.c: Ditto.
7341 * gdb.trace/collection.c: Ditto.
7342
7343 2011-12-13 Pedro Alves <pedro@codesourcery.com>
7344
7345 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
7346 (func6, func7): New.
7347 (main): Call func6 and func7.
7348 * gdb.base/watchpoint.exp (test_wide_location_1)
7349 (test_wide_location_2): New.
7350 (top level): Re-enable hardware watchpoints if necessary. Call
7351 test_wide_location_1 and test_wide_location_2.
7352
7353 2011-12-11 Yao Qi <yao@codesourcery.com>
7354
7355 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
7356
7357 2011-12-11 Joel Brobecker <brobecker@adacore.com>
7358
7359 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
7360 expected output for unsupported case.
7361
7362 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7363
7364 PR testsuite/12649
7365 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
7366 Protect gdb_test_multiple by final $gdb_prompt match.
7367
7368 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7369
7370 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
7371 New variable, new test.
7372 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7373 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7374 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7375 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
7376 them if HAVE_GCC_45682_FIXED is not set.
7377
7378 2011-12-10 Yao Qi <yao@codesourcery.com>
7379
7380 * gdb.trace/status-stop.exp: New.
7381 * gdb.trace/status-stop.c: New.
7382
7383 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7384
7385 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
7386 timeout.
7387
7388 2011-12-08 Tom Tromey <tromey@redhat.com>
7389
7390 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
7391 condition.
7392
7393 2011-12-07 Stan Shebs <stan@codesourcery.com>
7394
7395 * gdb.trace/tfind.exp: Update for output changes.
7396
7397 2011-12-07 Pedro Alves <pedro@codesourcery.com>
7398
7399 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
7400 throws "Cannot insert catchpoints in this configuration".
7401 * gdb.ada/mi_catch_ex.exp: Likewise.
7402
7403 2011-12-06 Pedro Alves <pedro@codesourcery.com>
7404
7405 * gdb.base/break-always.exp: Test changing memory at addresses
7406 with breakpoints inserted.
7407
7408 2011-12-06 Joel Brobecker <brobecker@acacore.com>
7409
7410 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
7411 involving a fully qualified function name.
7412
7413 2011-12-06 Tom Tromey <tromey@redhat.com>
7414
7415 * gdb.ada/homonym.exp: Add three breakpoint tests.
7416
7417 2011-12-06 Tom Tromey <tromey@redhat.com>
7418
7419 * gdb.base/solib-weak.exp (do_test): Remove kfail.
7420 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
7421 * gdb.objc/objcdecode.exp: Update for output changes.
7422 * gdb.linespec/linespec.exp: New file.
7423 * gdb.linespec/lspec.cc: New file.
7424 * gdb.linespec/lspec.h: New file.
7425 * gdb.linespec/body.h: New file.
7426 * gdb.linespec/base/two/thefile.cc: New file.
7427 * gdb.linespec/base/one/thefile.cc: New file.
7428 * gdb.linespec/Makefile.in: New file.
7429 * gdb.cp/templates.exp (test_template_breakpoints): Update for
7430 output changes.
7431 * gdb.cp/re-set-overloaded.exp: Remove kfail.
7432 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
7433 makes one breakpoint.
7434 * gdb.cp/method2.exp (test_break): Update for output changes.
7435 * gdb.cp/mb-templates.exp: Update for output changes.
7436 * gdb.cp/mb-inline.exp: Update for output changes.
7437 * gdb.cp/mb-ctor.exp: Update for output changes.
7438 * gdb.cp/ovsrch.exp: Use fully-qualified names.
7439 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
7440 has multiple matches.
7441 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
7442 error message change.
7443 * gdb.base/list.exp (test_list_filename_and_number): Update for
7444 error message change.
7445 * gdb.base/break.exp: Disable pending breakpoints. Update for
7446 output changes.
7447 * configure.ac: Add gdb.linespec.
7448 * configure: Rebuild.
7449 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
7450
7451 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
7452
7453 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
7454 last_break register on s390*-*-* targets.
7455
7456 2011-12-06 Joel Brobecker <brobecker@adacore.com>
7457
7458 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
7459 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
7460 of parameter X in procedure Foo.
7461
7462 2011-12-05 Stan Shebs <stan@codesourcery.com>
7463
7464 * gdb.trace/tfind.exp: Update help string matches.
7465
7466 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7467
7468 * gdb.server/ext-run.exp (get process list): Accept also systemd
7469 as PID 1.
7470
7471 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7472 Pedro Alves <pedro@codesourcery.com>
7473
7474 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
7475 starting GDB.
7476 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
7477 $use_gdb_stub.
7478 * gdb.base/display.exp: Likewise.
7479 * gdb.base/ending-run.exp: Likewise.
7480 * gdb.base/list.exp (test_listsize): Likewise.
7481 * gdb.base/setshow.exp: Likewise.
7482 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7483 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7484 check by global $use_gdb_stub.
7485 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7486 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7487 (default_gdb_init): Unset global $use_gdb_stub.
7488 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7489 by global $use_gdb_stub.
7490 * lib/gdbserver-support.exp: Extend comments for set_board_info
7491 gdb_protocol and gdb,socketport.
7492 (gdbserver_start_extended): Set global gdbserver_protocol and
7493 gdbserver_gdbport. Clear global use_gdb_stub.
7494 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7495 from target use_gdb_stub.
7496 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7497
7498 2011-12-03 Doug Evans <dje@google.com>
7499
7500 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7501 (gdb_step_for_stub): Add comments.
7502
7503 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7504
7505 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7506 to the caller.
7507 (gdb_test_multiple): Likewise.
7508
7509 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7510
7511 Fix gdb.mi/mi-solib.exp without system debug info installed.
7512 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7513 expect attribute, return 0 for it. Update comments.
7514
7515 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7516
7517 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7518 (corrupted list): Adjust the expectation.
7519
7520 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7521
7522 PR threads/13448
7523 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7524 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7525 * gdb.threads/tls-var-main.c: New file.
7526 * gdb.threads/tls-var.c: New file.
7527 * gdb.threads/tls-var.exp: New file.
7528
7529 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7530
7531 PR testsuite/12649
7532 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7533 Protect gdb_test_multiple by final $gdb_prompt match.
7534 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7535 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7536 (test_tracepoints): Likewise.
7537
7538 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7539
7540 PR breakpoints/13346
7541 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7542 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7543 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7544
7545 2011-12-01 Joel Brobecker <brobecker@adacore.com>
7546
7547 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7548 * gdb.ada/homonym/homonym.adb: For use of all types defined
7549 locally inside both Get_Value subprograms.
7550
7551 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7552
7553 Fix racy FAILs.
7554 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7555 of send_gdb.
7556
7557 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7558
7559 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7560 environment variable after test completed.
7561
7562 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7563
7564 * gdb.base/solib-nodir.exp: Skip if remote target.
7565 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7566 application. Call gdb_load_shlibs.
7567 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7568
7569 2011-11-29 Joel Brobecker <brobecker@adacore.com>
7570
7571 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7572
7573 2011-11-28 Joel Brobecker <brobecker@adacore.com>
7574
7575 * gdb.ada/fullname_bp: New testcase.
7576
7577 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 PR testsuite/12649
7580 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7581 Wrap send_gdb into a new gdb_test.
7582
7583 Code cleanup.
7584 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7585 Convert send_gdb and gdb_expect to gdb_test_multiple.
7586
7587 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7588
7589 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7590
7591 2011-11-23 Keith Seitz <keiths@redhat.com>
7592
7593 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7594 (mi_varobj_tree_test_children_callback): New proc.
7595 (mi_walk_varobj_tree): New proc.
7596
7597 2011-11-22 Tom Tromey <tromey@redhat.com>
7598
7599 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7600 Add "use_mi_command" argument.
7601 (mi_run_cmd, mi_run_with_cli): New procs.
7602 * gdb.mi/solib-lib.c: New file.
7603 * gdb.mi/solib-main.c: New file.
7604 * gdb.mi/mi-solib.exp: New file.
7605
7606 2011-11-21 Doug Evans <dje@google.com>
7607
7608 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7609 _Unwind_DebugHook is missing.
7610
7611 2011-11-20 Stan Shebs <stan@codesourcery.com>
7612
7613 * gdb.trace/tstatus.exp: New.
7614 * gdb.trace/actions.c: Include string.h.
7615
7616 2011-11-18 Yao Qi <yao@codesourcery.com>
7617
7618 * gdb.trace/pending.exp: New.
7619 * gdb.trace/pending.c: New.
7620 * gdb.trace/pendshr1.c: New.
7621 * gdb.trace/pendshr2.c: New.
7622 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7623 tracepoint location becomes pending.
7624 (tracepoint_change_loc_2): New.
7625
7626 2011-11-16 David S. Miller <davem@davemloft.net>
7627
7628 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7629 target is sparc*-*-linux*
7630
7631 2011-11-15 Paul Koning <paul_koning@dell.com>
7632
7633 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7634 types.
7635
7636 2011-11-14 Doug Evans <dje@google.com>
7637
7638 * gdb.base/shell.exp: New file.
7639
7640 2011-11-14 Stan Shebs <stan@codesourcery.com>
7641
7642 * gdb.trace/ftrace.c: New.
7643 * gdb.trace/ftrace.exp: New.
7644
7645 2011-11-14 Yao Qi <yao@codesourcery.com>
7646
7647 * gdb.trace/change-loc-1.c: New.
7648 * gdb.trace/change-loc-2.c: New.
7649 * gdb.trace/change-loc.c: New.
7650 * gdb.trace/change-loc.exp: New.
7651 * gdb.trace/change-loc.h: New.
7652 * gdb.trace/trace-break.c (marker): Define new symbol.
7653 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
7654 New.
7655 (break_trace_same_addr_6): New.
7656
7657 2011-11-12 Matt Rice <ratmice@gmail.com>
7658
7659 * gdb.base/info-macros.exp: Make tests for info definitions
7660 test info macro. Add tests for info macro argument processing.
7661 Rename a few tests.
7662
7663 2011-11-11 Keith Seitz <keiths@redhat.com>
7664
7665 PR gdb/12843
7666 * gdb.base/linespecs.exp: New file.
7667
7668 2011-11-11 Doug Evans <dje@google.com>
7669
7670 * gdb.threads/print-threads.exp: Extend timeout for slower
7671 tests.
7672
7673 2011-11-10 Doug Evans <dje@google.com>
7674
7675 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7676 "record to end of main" test.
7677
7678 * gdb.python/py-type.c (TS): New typedef.
7679 (ts): New global.
7680 * gdb.python/py-type.exp: Test field list of typedef.
7681
7682 2011-11-10 Joel Brobecker <brobecker@adacore.com>
7683
7684 * gdb.ada/small_reg_param: New testcase.
7685
7686 2011-11-09 Tom Tromey <tromey@redhat.com>
7687
7688 * gdb.cp/destrprint.exp: New file.
7689 * gdb.cp/destrprint.cc: New file.
7690
7691 2011-11-08 Meador Inge <meadori@codesourcery.com>
7692
7693 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7694 (switch_stack_to_other): New test function.
7695 * gdb.arch/thumb-prologue.exp: New test cases.
7696
7697 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7698
7699 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7700
7701 2011-11-08 Yao Qi <yao@codesourcery.com>
7702
7703 * gdb.exp (supports_process_record): New.
7704 (supports_reverse): New.
7705 * gdb.reverse/break-precsave.exp: Call support_process_record
7706 to run test conditionally.
7707 * gdb.reverse/consecutive-precsave.exp: Likewise.
7708 * gdb.reverse/i386-precsave.exp: Likewise.
7709 * gdb.reverse/machinestate-precsave.exp: Likewise.
7710 * gdb.reverse/solib-precsave.exp: Likewise.
7711 * gdb.reverse/step-precsave.exp: Likewise.
7712 * gdb.reverse/until-precsave.exp: Likewise.
7713 * gdb.reverse/watch-precsave.exp: Likewise.
7714 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7715 test conditionally.
7716 * gdb.reverse/consecutive-reverse.exp: Likewise.
7717 * gdb.reverse/finish-precsave.exp: Likewise.
7718 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7719 * gdb.reverse/finish-reverse.exp: Likewise.
7720 * gdb.reverse/i386-reverse.exp: Likewise.
7721 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7722 * gdb.reverse/machinestate.exp: Likewise.
7723 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7724 * gdb.reverse/sigall-precsave.exp: Likewise.
7725 * gdb.reverse/sigall-reverse.exp: Likewise.
7726 * gdb.reverse/solib-reverse.exp: Likewise.
7727 * gdb.reverse/step-reverse.exp: Likewise.
7728 * gdb.reverse/until-reverse.exp: Likewise.
7729 * gdb.reverse/watch-reverse.exp: Likewise.
7730
7731 2011-11-05 Yao Qi <yao@codesourcery.com>
7732
7733 * gdb.trace/trace-break.exp: Add test on setting two
7734 fast tracepoints at the same address.
7735
7736 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7737
7738 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7739
7740 2011-11-02 Stan Shebs <stan@codesourcery.com>
7741
7742 * gdb.trace/collection.c: Add code using strings.
7743 * gdb.trace/collection.exp: Add tests of string collection.
7744
7745 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7746
7747 * gdb.base/skip-solib.exp (executable_main): New variable.
7748 (binfile_main): Base it on that.
7749 Use $executable_main in clean_restart calls. Drop gdb_exit and
7750 gdb_start calls.
7751
7752 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7753
7754 Fix racy FAILs.
7755 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7756 breakpoint_re globals import by async. Set string_regex to .* for
7757 async. Remove the optional thread_selected_re and breakpoint_re
7758 globals expectations.
7759
7760 2011-11-01 Joseph Myers <joseph@codesourcery.com>
7761
7762 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7763 well as Cygwin.
7764
7765 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
7766
7767 Add tests for skip command.
7768 * gdb.base/skip-solib-lib.c: New
7769 * gdb.base/skip-solib-main.c: New
7770 * gdb.base/skip-solib.exp: New
7771 * gdb.base/skip.c: New
7772 * gdb.base/skip.exp: New
7773 * gdb.base/skip1.c: New
7774 * gdb.base/Makefile.in: Adding new files.
7775
7776 2011-10-31 Yao Qi <yao@codesourcery.com>
7777 Pedro Alves <pedro@codesourcery.com>
7778
7779 * gdb.trace/trace-break.c: New.
7780 * gdb.trace/trace-break.exp: New.
7781
7782 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7783
7784 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7785 break-here-2.
7786
7787 2011-10-28 Pedro Alves <pedro@codesourcery.com>
7788
7789 * gdb.threads/no-unwaited-for-left.c: New.
7790 * gdb.threads/no-unwaited-for-left.exp: New.
7791 * gdb.threads/non-ldr-exc-1.c: New.
7792 * gdb.threads/non-ldr-exc-1.exp: New.
7793 * gdb.threads/non-ldr-exc-2.c: New.
7794 * gdb.threads/non-ldr-exc-2.exp: New.
7795 * gdb.threads/non-ldr-exc-3.c: New.
7796 * gdb.threads/non-ldr-exc-3.exp: New.
7797 * gdb.threads/non-ldr-exc-4.c: New.
7798 * gdb.threads/non-ldr-exc-4.exp: New.
7799
7800 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7801
7802 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7803 * gdb.base/attach-pie-misread.exp: Likewise.
7804 * gdb.base/break-interp.exp: Likewise.
7805 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7806 testcases for use_gdb_stub.
7807 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7808 (continue): New testcase.
7809 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7810 * gdb.threads/attach-into-signal.exp: Likewise.
7811 * gdb.threads/attach-stopped.exp: Likewise.
7812 * gdb.threads/attachstop-mt.exp: Likewise.
7813
7814 2011-10-28 Paul Koning <paul_koning@dell.com>
7815
7816 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7817
7818 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7819
7820 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7821 (mi_gdb_test): Import globals thread_selected_re
7822 and breakpoint_re. Expect them optionally at the regex start.
7823
7824 2011-10-27 Doug Evans <dje@google.com>
7825
7826 * gdb.python/python.exp: Test source -s.
7827
7828 2011-10-26 Paul Koning <paul_koning@dell.com>
7829
7830 * gdb.python/lib-types.cc (struct A): New structure.
7831 * gdb.python/lib-types.exp (deepitems): New tests.
7832
7833 2011-10-25 Paul Koning <paul_koning@dell.com>
7834
7835 PR python/13327
7836
7837 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7838 fetch_lazy method.
7839
7840 2011-10-24 Yao Qi <yao@codesourcery.com>
7841
7842 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7843 target is tic6x-*-*.
7844
7845 2011-10-21 Joel Brobecker <brobecker@adacore.com>
7846
7847 * gdb.ada/mi_task_info/task_switch.adb: New file.
7848 * gdb.ada/mi_task_info.exp: New file.
7849
7850 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7851
7852 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7853 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7854
7855 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7856
7857 PR python/12656
7858
7859 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7860 global_block tests.
7861
7862 2011-10-18 Tom Tromey <tromey@redhat.com>
7863
7864 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7865
7866 2011-10-18 Tom Tromey <tromey@redhat.com>
7867
7868 * gdb.base/source.exp: Don't include full file name in test name.
7869 * gdb.python/python.exp: Don't include full file name in test
7870 name.
7871
7872 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7873
7874 * gdb.base/attach-pie-noexec.c: New files.
7875 * gdb.base/attach-pie-noexec.exp: New files.
7876
7877 2011-10-17 Joseph Myers <joseph@codesourcery.com>
7878
7879 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7880 prompt for each extra line in command.
7881
7882 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7883
7884 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7885 Revert the part of:
7886 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7887 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7888 Change the expected string.
7889
7890 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7891
7892 Fix results with system glibc debug info installed.
7893 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7894 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7895 Accept also __libc_ symbol prefix and no prefix.
7896
7897 2011-10-14 Keith Seitz <keiths@redhat.com>
7898
7899 PR c++/13225
7900 * gdb.cp/converts.cc (foo3_1): New function.
7901 (foo3_2): New functions.
7902 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7903 and null pointer conversions of integer constant zero.
7904 Add test to check if all arguments are checked for incompatible
7905 conversion BADNESS.
7906
7907 2011-10-14 Tom Tromey <tromey@redhat.com>
7908
7909 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7910 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7911 linespec.
7912
7913 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7914
7915 Fix internal error regression.
7916 * gdb.dwarf2/implptr-optimized-out.S: New file.
7917 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7918
7919 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7920
7921 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7922 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7923 (loclist): New.
7924 (4): New abbrev.
7925 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7926 Use prepare_for_testing, remove clean_restart.
7927 (p arraynoloc, p arraycallnoloc): New tests.
7928
7929 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7930
7931 * gdb.cp/namespace-enum.exp (executable): New variable.
7932 (binfile): Use ${objdir}/${subdir}/ prefix.
7933 Use ${executable} for clean_restart.
7934
7935 2011-10-11 Sterling Augustine <saugustine@google.com>
7936
7937 * gdb.cp/Makefile.in: Add namespace-enum test.
7938 * gdb.cp/namespace-enum.exp: New file.
7939 * gdb.cp/namespace-enum.c: New file.
7940 * gdb.cp/namespace-enum-main.c: New file.
7941
7942 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7943
7944 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7945 sysroot.
7946
7947 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7948
7949 Reimplement @entry in input expressions.
7950 * gdb.base/exprs.c (v_int_array_init): New variable.
7951 * gdb.base/exprs.exp (print v_int_array_init)
7952 (print *v_int_array_init@1, print *v_int_array_init@2)
7953 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7954 (print v_int_array_init[1]@1): New tests.
7955
7956 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7957
7958 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7959 expected message.
7960
7961 2011-10-09 Doug Evans <dje@google.com>
7962
7963 * gdb.base/alias.exp: Add tests for alias command.
7964
7965 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7966
7967 * gdb.arch/amd64-entry-value.s: New file.
7968 * gdb.mi/mi2-amd64-entry-value.s: New file.
7969
7970 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7971
7972 Display @entry parameter values even for references.
7973 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7974 functions.
7975 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7976 reference and datap_input.
7977 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7978 breakpoints.
7979 (continue to breakpoint: entry_reference: reference)
7980 (entry_reference: bt at entry)
7981 (continue to breakpoint: entry_reference: breakhere_reference)
7982 (entry_reference: bt, entry_reference: ptype regparam)
7983 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7984 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7985 (entry_reference: p regcopy, entry_reference: p nodataparam)
7986 (entry_reference: p nodataparam@entry): New tests.
7987
7988 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7989
7990 Support @entry in input expressions.
7991 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7992 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7993 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7994 (tailcall: p j@entry): New tests.
7995 * gdb.cp/koenig.cc (A::entry): New function.
7996 (main): Call it.
7997 * gdb.cp/koenig.exp (p entry (c)): New test.
7998
7999 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8000
8001 Display @entry parameter values (without references).
8002 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
8003 (different, validity, invalid): New functions.
8004 (main): Call them.
8005 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
8006 stacktest, breakhere_stacktest, different, breakhere_different,
8007 breakhere_validity and breakhere_invalid.
8008 (entry: bt): Update for @entry.
8009 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
8010 (entry_validity: *, entry_invalid: *): Many new tests.
8011 * gdb.base/break.exp
8012 (run until breakpoint set at small function, optimized file): Accept
8013 also the @entry suffix.
8014 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
8015 * gdb.mi/mi2-amd64-entry-value.c: New files.
8016 * gdb.mi/mi2-amd64-entry-value.exp: New files.
8017
8018 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8019
8020 Protect entry values against self tail calls.
8021 * gdb.arch/amd64-entry-value.cc (self2, self): New.
8022 (main): Call self.
8023 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
8024 (set debug entry-values 1, self: bt debug entry-values): New tests.
8025
8026 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8027
8028 Recognize virtual tail call frames.
8029 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
8030 (amb_b, amb_a): New.
8031 (main): Call a and b.
8032 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
8033 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
8034 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
8035 New tests.
8036
8037 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8038
8039 Implement basic support for DW_TAG_GNU_call_site.
8040 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
8041 * gdb.arch/amd64-entry-value.cc: New file.
8042 * gdb.arch/amd64-entry-value.exp: New file.
8043
8044 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8045
8046 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
8047 * gdb.dwarf2/implptr-64bit.S: New file.
8048 * gdb.dwarf2/implptr-64bit.exp: New file.
8049
8050 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8051
8052 Fix initial language detection with -readnow.
8053 * gdb.cp/readnow-language.cc: New file.
8054 * gdb.cp/readnow-language.exp: New file.
8055
8056 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8057
8058 Fix printed anonymous struct name.
8059 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
8060
8061 2011-10-09 Joseph Myers <joseph@codesourcery.com>
8062
8063 * gdb.base/solib-symbol.exp: Do not include directories in
8064 filenames in expected messages.
8065
8066 2011-10-07 Doug Evans <dje@google.com>
8067
8068 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
8069
8070 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
8071
8072 Allow Python notification of new object-file loadings.
8073 * gdb.python/py-events.exp: Test newobjfile event.
8074 * gdb.python/py-events.py: Register newobjfile callback.
8075 * gdb.python/py-events.c: Add call to shared library
8076 * gdb.python/py-events-shlib.c: New file.
8077
8078 2011-10-06 Joseph Myers <joseph@codesourcery.com>
8079
8080 * gdb.base/fixsection.exp: Do not include directories in filename
8081 in expected message.
8082
8083 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8084
8085 Add tests for passing of environment variables to inferior.
8086 * gdb.base/testenv.c: New test source.
8087 * gdb.base/testenv.exp: New expect test.
8088
8089 2011-10-04 Paul Koning <paul_koning@dell.com>
8090
8091 * gdb.python/py-value.c (main): Break before return.
8092
8093 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
8094
8095 PR python/12691: Add the inferior to Python exited event
8096 * gdb.python/py-events.exp: Test the inferior attribute of exited
8097 event with a fork.
8098 * gdb.python/py-events.py: Print inferior number on exit.
8099 * gdb.python/py-events.c: Fork the inferior.
8100
8101 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
8102
8103 * gdb.base/jit.exp: Add testcase name to log message
8104
8105 2011-10-03 Paul Koning <paul_koning@dell.com>
8106 Jan Kratochvil <jan.kratochvil@redhat.com>
8107
8108 * gdb.python/py-value.exp
8109 (python inval = gdb.parse_and_eval('*(int*)0'))
8110 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
8111 (set argc=2, python print argc_lazy): New tests.
8112
8113 2011-10-02 Joel Brobecker <brobecker@adacore.com>
8114
8115 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
8116
8117 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8118 Pedro Alves <pedro@codesourcery.com>
8119
8120 * gdb.python/py-value.exp (test_value_in_inferior): New variable
8121 can_read_0, test for it.
8122 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
8123 (parse_and_eval with memory error): ... here, make it untested if
8124 can_read_0.
8125
8126 2011-09-30 Marek Polacek <mpolacek@redhat.com>
8127
8128 * gdb.python/python.exp (verify pagination beforehand)
8129 (verify pagination afterwards): Fix race by splitting the line.
8130
8131 2011-09-29 Joseph Myers <joseph@codesourcery.com>
8132
8133 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
8134 for 64-bit multilibs from i?86-* targets.
8135
8136 2011-09-29 Marek Polacek <mpolacek@redhat.com>
8137
8138 * lib/gdb.exp: Fix a typo in one of the comments.
8139
8140 2011-09-29 Marek Polacek <mpolacek@redhat.com>
8141
8142 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
8143 matching pattern.
8144
8145 2011-09-28 Paul Koning <paul_koning@dell.com>
8146
8147 * gdb.python/py-type.c (enum E): New.
8148 * gdb.python/py-type.exp (test_fields): Add tests for Python
8149 mapping access to fields.
8150 (test_enums): New test for field access on enums.
8151
8152 2011-09-27 Stan Shebs <stan@codesourcery.com>
8153
8154 * gdb.trace/collection.exp: Test collection of $_ret.
8155
8156 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
8157
8158 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
8159 list of compilation switches for <*-*-freebsd*>.
8160
8161 2011-09-19 Stan Shebs <stan@codesourcery.com>
8162
8163 * gdb.trace/tspeed.exp: New file.
8164 * gdb.trace/tspeed.c: New file.
8165
8166 2011-09-18 Yao Qi <yao@codesourcery.com>
8167
8168 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
8169 instructions.
8170 (test_adr_32bit, test_pop_pc): Likewise.
8171 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
8172 Thumb instructions.
8173 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
8174 in gdb_test_multiple.
8175 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
8176
8177 2011-09-17 Yao Qi <yao@codesourcery.com>
8178
8179 * lib/gdb.exp (can_single_step_to_signal_handler): New.
8180 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
8181 support single step to signal handler.
8182
8183 2011-09-17 Yao Qi <yao@codesourcery.com>
8184
8185 * gdb.base/disp-step-fork.c: New.
8186 * gdb.base/disp-step-syscall.exp: New.
8187 * gdb.base/disp-step-vfork.c: New.
8188
8189 2011-09-16 Joel Brobecker <brobecker@adacore.com>
8190
8191 * gdb.ada/tasks.exp: Make the expected output for
8192 the `info tasks' tests more resilient to spacing
8193 changes.
8194
8195 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8196
8197 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
8198 (reached breakpoint 2, reached breakpoint 3): Update expected output.
8199
8200 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
8201
8202 PR Python/12692 Add gdb.selected_inferior() to Python interface.
8203 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
8204
8205 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
8206
8207 Handle multiple breakpoint hits in Python interface:
8208 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
8209 presence.
8210 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
8211 breakpoint hits.
8212
8213 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8214 Jan Kratochvil <jan.kratochvil@redhat.com>
8215
8216 * gdb.python/py-events.exp: Remove pretty printing comment.
8217 * gdb.python/py-evsignal.exp: New file.
8218 * gdb.python/py-evthreads.c: Include signal.h.
8219 (thread3): Remove variable count3. Remove variable bad and use raise
8220 instead.
8221 (thread2): Remove variable count2. Move thread3 pthread_create here,
8222 merge pthread_join to a single line.
8223 (main): Remove variable count1. Merge pthread_join with pthread_create
8224 to a single line.
8225 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
8226 KFAIL python/12966 for gdbserver. Test return value of
8227 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
8228 gdb_expect by gdb_test and gdb_test_multiple.
8229 (thread 2, thread 3): New tests.
8230
8231 2011-09-12 Matt Rice <ratmice@gmail.com>
8232 Pedro Alves <pedro@codesourcery.com>
8233
8234 PR gdb/13175
8235
8236 * gdb.base/interp.exp: New tests.
8237 * gdb.base/interp.c: New file.
8238
8239 2011-09-12 Doug Evans <dje@google.com>
8240
8241 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
8242 * gdb.dwarf2/typeddwarf.exp: Ditto.
8243
8244 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8245
8246 Fix compatibility with x32 arch.
8247 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
8248 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
8249 is_x86_like_target.
8250 * testsuite/gdb.trace/collection.exp: Likewise.
8251 * testsuite/gdb.trace/report.exp: Likewise.
8252 * testsuite/gdb.trace/unavailable.exp: Likewise.
8253 * testsuite/gdb.trace/while-dyn.exp: Likewise.
8254 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
8255 (is_x86_like_target): Check also is_amd64_regs_target.
8256
8257 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8258
8259 PR breakpoints/12435
8260 * gdb.arch/amd64-prologue-xmm.c: New file.
8261 * gdb.arch/amd64-prologue-xmm.exp: New file.
8262 * gdb.arch/amd64-prologue-xmm.s: New file.
8263
8264 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8265
8266 * gdb.dwarf2/dw2-param-error-main.c: New file.
8267 * gdb.dwarf2/dw2-param-error.S: New file.
8268 * gdb.dwarf2/dw2-param-error.exp: New file.
8269
8270 2011-09-08 Pedro Alves <pedro@codesourcery.com>
8271
8272 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
8273 inferior's pid and look for a core dump named core.$pid. Use
8274 `remote_file' commands on the host instead of hand coding shell
8275 commands on the build.
8276 * gdb.base/valgrind-db-attach.exp: Kill the program before
8277 finishing the test.
8278
8279 2011-09-02 Matt Rice <ratmice@gmail.com>
8280
8281 * lib/prompt.exp: New file for testing the first prompt.
8282 * gdb.python/py-prompt.exp: Ditto.
8283 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
8284
8285 2011-09-02 Pedro Alves <pedro@codesourcery.com>
8286
8287 * gdb.threads/gcore-thread.exp: Set the global core_supported to
8288 0, before testing gcore.
8289
8290 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8291
8292 * dw2-ifort-parameter-debug.S: Update copyright year.
8293 * dw2-ifort-parameter.c: Update copyright year.
8294 * dw2-ifort-parameter.exp: Update copyright year.
8295
8296 * dw2-ifort-parameter-debug.S: New file.
8297 * dw2-ifort-parameter.c: New file.
8298 * dw2-ifort-parameter.exp: New file.
8299
8300 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8301
8302 * gdb.base/commands.exp (error_clears_commands_left): New function.
8303 (): Call it.
8304
8305 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8306
8307 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
8308 (C): Initialize `a'.
8309 * gdb.mi/mi-inheritance-syntax-error.exp
8310 (-data-evaluate-expression $path): Expect `a' as 5.
8311
8312 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
8313
8314 PR mi/11912
8315 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
8316 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
8317 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
8318 keyword in output of -var-info-path-expression.
8319
8320 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8321
8322 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
8323 * gdb.trace/collection.exp: Likewise.
8324 * gdb.trace/report.exp: Likewise.
8325 * gdb.trace/unavailable.exp: Likewise.
8326 * gdb.trace/while-dyn.exp: Likewise.
8327
8328 2011-08-18 Keith Seitz <keiths@redhat.com>
8329
8330 PR c++/12266
8331 * gdb.cp/meth-typedefs.cc: New file.
8332 * gdb.cp/meth-typedefs.exp: New file.
8333
8334 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
8335
8336 * gdb.python/python.exp: Add extended-prompt tests.
8337
8338 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8339
8340 * gdb.arch/i386-dr3-watch.exp
8341 (watchpoint on gap1 does not fit debug registers)
8342 (delete all watchpoints): Fix racy expect strings.
8343
8344 2011-08-14 Yao Qi <yao@codesourcery.com>
8345
8346 * gdb.base/maint.exp: set data_section to ".neardata".
8347 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
8348 * gdb.base/savedregs.exp: Handle SIGILL.
8349 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
8350 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8351
8352 2011-08-12 Doug Evans <dje@google.com>
8353
8354 * gdb.python/py-symbol.exp: Add test for symbol.type.
8355
8356 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
8357
8358 * gdb.threads/pthreads.exp: Enable on non-native configurations.
8359 * gdb.mi/mi-pthreads.exp: Likewise.
8360 * gdb.mi/mi2-pthreads.exp: Likewise.
8361 * gdb.mi/gdb669.exp.exp: Likewise.
8362
8363 2011-08-09 Pedro Alves <pedro@codesourcery.com>
8364
8365 * lib/mi-support.exp (detect_async): Rename to...
8366 (mi_detect_async): ... this.
8367 * gdb.mi/mi-nonstop-exit.exp: Adjust.
8368 * gdb.mi/mi-nonstop.exp: Adjust.
8369 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
8370 * gdb.mi/mi-nsintrall.exp: Adjust.
8371 * gdb.mi/mi-nsmoribund.exp: Adjust.
8372 * gdb.mi/mi-nsthrexec.exp: Adjust.
8373
8374 2011-08-09 Pedro Alves <pedro@codesourcery.com>
8375
8376 * gdb.base/display.c (do_loops): New `p_i' local.
8377 * gdb.base/display.exp: Test displaying a variable that is
8378 temporarily at a bad address.
8379
8380 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8381
8382 * gdb.dwarf2/dw2-op-stack-value.S: New file.
8383 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
8384
8385 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8386
8387 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
8388 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
8389 (p fuNC_symtab): Permit also ppc64 leading dot.
8390
8391 2011-08-05 Pedro Alves <pedro@codesourcery.com>
8392
8393 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
8394 procedure.
8395 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
8396
8397 2011-08-05 Yao Qi <yao@codesourcery.com>
8398
8399 * gdb.base/callfuncs.exp: Set language after main.
8400 * gdb.cp/cplusfuncs.exp: Likewise.
8401 * gdb.cp/inherit.exp: Likewise.
8402
8403 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8404
8405 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
8406 * gdb.base/watch-vfork.exp: Skip on remote targets.
8407
8408 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8409
8410 * gdb.threads/thread-find.exp: Support remote targets.
8411
8412 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8413
8414 * gdb.base/jit.exp: Download solib_binfile to target.
8415 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
8416 and call dlopen without full path name.
8417 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
8418 dlopen without full path name.
8419
8420 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8421
8422 * gdb.base/break-always.exp: Complete the test
8423 with duplicated breakpoints and enabling/disabling them.
8424
8425 2011-08-02 Tom Tromey <tromey@redhat.com>
8426
8427 PR gdb/11289:
8428 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
8429
8430 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8431
8432 PR gdb/13045
8433 * gdb.base/float.exp: Add new test case for PR gdb/13045
8434 * gdb.base/float.c: New file.
8435
8436 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
8437
8438 * gdb.python/py-mi.exp: Test printers returning string hint, and
8439 also not returning a value.
8440 * gdb.python/py-prettyprint.c: Add testcase for above.
8441 * gdb.python/py-prettyprint.py: Add test printer for above.
8442
8443 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8444
8445 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
8446 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
8447 (.Ldie30) Add as field "data4".
8448 (.Ldie32) Rename field "b" to "shl".
8449 (abbrev4) Change for the "data4" field.
8450 (abbrev5, abbrev6) Remove.
8451 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
8452 (p &s.shl): ... here. Add comment.
8453 (p &s.data4): New.
8454
8455 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8456
8457 Fix crash on lval_computed values.
8458 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
8459
8460 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8461
8462 * gdb.base/help.exp (help whatis): Update the expected string.
8463
8464 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8465
8466 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
8467 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
8468 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8469 Change the expected string.
8470
8471 2011-07-26 Pedro Alves <pedro@codesourcery.com>
8472
8473 * gdb.base/watchpoint.exp
8474 (test_disable_enable_software_watchpoint): New procedure.
8475 (top level): Run it.
8476
8477 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8478
8479 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8480 executable file "${binfile}", C++ version "${binfile}-cxx".
8481 * gdb.python/py-prettyprint.exp: Likewise.
8482 * gdb.python/py-symbol.exp: Likewise.
8483 * gdb.python/py-type.exp: Likewise.
8484 * gdb.python/py-value.exp: Likewise.
8485 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8486 file name instead of just suffix.
8487
8488 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8489
8490 Fix implicit pointer offsets.
8491 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8492 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8493 (continue to breakpoint: continue to baz breakpoint for implptr)
8494 (sanity check element 0, sanity check element 1)
8495 (enter the inlined function, check element 0 for the offset)
8496 (check element 1 for the offset)
8497 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8498 (set foo breakpoint for implptr): Update the breakpoint number.
8499
8500 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8501
8502 * gdb.python/py-mi.exp: Use different file names for different
8503 versions of the executable under test.
8504 * gdb.python/py-prettyprint.exp: Likewise.
8505 * gdb.python/py-symbol.exp: Likewise.
8506 * gdb.python/py-template.exp: Likewise.
8507 * gdb.python/py-type.exp: Likewise.
8508 * gdb.python/py-value.exp: Likewise.
8509
8510 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8511
8512 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8513 flag after restarting GDB if necessary.
8514
8515 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8516
8517 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8518
8519 2011-07-22 Pedro Alves <pedro@codesourcery.com>
8520
8521 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8522 backend doesn't leave used debug registers behind.
8523
8524 2011-07-22 Tom Tromey <tromey@redhat.com>
8525
8526 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8527 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8528 argument.
8529 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8530
8531 2011-07-21 Matt Rice <ratmice@gmail.com>
8532
8533 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8534 in mostlyclean rule. Add files ending in .core.
8535
8536 2011-07-21 Matt Rice <ratmice@gmail.com>
8537
8538 PR macros/12999
8539 * gdb.base/info-macros.c: New test sources.
8540 * gdb.base/info-macros.exp: New tests.
8541
8542 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8543
8544 * gdb.python/python.exp: Add prompt substitution tests.
8545
8546 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8547
8548 Fix crash if referenced CU is aged out.
8549 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8550 New.
8551 * gdb.dwarf2/implptr.exp: Likewise.
8552
8553 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8554
8555 * gdb.dwarf2/implptr.S: Rebuilt.
8556 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8557 (bar): Use them for j, k, l.
8558 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8559 COMPILE.
8560 (print j in implptr:bar): Update for the intp typedef.
8561 (print p[0].x in implptr:foo): Use more exact regex.
8562
8563 2011-07-18 Tom Tromey <tromey@redhat.com>
8564
8565 * gdb.cp/static-method.exp: Add missing single quote.
8566
8567 2011-07-18 Yao Qi <yao@codesourcery.com>
8568
8569 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8570 supported.
8571 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8572 * gdb.mi/mi-nonstop.exp: Likewise.
8573 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8574 * gdb.mi/mi-nsintrall.exp: Likewise.
8575 * gdb.mi/mi-nsmoribund.exp: Likewise.
8576 * gdb.mi/mi-nsthrexec.exp: Likewise.
8577 * gdb.python/py-evthreads.exp: Likewise.
8578
8579 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8580
8581 Code cleanup.
8582 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8583 it. Substitute it instead of test_compiler_info everywhere.
8584
8585 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8586
8587 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8588 remote targets as well.
8589
8590 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8591
8592 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8593 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8594
8595 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8596
8597 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8598 a remote machine, not the host.
8599 (gdb_compile_shlib): Set soname if target is remote.
8600
8601 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8602
8603 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8604
8605 2011-07-13 Matt Rice <ratmice@gmail.com>
8606
8607 * gdb.python/py-objfile-script-gdb.py: Renamed to
8608 py-objfile-script-gdb.py.in.
8609 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8610 py-objfile-script-gdb.py.
8611 * gdb.python/py-objfile-script.exp: Update reference to
8612 py-objfile-script-gdb.py.
8613
8614 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8615
8616 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8617 reference undefined label.
8618
8619 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8620
8621 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8622 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8623 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8624 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8625
8626 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8627
8628 PR python/12438
8629 * gdb.python/python.exp: Add maint set/show python print-stack
8630 deprecated tests. Add set/show python print-backtrace tests.
8631
8632 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8633
8634 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8635 debug info.
8636
8637 2011-07-06 Matt Rice <ratmice@gmail.com>
8638
8639 * gdb.python/python.exp: Update filename paths.
8640 * gdb.python/py-symtab.exp: Ditto.
8641
8642 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8643
8644 * gdb.python/py-evthreads.exp: Add missing `$'.
8645
8646 2011-07-06 Jie Zhang <jie.zhang@analog.com>
8647
8648 * config/bfin.exp: New file.
8649 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8650 * gdb.asm/bfin.inc: New file.
8651
8652 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8653
8654 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8655 the whole output.
8656
8657 2011-07-05 Tom Tromey <tromey@redhat.com>
8658
8659 * gdb.java/jprint.java (jprint.hi): New field.
8660 * gdb.java/jprint.exp: Print string.
8661
8662 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8663
8664 * gdb.base/call-sc.c: Fix typos.
8665 * gdb.base/ifelse.exp: Likewise.
8666 * gdb.base/structs.c: Likewise.
8667
8668 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8669
8670 * gdb.base/jit-so.exp: New test.
8671 * gdb.base/jit-dlmain.c: New file.
8672 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8673
8674 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8675
8676 * gdb.cp/m-static.exp: Call get_compiler_info.
8677 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8678 * gdb.cp/pr9167.exp (p b): Likewise.
8679 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8680 (test value of P in inner_m, test type of Z in inner_m): Call
8681 setup_xfail for gcc <= 4.5.
8682
8683 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8684
8685 * gdb.cp/paren-type.cc: New files.
8686 * gdb.cp/paren-type.exp: New files.
8687
8688 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8689
8690 Stop on first linespec terminator instead of eating what we can.
8691 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8692 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8693 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8694 (break C::f()): ... this one.
8695 (break C::operator()()): New test.
8696 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8697 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8698 test.
8699
8700 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8701
8702 Fall back linespec to minimal symbols.
8703 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8704 error message.
8705 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8706 * gdb.cp/minsym-fallback-main.cc: New file.
8707 * gdb.cp/minsym-fallback.cc: New file.
8708 * gdb.cp/minsym-fallback.exp: New file.
8709 * gdb.cp/minsym-fallback.h: New file.
8710
8711 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8712
8713 * gdb.cp/no-dmgl-verbose.cc: New file.
8714 * gdb.cp/no-dmgl-verbose.exp: New file.
8715
8716 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8717
8718 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8719 __GI_.
8720 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8721 (f): New function.
8722 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8723 (complete p 'func<short>(): ... here.
8724 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8725 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8726 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8727 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8728 Make them KFAIL gcc/49546.
8729
8730 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8731
8732 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8733
8734 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8735
8736 Test GCC PR debug/49546.
8737 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8738 (test type of F in k3_m, test value of F in k3_m): New.
8739 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8740 (main): New variable k3. Call k3.k3_m.
8741
8742 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8743
8744 * gdb.ada/packed_array.exp: Fix expected outout.
8745
8746 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8747
8748 * gdb.ada/packed_array.exp: fixed expected output.
8749
8750 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8751
8752 * gdb.ada/same_enum: New testcase.
8753
8754 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8755
8756 * gdb.ada/ptr_typedef: New testcase.
8757
8758 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8759
8760 * gdb.ada/arrayptr.exp: Add ptype test.
8761
8762 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8763
8764 * gdb.ada/char_enum: New testcase.
8765
8766 2011-07-01 Yao Qi <yao@codesourcery.com>
8767
8768 * gdb.base/dump.exp (capture_pointer_with_type): New.
8769 Get value from address instead of name.
8770 Start GDB once, and do `dump' and `restore'
8771 tests together.
8772
8773 2011-06-30 Jie Zhang <jie.zhang@analog.com>
8774 Mike Frysinger <vapier@gentoo.org>
8775
8776 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8777 helper functions for getting/setting remotetimeout variable.
8778 * lib/gdb.exp (gdb_load): If the target is remote, set
8779 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8780 with $loadtimeout. Set $load_ok to 0 before doing the load.
8781 Instead of returning, immediately, set $load_ok to 0. Call
8782 set_remotetimeout with $oldremotetimeout, and then return if
8783 $load_ok is 1.
8784
8785 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
8786
8787 * gdb.python/py-template.exp: Don't run this test if the target
8788 does not support c++ tests.
8789
8790 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8791
8792 Fix non-only rename list for Fortran modules import.
8793 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8794 tests.
8795 * gdb.fortran/module.f90 (module moduse): New.
8796 (program module): use moduse, test var_x, var_y and var_z.
8797
8798 2011-06-29 Tom Tromey <tromey@redhat.com>
8799
8800 PR testsuite/12040:
8801 * gdb.fortran/array-element.exp: Use f90, not f77.
8802 * gdb.fortran/complex.exp: Use f90, not f77.
8803 * gdb.fortran/derived-type.exp: Use f90, not f77.
8804 * gdb.fortran/library-module.exp: Use f90, not f77.
8805 * gdb.fortran/logical.exp: Use f90, not f77.
8806 * gdb.fortran/module.exp: Use f90, not f77.
8807 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8808 * gdb.fortran/subarray.exp: Use f90, not f77.
8809
8810 2011-06-29 Tom Tromey <tromey@redhat.com>
8811
8812 * gdb.fortran/charset.exp: New file.
8813 * gdb.fortran/charset.f90: New file.
8814
8815 2011-06-29 Tom Tromey <tromey@redhat.com>
8816
8817 PR testsuite/12040:
8818 * lib/future.exp: New file, mostly extracted from ada.exp.
8819 Rewrote compatibility code to use rename.
8820 (gdb_find_gfortran): New proc.
8821 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8822 gfortran patch.
8823 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8824 Move to future.exp.
8825 * lib/gdb.exp: Always load future.exp.
8826
8827 2011-06-28 Yao Qi <yao@codesourcery.com>
8828
8829 * gdb.cp/exception.cc: Don't include iostream.
8830 (bar): Remove print statement.
8831 (catcher): New.
8832 (main): Remove print statements. Call function catcher.
8833 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8834 Set breakpoint on catcher, and check the value of parameter.
8835
8836 2011-06-23 Yao Qi <yao@codesourcery.com>
8837
8838 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8839 breakpoint 1.2 is disabled. KFAIL for uclinux.
8840
8841 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8842
8843 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8844 mi_gdb_test.
8845
8846 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8847
8848 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8849
8850 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8851
8852 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8853
8854 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8855
8856 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8857 `test_exec_and_symbol_mi_operatons' return value.
8858 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8859 gdb_test_multiple.
8860 (test_exec_and_symbol_mi_operatons): Likewise.
8861 (test_path_specification): Likewise.
8862
8863 2011-06-23 Yao Qi <yao@codesourcery.com>
8864
8865 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8866 supported.
8867 * lib/gdb.exp (support_displaced_stepping): New.
8868
8869 2011-06-23 Yao Qi <yao@codesourcery.com>
8870
8871 * gdb.threads/execl.exp: Skip on remote target.
8872
8873 2011-06-21 Marek Polacek <mpolacek@redhat.com>
8874
8875 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
8876 mi_gdb_test.
8877
8878 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8879
8880 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
8881
8882 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8883
8884 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
8885 mi_gdb_test.
8886
8887 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8888
8889 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8890
8891 2011-06-14 Yao Qi <yao@codesourcery.com>
8892
8893 gdb/testsuite/
8894 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8895
8896 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8897
8898 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8899
8900 2011-06-10 Tom Tromey <tromey@redhat.com>
8901
8902 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8903 Add tests for pointer-to-member-function.
8904 * gdb.cp/temargs.cc (S::somefunc): New function.
8905 (K2): New class.
8906 (main): Instantiate K2; call method.
8907
8908 2011-06-08 Joel Brobecker <brobecker@adacore.com>
8909
8910 * gdb.python/py-inferior.c (f2): Make str an array rather
8911 than a pointer.
8912 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8913
8914 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8915
8916 * gdb.base/async-shell.c: New file.
8917 * gdb.base/async-shell.exp: New file.
8918
8919 2011-06-06 Pedro Alves <pedro@codesourcery.com>
8920
8921 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8922
8923 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8924
8925 From Stephen Kitt <steve@sk2.org>
8926 * gdb.base/help.exp: Adjust following some spelling corrections
8927 in GDB.
8928
8929 2011-06-01 Yao Qi <yao@codesourcery.com>
8930
8931 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8932
8933 2010-05-31 Keith Seitz <keiths@redhat.com>
8934
8935 PR c++/12750
8936 * gdb.cp/static-method.cc: New file.
8937 * gdb.cp/static-method.exp: New file.
8938
8939 2010-05-31 Keith Seitz <keiths@redhat.com>
8940
8941 PR symtab/12704
8942 * gdb.cp/anon-ns.cc: New file.
8943 * gdb.cp/anon-ns.exp: New file.
8944
8945 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8946
8947 * gdb.arch/i386-dr3-watch.c: New file.
8948 * gdb.arch/i386-dr3-watch.exp: New file.
8949
8950 2011-05-30 Yao Qi <yao@codesourcery.com>
8951
8952 * gdb.base/callfuncs.c (t_structs_fc): New.
8953 (t_structs_dc, t_structs_ldc): New.
8954 (t_double_many_args):
8955 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8956 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8957 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8958 * gdb.base/callfuncs.exp: Call new functions.
8959
8960 2011-05-30 Yao Qi <yao@codesourcery.com>
8961
8962 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8963 Call rerun_and_prepare for each test to isolate effects.
8964
8965 2011-05-30 Yao Qi <yao@codesourcery.com>
8966
8967 * gdb.base/varargs.c (find_max_float_real): New.
8968 (find_max_double_real, find_max_long_double_real): New.
8969 * gdb.base/varargs.exp: Call these new added functions.
8970 * lib/gdb.exp (setup_kfail_for_target): New.
8971
8972 2011-05-30 Yao Qi <yao@codesourcery.com>
8973
8974 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8975 (callcd, callce, callcf, callc1a, callc1b): New.
8976 (callc2a, callc2b): New.
8977 * gdb.base/funcargs.exp (complex_args): New.
8978 (complex_integral_args, complex_float_integral_args): New.
8979 * lib/gdb.exp (support_complex_tests): New. Determine
8980 whether to run test cases on _Complex types.
8981
8982 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8983
8984 * gdb.threads/leader-exit.c: New file.
8985 * gdb.threads/leader-exit.exp: New file.
8986
8987 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8988
8989 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8990
8991 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8992
8993 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8994 remove the `supported' variable.
8995 * gdb.mi/mi-nonstop.exp: Likewise.
8996 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8997 * gdb.mi/mi-nsintrall.exp: Likewise.
8998 * gdb.mi/mi-nsmoribund.exp: Likewise.
8999 * gdb.mi/mi-nsthrexec.exp: Likewise.
9000
9001 2011-05-26 Pedro Alves <pedro@codesourcery.com>
9002
9003 * gdb.reverse/finish-reverse-bkpt.exp: New test.
9004
9005 2011-05-26 Pedro Alves <pedro@codesourcery.com>
9006
9007 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
9008
9009 2011-05-24 Keith Seitz <keiths@redhat.com>
9010
9011 PR breakpoint/12803
9012 * gdb.cp/cmpd-minsyms.cc (a): New method.
9013 (b): New method.
9014 (c): New method.
9015 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
9016
9017 2011-05-24 Pedro Alves <pedro@codesourcery.com>
9018
9019 * gdb.base/commands.exp (watchpoint_command_test): Check that the
9020 watchpoint's command list didn't execute when the watchpoint went
9021 out of scope.
9022
9023 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
9024
9025 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
9026 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
9027 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
9028 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9029 * gdb.arch/i386-permbkpt.exp: Likewise.
9030 * gdb.arch/i386-prologue.exp: Likewise.
9031 * gdb.arch/i386-size-overlap.exp: Likewise.
9032 * gdb.arch/i386-size.exp: Likewise.
9033 * gdb.arch/i386-unwind.exp: Likewise.
9034 * gdb.reverse/i386-precsave.exp: Likewise.
9035 * gdb.reverse/i386-reverse.exp: Likewise.
9036 * gdb.reverse/i386-sse-reverse.exp: Likewise.
9037 * gdb.reverse/i387-env-reverse.exp: Likewise.
9038 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9039
9040 2011-05-24 Pedro Alves <pedro@codesourcery.com>
9041
9042 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
9043 file doesn't error, using MI.
9044
9045 2011-05-23 Tom Tromey <tromey@redhat.com>
9046
9047 * gdb.base/charset.exp (string_display): Add tests to assign to
9048 arrays.
9049 * gdb.base/charset.c (short_array, int_array, long_array): New.
9050
9051 2011-05-20 Pedro Alves <pedro@codesourcery.com>
9052
9053 Cope with async mode.
9054
9055 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
9056 into gdb_test + mi_expect_stop.
9057
9058 2011-05-20 Pedro Alves <pedro@codesourcery.com>
9059
9060 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
9061 (callme): Remove printf call.
9062
9063 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
9064
9065 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
9066 quote pattern to avoid problems with Cygwin/mingw expect versions.
9067 * gdb.base/default.exp (show convenience): Use double
9068 quote pattern for regular expressions.
9069
9070 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9071
9072 Fix -readnow for -gdwarf-4 unused type units.
9073 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
9074 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
9075
9076 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9077
9078 * gdb.base/kill-after-signal.c: New file.
9079 * gdb.base/kill-after-signal.exp: New file.
9080
9081 2011-05-16 Pedro Alves <pedro@codesourcery.com>
9082
9083 * gdb.ada/start.exp: Call untested with the correct test filename.
9084 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
9085 test filename. Make the test's binary unique.
9086 * gdb.arch/i386-signal.exp: Call untested with the correct test
9087 filename.
9088 * gdb.arch/i386-size-overlap.exp: Ditto.
9089 * gdb.arch/Makefile.in (EXECUTABLES): Update.
9090 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9091 * gdb.cp/call-c.exp: Ditto.
9092 * gdb.mi/mi-reverse.exp: Call untested with the correct test
9093 filename. Make the test's binary unique.
9094 * gdb.mi/Makefile.in (EXECUTABLES): Update.
9095 * gdb.python/py-mi.exp: Ditto.
9096 * gdb.python/Makefile.in (EXECUTABLES): Update.
9097 * gdb.reverse/i386-precsave.exp: Ditto.
9098 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
9099 test filename.
9100 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9101 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
9102 unique.
9103 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
9104 test filename.
9105 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
9106 * gdb.trace/tfile.exp: Ditto.
9107
9108 2011-05-14 Yao Qi <yao@codesourcery.com>
9109
9110 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
9111 type.
9112
9113 2011-05-13 Doug Evans <dje@google.com>
9114
9115 * gdb.python/py-objfile-script.exp: New file.
9116 * gdb.python/py-objfile-script.c: New file.
9117 * gdb.python/py-objfile-script-gdb.py: New file.
9118 * testsuite/gdb.python/py-section-script.exp: Test
9119 "info auto-load-scripts".
9120
9121 2011-05-13 Tom Tromey <tromey@redhat.com>
9122
9123 * gdb.dwarf2/clztest.exp: New file.
9124 * gdb.dwarf2/clztest.c: New file.
9125 * gdb.dwarf2/clztest.S: New file.
9126
9127 2011-05-13 Doug Evans <dje@google.com>
9128
9129 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
9130 String16 tests.
9131
9132 2011-05-13 Tom Tromey <tromey@redhat.com>
9133
9134 * lib/gdb.exp (is_x86_like_target): New proc.
9135 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
9136 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
9137 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
9138 -nostdlib to compiler.
9139 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
9140 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
9141 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
9142 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
9143 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
9144
9145 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9146
9147 * gdb.python/py-function.exp: Test setting a value from a function
9148 which executes a command.
9149
9150 2011-05-12 Tom Tromey <tromey@redhat.com>
9151
9152 * gdb.dwarf2/typeddwarf.S: New file.
9153 * gdb.dwarf2/typeddwarf.c: New file.
9154 * gdb.dwarf2/typeddwarf.exp: New file.
9155
9156 2011-05-12 Marek Polacek <mpolacek@redhat.com>
9157
9158 * gdb.mi/mi-basics.exp: Fix races. Honour the
9159 `test_exec_and_symbol_mi_operatons' return value.
9160 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9161 gdb_test_multiple.
9162 (test_exec_and_symbol_mi_operatons): Likewise.
9163 (test_path_specification): Likewise.
9164
9165 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9166
9167 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
9168 (gdb_touch_execfile): Remove catch wrappers. New variable time.
9169 Replace `file copy' and `file rename' by `file mtime'. Twice.
9170
9171 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9172
9173 * gdb.base/readline-ask.c: New file.
9174 * gdb.base/readline-ask.exp: New file.
9175 * gdb.base/readline-ask.inputrc: New file.
9176
9177 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
9178
9179 * gdb.cell/bt.exp: Delete breakpoints before running to signal
9180 to avoid race condition.
9181 * gdb.cell/coremaker.c: Use small stack size.
9182 * gdb.cell/ea-standalone.exp: Use file name without path as
9183 argument to c_to.
9184 * gdb.cell/fork.exp: Allow other output when continuing to end.
9185
9186 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9187
9188 * gdb.threads/corethreads.c: New file.
9189 * gdb.threads/corethreads.exp: New file.
9190
9191 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9192
9193 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
9194 Try to compile the test using -Wl,-z,norelro first.
9195 (load_core): New variable libthread_db_seen, initialize it.
9196 (zeroed-threads cannot be listed): Protect it by XFAIL on
9197 !$libthread_db_seen.
9198
9199 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9200
9201 PR 12573
9202 * gdb.dwarf2/dw2-skip-prologue.S: New file.
9203 * gdb.dwarf2/dw2-skip-prologue.c: New file.
9204 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
9205
9206 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9207
9208 * gdb.cp/psymtab-parameter.cc: New file.
9209 * gdb.cp/psymtab-parameter.exp: New file.
9210
9211 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9212
9213 Fix a race.
9214 * gdb.cp/static-print-quit.exp (print c): Split to ...
9215 (print c - <return>, print c - q <return>, print c - to quit):
9216 ... these. Make the testfile untested on gdb-7.1.
9217
9218 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
9219
9220 * lib/gdb.exp (exec_target_file, exec_symbol_file,
9221 gdb_rename_execfile, gdb_touch_execfile): New.
9222 * gdb.base/reread.exp: Use new procs to handle multiple
9223 exec files.
9224
9225 2011-05-05 Yao Qi <yao@codesourcery.com>
9226
9227 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
9228 (test_adr_32bit, test_pop_pc): New.
9229 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
9230 (test_adr_32bit, test_pop_pc): New.
9231
9232 2011-05-04 Joseph Myers <joseph@codesourcery.com>
9233
9234 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
9235 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
9236 targets.
9237 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
9238 handle targets.
9239
9240 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9241
9242 * gdb.base/completion.exp (complete help info wat): Rename to ...
9243 (complete 'help info wat'): ... here.
9244 Remove all `-re ".*' and `-re "^.*' redundant regexes.
9245 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
9246
9247 2011-05-04 Pedro Alves <pedro@codesourcery.com>
9248
9249 * gdb.base/completion.exp: Use gdb_test_multiple instead of
9250 gdb_test and explicit $gdb_prompt/timeout matches.
9251
9252 2011-05-04 Yao Qi <yao@codesourcery.com>
9253
9254 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
9255 and __thumb2__.
9256
9257 2011-05-03 Marek Polacek <mpolacek@redhat.com>
9258
9259 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
9260 in place of `gdb_test "delete breakpoints"'. This eliminates two
9261 testcases.
9262
9263 2011-05-02 Pedro Alves <pedro@codesourcery.com>
9264
9265 PR testsuite/12649
9266 Fix races.
9267
9268 * gdb.base/completion.exp: Remove all sleep calls. Remove
9269 unnecessary regexs. Don't explicitly expect anything after the
9270 prompt. Eat the prompt if necessary.
9271
9272 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
9273
9274 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
9275 accept to show the caller line again as well as the line after.
9276
9277 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
9278
9279 PR mi/12531
9280
9281 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
9282 compile target.
9283 * gdb.python/py-prettyprint.exp: Add C++ object for
9284 CPLUS_FAKE_CHILD test.
9285
9286 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
9287
9288 * gdb.base/signest.exp: New file.
9289 * gdb.base/signest.c: Likewise.
9290
9291 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9292
9293 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
9294 thread and breakpoint notifications.
9295
9296 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9297
9298 * gdb.base/fortran-sym-case.c: New file.
9299 * gdb.base/fortran-sym-case.exp: New file.
9300 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
9301 * gdb.dwarf2/dw2-case-insensitive.c: New file.
9302 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
9303
9304 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9305
9306 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
9307 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
9308 false #1', `if true else false #2' and `if true else false #3'.
9309
9310 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
9311
9312 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
9313 while delivering signal.
9314
9315 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
9316
9317 MI breakpoint notifications.
9318
9319 * testsuite/gdb.mi/mi-cli.exp: Adust.
9320 * testsuite/gdb.mi/mi2-cli.exp: Adust.
9321 * testsuite/gdb.mi/mi-watch.exp: Adust.
9322 * testsuite/gdb.mi/mi2-watch.exp: Adust.
9323 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
9324 notifications.
9325
9326 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9327
9328 * gdb.base/gdbindex-stabs-dwarf.c: New file.
9329 * gdb.base/gdbindex-stabs.c: New file.
9330 * gdb.base/gdbindex-stabs.exp: New file.
9331
9332 2011-04-25 Yao Qi <yao@codesourcery.com>
9333
9334 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
9335 with /*...*/.
9336 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
9337
9338 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9339
9340 * gdb.python/py-value.exp (test_objfiles): Name the first test
9341 `py-value in file.filename'.
9342
9343 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9344
9345 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
9346 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
9347 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
9348 !gdbserver_reconnect_p..
9349 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
9350
9351 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9352
9353 * gdb.cp/cpcompletion.exp (complete class methods)
9354 (complete class methods beginning with F): Move them above runto. New
9355 comment about the runto delimiter.
9356
9357 2011-04-20 Pedro Alves <pedro@codesourcery.com>
9358
9359 * gdb.base/maint.exp: Test that "maint print registers" works
9360 without a running program.
9361
9362 2011-04-20 Marek Polacek <mpolacek@redhat.com>
9363
9364 * gdb.base/setshow.exp: Fix racy tests.
9365 ($old_gdb_prompt): New variable.
9366
9367 2011-04-19 Tom Tromey <tromey@redhat.com>
9368
9369 * gdb.mi/mi-nsmoribund.exp:
9370 * gdb.hp/gdb.objdbg/objdbg01.exp:
9371 * gdb.base/structs.exp (test_struct_returns):
9372 * gdb.base/call-sc.exp (test_scalar_returns):
9373 * gdb.base/bigcore.exp: Remove duplicate words.
9374
9375 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9376
9377 * gdb.base/break-interp-lib.c (v, vptr): New variables.
9378 * gdb.base/break-interp.exp (test_attach): New comment.
9379
9380 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9381
9382 * gdb.threads/gcore-thread.exp ($core0file): New variable.
9383 (clear __stack_user.next, clear stack_used.next)
9384 (save a zeroed-threads corefile): New test.
9385 Call core_load for $core0file.
9386 (zeroed-threads cannot be listed): New test.
9387
9388 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9389
9390 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
9391 filename.
9392 ($srcfile): Preserve the original value.
9393 ($testfile): Match it the .exp filename.
9394 ($corefile): New variable. Substitute it around.
9395 Use clean_restart.
9396 ($prev_timeout): Remove.
9397 (load_core): Move core loading into this proc.
9398 Fix restore of $timeout if load_core fails.
9399
9400 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9401
9402 * gdb.base/eu-strip-infcall.c: New file.
9403 * gdb.base/eu-strip-infcall.exp: New file.
9404
9405 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9406
9407 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
9408 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
9409
9410 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9411
9412 Fix Python access to inlined frames.
9413 * gdb.python/py-frame-inline.c: New file.
9414 * gdb.python/py-frame-inline.exp: New file.
9415
9416 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
9417
9418 * gdb.base/gdb1090.exp: Change breakpoint location to read the
9419 content of 's24' correctly (avoiding "optimized out").
9420 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
9421
9422 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9423
9424 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
9425
9426 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9427
9428 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
9429 expect a colon in watch -location output.
9430
9431 2011-04-13 Marek Polacek <mpolacek@redhat.com>
9432
9433 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
9434 New testcase `expect response to define backtrace'. Also remove
9435 redundant `default' block.
9436
9437 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9438
9439 * gdb.python/py-prettyprint.c (struct hint_error): New.
9440 (main): New variable hint_error.
9441 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
9442 "print hint_error".
9443 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
9444 (register_pretty_printers): Register it.
9445
9446 2011-04-04 Tom Tromey <tromey@redhat.com>
9447
9448 * gdb.cp/maint.exp (test_help): Update.
9449 (test_namespace): Likewise.
9450
9451 2011-04-01 Joel Brobecker <brobecker@adacore.com>
9452
9453 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
9454 * gdb.ada/arrayptr.exp: Add new tests.
9455
9456 2011-04-01 Joel Brobecker <brobecker@adacore.com>
9457
9458 * gdb.ada/mi_catch_ex: New testcase.
9459
9460 2011-04-01 Pedro Alves <pedro@codesourcery.com>
9461
9462 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
9463 base::overload(void) method without specifying "const".
9464
9465 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
9466
9467 * gdb.arch/thumb-singlestep.S: New file.
9468 * gdb.arch/thumb-singlestep.exp: Likewise.
9469
9470 2011-03-31 Tom Tromey <tromey@redhat.com>
9471
9472 * gdb.python/py-prettyprint.py (exception_flag): New global.
9473 (NoStringContainerPrinter._iterator.next): Check it.
9474 * gdb.python/py-prettyprint.c (main): New variable nstype2.
9475 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
9476
9477 2011-03-29 Tom Tromey <tromey@redhat.com>
9478
9479 * gdb.cp/anon-struct.cc: New file.
9480 * gdb.cp/anon-struct.exp: New file.
9481
9482 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9483
9484 Test STT_GNU_IFUNC support.
9485 * gdb.base/gnu-ifunc-lib.c: New file.
9486 * gdb.base/gnu-ifunc.c: New file.
9487 * gdb.base/gnu-ifunc.exp: New file.
9488
9489 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9490
9491 Support a ring of related breakpoints.
9492 * gdb.base/watchpoint-delete.c: New file.
9493 * gdb.base/watchpoint-delete.exp: New file.
9494
9495 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9496
9497 * gdb.ada/arrayparam.exp (print first after function call): Use
9498 explicit package name. Add a comment
9499 (print lasta after function call): Rename ...
9500 (print last after function call): ... it and use explicit package
9501 name.
9502 (print length after function call): Use explicit package name.
9503 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9504 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9505 (multiple matches for symbol i): Rename ...
9506 (multiple matches for symbol integervar): ... it.
9507 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9508 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9509
9510 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
9511
9512 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9513 environment variable to make grep output more predictable. Move
9514 all the environment setup into gdb_init so it's done once per test
9515 case rather than each time we start gdb.
9516
9517 2011-03-24 Tom Tromey <tromey@redhat.com>
9518
9519 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9520 test.
9521
9522 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9523
9524 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9525 * gdb.dwarf2/dw2-entry-value.S: New file.
9526 * gdb.dwarf2/dw2-entry-value.exp: New file.
9527
9528 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9529
9530 PR python/12183
9531
9532 * gdb.python/py-function.exp: Add GdbError tests.
9533
9534 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9535
9536 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9537 (reglocal_test_func, statlocal_test_func): New functions.
9538 (globals_test_func): Call new functions.
9539 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9540 (gdb_collect_locals_test): New procedure.
9541 (gdb_trace_collection_test): Call new procedures.
9542
9543 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9544
9545 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9546 (test_register, test_register_unavailable): New procedures.
9547 (gdb_unavailable_registers_test): New procedure.
9548 (gdb_trace_collection_test): Call it.
9549
9550 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9551
9552 PR python/12149
9553
9554 * gdb.python/python.exp: Add gdb.write tests.
9555
9556 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9557
9558 * gdb.python/Makefile.in: Add py-objfile.
9559 * gdb.python/py-objfile.exp: New file.
9560 * gdb.python/py-objfile.c: New file.
9561 * gdb.python/py-block.exp: Add is_valid tests.
9562 * gdb.python/py-inferior.exp: Ditto.
9563 * gdb.python/py-infthread.exp: Ditto.
9564 * gdb.python/py-symbol.exp: Ditto.
9565 * gdb.python/py-symtab.exp: Ditto.
9566
9567 2011-03-16 Keith Seitz <keiths@redhat.com>
9568
9569 PR c++/12273
9570 * gdb.cp/cmpd-minsyms.exp: New test.
9571 * gdb.cp/cmpd-minsyms.cc: New file.
9572
9573 PR c++/11734
9574 * gdb.cp/ovsrch.exp: New test.
9575 * gdb.cp/ovsrch.h: New file.
9576 * gdb.cp/ovsrch1.cc: New file.
9577 * gdb.cp/ovsrch2.cc: New file.
9578 * gdb.cp/ovsrch3.cc: New file.
9579 * gdb.cp/ovsrch4.cc: New file.
9580
9581 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9582
9583 PR gdb/12528
9584 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9585 * gdb.base/break-on-linker-gcd-function.exp: New test.
9586 * gdb.base/break-on-linker-gcd-function.cc: New file.
9587
9588 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
9589
9590 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9591
9592 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9593
9594 * lib/gdb.exp (gdb_unload): Add another termination case.
9595
9596 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9597
9598 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9599 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9600 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9601 Provide a stub byte there.
9602 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9603 DW_AT_entry_pc.
9604 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9605
9606 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9607
9608 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9609 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9610 "generic ABI, auto".
9611 (altivec_abi_tests): Accept vectors returned by reference.
9612
9613 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9614
9615 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9616
9617 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9618
9619 * gdb.python/py-section-script.exp: Skip test if no Python support.
9620
9621 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9622
9623 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9624
9625 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9626
9627 * gdb.python/py-parameter.exp: Update tests to the new Python
9628 parameter API. Add "no documentation" test. Add deprecated API
9629 backward compatibility test.
9630
9631 2011-03-09 Tom Tromey <tromey@redhat.com>
9632
9633 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9634 gdb_continue_to_end.
9635
9636 2011-03-09 Mark Kettenis <kettenis@gnu.org>
9637
9638 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9639 tabs.
9640
9641 2011-03-09 Tom Tromey <tromey@redhat.com>
9642
9643 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9644 parentheses.
9645 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9646 $command.
9647 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9648 argument to gdb_continue_to_end.
9649 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9650 argument to gdb_continue_to_end.
9651 * gdb.cp/annota3.exp: Fix regex.
9652 * gdb.cp/annota2.exp: Fix regex.
9653 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9654 gdb_continue_to_end.
9655 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9656 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9657 gdb_continue_to_end.
9658
9659 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9660
9661 * gdb.server/ext-run.exp
9662 (load new file without any gdbserver inferior): New test.
9663
9664 2011-03-07 Tom Tromey <tromey@redhat.com>
9665
9666 * Makefile.in (TAGS): Rewrite.
9667
9668 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9669
9670 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9671 initial commands echo. New match for `Found trace'. Anchor all the
9672 other matches. Anchor and match for `No trace frame found' the final
9673 match.
9674
9675 2011-03-07 Tom Tromey <tromey@redhat.com>
9676
9677 * Makefile.in (TAGS): New target.
9678
9679 2011-03-07 Tom Tromey <tromey@redhat.com>
9680
9681 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9682 change.
9683 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9684 change.
9685 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9686 exit message change.
9687 (skip_altivec_tests): Update for exit message change.
9688 (skip_vsx_tests): Likewise.
9689 (gdb_continue_to_end): Likewise. Add 'command' argument.
9690 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9691 * gdb.threads/tls.exp: Update for exit message change.
9692 * gdb.threads/thread-unwindonsignal.exp: Use
9693 gdb_continue_to_end.
9694 * gdb.threads/step.exp (step_it): Update for exit message change.
9695 (continue_all): Likewise.
9696 * gdb.threads/print-threads.exp (test_all_threads): Update for
9697 exit message change.
9698 * gdb.threads/interrupted-hand-call.exp: Use
9699 gdb_continue_to_end.
9700 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9701 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9702 gdb_continue_to_end.
9703 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9704 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9705 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9706 * gdb.cp/method.exp: Update for exit message change.
9707 * gdb.cp/mb-templates.exp: Update for exit message change.
9708 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9709 * gdb.cp/annota3.exp: Update for exit message change.
9710 * gdb.cp/annota2.exp: Update for exit message change.
9711 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9712 * gdb.base/term.exp: Update for exit message change.
9713 * gdb.base/step-test.exp (test_i): Update for exit message change.
9714 * gdb.base/sigstep.exp (advance): Update for exit message change.
9715 (advancei): Likewise.
9716 * gdb.base/siginfo.exp: Update for exit message change.
9717 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9718 * gdb.base/reread.exp: Use gdb_continue_to_end.
9719 * gdb.base/langs.exp: Use gdb_continue_to_end.
9720 * gdb.base/interrupt.exp: Update for exit message change.
9721 * gdb.base/gdb1555.exp: Update for exit message change.
9722 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9723 * gdb.base/ending-run.exp: Update for exit message change.
9724 * gdb.base/chng-syms.exp: Update for exit message change.
9725 * gdb.base/checkpoint.exp: Update for exit message change.
9726 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9727 gdb_continue_to_end.
9728 (test_catch_syscall_with_wrong_args): Likewise.
9729 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9730 * gdb.base/break-interp.exp (test_ld): Update for exit message
9731 change.
9732 * gdb.base/bang.exp: Update for exit message change.
9733 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9734 (do_call_attach_tests): Likewise.
9735 * gdb.base/a2-run.exp: Update for exit message change.
9736 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9737 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9738 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9739
9740 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9741
9742 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9743
9744 2011-03-03 Tom Tromey <tromey@redhat.com>
9745
9746 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9747 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9748 * gdb.hp/gdb.aCC/configure.ac: Remove.
9749 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9750 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9751 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9752 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9753 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9754 * gdb.hp/gdb.compat/configure.ac: Remove.
9755 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9756 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9757 * gdb.hp/gdb.defects/configure.ac: Remove.
9758 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9759 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9760 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9761 * gdb.hp/configure.ac: Remove.
9762 * gdb.hp/configure: Remove.
9763 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9764 substitution.
9765 (Makefile): Remove rule.
9766 * gdb.cell/configure.ac: Remove.
9767 * gdb.cell/configure: Remove.
9768 * gdb.stabs/Makefile.in (Makefile): Remove.
9769 (distclean): Don't remove config.status or config.log.
9770 * gdb.stabs/configure (Makefile): Remove.
9771 * gdb.stabs/configure.ac: Remove.
9772 * configure: Rebuild.
9773 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9774 Remove stabs- and cell-specific logic. Test for existence of
9775 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9776 subdirectories, gdb.cell, and and gdb.stabs.
9777 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9778
9779 2011-03-03 Joel Brobecker <brobecker@adacore.com>
9780
9781 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9782 end of buffer.
9783
9784 2011-03-02 Joel Brobecker <brobecker@adacore.com>
9785
9786 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9787 gdb_test when running a test where we expected no output back.
9788
9789 2011-02-28 Michael Snyder <msnyder@vmware.com>
9790
9791 * gdb.cp/overload.cc: Change initializer value to integer.
9792
9793 2011-02-27 Michael Snyder <msnyder@vmware.com>
9794
9795 * gdb.multi/base.exp: Add test for remove-inferiors.
9796
9797 2011-02-26 Joel Brobecker <brobecker@adacore.com>
9798
9799 * gdb.python/py-frame.exp: Simplify the initialization phase
9800 using prepare_for_testing.
9801
9802 2011-02-25 Michael Snyder <msnyder@vmware.com>
9803
9804 * gdb.multi/base.exp: Add tests for info inferiors with args.
9805
9806 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9807
9808 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9809 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9810 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9811 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9812 asmfile3. Comment the STABS (#3) file compilation. Compile
9813 everything through assembler. Provide KFAIL for symtab/12497.
9814 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9815 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9816 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9817 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9818
9819 2011-02-24 Michael Snyder <msnyder@vmware.com>
9820
9821 * gdb.base/break.exp: Add tests for delete breakpoints using
9822 convenience variables and value history references.
9823
9824 2011-02-24 Michael Snyder <msnyder@vmware.com>
9825
9826 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9827 left behind in previous check-in.
9828
9829 2011-02-23 Michael Snyder <msnyder@vmware.com>
9830
9831 * gdb.base/break.exp: Add tests for "info break" with arguments.
9832 * gdb.trace/infotrace.exp: Update patterns for error and help.
9833 * gdb.base/completion.exp: Update pattern.
9834 * gdb.base/ena-dis-br.exp: Update pattern.
9835 * gdb.base/help.exp: Update patterns.
9836
9837 2011-02-23 Michael Snyder <msnyder@vmware.com>
9838
9839 * gdb.base/memattr.exp: New test.
9840 * gdb.base/memattr.c: Test load for memattr.exp.
9841
9842 2011-02-22 Doug Evans <dje@google.com>
9843
9844 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9845
9846 2011-02-22 Michael Snyder <msnyder@vmware.com>
9847
9848 * Makefile.in: Make more clean.
9849 * gdb.ada/Makefile.in: Ditto.
9850 * gdb.arch/Makefile.in: Ditto.
9851 * gdb.asm/Makefile.in: Ditto.
9852 * gdb.base/Makefile.in: Ditto.
9853 * gdb.cp/Makefile.in: Ditto.
9854 * gdb.dwarf2/Makefile.in: Ditto.
9855 * gdb.java/Makefile.in: Ditto.
9856 * gdb.mi/Makefile.in: Ditto.
9857 * gdb.modula2/Makefile.in: Ditto.
9858 * gdb.python/Makefile.in: Ditto.
9859 * gdb.server/Makefile.in: Ditto.
9860 * gdb.stabs/Makefile.in: Ditto.
9861 * gdb.threads/Makefile.in: Ditto.
9862 * gdb.trace/Makefile.in: Ditto.
9863
9864 2011-02-22 Michael Snyder <msnyder@vmware.com>
9865
9866 * gdb.threads/thread-find.exp: Add tests for bad input to
9867 info threads.
9868
9869 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9870
9871 * gdb.python/py-breakpoint.exp: Fix the expected output of
9872 one of the "maint info breakpoints" tests to accept the output
9873 generated on platforms that do not have hardware watchpoints.
9874
9875 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9876
9877 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9878 clean_restart. Be a little stricter in the expected output
9879 for one of the tests. Fix a typo in one of the comments.
9880
9881 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9882
9883 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9884 Delete variable binfile, no longer use. Add or modify test
9885 comments to make them unique.
9886
9887 2011-02-21 Michael Snyder <msnyder@vmware.com>
9888
9889 * Makefile.in: Update for make clean.
9890 * gdb.ada/Makefile.in: Ditto.
9891 * gdb.arch/Makefile.in: Ditto.
9892 * gdb.asm/Makefile.in: Ditto.
9893 * gdb.base/Makefile.in: Ditto.
9894 * gdb.cp/Makefile.in: Ditto.
9895 * gdb.dwarf2/Makefile.in: Ditto.
9896 * gdb.java/Makefile.in: Ditto.
9897 * gdb.mi/Makefile.in: Ditto.
9898 * gdb.modula2/Makefile.in: Ditto.
9899 * gdb.python/Makefile.in: Ditto.
9900 * gdb.server/Makefile.in: Ditto.
9901 * gdb.stabs/Makefile.in: Ditto.
9902 * gdb.threads/Makefile.in: Ditto.
9903 * gdb.trace/Makefile.in: Ditto.
9904
9905 2011-02-21 Michael Snyder <msnyder@vmware.com>
9906
9907 * gdb.threads/thread-find.exp: Update patterns for changes in
9908 output of "info threads" command.
9909
9910 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9911 Ulrich Weigand <uweigand@de.ibm.com>
9912
9913 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9914 (skip_hw_watchpoint_tests): Likewise.
9915 (skip_hw_watchpoint_multi_tests): Likewise.
9916
9917 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9918
9919 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9920 (skip_hw_watchpoint_tests): Likewise.
9921 (skip_hw_watchpoint_multi_tests): Likewise.
9922 (skip_hw_watchpoint_access_tests): Likewise.
9923
9924 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9925 * gdb.base/pr11022.exp: Likewise.
9926 * gdb.base/watch-read.exp: Likewise.
9927 * gdb.base/watch_thread_num.exp: Likewise.
9928 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9929 * gdb.base/watchpoint-hw.exp: Likewise.
9930 * gdb.base/watchpoint.exp: Likewise.
9931 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9932 * gdb.threads/watchthreads-reorder.exp: Likewise.
9933 * gdb.threads/watchthreads.exp: Likewise.
9934 * gdb.threads/watchthreads2.exp: Likewise.
9935
9936 2011-02-21 Joel Brobecker <brobecker@adacore.com>
9937
9938 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9939 the debugger is unable to find the array bounds.
9940
9941 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9942
9943 * gdb.cp/typedef-operator.exp: New file.
9944 * gdb.cp/typedef-operator.cc: New file.
9945
9946 2011-02-17 Michael Snyder <msnyder@vmware.com>
9947
9948 * gdb.threads/thread-find.exp: Fix regular expressions.
9949
9950 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9951
9952 * gdb.ada/packed_array: Expand testcase to test printing of
9953 unconstrained packed array.
9954
9955 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9956
9957 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9958
9959 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9960
9961 * gdb.trace/collection.c (globalarr3): New global.
9962 (main): Initialize it before collecting, and and clear it
9963 afterwards.
9964 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9965 collecting with '{type} addr', where the addr expression is not an
9966 rvalue.
9967
9968 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9969
9970 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9971 a bool variable. Expect correct OpenCL names for vector types. Use the
9972 uc3 variable name instead of referring to the uchar3 built-in type.
9973 Escape the asterisk at the half pointer test.
9974
9975 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9976
9977 * gdb.trace/collection.c (globalarr2): New global.
9978 (main): Initialize it before collecting, and and clear it
9979 afterwards.
9980 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9981 collecting overlapping memory ranges.
9982
9983 2011-02-15 Michael Snyder <msnyder@vmware.com>
9984
9985 * gdb.base/default.exp: Add tests for thread commands.
9986 * gdb.base/help.exp: Add tests for thread commands.
9987 * gdb.threads/thread-find.exp: New test for thread find command.
9988
9989 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9990
9991 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9992
9993 2011-02-15 Yao Qi <yao@codesourcery.com>
9994
9995 PR tdep/12352
9996 * gdb.arch/arm-disp-step.S : New test for str instruction.
9997 * gdb.arch/arm-disp-step.exp : Likewise.
9998
9999 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
10000
10001 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
10002 "vector_register2_vr" test strings. Test the extended floating
10003 point registers (F32~F63).
10004 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
10005 IBM XL C compiler. Make the test program use a register provided
10006 by the compiler for the lxvd2x instruction.
10007
10008 2011-02-14 Pedro Alves <pedro@codesourcery.com>
10009
10010 * gdb.trace/unavailable.cc (class Base, class Middle, class
10011 Derived): New types.
10012 (derived_unavail, derived_partial, derived_whole): New globals.
10013 (virtual_partial): New global.
10014 (virtualp): Point at virtual_partial.
10015 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
10016 related to unavailable vptr.
10017
10018 2011-02-14 Pedro Alves <pedro@codesourcery.com>
10019
10020 * gdb.trace/unavailable.cc (a, b, c): New globals.
10021 (main): Set and clear them.
10022 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
10023 `a' and `c', and check that `b' isn't collected, although `a' and
10024 `c' are.
10025
10026 2011-02-14 Pedro Alves <pedro@codesourcery.com>
10027
10028 * gdb.trace/unavailable.cc (struct Virtual): New.
10029 (virtualp): New global pointer.
10030 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
10031 printing a pointer to an object whose type has a vtable, with
10032 print object on.
10033
10034 2011-02-14 Pedro Alves <pedro@codesourcery.com>
10035
10036 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
10037 value repeat handles unavailableness.
10038
10039 2011-02-14 Pedro Alves <pedro@codesourcery.com>
10040
10041 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
10042 tests for building arrays from unavailable values, subscripting
10043 non-memory rvalue unvailable arrays, and accessing fields or
10044 baseclasses of non-lazy unavailable values,
10045 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
10046 struct types.
10047 (g_smallstruct, g_smallstruct_b): New globals.
10048
10049 2011-02-14 Pedro Alves <pedro@codesourcery.com>
10050
10051 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
10052
10053 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10054
10055 Fix const/volatile qualifiers of C++ types, PR c++/12328.
10056 * gdb.cp/overload-const.exp: New file.
10057 * gdb.cp/overload-const.cc: New file.
10058
10059 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10060
10061 * gdb.opencl/callfuncs.cl: New file.
10062 * gdb.opencl/callfuncs.exp: New test.
10063 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
10064
10065 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10066
10067 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
10068 when computing result.
10069 * gdb.arch/altivec-abi.exp: Update expected results.
10070
10071 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10072
10073 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
10074 * gdb.base/jit.exp: Likewise.
10075 * gdb.base/pie-execl.exp: Likewise.
10076 * gdb.base/solib-nodir.exp: Likewise.
10077 * gdb.base/solib-overlap.exp: Likewise.
10078
10079 2011-02-07 Pedro Alves <pedro@codesourcery.com>
10080
10081 * gdb.trace/collection.c (global_pieces): New.
10082 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
10083 New procedure.
10084 (gdb_trace_collection_test): Call it.
10085
10086 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
10087
10088 * gdb.python/py-evthreads.c: New file.
10089 * gdb.python/py-evthreads.exp: New file.
10090 * gdb.python/py-events.py: New file.
10091 * gdb.python/py-events.exp: New file.
10092 * gdb.python/py-events.c: New file.
10093
10094 2011-02-04 David Daney <ddaney@caviumnetworks.com>
10095
10096 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
10097
10098 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
10099
10100 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
10101 gdb.base/disasm-end-cu.exp: New test for disassembling over the
10102 boundary between two compilation units.
10103
10104 2011-02-02 Pedro Alves <pedro@codesourcery.com>
10105
10106 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
10107 (Virtual): New structs.
10108 (virtual_o, virtual_middle_b): New globals.
10109 * gdb.cp/virtbase.exp: New tests.
10110
10111 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10112
10113 * gdb.base/jit.exp: New file.
10114 * gdb.base/jit-main.c: New file.
10115 * gdb.base/jit-solib.c: New file.
10116
10117 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
10118
10119 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
10120 proceed to initial kernel entry point.
10121 * gdb.opencl/datatypes.exp: Likewise.
10122 * gdb.opencl/operators.exp: Likewise.
10123 * gdb.opencl/vec_comps.exp: Likewise.
10124
10125 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
10126
10127 * gdb.cp/nsnested.cc: New.
10128 * gdb.cp/nsnested.exp: New.
10129 * gdb.cp/nsnoimports.exp: New.
10130 * gdb.cp/nsnoimports.cc: New.
10131
10132 2011-01-31 Joel Brobecker <brobecker@adacore.com>
10133
10134 * gdb.base/interact.exp: Add extra tests that verify that
10135 the value of the interactive-mode setting does not change
10136 after the script is sourced.
10137
10138 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10139
10140 * gdb.cp/noparam.exp: New file.
10141 * gdb.cp/noparam.cc: New file.
10142
10143 2011-01-28 Pedro Alves <pedro@codesourcery.com>
10144
10145 * gdb.trace/tfile.exp: Test that with no traceframe selected,
10146 there's no stack or registers.
10147
10148 2011-01-26 Tom Tromey <tromey@redhat.com>
10149
10150 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
10151 space before string output. Add test for "set print pretty off"
10152 case.
10153
10154 2011-01-25 Pedro Alves <pedro@codesourcery.com>
10155
10156 * gdb.base/frame-args.exp: Adjust.
10157 * gdb.dwarf2/dw2-noloc.exp: Adjust.
10158 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
10159 * gdb.dwarf2/pieces.exp: Adjust.
10160 * gdb.opt/clobbered-registers-O2.exp: Adjust.
10161 * gdb.opt/inline-locals.exp: Adjust.
10162 * gdb.threads/fork-child-threads.exp: Adjust.
10163
10164 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
10165
10166 * gdb.opencl/convs_casts.cl: Move program scope variables into the
10167 OpenCL kernel function. Add a comment as marker. Add address space
10168 qualifiers for the remaining program scope variables.
10169 * gdb.opencl/datatypes.cl: Likewise.
10170 * gdb.opencl/operators.cl: Likewise.
10171 * gdb.opencl/vec_comps.cl: Likewise.
10172 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
10173 Add breakpoint at the marker comment.
10174 * gdb.opencl/datatypes.exp: Likewise.
10175 * gdb.opencl/operators.exp: Likewise.
10176 * gdb.opencl/vec_comps.exp: Likewise.
10177
10178 2011-01-24 Pedro Alves <pedro@codesourcery.com>
10179
10180 * gdb.base/printcmds.c (some_struct): New struct and instance.
10181 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
10182 procedure.
10183 <global scope>: Call it.
10184
10185 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
10186
10187 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
10188 argument to the gdb_compile_opencl_hostapp call.
10189
10190 2011-01-19 Yao Qi <yao@codesourcery.com>
10191
10192 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
10193 positve list.
10194
10195 2011-01-19 Yao Qi <yao@codesourcery.com>
10196
10197 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
10198 canonical form.
10199 Remove "xscale-*-*"
10200 * gdb.xml/tdesc-regs.exp: Likewise.
10201 * gdb.python/py-section-script.exp: Replace ARM target triplet
10202 with canonical form.
10203 Match arm*-*-symbianelf*.
10204 * gdb.base/dup-sect.exp: Likewise.
10205 * lib/dwarf.exp: New.
10206 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
10207 dwarf2_support.
10208 * gdb.dwarf2/dup-psym.exp: Likewise.
10209 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
10210 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10211 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
10212 * gdb.dwarf2/dw2-basic.exp: Likewise.
10213 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10214 * gdb.dwarf2/dw2-const.exp: Likewise.
10215 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
10216 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
10217 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10218 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
10219 * gdb.dwarf2/dw2-filename.exp: Likewise.
10220 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10221 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
10222 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10223 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10224 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
10225 * gdb.dwarf2/dw2-noloc.exp: Likewise.
10226 * gdb.dwarf2/dw2-op-call.exp: Likewise.
10227 * gdb.dwarf2/dw2-producer.exp: Likewise.
10228 * gdb.dwarf2/dw2-ranges.exp: Likewise.
10229 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
10230 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
10231 * gdb.dwarf2/dw2-strp.exp: Likewise.
10232 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
10233 * gdb.dwarf2/implptr.exp: Likewise.
10234 * gdb.dwarf2/mac-fileno.exp: Likewise.
10235 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
10236 * gdb.dwarf2/pieces.exp: Likewise.
10237 * gdb.dwarf2/pr11465.exp: Likewise.
10238 * gdb.dwarf2/valop.exp: Likewise.
10239 * gdb.dwarf2/watch-notconst.exp: Likewise.
10240 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
10241
10242 2011-01-19 Tom Tromey <tromey@redhat.com>
10243
10244 * gdb.python/py-infthread.exp: Add thread tests.
10245
10246 2011-01-14 Joel Brobecker <brobecker@adacore.com>
10247
10248 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
10249
10250 2011-01-14 Joel Brobecker <brobecker@adacore.com>
10251
10252 * gdb.ada/widewide: New testcase.
10253
10254 2011-01-13 Joel Brobecker <brobecker@adacore.com>
10255
10256 * gdb.base/interact.exp: New testcase.
10257
10258 2011-01-12 Tom Tromey <tromey@redhat.com>
10259
10260 * gdb.mi/gdb2549.exp: Update for error message changes.
10261 * gdb.mi/mi-cli.exp: Likewise.
10262 * gdb.mi/mi-disassemble.exp: Likewise.
10263 * gdb.mi/mi-pthreads.exp: Likewise.
10264 * gdb.mi/mi-regs.exp: Likewise.
10265 * gdb.mi/mi-stack.exp: Likewise.
10266 * gdb.mi/mi-var-block.exp: Likewise.
10267 * gdb.mi/mi-var-cmd.exp: Likewise.
10268 * gdb.mi/mi2-cli.exp: Likewise.
10269 * gdb.mi/mi2-disassemble.exp: Likewise.
10270 * gdb.mi/mi2-pthreads.exp: Likewise.
10271 * gdb.mi/mi2-regs.exp: Likewise.
10272 * gdb.mi/mi2-stack.exp: Likewise.
10273 * gdb.mi/mi2-var-block.exp: Likewise.
10274 * gdb.mi/mi2-var-cmd.exp: Likewise.
10275
10276 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
10277 Jan Kratochvil <jan.kratochvil@redhat.com>
10278
10279 PR fortran/11104 and DWARF unbound arrays detection.
10280 * gdb.fortran/multi-dim.exp: New file.
10281 * gdb.fortran/multi-dim.f90: New file.
10282
10283 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
10284
10285 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
10286 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
10287 add new tests for opcode dumping.
10288
10289 2011-01-11 Tom Tromey <tromey@redhat.com>
10290
10291 * gdb.python/py-infthread.exp: Load gdb-python.exp.
10292
10293 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
10294
10295 Convert hardware watchpoints to use breakpoint_ops.
10296 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
10297 type is not supported.
10298 * gdb.base/foll-fork.exp: Likewise.
10299 * gdb.base/foll-vfork.exp: Likewise.
10300
10301 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
10302
10303 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
10304 Use load_lib gdb-python.exp.
10305 * gdb.python/python.exp: Ditto.
10306 * gdb.python/py-function.exp: Ditto.
10307
10308 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
10309
10310 * gdb.threads/tls.exp ("info address me"): Fix expected output.
10311
10312 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10313
10314 * configure: Regenerate.
10315
10316 2011-01-06 Tom Tromey <tromey@redhat.com>
10317
10318 * gdb.python/py-frame.exp: Test gdb.newest_frame.
10319
10320 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10321
10322 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
10323 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
10324 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10325 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
10326 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
10327 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10328 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
10329 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
10330 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
10331 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
10332 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
10333 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
10334 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
10335 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10336 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10337 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
10338 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
10339 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
10340 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10341 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
10342 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
10343 gdb.ada/uninitialized_vars.exp,
10344 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
10345 Simplify by using clean_restart.
10346
10347 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10348
10349 Add marker to be used as anchor for inserting breakpoints.
10350 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
10351 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
10352 Likewise.
10353
10354 Remove uses of gdb_start_cmd.
10355 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
10356 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
10357
10358 Do not run testcase if testing with GDBserver.
10359 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
10360 if testing with GDBserver.
10361
10362 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10363
10364 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
10365 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
10366 copyright header.
10367
10368 2011-01-05 Joel Brobecker <brobecker@adacore.com>
10369
10370 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
10371 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
10372 testsuite/gdb.fortran/complex.f,
10373 testsuite/gdb.fortran/derived-type.f90,
10374 testsuite/gdb.fortran/library-module-lib.f90,
10375 testsuite/gdb.fortran/library-module-main.f90,
10376 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
10377 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
10378 Copyright year update.
10379
10380 2011-01-05 Joel Brobecker <brobecker@adacore.com>
10381
10382 * gdb.base/langs1.f: Add copyright header.
10383
10384 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10385
10386 * gdb.base/morestack.exp: New file.
10387 * gdb.base/morestack.c: New file.
10388
10389 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10390
10391 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
10392
10393 2010-12-29 Joel Brobecker <brobecker@adacore.com>
10394
10395 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
10396 * gdb.ada/arrayptr.exp: Add test printing that new variable.
10397
10398 2010-12-29 Joel Brobecker <brobecker@adacore.com>
10399
10400 * gdb.ada/lang_switch.exp: Correct expected parameter value.
10401
10402 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
10403
10404 * gdb.threads/tls.exp: Fix typo.
10405
10406 * gdb.threads/thread-specific.exp (get_thread_list): Update.
10407 * gdb.threads/execl.exp: Update.
10408
10409 2010-12-23 Yao Qi <yao@codesourcery.com>
10410
10411 * gdb.arch/arm-disp-step.exp: New.
10412 * gdb.arch/arm-disp-step.S: New.
10413
10414 2010-12-21 Tom Tromey <tromey@redhat.com>
10415
10416 * gdb.threads/execl.exp: Update.
10417 * gdb.threads/linux-dp.exp: Update.
10418 * gdb.threads/manythreads.exp: Update.
10419 * gdb.threads/tls.exp: Update.
10420
10421 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10422
10423 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
10424 (NextOverThrowDerivates) <resumebpt>: New.
10425 (resumebpt_test): New.
10426 (main): Call resumebpt_test.
10427 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
10428
10429 2010-12-12 Stan Shebs <stan@codesourcery.com>
10430
10431 * gdb.trace/tsv.exp: Test print command on trace state variables.
10432
10433 2010-12-09 Tom Tromey <tromey@redhat.com>
10434
10435 * gdb.base/interp.exp: Add regression test.
10436
10437 2010-12-09 Tom Tromey <tromey@redhat.com>
10438
10439 * gdb.java/jnpe.java: New file.
10440 * gdb.java/jnpe.exp: New file.
10441 * gdb.cp/nextoverthrow.exp: New file.
10442 * gdb.cp/nextoverthrow.cc: New file.
10443
10444 2010-12-07 Doug Evans <dje@google.com>
10445
10446 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
10447 of data-directory.
10448 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
10449 updated.
10450 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
10451
10452 2010-11-29 Michael Snyder <msnyder@vmware.com>
10453
10454 * gdb.base/callfuncs.exp: Test for skip_float_tests.
10455 * gdb.base/call-sc.exp: Ditto.
10456 * gdb.base/finish.exp: Ditto.
10457 * gdb.base/return.exp: Ditto.
10458 * gdb.base/return2.exp: Ditto.
10459
10460 2010-11-30 Doug Evans <dje@google.com>
10461
10462 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
10463 (gdb_expect_list): Fix spelling errors in comments.
10464 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
10465 send_gdb/gdb_expect_list where applicable.
10466 * gdb.base/call-ar-st.exp: Ditto.
10467 * gdb.base/funcargs.exp: Ditto.
10468 * gdb.base/gcore.exp: Ditto.
10469 * gdb.base/page.exp: Ditto.
10470 * gdb.base/sigaltstack.exp: Ditto.
10471 * gdb.base/siginfo.exp: Ditto.
10472 * gdb.base/sigstep.exp: Ditto.
10473 * gdb.base/trace-commands.exp: Ditto.
10474
10475 2010-11-29 Doug Evans <dje@google.com>
10476
10477 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10478 printer-name;subprinter-name.
10479
10480 2010-11-29 Tom Tromey <tromey@redhat.com>
10481
10482 * gdb.dwarf2/implptr.exp: New file.
10483 * gdb.dwarf2/implptr.c: New file.
10484 * gdb.dwarf2/implptr.S: New file.
10485
10486 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10487
10488 PR python/12199
10489
10490 * gdb.python/py-breakpoint.exp: Test the delete method.
10491
10492 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10493
10494 Fix step_resume_breakpoint unsaved during an infcall.
10495 * gdb.base/step-resume-infcall.exp: New file.
10496 * gdb.base/step-resume-infcall.c: New file.
10497
10498 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10499
10500 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10501
10502 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10503
10504 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10505 on ppc64's symbols; "finish" and "return" commands must accept to
10506 show the caller line again as well as the line after.
10507 * gdb.asm/powerpc64.inc: New file.
10508
10509 2010-11-23 Doug Evans <dje@google.com>
10510
10511 * lib/gdb.exp (gdb_test_sequence): New function.
10512 (gdb_expect_list): Add verbose -log call for each pattern.
10513 * gdb.base/signals.exp (test_handle_all_print): Call it.
10514 Reduce timeout increment from 6 minutes to 1 minute.
10515 * gdb.server/ext-run.exp: Call it.
10516
10517 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10518
10519 PR python/12212
10520
10521 * gdb.python/python.exp: Check that selected_thread raises an
10522 error when no inferior is loaded.
10523
10524 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10525
10526 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10527 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10528
10529 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10530
10531 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10532 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10533
10534 2010-11-18 Doug Evans <dje@google.com>
10535
10536 * gdb.server/ext-run.exp: Fix intermittent failures.
10537
10538 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10539
10540 * gdb.stabs/gdb11479.exp: Use runto_main.
10541
10542 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10543
10544 * gdb.base/break-entry.exp: Skip if using a stub.
10545
10546 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10547
10548 * gdb.python/py-inferior.exp: Pack values in target endianness.
10549
10550 2010-11-12 Tom Tromey <tromey@redhat.com>
10551
10552 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10553 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10554 MemoryError.
10555 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10556 type.
10557 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10558 MemoryError.
10559 (test_subscript_regression): Update exception type.
10560
10561 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10562
10563 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10564 breakpoint tests.
10565
10566 2010-11-09 Pedro Alves <pedro@codesourcery.com>
10567
10568 * gdb.base/watchpoint.exp: Test "watch -location" with an
10569 innacessible location.
10570
10571 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
10572 Luis Machado <luisgpm@br.ibm.com>
10573
10574 * gdb.base/maint.exp: Expect "." prefix.
10575 * gdb.base/nodebug.exp: Expect "." Likewise.
10576 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10577 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10578 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10579 POWER server processors.
10580
10581 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
10582 Luis Machado <luisgpm@br.ibm.com>
10583
10584 * gdb.base/break-entry.exp: convert entry point for
10585 ppc64 and expect leading `.' on ppc64's symbols
10586
10587 2010-11-05 Doug Evans <dje@google.com>
10588
10589 * gdb.base/help.exp: Update expected output.
10590 * gdb.python/py-param.exp: Delete, contents moved to ...
10591 * gdb.python/py-parameter.exp: ... here. New file.
10592 Add test for gdb.parameter ("directories").
10593
10594 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
10595
10596 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10597 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10598 * configure: Regenerate.
10599 * gdb.opencl/Makefile.in: New File.
10600 * gdb.opencl/datatypes.exp: Likewise.
10601 * gdb.opencl/datatypes.cl: Likewise.
10602 * gdb.opencl/operators.exp: Likewise.
10603 * gdb.opencl/operators.cl: Likewise.
10604 * gdb.opencl/vec_comps.exp: Likewise.
10605 * gdb.opencl/vec_comps.cl: Likewise.
10606 * gdb.opencl/convs_casts.exp: Likewise.
10607 * gdb.opencl/convs_casts.cl: Likewise.
10608 * lib/opencl.exp: Likewise.
10609 * lib/opencl_hostapp.c: Likewise.
10610 * lib/opencl_kernel.cl: Likewise.
10611 * lib/cl_util.c: Likewise.
10612 * lib/cl_util.c: Likewise.
10613 * gdb.base/default.exp (set language): Add "opencl" to the list of
10614 languages.
10615
10616 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10617
10618 * gdb.cp/overload.exp: Added test for inheritance overload.
10619 * gdb.cp/overload.cc: Ditto.
10620 * gdb.cp/oranking.exp: Removed releveant kfails.
10621
10622 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10623 Joel Brobecker <brobecker@adacore.com>
10624
10625 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10626 check test_compiler_info.
10627
10628 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10629
10630 * gdb.base/gnu_vector.exp: Adjust expect messages.
10631
10632 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10633
10634 * gdb.base/gnu_vector.exp: Add unary operator tests.
10635
10636 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10637
10638 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10639
10640 2010-11-02 Doug Evans <dje@google.com>
10641
10642 * gdb.python/py-pp-maint.c: New file.
10643 * gdb.python/py-pp-maint.exp: New file.
10644 * gdb.python/py-pp-maint.py: New file.
10645
10646 2010-11-02 Tom Tromey <tromey@redhat.com>
10647
10648 * gdb.base/default.exp: Remove "scheme" from language list.
10649
10650 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10651
10652 Revert:
10653 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10654 * gdb.threads/sigstep-threads.exp: New file.
10655 * gdb.threads/sigstep-threads.c: New file.
10656
10657 2010-10-20 Michael Snyder <msnyder@vmware.com>
10658
10659 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10660
10661 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10662
10663 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10664 Skip test completely if gdb,no_hardware_watchpoints.
10665
10666 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10667
10668 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10669 strict, but do not check for any particular function name within libc.
10670
10671 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10672
10673 * gdb.cp/smartp.exp: New test.
10674 * gdb.cp/smartp.cc : New test.
10675
10676 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10677
10678 * gdb.cp/converts.exp: Test pointer to bool conversion.
10679 Test pointer to long conversion.
10680 * gdb.cp/oranking.exp: Removed relevant kfail.
10681
10682 2010-10-18 Tom Tromey <tromey@redhat.com>
10683
10684 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10685 argument to lazy_string.
10686 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10687 (pp_ls.to_string): Use it.
10688 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10689 Add "estring2" local.
10690
10691 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10692
10693 Fix s390x compatibility.
10694 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10695 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10696
10697 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10698
10699 * gdb.threads/sigstep-threads.exp: New file.
10700 * gdb.threads/sigstep-threads.c: New file.
10701
10702 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10703
10704 * gdb.base/pie-execl.exp: New file.
10705 * gdb.base/pie-execl.c: New file.
10706
10707 2010-10-13 Doug Evans <dje@google.com>
10708 Jan Kratochvil <jan.kratochvil@redhat.com>
10709
10710 PR exp/12117
10711 * gdb.cp/ptype-cv-cp.cc: New file.
10712 * gdb.cp/ptype-cv-cp.exp: New file.
10713
10714 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10715
10716 * gdb.cp/converts.cc: New test program.
10717 * gdb.cp/converts.exp: New test.
10718 * gdb.cp/overload.exp: Added test for void* vs int*.
10719 * gdb.cp/overload.exp: Ditto.
10720 * gdb.cp/oranking.exp: Removed related kfail.
10721
10722 2010-10-13 Doug Evans <dje@google.com>
10723
10724 * lib/gdb-python.exp (gdb_check_python_config): New function.
10725 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10726 * gdb.python/lib-types.cc: New file.
10727 * gdb.python/lib-types.exp: New file.
10728
10729 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10730
10731 * gdb.python/py-error.exp: New file.
10732 * gdb.python/py-error.py: New file.
10733
10734 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10735
10736 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10737 gdb_test_multiple.
10738
10739 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10740
10741 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10742 * gdb.base/prelink.exp: Likewise.
10743 * gdb.base/solib-nodir.exp: Likewise.
10744 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10745 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10746 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10747
10748 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10749
10750 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10751 for the "info files" test to avoid timeouts on slow machines.
10752
10753 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10754
10755 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10756 (main): Make openlib dummy call.
10757
10758 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10759
10760 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10761 * break-interp.exp (reach): Move the core body ...
10762 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10763 (test_ld): Provide always real argument, even to the linker. Replace
10764 dl_main by _dl_debug_state.
10765
10766 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10767
10768 Fix results of prelinked PIEs on ppc*.
10769 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10770 Accept also DISPLACEMENT "PRESENT".
10771 (main): Replace "ZERO" displacements by "PRESENT".
10772
10773 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10774
10775 * gdb.cp/oranking.exp: New test.
10776 * gdb.cp/oranking.cc: New test program.
10777
10778 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
10779
10780 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10781 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10782
10783 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10784
10785 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10786 lush, lynx) New constant.
10787 * gdb.base/constvars.exp: Test const array types.
10788 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10789
10790 2010-10-06 Doug Evans <dje@google.com>
10791
10792 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10793 of syscall staging area.
10794
10795 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10796
10797 * gdb.base/gnu_vector.c: Add variable c4.
10798 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10799 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10800
10801 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10802
10803 * gdb.arch/altivec-abi.exp: Fix a typo.
10804
10805 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10806
10807 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10808 to match a thread ID.
10809
10810 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10811
10812 Fix s390x testcase compatibility.
10813 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10814
10815 2010-10-01 Doug Evans <dje@google.com>
10816
10817 * lib/gdb-python.exp: New file.
10818 * gdb.python/py-block.exp: Use it.
10819 * gdb.python/py-breakpoint.exp: Ditto.
10820 * gdb.python/py-frame.exp: Ditto.
10821 * gdb.python/py-inferior.exp: Ditto.
10822 * gdb.python/py-param.exp: Ditto.
10823 * gdb.python/py-prettyprint.exp: Ditto.
10824 * gdb.python/py-shared.exp: Ditto.
10825 * gdb.python/py-symbol.exp: Ditto.
10826 * gdb.python/py-symtab.exp: Ditto.
10827 * gdb.python/py-type.exp: Ditto.
10828 * gdb.python/py-value.exp: Ditto.
10829 * gdb.python/python.exp: Ditto.
10830
10831 2010-09-30 Tom Tromey <tromey@redhat.com>
10832
10833 * gdb.base/anon.exp: New file.
10834 * gdb.base/anon.c: New file.
10835
10836 2010-09-30 Tom Tromey <tromey@redhat.com>
10837
10838 * gdb.base/completion.exp: Test completion through anonymous
10839 union.
10840 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10841
10842 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10843
10844 Fix printing parameters of inlined functions.
10845 * gdb.dwarf2/dw2-inline-param.exp: New file.
10846 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10847 * gdb.dwarf2/dw2-inline-param.S: New file.
10848
10849 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10850
10851 PR corefiles/12071.
10852 * gdb.base/corefile.exp (quit with a process, no question: load core)
10853 (quit with a core file): New tests.
10854
10855 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10856
10857 Fix GDB crash on inferior calls with self-referencing classes.
10858 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10859 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10860 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10861
10862 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10863
10864 Fix lost siginfo_t for inferior calls.
10865 * gdb.base/siginfo-infcall.exp: New file.
10866 * gdb.base/siginfo-infcall.c: New file.
10867
10868 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10869
10870 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10871
10872 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10873
10874 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10875 New test.
10876 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10877
10878 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10879
10880 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10881 type of our const type.
10882
10883 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10884
10885 * gdb.cp/pr12028.cc: New.
10886 * gdb.cp/pr12028.exp: New.
10887
10888 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10889
10890 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10891
10892 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
10893 Jan Kratochvil <jan.kratochvil@redhat.com>
10894
10895 PR mi/11407
10896 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10897 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10898 * gdb.mi/dw2-ref-missing-frame.S New File.
10899 * gdb.mi/dw2-ref-missing-frame.exp New File.
10900
10901 2010-09-14 Tom Tromey <tromey@redhat.com>
10902
10903 PR symtab/8399:
10904 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10905
10906 2010-09-14 Tom Tromey <tromey@redhat.com>
10907
10908 PR exp/11803:
10909 * gdb.threads/tls.exp: Use C++.
10910 (check_thread_local): Use K::another_thread_local.
10911 * gdb.threads/tls.c (class K): New.
10912 (another_thread_local): Now a member of K.
10913 (spin): Update. No longer K&R C.
10914
10915 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10916
10917 * gdb.cp/koenig.cc: created class for testing member lookup.
10918 * gdb.cp/koenig.exp: Added test for member lookup.
10919
10920 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10921
10922 Fix false FAILs on sourcetree topdir directory containing "kill".
10923 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10924 source line matching regexp.
10925
10926 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10927
10928 * gdb.python/python.exp (set height 0, collect help from uiout)
10929 (verify help to uiout): New tests.
10930
10931 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10932
10933 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10934 is_lp64_target to check 64bit target.
10935
10936 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10937
10938 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10939 (test_ld) <powerpc64-*>: New.
10940
10941 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10942
10943 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10944
10945 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10946
10947 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10948 (FunctionArg::method): New function.
10949 (empty, arg): New variables.
10950 (main): Call arg.method.
10951 * gdb.cp/templates.exp (test_template_args): New function.
10952 (do_tests): Call it.
10953
10954 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10955
10956 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10957 of "next" to proceed over pthread_exit call.
10958
10959 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10960
10961 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10962 "maint print statistics" output to prevent expect timeouts.
10963
10964 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10965
10966 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10967 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10968 (test_float_rejected): ... here.
10969 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10970 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10971 (test_float_rejected): ... here.
10972 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10973 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10974 (test_float_rejected): ... here.
10975 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10976 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10977 (test_float_rejected): ... here.
10978
10979 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10980
10981 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10982 before disabling hardware watchpoints.
10983 (test_inaccessible_watchpoint): Check that hardware watchpoints
10984 are used. Test for watchpoints on a constant address.
10985
10986 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10987
10988 * gdb.base/ui-redirect.exp: New file.
10989
10990 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10991 Joel Brobecker <brobecker@adacore.com>
10992
10993 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10994
10995 2010-08-31 Doug Evans <dje@google.com>
10996
10997 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10998
10999 2010-08-30 Tom Tromey <tromey@redhat.com>
11000
11001 PR python/11792:
11002 * gdb.python/py-value.exp (test_subscript_regression): Add
11003 dynamic_type test.
11004
11005 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
11006
11007 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
11008 instead of running to main. Do not test the main function.
11009 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
11010 Add new main.
11011
11012 2010-08-26 Pedro Alves <pedro@codesourcery.com>
11013
11014 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
11015 one test.
11016
11017 2010-08-24 Doug Evans <dje@google.com>
11018
11019 PR symtab/11942
11020 * gdb.dwarf2/dw4-sig-types.cc: New file.
11021 * gdb.dwarf2/dw4-sig-types.h: New file.
11022 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
11023 * gdb.dwarf2/dw4-sig-types.exp: New file.
11024
11025 2010-08-23 Tom Tromey <tromey@redhat.com>
11026
11027 PR python/11145:
11028 * gdb.python/py-value.c (Base, Derived): New types.
11029 (base): New global.
11030 * gdb.python/py-value.exp (test_subscript_regression): Add
11031 dynamic_cast test.
11032
11033 2010-08-23 Tom Tromey <tromey@redhat.com>
11034
11035 PR python/10676:
11036 * gdb.python/py-type.exp (test_fields): Add tests for type
11037 equality.
11038
11039 2010-08-23 Tom Tromey <tromey@redhat.com>
11040
11041 PR python/11915:
11042 * gdb.python/py-type.exp (test_fields): Add tests for array.
11043
11044 2010-08-23 Keith Seitz <keiths@redhat.com>
11045
11046 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
11047 have any children. Create a new abbrev for it.
11048 Add missing terminal sequence to .debug_abbrev.
11049
11050 2010-08-20 Keith Seitz <keiths@redhat.com>
11051
11052 PR symtab/11465:
11053 * gdb.dwarf2/pr11465.exp: New test.
11054 * gdb.dwarf2/pr11465.S: New file.
11055 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
11056 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
11057
11058 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
11059
11060 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
11061 registers. Update data sets with the new v2_double element in the
11062 VSX register union. Add vector_register3_vr data set for the AltiVec
11063 registers. Use gdb_test_no_output instead of send_gdb.
11064
11065 2010-08-19 Pedro Alves <pedro@codesourcery.com>
11066
11067 * gdb.python/py-shared.exp: New file, factored out from
11068 python.exp.
11069 * gdb.python/py-shared.c: New file.
11070 * gdb.python/py-shared-sl.c: New file.
11071 * gdb.python/python-1.c: New file.
11072 * gdb.python/python-sl.c: Delete.
11073 * gdb.python/python.c: Mention python-1.c.
11074 * gdb.python/python.exp: Move shared library tests to
11075 py-shared.exp.
11076 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
11077 (MISCELLANEOUS): New.
11078 (clean mostlyclean): Also remove $MISCELLANEOUS.
11079
11080 2010-08-19 Doug Evans <dje@google.com>
11081
11082 PR exp/11926
11083 * gdb.base/printcmds.exp (test_float_accepted): New function.
11084 Move existing float tests there. Add tests for floats with suffixes.
11085 (test_float_rejected): New function.
11086 * gdb.java/jv-print.exp (test_float_accepted): New function.
11087 (test_float_rejected): New function.
11088 * gdb.objc/print.exp: New file.
11089 * gdb.pascal/print.exp: New file.
11090 * lib/objc.exp: New file.
11091
11092 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
11093
11094 * gdb.base/default.exp (info set): Avoid full buffer error and force
11095 reading up to final gdb prompt.
11096 (show): Likewise.
11097
11098 2010-08-18 Tom Tromey <tromey@redhat.com>
11099
11100 PR symtab/11919:
11101 * gdb.base/completion.exp: Add test.
11102
11103 2010-08-18 Doug Evans <dje@google.com>
11104
11105 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
11106 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
11107 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
11108 Simplify, early exit if runto_main fails.
11109 * gdb.fortran/exprs.exp: load_lib fortran.exp.
11110 (set_lang_fortran): Moved to lib/fortran.exp.
11111 * gdb.fortran/types.exp: load_lib fortran.exp.
11112 (set_lang_fortran): Moved to lib/fortran.exp.
11113 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
11114 * gdb.java/jprint.exp (set_lang_java): Ditto.
11115 * gdb.java/jv-exp.exp: load_lib java.exp.
11116 If set_lang_java fails, issue a warning instead of failure to be
11117 consistent with other set_lang_foo uses.
11118 (set_lang_java): Moved to lib/java.exp.
11119 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
11120 If set_lang_java fails, issue a warning instead of failure to be
11121 consistent with other set_lang_foo uses.
11122 * gdb.pascal/types.exp: load_lib pascal.exp.
11123 (set_lang_pascal): Moved to lib/pascal.exp.
11124 * lib/fortran.exp: New file.
11125 * lib/java.exp (set_lang_java): New function.
11126 * lib/pascal.exp (set_lang_pascal): New function.
11127
11128 2010-08-18 Yao Qi <yao@codesourcery.com
11129
11130 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
11131 func_nofb_start and func_loopfb_start, so that address of functions
11132 is equal to these labels on Thumb.
11133
11134 2010-08-18 Yao Qi <yao@codesourcery.com>
11135
11136 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
11137 to reflect latest c source file.
11138
11139 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11140
11141 * gdb.cp/infcall-dlopen.exp: New file.
11142 * gdb.cp/infcall-dlopen.cc: New file.
11143 * gdb.cp/infcall-dlopen-lib.cc: New file.
11144
11145 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11146 Pedro Alves <pedro@codesourcery.com>
11147
11148 PR breakpoints/11371
11149
11150 * gdb.base/watch-cond-infcall.exp: New file.
11151 * gdb.base/watch-cond-infcall.c: New file.
11152
11153 2010-08-16 Tom Tromey <tromey@redhat.com>
11154
11155 * gdb.base/help.exp: Update.
11156 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
11157 watchpoint.
11158 (test_watch_location): New proc.
11159 (test_watchpoint_in_big_blob): Delete watchpoint.
11160 * gdb.base/watchpoint.c (func5): New function.
11161 (main): Call it.
11162
11163 2010-08-16 Doug Evans <dje@google.com>
11164
11165 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
11166
11167 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11168
11169 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
11170 tests.
11171
11172 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
11173
11174 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
11175 * gdb.base/gnu_vector.c: New File.
11176 * gdb.base/gnu_vector.exp: Likewise.
11177
11178 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11179
11180 * gdb.python/python.c: New File.
11181 * gdb.python/python-sl.c: New File.
11182 * gdb.python/python.exp: Test solib_address and decode_line
11183 * functions.
11184
11185 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11186
11187 * gdb.python/python.exp (show height, set height 10)
11188 (verify pagination beforehand, verify pagination beforehand: q)
11189 (gdb.execute does not page, verify pagination afterwards)
11190 (verify pagination afterwards: q): New.
11191
11192 2010-08-02 Doug Evans <dje@google.com>
11193
11194 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
11195 because of an older gcc, change test2
11196 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
11197 to unsupported.
11198
11199 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
11200
11201 * gdb.base/break-always.exp: Do not expect full paths to file
11202 names.
11203 * gdb.base/commands.exp: Likewise.
11204
11205 2010-07-30 Doug Evans <dje@google.com>
11206
11207 * gdb.cp/temargs.exp: For new tests that require newer gccs,
11208 xfail them when run with older gccs.
11209
11210 * lib/gdb.exp (build_executable): Forward "c++" option to
11211 get_compiler_info.
11212
11213 * gdb.python/py-type.exp (test_template): Mark as xfail tests
11214 "python print ttype.template_argument(1)" and
11215 "python print isinstance(ttype.template_argument(1), gdb.Value)"
11216 if using gcc 4.4 or earlier.
11217
11218 * gdb.base/valgrind-db-attach.exp: Use unique test name for
11219 attach-to-debugger handling.
11220
11221 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11222
11223 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
11224 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
11225 (main): Use copyreloc.
11226 * gdb.base/prelink.exp (split debug of executable)
11227 (.dynbss vs. .bss address shift): New tests.
11228
11229 2010-07-29 Pedro Alves <pedro@codesourcery.com>
11230
11231 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
11232 in gdb_test_multiple.
11233
11234 2010-07-29 Pedro Alves <pedro@codesourcery.com>
11235
11236 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
11237 environment.
11238
11239 2010-07-28 Tom Tromey <tromey@redhat.com>
11240
11241 PR python/11060:
11242 * gdb.python/py-type.c (Temargs): New template.
11243 (temvar): New variable.
11244 * gdb.python/py-type.exp (test_template): New proc.
11245
11246 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11247
11248 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
11249 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
11250
11251 2010-07-28 Tom Tromey <tromey@redhat.com>
11252
11253 PR c++/9946:
11254 * gdb.cp/temargs.exp: New file.
11255 * gdb.cp/temargs.cc: New file.
11256
11257 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11258
11259 * gdb.base/help.exp (help disassemble): Update the content.
11260
11261 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11262
11263 * gdb.threads/ia64-sigill.exp: New file.
11264 * gdb.threads/ia64-sigill.c: New file.
11265
11266 2010-07-27 Tom Tromey <tromey@redhat.com>
11267
11268 * gdb.opt/inline-cmds.c (ATTR): New define.
11269 (func1): Use it.
11270 (func2): Likewise.
11271 (func3): Likewise.
11272 (outer_inline1): Likewise.
11273 (outer_inline2): Likewise.
11274 * gdb.opt/inline-bt.c (ATTR): New define.
11275 (func1): Use it.
11276 (func2): Likewise.
11277 * gdb.opt/inline-locals.c (ATTR): New define.
11278 (func1): Use it.
11279 (func2): Likewise.
11280
11281 2010-07-27 Tom Tromey <tromey@redhat.com>
11282
11283 * gdb.stabs/gdb11479.c (hack): New function.
11284 (test): Use it.
11285 (test2): Use it.
11286 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
11287 (int32_search_buf, int64_search_buf): No longer static.
11288 (x): Remove.
11289 * gdb.base/relocate.c (hack): New function.
11290
11291 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
11292
11293 * gdb.python/py-value.exp (test_inferior_function_call): New function.
11294 * gdb.python/py-value.c (func1): New function.
11295 (func2): Likewise.
11296
11297 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
11298
11299 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
11300 as not to clash with .data section.
11301
11302 2010-07-26 Jerome Guitton <guitton@adacore.com>
11303
11304 * gdb.base/code_elim.exp: New file.
11305 * gdb.base/code_elim1.c: New file.
11306 * gdb.base/code_elim2.c: New file.
11307
11308 2010-07-21 Pedro Alves <pedro@codesourcery.com>
11309
11310 PR symtab/11827
11311
11312 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
11313 (some_volatile_enum): New variable.
11314 * gdb.base/printcmds.exp (test_print_enums): New.
11315 <top level>: Call it.
11316
11317 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
11318
11319 * gdb.cp/fpointer.cc: New test.
11320 * gdb.cp/fpointer.exp: New test.
11321
11322 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11323
11324 * gdb.base/solib-nodir.exp: New file.
11325 * lib/gdb.exp (runto): New case for a GDB internal error.
11326
11327 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11328 Ulrich Weigand <uweigand@de.ibm.com>
11329 Tom Tromey <tromey@redhat.com>
11330
11331 * gdb.base/charset-malloc.c: New file.
11332 * gdb.base/charset.c (malloc_stub): New prototype.
11333 (main): Call it instead of malloc itself.
11334 * gdb.base/charset.exp: Use only prepare_for_testing.
11335 (binfile): Remove the variable.
11336
11337 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11338
11339 Make core files the process_stratum.
11340 * gdb.base/corefile.exp (run: load core again)
11341 (run: sanity check we see the core file, run: with core)
11342 (run: core file is cleared, attach: load core again)
11343 (attach: sanity check we see the core file, attach: with core)
11344 (attach: core file is cleared): New tests.
11345 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
11346
11347 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
11348
11349 * gdb.arch/altivec-abi.exp: New tests.
11350
11351 2010-07-13 Tom Tromey <tromey@redhat.com>
11352
11353 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
11354 (main): Use it.
11355 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
11356
11357 2010-07-13 Tom Tromey <tromey@redhat.com>
11358
11359 * gdb.base/label.exp: New file.
11360 * gdb.base/label.c: New file.
11361
11362 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
11363 H.J. Lu <hongjiu.lu@intel.com>
11364
11365 * lib/gdb.exp (is_ilp32_target): New.
11366 (is_lp64_target): Likewise.
11367
11368 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
11369 target.
11370 * gdb.arch/amd64-disp-step.exp: Likewise.
11371 * gdb.arch/amd64-dword.exp: Likewise.
11372 * gdb.arch/amd64-i386-address.exp: Likewise.
11373 * gdb.arch/amd64-word.exp: Likewise.
11374
11375 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
11376 target.
11377 * gdb.arch/i386-bp_permanent.exp: Likewise.
11378 * gdb.arch/i386-byte.exp: Likewise.
11379 * gdb.arch/i386-disp-step.exp: Likewise.
11380 * gdb.arch/i386-gnu-cfi.exp: Likewise.
11381 * gdb.arch/i386-prologue.exp: Likewise.
11382 * gdb.arch/i386-size-overlap.exp: Likewise.
11383 * gdb.arch/i386-size.exp: Likewise.
11384 * gdb.arch/i386-sse.exp: Likewise.
11385 * gdb.arch/i386-unwind.exp: Likewise.
11386 * gdb.arch/i386-word.exp: Likewise.
11387
11388 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
11389 test only when building 64-bit executables. Do not hard-code
11390 -m64 option.
11391
11392 2010-07-07 Doug Evans <dje@google.com>
11393
11394 * lib/gdb.exp (gdb_test_list_exact): New function.
11395 * gdb.base/default.exp (show convenience): Call it, add tests for
11396 $_sdata = void, $_thread = 0.
11397
11398 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11399 Joel Brobecker <brobecker@adacore.com>
11400
11401 Fix re-run of PIE executable, PR shlibs/11776.
11402 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
11403 Remove $displacement_main to match the solib-svr4.c change. New "kill"
11404 and re-"run" of the inferior.
11405
11406 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11407 Joel Brobecker <brobecker@adacore.com>
11408
11409 Cope with missing /usr/sbin/prelink.
11410 * lib/prelink-support.exp (prelink_no):
11411 <result == 1 && $output is "no such file or directory">: New.
11412 (prelink_yes): Likewise. Return on failed prelink_no.
11413
11414 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11415 Joel Brobecker <brobecker@adacore.com>
11416
11417 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
11418 build_executable by build_executable_own_libs. Replace "prelink -R"
11419 execution by a call of prelink_yes. Comment why "prelink -r" needs no
11420 change.
11421 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
11422 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
11423 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
11424 Replace build_executable by build_executable_own_libs's function
11425 build_executable_own_libs.
11426 (prelinkNO): Create new stub to call prelink_no.
11427 (prelinkYES): Create new stub to call prelink_yes.
11428 (test_attach): Rename calls of copy to file_copy.
11429 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
11430 (copy): Move to ...
11431 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
11432 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
11433 * gdb.base/prelink.exp: Disable testcase also for is_remote and
11434 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
11435 special flags by gdb_compile_shlib. Replace second gdb_compile by
11436 build_executable_own_libs. Replace "prelink -R" execution by a call of
11437 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
11438 a second call of prelink_yes. Replace restart commands by
11439 clean_restart.
11440 (prelink): Rename to ...
11441 (seen displacement message): ... this test. Extend its expectation
11442 strictness.
11443
11444 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11445
11446 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
11447 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
11448 displacement message exactly once.
11449
11450 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11451 Joel Brobecker <brobecker@adacore.com>
11452
11453 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
11454 its restore after the <$relink_args != ""> loop. new comment.
11455
11456 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11457 Joel Brobecker <brobecker@adacore.com>
11458
11459 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
11460 code for it. New variable relink_args.
11461 (prelinkYES): Call prelinkNO.
11462 (test_attach): Accept new parameter relink_args. Re-prelink the binary
11463 in such case. Move the core code to ...
11464 (test_attach_gdb): ... a new function. Send GDB command "file".
11465 Extend expected "Attaching to " string.
11466
11467 2010-07-02 Tom Tromey <tromey@redhat.com>
11468
11469 * gdb.base/bitops.exp: Remove extraneous "pass".
11470
11471 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
11472
11473 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11474
11475 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11476
11477 * gdb.base/help.exp: Adjust expected output.
11478
11479 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11480
11481 * gdb.base/help.exp: Adjust expected output.
11482
11483 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11484
11485 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11486 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11487 c++/11702.
11488
11489 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11490 Doug Evans <dje@google.com>
11491
11492 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11493 add .dynamic entry'.
11494
11495 2010-06-29 Doug Evans <dje@google.com>
11496
11497 Test PR c++/11702.
11498 * gdb.cp/m-static.exp: Add testcase.
11499 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11500
11501 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
11502 Tom Tromey <tromey@redhat.com>
11503 Thiago Jung Bauermann <bauerman@br.ibm.com>
11504
11505 * gdb.python/py-inferior.c: New File.
11506 * gdb.python/py-infthread.c: New File.
11507 * gdb.python/py-inferior.exp: New File.
11508 * gdb.python/py-infthread.exp: New File.
11509
11510 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11511
11512 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11513 (ptype ::C::OtherFileClass typedefs): New.
11514 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11515 (C::OtherFileClass::cOtherFileClassVar2): New.
11516 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11517 cOtherFileClassVar2.
11518 (C::cOtherFileType2, C::cOtherFileVar2): New.
11519 (C::cOtherFileVar_use): use also cOtherFileVar2.
11520 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11521
11522 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11523
11524 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11525 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11526 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11527 (print ::C::cOtherFileVar)
11528 (whatis C::OtherFileClass::cOtherFileClassType)
11529 (whatis ::C::OtherFileClass::cOtherFileClassType)
11530 (print C::OtherFileClass::cOtherFileClassVar)
11531 (print ::cOtherFileClassVar)
11532 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11533 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11534 trailing content.
11535 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11536 (C::OtherFileClass::cOtherFileClassVar)
11537 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11538 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11539
11540 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11541
11542 Test PR c++/11703 and PR gdb/1448.
11543 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11544 gdb/1448.
11545
11546 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11547
11548 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11549 (main) <rtti_data>: New.
11550 * gdb.cp/virtbase.exp (print rtti_data): New.
11551
11552 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11553 Joel Brobecker <brobecker@adacore.com>
11554
11555 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11556
11557 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11558
11559 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11560
11561 2010-06-28 Doug Evans <dje@google.com>
11562
11563 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11564
11565 2010-06-27 Doug Evans <dje@google.com>
11566
11567 * gdb.cp/m-static.exp: Update expected test output.
11568
11569 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11570
11571 * gdb.gdb/selftest.exp: Adjust expected message for
11572 capturing start-up runtime.
11573
11574 2010-06-25 Tom Tromey <tromey@redhat.com>
11575
11576 PR python/10808:
11577 * gdb.python/python.exp: Add new tests.
11578
11579 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11580
11581 * gdb.cp/operator.cc: Created an import loop.
11582 * gdb.cp/operator.exp: Added testcase for import loop.
11583
11584 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11585
11586 Test PR python/11407.
11587 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11588 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11589 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11590 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11591 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11592 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11593 binfile. Call gdb_compile with clean_restart twice.
11594 (func_nofb print, func_nofb backtrace, func_loopfb print)
11595 (func_loopfb backtrace): New.
11596
11597 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11598
11599 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11600 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11601 by a hand made one.
11602 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11603 i?86 requirement. Remove variables srcfile and binfile. New variable
11604 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11605
11606 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11607
11608 * gdb.cell/dwarfaddr.exp: New file.
11609 * gdb.cell/dwarfaddr.S: New file.
11610
11611 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11612
11613 Test PR 9436.
11614 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11615
11616 2010-06-24 Hui Zhu <teawater@gmail.com>
11617
11618 * gdb.base/eval.exp: New file.
11619
11620 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11621
11622 * gdb.cell/fork.exp: New file.
11623 * gdb.cell/fork.c: Likewise.
11624 * gdb.cell/fork-spu.c: Likewise.
11625
11626 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11627
11628 * lib/gdb.exp (banned_variables_traced): New global variable.
11629 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11630 (gdb_init): Use `trace add variable' instead of obsolete
11631 `trace variable'.
11632
11633 2010-06-21 Doug Evans <dje@google.com>
11634
11635 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11636
11637 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11638
11639 * gdb.arch/spu-ls.exp: New file.
11640 * gdb.arch/spu-ls.c: Likewise.
11641
11642 2010-06-18 Stan Shebs <stan@codesourcery.com>
11643
11644 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11645
11646 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11647
11648 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11649 * gdb.base/watch-cond.exp: Likewise.
11650 * gdb.python/py-breakpoint.exp: Likewise.
11651
11652 2010-06-18 Pedro Alves <pedro@codesourcery.com>
11653
11654 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11655 clean_restart, make sure every test has a distinct message, and
11656 that messages don't include the executable' full path.
11657
11658 2010-06-17 Doug Evans <dje@google.com>
11659
11660 * gdb.arch/i386-size.exp: Updated expected output for
11661 DISASSEMBLY_OMIT_FNAME.
11662
11663 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11664 Sergio Durigan Junior <sergiodj@redhat.com>
11665
11666 * gdb.base/watch-notconst.c: New file.
11667 * gdb.base/watch-notconst.S: New file.
11668 * gdb.base/watch-notconst2.c: New file.
11669 * gdb.base/watch-notconst2.S: New file.
11670 * gdb.base/watch-notconst.exp: New file.
11671 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11672 (func4): Add operations on `global_ptr_ptr'.
11673 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11674 routine to test watchpoints created with a constant expression.
11675 (test_inaccessible_watchpoint): Include tests for watchpoints
11676 created with a constant expression.
11677
11678 2010-06-14 Kevin Buettner <kevinb@redhat.com>
11679
11680 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11681 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11682 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11683 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11684 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11685 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11686 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11687 of `_start'.
11688
11689 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11690
11691 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11692 not supported on the target.
11693 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11694 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11695 * gdb.mi/mi-nsintrall.exp: Likewise.
11696 * gdb.mi/mi-nsmoribund.exp: Likewise.
11697 * gdb.mi/mi-nsthrexec.exp: Likewise.
11698
11699 2010-06-11 Stan Shebs <stan@codesourcery.com>
11700
11701 * gdb.base/permissions.exp: New file.
11702
11703 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11704
11705 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11706 does not support ELF executable class.
11707
11708 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11709
11710 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11711
11712 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11713
11714 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11715 (runto): Catch "The target does not support running in non-stop mode.".
11716
11717 2010-06-11 Michael Snyder <msnyder@vmware.com>
11718
11719 * gdb.base/setshow.exp (set language asm): Don't use
11720 gdb_test_no_output, fails on some targets.
11721
11722 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11723
11724 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11725 * gdb.cp/pr9167.exp: Likewise.
11726
11727 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11728
11729 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11730
11731 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11732
11733 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11734
11735 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11736
11737 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11738
11739 2010-06-11 Tom Tromey <tromey@redhat.com>
11740
11741 PR gdb/9977, PR exp/11636::
11742 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11743 (pieces_test_f6): Update expected output.
11744
11745 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11746
11747 * gdb.base/moribund-step.exp: New.
11748
11749 2010-06-08 Michael Snyder <msnyder@vmware.com>
11750
11751 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
11752 * gdb.ada/boolean_expr.exp:
11753 * gdb.ada/frame_args.exp: Ditto.
11754 * gdb.ada/lang_switch.exp: Ditto.
11755 * gdb.ada/ptype_arith_binop.exp: Ditto.
11756 * gdb.ada/ref_param.exp: Ditto.
11757 * gdb.ada/type_coercion.exp:Ditto.
11758
11759 * gdb.asm/asm-source.exp: Ditto.
11760
11761 * gdb.base/attach.exp: Ditto.
11762 * gdb.base/bitfields2.exp: Ditto.
11763 * gdb.base/call-signal-resume.exp: Ditto.
11764 * gdb.base/callfuncs.exp: Ditto.
11765 * gdb.base/commands.exp: Ditto.
11766 * gdb.base/dbx.exp: Ditto.
11767 * gdb.base/default.exp: Ditto.
11768 * gdb.base/dump.exp: Ditto.
11769 * gdb.base/exprs.exp: Ditto.
11770 * gdb.base/freebpcmd.exp: Ditto.
11771 * gdb.base/interrupt.exp: Ditto.
11772 * gdb.base/list.exp: Ditto.
11773 * gdb.base/long_long.exp: Ditto.
11774 * gdb.base/maint.exp: Ditto.
11775 * gdb.base/ptype.exp: Ditto.
11776 * gdb.base/return.exp: Ditto.
11777 * gdb.base/setshow.exp: Ditto.
11778 * gdb.base/sigbpt.exp: Ditto.
11779 * gdb.base/sigrepeat.exp: Ditto.
11780
11781 * gdb.cp/classes.exp: Ditto.
11782
11783 * gdb.dwarf2/dw2-restore.exp: Ditto.
11784
11785 * gdb.gdb/selftest.exp: Ditto.
11786
11787 * gdb.multi/base.exp: Ditto.
11788 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11789
11790 * gdb.python/py-block.exp: Ditto.
11791 * gdb.python/py-prettyprint.exp: Ditto.
11792 * gdb.python/py-template.exp: Ditto.
11793
11794 * gdb.server/ext-attach.exp: Ditto.
11795 * gdb.server/ext-run.exp: Ditto.
11796 * gdb.server/server-mon.exp: Ditto.
11797
11798 * gdb.threads/fork-thread-pending.exp: Ditto.
11799 * gdb.threads/hand-call-in-threads.exp: Ditto.
11800 * gdb.threads/interrupted-hand-call.exp: Ditto.
11801 * gdb.threads/linux-dp.exp: Ditto.
11802 * gdb.threads/manythreads.exp: Ditto.
11803 * gdb.threads/print-threads.exp: Ditto.
11804 * gdb.threads/pthreads.exp: Ditto.
11805 * gdb.threads/schedlock.exp: Ditto.
11806 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11807 * gdb.threads/threadapply.exp: Ditto.
11808
11809 2010-06-08 Michael Snyder <msnyder@vmware.com>
11810
11811 * gdb.ada/exec_changed.exp:
11812 Use ".*" instead of "" as wildcard regexp.
11813
11814 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11815 * gdb.base/call-ar-st.exp: Ditto.
11816 * gdb.base/checkpoint.exp: Ditto.
11817 * gdb.base/default.exp: Ditto.
11818 * gdb.base/dump.exp: Ditto.
11819 * gdb.base/ending-run.exp: Ditto.
11820 * gdb.base/fileio.exp: Ditto.
11821 * gdb.base/miscexprs.exp: Ditto.
11822 * gdb.base/pointers.exp: Ditto.
11823 * gdb.base/readline.exp: Ditto.
11824 * gdb.base/reread.exp: Ditto.
11825 * gdb.base/restore.exp: Ditto.
11826 * gdb.base/shlib-call.exp: Ditto.
11827 * gdb.base/valgrind-db-attach.exp: Ditto.
11828 * gdb.base/volatile.exp: Ditto.
11829 * gdb.base/watchpoints.exp: Ditto.
11830
11831 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11832
11833 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11834 * gdb.python/py-value.exp: Ditto.
11835
11836 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11837 * gdb.trace/circ.exp: Ditto.
11838 * gdb.trace/collection.exp: Ditto.
11839 * gdb.trace/packetlen.exp: Ditto.
11840 * gdb.trace/passc-dyn.exp: Ditto.
11841 * gdb.trace/report.exp: Ditto.
11842 * gdb.trace/tfile.exp: Ditto.
11843 * gdb.trace/tfind.exp: Ditto.
11844 * gdb.trace/while-dyn.exp: Ditto.
11845
11846 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11847
11848 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11849
11850 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11851
11852 Test PR 10640.
11853 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11854
11855 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11856
11857 * gdb.cp/koenig.exp: Test for ADL operators.
11858 * gdb.cp/koenig.cc: Added ADL operators.
11859 * gdb.cp/operator.exp: New test.
11860 * gdb.cp/operator.cc: New test.
11861
11862 2010-06-04 Michael Snyder <msnyder@vmware.com>
11863
11864 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11865 * gdb.base/pending.exp: Ditto.
11866
11867 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11868
11869 2010-06-04 Doug Evans <dje@google.com>
11870
11871 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11872 disabled printers.
11873 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11874 (enable_lookup_function): New function.
11875
11876 2010-06-04 Tom Tromey <tromey@redhat.com>
11877
11878 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11879 of hash and id.
11880
11881 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11882
11883 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11884 newline.
11885 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11886 (empty verbose non-noisy clear, empty verbose noisy clear)
11887 (empty non-verbose noisy clear): Likewise.
11888
11889 2010-06-03 Michael Snyder <msnyder@vmware.com>
11890
11891 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11892 * gdb.base/display.exp: Ditto.
11893 * gdb.base/find.exp: Ditto.
11894 * gdb.base/ifelse.exp: Ditto.
11895 * gdb.base/multi-forks.exp: Ditto.
11896 * gdb.base/recurse.exp: Ditto.
11897 * gdb.base/setshow.exp: Ditto.
11898 * gdb.base/value-double-free.exp: Ditto.
11899 * gdb.base/watch-vfork.exp: Ditto.
11900 * gdb.base/watch_thread_num.exp: Ditto.
11901 * gdb.base/watchpoint-solib.exp: Ditto.
11902 * gdb.base/watchpoint.exp: Ditto.
11903 * gdb.base/watchpoints.exp: Ditto.
11904
11905 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11906 * gdb.cp/overload.exp: Ditto.
11907 * gdb.cp/virtfunc.exp: Ditto.
11908
11909 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11910
11911 * gdb.reverse/watch-precsave.exp:
11912 Replace gdb_test with gdb_test_no_output.
11913
11914 * gdb.threads/attach-into-signal.exp:
11915 Replace gdb_test with gdb_test_no_output.
11916 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11917 * gdb.threads/watchthreads.exp: Ditto.
11918 * gdb.threads/watchthreads2.exp: Ditto.
11919
11920 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11921 * gdb.trace/tfind.exp: Ditto.
11922
11923 2010-06-03 Joel Brobecker <brobecker@adacore.com>
11924
11925 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11926 successful test if message is the empty string.
11927
11928 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11929
11930 * gdb.fortran/module.exp (stopped language detection): New test.
11931
11932 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11933
11934 Support DW_TAG_module as separate namespaces.
11935 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11936 gdb.fortran/library-module-lib.f90: New.
11937 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11938 (print i): Remove.
11939 (continue to breakpoint: i-is-1, print var_i value 1)
11940 (continue to breakpoint: i-is-2, print var_i value 2)
11941 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11942 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11943 (complete `modmany, complete `modmany`, complete `modmany`var)
11944 (show language, setting breakpoint at module): New tests.
11945 * gdb.fortran/module.f90 (module mod): Remove.
11946 (module mod1, module mod2, module modmany, subroutine sub1)
11947 (subroutine sub2, program module): New.
11948
11949 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11950
11951 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11952 (print value of rUC, print value of rI, print value of UI): ... here.
11953 * gdb.cp/anon-union.exp (pass): Rename to ...
11954 (print z 2): ... here.
11955
11956 2010-06-02 Michael Snyder <msnyder@vmware.com>
11957
11958 * gdb.trace/actions.exp: Use gdb_test_no_output.
11959 * gdb.trace/circ.exp: Ditto.
11960 * gdb.trace/packetlen.exp: Ditto.
11961 * gdb.trace/save-trace.exp: Ditto.
11962 * gdb.trace/tracecmd.exp: Ditto.
11963 * gdb.trace/tsv.exp: Ditto.
11964
11965 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11966 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11967 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11968 * gdb.threads/manythreads.exp: Ditto.
11969 * gdb.threads/print-threads.exp: Ditto.
11970 * gdb.threads/pthreads.exp: Ditto.
11971 * gdb.threads/schedlock.exp: Ditto.
11972 * gdb.threads/staticthreads.exp: Ditto.
11973 * gdb.threads/thread-specific.exp: Ditto.
11974 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11975 * gdb.threads/threadapply.exp: Ditto.
11976 * gdb.threads/watchthreads.exp: Ditto.
11977 * gdb.threads/watchthreads2.exp: Ditto.
11978
11979 * gdb.python/py-block.exp: Use gdb_test_no_output.
11980 * gdb.python/py-prettyprint.exp: Ditto.
11981 * gdb.python/py-template.exp: Ditto.
11982 * gdb.python/py-value.exp: Ditto.
11983
11984 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11985 * gdb.reverse/watch-reverse.exp: Ditto.
11986
11987 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11988 * gdb.server/ext-run.exp: Ditto.
11989
11990 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11991 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11992 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11993 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11994 * gdb.dwarf2/dw2-producer.exp: Ditto.
11995 * gdb.dwarf2/mac-fileno.exp: Ditto.
11996
11997 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11998 * gdb.gdb/selftest.exp: Ditto.
11999
12000 * gdb.multi/base.exp: Use gdb_test_no_output.
12001
12002 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
12003
12004 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12005
12006 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
12007
12008 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
12009
12010 * gdb.cp/class2.exp: Use gdb_test_no_output.
12011 * gdb.cp/classes.exp: Ditto.
12012 * gdb.cp/extern-c.exp: Ditto.
12013 * gdb.cp/inherit.exp: Ditto.
12014 * gdb.cp/maint.exp: Ditto.
12015 * gdb.cp/mb-inline.exp: Ditto.
12016 * gdb.cp/mb-templates.exp: Ditto.
12017 * gdb.cp/method2.exp: Ditto.
12018 * gdb.cp/misc.exp: Ditto.
12019 * gdb.cp/ovldbreak.exp: Ditto.
12020 * gdb.cp/punctuator.exp: Ditto.
12021 * gdb.cp/templates.exp: Ditto.
12022 * gdb.cp/virtbase.exp: Ditto.
12023
12024 * gdb.threads/attach-stopped.exp:
12025 Replace uses of send_gdb / gdb_expect.
12026 * gdb.threads/attachstop-mt.exp:
12027 Replace uses of send_gdb / gdb_expect.
12028 * gdb.threads/gcore-thread.exp:
12029 Replace uses of send_gdb / gdb_expect.
12030 * gdb.threads/hand-call-in-threads.exp:
12031 Replace uses of send_gdb / gdb_expect.
12032 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
12033 * gdb.threads/print-threads.exp:
12034 Replace uses of send_gdb / gdb_expect.
12035 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
12036 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
12037 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
12038
12039 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
12040 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
12041 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
12042 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
12043 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
12044 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
12045 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
12046 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
12047 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
12048 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
12049 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
12050
12051 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12052
12053 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
12054
12055 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
12056
12057 * gdb.cp/koenig.exp: Added new test case.
12058 * gdb.cp/koenig.cc: Ditto.
12059
12060 2010-06-01 Michael Snyder <msnyder@vmware.com>
12061
12062 * gdb.base/arithmet.exp: Use gdb_test_no_output.
12063 * gdb.base/arrayidx.exp: Ditto.
12064 * gdb.base/attach.exp: Ditto.
12065 * gdb.base/auxv.exp: Ditto.
12066 * gdb.base/bigcre.exp: Ditto.
12067 * gdb.base/break-always.exp: Ditto.
12068 * gdb.base/break-interp.exp: Ditto.
12069 * gdb.base/break.exp: Ditto.
12070 * gdb.base/breakpoint-shadow.exp: Ditto.
12071 * gdb.base/call-ar-st.exp: Ditto.
12072 * gdb.base/call-sc.exp: Ditto.
12073 * gdb.base/call-signal-resume.exp: Ditto.
12074 * gdb.base/callfuncs.exp: Ditto.
12075 * gdb.base/catch-syscall.exp: Ditto.
12076 * gdb.base/charset.exp: Ditto.
12077 * gdb.base/code-expr.exp: Ditto.
12078 * gdb.base/commands.exp: Ditto.
12079 * gdb.base/cond-expr.exp: Ditto.
12080 * gdb.base/condbreak.exp: Ditto.
12081 * gdb.base/cursal.exp: Ditto.
12082 * gdb.base/cvexpr.exp: Ditto.
12083 * gdb.base/default.exp: Ditto.
12084 * gdb.base/del.exp: Ditto.
12085 * gdb.base/detach.exp: Ditto.
12086 * gdb.base/display.exp: Ditto.
12087 * gdb.base/ena-dis-br.exp: Ditto.
12088 * gdb.base/eval-skip.exp: Ditto.
12089 * gdb.base/foll-fork.exp: Ditto.
12090 * gdb.base/foll-vfork.exp: Ditto.
12091 * gdb.base/frame-args.exp: Ditto.
12092 * gdb.base/funcargs.exp: Ditto.
12093 * gdb.base/gcore-buffer-overflow.exp: Ditto.
12094 * gdb.base/gdbvars.exp: Ditto.
12095 * gdb.base/help.exp: Ditto.
12096 * gdb.base/ifelse.exp: Ditto.
12097 * gdb.base/included.exp: Ditto.
12098 * gdb.base/list.exp: Ditto.
12099 * gdb.base/macscp.exp: Ditto.
12100 * gdb.base/maint.exp: Ditto.
12101 * gdb.base/multi-fork.exp: Ditto.
12102 * gdb.base/overlays.exp: Ditto.
12103 * gdb.base/page.exp: Ditto.
12104 * gdb.base/pending.exp: Ditto.
12105 * gdb.base/pointers.exp: Ditto.
12106 * gdb.base/pr11022.exp: Ditto.
12107 * gdb.base/prelink.exp: Ditto.
12108 * gdb.base/printcmds.exp: Ditto.
12109 * gdb.base/psymtab.exp: Ditto.
12110 * gdb.base/randomize.exp: Ditto.
12111 * gdb.base/relational.exp: Ditto.
12112 * gdb.base/relocate.exp: Ditto.
12113 * gdb.base/remote.exp: Ditto.
12114 * gdb.base/sepdebug.exp: Ditto.
12115 * gdb.base/set-lang-auto.exp: Ditto.
12116 * gdb.base/setshow.exp: Ditto.
12117 * gdb.base/setvar.exp: Ditto.
12118 * gdb.base/signals.exp: Ditto.
12119 * gdb.base/signull.exp: Ditto.
12120 * gdb.base/sigstep.exp: Ditto.
12121 * gdb.base/sizeof.exp: Ditto.
12122 * gdb.base/solib-disc.exp: Ditto.
12123 * gdb.base/store.exp: Ditto.
12124 * gdb.base/structs.exp: Ditto.
12125 * gdb.base/structs2.exp: Ditto.
12126 * gdb.base/subst.exp: Ditto.
12127 * gdb.base/term.exp: Ditto.
12128 * gdb.base/trace-commands.exp: Ditto.
12129 * gdb.base/unwindonsignal.exp: Ditto.
12130 * gdb.base/valgrind-db-attach.exp: Ditto.
12131 * gdb.base/varargs.exp: Ditto.
12132 * gdb.base/watch-cond.exp: Ditto.
12133 * gdb.base/watch_thread_num.exp: Ditto.
12134 * gdb.base/watchpoint-cond-gone.exp: Ditto.
12135 * gdb.base/watchpoint.exp: Ditto.
12136 * gdb.base/whatis-exp.exp: Ditto.
12137
12138 2010-06-01 Michael Snyder <msnyder@vmware.com>
12139
12140 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
12141 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
12142 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
12143 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
12144 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
12145 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
12146 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
12147 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
12148 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
12149 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
12150 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
12151 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
12152 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
12153 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
12154 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
12155
12156 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12157
12158 * gdb.base/commands.exp (begin commands on watch): Remove excessive
12159 trailing newline.
12160 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
12161 * gdb.java/jmisc.exp (p *args\n): Rename to ...
12162 (p *args): ... here and remove excessive trailing newline.
12163
12164 2010-05-31 Joel Brobecker <brobecker@adacore.com>
12165
12166 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
12167
12168 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12169
12170 Accept the new Linux kernel "t (tracing stop)" string.
12171 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
12172 Update comment.
12173 (state_wait) <T (tracing stop)>: New.
12174 (main): Update the state_wait expect string.
12175
12176 2010-05-28 Pedro Alves <pedro@codesourcery.com>
12177
12178 * limits.c, limits.exp: Delete files.
12179 * Makefile.in (clean mostlyclean): Adjust.
12180 * tracecmd.exp: Adjust.
12181
12182 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12183
12184 * gdb.base/tui-layout.exp: New.
12185
12186 2010-05-28 Michael Snyder <msnyder@vmware.com>
12187
12188 * gdb.reverse/break-precsave.exp:
12189 Replace uses of send_gdb / gdb_expect.
12190 * gdb.reverse/break-reverse.exp:
12191 Replace uses of send_gdb / gdb_expect.
12192 * gdb.reverse/consecutive-precsave.exp:
12193 Replace uses of send_gdb / gdb_expect.
12194 * gdb.reverse/consecutive-reverse.exp:
12195 Replace uses of send_gdb / gdb_expect.
12196 * gdb.reverse/finish-precsave.exp:
12197 Replace uses of send_gdb / gdb_expect.
12198 * gdb.reverse/finish-reverse.exp:
12199 Replace uses of send_gdb / gdb_expect.
12200 * gdb.reverse/i386-precsave.exp:
12201 Replace uses of send_gdb / gdb_expect.
12202 * gdb.reverse/i386-reverse.exp:
12203 Replace uses of send_gdb / gdb_expect.
12204 * gdb.reverse/i386-sse-reverse.exp:
12205 Replace uses of send_gdb / gdb_expect.
12206 * gdb.reverse/i387-env-reverse.exp:
12207 Replace uses of send_gdb / gdb_expect.
12208 * gdb.reverse/i387-stack-reverse.exp:
12209 Replace uses of send_gdb / gdb_expect.
12210 * gdb.reverse/machinestate-precsave.exp:
12211 Replace uses of send_gdb / gdb_expect.
12212 * gdb.reverse/machinestate.exp:
12213 Replace uses of send_gdb / gdb_expect.
12214 * gdb.reverse/sigall-precsave.exp:
12215 Replace uses of send_gdb / gdb_expect.
12216 * gdb.reverse/sigall-reverse.exp:
12217 Replace uses of send_gdb / gdb_expect.
12218 * gdb.reverse/solib-precsave.exp:
12219 Replace uses of send_gdb / gdb_expect.
12220 * gdb.reverse/solib-reverse.exp:
12221 Replace uses of send_gdb / gdb_expect.
12222 * gdb.reverse/step-precsave.exp:
12223 Replace uses of send_gdb / gdb_expect.
12224 * gdb.reverse/step-reverse.exp:
12225 Replace uses of send_gdb / gdb_expect.
12226 * gdb.reverse/until-precsave.exp:
12227 Replace uses of send_gdb / gdb_expect.
12228 * gdb.reverse/until-reverse.exp:
12229 Replace uses of send_gdb / gdb_expect.
12230 * gdb.reverse/watch-precsave.exp:
12231 Replace uses of send_gdb / gdb_expect.
12232 * gdb.reverse/watch-reverse.exp:
12233 Replace uses of send_gdb / gdb_expect.
12234
12235 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12236
12237 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
12238 excessive newline.
12239
12240 2010-05-27 Michael Snyder <msnyder@vmware.com>
12241
12242 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
12243 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
12244 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
12245 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
12246 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
12247 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
12248 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
12249 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
12250 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
12251 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
12252 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
12253 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
12254 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
12255 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
12256 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
12257 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
12258 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
12259 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
12260 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
12261
12262 2010-05-26 Michael Snyder <msnyder@vmware.com>
12263
12264 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
12265 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
12266
12267 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
12268 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
12269 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
12270
12271 * gdb.reverse/consecutive-reverse.exp:
12272 Replace uses of send_gdb / gdb_expect.
12273 * gdb.reverse/consecutive-precsave.exp:
12274 Replace uses of send_gdb / gdb_expect.
12275
12276 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
12277 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
12278 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
12279 * gdb.mi/mi-ns-stale-regcache.exp:
12280 Replace uses of send_gdb / gdb_expect.
12281 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
12282 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
12283 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
12284 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
12285 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
12286 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
12287 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
12288 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
12289 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
12290
12291 2010-05-26 Michael Snyder <msnyder@vmware.com>
12292
12293 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
12294
12295 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
12296
12297 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
12298 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
12299 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
12300 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
12301 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
12302 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
12303 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
12304 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
12305 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
12306
12307 2010-05-25 Tom Tromey <tromey@redhat.com>
12308
12309 * gdb.base/macscp.exp: Add missing space after setup_kfail.
12310
12311 2010-05-25 Tom Tromey <tromey@redhat.com>
12312
12313 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
12314 argument order.
12315 * gdb.base/macscp.exp: Fix setup_kfail argument order.
12316 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
12317 order.
12318 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
12319 order.
12320 * gdb.base/call-sc.exp (setup_kfails): Remove.
12321 (setup_compiler_kfails): Remove.
12322 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
12323 argument order.
12324 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
12325 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
12326 (advancei): Fix setup_kfail argument order.
12327 * gdb.base/radix.exp: Fix setup_kfail argument order.
12328 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
12329 order.
12330 * gdb.base/structs.exp (setup_kfails): Remove.
12331 (setup_compiler_kfails): Fix setup_kfail argument order.
12332 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
12333 order.
12334 * gdb.java/jmain.exp: Fix setup_kfail argument order.
12335 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
12336 setup_kfail argument order.
12337 * gdb.cp/overload.exp: Fix setup_kfail argument order.
12338
12339 2010-05-25 Tom Tromey <tromey@redhat.com>
12340
12341 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
12342
12343 2010-05-25 Michael Snyder <msnyder@vmware.com>
12344
12345 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
12346 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
12347 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
12348 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
12349 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
12350 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
12351 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
12352 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
12353 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
12354 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
12355 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
12356 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
12357 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
12358 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
12359 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
12360 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
12361 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
12362 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
12363 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
12364 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
12365 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
12366 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
12367 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
12368 * gdb.base/default.exp: Replace send_gdb with gdb_test.
12369 * gdb.base/define.exp: Replace send_gdb with gdb_test.
12370 * gdb.base/display.exp: Replace send_gdb with gdb_test.
12371 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
12372 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
12373 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
12374 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
12375 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
12376 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
12377 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
12378 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
12379 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
12380 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
12381 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
12382 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
12383 * gdb.base/help.exp: Replace send_gdb with gdb_test.
12384 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
12385 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
12386 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
12387 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
12388 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
12389 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
12390 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
12391 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
12392 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
12393
12394 2010-05-25 Doug Evans <dje@google.com>
12395
12396 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
12397 gdb.string_to_argv.
12398
12399 2010-05-21 Tom Tromey <tromey@redhat.com>
12400
12401 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
12402 Call it.
12403 * gdb.dwarf2/pieces.S: Update.
12404 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
12405
12406 2010-05-21 Tom Tromey <tromey@redhat.com>
12407
12408 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
12409 Call it.
12410 * gdb.dwarf2/pieces.c (struct C): New.
12411 (f6): New function.
12412 * gdb.dwarf2/pieces.S: Replace.
12413
12414 2010-05-21 Tom Tromey <tromey@redhat.com>
12415
12416 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
12417 Call it.
12418
12419 2010-05-21 Tom Tromey <tromey@redhat.com>
12420
12421 * gdb.dwarf2.pieces.exp: New file.
12422 * gdb.dwarf2.pieces.S: New file.
12423 * gdb.dwarf2.pieces.c: New file.
12424
12425 2010-05-20 Pedro Alves <pedro@codesourcery.com>
12426 Joel Brobecker <brobecker@adacore.com>
12427
12428 * lib/gdb.exp (gdb_test_no_output): New function.
12429 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
12430 when testing commands that should produce no output.
12431
12432 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12433
12434 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
12435 parameter that we want to watch being a constant.
12436
12437 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12438
12439 * gdb.ada/cond_lang: New testcase.
12440
12441 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12442
12443 * lib/gdb.exp (banned_variables): New variable/constant.
12444 (gdb_init): Add write trace on variables listed in banned_variables.
12445 (gdb_finish): Remove write traces on variables listed in
12446 banned_variables.
12447
12448 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12449
12450 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
12451 * gdb.cp/koenig.exp: Likewise.
12452
12453 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
12454
12455 PR python/11482
12456
12457 * gdb.python/py-value.exp (test_value_hash): New function.
12458
12459 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
12460
12461 PR exp/11530.
12462 * gdb.base/gdb11530.c: New file.
12463 * gdb.base/gdb11530.exp: New file.
12464
12465 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12466
12467 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
12468 * gdb.dwarf2/dw2-modula2-self-type.S: New.
12469
12470 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
12471
12472 * gdb.cp/koenig.exp: New test.
12473 * gdb.cp/koenig.cc: New test program.
12474
12475 2010-05-05 Joel Brobecker <brobecker@adacore.com>
12476
12477 Remove the use of prms_id and bug_id throughout the testsuite.
12478
12479 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12480
12481 PR exp/11349.
12482 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12483 use a reference local variable.
12484
12485 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12486
12487 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12488 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12489 variable different_dir. Move debugfile into a full directory pathname
12490 under DIFFERENT_DIR.
12491 * lib/gdb.exp (separate_debug_filename): Remove.
12492 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12493 variable debug_dir and mkdir of it. Update function comments.
12494
12495 2010-04-29 Pedro Alves <pedro@codesourcery.com>
12496
12497 PR gdb/11557
12498
12499 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12500 files.
12501
12502 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12503
12504 * gdb.python/py-param.exp: New File.
12505
12506 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12507
12508 * gdb.base/default.exp: Fix "set language" test.
12509
12510 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12511
12512 PR breakpoints/11531.
12513 * gdb.base/gdb11531.c: New file.
12514 * gdb.base/gdb11531.exp: New file.
12515
12516 2010-04-26 Tom Tromey <tromey@redhat.com>
12517
12518 * gdb.base/completion.exp: Add tests for completion and deprecated
12519 commands.
12520
12521 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12522
12523 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12524 (print /x char_array): Escape curly brackets.
12525
12526 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12527
12528 Fix deadlock on looped list of loaded shared objects.
12529 * gdb.base/solib-corrupted.exp: New.
12530
12531 2010-04-23 Doug Evans <dje@google.com>
12532
12533 * gdb.python/py-section-script.c: New file.
12534 * gdb.python/py-section-script.exp: New file.
12535 * gdb.python/py-section-script.py: New file.
12536
12537 2010-04-20 Chris Moller <cmoller@redhat.com>
12538
12539 PR 10179
12540
12541 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12542 * gdb.base/pr10179-a.c:
12543 * gdb.base/pr10179-b.c:
12544 * gdb.base/pr10179.exp: New files.
12545
12546 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12547
12548 Fix crashes on dangling display expressions.
12549 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12550 is SEP.
12551 (lib_flags): Remove the "debug" keyword.
12552 (libsepdebug): New variable for iterating new loop.
12553 (save_pf_prefix): New variable wrapping the loop.
12554 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12555 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12556
12557 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12558
12559 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12560
12561 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12562
12563 PR stabs/11479.
12564 * gdb.stabs/gdb11479.exp: New file.
12565 * gdb.stabs/gdb11479.c: New file.
12566
12567 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12568
12569 * gdb.base/charset.c (Strin16, String32): New variables.
12570 * gdb.base/charset.exp (gdb_test): Test correct display
12571 of 16 or 32 bit strings.
12572
12573 2010-04-21 Chris Moller <cmoller@redhat.com>
12574
12575 PR 9167
12576 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12577 * gdb.cp/pr9167.cc: New file.
12578 * gdb.cp/pr9167.exp: New file.
12579
12580
12581 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12582
12583 PR pascal/11492.
12584 * gdb.pascal/gdb11492.pas: New file.
12585 * gdb.pascal/gdb11492.exp: New file.
12586
12587 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12588
12589 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
12590
12591 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12592
12593 * gdb.ada/dyn_loc: New testcase.
12594
12595 2010-04-20 Chris Moller <cmoller@redhat.com>
12596
12597 PR 10867
12598
12599 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12600 * gdb.cp/pr10687.cc: New file.
12601 * gdb.cp/pr10687.exp: New file.
12602
12603
12604 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12605 Sergio Durigan Junior <sergiodj@redhat.com>
12606
12607 * gdb.fortran/logical.exp: New testcase.
12608 * gdb.fortran/logical.f90: New file.
12609
12610 2010-04-19 Doug Evans <dje@google.com>
12611
12612 * gdb.base/help.exp (help source): Update expected output.
12613
12614 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12615
12616 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12617 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12618 gdb_exit and return.
12619 (executable): New variable.
12620 (binfile): Use it.
12621
12622 2010-04-19 Pedro Alves <pedro@codesourcery.com>
12623
12624 PR breakpoints/8554.
12625
12626 * gdb.trace/save-trace.exp: Adjust.
12627
12628 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12629
12630 PR corefiles/11511
12631 * gdb.arch/system-gcore.exp: New.
12632 * gdb.arch/gcore.c: Likewise.
12633
12634 2010-04-15 Doug Evans <dje@google.com>
12635
12636 * gdb.python/py-progspace.c: New file.
12637 * gdb.python/py-progspace.exp: New file.
12638
12639 * gdb.base/source.exp: Add tests for "source -s".
12640
12641 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12642
12643 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12644 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12645 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12646 * gdb.python/py-mi.exp: New test for to_string returning None.
12647
12648 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12649
12650 * gdb.python/py-breakpoint.c: Make result global.
12651
12652 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12653
12654 Fix non-GNU make compatibility.
12655 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12656
12657 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12658
12659 * gdb.python/py-breakpoint.exp: New File.
12660 * gdb.python/py-breakpoint.C: Ditto.
12661
12662 2010-04-08 Stan Shebs <stan@codesourcery.com>
12663
12664 * gdb.trace/actions.exp: Clear default-collect.
12665 * gdb.trace/save-trace.exp: Clear default-collect.
12666
12667 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12668
12669 * gdb.python/py-value: Add null string variable.
12670 (test_lazy_string): Test zero length, NULL address lazy
12671 strings.
12672
12673 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 * gdb.arch/i386-avx.c: New.
12676 * gdb.arch/i386-avx.exp: Likewise.
12677
12678 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12679
12680 2010-04-06 Doug Evans <dje@google.com>
12681
12682 * gdb.base/source-test.gdb: New file.
12683 * gdb.base/source.exp: Test source -v.
12684
12685 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12686
12687 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12688
12689 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12690
12691 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12692 within one line, unless it is followed by a double quote.
12693 * gdb.stabs/hppa.sed: Idem.
12694 * gdb.stabs/weird.def: Add char and String constants
12695 * gdb.stabs/weird.exp: Check for correct parsing of
12696 char and string constants.
12697 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12698 in .stabs to .stabx substitution.
12699
12700 2010-04-05 Stan Shebs <stan@codesourcery.com>
12701
12702 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12703 constant global.
12704 * gdb.trace/tfile.exp: Try to print them.
12705
12706 2010-04-04 Stan Shebs <stan@codesourcery.com>
12707
12708 * gdb.base/completion.exp: Update for new "info watchpoints".
12709 * gdb.base/default.exp: Ditto.
12710 * gdb.base/help.exp: Ditto.
12711 * gdb.base/watchpoint.exp: Ditto.
12712 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
12713
12714 2010-04-04 Stan Shebs <stan@codesourcery.com>
12715
12716 * gdb.trace/tfile.exp: Sharpen tfind test.
12717
12718 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12719
12720 * gdb.base/break-entry.exp: New.
12721
12722 2010-04-02 Hui Zhu <teawater@gmail.com>
12723 Michael Snyder <msnyder@vmware.com>
12724
12725 * gdb.reverse/i386-sse-reverse.exp: New file.
12726 * gdb.reverse/i386-sse-reverse.c: New file.
12727
12728 2010-04-02 Pedro Alves <pedro@codesourcery.com>
12729
12730 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12731
12732 2010-04-01 Stan Shebs <stan@codesourcery.com>
12733
12734 * gdb.trace/actions.exp: Tweak expected output.
12735 * gdb.trace/while-stepping.exp: Tweak expected output.
12736
12737 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12738
12739 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12740
12741 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12742
12743 * gdb.base/commands.exp: Adjust.
12744 * gdb.cp/extern-c.exp: Adjust.
12745
12746 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12747
12748 * gdb.trace/collection.c (local_test_func): Define a local struct,
12749 and instanciate it.
12750
12751 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12752
12753 * gdb.trace/collection.exp (gdb_collect_args_test)
12754 (gdb_collect_argarray_test): XFAIL the tests that assume the
12755 argarray argument's elements are collected.
12756
12757 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12758
12759 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12760 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12761
12762 2010-03-31 Stan Shebs <stan@codesourcery.com>
12763
12764 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12765 and tracepoint conditionals.
12766 (gdb_verify_tracepoints): Delete unused return.
12767
12768 2010-03-26 Keith Seitz <keiths@redhat.com>
12769
12770 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12771 appear in the output before main.
12772 Remove KFAIL for gdb/2215 aka bz 9320.
12773
12774 2010-03-30 Doug Evans <dje@google.com>
12775
12776 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12777 by dejagnu.
12778 * gdb.arch/amd64-dword.exp: Ditto.
12779
12780 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12781 match.
12782 (break printf): Ditto.
12783
12784 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12785
12786 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12787 gcc < 4.4.
12788 * gdb.cp/shadow.exp: Ditto.
12789
12790 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12791
12792 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12793 "tstart" is silent.
12794
12795 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12796
12797 * gdb.trace/collection.exp (executable): New.
12798 (binfile): Use it.
12799 (fpreg, spreg, pcreg): New.
12800 (test_register): Use gdb_test_multiple. Pass /x to print.
12801 (prepare_for_trace_test): New.
12802 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12803 (gdb_collect_args_test, gdb_collect_argstruct_test)
12804 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12805 prepare_for_trace_test.
12806 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12807 fpreg, spreg and pcreg.
12808 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12809 prepare_for_trace_test.
12810 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12811 try to detect tracing support here. Don't set breakpoints at
12812 `begin' or `end' here.
12813 <global scope>: Use clean_restart. Run to main before checking
12814 for tracing support. Check for for tracing support here.
12815
12816 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12817
12818 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12819 " as $displacement" to "seen displacement message".
12820
12821 2010-03-28 Pedro Alves <pedro@codesourcery.com>
12822
12823 * gdb.trace/while-dyn.exp (executable): New variable.
12824 (binfile): Use it.
12825 (test_while_stepping): New function. Move most tests here. Call
12826 it once for each of the while-stepping, stepping and ws aliases.
12827
12828 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12829
12830 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12831 that do not provide the tagless_struct type name at all.
12832 (test_print_anon_union): Do not check value of uninitialized
12833 union member. Do not use cp_test_ptype_class, so we can accept
12834 "long" as well as "long int".
12835
12836 2010-03-26 Pedro Alves <pedro@codesourcery.com>
12837
12838 * gdb.trace/tfile.c (tohex, bin2hex): New.
12839 (write_error_trace_file): Hexify error description.
12840
12841 2010-03-25 Stan Shebs <stan@codesourcery.com>
12842
12843 * gdb.trace/tfile.c: Generate an additional trace file, improve
12844 portability.
12845 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12846 files in a better way.
12847
12848 2010-03-25 Keith Seitz <keiths@redhat.com>
12849
12850 * gdb.java/jprint.exp: XFAIL printing of static class members
12851 because of GCC debuginfo problem.
12852
12853 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12854
12855 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12856
12857 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12858
12859 * gdb.base/completion.exp: Allow long instead of long int.
12860 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12861 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12862 variable p.
12863 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12864 * gdb.base/pointers.exp: Allow long instead of long int.
12865 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12866 * gdb.base/step-line.exp: Allow a directory before the source file name.
12867
12868 2010-03-24 Tom Tromey <tromey@redhat.com>
12869
12870 PR breakpoints/9352:
12871 * gdb.base/default.exp: Update.
12872 * gdb.base/commands.exp: Update.
12873 * gdb.cp/extern-c.exp: Test setting commands on multiple
12874 breakpoints at once.
12875
12876 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12877
12878 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12879 if gdb,nosignals.
12880 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12881 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12882 exited".
12883
12884 2010-03-24 Stan Shebs <stan@codesourcery.com>
12885
12886 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12887
12888 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12889
12890 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12891 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12892 argument. Handle "short" and "long".
12893 (Top level): Pass overprototyped output for old_fptr and xptr.
12894
12895 2010-03-23 Pedro Alves <pedro@codesourcery.com>
12896
12897 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12898 format strings and add casts to avoid compiler warnings.
12899
12900 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12901
12902 * lib/trace-support.exp (gdb_trace_setactions):
12903 Don't expect whitespace after ">" prompt.
12904 * gdb.trace/actions.exp: Adjust for output changes.
12905 * gdb.trace/while-stepping.exp: Likewise.
12906
12907 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12908
12909 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12910 and r157645).
12911
12912 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12913
12914 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12915 New.
12916
12917 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12918
12919 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12920 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12921
12922 2010-03-19 Stan Shebs <stan@codesourcery.com>
12923
12924 * gdb.trace/ax.exp: New file.
12925
12926 2010-03-19 Doug Evans <dje@google.com>
12927
12928 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12929 output from gcc.
12930
12931 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12932 named /usr/sbin/prelink<foo>.
12933
12934 2010-03-18 Stan Shebs <stan@codesourcery.com>
12935
12936 * gdb.trace/circ.exp: Test circular-trace-buffer.
12937 * gdb.trace/tfile.exp: Update tstatus test.
12938
12939 2010-03-18 Joel Brobecker <brobecker@adacore.com>
12940
12941 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12942 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12943
12944 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12945
12946 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12947
12948 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12949
12950 * gdb.base/default.exp: Adjust the expected output of the finish
12951 and until commands when the inferior is not being run.
12952
12953 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12954
12955 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12956 * gdb.cp/nsusing.exp: Ditto.
12957
12958 2010-03-15 Tom Tromey <tromey@redhat.com>
12959
12960 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12961 * gdb.cp/userdef.cc (operator==): New function.
12962 (main): New locals mem1, mem2.
12963
12964 2010-03-15 Jie Zhang <jie@codesourcery.com>
12965
12966 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12967 Declare and use new loadtimeout variable.
12968
12969 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12970
12971 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12972 Use gdb_load later.
12973
12974 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12975
12976 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12977 literal. Add missing endlines to prints to stderr.
12978
12979 2010-03-12 Tom Tromey <tromey@redhat.com>
12980
12981 PR c++/9708:
12982 * gdb.cp/m-static.exp: Add regression test.
12983 * gdb.cp/m-static.cc (method): New method.
12984 (main): Call it.
12985
12986 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12987
12988 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12989 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12990
12991 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12992
12993 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12994
12995 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12996
12997 * lib/gdb.exp (skip_stl_tests): New.
12998 (gdb_compile): Symbian needs -ldl.
12999 (shlib_target_file): New.
13000 (shlib_symbol_file): New.
13001 (gdb_load_shlibs): Use shlib_target_file.
13002 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
13003 * gdb.cp/exception.exp: Use skip_stl_tests.
13004 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
13005 * gdb.cp/try_catch.exp: Use skip_stl_tests.
13006 * gdb.cp/mb-templates.exp: Ditto.
13007 * gdb.base/commands.exp: Relax regexes.
13008 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
13009 shlib_target_file and shlib_symbol_file.
13010 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
13011 sections.
13012 * gdb.base/ending-run.exp: Accept E32Main for symbian.
13013 * gdb.base/solib-disc.exp: Use
13014 shlib_target_file and shlib_symbol_file.
13015 * gdb.base/unload.exp: Don't skip on symbian. Use
13016 shlib_target_file and shlib_symbol_file.
13017 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
13018
13019 2010-03-12 Pedro Alves <pedro@codesourcery.com>
13020
13021 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
13022 * gdb.trace/report.exp: Adjust for x86 and x86_64.
13023 Issue a tfind end before looking for a tracepoint frame.
13024 * gdb.trace/tfind.exp: Adjust tstatus output.
13025 Adjust disassembly output.
13026 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
13027
13028 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13029
13030 * gdb.base/break-interp.exp: Create new displacement parameter value
13031 for the test_ld calls.
13032 (reach): New parameter displacement, verify its content. New push of
13033 pf_prefix "reach-$func:". Import global expect_out.
13034 (test_core): New parameter displacement, verify its content. New push
13035 of pf_prefix "core:". New command "set verbose on". Import global
13036 expect_out.
13037 (test_attach): New parameter displacement, verify its content. New
13038 push of pf_prefix "attach:". New command "set verbose on". Import
13039 global expect_out.
13040 (test_ld): New parameter displacement, pass it to the reach, test_core
13041 and test_attach calls and verify its content in the "ld.so exit" test.
13042 * gdb.base/prelink.exp: Remove gdb_exit and final return.
13043 (prelink): Update expected text, use gdb_test.
13044
13045 2010-03-10 Doug Evans <dje@google.com>
13046
13047 * gdb.base/checkpoint.exp: Fix comment.
13048 Lengthen timeout while doing >600 checkpoints test.
13049 Rename duplicate "kill all one" test to keep test names unique.
13050
13051 2010-03-10 Pedro Alves <pedro@codesourcery.com>
13052
13053 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
13054
13055 2010-03-08 Keith Seitz <keiths@redhat.com>
13056
13057 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
13058 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
13059 (dm_type_long): New function.
13060 (dm_type_unsigned_short): New function.
13061 (dm_type_unsigned_long): New function.
13062 (myint): New typedef.
13063 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
13064 long, unsigned shor and long, operator char*, and typedef.
13065 (test_lookup_operator_functions): Add operator char* test.
13066 (test_paddr_operator_functions): Likewise.
13067 (test_paddr_overloaded_functions): Use probe values for
13068 short, long, and unsigned short and long.
13069 (test_paddr_hairy_functions): If the demangler probe detected
13070 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
13071 demangler.
13072 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
13073 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
13074 and "print null_pmf".
13075 Add test "ptype a.*pmf".
13076 * gdb.cp/overload.exp: Allow optional "int" to appear with
13077 "short" and "long".
13078 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
13079 long expect value for men_overload1arg.
13080 Allow "int" to appear with "short" and "long".
13081 When testing "info break", add argument for main (void).
13082 Also allow "int" to appear with "short" and "long".
13083 Ditto with "unsigned" and "long long".
13084 * gdb.java/jmain.exp: Do not enclose methods names in single
13085 quotes.
13086 * gdb.java/jmisc.exp: Likewise.
13087 * gdb.java/jprint.exp: Likewise.
13088 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
13089
13090 From Jan Kratochvil <jan.kratochvil@redhat.com>:
13091 * gdb.cp/exception.exp (backtrace after first throw)
13092 (backtrace after second throw): Allow a namespace before __cxa_throw.
13093 (backtrace after first catch, backtrace after second catch): Allow
13094 a namespace before __cxa_begin_catch.
13095
13096 * gdb.cp/cpexprs.exp: New file.
13097 * gdb.cp/cpexprs.cc: New file.
13098
13099 From Daniel Jacobowitz <dan@codesourcery.com>
13100 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
13101 to use string_to_regexp.
13102 (ctor, dtor): New functions. Use them to match constructor
13103 and destructor function types.
13104 (Top level): Use runto_main.
13105
13106 2010-03-05 Tom Tromey <tromey@redhat.com>
13107
13108 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
13109 gdb.target_charset.
13110 (pp_ns.to_string): Likewise.
13111
13112 2010-03-04 Keith Seitz <keiths@redhat.com>
13113
13114 * gdb.cp/overload.exp: Test that the filename portion of a linespec
13115 can be quoted. Test that both the filename and function/line
13116 portions can be quoted at the same time.
13117
13118 2010-03-04 Pedro Alves <pedro@codesourcery.com>
13119
13120 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
13121
13122 2010-03-03 Doug Evans <dje@google.com>
13123
13124 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
13125 libc contains libpthread.
13126
13127 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
13128 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
13129 of gdb_compile. Add another pattern to match android backtrace.
13130
13131 2010-03-03 Tom Tromey <tromey@redhat.com>
13132
13133 PR gdb/11345:
13134 * gdb.base/printcmds.exp (test_printf): Add test.
13135
13136 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
13137
13138 * gdb.arch/amd64-byte.exp: New.
13139 * gdb.arch/amd64-dword.exp: Likewise.
13140 * gdb.arch/amd64-pseudo.c: Likewise.
13141 * gdb.arch/amd64-word.exp: Likewise.
13142 * gdb.arch/i386-byte.exp: Likewise.
13143 * gdb.arch/i386-pseudo.c: Likewise.
13144 * gdb.arch/i386-word.exp: Likewise.
13145
13146 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13147
13148 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
13149 types. Add structreg, bitfields, and flags registers.
13150 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
13151 registers.
13152
13153 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
13154
13155 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
13156 (load_description): Set architecture if defined.
13157
13158 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
13159
13160 * gdb.python/py-frame.exp: Add read_var block tests.
13161 * gdb.python/py-frame.c (block): New function.
13162
13163 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13164 Daniel Jacobowitz <dan@codesourcery.com>
13165
13166 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
13167
13168 2010-02-25 David S. Miller <davem@davemloft.net>
13169
13170 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
13171 fix logic for setting all_syscalls_numbers.
13172
13173 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13174
13175 * Makefile.in: Add py-block and py-symbol.
13176 * gdb.python/py-symbol.exp: New File.
13177 * gdb.python/py-symtab.exp: New File.
13178 * gdb.python/py-block.exp: New File.
13179 * gdb.python/py-symbol.c: New File.
13180 * gdb.python/py-block.c: New File.
13181
13182 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13183
13184 PR python/11314
13185 * lib/gdb.exp (skip_python_tests): New function.
13186 * gdb.python/py-cmd.exp: Use skip_python_tests.
13187 * gdb.python/py-frame.exp: Likewise.
13188 * gdb.python/py-function.exp: Likewise.
13189 * gdb.python/py-prettyprint.exp: Likewise.
13190 * gdb.python/py-template.exp: Likewise.
13191 * gdb.python/py-type.exp: Likewise.
13192 * gdb.python/py-value.exp: Likewise.
13193
13194 2010-02-22 Pedro Alves <pedro@codesourcery.com>
13195
13196 PR9605
13197
13198 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
13199
13200 2010-02-19 Tom Tromey <tromey@redhat.com>
13201
13202 PR c++/8693, PR c++/9496:
13203 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
13204 regression tests.
13205
13206 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13207
13208 Fix compatibility with m68k as.
13209 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
13210 Use only /* comments */.
13211
13212 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13213
13214 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
13215 * configure: Regenerate.
13216
13217 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
13218
13219 * gdb.python/py-type.exp: Check for Python support.
13220
13221 2010-02-17 Pedro Alves <pedro@codesourcery.com>
13222
13223 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
13224 `regsub' syntax available.
13225
13226 2010-02-17 Pedro Alves <pedro@codesourcery.com>
13227
13228 * gdb.base/shmain.c (main): Remove printf call.
13229 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
13230 * gdb.base/unload.c (main): Make format of fprintf a string
13231 literal. Add missing endlines to prints to stderr.
13232 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
13233
13234 2010-02-17 Tom Tromey <tromey@redhat.com>
13235
13236 * gdb.java/jprint.java (jprint.props): New field.
13237 * gdb.java/jprint.exp (set_lang_java): Add regression test.
13238
13239 2010-02-17 Pedro Alves <pedro@codesourcery.com>
13240
13241 * gdb.base/charset.exp: Don't assume new `regsub' syntax
13242 available.
13243
13244 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13245
13246 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
13247 creation to support remote host testing.
13248
13249 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13250
13251 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
13252 Recognize "command not found".
13253
13254 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13255
13256 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
13257 single-stepping.
13258
13259 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13260
13261 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
13262 if arguments are not supported.
13263
13264 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13265
13266 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
13267 be const or non-const.
13268
13269 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13270
13271 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
13272 mi_send_resuming_command to send -exec-continue.
13273
13274 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13275
13276 * gdb.base/list.exp (test_list_filename_and_function): Add test
13277 with single quotes.
13278 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
13279 matching.
13280 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
13281 Add KFAIL'd tests for PR gdb/11289.
13282
13283 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13284
13285 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
13286
13287 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13288
13289 * gdb.base/comp-dir/subdir/dummy.txt: New file.
13290 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
13291 a temporary directory.
13292
13293 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13294
13295 * gdb.base/charset.exp: Use a single regular expression to match
13296 show host-charset and show target-charset output.
13297
13298 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13299
13300 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
13301 "Illegal process-id" expect string more exact.
13302 (attach to digits-starting nonsense is prohibited): New.
13303
13304 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13305
13306 * gdb.base/prelink.exp (set verbose on): New.
13307
13308 2010-02-12 Tomas Holmberg <th@virtutech.com>
13309
13310 * mi-reverse.exp: New file. Test for reverse option to the
13311 following MI commands: exec-continue, exec-finish, exec-next,
13312 exec-step, exec-next-instruction, exec-step-instruction.
13313
13314 2010-02-09 Joel Brobecker <brobecker@adacore.com>
13315
13316 * gdb.ada/ptype_tagged_param: New testcase.
13317
13318 2010-02-08 Tom Tromey <tromey@redhat.com>
13319
13320 PR c++/8017:
13321 * gdb.cp/overload.exp: Add tests.
13322 * gdb.cp/overload.cc (struct K): New.
13323 (namespace N): New.
13324 (main): Call new functions.
13325 (K::staticoverload): Define.
13326
13327 2010-02-08 Chris Moller <moller@mollerware.com>
13328
13329 PR gdb/10728
13330 * gdb.cp/pr10728-x.h: New file.
13331 * gdb.cp/pr10728-x.cc: New file.
13332 * gdb.cp/pr10728-y.cc: New file.
13333 * gdb.cp/pr10728.exp: New file.
13334 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
13335
13336 2010-02-08 Chris Moller <moller@mollerware.com>
13337
13338 PR gdb/9067
13339 * gdb.cp/pr9067.exp: New
13340 * gdb.cp/pr9067.cc: New
13341 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
13342
13343 2010-02-08 Joel Brobecker <brobecker@adacore.com>
13344
13345 * lib/gdb.exp (gdb_test_timeout): New global variable.
13346 Set it to timeout if not already set.
13347 (gdb_init): Reset the value of timeout to gdb_test_timeout.
13348
13349 2010-02-05 Doug Evans <dje@google.com>
13350
13351 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
13352 user.
13353
13354 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
13355
13356 PR c++/7935:
13357 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
13358
13359 2010-02-04 Tom Tromey <tromey@redhat.com>
13360
13361 * gdb.cp/virtbase.exp: Make test case names unique.
13362
13363 2010-02-02 Tom Tromey <tromey@redhat.com>
13364
13365 * gdb.cp/virtbase.exp: Add regression tests.
13366 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
13367 (main): Instantiate RHC.
13368
13369 2010-02-02 Tom Tromey <tromey@redhat.com>
13370
13371 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
13372 type-printing change.
13373
13374 2010-02-02 Tom Tromey <tromey@redhat.com>
13375
13376 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
13377 * gdb.cp/virtbase.cc: New file.
13378 * gdb.cp/virtbase.exp: New file.
13379 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
13380
13381 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13382
13383 PR libc/11214:
13384 * gdb.threads/current-lwp-dead.c: Include features.h.
13385 (HAS_NOMMU): New.
13386 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
13387
13388 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13389
13390 * gdb.base/symbol-without-target_section.exp,
13391 gdb.base/symbol-without-target_section.c: New.
13392
13393 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13394
13395 * gdb.base/bigcore.exp: Reset increased timeout.
13396 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
13397
13398 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13399
13400 * gdb.base/gcore.exp (capture_command_output): Use
13401 gdb_test_multiple.
13402
13403 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13404
13405 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
13406 * gdb.arch/thumb2-it.exp (test_it_break): New function.
13407 (Top level): Call it.
13408
13409 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13410
13411 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
13412
13413 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13414
13415 * gdb.base/call-strs.exp, gdb.base/default.exp,
13416 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
13417 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
13418 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
13419 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
13420 gdb.base/watchpoint-solib.exp: Save and restore timeout.
13421 * gdb.base/ending-run.exp: Correct restore of timeout.
13422 * gdb.base/page.exp: Remove unnecessary timeout setting.
13423
13424 2010-01-29 Joel Brobecker <brobecker@adacore.com>
13425
13426 * gdb.ada/rec_return: New testcase.
13427
13428 2010-01-29 Joel Brobecker <brobecker@adacore.com>
13429
13430 * gdb.ada/call_pn: New testcase.
13431
13432 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13433
13434 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
13435 (Top level): Use it to resume.
13436 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
13437 the Thumb mode displaced stepping error as unsupported.
13438
13439 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
13440
13441 * gdb.cp/nsusing.exp: Added more tests.
13442 * gdb.cp/nsrecurs.exp: Ditto.
13443 * gdb.cp/nsusing.cc: Added test functions.
13444 * gdb.cp/nsrecurs.cc: Ditto.
13445
13446 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13447
13448 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
13449 absolute directory pathnames in gdb.sum file.
13450
13451 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
13452
13453 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
13454 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
13455
13456 2010-01-26 Tom Tromey <tromey@redhat.com>
13457
13458 PR exp/7643:
13459 * gdb.base/printcmds.exp (test_print_string_constants): Remove
13460 setup_kfail.
13461
13462 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
13463
13464 * gdb.cp/nsrecurs.exp: New test.
13465 * gdb.cp/nsrecurs.cc: New test program.
13466 * gdb.cp/nsstress.exp: New test.
13467 * gdb.cp/nsstress.cc: New test program.
13468 * gdb.cp/nsdecl.exp: New test.
13469 * gdb.cp/nsdecl.cc: New test program.
13470
13471 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
13472
13473 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
13474 imported into file scope.
13475 Marked test as xfail.
13476 * gdb.cp/namespace-using.cc (marker5): New function.
13477 * gdb.cp/shadow.exp: New test.
13478 * gdb.cp/shadow.cc: New test program.
13479 * gdb.cp/nsimport.exp: New test.
13480 * gdb.cp/nsimport.cc: New test program.
13481
13482 2010-01-25 Tom Tromey <tromey@redhat.com>
13483
13484 PR gdb/11049:
13485 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13486 with "set print null-stop on".
13487
13488 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13489
13490 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13491 Adjust it for DISASSEMBLY_OMIT_FNAME.
13492
13493 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13494
13495 PR symtab/11199:
13496 * gdb.dwarf2/member-ptr-forwardref.exp,
13497 gdb.dwarf2/member-ptr-forwardref.S: New.
13498
13499 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13500
13501 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13502 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13503 thread1_tid_mutex. Remove gdbstop_mutex handling.
13504 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13505 thread2_tid_mutex. Remove gdbstop_mutex handling.
13506 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13507 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13508 pthread_cond_wait conditionalizations by while loops.
13509
13510 2010-01-20 Tom Tromey <tromey@redhat.com>
13511
13512 PR backtrace/10770:
13513 * gdb.dwarf2/pr10770.exp: New file.
13514 * gdb.dwarf2/pr10770.c: New file.
13515 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13516
13517 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13518
13519 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13520 that target was removed, and the test always runs native anyway.
13521
13522 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13523
13524 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13525 gdb.base/watchpoint-cond-gone-stripped.c: New.
13526
13527 2010-01-19 Tom Tromey <tromey@redhat.com>
13528
13529 PR c++/8000:
13530 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13531 existing tests.
13532 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13533 (main): Use AAA::SomeEnum.
13534
13535 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13536
13537 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13538 (test_ignore_count): Declare line_callme_body global.
13539 (run to breakpoint with ignore count): Use line_callme_body.
13540 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13541 (set line_main_hello, set line_main_return): Reindent.
13542 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13543 New.
13544 (continue to callee4): Use line_callee4_body.
13545 (check *stopped from CLI command): Use line_callee4_next.
13546 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13547 (set line_main_hello, set line_main_return): Reindent.
13548 (set line_callee4_head, set line_callee4_body): New.
13549 (continue to callee4): Use line_callee4_body.
13550
13551 2010-01-18 Tom Tromey <tromey@redhat.com>
13552
13553 PR c++/9680:
13554 * gdb.cp/casts.cc: Add new classes and variables.
13555 * gdb.cp/casts.exp: Test new operators.
13556
13557 2010-01-18 Tom Tromey <tromey@redhat.com>
13558 Thiago Jung Bauermann <bauerman@br.ibm.com>
13559
13560 * gdb.python/source2.py: New file.
13561 * gdb.python/source1: New file.
13562 * gdb.python/python.exp: Test "source" command.
13563
13564 2010-01-15 Stan Shebs <stan@codesourcery.com>
13565
13566 * gdb.trace/tfile.c: New file.
13567 * gdb.trace/tfile.exp: New file.
13568
13569 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13570
13571 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13572
13573 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13574
13575 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13576
13577 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13578
13579 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13580 (libfunc): New parameter action. Implement also selectable "sleep".
13581 * gdb.base/break-interp-main.c: Include assert.h.
13582 (libfunc): New parameter action.
13583 (main): New parameters argc and argv. Assert argc. Pass argv.
13584 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13585 (test_attach): New proc.
13586 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13587 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13588
13589 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13590
13591 * gdb.base/break-interp.exp (test_core): New proc.
13592 (test_ld): Call it.
13593
13594 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13595
13596 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13597 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13598 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13599 and gdb_compile_shlib. Use new -Wl compiler options.
13600 (dl bt, main bt): New tests.
13601
13602 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13603
13604 Support PIEs with no symfile_objfile.
13605 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13606 (test_ld): New parameter trynosym.
13607 (test_ld <$trynosym>): New block.
13608
13609 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13610
13611 * gdb.base/break-interp.exp: New file.
13612
13613 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13614
13615 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13616 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13617 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13618 test.
13619 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13620 * gdb.python/py-mi.exp: Add lazy string test.
13621
13622 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13623
13624 * lib/mi-support.exp (mi_check_thread_states): Handle
13625 core number in thread listing.
13626
13627 2010-01-12 Joel Brobecker <brobecker@adacore.com>
13628
13629 * gdb.base/maint.exp: Adjust the expected output for the
13630 "maint print type" test. Use gdb_test_multiple instead of
13631 gdb_sent/gdb_expect.
13632
13633 2010-01-11 Doug Evans <dje@google.com>
13634
13635 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13636 from gdbserver_download. All callers updated.
13637
13638 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13639
13640 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13641
13642 Implement binary numbers parsing.
13643 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13644 (test_integer_literals_rejected): New binary tests.
13645
13646 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13647
13648 * gdb.cell/configure: Regenerate.
13649
13650 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13651
13652 * gdb.base/corefile.exp: Move the core finding block out and call it as
13653 core_find, new variable $corefile, replace corefile by $corefile and
13654 [file tail $corefile] for usage vs. test names resp.
13655 * lib/gdb.exp (core_find): Move it as a new function here. New
13656 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13657 $destcore. Return "" on error.
13658
13659 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13660
13661 Workaround PR binutils/10802.
13662 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13663 (twice).
13664
13665 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13666
13667 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13668
13669 2010-01-08 Joel Brobecker <brobecker@adacore.com>
13670
13671 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13672 call, to avoid interruption.
13673
13674 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13675
13676 * gdb.stabs/weird.def (args93): New.
13677
13678 2010-01-07 Doug Evans <dje@google.com>
13679
13680 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13681
13682 2010-01-07 Tom Tromey <tromey@redhat.com>
13683
13684 * gdb.base/source.exp: Use correct line number.
13685
13686 2010-01-05 Stan Shebs <stan@codesourcery.com>
13687
13688 * gdb.trace/tracecmd.exp: Test ftrace.
13689
13690 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13691
13692 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13693
13694 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13695
13696 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13697 "uint_for_mi_testing".
13698
13699 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13700
13701 Test indented comment in file being sourced.
13702 * gdb.base/commands.exp: Test indented comment in file being sourced.
13703
13704 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13705
13706 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13707 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13708 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13709 notice.
13710
13711 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13712
13713 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13714 notice.
13715
13716 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13717
13718 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13719 missing $after_stopped and comma (,) expectation.
13720
13721 2009-12-31 Stan Shebs <stan@codesourcery.com>
13722
13723 * gdb.trace/actions.exp: Test teval action.
13724
13725 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13726
13727 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13728 (top level): Call test_watchpoint_in_big_blob.
13729 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13730 watchpoints.
13731 (func3): Write to buf.
13732
13733 2009-12-29 Stan Shebs <stan@codesourcery.com>
13734
13735 * gdb.trace/actions.exp: Test default-collect.
13736
13737 2009-12-28 Stan Shebs <stan@codesourcery.com>
13738
13739 * gdb.trace/tsv.exp: New file.
13740 * gdb.base/completion.exp: Update ambiguous info output.
13741
13742 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13743
13744 * gdb.base/find.c (main): Reference search buffers.
13745 * gdb.base/included.c (main): Reference integer.
13746 * gdb.base/ptype.c (charfoo): Declare.
13747 (intfoo): Call charfoo.
13748 * gdb.base/scope0.c (useitp): New function.
13749 (usestatics): Use useitp.
13750 (useit): Add a type for val.
13751 * gdb.base/scope1.c (useit1): Take a pointer argument.
13752 (usestatics1): Update calls to useit1.
13753 * gdb.cp/call-c.cc: Declare foo.
13754 (main): Call foo.
13755 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13756 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13757 (main): Call C::ensureRefs and ensureOtherRefs.
13758 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13759 variables.
13760 (ensureOtherRefs): New function.
13761 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13762 * gdb.cp/templates.cc (main): Call t5i.value.
13763
13764 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13765
13766 Fix compatibility with G++-4.5.
13767 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13768 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13769 (uncaught return): Remove.
13770
13771 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13772 Phil Muldoon <pmuldoon@redhat.com>
13773
13774 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13775 (bp_location13, bp_location14, bp_location17, bp_location18)
13776 (marker3_proto, marker4_proto): New variables.
13777 (breakpoint info): Update output.
13778 (run until breakpoint at marker3, run until breakpoint at marker4): New
13779 tests.
13780
13781 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13782
13783 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13784 Replace the printf call of Y by provided "y-set-1" label. New block
13785 for the second shared library.
13786 * gdb.base/unload.exp: Compile also the second library, call
13787 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13788 (single pending breakpoint info): Rename to ...
13789 (pending breakpoint info before run): ... this extended test.
13790 (libfile2, libname2, libsrcfile2, libsrc2)
13791 (lib_sl2): New variables.
13792 (exec_opts): Set also SHLIB_NAME2.
13793 (pending breakpoint info on first run at shrfunc1)
13794 (pending breakpoint info on second run at shrfunc1)
13795 (pending breakpoint info on second run at shrfunc2)
13796 (print y from libfile, print y from libfile2): New tests.
13797 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13798 * gdb.base/unloadshr2.c: New.
13799
13800 2009-12-22 Hui Zhu <teawater@gmail.com>
13801
13802 * gdb.reverse/sigall-reverse.exp: Adjust.
13803
13804 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13805
13806 PR gdb/10884
13807
13808 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13809 (main): Call do_bitfield_tests.
13810 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
13811
13812 2009-12-20 Joel Brobecker <brobecker@adacore.com>
13813
13814 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13815 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13816 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13817 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13818 gdb.modula2/unbounded1.c: Update copyright header.
13819
13820 2009-12-10 Chris Moller <moller@mollerware.com>
13821
13822 PR gdb/9399
13823 * gdb.cp/virtfunc2.exp: New tests
13824 * gdb.cp/virtfunc2.cc: New tests
13825 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13826
13827 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13828
13829 * gdb.reverse/i387-env-reverse.c: New file.
13830 * gdb.reverse/i387-env-reverse.exp: New file.
13831 * gdb.reverse/i387-stack-reverse.c: New file.
13832 * gdb.reverse/i387-stack-reverse.exp: New file.
13833
13834 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13835
13836 * gdb.python/py-type.exp (test_range): New test.
13837
13838 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13839
13840 PR python/10805
13841
13842 * gdb.python/py-type.exp: New file.
13843 * gdb.python/py-type.c: New file.
13844 * Makefile.in: Add py-type.
13845
13846 2009-12-03 Tom Tromey <tromey@redhat.com>
13847
13848 * gdb.python/py-value.exp (test_parse_and_eval): New
13849 function.
13850
13851 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13852
13853 PR gdb/11022
13854
13855 * gdb.base/pr11022.exp: New test.
13856 * gdb.base/pr11022.c: New test.
13857
13858 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13859
13860 Fix spurious false FAILs.
13861 * gdb.base/structs.c (chartest): New.
13862 (main): Fill-in chartest.
13863 * gdb.base/structs.exp (anychar_re, first): New.
13864 (start_structs_test): Import global anychar_re and first.
13865 New gdb_test call "set print elements 300; ${testfile}"
13866 (start_structs_test <$first>): New block.
13867 (any): Import global anychar_re. New variable ac. Use ${ac}.
13868
13869 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13870
13871 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13872
13873 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13874
13875 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13876 Force $srcfile file.
13877 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13878
13879 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13880
13881 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13882 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13883 * gdb.threads/watchthreads-reorder.exp: Likewise.
13884
13885 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13886
13887 PR gdb/8704
13888
13889 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13890 "if", and "thread". Correct matching in the previous test.
13891
13892 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13893
13894 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13895
13896 2009-11-23 Michael Snyder <msnyder@vmware.com>
13897
13898 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13899 * gdb.reverse-watch-precsave.exp: Ditto.
13900
13901 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13902
13903 * gdb.asm/asm-source.exp: Adjust.
13904 * gdb.base/help.exp: Adjust.
13905
13906 2009-11-22 Pedro Alves <pedro@codesourcery.com>
13907
13908 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13909 (do_syscall_tests_without_xml): Set data-directory to
13910 /the/path/to/nowhere.
13911
13912 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13913
13914 * gdb.threads/local-watch-wrong-thread.c,
13915 gdb.threads/local-watch-wrong-thread.exp: New files.
13916
13917 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13918
13919 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13920 assume new `regsub' syntax available.
13921
13922 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13923
13924 * gdb.base/watchpoint-hw-hit-once.exp,
13925 gdb.base/watchpoint-hw-hit-once.c: New.
13926
13927 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13928
13929 * gdb.threads/watchthreads-reorder.exp,
13930 gdb.threads/watchthreads-reorder.c: New.
13931
13932 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13933
13934 * gdb.xml/tdesc-regs.exp: Use for m68k.
13935
13936 2009-11-15 Pedro Alves <pedro@codesourcery.com>
13937
13938 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13939
13940 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13941
13942 * lib/gdb.exp (current_target_name): New procedure.
13943 (gdb_wrapper_target): New variable.
13944 (gdb_wrapper_init): Set gdb_wrapper_target.
13945 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13946 wrapper.
13947
13948 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13949
13950 * gdb.base/remote.exp: Delete the slowest load test.
13951 Do not load with fixed packet sizes.
13952
13953 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13954
13955 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13956
13957 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13958
13959 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13960 srcfile when setting a breakpoint.
13961
13962 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13963
13964 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13965 macros.
13966
13967 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13968
13969 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13970 to be in memory.
13971 * gdb.base/display.c (force_mem): New.
13972 (do_loops): Use it. Add breakpoint comments.
13973 (do_vars): Add a breakpoint comment.
13974 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13975 line numbers.
13976
13977 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13978
13979 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13980 instead of a bare "run".
13981
13982 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13983
13984 * gdb.python/py-prettyprint.exp: Adjust.
13985
13986 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13987
13988 * lib/cell.exp (skip_cell_tests): Clean up test files before
13989 returning.
13990
13991 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13992
13993 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13994 and the breakpoint menu. Do not call perror if a prompt is seen.
13995 Consume the following GDB prompt.
13996 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13997 * gdb.cp/namespace.exp: Use gdb_test.
13998 * gdb.cp/templates.exp: Use gdb_test.
13999 (test_template_breakpoints): Use gdb_test_multiple.
14000
14001 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14002
14003 * gdb.base/break1.c (struct some_struct, values): Move earlier.
14004 (marker4): Reference values.
14005
14006 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14007
14008 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
14009 is missing.
14010
14011 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14012
14013 * gdb.base/break.c (need_malloc): New.
14014 * gdb.base/constvars.c (main): Reference crass and crisp.
14015 * gdb.base/gdb1821.c (main): Reference bar.
14016 * gdb.cp/gdb1355.cc (main): Reference s1.
14017 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
14018 (main): Call them.
14019 * gdb.cp/hang2.cc (dummy2): Define.
14020 * gdb.cp/hang3.cc (dummy3): Define.
14021 * gdb.cp/m-data.cc (main): Reference shadow.
14022
14023 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14024 Nathan Froyd <froydnj@codesourcery.com>
14025
14026 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
14027 remote host.
14028
14029 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
14030
14031 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
14032 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
14033 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14034 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14035 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14036 * gdb.dwarf2/dw2-producer.exp: Likewise.
14037 * gdb.dwarf2/mac-fileno.exp: Likewise.
14038 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
14039 py-prettyprint.py to the remote host.
14040 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
14041
14042 2009-11-11 Keith Seitz <keiths@redhat.com>
14043
14044 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
14045 use it instead of "Foo".
14046 * gdb.cp/classes.exp (do_tests): Add a test to access
14047 a method through a typedef'd class name.
14048
14049 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
14050
14051 * gdb.base/long_long.exp: Permit leading zeros on floating-point
14052 exponents.
14053 * gdb.base/pointers.exp: Likewise.
14054 * gdb.cp/ref-types.exp: Likewise.
14055
14056 2009-11-11 Keith Seitz <keiths@redhat.com>
14057
14058 * gdb.cp/cplusfuncs.cc (class foo): Add operators
14059 new[] and delete[].
14060 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
14061 "void".
14062 (probe_demangler): Remove all single-quoting of
14063 method and variable names.
14064 (info_func_regexp): Remove the word "void" from any
14065 occurrence of "(void)".
14066 (print_addr_2): Remove all single-quoting of
14067 method names.
14068 (print_addr_2_kfail): Likewise.
14069 (print_addr): Single-quote C function names before
14070 passing to print_addr_2.
14071 (test_paddr_operator_functions): Remove single-quoting
14072 for method names.
14073 Add tests for operator new[] and operator delete[].
14074
14075 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14076
14077 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
14078
14079 2009-11-09 Keith Seitz <keiths@redhat.com>
14080
14081 * gdb.cp/overload.exp: Add tests for resolving overloaded
14082 methods in expression parsing/evaluation.
14083
14084 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
14085
14086 * lib/gdb.exp (default_gdb_version): Use --version instead of
14087 --command.
14088
14089 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
14090
14091 * lib/gdb.exp (gdb_compile_test): New.
14092 (skip_ada_tests, skip_java_tests): New.
14093 (gdb_compile): Use gdb_compile_test for f77.
14094 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
14095 * lib/java.exp (compile_java_from_source): Remove runtests check,
14096 use gdb_compile_test to record result.
14097 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
14098 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
14099 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
14100 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
14101 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
14102 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
14103 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
14104 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
14105 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
14106 adjust gdb_compile invocations.
14107
14108 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14109
14110 * Makefile.in (abs_builddir): New.
14111 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
14112 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
14113 `$(abs_builddir)/site.exp'.
14114
14115 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
14116
14117 * config/m68k-emc.exp, lib/emc-support.exp,
14118 gdb.trace/gdb_c_test.c: Delete.
14119 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
14120 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14121 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14122 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14123 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14124 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
14125 casing for m68k-*-elf.
14126
14127 2009-11-03 Pedro Alves <pedro@codesourcery.com>
14128
14129 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
14130 * gdb.arch/i386-prologue.exp: Likewise.
14131 * gdb.arch/i386-unwind.exp: Likewise.
14132
14133 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14134
14135 * lib/gdb.exp (gdb_expect): Fix timeout typo.
14136
14137 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14138
14139 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
14140
14141 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14142
14143 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
14144
14145 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14146
14147 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
14148
14149 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14150
14151 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
14152 * gdb.base/sepdebug2.c: New file.
14153
14154 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14155
14156 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
14157 the modified warnings for catch syscall. Verify if GDB was compiled
14158 with support for lib expat, and choose which tests to run depending
14159 on this.
14160
14161 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
14162
14163 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
14164 that composite commands are parsed OK. And also test
14165 that breakpoint commands do work.
14166
14167 2009-10-23 Michael Snyder <msnyder@vmware.com>
14168
14169 gdb.reverse/consecutive-precsave.exp: Change expect pattern
14170 to allow for new disassembly style.
14171
14172 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14173
14174 * gdb.asm/asm-source.exp: Adjust.
14175
14176 2009-10-22 Michael Snyder <msnyder@vmware.com>
14177
14178 * gdb.reverse/break-precsave.exp: New test.
14179 * gdb.reverse/consecutive-precsave.exp: Ditto.
14180 * gdb.reverse/finish-precsave.exp: Ditto.
14181 * gdb.reverse/i386-precsave.exp: Ditto.
14182 * gdb.reverse/machinestate-precsave.exp: Ditto.
14183 * gdb.reverse/sigall-precsave.exp: Ditto.
14184 * gdb.reverse/solilb-precsave.exp: Ditto.
14185 * gdb.reverse/step-precsave.exp: Ditto.
14186 * gdb.reverse/until-precsave.exp: Ditto.
14187 * gdb.reverse/watch-precsave.exp: Ditto.
14188
14189 2009-10-22 Michael Snyder <msnyder@vmware.com>
14190
14191 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
14192 for gdb_expect. Adjust one test's expect strings for the new
14193 format of disassemble.
14194 * gdb.reverse/finish-reverse.exp: Delete 'return'.
14195 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
14196 gdb_test_multiple.
14197 * gdb.reverse/step-reverse.exp: Delete 'return'.
14198 * gdb.reverse/until-reverse.exp: Delete blank lines.
14199 * gdb.reverse/watch-reverse.exp: Delete blank lines.
14200
14201 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
14202
14203 * gdb.base/consecutive.exp: Adjust.
14204 * gdb.base/display.exp: Likewise.
14205 * gdb.base/pc-fp.exp: Likewise.
14206 * gdb.base/sigbpt.exp: Likewise.
14207
14208 2009-10-19 Michael Snyder <msnyder@vmware.com>
14209
14210 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
14211 * gdb.reverse/finish-reverse.c: Ditto.
14212 * gdb.reverse/sigall-reverse.c: Ditto.
14213 * gdb.reverse/solib-reverse.c: Ditto.
14214 * gdb.reverse/step-reverse.c: Ditto.
14215 * gdb.reverse/watch-reverse.c: Ditto.
14216
14217 2009-10-19 Pedro Alves <pedro@codesourcery.com>
14218 Stan Shebs <stan@codesourcery.com>
14219
14220 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
14221 * gdb.base/foll-exec.exp: Adjust to expect a process id before
14222 "Executing new program".
14223 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
14224 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
14225 left listed after having been killed.
14226 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
14227 * gdb.base/maint.exp: Adjust test.
14228
14229 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
14230 * gdb.multi/Makefile.in: New.
14231 * gdb.multi/base.exp: New.
14232 * gdb.multi/goodbye.c: New.
14233 * gdb.multi/hangout.c: New.
14234 * gdb.multi/hello.c: New.
14235 * gdb.multi/bkpt-multi-exec.c: New.
14236 * gdb.multi/bkpt-multi-exec.exp: New.
14237 * gdb.multi/crashme.c: New.
14238
14239 2009-10-13 Tristan Gingold <gingold@adacore.com>
14240
14241 * gdb.base/sepdebug.exp: Check debug info are found.
14242
14243 2009-10-08 Pedro Alves <pedro@codesourcery.com>
14244
14245 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
14246 bits.
14247
14248 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14249
14250 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
14251
14252 2009-10-07 Joel Brobecker <brobecker@adacore.com>
14253
14254 * gdb.base/watchpoints.c: Add copyright header. Reformat one
14255 of the comments.
14256
14257 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
14258
14259 * gdb.base/annota1.exp: Remove obsolete match_max increase.
14260 * gdb.base/annota3.exp: Idem.
14261 * gdb.base/maint.exp: Idem.
14262
14263 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
14264
14265 * lib/gdb.exp (default_gdb_init): Set current value of match_max
14266 to default.
14267
14268 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14269
14270 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
14271 mingw and cygwin targets.
14272
14273 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14274 Pedro Alves <pedro@codesourcery.com>
14275
14276 * lib/gdb.exp (gdb_compile): Avoid adding
14277 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
14278
14279 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14280
14281 * gdb.base/shr1.c: Use %p in format string.
14282 * gdb.base/unload.c: Avoid warning in fprintf.
14283 * gdb.base/watchpoint-solib.c: Idem.
14284
14285 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14286
14287 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
14288 long type.
14289 (test_unlink): Correct printf string.
14290 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
14291 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
14292
14293 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14294
14295 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
14296 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
14297 * gdb.arch/ia64-breakpoint-shadow.S: New file.
14298
14299 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14300
14301 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
14302 * gdb.objc/nondebug.exp: Likewise.
14303
14304 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14305
14306 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
14307 target_info setting.
14308
14309 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
14310 that detect new threads during "info threads".
14311
14312 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14313
14314 * gdb.threads/manythreads.c (main): Increase thread stack size
14315 to 2*PTHREAD_STACK_MIN.
14316 * gdb.threads/multi-create.c (main): Likewise.
14317 (create_function): Likewise.
14318
14319 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14320
14321 * gdb.base/dump.exp: Pass difference of pointer types instead
14322 of integer types as offset to restore in intarr3.srec case.
14323
14324 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14325
14326 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
14327
14328 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14329
14330 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
14331
14332 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
14333
14334 New test for two watchpoints, with disabling of
14335 the first inserted.
14336 * testsuite/gdb.base/watchpoints.c: New file.
14337 * testsuite/gdb.base/watchpoints.exp: New file.
14338
14339 2009-09-25 Tom Tromey <tromey@redhat.com>
14340
14341 * gdb.base/charset.exp: Test utf-16 strings with Python.
14342
14343 2009-09-25 Tom Tromey <tromey@redhat.com>
14344
14345 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
14346 UCS-4.
14347 * gdb.base/charset.c (utf_32_string): Rename.
14348 (init_utf32): Rename.
14349 (main): Update.
14350
14351 2009-09-22 Tom Tromey <tromey@redhat.com>
14352
14353 * gdb.python/py-function.exp: Add regression tests.
14354
14355 2009-09-21 Keith Seitz <keiths@redhat.com>
14356
14357 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
14358 with invalid operator.
14359
14360 2009-09-21 Keith Seitz <keiths@redhat.com>
14361
14362 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
14363 and destructor using typedef name of class.
14364 * gdb.cp/classes.cc (class Base1): Add a destructor.
14365 (base1): New typedef.
14366 (use_methods): Instanitate an object of type base1.
14367 * gdb.cp/templates.exp (test_template_typedef): New procedure.
14368 (do_tests): Call test_template_typedef.
14369 * gdb.cp/templates.cc (Baz::~Baz): New method.
14370 (intBazOne): New typedef.
14371 (main): Instantiate intBazOne.
14372
14373 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14374
14375 PR python/10633
14376
14377 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
14378 Function.
14379 (run_lang_tests): Add print elements test.
14380
14381 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14382
14383 * gdb.python/py-value.exp (test_subscript_regression): New
14384 function. Test for invalid subscripts.
14385 * gdb.python/py-value.c (main): Add test array, and pointer to it.
14386 (ptr_ref): New function.
14387
14388 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14389
14390 * gdb.base/default.exp: Fix "show convenience".
14391
14392 2009-09-15 Tom Tromey <tromey@redhat.com>
14393
14394 * lib/mi-support.exp (mi_create_varobj): Update.
14395 (mi_create_floating_varobj): Likewise.
14396 (mi_create_dynamic_varobj): New proc.
14397 (mi_varobj_update): Update.
14398 (mi_varobj_update_with_type_change): Likewise.
14399 (mi_varobj_update_kv_helper): New proc.
14400 (mi_varobj_update_dynamic_helper): Rewrite.
14401 (mi_varobj_update_dynamic): New proc.
14402 (mi_list_varobj_children): Update.
14403 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
14404 * gdb.python/python-prettyprint.py (pp_outer): New class.
14405 (pp_nullstr): Likewise.
14406 (lookup_function): Register new printers.
14407 * gdb.python/python-prettyprint.c (struct substruct): New type.
14408 (struct outerstruct): Likewise.
14409 (substruct_test): New function.
14410 (struct nullstr): New type.
14411 (string_1, string_2): New globals.
14412 (main): Add new tests.
14413 * gdb.python/python-mi.exp: Added regression tests.
14414 * gdb.mi/mi2-var-display.exp: Update.
14415 * gdb.mi/mi2-var-cmd.exp: Update.
14416 * gdb.mi/mi2-var-child.exp: Update.
14417 * gdb.mi/mi2-var-block.exp: Update.
14418 * gdb.mi/mi-var-invalidate.exp: Update.
14419 * gdb.mi/mi-var-display.exp: Update.
14420 * gdb.mi/mi-var-cmd.exp: Update.
14421 * gdb.mi/mi-var-child.exp: Update.
14422 * gdb.mi/mi-var-block.exp: Update.
14423 * gdb.mi/mi-break.exp: Update.
14424 * gdb.mi/gdb701.exp: Update.
14425
14426 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14427
14428 * Makefile.in: Inclusion of catch-syscall object.
14429 * gdb.base/catch-syscall.c: New file.
14430 * gdb.base/catch-syscall.exp: New file.
14431
14432 2009-09-12 Michael Snyder <msnyder@vmware.com>
14433
14434 * gdb.reverse/step-reverse.exp: Explicitly check for targets
14435 that can support reverse debuggnig.
14436
14437 2009-09-11 Tom Tromey <tromey@redhat.com>
14438
14439 * gdb.dwarf2/valop.S: New file.
14440 * gdb.dwarf2/valop.exp: New file.
14441
14442 2009-09-11 Mark Kettenis <kettenis@gnu.org>
14443
14444 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
14445
14446 2009-09-10 Doug Evans <dje@google.com>
14447
14448 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
14449 Add $gdb_prompt to second breakpoint regexp.
14450
14451 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
14452
14453 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
14454 names, add missing ones.
14455 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
14456 * gdb.python/py-frame.c: Rename from python-frame.c.
14457 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
14458 testfile name.
14459 * gdb.python/py-function.exp: Rename from python-function.exp.
14460 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
14461 testfile name.
14462 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
14463 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
14464 Adjust testfile name.
14465 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
14466 * gdb.python/py-template.cc: Rename from python-template.cc.
14467 * gdb.python/py-template.exp: Rename from python-template.exp.
14468 Adjust testfile name.
14469 * gdb.python/py-value.c: Rename from python-value.c.
14470 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
14471 testfile name.
14472
14473 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14474
14475 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
14476 $bpt2address.
14477 (Second breakpoint address is valid on ia64)
14478 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14479
14480 2009-09-03 Joseph Myers <joseph@codesourcery.com>
14481
14482 * gdb.base/ending-run.exp: Restrict regular expression matching
14483 line number to require closing brace following.
14484
14485 2009-09-03 Doug Evans <dje@google.com>
14486
14487 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14488
14489 2009-09-02 Tom Tromey <tromey@redhat.com>
14490
14491 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14492
14493 2009-09-02 Tom Tromey <tromey@redhat.com>
14494
14495 * gdb.dwarf2/callframecfa.exp: New file.
14496 * gdb.dwarf2/callframecfa.S: New file.
14497
14498 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14499
14500 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14501 gdb.base/solib-overlap-main.c: New.
14502
14503 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14504
14505 PR gdb/10565
14506
14507 * gdb.base/bitfields.c (struct container, container): New.
14508 (main): Initialize it and call break5.
14509 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14510
14511 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14512
14513 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14514 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14515
14516 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14517
14518 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14519
14520 2009-08-26 Michael Snyder <msnyder@vmware.com>
14521
14522 * gdb.base/i386-reverse.c: New file.
14523 * gdb.base/i386-reverse.exp: New file.
14524 * gdb.base/Makefile.in: Add new files to be removed.
14525
14526 2009-08-26 Joseph Myers <joseph@codesourcery.com>
14527
14528 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14529 environment-pwd for remote host.
14530 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14531
14532 2009-08-24 Keith Seitz <keiths@redhat.com>
14533
14534 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14535 Add two new C++ completer tests which limit the output to a
14536 given class.
14537
14538 2009-08-24 Michael Snyder <msnyder@vmware.com>
14539
14540 * gdb.base/del.exp: Fix typo in comment.
14541 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14542
14543 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14544
14545 * configure: Regenerate.
14546 * gdb.hp/configure: Likewise.
14547 * gdb.hp/gdb.aCC/configure: Likewise.
14548 * gdb.hp/gdb.base-hp/configure: Likewise.
14549 * gdb.hp/gdb.compat/configure: Likewise.
14550 * gdb.hp/gdb.defects/configure: Likewise.
14551 * gdb.hp/gdb.objdbg/configure: Likewise.
14552 * gdb.stabs/configure: Likewise.
14553
14554 2009-08-19 Doug Evans <dje@google.com>
14555
14556 * gdb.base/gdbvars.c: New file.
14557 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14558
14559 2009-08-14 Pedro Alves <pedro@codesourcery.com>
14560
14561 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14562 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14563
14564 2009-08-13 Pedro Alves <pedro@codesourcery.com>
14565
14566 * gdb.base/default.exp: Adjust "set language test": it's now an
14567 enum command. Larger help string moved to "help set language".
14568 * gdb.base/help.exp: Adjust "help set language" expected output,
14569 now lists all known languages.
14570
14571 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14572
14573 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14574 all frame arguments.
14575 * gdb.arch/altivec-regs.exp: Likewise.
14576
14577 2009-08-07 Tom Tromey <tromey@redhat.com>
14578
14579 * gdb.base/setshow.exp: Add tests for changes to set language, set
14580 check range, and set check type.
14581
14582 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14583
14584 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14585 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
14586 Call it.
14587
14588 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14589
14590 * configure.ac: Run gdb.cell tests when appropriate.
14591 * configure: Regenerate.
14592 * lib/cell.exp: New file.
14593 * gdb.cell: New directory.
14594 * gdb.cell/configure.ac: New file.
14595 * gdb.cell/configure: New file.
14596 * gdb.cell/Makefile.in: New file.
14597 * gdb.cell/arch.exp: New file.
14598 * gdb.cell/break.c: New file.
14599 * gdb.cell/break.exp: New file.
14600 * gdb.cell/break-spu.c: New file.
14601 * gdb.cell/bt.c: New file.
14602 * gdb.cell/bt2-spu.c: New file.
14603 * gdb.cell/bt-spu.c: New file.
14604 * gdb.cell/bt.exp: New file.
14605 * gdb.cell/coremaker.c: New file.
14606 * gdb.cell/coremaker-spu.c: New file.
14607 * gdb.cell/core.exp: New file.
14608 * gdb.cell/gcore.exp: New file.
14609 * gdb.cell/data.c: New file.
14610 * gdb.cell/data.exp: New file.
14611 * gdb.cell/data-spu.c: New file.
14612 * gdb.cell/ea-cache.exp: New file.
14613 * gdb.cell/ea-cache.c: New file.
14614 * gdb.cell/ea-cache-spu.c: New file.
14615 * gdb.cell/ea-standalone.c: New file.
14616 * gdb.cell/ea-standalone.exp: New file.
14617 * gdb.cell/ea-test.c: New file.
14618 * gdb.cell/ea-test.exp: New file.
14619 * gdb.cell/f-regs.exp: New file.
14620 * gdb.cell/mem-access.c: New file.
14621 * gdb.cell/mem-access.exp: New file.
14622 * gdb.cell/mem-access-spu.c: New file.
14623 * gdb.cell/ptype.exp: New file.
14624 * gdb.cell/registers.exp: New file.
14625 * gdb.cell/size.c: New file.
14626 * gdb.cell/sizeof.exp: New file.
14627 * gdb.cell/size-spu.c: New file.
14628 * gdb.cell/solib.exp: New file.
14629 * gdb.cell/solib-symbol.exp: New file.
14630
14631 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14632
14633 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14634
14635 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14636
14637 * gdb.base/float.exp: Handle VFP registers.
14638
14639 2009-07-14 Michael Snyder <msnyder@vmware.com>
14640
14641 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14642 to bring gdb to the beginning of the calling line.
14643
14644 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14645 confusing the i386 epilogue unwinder.
14646
14647 2009-07-14 Stan Shebs <stan@codesourcery.com>
14648
14649 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14650
14651 2009-07-14 Michael Snyder <msnyder@vmware.com>
14652
14653 * gdb.reverse/step-reverse.exp (stepi into function call):
14654 Call instruction may not be first instruction in the line.
14655 (reverse stepi from a function call): Used wrong line number.
14656
14657 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14658
14659 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14660
14661 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14662
14663 Fix gdb.base/macscp.exp when using custom inputrc.
14664 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14665 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14666 env(TERM) set.
14667 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14668 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14669
14670 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14671
14672 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14673 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14674 Change the compilation target to match the testcase name.
14675 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14676 testcase name.
14677 * a2-run.exp: Use for setup prepare_for_testing. Change the
14678 compilation target to match the testcase name.
14679 * gdb.base/commands.exp: Likewise.
14680 * gdb.base/finish.exp: Likewise.
14681 * gdb.base/float.exp: Likewise.
14682 * gdb.base/info-target.exp: Likewise.
14683 * gdb.base/relational.exp: Likewise.
14684 * gdb.base/term.exp: Likewise.
14685 * gdb.base/until.exp: Likewise.
14686 * gdb.base/volatile.exp: Likewise.
14687 * gdb.base/whatis-exp.exp: Likewise.
14688
14689 2009-07-11 Hui Zhu <teawater@gmail.com>
14690
14691 * gdb.base/help.exp (disassemble): Update expected help text.
14692
14693 2009-07-09 Tom Tromey <tromey@redhat.com>
14694
14695 * lib/gdb.exp: Handle TRANSCRIPT.
14696 (remote_spawn, remote_close, send_gdb): New procs.
14697
14698 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14699
14700 * gdb.python/python-prettyprint.c: Add counted null string
14701 structure.
14702 * gdb.python/python-prettyprint.exp: Print null string. Test for
14703 embedded nulls.
14704 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14705 * gdb.python/python-value.exp (test_value_in_inferior): Add
14706 variable length string fetch tests.
14707 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14708
14709 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14710
14711 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14712
14713 2009-07-07 Tom Tromey <tromey@redhat.com>
14714
14715 * gdb.base/call-rt-st.exp: Update for change to escape output.
14716 * gdb.base/callfuncs.exp: Likewise.
14717 * gdb.base/charset.exp: Likewise.
14718 * gdb.base/constvars.exp: Likewise.
14719 * gdb.base/long_long.exp: Likewise.
14720 * gdb.base/pointers.exp: Likewise.
14721 * gdb.base/printcmds.exp: Likewise.
14722 * gdb.base/setvar.exp: Likewise.
14723 * gdb.base/store.exp: Likewise.
14724 * gdb.cp/ref-types.exp: Likewise.
14725 * gdb.mi/mi-var-child.exp: Likewise.
14726 * gdb.mi/mi-var-display.exp: Likewise.
14727 * gdb.mi/mi2-var-display.exp: Likewise.
14728 * gdb.base/charset.exp: Test octal escape sequence length.
14729 Update for change to escape output.
14730
14731 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14732
14733 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14734
14735 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14736
14737 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14738
14739 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14740
14741 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14742 gdbserver increasing $portnum if "Can't bind address" has been seen.
14743
14744 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14745
14746 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14747 mingw32ce.
14748
14749 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14750
14751 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14752 VFP format.
14753
14754 2009-07-02 Pedro Alves <pedro@codesourcery.com>
14755
14756 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14757 linux. Adjust to use "inferior", "info inferiors", "detach
14758 inferior" and "kill inferior" instead of "restart", "info fork",
14759 "detach fork" and "delete fork".
14760 * gdb.base/ending-run.exp: Spell out "info".
14761 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14762 the "kill" command.
14763
14764 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14765
14766 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14767 change to prefix TLS offset in hex with 0x.
14768
14769 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14770
14771 * gdb.base/default.exp: Update test case for "x" changes.
14772
14773 2009-07-01 Tristan Gingold <gingold@adacore.com>
14774
14775 * gdb.base/bigcore.exp: Make darwin untested.
14776
14777 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14778
14779 * gdb.base/completion.exp (directory completion): Create the directory.
14780 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14781 escapeuniquesub.
14782 (directory completion 2): Expect now ${escapeuniquesub}.
14783 (Glob remaining of directory test): Remove one excessive newline.
14784 Expect the real output.
14785
14786 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14787
14788 Fix `make check//%' target after `make check' has been ran.
14789 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14790 a mkdir call.
14791 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14792 (%/.dir): Remove.
14793
14794 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14795
14796 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14797 the expected result record.
14798
14799 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14800
14801 Remove racy FAILs relying just on the timeouts.
14802 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14803 (annotation_level 2): Remove racy FAILs.
14804
14805 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14806
14807 gdb/10275
14808 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14809
14810 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14811
14812 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14813
14814 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14815
14816 * gdb.mi/mi-stack.exp: Testing symbolic options
14817 to -stack-list-locals and -stack-list-arguments.
14818
14819 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14820
14821 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14822
14823 2009-06-29 Tom Tromey <tromey@redhat.com>
14824
14825 * dg-extract-results.sh: New file.
14826 * Makefile.in (FORCE_PARALLEL): New variable.
14827 (CHECK_TARGET): New conditional variable.
14828 (check): Use CHECK_TARGET.
14829 (DO_RUNTEST): New variable.
14830 (check-single): New target.
14831 (TEST_DIRS): New variable.
14832 (TEST_TARGETS): Likewise.
14833 (check-parallel): New target.
14834 (check-gdb.%): New pattern.
14835 (BASE1_FILES): New variable.
14836 (BASE2_FILES): Likewise.
14837 (check-gdb.base%): New pattern.
14838 (%/.dir): New pattern.
14839 * configure: Rebuild.
14840 * aclocal.m4 (AM_CONDITIONAL): New defun.
14841 * configure.ac: Check whether user is using GNU make.
14842 (GMAKE): New conditional.
14843
14844 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14845
14846 * gdb.cp/namespace-nested-import.cc: New test.
14847 * gdb.cp/namespace-nested-import.exp: New test.
14848
14849 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14850
14851 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14852 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14853 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14854 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14855 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14856 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14857 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14858 gdb.opt/inline-markers.c: New files.
14859 * lib/gdb.exp (skip_inline_frame_tests): New function.
14860 (skip_inline_var_tests): New function.
14861
14862 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14863
14864 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14865 backtrace.
14866
14867 2009-06-27 Michael Snyder <msnyder@vmware.com>
14868
14869 * gdb.reverse: New directory.
14870 * gdb.reverse/break-reverse.c: New test.
14871 * gdb.reverse/break-reverse.exp: New test.
14872 * gdb.reverse/consecutive-reverse.c: New test.
14873 * gdb.reverse/consecutive-reverse.exp: New test.
14874 * gdb.reverse/finish-reverse.c: New test.
14875 * gdb.reverse/finish-reverse.exp: New test.
14876 * gdb.reverse/machinestate.c: New test.
14877 * gdb.reverse/ms1.c: New test.
14878 * gdb.reverse/machinestate.exp: New test.
14879 * gdb.reverse/Makefile.in: New file.
14880 * gdb.reverse/shr2.c: New test.
14881 * gdb.reverse/solib-reverse.c: New test.
14882 * gdb.reverse/solib-reverse.exp: New test.
14883 * gdb.reverse/step-reverse.c: New test.
14884 * gdb.reverse/step-reverse.exp: New test.
14885 * gdb.reverse/until-reverse.c: New test.
14886 * gdb.reverse/ur1.c: New test.
14887 * gdb.reverse/until-reverse.exp: New test.
14888 * gdb.reverse/watch-reverse.c: New test.
14889 * gdb.reverse/watch-reverse.exp: New test.
14890 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14891 * configure: Regenerate.
14892
14893 2009-06-26 Doug Evans <dje@google.com>
14894
14895 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14896
14897 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14898
14899 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14900 windows problem for 'file delete $binfile'.
14901
14902 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14903
14904 * gdb.cp/namespace-using.exp: New test.
14905 * gdb.cp/namespace-using.cc: New test.
14906
14907 2009-05-20 Joel Brobecker <brobecker@adacore.com>
14908
14909 * gdb.ada/variant_record_packed_array: New testcase.
14910
14911 2009-06-23 Tom Tromey <tromey@redhat.com>
14912
14913 * gdb.base/charset.exp (test_combination): Regression test.
14914 * gdb.base/charset.c (my_wchar_t): New typedef.
14915 (myvar): New global.
14916 (main): Set myvar.
14917
14918 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14919
14920 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14921 target.
14922
14923 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14924
14925 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14926
14927 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14928
14929 * gdb.mi/gdb680.exp: Update test for error message.
14930
14931 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14932
14933 * gdb.base/annota1.exp: Allow multiple occurrences of the
14934 frames-invalid annotation.
14935 * gdb.cp/annota2.exp: Likewise.
14936
14937 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14938
14939 * gdb.cp/gdb2495.cc: New file.
14940 * gdb.cp/gdb2495.exp: New file.
14941
14942 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14943
14944 Report error on GDB crash during runto.
14945 * lib/gdb.exp (runto <eof>): New.
14946
14947 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14948
14949 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14950 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14951 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14952 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14953 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14954 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14955 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14956 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14957 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14958 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14959 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14960 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14961 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14962 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14963 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14964 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14965 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14966 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14967 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14968 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14969 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14970 gdb.trace/passcount.exp, gdb.trace/report.exp,
14971 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14972 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14973 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14974 executable.
14975
14976 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14977
14978 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14979 defined before referencing it.
14980
14981 2009-06-03 Doug Evans <dje@google.com>
14982
14983 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14984 * gdb.arch/i386-see.c: Ditto.
14985
14986 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14987
14988 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14989 (check_macro): Return 1 if undefined.
14990 If first test fails, check if macro debug information is available,
14991 and report unsupported test if no macro information is found.
14992
14993 2009-05-29 Doug Evans <dje@google.com>
14994
14995 * gdb.threads/hand-call-in-threads.exp: New.
14996 * gdb.threads/hand-call-in-threads.c: New.
14997
14998 2009-05-29 Michael Snyder <msnyder@vmware.com>
14999
15000 * gdb.base/break-always.exp: Change "1" to "on".
15001 Add confirmation check.
15002
15003 2009-05-28 Pedro Alves <pedro@codesourcery.com>
15004
15005 * gdb.threads/threxit-hop-specific.c: New.
15006 * gdb.threads/threxit-hop-specific.exp: New.
15007 * gdb.threads/thread-execl.c: New.
15008 * gdb.threads/thread-execl.exp: New.
15009
15010 2009-05-27 Tom Tromey <tromey@redhat.com>
15011 Thiago Jung Bauermann <bauerman@br.ibm.com>
15012
15013 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
15014 (mi_child_regexp): Likewise.
15015 (mi_list_varobj_children_range): Likewise.
15016 (mi_get_features): Likewise.
15017 (mi_list_varobj_children): Rewrite.
15018 * gdb.python/python-mi.exp: New file.
15019
15020 2009-05-27 Tom Tromey <tromey@redhat.com>
15021 Thiago Jung Bauermann <bauerman@br.ibm.com>
15022 Phil Muldoon <pmuldoon@redhat.com>
15023 Paul Pluzhnikov <ppluzhnikov@google.com>
15024
15025 * gdb.python/python-prettyprint.exp: New file.
15026 * gdb.python/python-prettyprint.c: New file.
15027 * gdb.python/python-prettyprint.py: New file.
15028 * gdb.base/display.exp: print/r is now valid.
15029
15030 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
15031 Tom Tromey <tromey@redhat.com>
15032 Pedro Alves <pedro@codesourcery.com>
15033 Paul Pluzhnikov <ppluzhnikov@google.com>
15034
15035 * gdb.python/python-template.exp: New file.
15036 * gdb.python/python-template.cc: New file.
15037 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15038 tests.
15039 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15040 Call it.
15041 (test_value_after_death): New proc.
15042 * gdb.python/python-value.c (PTR): New typedef.
15043 (main): New variable 'x'.
15044
15045 2009-05-27 Tom Tromey <tromey@redhat.com>
15046
15047 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15048 tests.
15049 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15050 Call it.
15051
15052 2009-05-27 Pedro Alves <pedro@codesourcery.com>
15053
15054 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
15055
15056 2009-05-24 Pedro Alves <pedro@codesourcery.com>
15057
15058 * gdb.threads/fork-thread-pending.c: New.
15059 * gdb.threads/fork-thread-pending.exp: New.
15060
15061 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15062
15063 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
15064 * gdb.dwarf2/dw2-strp.S (a_string2): New.
15065
15066 2009-05-18 Jon Beniston <jon@beniston.com>
15067
15068 * gdb.asm/asm-source.exp: Add lm32 target.
15069
15070 2009-05-17 Pedro Alves <pedro@codesourcery.com>
15071
15072 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
15073 `gdb_get_line_number'. Call `callee' in both parent and child.
15074 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
15075 `gdb_get_line_number' instead of hardcoding line numbers.
15076 (catch_fork_unpatch_child): New procedure to test detaching
15077 breakpoints from child fork.
15078 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
15079 hardcoding line numbers.
15080 (do_fork_tests): Run `catch_fork_unpatch_child'.
15081
15082 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
15083
15084 * gdb.mi/mi-cmd-var.exp: Check that when varobj
15085 of structure type enters or leaves the scope, it
15086 is reported by -var-update.
15087
15088 2009-05-11 Doug Evans <dje@sebabeach.org>
15089
15090 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
15091 * gdb.threads/pending-step.c (main): Fix off-by-one error.
15092 * gdb.threads/schedlock.c (main): Fix off-by-one error.
15093
15094 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15095
15096 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
15097
15098 2009-04-30 Doug Evans <dje@google.com>
15099
15100 * gdb.threads/watchthreads2.exp: New testcase.
15101 * gdb.threads/watchthreads2.c: New testcase.
15102
15103 2009-04-29 Doug Evans <dje@google.com>
15104
15105 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
15106 * gdb.cp/mb-ctor.cc: Ditto.
15107 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
15108 * gdb.cp/mb-inline.h (multi_line_foo): New function.
15109 * gdb.cp/mb-inline1.cc: Call it.
15110 * gdb.cp/mb-inline2.cc: Ditto.
15111 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
15112 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
15113
15114 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15115
15116 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
15117 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
15118 Replace all uses of `decimal' by `nonzero'.
15119 (info macro FROM_COMMANDLINE): New test.
15120
15121 2009-04-27 Tom Tromey <tromey@redhat.com>
15122
15123 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
15124
15125 2009-04-27 Doug Evans <dje@google.com>
15126
15127 * gdb.threads/watchthreads.c (main): Initialize args before starting
15128 the threads. Plus formatting cleanup.
15129 * gdb.threads/watchthreads.exp: Avoid errant failures due to
15130 biased scheduling of one thread.
15131
15132 2009-04-27 Jerome Guitton <guitton@adacore.com>
15133
15134 * gdb.cp/templates.cc (GetMax): New template.
15135 (main): Declare two instances of GetMax.
15136 * gdb.cp/templates.exp: Add new test.
15137
15138 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15139
15140 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
15141
15142 2009-04-22 Joseph Myers <joseph@codesourcery.com>
15143
15144 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
15145
15146 2009-04-15 Tom Tromey <tromey@redhat.com>
15147
15148 * gdb.base/charset.exp: Add regression test.
15149
15150 2009-04-14 Joel Brobecker <brobecker@adacore.com>
15151
15152 * gdb.base/exe-lock.exp: New testcase.
15153
15154 2009-04-13 Tom Tromey <tromey@redhat.com>
15155
15156 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
15157 operator on Frame.
15158
15159 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15160
15161 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
15162 * gdb.server/ext-attach.exp: Likewise.
15163
15164 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
15165
15166 Eliminate some sleep usage.
15167
15168 * gdb.mi/basics.c (do_nothing): New.
15169 (main): Use do_nothing instead of printf, so that
15170 not to introduce race condition between output of
15171 inferiour and output of gdb. Do not use sleep as it
15172 is not generally available on embedded targets.
15173
15174 2009-04-02 Pedro Alves <pedro@codesourcery.com>
15175
15176 * gdb.server/ext-attach.exp: Expect an optional process id after
15177 "Detached from remote process".
15178
15179 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15180
15181 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
15182 gdb.dwarf2/dw2-unresolved.exp: New.
15183
15184 2009-04-02 Pedro Alves <pedro@codesourcery.com>
15185
15186 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
15187 mi_run_to_main.
15188
15189 2009-04-02 Pedro Alves <pedro@codesourcery.com>
15190
15191 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
15192 mi_run_to_main. Skip thread exit test on remote targets.
15193 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
15194 mi_run_to_main.
15195 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
15196 mi_run_to_main.
15197 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
15198 when expecting ^connected. Detect when the target doesn't support
15199 non-stop mode.
15200 (mi_run_cmd): Detect if non-stop mode was requested by isn't
15201 supported. Return -1 on error, 0 on success.
15202 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
15203 (mi_runto): Return mi_runto_helper's result explicitly.
15204
15205 2009-04-01 Pedro Alves <pedro@codesourcery.com>
15206
15207 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
15208
15209 2009-04-01 Tom Tromey <tromey@redhat.com>
15210
15211 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
15212 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
15213 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
15214 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
15215
15216 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
15217 Jan Kratochvil <jan.kratochvil@redhat.com>
15218
15219 PR gdb/931
15220 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
15221 output.
15222 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
15223 for gdb/931.
15224 * dw2-strp.S (DW_AT_language): Change to C++.
15225 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
15226
15227 2009-03-31 Joel Brobecker <brobecker@adacore.com>
15228
15229 * gdb.ada/tasks: New testcase.
15230
15231 2009-03-30 Stan Shebs <stan@codesourcery.com>
15232
15233 * gdb.trace/actions.exp: Update to match new info trace format.
15234 * gdb.trace/deltrace.exp: Ditto.
15235 * gdb.trace/infotrace.exp: Ditto.
15236 * gdb.trace/passcount.exp: Ditto.
15237 * gdb.trace/save-trace.exp: Ditto.
15238 * gdb.trace/while-stepping.exp: Ditto.
15239 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
15240
15241 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15242
15243 * gdb.python/python-frame.c: New file.
15244 * gdb.python/python-frame.exp: New file.
15245
15246 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
15247
15248 * gdb.python/python-value.exp: Add tests for the address
15249 attribute.
15250
15251 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
15252
15253 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
15254
15255 2009-03-26 Doug Evans <dje@google.com>
15256
15257 * gdb.mi/mi-nonstop-exit.exp: New file.
15258 * gdb.mi/non-stop-exit.c: New file.
15259
15260 2009-03-26 Tom Tromey <tromey@redhat.com>
15261
15262 Update for change to prologue skipping:
15263 * gdb.mi/mi2-simplerun.exp: Update.
15264 * gdb.mi/mi2-break.exp: Update.
15265 * gdb.mi/mi-simplerun.exp: Update.
15266 * gdb.mi/mi-break.exp: Update.
15267 * gdb.base/ending-run.exp: Update.
15268
15269 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
15270
15271 * gdb.python/python-value.exp (test_value_in_inferior): Test
15272 gdb.Value.is_optimized_out attribute.
15273
15274 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15275
15276 * gdb.dwarf2/dw2-noloc-main.c: New file.
15277 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
15278 (.text): Remove.
15279 (.data): New.
15280 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
15281 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
15282 (DW_TAG_subprogram func_cu1, noloc): Remove.
15283 (main): New.
15284 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
15285 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
15286 (file_symbols): New procedure.
15287
15288 2009-03-25 Tom Tromey <tromey@redhat.com>
15289
15290 * gdb.base/charset.exp (valid_target_charset): New proc.
15291 Use it to skip tests on invalid charsets.
15292
15293 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
15294
15295 * gdb.base/completion.exp: Add a test for directory completion.
15296
15297 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15298
15299 Fix a racy FAIL.
15300 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
15301 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
15302
15303 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
15304
15305 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
15306 * gdb.python/python-function.exp: Add test for function returning
15307 a GDB value.
15308
15309 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
15310
15311 * gdb.python/python-function.exp: New file.
15312
15313 2009-03-20 Tom Tromey <tromey@redhat.com>
15314
15315 * gdb.base/store.exp: Update for change to escape output.
15316 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
15317 to escape output.
15318 * gdb.base/pointers.exp: Update for change to escape output.
15319 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
15320 to escape output.
15321 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
15322 escape output.
15323 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
15324 to escape output.
15325 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
15326 escape output.
15327 * gdb.base/setvar.exp: Update for change to escape output.
15328 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
15329 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
15330 to escape output.
15331 (test_print_string_constants): Likewise.
15332 * gdb.base/charset.exp (valid_host_charset): Check size of
15333 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
15334 cases. Handle "auto"-related output.
15335 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
15336 (uvar, Uvar): New globals.
15337
15338 2009-03-19 Jerome Guitton <guitton@adacore.com>
15339
15340 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
15341 deltas.
15342 * gdb.ada/fixed_points.exp: Ditto.
15343
15344 2009-03-18 Pedro Alves <pedro@codesourcery.com>
15345
15346 * return-nodebug.c: Don't include stdio.h.
15347 (init): Delete.
15348 (func): Delete definition and provide extern declaration.
15349 (t): New.
15350 (main): Don't call printf. Call func and store its result in t.
15351 * return-nodebug1.c: New.
15352 * return-nodebug.exp: Don't expect stdio output. Instead, print
15353 the global variable t. Drop printf formatters and cast types from
15354 foreach loop. Don't use prepare_for_testing. Compile
15355 return-nodebug.c and return-nodebug1.c in separate steps. Don't
15356 define FORMAT or CAST.
15357
15358 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15359
15360 * gdb.base/solib-display.exp: Disable test for remote targers.
15361
15362 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15363
15364 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
15365
15366 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15367
15368 Fix a racy FAIL.
15369 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
15370 code from `follow parent, print pids'.
15371 (`follow child, print pids', `follow parent, print pids'): Call it.
15372 Replace `gdb_test "break..."' by gdb_breakpoint.
15373
15374 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
15375
15376 * gdb.mi/mi-cli.exp: Adjust for output difference in
15377 sync and async modes.
15378
15379 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15380
15381 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
15382 that was checked in by mistake. Remove loading of ada.exp, since
15383 this is not necessary in this case.
15384
15385 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15386
15387 * gdb.ada/ptype_arith_binop.exp: New testcase.
15388
15389 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15390
15391 * gdb.ada/mod_from_name: New testcase.
15392
15393 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15394
15395 * gdb.ada/tick_last_segv: New testcase.
15396
15397 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15398
15399 * gdb.mi/mi-cli.exp: Remove debug print.
15400
15401 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15402
15403 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
15404 include the token in ^running and frame info in *stopped.
15405
15406 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15407
15408 * solib-display.exp: New file.
15409 * solib-display-main.c: New file.
15410 * solib-display-lib.c: New file.
15411
15412 2009-03-05 Pedro Alves <pedro@codesourcery.com>
15413
15414 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
15415
15416 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15417
15418 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
15419 (list_and_check_macro): Use more specific test name.
15420 (next to definition): Make the test names unique.
15421
15422 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
15423
15424 * gdb.pascal/floats.exp: Accept approximate results everywhere.
15425
15426 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15427
15428 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
15429 notifications.
15430 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
15431 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
15432 * lib/mi-support.exp (library_loaded_re): New.
15433 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
15434
15435 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15436
15437 * gdb.gdb/observer.exp: Use test_notification observer, not
15438 normal_stop, everywhere.
15439 (test_normal_stop_notifications): Rename to...
15440 (test_notifications): ...this.
15441 (test_observer_normal_stop): Rename to...
15442 (test_observer): ...this.
15443
15444 2009-02-16 Doug Evans <dje@google.com>
15445
15446 * gdb.arch/amd64-disp-step.S (test_int3): New test.
15447 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
15448 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
15449 (test_prefixed_syscall,test_int3): New tests.
15450 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
15451 (test_prefixed_syscall,test_int3): New tests.
15452
15453 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
15454
15455 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
15456 (mi_expect_interrupt): Likewise.
15457 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
15458 response.
15459
15460 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15461
15462 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
15463 * gdb.base/pc-fp.exp (get_valueofx): Remove.
15464 Replace calls to get_valueofx by get_hexadecimal_valueof.
15465
15466 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15467
15468 * lib/gdb.exp (get_valueof): Accept anything as a return value.
15469 (get_integer_valueof): New procedure.
15470 (get_sizeof): Use new get_integer_value_of.
15471 * gdb.base/sizeof.exp: Replace all uses of get_valueof
15472 by get_integer_valueof.
15473
15474 2009-02-13 Tom Tromey <tromey@redhat.com>
15475
15476 * gdb.base/remote.exp (get_sizeof): Remove.
15477 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15478 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15479 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15480 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15481 (get_sizeof): Likewise.
15482
15483 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15484
15485 PR fortran/9806
15486 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15487
15488 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15489
15490 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15491
15492 2009-02-06 Pedro Alves <pedro@codesourcery.com>
15493
15494 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15495
15496 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15497
15498 * gdb.python/python-cmd.exp: New file.
15499
15500 2009-02-06 Tristan Gingold <gingold@adacore.com>
15501
15502 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15503
15504 2009-02-05 Tristan Gingold <gingold@adacore.com>
15505
15506 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15507 pointer is dereferenced and use this signal name in regexp.
15508 * gdb.base/signull.exp: Ditto.
15509 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15510 * gdb.base/signull.c (main): Ditto.
15511
15512 2009-02-04 Tom Tromey <tromey@redhat.com>
15513 Thiago Jung Bauermann <bauerman@br.ibm.com>
15514
15515 * gdb.python/python-value.exp: Use `gdb.history' instead of
15516 `gdb.value_from_history'.
15517 (test_value_numeric_ops): Add test for conversion of enum constant.
15518 * gdb.python/python-value.c (enum e): New type.
15519 (evalue): New global.
15520 (main): Use argv.
15521
15522 2009-02-04 Jerome Guitton <guitton@adacore.com>
15523
15524 * gdb.ada/uninitialized_vars: New test program.
15525 * gdb.ada/uninitialized_vars.exp: New testcase.
15526
15527 2009-02-02 Tom Tromey <tromey@redhat.com>
15528
15529 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15530 * gdb.cp/pr2489.cc: Rename...
15531 * gdb.cp/pr9594.cc: ... to this.
15532
15533 2009-02-02 Tom Tromey <tromey@redhat.com>
15534
15535 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15536 * gdb.cp/pr2489.cc: New file.
15537 * gdb.cp/cpcompletion.exp: New file.
15538
15539 2009-02-02 Tom Tromey <tromey@redhat.com>
15540
15541 PR exp/9059:
15542 * gdb.cp/call-c.exp: Add regression test.
15543 * gdb.cp/call-c.cc (FooHandle): New typedef.
15544 (main): New variable 'handle'.
15545
15546 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15547
15548 * lib/mi-support.exp (et_mi_thread_list)
15549 (check_mi_and_console_threads): Adjust for current thread in
15550 -thread-list-ids output.
15551
15552 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15553
15554 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15555 Call it.
15556
15557 2009-01-28 Doug Evans <dje@google.com>
15558
15559 * gdb.arch/amd64-disp-step.S: New file.
15560 * gdb.arch/amd64-disp-step.exp: New file.
15561 * gdb.arch/i386-disp-step.S: New file.
15562 * gdb.arch/i386-disp-step.exp: New file.
15563
15564 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15565
15566 * gdb.base/find.exp: Set newline variable
15567 using quotes instead of braces to fix cygwin failures.
15568
15569 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15570
15571 * gdb.base/radix.exp: Add tests to ensure that that set
15572 input-radix 0 and set output-radix 0 are really rejected.
15573
15574 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15575
15576 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15577 copyright years.
15578
15579 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15580
15581 PR gdb/9664:
15582 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15583
15584 2009-01-22 Pedro Alves <pedro@codesourcery.com>
15585
15586 PR c++/9631:
15587 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15588
15589 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15590
15591 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15592 binfile definition to fix Windows OS failure.
15593
15594 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15595
15596 PR gdb/9346
15597 * gdb.base/interrupt.c (sigint_handler): New.
15598 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15599 on error.
15600 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15601 Test "signal SIGINT".
15602
15603 2009-01-19 Doug Evans <dje@google.com>
15604
15605 * gdb.base/break.exp: Update expected gdb output.
15606 * gdb.base/sepdebug.exp: Ditto.
15607 * gdb.mi/mi-syn-frame.exp: Ditto.
15608 * gdb.mi/mi2-syn-frame.exp: Ditto.
15609 * gdb.base/call-signal-resume.exp: New file.
15610 * gdb.base/call-signals.c: New file.
15611 * gdb.base/unwindonsignal.exp: New file.
15612 * gdb.base/unwindonsignal.c: New file.
15613 * gdb.threads/interrupted-hand-call.exp: New file.
15614 * gdb.threads/interrupted-hand-call.c: New file.
15615 * gdb.threads/thread-unwindonsignal.exp: New file.
15616
15617 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15618
15619 * gdb.base/define.exp: Test defining and hooking prefix commands.
15620 * gdb.python/python.exp: Update test for "show user" output.
15621
15622 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15623
15624 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15625 now the output exactly, using less wildcards. Expect also the output
15626 of gfortran-4.3. Update for the f-valprint.c modification from
15627 2008-04-22.
15628 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15629 Remove gdb_test test names where matching the command.
15630
15631 2009-01-01 Pedro Alves <pedro@codesourcery.com>
15632
15633 PR breakpoints/9681:
15634 * gdb.base/watchpoint.exp: Add regression test.
15635
15636 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15637
15638 * gdb.threads/attach-into-signal.exp: Don't use
15639 gdb_suppress_entire_file.
15640 * gdb.threads/attach-stopped.exp: Ditto.
15641 * gdb.threads/attachstop-mt.exp: Ditto.
15642
15643 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15644
15645 PR gdb/8812:
15646 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15647
15648 2008-12-29 Pedro Alves <pedro@codesourcery.com>
15649
15650 PR gdb/7536:
15651 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15652 and unsupported output radices are really rejected.
15653
15654 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15655
15656 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15657
15658 2008-12-22 Tom Tromey <tromey@redhat.com>
15659
15660 * gdb.cp/punctuator.exp: New file.
15661
15662 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15663
15664 * gdb.base/completion.exp (Completing non-existing component): New test.
15665
15666 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15667
15668 Fix for PR gdb/8648.
15669 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15670 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15671 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15672 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15673
15674 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15675
15676 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15677
15678 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
15679
15680 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15681 compiler actually generate code at the expected line number.
15682
15683 2008-12-15 Jie Zhang <jie.zhang@analog.com>
15684
15685 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15686
15687 2008-12-12 Tom Tromey <tromey@redhat.com>
15688
15689 * gdb.base/commands.exp (redefine_hook_test): New proc.
15690 Call it.
15691
15692 2008-12-11 Tom Tromey <tromey@redhat.com>
15693
15694 * gdb.base/macscp.exp: New regression test.
15695
15696 2008-12-11 Tom Tromey <tromey@redhat.com>
15697
15698 * gdb.base/macscp.exp: Print "address.addr".
15699 * gdb.base/macscp1.c (struct outer): New struct.
15700 (address): New global.
15701
15702 2008-12-09 Tom Tromey <tromey@redhat.com>
15703
15704 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15705 Call it.
15706
15707 2008-12-04 Doug Evans <dje@google.com>
15708
15709 * gdb.server/ext-run.exp: Relax regexp for init program.
15710
15711 2008-12-03 Tristan Gingold <gingold@adacore.com>
15712
15713 * gdb.base/macscp.exp: Generate an object file during compilation
15714 to work around Darwin dsymutil limitations.
15715
15716 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15717
15718 Test resolving external references to TLS variables.
15719 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15720 FILE2_THREAD_LOCAL.
15721 (testfile2, srcfile2): New variables.
15722 * gdb.threads/tls.c (file2_thread_local)
15723 (function_referencing_file2_thread_local): New.
15724 * gdb.threads/tls2.c: New file.
15725
15726 2008-11-28 Joel Brobecker <brobecker@adacore.com>
15727
15728 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
15729 rather than integer, as integer might not be big enough when
15730 on 64bit targets.
15731
15732 2008-11-27 Jerome Guitton <guitton@adacore.com>
15733
15734 * gdb.cp/formatted-ref.exp: Add equality test.
15735 * gdb.ada/formatted_ref.exp: Ditto.
15736
15737 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15738
15739 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15740 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15741
15742 2008-11-20 Andreas Schwab <schwab@suse.de>
15743
15744 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15745 matching syscall entry point.
15746 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15747 (tcatch_vfork_then_child_follow): Likewise. Finish through
15748 vfork even if we stopped at the syscall trampoline.
15749
15750 2008-11-20 Doug Evans <dje@google.com>
15751
15752 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15753
15754 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15755
15756 * gdb.arch/ppc-dfp.exp: New file.
15757 * gdb.arch/ppc-dfp.c: New file.
15758
15759 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15760
15761 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
15762
15763 2008-11-17 Doug Evans <dje@google.com>
15764
15765 * gdb.mi/mi-syn-frame.exp: Update expected output.
15766 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15767
15768 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15769
15770 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
15771 "thread N" results in =thread-selected.
15772 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15773 (mi_send_resuming_command_raw): Be prepared for
15774 =thread-selected.
15775
15776 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15777
15778 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15779 * lib/mi-support.exp: Likewise.
15780
15781 2008-11-16 Joel Brobecker <brobecker@adacore.com>
15782
15783 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15784 commands from the expected output for "help catch".
15785
15786 2008-11-15 Joel Brobecker <brobecker@adacore.com>
15787
15788 * gdb.ada/int_deref.exp: New testcase.
15789
15790 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
15791
15792 * gdb.mi/gdb2549.exp: New file.
15793
15794 2008-11-11 Doug Evans <dje@google.com>
15795
15796 * gdb.base/callexit.exp: New file.
15797 * gdb.base/callexit.c: New file.
15798
15799 2008-11-10 Doug Evans <dje@google.com>
15800
15801 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15802 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15803 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15804 (default_gdb_start,default_gdb_exit): Ditto.
15805 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15806 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15807 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15808 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15809 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15810 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15811
15812 2008-11-03 Andreas Schwab <schwab@suse.de>
15813
15814 * gdb.base/hashline2.exp: Fix typo.
15815 * gdb.base/hashline3.exp: Likewise.
15816
15817 2008-10-30 Tom Tromey <tromey@redhat.com>
15818
15819 * gdb.base/pointers.exp: Add test.
15820 * gdb.base/pointers.c (k, S): New typedefs.
15821 (instance): New global.
15822
15823 2008-10-30 Andreas Schwab <schwab@suse.de>
15824
15825 * gdb.base/args.exp: Add tests for newlines.
15826
15827 2008-10-30 Joel Brobecker <brobecker@adacore.com>
15828
15829 gdb.base/foll-exec.exp: Update the expected output of a couple
15830 of "info breakpoints" tests.
15831
15832 2008-10-28 Tom Tromey <tromey@redhat.com>
15833
15834 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15835
15836 2008-10-24 Pedro Alves <pedro@codesourcery.com>
15837
15838 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15839 gdb_start_cmd.
15840 Use runto_main before any test that requires execution.
15841
15842 2008-10-23 Pedro Alves <pedro@codesourcery.com>
15843
15844 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15845 instead of SIGINT.
15846
15847 2008-10-22 Joel Brobecker <brobecker@adacore.com>
15848
15849 * gdb.base/completion.exp: Update expected output following
15850 the addition of the "info tasks" command.
15851
15852 2008-10-22 Tom Tromey <tromey@redhat.com>
15853
15854 * gdb.base/exprs.exp (test_expr): Add test for string
15855 concatenation.
15856
15857 2008-10-19 Pedro Alves <pedro@codesourcery.com>
15858
15859 * configure.ac: Output gdb.python/Makefile.
15860 * configure: Regenerate.
15861 * gdb.python/Makefile.in: New.
15862
15863 2008-10-16 Joel Brobecker <brobecker@adacore.com>
15864
15865 * gdb.base/foll-fork.exp: Adjust the expected output to match
15866 the new description for fork/vfork catchpoints in the "info
15867 breakpoints" output.
15868
15869 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15870
15871 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15872
15873 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15874
15875 * gdb.python/python-value.c: New file.
15876 * gdb.python/python-value.exp: New file.
15877
15878 2008-10-15 Pedro Alves <pedro@codesourcery.com>
15879
15880 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15881
15882 2008-10-15 Denis Pilat <denis.pilat@st.com>
15883
15884 * gdb.cp/mb-ctor.exp: Fix a typo.
15885
15886 2008-10-09 Tom Tromey <tromey@redhat.com>
15887
15888 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15889 'fprintf' and 'stderr'.
15890
15891 2008-10-07 Joel Brobecker <brobecker@adacore.com>
15892
15893 * gdb.ada/ref_tick_size.exp: New testcase.
15894
15895 2008-10-06 Doug Evans <dje@google.com>
15896
15897 * gdb.dwarf2/dw2-cu-size.exp: New file.
15898 * gdb.dwarf2/dw2-cu-size.S: New file.
15899
15900 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15901 .Ltype_int for clarity.
15902
15903 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15904
15905 PR gdb/2384:
15906 * gdb.cp/gdb2384.exp: Extended to test more cases.
15907 * gdb.cp/gdb2384.cc: Likewise.
15908 * gdb.cp/gdb2384-base.h: Likewise.
15909 * gdb.cp/gdb2384-base.cc: Likewise.
15910
15911 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15912
15913 * gdb.base/maint.exp (maint print type): Remove printing
15914 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15915
15916 2008-09-30 Tom Tromey <tromey@redhat.com>
15917
15918 * gdb.base/macscp.exp: Add completion tests.
15919 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15920 (TWENTY_THREE): Likewise.
15921 (FORTY_EIGHT): Likewise.
15922
15923 2008-09-30 Tom Tromey <tromey@redhat.com>
15924
15925 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15926 everywhere.
15927 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15928
15929 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15930
15931 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15932 testcase is derived from. Fix racy dependency on an expected PID
15933 number. No longer support the testcase on Linux kernel 2.4.x.
15934
15935 2008-09-27 Tom Tromey <tromey@redhat.com>
15936
15937 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15938 and varargs.
15939
15940 2008-09-22 Pedro Alves <pedro@codesourcery.com>
15941
15942 * lib/mi-support.exp (mi_expect_interrupt): New.
15943 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15944 from gdb.mi/mi-nonstop.exp.
15945 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15946 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15947 lib/mi-support.exp.
15948 Use mi_check_thread_states throughout. Avoid ".*" and do not
15949 require an anchor after -exec-run.
15950
15951 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15952
15953 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15954 stop is pending. Avoid ".*" when two stops are pending.
15955 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15956 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15957 newlines in fullnames.
15958 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15959 (mi_expect_stop): Update comments. Only anchor in sync mode.
15960 Do not match newlines.
15961 (mi_send_resuming_command_raw): Always return status.
15962 (mi_get_stop_line): Do not match more than one line by accident.
15963 Only anchor in sync mode.
15964 (mi_run_inline_test): If -exec-next fails, give up.
15965
15966 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15967
15968 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15969 on SPU.
15970
15971 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15972
15973 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15974
15975 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15976
15977 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15978 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15979 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15980 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15981 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15982 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15983 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15984 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15985 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15986 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15987 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15988 Include the "= " sequence in the expected output of print tests.
15989
15990 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15991
15992 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15993 description for boolean types.
15994
15995 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15996
15997 * gdb.base/hook-stop-continue.c: New.
15998 * gdb.base/hook-stop-continue.exp: New.
15999
16000 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
16001
16002 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
16003
16004 2008-09-08 Jerome Guitton <guitton@adacore.com>
16005
16006 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
16007 (stack_check_probe_2, stack_check_probe_loop_1)
16008 (stack_check_probe_loop_2): New functions.
16009 (main): Add call to these new functions.
16010 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
16011 functions, check that the breakpoint is inserted at the appropriate
16012 location.
16013 (insert_breakpoint): Slightly refine this procedure so that it can
16014 be called several times in the test.
16015
16016 2008-09-08 Jerome Guitton <guitton@adacore.com>
16017
16018 * gdb.base/stack-checking.c: New file.
16019 * gdb.base/stack-checking.exp: New file.
16020
16021 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16022
16023 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
16024 * gdb.arch/altivec-regs.exp: Likewise.
16025 * gdb.arch/vsx-regs.exp: Likewise.
16026
16027 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16028
16029 * gdb.arch/ppc-fp.exp: New file.
16030 * gdb.arch/ppc-fp.c: New file.
16031
16032 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16033
16034 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
16035 lest gcc-4.3.1 optimizes the whole thing away.
16036
16037 2008-09-04 Michael Snyder <msnyder@vmware.com>
16038
16039 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
16040 as "at" (for non-debug functions such as _start).
16041
16042 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16043
16044 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
16045 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
16046 software watchpoints.
16047 * gdb.base/watch_thread_num.exp: Likewise.
16048
16049 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
16050
16051 * gdb.arch/i386-bp_permanent.exp: New test.
16052
16053 2008-08-24 Tom Tromey <tromey@redhat.com>
16054
16055 * gdb.base/maint.exp: Update "maint print type".
16056
16057 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
16058
16059 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
16060 support. Adjust the order of "*running" notifications.
16061 * gdb.mi/non-stop.c: Don't cast from int to void* and
16062 back.
16063
16064 2008-08-20 Mark Kettenis <kettenis@gnu.org>
16065
16066 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
16067 expect to find it in the "info frame" output.
16068
16069 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
16070
16071 * gdb.base/interp.exp: Always consume both prompts.
16072
16073 2008-08-20 Pedro Alves <pedro@codesourcery.com>
16074
16075 * gdb.base/pending.exp: Test pending breakpoints without symbols
16076 loaded.
16077
16078 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16079
16080 * lib/mi-support.exp (mi_expect_stop): Produce
16081 more details on failures.
16082 * gdb.mi/mi-nonstop.exp: New.
16083 * gdb.mi/non-stop.c: New.
16084
16085 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16086
16087 * gdb.mi/mi-async.exp: Use 'set target-async'.
16088 * lib/mi-support.exp: Use 'set/show target-async'.
16089
16090 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
16091
16092 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
16093
16094 2008-08-17 Tom Tromey <tromey@redhat.com>
16095
16096 * gdb.base/help.exp (help catch): Rewrite.
16097
16098 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16099
16100 * gdb.base/define.exp: Test indented command documentation.
16101 * gdb.python/python.exp: Test indented multi-line command.
16102
16103 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
16104
16105 * testsuite/gdb.arch/vsx-regs.c: New source file.
16106 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
16107 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
16108
16109 2008-08-14 Tom Tromey <tromey@redhat.com>
16110
16111 * gdb.base/macscp.exp: Add regression test for "macro define" or
16112 "macro undef" with no arguments.
16113
16114 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16115
16116 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
16117
16118 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16119
16120 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
16121
16122 2008-08-06 Tom Tromey <tromey@redhat.com>
16123
16124 * gdb.python/python.exp: New file.
16125
16126 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16127
16128 Fix for PR gdb/1543.
16129 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
16130 $LOCATION.
16131 (location): New variable.
16132 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
16133 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
16134 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
16135 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
16136 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
16137 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
16138 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
16139 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
16140 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
16141 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
16142 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
16143 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
16144 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
16145 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
16146 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16147 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
16148 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
16149 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
16150 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
16151 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16152 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
16153 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
16154 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
16155 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
16156 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
16157 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
16158 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
16159 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
16160 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
16161 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
16162 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
16163 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
16164 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
16165 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
16166 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
16167 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
16168 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
16169 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16170 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
16171 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
16172 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
16173 gdb.base/type-opaque.exp, gdb.base/until.exp,
16174 gdb.base/value-double-free.c, gdb.base/varargs.exp,
16175 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
16176 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
16177 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
16178 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
16179 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
16180 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
16181 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
16182 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
16183 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
16184 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
16185 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
16186 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
16187 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
16188 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
16189 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
16190 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16191 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
16192 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
16193 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
16194 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16195 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
16196 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
16197 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
16198 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16199 gdb.pascal/types.exp, gdb.stabs/weird.exp,
16200 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
16201 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
16202 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
16203 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
16204 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
16205 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
16206 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16207 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
16208 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16209 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
16210 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16211 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16212 lib/mi-support.exp, lib/trace-support.exp: Remove reference
16213 to bug-gdb@prep.ai.mit.edu .
16214
16215 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
16216
16217 * lib/mi-support.exp (mi_load_shlibs): New.
16218 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
16219
16220 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
16221
16222 * lib/mi-support.exp (get_mi_thread_list)
16223 (check_mi_and_console_threads): New, moved from ...
16224 * gdb.mi/mi-pthread.exp: ...here.
16225 * gdb.mi/gdb669.exp (get_mi_thread_list)
16226 (check_mi_and_console_threads): Delete.
16227 * gdb.mi/mi2-pthread.exp: Likewise.
16228
16229 2008-07-28 Tom Tromey <tromey@redhat.com>
16230
16231 * Makefile.in (just-check): Remove. Move body to...
16232 (check): ... here.
16233
16234 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16235
16236 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
16237 Add a test for duplicated SIGINTs.
16238
16239 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16240
16241 * gdb.threads/schedlock.exp (get_args): Update to work for any
16242 value of NUM.
16243 (Top level): Report the number of threads that did not resume.
16244
16245 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16246
16247 * gdb.dwarf2/dw2-compressed.S: Also define __start.
16248
16249 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16250
16251 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
16252 non-MI prompt.
16253
16254 2008-07-26 Tom Tromey <tromey@redhat.com>
16255
16256 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
16257 (function_struct, function_struct_ptr): New globals.
16258 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
16259 function pointer in a struct.
16260
16261 2008-07-26 Tom Tromey <tromey@redhat.com>
16262
16263 * gdb.base/macscp.exp: Add test for macro lexing bug.
16264
16265 2008-07-18 Tom Tromey <tromey@redhat.com>
16266
16267 * gdb.base/macscp.exp: Add macro tests.
16268
16269 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16270
16271 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
16272
16273 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16274
16275 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
16276
16277 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
16278
16279 * gdb.cp/class2.exp: fix for failure on spu-elf
16280
16281 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
16282
16283 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
16284
16285 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16286
16287 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
16288
16289 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
16290
16291 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
16292
16293 2008-07-11 Kevin Buettner <kevinb@redhat.com>
16294
16295 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
16296 of regexp to account for changes made to GDB in the printing of
16297 byte vectors.
16298
16299 2008-07-11 Tom Tromey <tromey@redhat.com>
16300
16301 * gdb.base/completion.exp: Add 'help' completion test.
16302
16303 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16304
16305 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
16306
16307 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16308
16309 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
16310
16311 2008-07-09 Pedro Alves <pedro@codesourcery.com>
16312
16313 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
16314
16315 2008-07-09 Pedro Alves <pedro@codesourcery.com>
16316
16317 * gdb.base/fullname.exp: Restore pwd if compiling failed.
16318
16319 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16320
16321 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
16322
16323 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16324
16325 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
16326 previous commit. Add a comment.
16327
16328 2008-06-28 Pedro Alves <pedro@codesourcery.com>
16329
16330 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
16331
16332 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16333
16334 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
16335
16336 2008-06-27 Pedro Alves <pedro@codesourcery.com>
16337
16338 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
16339 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
16340 compiling an executable, link in an object that forces unbuffered
16341 output.
16342 * lib/set_unbuffered_mode.c: New file.
16343
16344 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16345
16346 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
16347
16348 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
16349
16350 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
16351 mi_expect_stop.
16352 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
16353 Demand that *running is output.
16354 (detect_async): Perform checking every time.
16355 (mi_send_resuming_command): Extract everything into...
16356 (mi_send_resuming_command_raw): ...this.
16357 (mi_expect_stop): Don't accept any output before *stopped.
16358
16359 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
16360
16361 Robustify mi-simplerun.
16362 * gdb.mi/basics.c (main): Add a call to sleep.
16363 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
16364 * gdb.mi/mi2-cli.exp: Likewise.
16365 * gdb.mi/mi-break.exp: Likewise.
16366
16367 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
16368
16369 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
16370
16371 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16372
16373 * gdb.mi/mi-console.exp: Adjust.
16374 * gdb.mi/mi-syn-frame.exp: Adjust.
16375 * gdb.mi/mi2-console.exp: Adjust.
16376 * gdb.mi/mi2-syn-frame.exp: Adjust.
16377 * lib/mi-support.exp (mi_run_cmd): Adjust.
16378 (mi_send_resuming_command): Adjust.
16379
16380 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16381
16382 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
16383 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
16384 testing of stopped.
16385 * gdb.mi/mi2-syn-frame.exp: Likewise.
16386 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
16387 (async, detect_async): New.
16388 (mi_expect_stop, mi_continue_to_line): Adjust expectation
16389 depending on if we're running in sync or async mode.
16390
16391 2008-06-09 Tom Tromey <tromey@redhat.com>
16392
16393 * gdb.base/completion.exp: New tests for field name completion
16394 with spaces, and field name completion with '->'.
16395
16396 2008-06-06 Tom Tromey <tromey@redhat.com>
16397
16398 * gdb.base/break1.c (struct some_struct): New struct.
16399 (values): New global.
16400 * gdb.base/completion.exp: Add field name completion test.
16401
16402 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16403
16404 * gdb.cp/call-c.exp: Test for incorrect handling of reference
16405 to pointer.
16406 * gdb.cp/call-c.cc: Likewise.
16407
16408 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
16409
16410 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
16411 annotation.
16412
16413 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16414 Pedro Alves <pedro@codesourcery.com>
16415
16416 * gdb.threads/execl.c, gdb.threads/execl1.c,
16417 gdb.threads/execl.exp: New tests.
16418
16419 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
16420 Daniel Jacobowitz <dan@codesourcery.com>
16421
16422 * gdb.cp/exception.exp: Activate test, make it work with pending
16423 catchpoints.
16424
16425 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
16426
16427 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
16428
16429 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
16430
16431 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
16432 now printed.
16433 * gdb.mi/mi2-var-cmd.exp: Likewise.
16434
16435 2008-05-27 Andreas Schwab <schwab@suse.de>
16436
16437 * gdb.base/frame-args.exp: Handle arguments that are optimized
16438 out.
16439
16440 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
16441
16442 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
16443 quiet for ppc32 and group options into a single variable.
16444
16445 2008-05-23 Joel Brobecker <brobecker@adacore.com>
16446
16447 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
16448 of zero-size elements.
16449 * gdb.ada/null_array.exp: Test printing this new array.
16450
16451 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16452
16453 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
16454
16455 2008-05-21 Joel Brobecker <brobecker@adacore.com>
16456
16457 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
16458 of the "finish" command.
16459
16460 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
16461
16462 * gdb.base/annota1.exp: Test for new annotation.
16463
16464 2008-05-16 Pedro Alves <pedro@codesourcery.com>
16465
16466 * gdb.base/fixsection.exp: New file.
16467 * gdb.base/fixsection0.c: New file.
16468 * gdb.base/fixsection1.c: New file.
16469
16470 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16471
16472 * gdb.base/annota1.exp: Accept printf@... in place of printf.
16473 * gdb.base/annota3.exp: Likewise.
16474
16475 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
16476
16477 * gdb.base/watch_thread_num.exp: Don't run tests that require
16478 watchpoints if the target doesn't support them.
16479
16480 2008-05-12 Doug Evans <dje@google.com>
16481
16482 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16483
16484 2008-05-09 Joel Brobecker <brobecker@adacore.com>
16485
16486 * gdb.ada/assign_1.exp: New testcase.
16487
16488 2008-05-09 Doug Evans <dje@google.com>
16489
16490 * gdb.base/find.exp: New file.
16491 * gdb.base/find.c: New file.
16492
16493 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16494
16495 * gdb.base/commands.exp (watchpoint_command_test): Handle
16496 gdb,no_hardware_watchpoints.
16497 * gdb.base/float.exp: Allow ARM targets without floating point.
16498 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16499
16500 2008-05-06 Jerome Guitton <guitton@adacore.com>
16501 Joel Brobecker <brobecker@adacore.com>
16502
16503 * gdb.ada/lang_switch: New test program.
16504 * gdb.ada/lang_switch.exp: New testcase.
16505
16506 2008-05-05 Doug Evans <dje@google.com>
16507
16508 * gdb.base/help.exp (disassemble): Update expected help text.
16509
16510 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16511
16512 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16513
16514 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16515
16516 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16517 different times.
16518
16519 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16520
16521 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16522 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16523 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16524 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16525
16526 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16527
16528 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16529 notification to appear.
16530
16531 2008-05-04 Daniel Jacobowitz <dan@debian.org>
16532
16533 * gdb.base/fullname.c: New file.
16534 * gdb.base/fullname.exp: New file.
16535 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16536
16537 2008-05-03 Pedro Alves <pedro@codesourcery.com>
16538
16539 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16540 expressions with macros.
16541
16542 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16543
16544 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16545
16546 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16547
16548 * gdb.base/completion.exp: Handle lack of other symbols beginning
16549 with "a".
16550
16551 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16552
16553 2008-05-02 Jim Blandy <jimb@codesourcery.com>
16554
16555 * gdb.asm/asmsrc1.s: Add scratch space.
16556
16557 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16558 Daniel Jacobowitz <dan@codesourcery.com>
16559
16560 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16561 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16562 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16563
16564 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16565
16566 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16567
16568 2008-05-01 Joel Brobecker <brobecker@adacore.com>
16569
16570 * gdb.base/info-target.exp: New testcase.
16571
16572 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16573
16574 * gdb.cp/hang.exp: Use .cc instead of .C.
16575 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16576 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16577
16578 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16579
16580 * gdb.base/gdb1250.exp: Remove perror.
16581 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16582
16583 2008-04-30 Pedro Alves <pedro@codesourcery.com>
16584
16585 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16586 .2byte.
16587
16588 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16589
16590 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16591 (maybe_kfail): New.
16592
16593 2008-04-25 Pedro Alves <pedro@codesourcery.com>
16594
16595 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16596
16597 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16598
16599 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16600 * gdb.mi/mi2-syn-frame.exp: Likewise.
16601 * lib/mi-support.exp: Likewise.
16602
16603 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16604
16605 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16606 to specify regexp for the location to stop at.
16607 * gdb.base/break-always.c: New.
16608 * gdb.base/break-always.exp: New.
16609
16610 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16611
16612 * lib/mi-support.exp (mi_runto_helper): Adjust
16613 for the original-location field.
16614 (mi_create_breakpoint, mi_list_breakpoints): New.
16615 * gdb.mi/mi-break.exp: Adjust.
16616 * gdb.mi/mi2-break.exp: Adjust.
16617 * gdb.mi/mi-pending.exp: Adjust.
16618 * gdb.mi/mi-simplerun.exp: Adjust.
16619 * gdb.mi/mi2-simplerun.exp: Adjust.
16620 * gdb.mi/mi-syn-frame.exp: Adjust.
16621 * gdb.mi/mi2-syn-frame.exp: Adjust.
16622 * gdb.mi/mi-until.exp: Adjust.
16623 * gdb.mi/mi2-until.exp: Adjust.
16624 * gdb.mi/mi-var-display.exp: Adjust.
16625 * gdb.mi/mi2-var-display.exp: Adjust.
16626 * gdb.mi/mi-watch.exp: Adjust.
16627 * gdb.mi/mi2-watch.exp: Adjust.
16628
16629 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
16630
16631 * aclocal.m4: Add override.m4.
16632 * configure: Regenerate.
16633
16634 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16635
16636 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16637 '-var-update --all-values' reports new value even the type
16638 of a variable object has changed.
16639
16640 2008-04-18 Craig Silverstein <csilvers@google.com>
16641
16642 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16643 files.
16644
16645 2008-04-18 Joel Brobecker <brobecker@adacore.com>
16646
16647 * gdb.ada/atomic_enum: New test program.
16648 * gdb.ada/atomic_enum.exp: New testcase.
16649
16650 2008-04-17 Doug Evans <dje@google.com>
16651
16652 * gdb.opt/Makefile.in: Fix whitespace.
16653
16654 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16655
16656 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16657
16658 2008-04-17 Doug Evans <dje@google.com>
16659
16660 * gdb.base/hashline1.exp: New testcase.
16661 * gdb.base/hashline2.exp: New testcase.
16662 * gdb.base/hashline2.exp: New testcase.
16663
16664 2008-04-17 Pedro Alves <pedro@codesourcery.com>
16665
16666 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16667
16668 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16669
16670 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16671 temporary breakpoint to match "Temporary breakpoint".
16672 * gdb.base/break.exp (delete_breakpoints): Likewise.
16673 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16674 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16675 * gdb.base/display.exp: Likewise.
16676 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16677 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16678 * gdb.base/restore.exp (restore_tests): Likewise.
16679 * gdb.base/sepdebug.exp: Likewise.
16680 * gdb.base/watchpoint.exp: Likewise.
16681 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16682 * gdb.mi/mi-pending.exp: Likewise.
16683 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16684 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16685 * gdb.mi/mi-var-cmd.exp: Likewise.
16686 * gdb.mi/mi-var-display.exp: Likewise.
16687 * gdb.mi/mi2-cli.exp: Likewise.
16688 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16689 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16690 * gdb.mi/mi2-var-display.exp: Likewise.
16691 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16692 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16693 new "disp" field.
16694 (mi_expect_stop): Move after_reason argument to be really after
16695 reason. This is to support fix for PR2424.
16696
16697 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16698
16699 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16700
16701 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16702
16703 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
16704 field. Add more floating varobj tests.
16705 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
16706 field.
16707 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16708 (main): Call do_at_tests.
16709 * lib/mi-support.exp (mi_create_floating_varobj)
16710 (mi_varobj_update_with_type_change): New.
16711
16712 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16713
16714 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16715 option of -var-evaluate-expression.
16716 * gdb.mi/mi2-var-display.exp: Likewise.
16717
16718 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16719
16720 Introduce test setup helpers.
16721 * lib/gdb.exp (build_executable, clean_restart)
16722 (prepare_for_testing): New.
16723 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16724 * gdb.base/return.exp: Likewise.
16725 * gdb.base/ending-run.exp: Likewise.
16726
16727 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
16728
16729 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16730 Interface (MI) responses.
16731
16732 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16733
16734 * gdb.cp/breakpoint.cc: New code to test conditions involving
16735 member variables.
16736 * gdb.cp/breakpoint.exp: Test condition involving member
16737 variables.
16738
16739 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16740
16741 * lib/mi-support.exp (mi_expect_stop): New.
16742 (mi_run_cmd): Change the
16743 token. Use mi_send_resuming_command, use
16744 mi_expect_stop.
16745 (mi_execute_to_helper): Rename to mi_execute_to.
16746 (mi_send_resuming_command): Add more error patterns.
16747 (mi_wait_for_stop): Renamed to...
16748 (mi_get_stop_line): ...this.
16749 (mi_run_inline_test): Adjust.
16750
16751 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16752 * gdb.mi/mi-console.exp: Likewise.
16753 * gdb.mi/mi-pending.exp: Likewise.
16754 * gdb.mi/mi-simplerun.exp: Likewise.
16755 * gdb.mi/mi-stack.exp: Likewise.
16756 * gdb.mi/mi-stepi.exp: Likewise.
16757 * gdb.mi/mi-syn-frame.exp: Add comment.
16758 * gdb.mi/mi-until.exp: Likewise.
16759 * gdb.mi/mi-var-display.exp: Likewise.
16760 * gdb.mi/mi-watch.exp: Likewise.
16761 * gdb.mi/mi2-cli.exp: Likewise.
16762 * gdb.mi/mi2-console.exp: Likewise.
16763 * gdb.mi/mi2-simplerun.exp: Likewise.
16764 * gdb.mi/mi2-stack.exp: Likewise.
16765 * gdb.mi/mi2-stepi.exp: Likewise.
16766 * gdb.mi/mi2-until.exp: Likewise.
16767 * gdb.mi/mi2-var-display.exp: Likewise.
16768 * gdb.mi/mi2-watch.exp: Likewise.
16769
16770 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16771
16772 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16773
16774 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16775
16776 2008-04-04 Pedro Alves <pedro@codesourcery.com>
16777
16778 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16779 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16780 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16781 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16782 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16783 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16784 expect an mi error duplicated in stderr.
16785
16786 2008-04-03 Joel Brobecker <brobecker@adacore.com>
16787
16788 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16789 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16790 Add a couple of tests that verify the behavior when the new setting
16791 is set to "cancel" and "all".
16792 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16793 "ask" before we start the testing.
16794
16795 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16796
16797 * gdb.cp/casts.cc: Add class reference variables.
16798 * gdb.cp/casts.exp: New test cases for up/down casting references.
16799
16800 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16801
16802 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16803 instead of beginning to make an extra test pass.
16804 * gdb.mi/mi2-var-display.exp: Likewise.
16805
16806 2008-03-31 Maciej W. Rozycki <macro@mips.com>
16807
16808 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16809
16810 2008-03-31 Markus Deuling <deuling@de.ibm.com>
16811 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16812
16813 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16814 value. Add xfail for older kernels.
16815
16816 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16817
16818 Bring mi-support in line with gdb.exp.
16819 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16820 (mi_gdb_start): New function.
16821
16822 2008-03-28 Maciej W. Rozycki <macro@mips.com>
16823
16824 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16825
16826 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16827
16828 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16829 * gdb.mi/mi2-var-display.exp: Likewise.
16830
16831 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16832
16833 * lib/mi-support.exp (mi_create_varobj_checked): New.
16834 (mi_list_varobj_children): Allow to check for a
16835 value.
16836 (mi_list_array_varobj_children): New.
16837
16838 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16839 and mi_list_varobj_children, as opposed to hardcoding
16840 expected strings.
16841 * gdb.mi/gdb701.exp: Likewise.
16842 * gdb.mi/gdb792.exp: Likewise.
16843 * gdb.mi/mi-var-block.exp: Likewise.
16844 * gdb.mi/mi-var-cmd.exp: Likewise.
16845 * gdb.mi/mi-var-invalidate.exp: Likewise.
16846 * gdb.mi/mi2-var-block.exp: Likewise.
16847 * gdb.mi/mi2-var-child.exp: Likewise.
16848 * gdb.mi/mi2-var-cmd.exp: Likewise.
16849 * gdb.mi/mi2-var-display.exp: Likewise.
16850
16851 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16852
16853 Fix random false FAILs on i386.
16854 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16855
16856 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16857
16858 PR gdb/544
16859 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16860
16861 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16862
16863 PR gdb/544
16864 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16865
16866 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16867
16868 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16869 fixed PR gdb/544.
16870
16871 2008-03-21 Pedro Alves <pedro@codesourcery.com>
16872
16873 * gdb.threads/fork-child-threads.exp: Test next over fork.
16874
16875 2008-03-21 Chris Demetriou <cgd@google.com>
16876
16877 * gdb.base/break.exp (rbreak junk): New test for rbreak
16878 "Junk at end of arguments" issue.
16879
16880 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16881
16882 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16883 *& to work on created array elements.
16884 (Top level): Test print $pc with a file. Test string operations
16885 without a target.
16886 * gdb.base/ptype.exp: Do not expect *& to work on created array
16887 elements.
16888
16889 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16890
16891 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16892 gdb.threads/staticthreads.exp: Update exit query.
16893
16894 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16895
16896 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16897
16898 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16899
16900 * gdb.base/watchpoint.c (global_ptr, func4): New.
16901 (main): Call func4.
16902 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16903 (test_inaccessible_watchpoint): New.
16904
16905 2008-02-29 Maciej W. Rozycki <macro@mips.com>
16906
16907 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16908 select the largest.
16909
16910 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16911
16912 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16913 frames-invalid annotations.
16914
16915 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16916
16917 * gdb.base/assign.exp: avoid same output for different tests.
16918
16919 2008-02-27 Doug Evans <dje@google.com>
16920
16921 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16922 for bug 1738.
16923 (breakpoint_to_handler_entry): Ditto.
16924
16925 2008-02-27 Joel Brobecker <brobecker@adacore.com>
16926
16927 * gdb.base/ending-run.exp: Use the first line of code inside
16928 function body to test breakpoints.
16929 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16930 location where the breakpoint is inserted when using the line
16931 where a function is declared. Fix typo in the description of
16932 one of the tests.
16933 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16934
16935 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16936
16937 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16938 tests.
16939
16940 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16941
16942 * gdb.base/args.exp: avoid same output for tests
16943 with single quotes.
16944
16945 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16946
16947 * gdb.base/annota1.exp: Adjust for 'info break'
16948 format changes.
16949 * gdb.base/annota3.exp: Likewise.
16950 * gdb.base/break.exp: Likewise.
16951 * gdb.base/condbreak.exp: Likewise.
16952 * gdb.base/pending.exp: Likewise.
16953 * gdb.base/sepdebug.exp: Likewise.
16954 * gdb.base/unload.exp: Likewise.
16955 * gdb.cp/ovldbreak.exp: Likewise.
16956 * gdb.mi/mi-pending.exp: Likewise.
16957
16958 2008-02-07 Doug Evans <dje@google.com>
16959
16960 * gdb.cp/mb-inline.exp: New.
16961 * gdb.cp/mb-inline.h: New.
16962 * gdb.cp/mb-inline1.cc: New.
16963 * gdb.cp/mb-inline2.cc: New.
16964
16965 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16966
16967 * gdb.pascal/floats.pas: New test program.
16968 * gdb.pascal/floats.exp: New testcase.
16969
16970 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16971
16972 * gdb.base/callfuncs.c (t_float_many_args): New function.
16973 (t_double_many_args): New function.
16974 * gdb.base/callfuncs.exp: Add tests for exceeding float
16975 and double parameters passed through the stack.
16976
16977 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16978
16979 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16980 gdb.ada/complete/foo.adb: New files.
16981 * gdb.ada/complete.exp: New testcase.
16982
16983 2008-02-03 Doug Evans <dje@google.com>
16984
16985 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16986
16987 * gdb.cp/gdb2384.exp: New file.
16988 * gdb.cp/gdb2384.cc: New file.
16989 * gdb.cp/gdb2384-base.h: New file.
16990 * gdb.cp/gdb2384-base.cc: New file.
16991
16992 2008-02-02 Doug Evans <dje@google.com>
16993
16994 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16995
16996 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16997
16998 * gdb.ada/sym_print_name: New test program.
16999 * gdb.ada/sym_print_name.exp: New testcase.
17000
17001 2007-02-01 Joel Brobecker <brobecker@adacore.com>
17002
17003 * gdb.ada/nested/hello.adb: New file.
17004 * gdb.ada/nested.exp: New testcase.
17005 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17006
17007 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17008
17009 * gdb.mi/basic.c (return_1): New function.
17010 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
17011 don't cause future evaluations of function to report
17012 creation of internal breakpoints.
17013
17014 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17015
17016 * gdb.mi/mi-break.exp (test_error): New.
17017 Call it.
17018
17019 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
17020
17021 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
17022 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
17023
17024 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17025
17026 * gdb.pascal/integers.pas: New test program.
17027 * gdb.pascal/integers.exp: New testcase.
17028
17029 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17030
17031 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
17032
17033 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
17034
17035 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
17036 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
17037
17038 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
17039
17040 * gdb.ada/formatted_ref: New test program.
17041 * gdb.ada/formatted_ref.exp: New testcase.
17042
17043 * gdb.cp/formatted-ref.cc: New file.
17044 * gdb.cp/formatted-ref.exp: New testcase.
17045
17046 2008-01-30 Joel Brobecker <brobecker@adacore.com>
17047
17048 * gdb.base/ptype.exp: Add testing of "ptype $pc".
17049
17050 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
17051
17052 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
17053 (test_file_list_exec_source_file): Update to new macro-info field.
17054
17055 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
17056
17057 * gdb.ada/exprs: New test program.
17058 * gdb.ada/exprs.exp: New testcase.
17059
17060 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
17061
17062 * dfp-test.c (DELTA, DELTA_B): New definitions.
17063 (double_val1, double_val2, double_val3, double_val4, double_val5,
17064 double_val6, double_val7, double_val8, double_val9, double_val10,
17065 double_val11, double_val12, double_val13, double_val14, dec32_val1,
17066 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
17067 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
17068 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
17069 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
17070 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
17071 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
17072 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
17073 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
17074 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
17075 dec128_val16): New global variables.
17076 (decimal_dec128_align): New function.
17077 (decimal_mixed): Likewise.
17078 (decimal_many_args_dec32): Likewise.
17079 (decimal_many_args_dec64): Likewise.
17080 (decimal_many_args_dec128): Likewise.
17081 (decimal_many_args_mixed): Likewise.
17082 * dfp-test.exp: Add tests calling new inferior functions.
17083
17084 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17085
17086 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
17087 gdb.server/ext-run.exp: New files.
17088 * lib/gdbserver-support.exp (gdbserver_download): New.
17089 (gdbserver_start): New. Update gdbserver expected
17090 output.
17091 (gdbserver_spawn): Use them.
17092 (gdbserver_start_extended): New.
17093
17094 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17095
17096 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
17097 Run on GNU/Linux.
17098 (do_exec_tests): Check for systems which do not support catchpoints.
17099 Do not match START.
17100 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
17101 Run on GNU/Linux. Enable verbose output.
17102 (check_fork_catchpoints): New.
17103 (explicit_fork_child_follow, catch_fork_child_follow)
17104 (tcatch_fork_parent_follow): Update expected messages.
17105 (do_fork_tests): Use check_fork_catchpoints.
17106 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
17107 Run on GNU/Linux. Enable verbose output.
17108 (check_vfork_catchpoints): New.
17109 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
17110 expected messages.
17111 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
17112
17113 2008-01-29 Jim Blandy <jimb@red-bean.com>
17114
17115 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
17116 host' errors.
17117 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
17118
17119 2008-01-29 Jim Blandy <jimb@red-bean.com>
17120
17121 * gdb.threads/sigthread.c: Use barriers to ensure that
17122 child_thread and child_thread_two are always initialized before we
17123 start to use them.
17124
17125 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
17126
17127 * gdb.base/watchpoint-solib.exp: New.
17128 * gdb.base/watchpoint-solib.c: New.
17129 * gdb.base/watchpoint-solib-shr.c: New.
17130
17131 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
17132
17133 * gdb.base/gdb1056.exp: Add unsigned integer test.
17134
17135 2008-01-28 Doug Evans <dje@google.com>
17136
17137 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
17138
17139 2008-01-27 Jim Blandy <jimb@codesourcery.com>
17140
17141 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
17142
17143 * gdb.base/expand-psymtabs.exp: Doc fix.
17144
17145 2008-01-26 Mark Kettenis <kettenis@gnu.org>
17146
17147 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17148
17149 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
17150
17151 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
17152 -var-set-format.
17153
17154 2008-01-23 Chris Demetriou <cgd@google.com>
17155
17156 * gdb.threads/thread_events.c: New testcase source file.
17157 * gdb.threads/thread_events.exp: New testcase expect file.
17158
17159 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
17160
17161 * lib/gdb.exp: Add the variable octal.
17162
17163 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
17164 -var-set-format.
17165
17166 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17167 Vladimir Prus <vladimir@codesourcery.com>
17168
17169 * gdb.base/float.exp: Allow missing floating point for m68k and
17170 PowerPC.
17171
17172 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
17173
17174 * gdb.mi/basics.c: Setup for testing breakpoints
17175 ignore count.
17176 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
17177 * gdb.mi/mi-cli.exp: Adjust.
17178 * gdb.mi/mi2-cli.exp: Adjust.
17179
17180 2008-01-17 Pedro Alves <pedro@codesourcery.com>
17181
17182 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
17183 and 'dummy_ptr' integer pointer. Initialize struct_declarations
17184 with dummy_ptr's address.
17185 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
17186 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
17187 all targets.
17188 * gdb.mi/mi2-var-child.exp: Likewise.
17189
17190 2008-01-09 Joel Brobecker <brobecker@adacore.com>
17191
17192 * gdb.ada/null_array: New test program.
17193 * gdb.ada/null_array.exp: New testcase.
17194
17195 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
17196
17197 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
17198 with required float modifiers.
17199
17200 2008-01-08 Joel Brobecker <brobecker@adacore.com>
17201
17202 * gdb.ada/funcall_param: New test program.
17203 * gdb.ada/funcall_param.exp: New testcase.
17204
17205 2008-01-08 Joel Brobecker <brobecker@adacore.com>
17206
17207 * gdb.ada/arrayparam: New test program.
17208 * gdb.ada/arrayparam.exp: New testcase.
17209
17210 2008-01-08 Joel Brobecker <brobecker@adacore.com>
17211
17212 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
17213 landed. Should also fix random failures in the test following it.
17214
17215 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
17216
17217 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
17218 for expressions with decimal float values.
17219 (test_dfp_conversions): New function to test casts to and from
17220 decimal float types.
17221 Call test_dfp_conversions.
17222 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
17223 elements.
17224 (main): Initialize ds.float4 and ds.double8 elements.
17225 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
17226 string to new error message.
17227 (d64_set_tests): Likewise.
17228 (d128_set_tests): Likewise.
17229 Add tests for expressions with decimal float variables. Add tests for
17230 conversions to and from decimal float types.
17231
17232 2008-01-05 Joel Brobecker <brobecker@adacore.com>
17233
17234 * gdb.ada/packed_tagged/comp_bug.adb: New file.
17235 * gdb.ada/packed_tagged.exp: New testcase.
17236
17237 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17238
17239 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
17240 gdb.ada/homonym/homonym_main.adb: New files.
17241 * gdb.ada/homonym.exp: New testcase.
17242
17243 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17244
17245 * gdb.ada/packed_array.exp: Add testing of references to
17246 a packed array.
17247
17248 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17249
17250 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
17251 New files.
17252 * gdb.ada/type_coercion.exp: New testcase.
17253
17254 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17255
17256 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
17257 gdb.ada/tagged/foo.adb: New file.
17258 * gdb.ada/tagged.exp: New testcase.
17259
17260 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17261
17262 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
17263 gdb.ada/ptype_field/foo.adb: New files.
17264 * gdb.ada/ptype_field.exp: New testcase.
17265
17266 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17267
17268 * gdb.ada/print_pc.exp: New testcase.
17269
17270 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17271
17272 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
17273 gdb.ada/taft_type/p.adb: New files.
17274 * gdb.ada/taft_type.exp: New testcase.
17275
17276 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17277
17278 * gdb.ada/array_bounds/bar.adb: New file.
17279 * gdb.ada/array_bounds.exp: New testcase.
17280
17281 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17282
17283 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
17284 gdb.ada/arrayptr/foo.adb: New files.
17285 * gdb.ada/arrayptr.exp: New testcase.
17286
17287 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17288
17289 * gdb.base/set-lang-auto.exp: New testcase.
17290
17291 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17292
17293 * gdb.ada/fun_addr/foo.adb: New file.
17294 * gdb.ada/fun_addr.exp: New testcase.
17295
17296 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17297
17298 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
17299 New files
17300
17301 2008-01-02 Joel Brobecker <brobecker@adacore.com>
17302
17303 * array_subscript_addr/p.adb: New file.
17304 * array_subscript_addr.exp: New testcase.
17305
17306 2008-01-02 Joel Brobecker <brobecker@adacore.com>
17307
17308 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
17309 New files.
17310 * gdb.ada/str_cmp_ref.exp: New testcase.
17311
17312 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17313
17314 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
17315 gdb.ada/fun_in_declare/foo.adb: New files.
17316 * gdb.ada/fun_in_declare.exp: New testcase.
17317
17318 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17319
17320 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
17321 gdb.ada/ref_param/pck.ads: New files.
17322 * gdb.ada/ref_param.exp: New testcase.
17323
17324 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17325
17326 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
17327 gdb.ada/interface/foo.adb: New files.
17328 * gdb.ada/interface.exp: New testcase.
17329
17330 2007-12-31 Jim Blandy <jimb@codesourcery.com>
17331
17332 * gdb.base/multi-forks.exp: Consume all output from child
17333 processes before proceeding to next test.
17334
17335 2007-12-29 Jim Blandy <jimb@codesourcery.com>
17336
17337 * configure: Regenerated.
17338
17339 2007-12-27 Joel Brobecker <brobecker@adacore.com>
17340
17341 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
17342 gdb.ada/fixed_cmp/fixed.adb: New files.
17343 * gdb.ada/fixed_cmp.exp: New testcase.
17344
17345 2007-12-27 Joel Brobecker <brobecker@adacore.com>
17346
17347 * gdb.ada/boolean_expr.exp: New testcase.
17348
17349 2007-12-26 Jim Blandy <jimb@codesourcery.com>
17350
17351 * gdb.base/multi-forks.exp: Doc fix.
17352
17353 2007-12-26 Joel Brobecker <brobecker@adacore.com>
17354
17355 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17356 * gdb.ada/char_param.exp: Do not compile our test program with
17357 -gnata, this is unnecessary.
17358 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
17359
17360 2007-12-24 Joel Brobecker <brobecker@adacore.com>
17361
17362 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
17363 gdb.ada/print_chars/foo.adb: New files.
17364 * gdb.ada/print_chars.exp: New testcase.
17365
17366 2007-12-24 Joel Brobecker <brobecker@adacore.com>
17367
17368 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
17369 gdb.ada/char_param/foo.adb: New files.
17370 * gdb.ada/char_param.exp: New testcase.
17371
17372 2007-12-22 Jim Blandy <jimb@codesourcery.com>
17373
17374 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
17375 hard-coding source line numbers into the test.
17376 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
17377 gdb_get_line_number to find.
17378
17379 2007-12-22 Joel Brobecker <brobecker@adacore.com>
17380
17381 * gdb.base/ptype.c (highest): New struct type.
17382 (the_highest): New variable of that type.
17383 (main): Add dummy assignment to a field of variable the_highest.
17384 * gdb.base/ptype.exp: Test type printing of our new variable.
17385
17386 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
17387
17388 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
17389 and record first explicitly generated thread number.
17390 Use that thread number for thread specific watchpoint test.
17391 Add iteration number to repetitive tests.
17392
17393 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17394 Jim Blandy <jimb@codesourcery.com>
17395
17396 * gdb.base/expand-psymtabs.c: New testcase
17397 source file.
17398 * gdb.base/expand-psymtabs.exp: New testcase
17399 expect file.
17400
17401 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
17402
17403 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
17404 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
17405
17406 2007-12-17 Joel Brobecker <brobecker@adacore.com>
17407
17408 * gdb.ada/frame_args/foo.adb: New file.
17409 * gdb.ada/frame_args/pck.ads: New file.
17410 * gdb.ada/frame_args/pck.adb: New file.
17411 * gdb.ada/frame_args.exp: New testcase.
17412
17413 2007-12-17 Joel Brobecker <brobecker@adacore.com>
17414
17415 * gdb.base/frame-args.c: New file.
17416 * gdb.base/frame-args.exp: New testcase.
17417
17418 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
17419 Joseph Myers <joseph@codesourcery.com>
17420
17421 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
17422
17423 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
17424
17425 * gdb.mi/mi-pending.exp: New.
17426 * gdb.mi/mi-pending.c: New.
17427 * gdb.mi/mi-pendshr.c: New.
17428
17429 2007-12-06 Jim Blandy <jimb@codesourcery.com>
17430
17431 * gdb.base/default.exp: Update expected output for 'info catch'.
17432
17433 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17434
17435 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
17436 must be set to binary.
17437
17438 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
17439
17440 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
17441
17442 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
17443
17444 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
17445 gdb.mi/mi-file-transfer.exp: New.
17446
17447 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17448
17449 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
17450
17451 2007-11-22 Maciej W. Rozycki <macro@mips.com>
17452
17453 * gdb.trace/backtrace.exp: Fix a typo.
17454 * gdb.trace/circ.exp: Likewise.
17455 * gdb.trace/collection.exp: Likewise.
17456 * gdb.trace/limits.exp: Likewise.
17457 * gdb.trace/report.exp: Likewise.
17458 * gdb.trace/tfind.exp: Likewise.
17459 * gdb.trace/while-dyn.exp: Likewise.
17460
17461 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
17462
17463 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
17464 objects of pointers that can't be dereferenced are now
17465 "noneditable".
17466
17467 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17468
17469 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
17470 (target_cpu): Remove.
17471
17472 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
17473
17474 * gdb.base/ending-run.exp: Expect the list of cleared
17475 breakpoint to come in natural order, not the reversed one.
17476
17477 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17478
17479 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17480 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
17481
17482 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
17483
17484 * gdb.base/printcmds.exp: New function
17485 test_printf_with_dfp.
17486
17487 2007-11-02 Doug Evans <dje@google.com>
17488
17489 * gdb.disasm/t01_mov.s: Remove carriage returns.
17490 * gdb.disasm/t02_mova.s: Ditto.
17491 * gdb.disasm/t03_add.s: Ditto.
17492 * gdb.disasm/t04_sub.s: Ditto.
17493 * gdb.disasm/t05_cmp.s: Ditto.
17494 * gdb.disasm/t06_ari2.s: Ditto.
17495 * gdb.disasm/t07_ari3.s: Ditto.
17496 * gdb.disasm/t08_or.s: Ditto.
17497 * gdb.disasm/t09_xor.s: Ditto.
17498 * gdb.disasm/t10_and.s: Ditto.
17499 * gdb.disasm/t11_logs.s: Ditto.
17500 * gdb.disasm/t12_bit.s: Ditto.
17501 * gdb.disasm/t13_otr.s: Ditto.
17502
17503 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17504
17505 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17506
17507 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17508
17509 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17510 provide DFP support.
17511
17512 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17513
17514 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17515 Test "set powerpc vector-abi". Skip auto-detection tests for old
17516 toolchains.
17517
17518 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17519
17520 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17521 with [string compare].
17522
17523 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17524
17525 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17526 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17527
17528 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
17529
17530 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17531 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17532 * gdb.opt/Makefile.in: New makefile.
17533 * Makefile.in: Create new directory "gdb.opt".
17534 * configure.ac: Add "gdb.opt" directory.
17535 * configure: Regenerated.
17536
17537 2007-10-25 Doug Evans <dje@google.com>
17538
17539 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17540 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17541
17542 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
17543 Thiago Jung Bauermann <bauerman@br.ibm.com>
17544
17545 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17546 Floating Point expressions.
17547 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17548 Floating Point variables.
17549 * gdb.base/dfp-test.c: new file containing program with Decimal
17550 Floating variables, used by gdb.base/dfp-test.exp.
17551
17552 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17553
17554 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17555
17556 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17557
17558 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17559 compiling test case with GCC.
17560 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17561
17562 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17563
17564 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17565 format changes.
17566
17567 2007-10-18 Michael Snyder <msnyder@specifix.com>
17568
17569 * gdb.base/dbx.exp: Add missing "-re " operator.
17570
17571 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17572
17573 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17574 * configure.ac: Removed trailing spaces after backslash.
17575 * gdb.modula2: New directory.
17576 * gdb.modula2/Makefile.in: New file.
17577 * gdb.modula2/unbounded-array.exp: New file.
17578 * gdb.modula2/unbounded1.c: New file.
17579
17580 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17581
17582 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17583
17584 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
17585
17586 * gdb.base/sigstep.c (main): Add checks for
17587 return values for setitimer call.
17588 Call setitimer again with itimer = ITIMER_REAL
17589 if first call to setitimer fails.
17590
17591 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
17592
17593 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17594 of $timeout.
17595
17596 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17597
17598 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17599
17600 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
17601
17602 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17603 of gdb_expect call, to avoid interruption.
17604
17605 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17606
17607 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17608 (v_unsigned_long_long, v_long_long_array)
17609 (v_signed_long_long_array, v_unsigned_long_long_array)
17610 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17611 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17612 [!NO_LONG_LONG]: New.
17613 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17614 v_long_long_member.
17615
17616 (v_long_long_func, v_signed_long_long_func)
17617 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17618 (main) [!NO_LONG_LONG]: Initialize long long variants.
17619
17620 * gdb.base/whatis.exp: If board file requests no_long_long, build
17621 test with NO_LONG_LONG defined. Test long long, signed long long,
17622 and unsigned long long variants but only if board file doesn't
17623 disable it.
17624
17625 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
17626 Daniel Jacobowitz <dan@codesourcery.com>
17627
17628 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17629 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17630 * configure: Regenerated.
17631 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17632 gdb.pascal/types.exp, lib/pascal.exp: New files.
17633
17634 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17635
17636 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17637 call.
17638 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17639 to return to the call.
17640 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17641 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17642 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17643 * gdb.mi/mi-until.exp (test_until): Likewise.
17644 * gdb.mi/mi2-until.exp (test_until): Likewise.
17645
17646 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17647
17648 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17649 two-char array.
17650 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17651
17652 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17653
17654 * gdb.threads/watchthreads.c (thread_function): Sleep between
17655 iterations.
17656 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17657 at once for S/390. Generate matching fails and passes.
17658
17659 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17660
17661 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17662 the 'struct_declarations' variable to zeros.
17663
17664 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17665
17666 * gdb.cp/mb-ctor.cc: New.
17667 * gdb.cp/mb-ctor.exp: New.
17668 * gdb.cp/mb-templates.cc: New.
17669 * gdb.cp/mb-templates.exp: New.
17670
17671 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17672
17673 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17674
17675 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17676
17677 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17678 targets.
17679 * configure: Regenerate.
17680
17681 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
17682
17683 * gdb.base/annota1.exp: Adjust for 'info break'
17684 format changes.
17685 * gdb.base/annota3.exp: Likewise.
17686 * gdb.base/break.exp: Likewise.
17687 * gdb.base/condbreak.exp: Likewise.
17688 * gdb.base/pending.exp: Likewise.
17689 * gdb.base/sepdebug.exp: Likewise.
17690 * gdb.base/unload.exp: Likewise.
17691 * gdb.base/ovldbreak.exp: Likewise.
17692
17693 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17694
17695 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17696 messages.
17697 * gdb.base/chng-syms.exp: Likewise.
17698 * gdb.base/unload.exp: Likewise.
17699
17700 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17701
17702 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17703
17704 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17705
17706 * schedlock.c (NUM): Change to 1.
17707 (main): Use args[0] for the main thread.
17708 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17709 regardless of the number of threads.
17710
17711 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17712
17713 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17714 type down.
17715 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17716 test.
17717 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17718 watchpoint type down.
17719 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17720 test.
17721
17722 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17723
17724 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17725 Move all the tests here and run them twice, once using software
17726 watchpoints and once using hardware watchpoints.
17727 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17728
17729 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17730
17731 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17732 test.
17733
17734 2007-09-10 Mark Kettenis <kettenis@gnu.org>
17735
17736 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17737 build-id.
17738
17739 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17740 know about $ORIGIN. Calculate output dir from $dest instead of
17741 using ${objdir}/{$subdir}.
17742
17743 2007-09-09 Mark Kettenis <kettenis@gnu.org>
17744
17745 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17746 gcore, before continuing with the test.
17747
17748 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17749
17750 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17751 * gdb.mi/mi-watch.exp: Likewise.
17752
17753 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17754 Jim Blandy <jimb@codesourcery.com>
17755
17756 * gdb.arch/i386-sse.exp: Do not expect character constants.
17757 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17758 * gdb.base/display.exp: Allow print/s.
17759 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17760 and unsigned char array changes.
17761
17762 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17763
17764 * gdb.base/display.exp: Add tests for printf %p.
17765
17766 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17767
17768 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17769 the dll name to unicode.
17770
17771 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17772
17773 * gdb.base/default.exp (show version): Update the version text.
17774 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17775
17776 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17777
17778 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17779 New files.
17780
17781 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17782
17783 * lib/gdb.exp (build_id_debug_filename_get): New function.
17784 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17785 Remove the generate DEBUG file for the future testcase runs.
17786 New testcase for the NT_GNU_BUILD_ID retrieval.
17787 Move the final testing step to ...
17788 (test_different_dir): ... a new function.
17789 New parameter XFAIL to XFAIL all the tests performed.
17790 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17791 New parameter TYPE to PF_PREFIX all the tests performed.
17792
17793 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17794
17795 * gdb.mi/mi-var-cp.cc (path_expression): New
17796 function.
17797 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17798
17799 2007-08-27 Markus Deuling <deuling@de.ibm.com>
17800
17801 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17802 to fit into SPU Local Store memory.
17803
17804 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17805
17806 * gdb.base/default.exp: Adjust the expected output of "info
17807 warranty" after the switch to GPLv3.
17808
17809 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17810
17811 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17812 to 30000 (from 20000).
17813
17814 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17815
17816 Switch the license of all .exp files to GPLv3.
17817 Switch the license of all .f and .f90 files to GPLv3.
17818 Switch the license of all .s and .S files to GPLv3.
17819
17820 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17821
17822 * configure.ac: Switch license to GPLv3.
17823
17824 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17825
17826 Switch the licensing to GPLv3 for all .ads and .adb files.
17827
17828 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17829
17830 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17831 and t_int_double.
17832 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17833
17834 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17835
17836 * gdb.base/step-line.c: Switch license to GPL version 3, and
17837 update copyright year.
17838 * gdb.base/step-line.inp: Likewise.
17839
17840 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17841
17842 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17843 changes inside gdb1555.c.
17844 * gdb.base/pending.exp: Likewise.
17845
17846 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17847
17848 * config/default.exp: New file.
17849
17850 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17851
17852 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17853 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17854
17855 2007-07-30 Maciej W. Rozycki <macro@mips.com>
17856
17857 * gdb.base/dump.exp: Force the correct endianness for binary
17858 formats not carrying this information.
17859
17860 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17861
17862 * gdb.threads/staticthreads.exp: Match .*sem_post.
17863
17864 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17865
17866 * gdb.base/readline.exp (operate_and_get_next): Match the final
17867 prompt.
17868
17869 2007-07-23 Kevin Buettner <kevinb@redhat.com>
17870
17871 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17872 to restarting SID.
17873
17874 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17875
17876 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17877 prior to `gdb_start'.
17878
17879 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17880
17881 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17882 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17883 Remove call to gdb_unload.
17884
17885 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17886 Daniel Jacobowitz <dan@codesourcery.com>
17887
17888 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17889 for __WIN32__.
17890 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17891 * gdb.base/unload.exp: Use shared library test routines.
17892
17893 2007-07-03 Markus Deuling <deuling@de.ibm.com>
17894
17895 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17896 * gdb.base/solib-symbol-lib.c: Likewise.
17897 * gdb.base/solib-symbol-main.c: Likewise.
17898
17899 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17900
17901 * config/gdbserver.exp (gdb_reconnect): New.
17902 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17903 gdb.base/solib-disc.exp: New files.
17904 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17905 remote debugging".
17906 (gdb_compile): Add shlib_load flag.
17907 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17908 port.
17909 (gdbserver_reconnect): New.
17910
17911 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
17912 Daniel Jacobowitz <dan@codesourcery.com>
17913
17914 * gdb.base/annota3.exp: Test for if construct.
17915
17916 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17917
17918 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17919
17920 2007-06-21 Chris Dearman <chris@mips.com>
17921 Maciej W. Rozycki <macro@mips.com>
17922
17923 * gdb.base/display.exp: Allow a newline after display/i.
17924 * gdb.base/pc-fp.exp: Likewise.
17925 * gdb.base/sigbpt.exp: Likewise.
17926
17927 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17928
17929 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17930 required features to be included.
17931
17932 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17933
17934 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17935 in info threads output.
17936
17937 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17938 Markus Deuling <deuling@de.ibm.com>
17939
17940 * gdb.arch/spu-info.exp: New testcase.
17941 * gdb.arch/spu-info.c: New file.
17942
17943 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17944
17945 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17946 tpcs_offset. Restore lr after the call.
17947 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17948
17949 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17950
17951 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17952 (gdbserver_run): Kill any running gdbserver.
17953 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17954
17955 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17956
17957 * gdb.base/sigbpt.exp: Preset segv_addr.
17958
17959 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17960
17961 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17962 (gdb_compile_shlib): Likewise.
17963 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17964 (default_gdb_init): Clear cleanfiles.
17965 (gdb_finish): Delete recorded cleanfiles.
17966 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17967
17968 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17969 Do not use isnative.
17970 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17971 gdb.base/so-impl-ld.exp: Likewise.
17972 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17973 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17974 gdb_compile.
17975
17976 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17977
17978 * config/unknown.exp: Remove.
17979
17980 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17981
17982 * gdb.base/info-proc.exp: Check is_remote.
17983
17984 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17985
17986 * gdb.base/gcore.exp: Initialize variable core_supported.
17987
17988 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17989
17990 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17991
17992 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17993
17994 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17995 * gdb.threads/print-threads.exp (test_all_threads): Allow
17996 negative and hexadecimal thread IDs.
17997
17998 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17999
18000 * gdb.java/jprint.java (public): Avoid invalid call to static
18001 method.
18002
18003 2007-05-14 Denis Pilat <denis.pilat@st.com>
18004
18005 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
18006 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
18007 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18008 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
18009 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
18010
18011 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18012
18013 * gdb.base/overlays.exp: Add support for targets with only code
18014 overlay support, not data overlay. Support spu-*-* target in
18015 this mode.
18016 * gdb.base/ovlymgr.c: Provide stubs for spu target.
18017 * gdb.base/spu.ld: New file.
18018
18019 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
18020
18021 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
18022
18023 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
18024
18025 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
18026
18027 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18028
18029 * gdb.java/jmain.exp: Handle demangled names with and without method
18030 signatures.
18031
18032 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18033
18034 * gdb.mi/mi-syn-frame.c (main, foo, bar)
18035 (have_a_very_merry_interrupt): Remove calls to puts.
18036 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
18037 inferior output.
18038 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
18039 test names.
18040
18041 2007-04-29 Markus Deuling <deuling@de.ibm.com>
18042 Daniel Jacobowitz <dan@codesourcery.com>
18043
18044 * gdb.base/auxv.exp (core_works): Also check is_remote.
18045 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
18046
18047 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
18048
18049 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
18050 message, not the undefined 'module' variable.
18051 * gdb.base/siginfo.exp: Likewise.
18052 * gdb.base/sigstep.exp: Likewise.
18053 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
18054 serialport.
18055 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
18056
18057 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
18058
18059 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
18060 target sim fails. Return 0 otherwise.
18061 (gdb_load): Return prematurely if gdb_target_sim fails.
18062
18063 2007-04-16 Denis Pilat <denis.pilat@st.com>
18064
18065 * gdb.base/setshow.exp: Reset height after having set it to 100.
18066
18067 2007-04-16 Denis Pilat <denis.pilat@st.com>
18068
18069 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
18070
18071 2007-04-16 Denis Pilat <denis.pilat@st.com>
18072
18073 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
18074
18075 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
18076
18077 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
18078 tests. Run the frozen varobjs test.
18079 * gdb.mi/var-cmd.c (do_frozen_tests): New.
18080 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
18081
18082 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18083
18084 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
18085 gdb.base/type-opaque.exp: New files.
18086
18087 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
18088
18089 * gdb.mi/mi-var-child.c
18090 (do_children_tests): User char[2] instead of
18091 char so that automatic printing of pointers to char
18092 don't give unpredicable result.
18093 * gdb.mi/var-cmd.c (do_locals_test): Initialize
18094 local variables.
18095 * gdb.mi/mi-var-child.exp: Step to right line
18096 of do_children_tests.
18097 * gdb.mi/mi2-var-child.exp: Likewise.
18098 * gdb.mi/mi-var-cmd.exp: Step to right line of
18099 do_locals_tests.
18100 (do_children_tests): User char[2] instead of
18101 char so that automatic printing of pointers to char
18102 don't give unpredicable result.
18103 * gdb.mi/mi2-var-cmd.exp: Likewise.
18104 * lib/mi-support.exp (mi_continue_to_line):
18105 Pass test name to mi_wait_for_stop.
18106
18107 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18108
18109 * gdb.asm/asm-source.exp: Remove d10v case.
18110 * lib/gdb.exp (skip_cplus_tests): Likewise.
18111 * gdb.asm/d10v.inc: Deleted.
18112
18113 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18114
18115 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
18116
18117 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18118
18119 * config/netware.exp: Delete file.
18120
18121 2007-03-29 Joel Brobecker <brobecker@adacore.com>
18122
18123 * gdb.dwarf2/dw2-noloc.S: New file.
18124 * gdb.dwarf2/dw2-noloc.exp: New file.
18125
18126 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
18127
18128 * gdb.cp/method2.cc: New test.
18129 * gdb.cp/method2.exp: New test.
18130 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
18131
18132 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18133
18134 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
18135
18136 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
18137
18138 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
18139
18140 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18141
18142 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
18143 (gdb_load): Delete, replace with...
18144 (gdb_reload): ...this.
18145 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
18146 * gdb.server/server-mon.exp: Likewise.
18147 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
18148 (gdb_start_cmd): New.
18149 (gdb_file_cmd): Save the last loaded file.
18150 (gdb_reload): New.
18151 (gdb_gnu_strip_debug): Use transform.
18152 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
18153 support here. Use new $last_loaded_file. Check mtime.
18154 (gdb_target_cmd): Handle ObjC failure case.
18155 (infer_host_exec): Delete.
18156 (gdbserver_load): Rename to...
18157 (gdbserver_run): ...this. Simplify.
18158 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
18159 (mi_gdb_load): Move most contents to a new function...
18160 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
18161 (mi_run_cmd): Use mi_gdb_target_load.
18162 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
18163 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
18164 Use gdb_run_cmd.
18165 * gdb.base/charsign.exp: Remove incorrect comment.
18166 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
18167 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
18168 gdb.base/start.exp: Use gdb_start_cmd.
18169
18170 2007-03-23 Nigel Stephens <nigel@mips.com>
18171 Maciej W. Rozycki <macro@mips.com>
18172
18173 * gdb.base/sigbpt.exp: Fix the message when skipping test.
18174 * gdb.base/signull.exp: Similarly.
18175
18176 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18177
18178 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
18179 messages available to test cases (like chng-sym.exp).
18180
18181 2007-03-14 Andreas Schwab <schwab@suse.de>
18182
18183 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18184 format changes.
18185
18186 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
18187
18188 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
18189 (optimized_1): New.
18190 (main): Call optimized_1.
18191 (gdb2029): Correct typos. Call gdb2029_marker.
18192 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
18193 for gdb2029.
18194
18195 2007-03-12 Mark Kettenis <kettenis@gnu.org>
18196
18197 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
18198 as tabs. Remove redundant test pattern.
18199
18200 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18201
18202 * gdb.base/long_long.exp: Accept optional symbol name in <...>
18203 for /a format output.
18204
18205 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
18206
18207 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
18208 collect output incrementally.
18209
18210 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18211
18212 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
18213 for -var-create lpcharacter test.
18214 * gdb.mi/mi2-var-cmd.exp: Likewise.
18215
18216 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18217
18218 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
18219 pass on targets where address zero is readable.
18220
18221 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18222
18223 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
18224 just a single architecture.
18225
18226 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18227
18228 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
18229 (fetch_all_registers): New function, uses gdb_test_multiple and
18230 exp_continue to fetch inferior output line-by-line.
18231 Replace all uses of do_get_all_registers by fetch_all_registers.
18232
18233 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18234
18235 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
18236 in target_info.
18237
18238 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18239
18240 * gdb.threads/manythreads.exp: Use $message string for
18241 consistancy; add a default (timeout) case.
18242
18243 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18244
18245 * gdb.base/watchpoint.exp: Fix truncated comment.
18246
18247 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18248
18249 * Makefile.in: Remove spurious single-quotes from sed command.
18250
18251 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
18252
18253 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
18254 func.
18255 * gdb.mi/mi2-var-cmd.exp: Likewise.
18256
18257 2007-02-27 Joel Brobecker <brobecker@adacore.com>
18258
18259 * gdb.dwarf2/dw2-producer.S: New file.
18260 * gdb.dwarf2/dw2-producer.exp: New testcase.
18261
18262 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
18263
18264 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18265 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18266 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18267 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18268 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18269 Revert tests to use mi_gdb_test and include value field in output
18270 of -var-create.
18271
18272 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18273
18274 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
18275
18276 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18277
18278 * gdb.base/maint.exp: Remove full paths from test names.
18279 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
18280 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
18281
18282 2007-02-27 Joel Brobecker <brobecker@adacore.com>
18283
18284 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
18285
18286 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18287
18288 * gdb.server/server-mon.exp: New test.
18289
18290 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18291
18292 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
18293
18294 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18295
18296 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
18297 register capitalization.
18298
18299 2007-02-13 Denis Pilat <denis.pilat@st.com>
18300
18301 * gdb.mi/mi-var-invalidate.exp: New file.
18302
18303 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18304
18305 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
18306
18307 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18308
18309 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
18310
18311 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18312
18313 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
18314 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
18315
18316 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
18317
18318 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18319 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18320 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18321 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18322 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18323 * gdb.mi/gdb792.exp, lib/mi-support.exp:
18324 Update tests to include value field in output of -var-create.
18325
18326 2007-02-08 Andreas Schwab <schwab@suse.de>
18327
18328 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
18329
18330 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
18331
18332 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
18333 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
18334
18335 2007-02-02 Denis Pilat <denis.pilat@st.com>
18336
18337 * gdb.threads/threadapply.exp: check that frame is not changed by
18338 the thread apply all command.
18339
18340 2007-01-31 Andreas Schwab <schwab@suse.de>
18341
18342 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18343
18344 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
18345 in the dwarf sections.
18346 * gdb.dwarf2/mac-fileno.S: Likewise.
18347
18348 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
18349 bspstore register on ia64.
18350
18351 2007-01-29 Andreas Schwab <schwab@suse.de>
18352
18353 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
18354 "frame-begin" annotation.
18355
18356 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
18357 number of "frames-invalid" annotations.
18358
18359 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18360
18361 * gdb.base/commands.exp: Call if_commands_test.
18362 (gdb_test_no_prompt, if_commands_test): New.
18363
18364 2007-01-28 Mark Kettenis <kettenis@gnu.org>
18365
18366 * gdb.threads/sigthread.c (NSIGS): Make bigger.
18367
18368 2007-01-27 Andreas Schwab <schwab@suse.de>
18369
18370 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
18371 .short/.int/.quad in the dwarf sections.
18372 * gdb.dwarf2/dw2-intercu.S: Likewise.
18373 * gdb.dwarf2/dw2-intermix.S: Likewise.
18374
18375 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18376
18377 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
18378 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
18379 array.
18380 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18381 * gdb.base/setvar.exp: Likewise.
18382
18383 2007-01-26 Andreas Schwab <schwab@suse.de>
18384
18385 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
18386 test.
18387
18388 * gdb.base/multi-forks.exp ("restart $i"): Also match
18389 __kernel_syscall_via_break.
18390
18391 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
18392
18393 * lib/mi-support.exp (mi_delete_varobj): New.
18394 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
18395 testcase.
18396 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
18397 (main): Call the above.
18398 (reference_update_test, base_in_reference_test)
18399 (reference_to_pointer): Delete the created varobjs.
18400
18401 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
18402
18403 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
18404 * configure: Regenerated.
18405 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
18406 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
18407 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
18408 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
18409 * lib/gdb.exp (gdb_skip_xml_test): New function.
18410
18411 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
18412
18413 * gdb.base/sigrepeat.exp: Correct error message.
18414
18415 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18416 Daniel Jacobowitz <dan@codesourcery.com>
18417
18418 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
18419 gdb.arch/i386-gnu-cfi-asm.S: New files.
18420
18421 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18422
18423 * lib/gdb.exp: Abort on missing `site.exp'.
18424
18425 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18426 Daniel Jacobowitz <dan@codesourcery.com>
18427
18428 * gdb.base/included.c, gdb.base/included.exp,
18429 gdb.base/included.h: New files.
18430
18431 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18432
18433 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
18434 (maximize_rlimit): Reduce limits on 64-bit systems.
18435
18436 2007-01-19 Mark Kettenis <kettenis@gnu.org>
18437
18438 From Marcus Deuling <deuling@de.ibm.com>:
18439 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
18440 every case.
18441
18442 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
18443
18444 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
18445 (test_path_specification): Use objdir instead of srcdir to always
18446 get an absolute filename.
18447
18448 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
18449
18450 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
18451
18452 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
18453
18454 * gdb.mi/mi-var-cp.cc (reference_update_tests):
18455 Make sure the variable we're using is in scope.
18456 (reference_to_pointer): Likewise.
18457
18458 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18459
18460 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
18461 has no debug information.
18462
18463 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18464
18465 * gdb.base/annota1.exp: Remove extra send_gdb.
18466
18467 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18468
18469 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
18470
18471 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18472
18473 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
18474
18475 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
18476 Daniel Jacobowitz <dan@codesourcery.com>
18477
18478 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18479 lcharacter or linteger change. Correct duplicated test name.
18480 * gdb.mi/mi2-var-cmd.exp: Likewise.
18481
18482 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18483
18484 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18485
18486 2007-01-05 Joel Brobecker <brobecker@adacore.com>
18487
18488 * gdb.base/nofield.c: New file.
18489 * gdb.base/nofield.exp: New testcase.
18490
18491 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
18492
18493 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18494
18495 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18496 test.
18497
18498 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18499
18500 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18501
18502 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18503
18504 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18505 when continuing.
18506
18507 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18508
18509 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18510 Expect ".exe" extension.
18511
18512 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18513
18514 * gdb.base/charset.exp: Add explicit filename to break.
18515 * gdb.base/dbx.exp: Add explicit filename to breaks.
18516
18517 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18518
18519 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18520 * gdb.mi/mi2-file.exp: Likewise.
18521
18522 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18523
18524 Implement specification of MI tests as comments
18525 in C and C++ sources.
18526 * lib/mi-support.exp (mi_autotest_data): New variable.
18527 (mi_autotest_source): New variable.
18528 (count_newlines, mi_prepare_inline_tests)
18529 (mi_get_inline_test, mi_continue_to_line)
18530 (mi_run_inline_test, mi_tbreak)
18531 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18532 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18533 Run inline tests.
18534 * gdb.mi/mi-var-cp.cc: Define tests here.
18535
18536 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18537
18538 Simplify usage of mi_continue_to.
18539 * lib/mi-support.exp (mi_runto_helper): Renamed
18540 from mi_runto, added new parameter 'run_or_continue'.
18541 (mi_runto): Use mi_runto_helper.
18542 (mi_continue_to): Accept just function name as parameter.
18543 Use mi_runto_helper.
18544 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18545 * gdb.mi/mi2-var-cmd.exp: Likewise.
18546
18547 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18548
18549 Make this testcase a bit more realistic. The current code
18550 is too simplistic, and allows the compiler to optimize out
18551 some of the entities we need for this testcase.
18552 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18553 (Do_Nothing): Add extra parameter.
18554 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18555 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18556 by using a variable of type Void_Star.
18557
18558 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18559
18560 * gdb.ada/catch_ex/foo.adb: New file.
18561 * gdb.ada/catch_ex.exp: New testcase.
18562
18563 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18564
18565 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18566 pass --image-base to linker.
18567
18568 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18569 Daniel Jacobowitz <dan@codesourcery.com>
18570
18571 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18572 secondary prompts.
18573
18574 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18575
18576 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18577 output. Test the types of members and member pointers.
18578 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18579 gdb/2092.
18580 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18581 statement. Enable for GCC. Update expected output for some tests
18582 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18583 layout.
18584 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18585 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18586 (Diamond::vget_base): New.
18587 (main): Add new tests.
18588 * gdb.cp/printmethod.exp: Update expected output for member functions.
18589 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18590 print pEe->D::vg().
18591
18592 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18593
18594 * gdb.threads/tls.exp: Allow stops in sem_post.
18595
18596 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18597
18598 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18599 * gdb.base/annota3.exp: Likewise.
18600 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18601 again (instead of timing out).
18602 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18603 GCC bug 26475.
18604 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18605 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18606 test from jmisc1.exp.
18607 * gdb.java/jmisc1.exp: Delete.
18608 * gdb.java/jprint.exp: Adjust to work with method signatures including
18609 return types.
18610 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18611 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18612 * lib/java.exp (compile_java_from_source): Pass the correct type
18613 to target_compile.
18614
18615 2006-12-31 Joel Brobecker <brobecker@adacore.com>
18616
18617 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18618 (stack_align_edx): New function.
18619 (stack_align_eax): New function.
18620 (main): Add calls to stack_align_edx and stack_align_eax.
18621 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18622 Add testing for the cases where the register used during a stack
18623 realignment is edx. Same for eax.
18624
18625 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18626
18627 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18628 and generic PE targets.
18629
18630 2006-12-29 Joel Brobecker <brobecker@adacore.com>
18631
18632 * gdb.ada/array_return.exp: Update copyright date list.
18633
18634 2006-12-27 Joel Brobecker <brobecker@adacore.com>
18635
18636 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18637 (Create_Small_Float_Vector): New function.
18638 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18639 function body.
18640 * gdb.ada/array_return/p.adb: Use new type and function from
18641 package Pck.
18642 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18643 able to print the value returned by a function returning an
18644 array of float.
18645
18646 2006-12-20 Joel Brobecker <brobecker@adacore.com>
18647
18648 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18649 The associated tests should be PASSing.
18650
18651 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18652
18653 Test for base in references.
18654 * gdb.mi/mi-var-cp.cc: Add test code.
18655 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18656 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18657 * gdb.mi/mi2-watch.exp: Likewise.
18658 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18659 (mi_list_varobj_children): New function.
18660
18661 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18662
18663 * lib/mi-support.exp
18664 (mi_runto): Accept "()" after function name.
18665 (mi_create_varobj): New function.
18666 (mi_varobj_update): New function.
18667 (mi_Check_varobj_value): New function.
18668 * gdb.mi/mi-var-cp.exp: New file.
18669 * gdb.mi/mi-var-cp.cc: New file.
18670
18671 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18672
18673 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18674 gdb.base/weaklib2.c: New files.
18675
18676 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
18677
18678 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18679 info. Adjust test names.
18680
18681 * gdb.base/break.c (main): Move position of malloc.
18682 * gdb.base/break.exp: Revert mistaken checkin.
18683
18684 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18685
18686 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18687 assignement of arrays and function pointers.
18688 * gdb.mi/var-cmd.c: Add declaration necessary for above
18689 tests.
18690
18691 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18692
18693 * gdb.base/break.c (main): Call malloc.
18694
18695 * gdb.threads/linux-dp.exp: Read thread table before and after
18696 creating each philosopher and verify it.
18697
18698 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18699 Paul Brook <paul@codesourcery.com>
18700 Daniel Jacobowitz <dan@codesourcery.com>
18701
18702 * gdb.base/ending-run.exp: Flatten expect script stepping out of
18703 main to remove duplication. Add start function of the form
18704 '_*start[1-9]*'. Add RVDS start function.
18705
18706 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18707
18708 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18709
18710 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18711
18712 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18713 * gdb.asm/spu.inc: New file.
18714 * gdb.base/term.exp: Disable if [target_info exists noargs].
18715 * gdb.gdb/complaints.exp: Disable if ![isnative].
18716 * gdb.gdb/selftest.exp: Likewise.
18717 * gdb.gdb/observer.exp: Likewise.
18718 * gdb.gdb/xfullpath.exp: Likewise.
18719 * gdb.base/attach.exp: Disable on SPU target.
18720 * gdb.cp/bs145503.exp: Likewise.
18721 * gdb.cp/exception.exp: Likewise.
18722 * gdb.cp/userdef.exp: Likewise.
18723
18724 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18725
18726 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18727
18728 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18729
18730 * gdb.base/completion.exp: Fix completion tests for
18731 'info' and 'info '.
18732 * gdb.base/help.exp (help_test_raw, test_class_help)
18733 (test_prefix_command_help): Move...
18734 * lib/gdb.exp: Here.
18735 * gdb.base/main.exp: Adjust.
18736 * gdb.cp/maint.exp: Adjust.
18737 * gdb.trace/tracecmd.exp: Use test_help_class.
18738
18739 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18740
18741 * gdb.stabs/weird.exp (print_weird_var): Use
18742 gdb_test_multiple instead of gdb_expect.
18743
18744 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18745
18746 * gdb.base/help.exp (help_test_raw): New.
18747 (test_class_help): New.
18748 (test_prefix_command_help): New.
18749 Adjust testcases.
18750
18751 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
18752
18753 * gdb.base/constvars.c (main): Write to crass and crips, so that
18754 they are allocated by the compiler.
18755
18756 2006-10-27 Andreas Schwab <schwab@suse.de>
18757
18758 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18759 "detach-fork".
18760
18761 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18762
18763 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18764 of patterns.
18765
18766 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18767
18768 * gdb.base/sepdebug.exp: Remove debug format test.
18769 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18770 Handle no-symtab.
18771 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18772
18773 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18774
18775 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18776 int to pointer or pointer to int.
18777 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18778
18779 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18780
18781 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18782
18783 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18784
18785 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18786
18787 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18788
18789 PR c++/2116
18790 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18791
18792 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18793
18794 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18795 the corresponding bug has been fixed in GDB (PR/2018).
18796
18797 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18798
18799 * gdb.base/subst.exp: New testcase.
18800
18801 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18802
18803 * gdb.ada/array_return/pck.ads: Add copyright notice.
18804 * gdb.ada/array_return/pck.adb: Likewise.
18805 * gdb.ada/array_return/p.adb: Likewise.
18806 * gdb.ada/exec_changed/first.adb: Likewise.
18807 * gdb.ada/exec_changed/second.adb: Likewise.
18808
18809 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18810
18811 * gdb.ada/watch_arg/watch.adb: New file.
18812 * gdb.ada/watch_arg.exp: New testcase.
18813
18814 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18815
18816 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
18817 via string_to_regexp.
18818 * gdb.mi/mi2-basics.exp: Likewise.
18819
18820 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
18821
18822 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18823 Remove unused / obsolete files.
18824
18825 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
18826
18827 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18828
18829 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18830
18831 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18832 HIGH_FRAME argument to -stack-list-arguments can be larger than
18833 the number of frames.
18834
18835 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18836
18837 * gdb.base/args.c (main): Add breakpoint marker.
18838 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18839 really test empty arguments.
18840 (args_load): Delete.
18841 (args_test): New.
18842
18843 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
18844
18845 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
18846 check for one file.
18847
18848 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18849
18850 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18851 HIGH_FRAME argument to -stack-list-locals can be larger than
18852 the number of frames.
18853
18854 2006-08-18 Fred Fish <fnf@specifix.com>
18855
18856 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18857 '$' in front of skip_vmx_tests_saved when setting that.
18858
18859 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18860
18861 * gdb.base/trace-commands.exp: New file.
18862
18863 2006-08-10 Joel Brobecker <brobecker@adacore.com>
18864 Daniel Jacobowitz <dan@codesourcery.com>
18865
18866 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18867 expected output of the backtrace commands.
18868
18869 2006-08-09 Joel Brobecker <brobecker@adacore.com>
18870
18871 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18872 untested followed by return combination.
18873 * gdb.arch/altivec-regs.exp: Likewise.
18874 * gdb.arch/e500-abi.exp: Likewise.
18875 * gdb.arch/e500-regs.exp: Likewise.
18876 * gdb.arch/gdb1291.exp: Likewise.
18877 * gdb.arch/gdb1431.exp: Likewise.
18878 * gdb.arch/gdb1558.exp: Likewise.
18879 * gdb.arch/i386-prologue.exp: Likewise.
18880 * gdb.arch/i386-unwind.exp: Likewise.
18881 * gdb.asm/asm-source.exp: Likewise.
18882 * gdb.base/a2-run.exp: Likewise.
18883 * gdb.base/advance.exp: Likewise.
18884 * gdb.base/all-bin.exp: Likewise.
18885 * gdb.base/annota1.exp: Likewise.
18886 * gdb.base/annota3.exp: Likewise.
18887 * gdb.base/args.exp: Likewise.
18888 * gdb.base/arithmet.exp: Likewise.
18889 * gdb.base/assign.exp: Likewise.
18890 * gdb.base/async.exp: Likewise.
18891 * gdb.base/attach.exp: Likewise.
18892 * gdb.base/bang.exp: Likewise.
18893 * gdb.base/bigcore.exp: Likewise.
18894 * gdb.base/bitfields.exp: Likewise.
18895 * gdb.base/bitfields2.exp: Likewise.
18896 * gdb.base/break.exp: Likewise.
18897 * gdb.base/call-sc.exp: Likewise.
18898 * gdb.base/call-strs.exp: Likewise.
18899 * gdb.base/callfuncs.exp: Likewise.
18900 * gdb.base/checkpoint.exp: Likewise.
18901 * gdb.base/chng-syms.exp: Likewise.
18902 * gdb.base/code-expr.exp: Likewise.
18903 * gdb.base/commands.exp: Likewise.
18904 * gdb.base/completion.exp: Likewise.
18905 * gdb.base/cond-expr.exp: Likewise.
18906 * gdb.base/condbreak.exp: Likewise.
18907 * gdb.base/consecutive.exp: Likewise.
18908 * gdb.base/constvars.exp: Likewise.
18909 * gdb.base/corefile.exp: Likewise.
18910 * gdb.base/cvexpr.exp: Likewise.
18911 * gdb.base/dbx.exp: Likewise.
18912 * gdb.base/define.exp: Likewise.
18913 * gdb.base/detach.exp: Likewise.
18914 * gdb.base/display.exp: Likewise.
18915 * gdb.base/dump.exp: Likewise.
18916 * gdb.base/ena-dis-br.exp: Likewise.
18917 * gdb.base/ending-run.exp: Likewise.
18918 * gdb.base/environ.exp: Likewise.
18919 * gdb.base/eval-skip.exp: Likewise.
18920 * gdb.base/exprs.exp: Likewise.
18921 * gdb.base/fileio.exp: Likewise.
18922 * gdb.base/finish.exp: Likewise.
18923 * gdb.base/float.exp: Likewise.
18924 * gdb.base/foll-exec.exp: Likewise.
18925 * gdb.base/foll-fork.exp: Likewise.
18926 * gdb.base/foll-vfork.exp: Likewise.
18927 * gdb.base/freebpcmd.exp: Likewise.
18928 * gdb.base/funcargs.exp: Likewise.
18929 * gdb.base/gcore.exp: Likewise.
18930 * gdb.base/gdb1090.exp: Likewise.
18931 * gdb.base/gdb1250.exp: Likewise.
18932 * gdb.base/huge.exp: Likewise.
18933 * gdb.base/info-proc.exp: Likewise.
18934 * gdb.base/interrupt.exp: Likewise.
18935 * gdb.base/jump.exp: Likewise.
18936 * gdb.base/langs.exp: Likewise.
18937 * gdb.base/lineinc.exp: Likewise.
18938 * gdb.base/list.exp: Likewise.
18939 * gdb.base/logical.exp: Likewise.
18940 * gdb.base/long_long.exp: Likewise.
18941 * gdb.base/macscp.exp: Likewise.
18942 * gdb.base/maint.exp: Likewise.
18943 * gdb.base/mips_pro.exp: Likewise.
18944 * gdb.base/miscexprs.exp: Likewise.
18945 * gdb.base/multi-forks.exp: Likewise.
18946 * gdb.base/opaque.exp: Likewise.
18947 * gdb.base/overlays.exp: Likewise.
18948 * gdb.base/pc-fp.exp: Likewise.
18949 * gdb.base/pointers.exp: Likewise.
18950 * gdb.base/printcmds.exp: Likewise.
18951 * gdb.base/psymtab.exp: Likewise.
18952 * gdb.base/ptype.exp: Likewise.
18953 * gdb.base/recurse.exp: Likewise.
18954 * gdb.base/relational.exp: Likewise.
18955 * gdb.base/relocate.exp: Likewise.
18956 * gdb.base/remote.exp: Likewise.
18957 * gdb.base/reread.exp: Likewise.
18958 * gdb.base/restore.exp: Likewise.
18959 * gdb.base/return.exp: Likewise.
18960 * gdb.base/return2.exp: Likewise.
18961 * gdb.base/scope.exp: Likewise.
18962 * gdb.base/sect-cmd.exp: Likewise.
18963 * gdb.base/sep.exp: Likewise.
18964 * gdb.base/sepdebug.exp: Likewise.
18965 * gdb.base/setshow.exp: Likewise.
18966 * gdb.base/setvar.exp: Likewise.
18967 * gdb.base/sigall.exp: Likewise.
18968 * gdb.base/sigbpt.exp: Likewise.
18969 * gdb.base/signals.exp: Likewise.
18970 * gdb.base/signull.exp: Likewise.
18971 * gdb.base/sizeof.exp: Likewise.
18972 * gdb.base/solib.exp: Likewise.
18973 * gdb.base/step-line.exp: Likewise.
18974 * gdb.base/step-test.exp: Likewise.
18975 * gdb.base/structs.exp: Likewise.
18976 * gdb.base/structs2.exp: Likewise.
18977 * gdb.base/term.exp: Likewise.
18978 * gdb.base/twice.exp: Likewise.
18979 * gdb.base/until.exp: Likewise.
18980 * gdb.base/varargs.exp: Likewise.
18981 * gdb.base/volatile.exp: Likewise.
18982 * gdb.base/watchpoint.exp: Likewise.
18983 * gdb.base/whatis-exp.exp: Likewise.
18984 * gdb.base/whatis.exp: Likewise.
18985 * gdb.cp/ambiguous.exp: Likewise.
18986 * gdb.cp/annota2.exp: Likewise.
18987 * gdb.cp/annota3.exp: Likewise.
18988 * gdb.cp/bool.exp: Likewise.
18989 * gdb.cp/breakpoint.exp: Likewise.
18990 * gdb.cp/casts.exp: Likewise.
18991 * gdb.cp/class2.exp: Likewise.
18992 * gdb.cp/classes.exp: Likewise.
18993 * gdb.cp/cplusfuncs.exp: Likewise.
18994 * gdb.cp/ctti.exp: Likewise.
18995 * gdb.cp/derivation.exp: Likewise.
18996 * gdb.cp/exception.exp: Likewise.
18997 * gdb.cp/gdb1355.exp: Likewise.
18998 * gdb.cp/hang.exp: Likewise.
18999 * gdb.cp/inherit.exp: Likewise.
19000 * gdb.cp/local.exp: Likewise.
19001 * gdb.cp/m-data.exp: Likewise.
19002 * gdb.cp/m-static.exp: Likewise.
19003 * gdb.cp/member-ptr.exp: Likewise.
19004 * gdb.cp/method.exp: Likewise.
19005 * gdb.cp/misc.exp: Likewise.
19006 * gdb.cp/namespace.exp: Likewise.
19007 * gdb.cp/overload.exp: Likewise.
19008 * gdb.cp/ovldbreak.exp: Likewise.
19009 * gdb.cp/pr-1023.exp: Likewise.
19010 * gdb.cp/pr-1210.exp: Likewise.
19011 * gdb.cp/pr-574.exp: Likewise.
19012 * gdb.cp/printmethod.exp: Likewise.
19013 * gdb.cp/psmang.exp: Likewise.
19014 * gdb.cp/ref-params.exp: Likewise.
19015 * gdb.cp/ref-types.exp: Likewise.
19016 * gdb.cp/rtti.exp: Likewise.
19017 * gdb.cp/templates.exp: Likewise.
19018 * gdb.cp/try_catch.exp: Likewise.
19019 * gdb.cp/userdef.exp: Likewise.
19020 * gdb.cp/virtfunc.exp: Likewise.
19021 * gdb.disasm/am33.exp: Likewise.
19022 * gdb.disasm/h8300s.exp: Likewise.
19023 * gdb.disasm/mn10300.exp: Likewise.
19024 * gdb.disasm/sh3.exp: Likewise.
19025 * gdb.disasm/t01_mov.exp: Likewise.
19026 * gdb.disasm/t02_mova.exp: Likewise.
19027 * gdb.disasm/t03_add.exp: Likewise.
19028 * gdb.disasm/t04_sub.exp: Likewise.
19029 * gdb.disasm/t05_cmp.exp: Likewise.
19030 * gdb.disasm/t06_ari2.exp: Likewise.
19031 * gdb.disasm/t07_ari3.exp: Likewise.
19032 * gdb.disasm/t08_or.exp: Likewise.
19033 * gdb.disasm/t09_xor.exp: Likewise.
19034 * gdb.disasm/t10_and.exp: Likewise.
19035 * gdb.disasm/t11_logs.exp: Likewise.
19036 * gdb.disasm/t12_bit.exp: Likewise.
19037 * gdb.disasm/t13_otr.exp: Likewise.
19038 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
19039 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
19040 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19041 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
19042 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
19043 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
19044 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
19045 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
19046 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
19047 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
19048 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
19049 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
19050 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
19051 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
19052 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
19053 * gdb.mi/gdb701.exp: Likewise.
19054 * gdb.mi/gdb792.exp: Likewise.
19055 * gdb.mi/mi-basics.exp: Likewise.
19056 * gdb.mi/mi-break.exp: Likewise.
19057 * gdb.mi/mi-cli.exp: Likewise.
19058 * gdb.mi/mi-console.exp: Likewise.
19059 * gdb.mi/mi-disassemble.exp: Likewise.
19060 * gdb.mi/mi-eval.exp: Likewise.
19061 * gdb.mi/mi-file.exp: Likewise.
19062 * gdb.mi/mi-read-memory.exp: Likewise.
19063 * gdb.mi/mi-regs.exp: Likewise.
19064 * gdb.mi/mi-return.exp: Likewise.
19065 * gdb.mi/mi-simplerun.exp: Likewise.
19066 * gdb.mi/mi-stack.exp: Likewise.
19067 * gdb.mi/mi-stepi.exp: Likewise.
19068 * gdb.mi/mi-syn-frame.exp: Likewise.
19069 * gdb.mi/mi-until.exp: Likewise.
19070 * gdb.mi/mi-var-block.exp: Likewise.
19071 * gdb.mi/mi-var-child.exp: Likewise.
19072 * gdb.mi/mi-var-cmd.exp: Likewise.
19073 * gdb.mi/mi-var-display.exp: Likewise.
19074 * gdb.mi/mi-watch.exp: Likewise.
19075 * gdb.mi/mi2-basics.exp: Likewise.
19076 * gdb.mi/mi2-break.exp: Likewise.
19077 * gdb.mi/mi2-cli.exp: Likewise.
19078 * gdb.mi/mi2-console.exp: Likewise.
19079 * gdb.mi/mi2-disassemble.exp: Likewise.
19080 * gdb.mi/mi2-eval.exp: Likewise.
19081 * gdb.mi/mi2-file.exp: Likewise.
19082 * gdb.mi/mi2-read-memory.exp: Likewise.
19083 * gdb.mi/mi2-regs.exp: Likewise.
19084 * gdb.mi/mi2-return.exp: Likewise.
19085 * gdb.mi/mi2-simplerun.exp: Likewise.
19086 * gdb.mi/mi2-stack.exp: Likewise.
19087 * gdb.mi/mi2-stepi.exp: Likewise.
19088 * gdb.mi/mi2-syn-frame.exp: Likewise.
19089 * gdb.mi/mi2-until.exp: Likewise.
19090 * gdb.mi/mi2-var-block.exp: Likewise.
19091 * gdb.mi/mi2-var-child.exp: Likewise.
19092 * gdb.mi/mi2-var-cmd.exp: Likewise.
19093 * gdb.mi/mi2-var-display.exp: Likewise.
19094 * gdb.mi/mi2-watch.exp: Likewise.
19095 * gdb.stabs/exclfwd.exp: Likewise.
19096 * gdb.stabs/weird.exp: Likewise.
19097 * gdb.threads/gcore-thread.exp: Likewise.
19098 * gdb.trace/actions.exp: Likewise.
19099 * gdb.trace/backtrace.exp: Likewise.
19100 * gdb.trace/circ.exp: Likewise.
19101 * gdb.trace/collection.exp: Likewise.
19102 * gdb.trace/deltrace.exp: Likewise.
19103 * gdb.trace/infotrace.exp: Likewise.
19104 * gdb.trace/limits.exp: Likewise.
19105 * gdb.trace/packetlen.exp: Likewise.
19106 * gdb.trace/passc-dyn.exp: Likewise.
19107 * gdb.trace/passcount.exp: Likewise.
19108 * gdb.trace/report.exp: Likewise.
19109 * gdb.trace/save-trace.exp: Likewise.
19110 * gdb.trace/tfind.exp: Likewise.
19111 * gdb.trace/tracecmd.exp: Likewise.
19112 * gdb.trace/while-dyn.exp: Likewise.
19113 * gdb.trace/while-stepping.exp: Likewise.
19114
19115 2006-08-08 Joel Brobecker <brobecker@adacore.com>
19116
19117 * gdb.base/step-bt.c: New file.
19118 * gdb.base/step-bt.exp: New testcase.
19119
19120 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
19121
19122 * config/monitor.exp (gdb_load): Remove support for obsolete
19123 download-write-size.
19124 * gdb.base/remote.exp: Likewise. Update all callers of
19125 gdb_timed_load.
19126
19127 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
19128
19129 * cursal.exp: Pass binfile to gdb_load.
19130
19131 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
19132
19133 * gdb.base/cursal.exp: Add "" to gdb_load call.
19134
19135 2006-07-29 Mark Kettenis <kettenis@gnu.org>
19136
19137 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
19138 NetBSD/ELF targets.
19139
19140 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
19141
19142 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
19143 operator*.
19144
19145 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
19146
19147 * gdb.base/completion.exp: Update for change in "file" behavior.
19148 * gdb.stabs/weird.exp: Likewise.
19149 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
19150 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
19151
19152 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
19153
19154 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
19155 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
19156
19157 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
19158
19159 * gdb.base/default.exp: Update source command error message.
19160 * gdb.base/help.exp: Update 'help source' message.
19161
19162 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
19163
19164 * gdb.cp/bs15503.exp: Update comment for no longer crashing
19165 test.
19166
19167 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
19168
19169 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
19170
19171 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19172
19173 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
19174
19175 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19176
19177 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
19178
19179 2006-07-17 Mark Kettenis <kettenis@gnu.org>
19180
19181 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
19182 *-*-openbsd* from targets for wich we expect ARM FPA floating
19183 point format.
19184
19185 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
19186
19187 * gdb.cp/annota3.exp: Expect frame-begin annotation.
19188
19189 2006-07-17 Mark Kettenis <kettenis@gnu.org>
19190
19191 * gdb.base/annota3.exp: Expect frame-begin annotation.
19192
19193 2006-07-14 Joel Brobecker <brobecker@adacore.com>
19194
19195 * gdb.base/help.exp: Adjust "help unset" test to accept
19196 any list of unset commands.
19197
19198 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
19199 Daniel Jacobowitz <dan@codesourcery.com>
19200
19201 * gdb.cp/ref-params.exp: New test.
19202 * gdb.cp/ref-params.cc: New source file.
19203 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
19204
19205 2006-07-08 Mark Kettenis <kettenis@gnu.org>
19206
19207 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
19208 spaces/tabs in regular expressions since they might not be there.
19209
19210 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
19211
19212 * gdb.base/ifelse.exp: New file.
19213
19214 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
19215
19216 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
19217 line.
19218 * gdb.base/huge.exp: Loop over compilation to find a size that
19219 is acceptable.
19220 * gdb.base/remote.exp: Correct expected strings.
19221 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
19222
19223 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19224
19225 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
19226
19227 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19228
19229 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
19230 native.
19231
19232 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19233
19234 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
19235 enable stabs testing.
19236
19237 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19238
19239 * gdb.base/auxv.exp: Intercept undefined command messages before
19240 gdb_test_multiple does.
19241
19242 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19243
19244 * Makefile.in (host_alias): Remove.
19245 (target_alias): Use @target_noncanonical@.
19246 (site.exp): Don't set host_alias.
19247 * aclocal.m4: Remove contents. Include acx.m4.
19248 * configure: Regenerated.
19249 * configure.ac: Use ACX_NONCANONICAL_TARGET.
19250
19251 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
19252
19253 * lib/gdb.exp (gdb_load_cmd): New.
19254
19255 * gdb.base/fileio.c: Add system(NULL) test.
19256 * gdb.base/fileio.exp: Check it.
19257
19258 * gdb.base/break.c: Add 10a breakpoint at }
19259 * gdb.base/break.exp: Add test for breakpoint at }
19260 * gdb.cp/anon-union.cc: Add code at end of function.
19261 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
19262 * gdb.mi/var-cmd.c: Add code at end of function.
19263 * gdb.mi/mi-var-display.exp: Adjust end of next.
19264 * gdb.mi/mi2-var-display.exp: Likewise.
19265 * gdb.base/fileio.c: Add stop function and insert calls at
19266 stopping places.
19267 * gdb.base/fileio.exp: Breakpoint stop function and remove
19268 explicit line number references.
19269
19270 2006-05-19 Joel Brobecker <brobecker@adacore.com>
19271
19272 * gdb.base/del.exp (test_delete_alias): New function.
19273 Now check that both "del" and "d" work as aliases for "delete".
19274
19275 2006-05-18 Fred Fish <fnf@specifix.com>
19276
19277 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
19278 required. Check for spurious output after program exits normally.
19279
19280 2006-05-17 Fred Fish <fnf@specifix.com>
19281
19282 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
19283 gdb_load, so it works in the simulator.
19284
19285 2006-05-11 Fred Fish <fnf@specifix.com>
19286
19287 * gdb.base/bang.exp: Ignore unexpected output between the
19288 "program exited normally" and the gdb prompt, as many other
19289 tests do.
19290
19291 2006-05-07 Mark Kettenis <kettenis@gnu.org>
19292
19293 * gdb.base/help.exp: Make "delete checkpoint" part option for
19294 "help d" and "help delete" tests.
19295
19296 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19297
19298 * gdb.mi/mi-basics.exp: Add missing serial number to
19299 expected output in some mi_gdb_test statements.
19300 * gdb.mi/mi2-basics.exp: Likewise.
19301
19302 2006-05-05 Joel Brobecker <brobecker@adacore.com>
19303
19304 * gdb.base/del.c: New file.
19305 * gdb.base/del.exp: New testcase.
19306
19307 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
19308
19309 * gdb.base/break.exp: Do not assume a breakpoint on
19310 main will actually be in $srcfile when optimizing.
19311 * gdb.base/savedregs.exp: Do not require that the dummy
19312 frame location match up to a symbol and source file location.
19313 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
19314 will get printed without a mi_cmd_data_list_register_values prefix.
19315 (*-data-list-register-*): Correct regular expressions to expect the new
19316 pseudo d? floating point registers.
19317 * gdb.mi/mi2-regs.exp: Likewise.
19318
19319 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
19320
19321 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
19322 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
19323 is allocated by the compiler.
19324 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
19325 anons, e, anone to force their allocation by the compiler.
19326
19327 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
19328
19329 * gdb.base/help.exp: Update expected text for help d and
19330 help delete.
19331
19332 2006-05-02 Mark Kettenis <kettenis@gnu.org>
19333
19334 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
19335 NetBSD/ELF targets.
19336
19337 2006-04-30 Mark Kettenis <kettenis@gnu.org>
19338
19339 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
19340 single-step breakpoint fails; make this a KFAIL on
19341 sparc*-*-openbsd*.
19342 * gdb.base/siginfo.exp: Likewise.
19343 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19344
19345 2006-04-26 Michael Snyder <msnyder@redhat.com>
19346
19347 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
19348 which may have to consume output from other forks.
19349 Add tests to make sure that "delete fork" succeeded.
19350
19351 2006-04-20 Michael Snyder <msnyder@redhat.com>
19352
19353 * 2006-03-22 Jim Blandy <jimb@redhat.com>
19354 Add support for the Renesas M32C and M16C.
19355
19356 * gdb.asm/asm-source.exp: Add m32c target.
19357 * gdb.asm/m32c.inc: Support for m32c target.
19358
19359 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
19360
19361 * gdb.base/commands.exp (recursive_source_test): New test.
19362
19363 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
19364
19365 * gdb.base/float.exp: Add pattern for sparc targets.
19366
19367 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19368
19369 * gdb.base/commands.exp (stray_arg0_test): New test.
19370
19371 2006-03-30 Paul Brook <paul@codesourcery.com>
19372
19373 * gdb.mi/mi-until.exp: kfail broken until command.
19374 * gdb.mi/mi2-until.exp: Ditto.
19375
19376 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
19377
19378 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
19379
19380 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
19381
19382 * gdb.base/prelink.exp: Anchor tested-for regular expression
19383 on gdb prompt.
19384
19385 2006-03-07 Paul Brook <paul@codesourcery.com>
19386
19387 * gdb.base/assign.exp: Correct fail message.
19388
19389 2006-03-07 Paul Brook <paul@codesourcery.com>
19390
19391 * lib/compiler.c: Extract armcc version number.
19392 * lib/compiler.cc: Ditto.
19393
19394 2006-03-07 Paul Brook <paul@codesourcery.com>
19395
19396 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
19397 additional_flags=-w.
19398 * gdb.arch/altivec-regs.exp: Ditto.
19399 * gdb.arch/e500-abi.exp: Ditto.
19400 * gdb.arch/e500-regs.exp: Ditto.
19401 * gdb.base/all-bin.exp: Ditto.
19402 * gdb.base/annota1.exp: Ditto.
19403 * gdb.base/annota3.exp: Ditto.
19404 * gdb.base/args.exp: Ditto.
19405 * gdb.base/arithmet.exp: Ditto.
19406 * gdb.base/assign.exp: Ditto.
19407 * gdb.base/async.exp: Ditto.
19408 * gdb.base/bang.exp: Ditto.
19409 * gdb.base/break.exp: Ditto.
19410 * gdb.base/call-rt-st.exp: Ditto.
19411 * gdb.base/completion.exp: Ditto.
19412 * gdb.base/cond-expr.exp: Ditto.
19413 * gdb.base/condbreak.exp: Ditto.
19414 * gdb.base/consecutive.exp: Ditto.
19415 * gdb.base/define.exp: Ditto.
19416 * gdb.base/display.exp: Ditto.
19417 * gdb.base/ena-dis-br.exp: Ditto.
19418 * gdb.base/environ.exp: Ditto.
19419 * gdb.base/eval-skip.exp: Ditto.
19420 * gdb.base/info-proc.exp: Ditto.
19421 * gdb.base/jump.exp: Ditto.
19422 * gdb.base/logical.exp: Ditto.
19423 * gdb.base/long_long.exp: Ditto.
19424 * gdb.base/maint.exp: Ditto.
19425 * gdb.base/miscexprs.exp: Ditto.
19426 * gdb.base/pc-fp.exp: Ditto.
19427 * gdb.base/pointers.exp: Ditto.
19428 * gdb.base/relational.exp: Ditto.
19429 * gdb.base/reread.exp: Ditto.
19430 * gdb.base/sect-cmd.exp: Ditto.
19431 * gdb.base/sep.exp: Ditto.
19432 * gdb.base/sepdebug.exp: Ditto.
19433 * gdb.base/until.exp: Ditto.
19434 * gdb.base/whatis-exp.exp: Ditto.
19435 * gdb.cp/annota2.exp: Ditto.
19436 * gdb.cp/annota3.exp: Ditto.
19437 * gdb.trace/actions.exp: Ditto.
19438 * gdb.trace/backtrace.exp: Ditto.
19439 * gdb.trace/circ.exp: Ditto.
19440 * gdb.trace/collection.exp: Ditto.
19441 * gdb.trace/deltrace.exp: Ditto.
19442 * gdb.trace/infotrace.exp: Ditto.
19443 * gdb.trace/limits.exp: Ditto.
19444 * gdb.trace/packetlen.exp: Ditto.
19445 * gdb.trace/passc-dyn.exp: Ditto.
19446 * gdb.trace/passcount.exp: Ditto.
19447 * gdb.trace/report.exp: Ditto.
19448 * gdb.trace/save-trace.exp: Ditto.
19449 * gdb.trace/tfind.exp: Ditto.
19450 * gdb.trace/tracecmd.exp: Ditto.
19451 * gdb.trace/while-dyn.exp: Ditto.
19452 * gdb.trace/while-stepping.exp: Ditto.
19453 * lib/gdb.exp: Ditto.
19454 (gdb_compile): Handle nowarning option.
19455
19456 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
19457
19458 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
19459 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
19460 Rename executable to prelinkt. Don't re-prelink if we didn't
19461 get a core file. Test prelink -u exit status to tell whether
19462 prelinking failed. Use gdb_test_multiple.
19463
19464 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
19465
19466 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
19467 (do_tests): Call it.
19468
19469 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
19470
19471 * gdb.base/prelink.exp: New test.
19472 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
19473
19474 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
19475
19476 * gdb.fortran/derived-type.f90: New file.
19477 * gdb.fortran/derived-type.exp: New testcase.
19478
19479 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19480
19481 * gdb.base/default.exp: Allow ';' as a directory separator.
19482
19483 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19484
19485 * gdb.base/help.exp (help add-symbol-file): Update.
19486
19487 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19488
19489 * gdb.base/help.exp (help load): Update expected results.
19490
19491 2006-02-19 Fred Fish <fnf@specifix.com>
19492
19493 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19494 specifix hex value as part of results.
19495 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
19496
19497 2006-02-16 Fred Fish <fnf@specifix.com>
19498
19499 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19500 ushort_addr, and slong_addr, so the typedefs are not optimized
19501 away.
19502 * gdb.base/whatis.exp: Add tests using type name for struct type,
19503 union type, enum type, and typedef.
19504
19505 2006-02-13 Mark Kettenis <kettenis@gnu.org>
19506
19507 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19508
19509 2006-02-13 Jim Blandy <jimb@redhat.com>
19510
19511 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19512 case where it takes two "next" commands to skip past the init
19513 call.
19514
19515 2006-02-12 Fred Fish <fnf@specifix.com>
19516
19517 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19518 to handle cases where it takes two "next" commands to skip
19519 past the init call.
19520
19521 2006-02-07 Joel Brobecker <brobecker@adacore.com>
19522
19523 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19524 on hppa32 targets.
19525
19526 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
19527
19528 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19529 field.
19530
19531 2006-01-29 Mark Kettenis <kettenis@gnu.org>
19532
19533 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19534
19535 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19536
19537 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19538 files.
19539
19540 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19541
19542 * gdb.cp/maint.exp: Set complaints to a positive value.
19543
19544 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19545
19546 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19547 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19548 function name.
19549
19550 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19551
19552 * gdb.base/checkpoint.c: Update copyright notice. Include
19553 <stdlib.h>.
19554
19555 2006-01-04 Jim Blandy <jimb@redhat.com>
19556
19557 * gdb.asm/asm-source.exp: Independently provide default values for
19558 asm-flags and debug-flags. Use 'string equal' to do the
19559 comparison, not the implicit expr's '==' operator. Remove
19560 now-unneeded assignments to asm-flags. In h8300 case, place
19561 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19562
19563 2006-01-04 Michael Snyder <msnyder@redhat.com>
19564
19565 * gdb.base/checkpoint.c: New file.
19566 * gdb.base/checkpoint.exp: New file.
19567 * gdb.base/multi-fork.c: New file.
19568 * gdb.base/multi-fork.exp: New file.
19569 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19570
19571 2006-01-04 Fred Fish <fnf@specifix.com>
19572
19573 * gdb.base/ptype.c (foo): Add typedef.
19574 (intfoo): Add function.
19575 * gdb.base/ptype1.c: New file.
19576 * gdb.base/ptype.exp: Handle compilation and linking with two
19577 source files. Test that proper type for "foo" is found based
19578 on source context rather than first match found in symtabs.
19579
19580 2005-12-28 Mark Kettenis <kettenis@gnu.org>
19581
19582 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19583 * gdb.asm/openbsd.inc: Indent commands.
19584
19585 2005-12-26 Mark Kettenis <kettenis@gnu.org>
19586
19587 * gdb.base/freebpcmd.exp: Increase timeout.
19588
19589 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19590
19591 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19592
19593 * gdb.base/default.exp: Update check for "show version".
19594
19595 2005-12-09 Randolph Chung <tausq@debian.org>
19596
19597 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19598 * gdb.asm/pa64.inc: New file.
19599
19600 2005-12-09 Randolph Chung <tausq@debian.org>
19601
19602 * gdb.asm/common.inc: Indent commands.
19603 * gdb.asm/asmsrc1.s: Likewise.
19604 * gdb.asm/asmsrc2.s: Likewise.
19605
19606 2005-12-09 Randolph Chung <tausq@debian.org>
19607
19608 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19609 (get_addr_of_sym): Remove duplicate print.
19610 (gen_core): xfail hppa*-*-hpux*, update expected output.
19611 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19612 * gdb.arch/pa64-nullify.s: New file.
19613
19614 2005-12-09 Randolph Chung <tausq@debian.org>
19615
19616 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19617
19618 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
19619
19620 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19621 code generation for these functions.
19622 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19623 error message.
19624
19625 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19626
19627 * gdb.base/help.exp (help b, help br, help bre, help brea)
19628 (help break): Update the expected message.
19629
19630 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19631
19632 * gdb.asm/m68hc11.inc: Setup the data section.
19633 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19634 script for this test.
19635 (m6812-*-*): Likewise.
19636
19637 2005-11-09 Randolph Chung <tausq@debian.org>
19638
19639 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19640
19641 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19642
19643 * gdb.base/break.exp: Fix a comment typo.
19644
19645 2005-11-03 Jim Blandy <jimb@redhat.com>
19646
19647 Checked in by Elena Zannoni <ezannoni@redhat.com>
19648
19649 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
19650
19651 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
19652
19653 * gdb.arch/gdb1558.c: Include stdio.h.
19654
19655 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19656
19657 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19658
19659 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19660
19661 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19662
19663 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19664
19665 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19666 vscr" tests to better match output.
19667
19668 2005-10-12 Jim Blandy <jimb@redhat.com>
19669
19670 * gdb.base/structs.exp (any): New function.
19671 (test_struct_returns): Don't make any assumptions at all about
19672 what value the function returns when GDB can't set the return
19673 value.
19674
19675 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19676
19677 * gdb.ada/arrayidx/p.adb: New file.
19678 * gdb.ada/arrayidx.exp: New testcase
19679
19680 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19681
19682 * gdb.ada/array_return/pck.ads: New file.
19683 * gdb.ada/array_return/pck.adb: New file.
19684 * gdb.ada/array_return/p.adb: New file.
19685 * gdb.ada/array_return.exp: New testcase.
19686
19687 2005-10-03 Joel Brobecker <brobecker@adacore.com>
19688
19689 * gdb.base/arrayidx.c: New file.
19690 * gdb.base/arrayidx.exp: New testcase.
19691
19692 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
19693
19694 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19695 frames-invalid and breakpoints-invalid are no longer generated
19696 with level 3 so don't expect them in the output.
19697
19698 2005-09-27 Bob Rossi <bob@brasko.net>
19699
19700 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
19701 from test. Escape the | in mi_gdb_test call.
19702 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19703 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19704 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19705 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19706 expected regex's in mi_gdb_test calls.
19707 * lib/mi-support.exp: Remove arbitrary .* from tests.
19708 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19709 Fully anchor GDB/MI expected results in mi_gdb_test.
19710 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19711 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19712
19713 2005-09-26 Paul Brook <paul@codesourcery.com>
19714
19715 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19716
19717 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19718
19719 * bfp-test.c: New file.
19720 * bfp-test.exp: New testcase.
19721
19722 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19723
19724 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19725 of subarray and substring variable.
19726 * gdb.fortran/subarray.f: New source file for the test of subarray
19727 and substring variable evaluation.
19728 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19729 of string constant.
19730
19731 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19732
19733 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19734 copyright dates.
19735
19736 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19737
19738 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19739 powerpc altivec' test with an almost identical 'info vector' test.
19740
19741 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19742
19743 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19744 vscr" tests to match output.
19745
19746 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19747
19748 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19749 output.
19750
19751 2005-09-11 Bob Rossi <bob@brasko.net>
19752
19753 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19754 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19755 commands that return an MI output command and an asyncronous MI output
19756 command.
19757 * gdb.mi/mi-console.exp: Ditto.
19758
19759 2005-09-11 Bob Rossi <bob@brasko.net>
19760
19761 * gdb.mi/mi-var-child.c: Include <string.h>.
19762
19763 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19764
19765 * killed.exp: Correct gdb_expect syntax.
19766
19767 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
19768
19769 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19770
19771 2005-08-02 Bob Rossi <bob@brasko.net>
19772
19773 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19774 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19775 Change tests to inferior-tty-set/show.
19776 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19777 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19778 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19779 inferior. Use mi_gdb_test to get GDB and Inferior output.
19780 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19781 descriptor.
19782 (mi_inferior_tty_name): Add inferior PTY file name.
19783 (mi_gdb_start): Add INFERIOR_PTY parameter.
19784 (mi_gdb_test): Add IPATTERN parameter.
19785
19786 2005-08-02 Bob Rossi <bob@brasko.net>
19787
19788 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19789 parameter to mi_gdb_test.
19790 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19791
19792 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19793
19794 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19795 struct_declarations.
19796 * gdb.mi/mi-var-child.exp: Step over the initialization of
19797 struct_declarations.
19798
19799 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19800
19801 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19802 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19803 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19804 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19805 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19806 file.
19807
19808 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
19809
19810 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19811 (do_children_tests): Assign values to the extra elements.
19812
19813 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19814 them for tests for "-var-update --no-values" and
19815 "-var-update --all-values".
19816 Add test for "-var-list-children --simple-values".
19817
19818 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19819
19820 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19821 "-stack-list-locals --simple-values" Improve doc strings and
19822 comments.
19823
19824 2005-07-18 Mark Kettenis <kettenis@gnu.org>
19825
19826 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19827 *-*-openbsd*.
19828 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19829
19830 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19831 sigaltsatck'.
19832
19833 2005-07-14 Bob Rossi <bob@brasko.net>
19834
19835 * gdb.base/default.exp (tty): Changed output of command.
19836 * gdb.base/help.exp (help tty): Ditto.
19837
19838 2005-07-12 Mark Kettenis <kettenis@gnu.org>
19839
19840 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19841
19842 2005-07-10 Mark Kettenis <kettenis@gnu.org>
19843
19844 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19845 -stack-select-frame without arguments.
19846 (test_stack_frame_listing): Add test for newly implemented command
19847 -stack-info-frame.
19848
19849 2005-07-06 Bob Rossi <bob@brasko.net>
19850
19851 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19852 command.
19853 (Copyright): Update copyright.
19854
19855 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19856
19857 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19858 tests to evaluate exponentiation expression.
19859
19860 2005-06-29 Andreas Schwab <schwab@suse.de>
19861
19862 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19863 main to avoid warnings.
19864
19865 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19866
19867 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
19868
19869 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19870 -stack-select-frame without arguments.
19871 (test_stack_frame_listing): Add test for newly implemented command
19872 -stack-info-frame.
19873
19874 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19875
19876 * gdb.fortran/array-element.f: New file.
19877 * gdb.fortran/array-element.exp: New testcase.
19878
19879 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19880
19881 * gdb.base/bigcore.exp: Correct checks for systems which can
19882 not dump a large core file.
19883
19884 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19885
19886 * gdb.base/relocate.c: Add a copyright notice.
19887 (dummy): Remove.
19888 * gdb.base/relocate.exp: Test printing the values of variables
19889 from a relocatable file.
19890
19891 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19892
19893 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19894 excess MI output after an error.
19895
19896 2005-05-29 Joel Brobecker <brobecker@adacore.com>
19897
19898 * gdb.arch/alpha-step.c: New file.
19899 * gdb.arch/alpha-step.exp: New testcase.
19900
19901 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19902 Dennis Brueni <dennis@slickedit.com>
19903
19904 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19905 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19906 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19907 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19908 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19909 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19910 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19911
19912 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19913 Wu Zhou <woodzltc@cn.ibm.com>
19914
19915 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19916 IBM's xlc compiler.
19917 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19918 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19919
19920 2005-05-13 Jim Blandy <jimb@redhat.com>
19921
19922 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19923 calling gdb_suppress_entire_file.
19924 * gdb.base/charset.exp: Same.
19925 * gdb.base/call-rt-st.exp: Same.
19926
19927 2005-05-05 Bob Rossi <bob_rossi@cox.net>
19928
19929 * lib/gdb.exp (fullname_syntax): Added global regex.
19930 (fullname_syntax_POSIX): Ditto.
19931 (fullname_syntax_UNC): Ditto.
19932 (fullname_syntax_DOS_CASE): Ditto.
19933 (fullname_syntax_DOS): Ditto.
19934 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19935 fullname_syntax variable to scope and use it.
19936 (test_file_list_exec_source_files): Ditto.
19937 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19938
19939 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19940
19941 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19942
19943 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19944
19945 * lib/gdb.exp (skip_altivec_tests): New function, based on
19946 check_vmx_hw_available from the GCC testsuite.
19947 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19948 * lib/gdb.arch/altivec-regs.exp: Likewise.
19949
19950 2005-05-02 Jim Blandy <jimb@redhat.com>
19951
19952 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19953 calling gdb_suppress_entire_file.
19954
19955 2005-04-30 Randolph Chung <tausq@debian.org>
19956
19957 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19958 Slightly relax "sem_post" name checking.
19959
19960 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19961
19962 * gdb.base/unload.exp: Use new shared library infrastructure.
19963
19964 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19965
19966 * gdb.base/so-impl-ld.exp: Use new shared library
19967 infrastructure.
19968
19969 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19970
19971 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19972 * gdb.asm/h8300.inc: New file.
19973
19974 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19975
19976 * gdb.base/shlib-call.exp: Change to use new shared library
19977 infrastructure.
19978
19979 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19980
19981 * gdb.base/pending.exp: Change to use new shared library
19982 infrastructure.
19983
19984 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19985
19986 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19987 use test_compiler_info instead of gcc_compiled, and update copyright.
19988
19989 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19990
19991 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19992 shared objects being adjusted and update copyright years.
19993
19994 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19995
19996 * ChangeLog: Correct some 2003-01-13 dates.
19997 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19998 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19999 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
20000 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
20001 gdb.trace/tfind.exp: Update copyright years.
20002
20003 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
20004 Daniel Jacobowitz <dan@codesourcery.com>
20005
20006 * lib/gdb.exp (gdb_compile): Handle shlib=.
20007 (gdb_compile_shlib): New function.
20008
20009 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
20010
20011 * lib/gdb.exp (test_compiler_info): Give argument a default value.
20012
20013 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20014
20015 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
20016 gdb.server.
20017 * configure.ac: Likewise.
20018 * configure: Regenerated.
20019 * gdb.gdbserver/Makefile.in: Moved to...
20020 * gdb.server/Makefile.in: ... here.
20021 * gdb.gdbserver/server.c: Moved to...
20022 * gdb.server/server.c: ... here.
20023 * gdb.gdbserver/server-run.exp: Moved to...
20024 * gdb.server/server-run.exp: ... here.
20025
20026 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20027
20028 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
20029 * configure.ac: Create gdb.gdbserver/Makefile.
20030 * configure: Regenerated.
20031 * lib/gdbserver-support.exp: New file, derived from
20032 config/gdbserver.exp.
20033 * config/gdbserver.exp: Use gdbserver-support.exp.
20034 * gdb.gdbserver/Makefile.in: New file.
20035 * gdb.gdbserver/server.c: New file.
20036 * gdb.gdbserver/server-run.exp: New file.
20037
20038 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
20039
20040 * lib/gdb.exp (test_compiler_info): Return compiler_info
20041 if no arguments are given.
20042
20043 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
20044
20045 * gdb.arch/altivec-abi.exp: Check for compiler and set
20046 use altivec' flag accordingly.
20047 * gdb.arch/altivec-regs.exp: Likewise.
20048
20049 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
20050
20051 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
20052
20053 2005-03-27 Andreas Schwab <schwab@suse.de>
20054
20055 * gdb.base/bigcore.c (main): Add missing mode argument in open
20056 call.
20057
20058 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
20059
20060 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
20061 downloads.
20062 * config/gdbserver.exp (gdb_load): Likewise.
20063
20064 2005-03-14 Paul Brook <paul@codesourcery.com>
20065
20066 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
20067 targets.
20068
20069 2005-03-09 Joel Brobecker <brobecker@adacore.com>
20070
20071 * gdb.dwarf2/dup-psym.S: New file.
20072 * gdb.dwarf2/dup-psym.exp: New testcase.
20073
20074 2005-03-09 Joel Brobecker <brobecker@adacore.com>
20075
20076 * gdb.ada/exec_changed/first.adb: New file.
20077 * gdb.ada/exec_changed/second.adb: New file.
20078 * gdb.ada/exec_changed.exp: New testcase.
20079
20080 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
20081
20082 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
20083 (A2): New class.
20084 (main): Test operator+.
20085 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
20086 breakpoint test.
20087
20088 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
20089 * gdb.base/signull.exp: Disable if gdb,nosignals.
20090 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
20091 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
20092 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
20093 * gdb.mi/mi2-console.exp: Likewise.
20094 * gdb.trace/collection.exp (run_trace_experiment): Consume the
20095 continue output at start.
20096 (gdb_collect_locals_test): Robustify regexp.
20097 * gdb.trace/passc-dyn.exp: Fix comment typo.
20098 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
20099
20100 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
20101
20102 * gdb.asm/asm-source.exp: Add iq2000 case.
20103 * gdb.asm/iq2000.inc: New file.
20104
20105 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
20106
20107 * gdb.base/command.exp: Change hardcoded value to regular expression.
20108 * gdb.base/float.exp: Add powerpc to the list of targets checked.
20109
20110 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
20111
20112 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
20113 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
20114 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
20115 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
20116 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
20117
20118 2005-03-05 Mark Kettenis <kettenis@gnu.org>
20119
20120 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
20121 changes.
20122
20123 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
20124
20125 * lib/compiler.c: Add test for IBM's xlc compiler.
20126 * lib/compiler.cc: Likewise.
20127
20128 2004-02-24 Joel Brobecker <brobecker@adacore.com>
20129
20130 * gdb.ada/fixed_points.exp: Create compilation object directory
20131 before running the test.
20132 * gdb.ada/null_record.exp: Likewise.
20133 * gdb.ada/packed_array.exp: Likewise.
20134 * gdb.ada/start.exp: Likewise.
20135
20136 2005-02-15 Joel Brobecker <brobecker@adacore.com>
20137
20138 * gdb.ada/packed_array/pa.adb: New file.
20139 * gdb.ada/packed_array.exp: New testcase.
20140
20141 2005-02-10 Mark Kettenis <kettenis@gnu.org>
20142
20143 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
20144 files.
20145
20146 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
20147 on *-*-openbsd*. Correctly match whitespace in regukar
20148 expressions.
20149
20150 2005-02-10 Daniel Jacobowitz <dan@debian.org>
20151
20152 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
20153 PR exp/1821
20154 * gdb.base/gdb1821.c: New test file.
20155 * gdb.base/gdb1821.exp: New test file.
20156
20157 2005-02-09 Joel Brobecker <brobecker@adacore.com>
20158
20159 * gdb.base/start.c: New file.
20160 * gdb.base/start.exp: New testcase.
20161
20162 2005-02-09 Joel Brobecker <brobecker@adacore.com>
20163
20164 * gdb.ada/start/dummy.adb: New file.
20165 * gdb.ada/start.exp: New testcase.
20166
20167 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
20168
20169 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
20170 for printing symbols and statistics.
20171 Add test for using relative pathnames in "maint print msymbols" test.
20172 Mark "maint info sections DATA" XFAIL on Cygwin.
20173 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
20174 tests.
20175
20176 2005-02-09 Andreas Schwab <schwab@suse.de>
20177
20178 Committed by Andrew Cagney <cagney@gnu.org>
20179 * gdb.base/remotetimeout.exp: New file.
20180
20181 2005-02-07 Mark Kettenis <kettenis@gnu.org>
20182
20183 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
20184
20185 2005-02-03 Joel Brobecker <brobecker@adacore.com>
20186
20187 * gdb.ada/gnat_ada.gpr: New file.
20188 * gdb.ada/gnat_ada.gin: Delete, no longer used.
20189 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
20190 * configure.ac: No longer generate gnat_ada.gpr.
20191 * configure: Regenerate.
20192 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
20193 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
20194 * gdb.ada/null_record/bar.ads: Likewise.
20195 * gdb.ada/null_record/bar.adb: Likewise.
20196 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
20197 * gdb.ada/null_record.exp (testdir): New variable.
20198 (testfile): executable is now in testdir subdirectory.
20199 (srcfile): Use full path to the main compilation unit.
20200 * gdb.ada/fixed_points.exp: Same changes as above.
20201
20202 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
20203
20204 * gdb.base/interp.exp: New test.
20205
20206 2005-01-24 Andrew Cagney <cagney@gnu.org>
20207
20208 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
20209
20210 2005-01-19 Andrew Cagney <cagney@gnu.org>
20211
20212 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
20213 configure.ac not configure.in.
20214
20215 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
20216 of powerpc*-*-*.
20217 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
20218 * gdb.base/list.exp (test_list_function)
20219 (test_list_filename_and_function): Ditto.
20220 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
20221
20222 2005-01-16 Andrew Cagney <cagney@gnu.org>
20223
20224 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
20225
20226 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
20227
20228 2005-01-14 Andrew Cagney <cagney@gnu.org>
20229
20230 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
20231 * gdb.mi/mi2-var-cmd.exp: Ditto.
20232
20233 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
20234
20235 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
20236
20237 2005-01-07 Andrew Cagney <cagney@gnu.org>
20238
20239 * configure.ac: Rename configure.in, require autoconf 2.59.
20240 * configure: Re-generate.
20241 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
20242 * gdb.stabs/configure: Re-generate.
20243 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
20244 * gdb.hp/configure: Re-generate.
20245 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
20246 autoconf 2.59.
20247 * gdb.hp/gdb.objdbg/configure: Re-generate.
20248 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
20249 autoconf 2.59.
20250 * gdb.hp/gdb.defects/configure: Re-generate.
20251 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
20252 autoconf 2.59.
20253 * gdb.hp/gdb.compat/configure: Re-generate.
20254 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
20255 autoconf 2.59.
20256 * gdb.hp/gdb.base-hp/configure: Re-generate.
20257 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
20258 autoconf 2.59.
20259 * gdb.hp/gdb.aCC/configure: Re-generate.
20260
20261 2004-12-15 Jim Blandy <jimb@redhat.com>
20262
20263 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
20264 under NPTL when there is debugging info available for libpthread.
20265
20266 2004-12-13 Jerome Guitton <guitton@gnat.com>
20267
20268 * gdb.ada/fixed_points.c: New file.
20269 * gdb.ada/fixed_points.exp: New file.
20270
20271 2004-12-03 Randolph Chung <tausq@debian.org>
20272
20273 * gdb.arch/pa-nullify.exp: New file.
20274 * gdb.arch/pa-nullify.s: New file.
20275
20276 2004-11-30 Randolph Chung <tausq@debian.org>
20277
20278 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
20279 instead of "tbug". Fix regexp to work properly with gdb_test.
20280
20281 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
20282
20283 * gdb.base/bitfields2.exp: New test.
20284 * gdb.base/bitfields2.c: New file.
20285
20286 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
20287
20288 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
20289
20290 2004-11-16 Randolph Chung <tausq@debian.org>
20291
20292 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
20293
20294 2004-11-14 Daniel Jacobowitz <dan@debian.org>
20295
20296 * gdb.threads/threadapply.exp: Correct "macro details" test.
20297
20298 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
20299
20300 * gdb.threads/threadapply.exp: New test.
20301 * gdb.threads/threadapply.c: New file.
20302
20303 2004-11-07 Mark Kettenis <kettenis@gnu.org>
20304
20305 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
20306 frames.
20307
20308 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
20309
20310 * gdb.base/cursal.exp: New file.
20311 * gdb.base/cursal.c: New file.
20312
20313 2004-11-03 Andrew Cagney <cagney@gnu.org>
20314
20315 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
20316
20317 2004-10-30 Mark Kettenis <kettenis@gnu.org>
20318
20319 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
20320 NetBSD/ELF targets.
20321
20322 2004-10-29 Joel Brobecker <brobecker@gnat.com>
20323
20324 * gdb.threads/bp_in_thread.c: New file, copied from
20325 pthread_cond_wait.c.
20326 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
20327 file, rather than reusing the .c file from another testcase.
20328
20329 2004-10-20 Joel Brobecker <brobecker@gnat.com>
20330
20331 * gdb.ada/null_record.exp: Check where we stopped after
20332 sending the start command, instead of where the associated
20333 temporary breakpoint was inserted.
20334
20335 2004-10-14 Andrew Cagney <cagney@gnu.org>
20336
20337 * gdb.mi/gdb701.c (main): Return 0.
20338
20339 2004-10-13 Daniel Jacobowitz <dan@debian.org>
20340
20341 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
20342
20343 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
20344
20345 * gdb.threads/schedlock.c: Add comment markers to use to find
20346 line numbers.
20347 * gdb.threads/schedlock.exp: Adjust regex to handle the new
20348 comments.
20349 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20350 breakpoint lines.
20351
20352 2004-10-12 Daniel Jacobowitz <dan@debian.org>
20353
20354 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
20355
20356 2004-10-12 Daniel Jacobowitz <dan@debian.org>
20357
20358 * configure.in: Add gdb.dwarf2.
20359 * configure: Regenerated.
20360 * Makefile.in: Add gdb.dwarf2.
20361 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
20362 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
20363 gdb.dwarf2/file1.txt: New files.
20364
20365 2004-10-11 Orjan Friberg <orjanf@axis.com>
20366
20367 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
20368 of "run", since the latter doesn't work with remote targets. Adjust
20369 the breakpoint numbering accordingly.
20370 * gdb.threads/pthread_cond_wait.exp: Ditto.
20371
20372 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
20373
20374 * gdb.base/overlays.exp: Update copyright years.
20375
20376 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
20377
20378 * gdb.base/overlays.exp: Disable if target is Linux.
20379
20380 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
20381
20382 * config/gdbserver.exp (gdb_load): Use right filename on remote.
20383
20384 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
20385
20386 * gdb.asm/asm-source.exp: Add m32r-linux target.
20387 * gdb.asm/m32r-linux.inc: New file.
20388
20389 2004-09-24 Andrew Cagney <cagney@redhat.com>
20390 David Anderson <anderson@redhat.com>
20391
20392 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
20393 command fails, assume things will work.
20394 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
20395 (_GNU_SOURCE): Define.
20396 (print_unsigned, print_hex): Change parameter to "long long".
20397 (print_byte_count): New function, use to print byte counts.
20398 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
20399 O_LARGEFILE.
20400 (main): Compute an upper bound on a corefile in max_core_size.
20401 Limit memory chunk size to max_core_size. Limit total memory
20402 allocated to max_core_size.
20403
20404 2004-09-23 Andrew Cagney <cagney@gnu.org>
20405
20406 * gdb.base/bigcore.exp: Replace the code that creates a corefile
20407 from a separate process with code that creates a corefile by
20408 making the inferior dump core.
20409
20410 2004-09-23 Mark Kettenis <kettenis@gnu.org>
20411
20412 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
20413 block.
20414
20415 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
20416
20417 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
20418 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
20419 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
20420 Likewise.
20421
20422 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
20423
20424 * gdb.java/jprint.exp: New test case for java inferior call.
20425 * gdb.java/jprint.java: Ditto.
20426
20427 2004-09-15 Joel Brobecker <brobecker@gnat.com>
20428
20429 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
20430
20431 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20432
20433 * gdb.threads/killed.c: Include <stdlib.h>.
20434 * gdb.threads/pthreads.c: Likewise.
20435
20436 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20437
20438 * gdb.threads/killed.c: Add copyright notice.
20439
20440 2004-09-10 Jason Molenda (jmolenda@apple.com)
20441
20442 * gdb.base/define.exp: Two new tests to verify zero space chars
20443 after 'if' and 'while' commands in a user-defined command is correctly
20444 parsed.
20445
20446 2004-09-08 Andrew Cagney <cagney@gnu.org>
20447
20448 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
20449 delivery test with duplicate at end of file.
20450
20451 2004-09-06 Mark Kettenis <kettenis@jive.nl>
20452
20453 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
20454
20455 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20456
20457 * config/hppro.exp: Removed.
20458
20459 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20460
20461 * config/sparclet.exp: Removed.
20462
20463 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20464
20465 * config/udi.exp: Removed.
20466
20467 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
20468
20469 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20470 of "exp_continue".
20471 (advancei): Likewise.
20472
20473 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20474
20475 * gdb.base/unload.exp: Fix so messages aren't duplicated.
20476
20477 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20478
20479 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
20480 to check for nodebug in executable.
20481 * gdb.gdb/observer.exp (setup_test): Likewise.
20482 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20483 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20484
20485 2004-09-01 Andrew Cagney <cagney@gnu.org>
20486
20487 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20488 files.
20489
20490 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20491
20492 * gdb.base/unload.exp: Fix expected warning message to match
20493 latest format.
20494
20495 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
20496
20497 * gdb.base/call-rt-st.exp: Fix typos.
20498
20499 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20500
20501 * gdb.threads/thread_check.exp: New testcase.
20502 * gdb.threads/thread_check.c: New testcase.
20503
20504 2004-08-31 Andrew Cagney <cagney@gnu.org>
20505
20506 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20507 (skip_to_handler_entry): New procedures. Test stepping into a
20508 handler when the breakpoint is at the handler's entry point.
20509
20510 2004-08-30 Andrew Cagney <cagney@gnu.org>
20511
20512 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20513 gdb/1757.
20514
20515 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20516
20517 With code from Manoj Iyer <manjo@austin.ibm.com>:
20518 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20519 return value. Add an arm for "no debugging symbols found".
20520 Change a stray "error" to "perror".
20521 (gdb_run_cmd): Adapt to new return value.
20522 * gdb.base/remote.exp: Adapt to new return value.
20523 * gdb.gdb/complaints.exp: Likewise.
20524 * gdb.gdb/observer.exp: Likewise.
20525 * gdb.gdb/selftest.exp: Likewise.
20526 * gdb.gdb/xfullpath.exp: Likewise.
20527
20528 2004-08-27 Joel Brobecker <brobecker@gnat.com>
20529
20530 * gdb.threads/bp_in_thread.exp: New testcase.
20531
20532 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20533
20534 Fix PR testsuite/1735.
20535 * gdb.threads/schedlock.c (thread_function): Add a cast
20536 to suppress a gcc warning.
20537 * gdb.threads/thread-specific.c (thread_function): Likewise.
20538
20539 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20540
20541 * gdb.base/unload.c: Include <stdlib.h>.
20542
20543 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20544
20545 From Paul Gilliam <pgilliam@us.ibm.com>:
20546 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20547 synchronized after the "return".
20548
20549 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20550
20551 * gdb.mi/basics.c: Include <stdio.h>.
20552 * gdb.mi/pthreads.c: Include <stdlib.h>.
20553 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20554
20555 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20556
20557 * gdb.threads/schedlock.c: Add copyright notice.
20558
20559 2004-08-25 Andrew Cagney <cagney@gnu.org>
20560
20561 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20562 (skip_over_handler, breakpoint_over_hander): New test procedures.
20563 (advance, advancei): Add a proper prefix, do not use
20564 rerun_to_main.
20565 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20566
20567 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20568
20569 * gdb.mi/basics.c: Add copyright notice.
20570 * gdb.mi/var-cmd.c: Add copyright notice.
20571
20572 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20573
20574 * lib/gdb.exp: Remove signed_keyword_not_used.
20575 * lib/compiler.c: Likewise.
20576 * lib/compiler.cc: Likewise.
20577
20578 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20579
20580 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20581 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20582
20583 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20584
20585 * gdb.base/whatis.c: Add copyright notice.
20586
20587 2004-08-20 Mark Kettenis <kettenis@gnu.org>
20588
20589 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20590 it to skip the breakpoints encoded in the inline assembly.
20591
20592 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20593
20594 * Makefile.in: Add gdb.fortran.
20595
20596 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20597
20598 * gdb.base/call-sc.exp (test_scalar_returns):
20599 Fix cut-and-paste glitch in "Make fun return now".
20600
20601 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20602
20603 * configure.in: Add gdb.fortran.
20604 * configure: Regenerate.
20605 * gdb.fortran/Makefile.in: New file.
20606 * lib/gdb.exp (skip_fortran_tests): New procedure.
20607
20608 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20609
20610 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20611 reference to bug-gnu@prep.ai.mit.edu.
20612 * gdb.mi/mi-var-child.exp: Likewise.
20613 * gdb.mi/mi-var-cmd.exp: Likewise.
20614 * gdb.mi/mi-var-display.exp: Likewise.
20615 * gdb.mi/mi2-var-block.exp: Likewise.
20616 * gdb.mi/mi2-var-child.exp: Likewise.
20617 * gdb.mi/mi2-var-cmd.exp: Likewise.
20618 * gdb.mi/mi2-var-display.exp: Likewise.
20619
20620 2004-08-15 Mark Kettenis <kettenis@gnu.org>
20621
20622 * gdb.base/unload.c (main): Make local variable msg const.
20623
20624 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20625
20626 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20627 to bug-gnu@prep.ai.mit.edu.
20628 * gdb.mi/mi-disassemble.exp: Likewise.
20629 * gdb.mi/mi-eval.exp: Likewise.
20630 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20631 default line number.
20632 * gdb.mi/mi-return.exp: Likewise.
20633 * gdb.mi/mi-simplerun.exp: Likewise.
20634 * gdb.mi/mi-stack.exp: Likewise.
20635 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20636 number with explicit range test.
20637 * gdb.mi/mi-watch.exp: Likewise.
20638 * gdb.mi/mi2-break.exp: Likewise.
20639 * gdb.mi/mi2-cli.exp: Likewise.
20640 * gdb.mi/mi2-disassemble.exp: Likewise.
20641 * gdb.mi/mi2-eval.exp: Likewise.
20642 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20643 default line number.
20644 * gdb.mi/mi2-return.exp: Likewise.
20645 * gdb.mi/mi2-simplerun.exp: Likewise.
20646 * gdb.mi/mi2-stack.exp: Likewise.
20647 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20648 number with explicit range test.
20649 * gdb.mi/mi2-watch.exp: Likewise.
20650
20651 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20652
20653 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20654 * gdb.cp/m-static.exp: Likewise.
20655 * gdb.cp/rtti.exp: Likewise.
20656
20657 2004-08-14 Mark Kettenis <kettenis@gnu.org>
20658
20659 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20660
20661 2004-08-14 Eli Zaretskii <eliz@gnu.org>
20662
20663 * ChangeLog: Prefix Local Variables with semi-colons and indent
20664 the reference to older ChangeLog files, to fix fontification in
20665 Emacs.
20666
20667 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20668
20669 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20670 * gdb.mi/mi2-break.exp: Likewise.
20671
20672 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20673
20674 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20675
20676 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20677
20678 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20679
20680 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20681
20682 * gdb.cp/classes.exp: Remove unused declarations. Just let
20683 test names default instead of providing special names. Remove
20684 extraneous demangler test.
20685
20686 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20687
20688 * gdb.base/unload.exp: New test for breakpoints in dynamically
20689 loaded libraries.
20690 * gdb.base/unload.c: Ditto.
20691 * gdb.base/unloadshr.c: Ditto.
20692
20693 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20694
20695 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20696 cp_test_ptype_class.
20697 (test_enums): Likewise.
20698
20699 2004-08-10 Andrew Cagney <cagney@gnu.org>
20700
20701 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20702 files.
20703
20704 2004-08-10 Andrew Cagney <cagney@gnu.org>
20705
20706 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20707 init_malloc call.
20708
20709 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20710
20711 * ChangeLog: Add copyright notice. The notice is copied
20712 from emacs 21.3 top level ChangeLog.
20713
20714 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20715
20716 * lib/cp-support.exp: New file.
20717 * lib/cp-support.exp (cp_test_type_class): New function.
20718 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20719 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20720 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20721 cp_test_ptype_class.
20722
20723 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20724
20725 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20726 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20727 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20728 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20729 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20730 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20731 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20732 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20733 gdb.mi/mi2-watch.exp: Update copyright years.
20734
20735 2004-08-09 Mark Kettenis <kettenis@gnu.org>
20736
20737 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20738
20739 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20740
20741 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20742 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20743 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20744 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20745 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20746 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20747 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20748 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20749 gdb.mi/mi-watch.exp: Update copyright years.
20750
20751 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20752
20753 PR gdb/1738
20754 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20755 from a breakpoint with a pending signal.
20756
20757 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20758
20759 PR gdb/1736
20760 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20761 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20762 the prompt.
20763 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20764
20765 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20766
20767 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20768
20769 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20770
20771 PR gdb/1736
20772 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20773 for i?86-*-linux*.
20774
20775 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20776
20777 * gdb.arch/i386-prologue.exp: Compile without debug information.
20778
20779 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20780
20781 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20782 rather than asking gdb to search.
20783
20784 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20785
20786 * gdb.base/gcore.c: Include <string.h>.
20787
20788 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20789
20790 * gdb.base/gcore.c: Add copyright notice.
20791
20792 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20793
20794 * gdb.base/freebpcmd.c: Include <stdio.h>.
20795 * gdb.base/long_long.c: Include <string.h>.
20796 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20797 * gdb.base/siginfo.c: Include <string.h>.
20798 * gdb.base/sigstep.c: Include <string.h>.
20799
20800 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20801
20802 * gdb.base/complex.c: Include <stdlib.h>.
20803
20804 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20805
20806 * gdb.base/complex.c: Add copyright notice.
20807
20808 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20809
20810 * gdb.base/charset.c: Include <stdlib.h>.
20811
20812 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20813
20814 * gdb.base/auxv.c: Include <stdlib.h>.
20815
20816 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20817
20818 * gdb.base/auxv.c: Add copyright notice.
20819
20820 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20821
20822 * gdb.base/coremaker.c: Add copyright notice.
20823 * gdb.base/coremaker2.c: Add copyright notice.
20824
20825 2004-08-04 Andrew Cagney <cagney@gnu.org>
20826
20827 * gdb.base/store.exp: Update copyright.
20828 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20829 names, do not import gdb_prompt.
20830
20831 2004-08-01 Andrew Cagney <cagney@gnu.org>
20832
20833 Fix PR testsuite/1729.
20834 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20835 not use capture_value with value 4.
20836 (capture_value): Add optional test name parameter.
20837 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20838 the prefix, pass to capture_value.
20839
20840 2004-08-01 Mark Kettenis <kettenis@gnu.org>
20841
20842 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20843 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20844 (main): Call new function.
20845
20846 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20847
20848 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20849
20850 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20851
20852 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20853
20854 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20855
20856 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
20857 Accept more values of vtbl pointer. Remove some messages
20858 about "obsolete gcc or gdb".
20859
20860 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20861
20862 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20863
20864 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20865
20866 * gdb.base/asm-source.exp: Properly convert target board
20867 debug flags from gcc format to binutils format.
20868
20869 2004-07-28 Mark Kettenis <kettenis@gnu.org>
20870
20871 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20872 gdb1718". PR backtrace/1718 partially fixed.
20873
20874 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20875
20876 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20877
20878 2004-07-26 Nick Clifton <nickc@redhat.com>
20879
20880 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20881 good default value for a specific architecture is available then
20882 set it to that value. Otherwise default to the -gstabs switch.
20883 Remove the -g... switches from the asm-flags variable. Allow the
20884 target board info to override the value if it wants to. Pass the
20885 switch on the assembler command line.
20886
20887 2004-07-23 Mark Kettenis <kettenis@gnu.org>
20888
20889 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20890 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20891 (main): Call new function.
20892
20893 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20894
20895 Test for PR exp/1715.
20896 * gdb.base/radix.exp: Refactor common procedures. Make all
20897 test names unique. Change XFAIL to KFAIL.
20898
20899 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20900
20901 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20902 * gdb.ada/gnat_ada.gin: ... to here.
20903 * configure.in: Use gnat_ada.gin.
20904 * configure: Regenerate.
20905
20906 2004-07-20 Andrew Cagney <cagney@gnu.org>
20907
20908 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20909 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20910 XFAILs. Clean up test messages and comments. Check backtraces.
20911 Delete re-sync code.
20912
20913 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20914
20915 Fix PR cli/740.
20916 * gdb.base/annota1.exp: Honor gdb,nosignals.
20917 * gdb.base/annota3.exp: Likewise.
20918
20919 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20920
20921 * lib/java.exp: Update copyright notice.
20922
20923 2004-07-19 Andrew Cagney <cagney@gnu.org>
20924
20925 * gdb.base/selftest.exp: Copy file from here ...
20926 * gdb.gdb/selftest.exp: ... to here.
20927
20928 2004-07-16 Andrew Cagney <cagney@redhat.com>
20929
20930 * lib/insight-support.exp: Delete file.
20931 * lib/java.exp (java_init): Fix copyright.
20932
20933 2004-07-16 Andrew Cagney <cagney@gnu.org>
20934
20935 * gdb.base/restore.c: Append "prologue" to comments marking the a
20936 function's prologue.
20937 * gdb.base/restore.exp: Update copyright, re-indent.
20938 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20939 callerN" prefix where needed. Update patterns that match a
20940 function's prologue.
20941
20942 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20943
20944 * gdb.base/restore.c: Add copyright notice.
20945
20946 2004-07-16 Andrew Cagney <cagney@gnu.org>
20947
20948 * gdb.base/logical.exp: Update copyright.
20949 (evaluate): New procedure. Use to re-implement tests using
20950 several tables.
20951
20952 2004-07-14 Martin Hunt <hunt@redhat.com>
20953
20954 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20955 which fixes some problems where init.tcl was not found.
20956
20957 2004-07-13 Andrew Cagney <cagney@gnu.org>
20958
20959 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20960 (check_sizeof, check_valueof): Do not include the output in the
20961 test name. Use gdb_test.
20962 (get_valueof): Use gdb_test_multiple.
20963
20964 * gdb.base/step-test.exp: Update copyright. Use
20965 gdb_test_multiple. Ensure that test names do not include
20966 architecture dependent output.
20967
20968 * gdb.gdb/observer.exp: Update copyright.
20969 (setup_test): Use gdb_test_multiple.
20970 (attach_first_observer, attach_second_observer)
20971 (attach_third_observer, detach_first_observer)
20972 (detach_second_observer, detach_third_observer)
20973 (reset_counters, check_counters): Make $message a prefix.
20974 (test_normal_stop_notifications): Add "args" parameter - a list of
20975 init functions to be called. Make $message a prefix,
20976 (test_observer_normal_stop): Change the message prefixes so that
20977 they are unique, pass the attach / detach procedures to
20978 test_normal_stop_notifications.
20979
20980 * gdb.base/signull.exp (test_segv): Prefix all tests with
20981 "${name}". Clean up test messages.
20982
20983 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20984
20985 * gdb.base/ena-dis-br.exp: Update copyright.
20986 (break_at): New function. Replace send_gdb with gdb_test,
20987 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20988 ignore count, not stopped at bpt", with KFAIL.
20989
20990 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20991
20992 * gdb.base/attach.exp: Remove cleanupfile handling.
20993
20994 2004-07-12 Andrew Cagney <cagney@gnu.org>
20995
20996 * gdb.base/annota1.exp: Cleanup corefile test name.
20997 * gdb.base/annota3.exp: Ditto.
20998
20999 2004-07-12 Andrew Cagney <cagney@gnu.org>
21000
21001 * gdb.base/signals.exp: Clean up copyright, re-indent.
21002
21003 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
21004 gdb_test and gdb_test_multiple.
21005
21006 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
21007
21008 * gdb.java/jmain.exp: Fix expected line number for main to
21009 break at. Set XFAIL for break at main test since gcj does not
21010 provide line number info for first statement in main.
21011
21012 2004-07-08 Andrew Cagney <cagney@gnu.org>
21013
21014 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
21015
21016 * gdb.base/sigbpt.exp: Make the common part of each test name a
21017 prefix instead of suffix.
21018
21019 2004-07-07 Bob Rossi <bob_rossi@cox.net>
21020
21021 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
21022 test from test_tbreak_creation_and_listing to
21023 test_file_list_exec_source_file
21024 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
21025 Changed name of test from test_tbreak_creation_and_listing to
21026 test_file_list_exec_source_file
21027
21028 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
21029
21030 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
21031 the jmisc() constructor instead of <init>.
21032 * gdb.java/jmisc1.exp: Ditto.
21033
21034 2004-07-07 Andrew Cagney <cagney@gnu.org>
21035
21036 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
21037 corrupting the PC.
21038
21039 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
21040
21041 * gdb.cp/templates.exp: Accept whitespace change in demangler
21042 output.
21043
21044 2004-07-06 Andrew Cagney <cagney@gnu.org>
21045
21046 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
21047
21048 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
21049
21050 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
21051 * lib/compiler.cc: Likewise.
21052
21053 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
21054
21055 * lib/compiler.cc: Work around string preprocessing problem
21056 with old hp c++ compiler.
21057 * lib/compiler.c: Likewise.
21058
21059 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
21060
21061 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
21062 directives to conditionalize symbol prefixing.
21063 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
21064 additional_flags handling. Add underscore prefix for Cygwin.
21065 * gdb.arch/i386-unwind.c: Use preprocessor directives to
21066 conditionalize symbol prefixing.
21067 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
21068 additional_flags handling. Add underscore prefix for Cygwin.
21069
21070 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
21071
21072 * gdb.base/bigcore.exp: Skip test on Cygwin.
21073
21074 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
21075
21076 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
21077 formats for "info register". Use gdb_test_multiple. Fix
21078 the "invalid register" test.
21079
21080 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
21081
21082 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
21083 PID for Cygwin. Add Cygwin specific strings to check for in some
21084 tests.
21085 (do_attach_tests): Add a test for user interaction when attaching
21086 to a process with no matching symbol table already loaded.
21087
21088 2004-06-26 Andrew Cagney <cagney@gnu.org>
21089
21090 Test PR java/1567 and PR java/1565.
21091 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
21092 * gdb.java/jmisc2.exp: Delete file.
21093
21094 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
21095
21096 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
21097
21098 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
21099
21100 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
21101 attach process.
21102
21103 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
21104
21105 * gdb.cp/pr-1553.exp: Remove.
21106
21107 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
21108
21109 * gdb.cp/pr-1553.cc: Remove.
21110 * gdb.cp/pr-1553.exp: Disable this test.
21111
21112 2004-06-20 Jim Blandy <jimb@redhat.com>
21113
21114 Fix PR testsuite/1680.
21115 * gdb.arch/i386-sse.exp: Properly quote curly braces in
21116 regular expressions.
21117
21118 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
21119
21120 Fix PR testsuite/1679.
21121 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
21122 Issue an UNSUPPORTED result instead.
21123
21124 2004-06-18 Jim Blandy <jimb@redhat.com>
21125
21126 * gdb.base/charset.exp: Only send a control-C if we see a new
21127 prompt and incomplete command.
21128
21129 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
21130
21131 * gdb.cp/pr-574.cc: Add copyright notice.
21132
21133 2004-06-17 Jim Blandy <jimb@redhat.com>
21134
21135 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
21136 cases where the regexp has no groups; this grabs random text from
21137 the previous test suite, whatever that was.
21138
21139 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
21140
21141 * gdb.cp/printmethod.cc: Add copyright notice.
21142
21143 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
21144
21145 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
21146
21147 2004-06-16 Andrew Cagney <cagney@gnu.org>
21148
21149 * gdb.base/signull.c: Update copyright. Include <string.h>.
21150 (bowler): Replace data_pointer with data_read
21151 and data_write cases. Add code_descriptor case.
21152 (zero, desc): New array and pointer.
21153 (data, code): Change to simple pointers.
21154 * gdb.base/signull.exp: Fix probe pattern matching a function
21155 descriptor SIGSEGV. Replace data_pointer with data_read and
21156 data_write tests.
21157
21158 2004-06-16 Andrew Cagney <cagney@gnu.org>
21159
21160 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
21161
21162 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21163
21164 * gdb.base/long_long.c: Add copyright notice.
21165
21166 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21167
21168 * gdb.base/long_long.exp: Remove reference to
21169 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
21170 to gdb_breakpoint and gdb_continue_to_breakpoint.
21171
21172 2004-06-14 Jim Blandy <jimb@redhat.com>
21173
21174 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
21175 endian case.
21176
21177 2004-06-14 Andrew Cagney <cagney@gnu.org>
21178
21179 * gdb.base/gcore.exp (capture_command_output): Delete the always
21180 passing tests containing inferior values.
21181 * gdb.base/ending-run.exp: Do not include the breakpoint address
21182 in the test message. Update copyright.
21183 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
21184 size in the test name, use gdb_test_multiple. Update copyright.
21185
21186 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21187
21188 * gdb.cp/ref-types.cc: Add copyright notice.
21189
21190 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21191
21192 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
21193 hp_aCC_compiler.
21194 * lib/compiler.cc: Likewise.
21195 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
21196 'set' commands. Log diagnostics for other lines. Set
21197 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
21198
21199 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
21200
21201 * gdb.cp/try_catch.cc: Add copyright notice.
21202
21203 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
21204
21205 * gdb.cp/userdef.cc: Add copyright notice.
21206
21207 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
21208
21209 * gdb.cp/virtfunc.cc: Add copyright notice.
21210
21211 2004-06-11 Randolph Chung <tausq@debian.org>
21212
21213 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
21214 problem.
21215
21216 2004-06-10 Andrew Cagney <cagney@gnu.org>
21217
21218 * lib/compiler.cc, lib/compiler.c: Append either
21219 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
21220 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
21221 instead of gcc-3-3.
21222
21223 2004-06-09 Andrew Cagney <cagney@gnu.org>
21224
21225 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
21226 gdb/1455, bug is specific to "long long" and "double".
21227
21228 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
21229 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
21230 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
21231 fixed.
21232
21233 2004-06-09 Andrew Cagney <cagney@gnu.org>
21234
21235 * gdb.base/structs.exp (test_struct_returns): Replace
21236 "return_value_unknown" and "finish_value_unknown" by
21237 "return_value_known" and "finish_value_known". Instead of
21238 "return_value_unknown" iff "finish_value_unknown", check
21239 "return_value_known" implies "finish_value_known".
21240
21241 2004-06-08 Martin Hunt <hunt@redhat.com>
21242
21243 * gdb.base/float.exp: Add pattern for mips targets.
21244
21245 2004-06-08 Randolph Chung <tausq@debian.org>
21246
21247 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
21248 message for unknown architectures more clear.
21249
21250 2004-06-08 Joel Brobecker <brobecker@gnat.com>
21251
21252 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
21253 start the execution of the program.
21254
21255 2004-06-07 Jim Blandy <jimb@redhat.com>
21256
21257 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
21258 * gdb.arch/i386-cpuid.h: New helper file.
21259
21260 2004-06-07 Randolph Chung <tausq@debian.org>
21261
21262 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
21263 has started.
21264
21265 2004-06-04 Roland McGrath <roland@redhat.com>
21266
21267 Fix PR gdb/1647.
21268 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
21269 differently to be robust to output buffering differences.
21270
21271 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
21272
21273 * gdb.threads/pthreads.exp: Update copyright years.
21274 (check_control_c): Change asynchronous 'after' to synchronous.
21275
21276 2004-06-04 Roland McGrath <roland@redhat.com>
21277
21278 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
21279 next gdb prompt.
21280
21281 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
21282
21283 Fix PR gdb/1636.
21284 * gdb.threads/manythreads.exp: Change asynchronous 'after'
21285 calls to synchronous.
21286
21287 2004-05-26 Jim Blandy <jimb@redhat.com>
21288
21289 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
21290
21291 2004-05-24 Randolph Chung <tausq@debian.org>
21292
21293 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
21294 * gdb.asm/pa.inc: New file.
21295
21296 2004-05-22 Mark Kettenis <kettenis@gnu.org>
21297
21298 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
21299
21300 2004-05-21 Joel Brobecker <brobecker@gnat.com>
21301 Daniel Jacobowitz <drow@mvista.com>
21302
21303 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
21304 GDB prompt.
21305
21306 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21307
21308 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
21309 setjmp/longjmp. Use sigaction instead of signal.
21310
21311 2004-05-19 J. Brobecker <brobecker@gnat.com>
21312 Michael Snyder <msnyder@redhat.com>
21313
21314 * gdb.threads/pthread_cond_wait.c: New file.
21315 * gdb.threads/pthread_cond_wait.exp: New testcase.
21316
21317 2004-05-13 Andrew Cagney <cagney@redhat.com>
21318
21319 * gdb.base/signull.exp, gdb.base/signull.c: New files.
21320 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
21321
21322 2004-05-11 Andrew Cagney <cagney@redhat.com>
21323
21324 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
21325 fixed but revealed gdb/1639.
21326
21327 2004-05-10 Andrew Cagney <cagney@redhat.com>
21328
21329 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
21330 func1" and "next to 2nd alarm", kernel bug avoided.
21331
21332 2004-05-10 Daniel Jacobowitz <dan@debian.org>
21333
21334 PR external/1568
21335 * gdb.base/bigcore.exp: Check the size of the dumped core file.
21336 XFAIL if it is smaller than bytes_allocated.
21337 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
21338 (main): Make chunks_allocated unsigned. Correct comment.
21339
21340 2004-05-07 Joel Brobecker <brobecker@gnat.com>
21341
21342 * gdb.arch/powerpc-aix-prologue.c: New file.
21343 * gdb.arch/powerpc-aix-prologue.exp: New file.
21344
21345 2004-05-07 Jim Blandy <jimb@redhat.com>
21346
21347 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
21348 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
21349
21350 2004-05-06 Joel Brobecker <brobecker@gnat.com>
21351
21352 * gdb.base/sep.exp: No longer setup_kfail when the program was
21353 built with dwarf2.
21354
21355 2004-05-05 Jim Ingham <jingham@apple.com>
21356
21357 * gdb.base/pending.exp: Make sure pending breakpoints
21358 preserve the ignore count.
21359
21360 2004-04-27 Jerome Guitton <guitton@gnat.com>
21361
21362 * i386-prologue.exp: Add testcase for jump instruction as first
21363 instruction of the real code.
21364 * i386-prologue.c (jump_at_beginning): New function.
21365
21366 2004-04-28 Mark Kettenis <kettenis@gnu.org>
21367
21368 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
21369 x86_64-*-*.
21370
21371 2004-04-28 Mark Kettenis <kettenis@gnu.org>
21372
21373 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
21374 i*86-*-*.
21375
21376 2004-04-25 Mark Kettenis <kettenis@gnu.org>
21377
21378 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
21379 expression that checks the return type.
21380
21381 2004-04-23 Andrew Cagney <cagney@redhat.com>
21382
21383 * gdb.base/call-sc.exp: New test of scalar call/return values.
21384 * gdb.base/call-sc.c: Ditto.
21385
21386 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21387
21388 * gdb.threads/manythreads.c: Reduce thread stack size.
21389
21390 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
21391
21392 * gdb.threads/manythreads.c: Add copyright notice.
21393
21394 2004-04-23 Andrew Cagney <cagney@redhat.com>
21395
21396 * gdb.base/siginfo.exp: Better handle step out of signal.
21397 * gdb.base/sigstep.exp: Ditto.
21398
21399 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
21400 Daniel Jacobowitz <drow@mvista.com>
21401
21402 * gdb.threads/manythreads.c: New testcase.
21403 * gdb.threads/manythreads.exp: Ditto.
21404
21405 2004-04-22 Jim Blandy <jimb@redhat.com>
21406
21407 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
21408 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
21409
21410 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
21411
21412 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
21413
21414 2004-04-21 Andrew Cagney <cagney@redhat.com>
21415
21416 * gdb.base/sigstep.c: New file.
21417 * gdb.base/sigstep.exp: New file.
21418
21419 2004-04-16 Joel Brobecker <brobecker@gnat.com>
21420
21421 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
21422 call to observer_notify_normal_stop.
21423
21424 2004-04-15 Andrew Cagney <cagney@redhat.com>
21425
21426 * gdb.base/siginfo.c: New file.
21427 * gdb.base/siginfo.exp: New file.
21428
21429 2004-04-12 J. Brobecker <brobecker@gnat.com>
21430
21431 * gdb.base/sep.exp: Fix typo in comment.
21432
21433 2004-04-12 J. Brobecker <brobecker@gnat.com>
21434
21435 * gdb.base/sep.c: New file.
21436 * gdb.base/sep-proc.c: New file.
21437 * gdb.base/sep.exp: New testcase.
21438
21439 2004-04-09 Mark Kettenis <kettenis@gnu.org>
21440
21441 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
21442 support.
21443
21444 2004-04-05 Andrew Cagney <cagney@redhat.com>
21445
21446 * gdb.base/sigaltstack.c: New file.
21447 * gdb.base/sigaltstack.exp: New file.
21448
21449 2004-04-04 Joel Brobecker <brobecker@gnat.com>
21450
21451 * gdb.base/foll-fork.exp: Update the expected output for
21452 "help set follow-fork-mode", to match a change that was made
21453 to the help of this variable on 2004-01-13.
21454
21455 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21456
21457 * lib/ada.exp: Add copyright notice.
21458 * bar.ads: Likewise.
21459 * bar.adb: Likewise.
21460 * null_record.adb: Likewise.
21461 * null_record.exp: Likewise.
21462 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
21463
21464 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21465
21466 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
21467 * configure: Regenerate.
21468
21469 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21470
21471 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
21472 to build the application. Remove the message printed when in
21473 verbose mode, redundant with the UNSUPPORTED message above.
21474
21475 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21476
21477 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21478 * gdb.ada (null_record.exp): New testcase.
21479
21480 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21481
21482 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21483
21484 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21485
21486 * gdb.ada: New subdirectory.
21487 * gdb.ada/Makefile.in: New file.
21488 * gdb.ada/gnat_ada.gpr.in: New file.
21489
21490 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21491
21492 * lib/ada.exp: New file.
21493
21494 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
21495
21496 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21497 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21498
21499 2004-03-22 Andrew Cagney <cagney@redhat.com>
21500
21501 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21502 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21503 Problem identified by Ulrich Weigand.
21504
21505 2004-03-17 David Carlton <carlton@kealia.com>
21506
21507 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21508 PR c++/826.
21509
21510 2004-03-16 Roland McGrath <roland@redhat.com>
21511
21512 * gdb.base/auxv.exp: New file.
21513 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21514
21515 2004-03-12 David Carlton <carlton@kealia.com>
21516
21517 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21518 * gdb.cp/pr-1553.cc: Ditto.
21519 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21520 pass branch.
21521
21522 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21523
21524 * gdb.cp/templates.exp: Accept more template types.
21525
21526 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21527
21528 From Corinna Vinschen with modifications.
21529 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21530 local variable obj_with_enum.
21531 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21532 results with obj_with_enum.
21533
21534 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21535
21536 * gdb.cp/classes.cc: New file, copied from misc.cc.
21537 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21538
21539 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21540
21541 * gdb.cp/misc.cc: Add copyright notice.
21542
21543 2004-03-05 David Carlton <carlton@kealia.com>
21544
21545 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21546 * gdb.cp/rtti.h: Update copyright.
21547 (namespace n2::n3): New.
21548 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21549 (n2::n3::func3): New.
21550 (main): Call n2::n3::func3.
21551 * gdb.cp/rtti2.cc: Update copyright.
21552 (n2::create3): New.
21553
21554 2004-03-04 Mark Kettenis <kettenis@gnu.org>
21555
21556 * gdb.asm/openbsd.inc: Fix typo.
21557
21558 2004-03-03 Fred Fish <fnf@redhat.com>
21559
21560 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21561 "val" instead of unused "size". Update copyright year.
21562
21563 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21564
21565 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21566 to use unsigned char.
21567 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21568 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21569
21570 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21571
21572 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21573 line of output.
21574
21575 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21576
21577 * gdb.base/relocate.c (dummy): Initialize.
21578
21579 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21580
21581 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21582 a breakpoint at exit.
21583
21584 2004-02-27 Fred Fish <fnf@redhat.com>
21585
21586 * gdb.base/chng-syms.exp: Add expect condition to match failing
21587 case that isn't a timeout.
21588
21589 2004-02-27 Andrew Cagney <cagney@redhat.com>
21590
21591 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21592 support.
21593
21594 2004-02-26 Fred Fish <fnf@redhat.com>
21595
21596 * gdb.arch/gdb1431.c: Remove.
21597 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21598 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21599 of "until" incorrectly.
21600
21601 2004-02-26 J. Brobecker <brobecker@gnat.com>
21602
21603 * gdb.cp/class2.cc (empty): New class.
21604 (refer): New function.
21605 (main): Declare an object of type empty and use it.
21606 * gdb.cp/class2.exp: Print the value of an object of type empty.
21607
21608 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21609
21610 * gdb.base/langs.exp: Update query string to match the
21611 new nquery format used for pending breakpoints.
21612
21613 2004-02-26 Andrew Cagney <cagney@redhat.com>
21614
21615 Fix PR i18n/1570.
21616 * gdb.base/charset.c: Update copyright notice.
21617 (main, init_string): Remove the escape character '\e' tests.
21618 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21619 * gdb.base/charset.exp (valid_host_charset): Ditto.
21620 * gdb.base/setvar.exp: Ditto.
21621
21622 2004-02-24 Andrew Cagney <cagney@redhat.com>
21623
21624 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21625 mmapped data in core file" PASS and FAIL messages consistent.
21626
21627 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21628 setting a breakpoint. Work around PR java/1565.
21629
21630 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21631
21632 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21633 new nquery format.
21634 * gdb.base/pending.exp: Ditto.
21635
21636 2004-02-22 Mark Kettenis <kettenis@gnu.org>
21637
21638 * configure.in: Run stabs tests on *BSD.
21639 * configure: Regenerated.
21640
21641 2004-02-21 Mark Kettenis <kettenis@gnu.org>
21642
21643 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21644
21645 2004-02-20 Fred Fish <fnf@redhat.com>
21646
21647 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21648 blank in test for "returns short", for consistency with other
21649 "returns xxx" tests. Update copyright year.
21650
21651 2004-02-19 Fred Fish <fnf@redhat.com>
21652
21653 New testcase for PR breakpoint/1558.
21654 * gdb.arch/gdb1558.exp: New file.
21655 * gdb.arch/gdb1558.c: New file.
21656
21657 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
21658
21659 * gdb.base/nodebug.exp: Fix typo.
21660
21661 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21662
21663 Committed by Jim Blandy <jimb@redhat.com>.
21664
21665 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21666
21667 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21668
21669 * gdb.base/float.exp: Support s390*-*-* targets.
21670
21671 2004-02-17 Adam Fedor <fedor@gnu.org>
21672
21673 * gdb.base/gdb1555.exp: New file.
21674 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21675
21676 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
21677
21678 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21679
21680 2004-02-16 Fred Fish <fnf@redhat.com>
21681
21682 * gdb.arch/gdb1291.c: Remove
21683 * gdb.arch/gdb1291.s: New test input file.
21684 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21685 fail. Test for correct result, known incorrect result, other
21686 failures and timeouts.
21687
21688 2004-02-16 Andrew Cagney <cagney@redhat.com>
21689
21690 * gdb.base/bigcore.exp: New file.
21691 * gdb.base/bigcore.c: New file.
21692
21693 2004-02-13 Andrew Cagney <cagney@redhat.com>
21694
21695 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21696 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21697 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21698 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21699 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21700 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21701 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21702 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21703 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21704 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21705
21706 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21707
21708 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21709 executed is an alloc instruction.
21710
21711 2004-02-11 David Carlton <carlton@kealia.com>
21712
21713 * gdb.cp/breakpoint.exp: New.
21714 * gdb.cp/breakpoint.cc: New.
21715
21716 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21717
21718 Partial fix for PR gdb/1543.
21719 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21720 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21721 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21722 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21723 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21724 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21725 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21726 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21727 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21728 to bug-gdb@prep.ai.mit.edu .
21729 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21730 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21731 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21732 Likewise.
21733
21734 2004-02-10 Andrew Cagney <cagney@redhat.com>
21735
21736 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21737 using gdb_internal_error_resync.
21738
21739 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
21740
21741 * gdb.threads/thread-specific.exp: Stop early if no threads are
21742 found.
21743
21744 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21745
21746 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21747
21748 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
21749
21750 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21751 breakpoints.
21752
21753 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
21754
21755 * config/sim.exp (gdb_load): Handle $arg == "".
21756 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21757 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21758
21759 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
21760
21761 * gdb.base/maint.exp: Update test to reflect
21762 obstack changes.
21763
21764 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21765
21766 * gdb.base/pendshr.c (pendfunc): New function that calls
21767 pendfunc1.
21768 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21769
21770 2004-02-04 Fred Fish <fnf@redhat.com>
21771
21772 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21773 function symbols and update copyright years.
21774 * gdb.arch/gdb1291.c: Ditto.
21775
21776 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21777
21778 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21779
21780 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21781
21782 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21783
21784 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21785
21786 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21787
21788 2004-02-02 Fred Fish <fnf@redhat.com>
21789
21790 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21791 remote targets. Update copyright years.
21792
21793 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21794
21795 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21796 support.
21797 * gdb.base/langs.exp: Fix test which attempts to create
21798 breakpoint on non-existent function to handle new pending
21799 support.
21800 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21801 a breakpoint.
21802 * gdb.base/pending.exp: New test.
21803 * gdb.base/pending.c: New file.
21804 * gdb.base/pendshr.c: Ditto.
21805
21806 2004-02-02 David Carlton <carlton@kealia.com>
21807
21808 * gdb.cp/overload.exp: Add overloadNamespace tests.
21809 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21810 (overloadNamespace, XXX): New.
21811 (main): Call XXX::marker2.
21812
21813 2004-02-01 Fred Fish <fnf@redhat.com>
21814
21815 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21816 * gdb.base/finish.exp: Ditto.
21817 * gdb.base/gcore.exp: Ditto.
21818 * gdb.base/huge.exp: Ditto.
21819 * gdb.base/info-proc.exp: Ditto.
21820 * gdb.base/return2.exp: Ditto.
21821 * gdb.threads/gcore-thread.exp: Ditto.
21822
21823 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21824
21825 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21826
21827 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21828
21829 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21830 that opening the file succeeds on OpenBSD.
21831
21832 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21833
21834 * gdb.threads/thread-specific.c: New file.
21835 * gdb.threads/threads-specific.exp: New test script.
21836 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21837 to expect_out.
21838
21839 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21840
21841 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21842 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21843 only on the "print_small_structs from print_long_arg_list" test.
21844
21845 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21846
21847 * gdb.base/completion.exp: Kill a stray backslash.
21848
21849 From Jim Ingham <jingham@apple.com>:
21850 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21851 agrees with the result from sending a tab.
21852
21853 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
21854
21855 * gdb.base/chng-syms.exp: Remove stray newline.
21856
21857 2004-01-31 Mark Kettenis <kettenis@gnu.org>
21858
21859 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21860 *-*-openbsd*.
21861 * gdb.asm/openbsd.inc: New file.
21862
21863 2004-01-30 Mark Kettenis <kettenis@gnu.org>
21864
21865 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21866 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21867 *-*solaris2*. Remove commented out default settings for
21868 asm-flags. Replace gdb_compile with target_link.
21869
21870 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21871
21872 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21873 for all tests. Remove old hp-ux and cygnus xfail cases.
21874
21875 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21876
21877 * gdb.base/chng-syms.exp: New file.
21878 * gdb.base/chng-syms.c: New file.
21879
21880 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21881
21882 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21883 Provide arms for current output in all my configurations.
21884
21885 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21886
21887 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21888 * lib/compiler.cc: Likewise.
21889 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21890 get the right preprocessor. Eval the output directly. Remove
21891 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21892 hp_f77_compiler and hp_f90_compiler completely.
21893 (gdb_preprocess): Delete.
21894 (get_compiler): Delete.
21895
21896 2004-01-24 Mark Kettenis <kettenis@gnu.org>
21897
21898 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21899 <string.h>.
21900
21901 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
21902
21903 * gdb.mi/mi-stack.exp: Update copyright.
21904
21905 2004-01-23 David Carlton <carlton@kealia.com>
21906
21907 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21908 test for cp_lookup_transparent_type.
21909 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21910 call them.
21911
21912 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
21913
21914 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21915 after -var-update.
21916
21917 2004-01-23 David Carlton <carlton@kealia.com>
21918
21919 * gdb.cp/namespace.cc (C::ensureRefs): New.
21920 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21921
21922 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
21923
21924 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21925 case "-stack-list-locals 2".
21926 * gdb.mi/mi-var-child.exp: Test for case
21927 "-var-list-children --all-values NAME".
21928
21929 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21930
21931 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21932
21933 2004-01-18 Mark Kettenis <kettenis@gnu.org>
21934
21935 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21936 used with gdb_test_multiple.
21937
21938 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21939 read at address 0. This fixes PR testsuite/1504.
21940
21941 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
21942
21943 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21944 Remove downloading, guessing the host executable, the calls to
21945 gdb_file_cmd and gdb_target_cmd, and "load" support.
21946 (infer_host_exec): New function broken out from gdb_load.
21947 (gdb_load): New wrapper for gdbserver_gdb_load.
21948 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21949 gdb_target_cmd. Use -target-select.
21950 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21951 Download binaries to the host. Clear last_mi_remote_file when
21952 we load a new binary.
21953 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21954 call gdbserver_gdb_load and mi_gdb_target_cmd.
21955
21956 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21957
21958 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21959 type patterns.
21960
21961 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21962
21963 * gdb.cp/templates.exp: Fix typo in test name of
21964 "print Foo<volatile char*>::foo".
21965
21966 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21967
21968 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21969
21970 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21971
21972 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21973 (clean mostlyclean): Remove empty rm.
21974
21975 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21976
21977 * gdb.base/setvar.exp: Add copyright years.
21978
21979 2004-01-14 David Carlton <carlton@bactrian.org>
21980
21981 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21982 PR c++/1511 and update coment.
21983 * gdb.cp/templates.exp: Update patterns to match current output.
21984 If changes involve something other than whitespace, KFAIL
21985 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21986
21987 2004-01-14 David Carlton <carlton@kealia.com>
21988
21989 * gdb.cp/namespace.exp: Add tests involving classes defined within
21990 namespaces.
21991 * gdb.cp/namespace.cc (C::CClass): New.
21992 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21993
21994 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21995
21996 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21997 what debug info we have. Print a better message if something goes
21998 wrong while producing the separate debug info file.
21999
22000 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22001
22002 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
22003
22004 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22005
22006 * gdb.base/callfuncs.c: Add copyright notice.
22007
22008 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
22009
22010 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
22011 inheritance. PR gdb/1498, PR gcc/13539.
22012
22013 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
22014
22015 * gdb.threads/gcore-thread.exp: Prefix name of binary with
22016 test specific name.
22017 * gdb.mi/gdb669.exp: Ditto.
22018 * gdb.mi/mi-pthreads.exp: Ditto.
22019 * gdb.mi/mi1-pthreads.exp: Ditto.
22020 * gdb.mi/mi2-pthreads.exp: Ditto.
22021
22022 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22023
22024 * gdb.cp/member-ptr.cc: Add copyright notice.
22025
22026 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22027
22028 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
22029 some patterns for recent versions of gcc and hpacc. Delete
22030 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
22031 Delete tests that access a NULL pointer-to-member-data. This
22032 script is still disabled for gcc.
22033
22034 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
22035
22036 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
22037 escaped correctly.
22038
22039 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
22040
22041 * gdb.base/sepdebug.exp: New file.
22042 * gdb.base/sepdebug.c: New file.
22043 * lib/gdb.exp (separate_debug_filename): New procedure.
22044 (gdb_gnu_strip_debug): New procedure.
22045
22046 2004-01-12 Andrew Cagney <cagney@redhat.com>
22047
22048 * gdb.mi/ChangeLog: Delete file. Renamed to ...
22049 * gdb.mi/ChangeLog-1999-2003: New file.
22050
22051 2004-01-12 Andrew Cagney <cagney@redhat.com>
22052
22053 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
22054 "Renaming a directory to a non-empty directory returns ENOTEMPTY
22055 or EEXIST", treat EBUSY as an XFAIL.
22056
22057 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
22058
22059 * gdb.base/scope.exp: Remove obsolete setup_xfail for
22060 hp_cc_compiler.
22061
22062 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22063
22064 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
22065 decorations.
22066
22067 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22068
22069 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
22070 and "(aCC)" decorations. Remove obsolete doco about old
22071 test results.
22072
22073 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22074
22075 * gdb.cp/exception.exp: Fix typo in doco.
22076
22077 2004-01-09 Mark Kettenis <kettenis@gnu.org>
22078
22079 * gdb.base/gdb1476.exp: Fix typo.
22080
22081 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22082
22083 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
22084 file.
22085
22086 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22087
22088 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
22089 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
22090 Use gdb_compile. Remove restriction on gcc. Add some patterns
22091 for recent version of gdb. Delete second half, which was a copy
22092 of the first half with different build flags. This test is
22093 still disabled because it is still not ready for production.
22094
22095 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22096
22097 * gdb.cp/exception.cc: Add copyright notice.
22098 * gdb.cp/exception.exp: Add a notice that this file is broken
22099 because of line number changes caused by addition of copyright
22100 notice.
22101
22102 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22103
22104 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
22105 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
22106
22107 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22108
22109 * gdb.cp/classes.exp: Accept gnu abi 2.
22110 * gdb.cp/derivation.exp: Likewise.
22111 * gdb.cp/overload.exp: Likewise.
22112 * gdb.cp/virtfunc.exp: Likewise.
22113
22114 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22115
22116 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
22117 semicolon after end of function.
22118
22119 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22120
22121 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
22122 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
22123 boilerplate code for compiling and running the program under
22124 test. Add some string method tests.
22125
22126 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22127
22128 * gdb.cp/bs15503.cc: Add copyright notice.
22129 * gdb.cp/bs15503.exp: Adjust line number.
22130
22131 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22132
22133 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
22134 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
22135
22136 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22137
22138 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
22139 hp_cc_compiler.
22140
22141 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22142
22143 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
22144 * gdb.cp/ctti.exp: Use the marker instead of "next".
22145 With gcc, run further before bailing.
22146
22147 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22148
22149 * gdb.cp/cttiadd.cc: Add copyright notice.
22150 * gdb.cp/cttiadd1.cc: Likewise.
22151 * gdb.cp/cttiadd2.cc: Likewise.
22152 * gdb.cp/cttiadd3.cc: Likewise.
22153
22154 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22155
22156 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
22157 Use gdb_test, gdb_test_multiple. Use floating-point values that
22158 have exact representations in IEEE-ish formats.
22159
22160 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22161
22162 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
22163 compilers. Delete duplicate call to get_compiler_info.
22164 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
22165 * gdb.base/volatile.exp: Likewise.
22166
22167 2004-01-07 Mark Kettenis <kettenis@gnu.org>
22168
22169 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
22170 memory at address 0.
22171
22172 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22173
22174 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
22175 to test for hp-ux assembler. Fix copyright years.
22176
22177 2004-01-07 Andrew Cagney <cagney@redhat.com>
22178
22179 * gdb.base/fileio.c (strerrno): Add "EBUSY".
22180
22181 2004-01-07 Andrew Cagney <cagney@redhat.com>
22182
22183 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
22184 when creating the read-only file. From analysis by Roland McGrath
22185 and Elena Zannoni.
22186
22187 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22188
22189 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
22190
22191 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22192
22193 * gdb.base/cvexpr.c: Be type-safe with function pointers and
22194 data pointers.
22195
22196 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22197
22198 * gdb.cp/m-static.exp: Compile one source file at a time.
22199 Delete unused call to get_compiler_info.
22200
22201 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22202
22203 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
22204 * gdb.base/call-rt-st.exp: Likewise.
22205 * gdb.base/nodebug.exp: Likewise.
22206 * gdb.base/volatile.exp: Likewise.
22207 * gdb.cp/ref-types.exp: Likewise.
22208 * gdb.cp/templates.exp: Likewise.
22209
22210 2004-01-05 Mark Kettenis <kettenis@gnu.org>
22211
22212 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
22213
22214 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
22215
22216 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
22217 hppa*-hp-hpux*.
22218
22219 2004-01-04 Mark Kettenis <kettenis@gnu.org>
22220
22221 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22222 x86_64-*-*.
22223
22224 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22225 sparc64-*-* and sparc*-solaris2*.
22226
22227 2004-01-04 Mark Kettenis <kettenis@gnu.org>
22228
22229 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
22230 return ${tests}" test. The ${tests} already mentions the
22231 filename.
22232
22233 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22234
22235 * gdb.cp/local.exp: Accept gcc abi 2.
22236
22237 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22238
22239 * gdb.cp/templates.exp: Accept gcc abi 2.
22240
22241 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22242
22243 * lib/compiler.cc: Remove supports_template_debugging.
22244 * gdb.cp/templates.exp: Do not test supports_template_debugging.
22245
22246 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22247
22248 * gdb.cp/namespace.exp: Accept gcc abi 2.
22249
22250 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22251
22252 * gdb.cp/method.exp: Accept gcc abi 2.
22253
22254 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22255
22256 * gdb.cp/classes.exp: Generate identical results as old version.
22257 * gdb.cp/derivation.exp: Likewise.
22258 * gdb.cp/overload.exp: Likewise.
22259 * gdb.cp/virtfunc.exp: Likewise.
22260
22261 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22262
22263 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
22264 mysterious bug with sourceware version of expect.
22265
22266 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22267
22268 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
22269 current versions of gcc, including gcc abi 2. Remove gratuitous
22270 restart of test program. Use gdb_test_multiple and gdb_test for
22271 all tests. Add patterns to xfail missing "const" in "const char *"
22272 and kfail PR gdb/1155.
22273
22274 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22275
22276 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
22277 current versions of gcc, including gcc abi 2. Remove gratuitous
22278 restart of test program. Use gdb_test_multiple and gdb_test for
22279 all tests. Add patterns to kfail PR gdb/1498.
22280
22281 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22282
22283 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
22284 current versions of gcc, including gcc abi 2. Use "breakpoint"
22285 and "continue" instead of restarting the target program. Use
22286 gdb_test_multiple and gdb_test for all tests.
22287
22288 2004-01-01 Mark Kettenis <kettenis@gnu.org>
22289
22290 * gdb.asm/asm-source.exp: Update copyright year. Link statically
22291 for *-*-solaris2*.
22292
22293 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22294
22295 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
22296 current versions of gcc, including gcc abi 2. Use "breakpoint"
22297 and "continue" instead of restarting the target program several
22298 times. Use gdb_test_multiple and gdb_test for all tests.
22299
22300 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
22301
22302 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
22303 source files.
22304
22305 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22306
22307 * gdb.base/environ.exp: Handle compiling test case from multiple
22308 source files.
22309
22310 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22311
22312 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
22313
22314 2003-12-17 Jim Blandy <jimb@redhat.com>
22315
22316 * gdb.base/freebpcmd.c: Add copyright notice.
22317
22318 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
22319
22320 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22321
22322 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
22323
22324 2003-12-13 Jim Blandy <jimb@redhat.com>
22325
22326 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
22327
22328 2003-12-12 Kevin Buettner <kevinb@redhat.com>
22329
22330 * gdb.asm/frv.inc: New file.
22331 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
22332
22333 2003-12-09 Fred Fish <fnf@redhat.com>
22334
22335 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
22336 functions to break1.c and leave prototypes behind. Add more
22337 "set breakpoint NN here" comments.
22338 * gdb.base/break1.c: New file.
22339
22340 * gdb.base/break.exp: Handle compiling test case from multiple
22341 source files and change source file references as needed.
22342 * gdb.base/completion.exp: Ditto.
22343 * gdb.base/condbreak.exp: Ditto.
22344 * gdb.base/define.exp: Ditto.
22345 * gdb.base/ena-dis-br.exp: Ditto.
22346 * gdb.base/info-proc.exp: Ditto.
22347 * gdb.base/maint.exp: Ditto.
22348 * gdb.base/until.exp: Ditto.
22349
22350 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
22351 hardcoded line numbers.
22352 * gdb.base/define.exp: Ditto.
22353 * gdb.base/ena-dis-br.exp: Ditto.
22354 * gdb.base/maint.exp: Ditto.
22355 * gdb.base/until.exp: Ditto.
22356
22357 * gdb.base/completion.exp: Use "break1" for completion tests since
22358 "break" is no longer a unique prefix.
22359
22360 2003-12-06 Andrew Cagney <cagney@redhat.com>
22361
22362 * gdb.base/structs.exp (test_struct_returns): When applicable, set
22363 "return_value_unimplemented". When an unimplemented struct return
22364 architecture, report incorrect values as a KFAIL
22365
22366 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22367
22368 * gdb.cp/rtti.exp: Accept new wording of warning from
22369 cp_lookup_rtti_type.
22370
22371 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22372
22373 Partial fix for PR testsuite/1456.
22374 * gdb.base/scope.exp (test_at_main): Replace references to
22375 gcc_compiled with calls to test_compiler_info.
22376 (test_at_foo): Likewise.
22377 (test_at_bar): Likewise.
22378
22379 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
22380
22381 Partial fix for PR testsuite/1456.
22382 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
22383 to test_compiler_info.
22384
22385 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
22386
22387 * gdb.base/so-impl-ld.exp: Update copyright notice.
22388
22389 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
22390
22391 Partial fix for PR testsuite/1456.
22392 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
22393 to test_compiler_info.
22394
22395 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22396
22397 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
22398 from current versions of gdb. Clean up regular expressions.
22399 Delete redundant timeout case.
22400
22401 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22402
22403 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
22404 from current versions of gdb. Clean up regular expressions.
22405 Delete redundant timeout case.
22406
22407 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
22408
22409 Partial fix for PR testsuite/1456.
22410 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
22411 gcc_compiled with call to test_compiler_info.
22412
22413 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
22414
22415 Partial fix for PR testsuite/1456.
22416 * gdb.base/list.exp (test_list_function): Delete unused declaration
22417 of gcc_compiled.
22418
22419 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
22420
22421 Partial fix for PR testsuite/1456.
22422 * gdb.base/complex.exp: Replace reference to gcc_compiled with
22423 call to test_compiler_info.
22424
22425 2003-11-29 Mark Kettenis <kettenis@gnu.org>
22426
22427 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
22428 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
22429 it to create the appropriate note.inc.
22430 * gdb.asm/asmsrc1.s: Include "note.inc".
22431 * gdb.asm/netbsd.inc: New file.
22432 * gdb.asm/empty.inc: New file.
22433
22434 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22435
22436 Partial fix for PR testsuite/1456.
22437 * gdb.base/constvars.exp: Replace references to gcc_compiled with
22438 calls to test_compiler_info.
22439
22440 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
22441
22442 Partial fix for PR testsuite/1456.
22443 * gdb.base/volatile.exp: Replace references to gcc_compiled with
22444 calls to test_compiler_info.
22445
22446 2003-11-27 Mark Kettenis <kettenis@gnu.org>
22447
22448 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
22449 pattern for the KFAILs.
22450
22451 2003-11-25 Adam Fedor <fedor@gnu.org>
22452
22453 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
22454 * gdb.objc/objcdecode.m: New file.
22455
22456 2003-11-25 Adam Fedor <fedor@gnu.org>
22457
22458 * gdb.objc/nondebug.exp: Test for PR objc/1236.
22459 * gdb.objc/nondebug.m: New file.
22460
22461 2003-11-26 Ben Elliston <bje@wasabisystems.com>
22462
22463 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22464 NetBSD as it does on FreeBSD. Modelled on a similar change by
22465 Mark Kettenis on 2003-05-30.
22466 (link-flags): Set to "--entry _start" regardless of target.
22467 Special linker flags are to be appended to $link-flags.
22468 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
22469
22470 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22471
22472 * gdb.cp/method.exp: Accept output of new demangler.
22473
22474 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22475
22476 * gdb/class2.exp: New file.
22477 * gdb/class2.cc: New file.
22478
22479 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22480
22481 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22482 of new demangler.
22483
22484 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22485
22486 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22487 of gdb_test "run".
22488
22489 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22490
22491 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22492 "continue" into "run".
22493
22494 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22495
22496 Partial fix for PR testsuite/1456.
22497 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22498 call to test_compiler_info.
22499 * gdb.cp/ctti.exp: Likewise.
22500 * gdb.cp/derivation.exp: Likewise.
22501 * gdb.cp/member-ptr.exp: Likewise.
22502 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22503 reference to gcc_compiled.
22504
22505 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22506
22507 Fix PR testsuite/1463.
22508 * gdb.base/structs.exp (start_structs_test): Call
22509 get_debug_format before using the debug format.
22510
22511 2003-11-22 Andrew Cagney <cagney@redhat.com>
22512
22513 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22514 * gdb.base/structs.exp: Use gdb_test_multiple.
22515
22516 2003-11-20 Andrew Cagney <cagney@redhat.com>
22517
22518 * gdb.base/structs.exp: Handle and recover from internal errors.
22519 Replace "foo${n}" with "foo<n>" in test messages.
22520
22521 * gdb.base/structs.exp: Update copyright. Rewrite.
22522 * gdb.base/structs.c: Update copyright. Rewrite.
22523
22524 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22525 resync count exceeded.
22526
22527 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22528 from the internal error.
22529 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22530 Original from Jim Blandy.
22531 (gdb_test_multiple): Use gdb_internal_error_resync.
22532
22533 2003-11-19 Andrew Cagney <cagney@redhat.com>
22534
22535 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22536 KFAIL.
22537
22538 2003-11-17 Mark Kettenis <kettenis@gnu.org>
22539
22540 New testcase for PR backtrace/1435.
22541 * gdb.arch/i386-unwind.exp: New file.
22542 * gdb.arch/i386-unwind.c: New file.
22543
22544 2003-11-17 Andrew Cagney <cagney@redhat.com>
22545
22546 * lib/gdb.exp (compiler_info): New global.
22547 (test_compiler_info): New function.
22548 (get_compiler_info): Set compiler_info.
22549 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22550 "compiler_info" to gcc-<major>-<minor>.
22551
22552 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22553
22554 * gdb.trace/configure: Remove.
22555
22556 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
22557
22558 * gdb.base/break.c: Add comments to aid finding line numbers for
22559 breakpoints.
22560 * gdb.base/break.exp: Remove all references to explicit line
22561 numbers.
22562
22563 2003-11-11 Nick Clifton <nickc@redhat.com>
22564
22565 * gdb.base/shreloc.exp: Do not run for targets which do not
22566 support shared objects.
22567
22568 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
22569
22570 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22571 Don't run tests if nofileio flag is given.
22572
22573 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
22574
22575 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
22576 as well as 'Watchpoint'.
22577
22578 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22579
22580 Reported by Jim Ingham <jingham@apple.com>:
22581 * gdb.base/annota1.exp: Match at least one occurrence of the
22582 signal handler annotation.
22583
22584 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22585
22586 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22587 as well as 'Watchpoint'.
22588
22589 2003-11-05 Michael Chastain <mec@shout.net>
22590
22591 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22592
22593 2003-11-03 Kris Warkentin <kewarken@qnx.com>
22594
22595 * gdb.arch/gdb1291.c: New test file.
22596 * gdb.arch/gdb1291.exp: New test script.
22597 * gdb.arch/gdb1431.c: New test file.
22598 * gdb.arch/gdb1431.exp: New test script.
22599
22600 2003-10-22 Michael Chastain <mec@shout.net>
22601
22602 * gdb.mi/pthreads.c: Add copyright notice.
22603
22604 2003-10-22 Michael Chastain <mec@shout.net>
22605
22606 * gdb.threads/pthreads.c: Add copyright notice.
22607
22608 2003-10-20 Michael Chastain <mec@shout.net>
22609
22610 * gdb.base/gdb1056.exp: New test script.
22611
22612 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22613
22614 * gdb.threads/killed.exp: Use gdb_run_cmd.
22615
22616 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22617
22618 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22619 create a core file.
22620 * gdb.threads/gcore-thread.exp: Likewise.
22621
22622 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
22623
22624 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22625 type, based on char type.
22626 (struct bit_flags_short_t): New bitfield type, based on short type.
22627 (init_bit_flags_char): New fuction.
22628 (init_bit_flags_short): Ditto.
22629 (print_bit_flags_char): Ditto.
22630 (print_bit_flags_short): Ditto.
22631 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22632
22633 2003-10-11 Michael Chastain <mec@shout.net>
22634
22635 * gdb.base/call-rt-st.exp: Update copyright year.
22636
22637 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22638
22639 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22640 * gdb.disasm/sh3.s: Ditto.
22641
22642 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
22643
22644 * gdb.threads/switch-threads.exp: New test.
22645 * gdb.threads/switch-threads.c: New source file.
22646
22647 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
22648
22649 * gdb.base/ending-run.exp: Add sh specific case.
22650
22651 2003-10-06 Andrew Cagney <cagney@redhat.com>
22652
22653 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22654 * gdb.disasm/mn10200.exp: Delete obsolete file.
22655
22656 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
22657
22658 * ChangeLog: Correct an entry command.exp -> commands.exp.
22659 * gdb.base/commands.exp (bp_deleted_in_command_test)
22660 (temporary_breakpoint_commands): Check noargs.
22661
22662 2003-09-25 David Carlton <carlton@kealia.com>
22663
22664 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22665 of some print tests, where appropriate. Add tests for C::D::cd,
22666 E::ce, F::cXfX, G::XgX.
22667 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22668
22669 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
22670
22671 * lib/java.exp (java_init): Import target_alias before using it.
22672
22673 2003-09-25 David Carlton <carlton@kealia.com>
22674
22675 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22676
22677 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
22678
22679 * gdb.base/selftest.exp: Accomodate more instruction reordering
22680 weirdness.
22681
22682 2003-09-17 Michael Chastain <mec@shout.net>
22683
22684 * gdb.cp/gdb1355.exp: New file.
22685 * gdb.cp/gdb1355.c: New file.
22686
22687 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
22688
22689 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22690 * gdb.asm/sh.inc: New file.
22691
22692 2003-09-11 David Carlton <carlton@kealia.com>
22693
22694 * gdb.cp/namespace.exp: Add tests for namespace types.
22695 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
22696 (test_namespace): New.
22697
22698 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
22699
22700 * gdb.base/relocate.exp: Handle new gdb output at startup.
22701 * gdb.stabs/weird.exp: Ditto.
22702
22703 2003-09-08 Michael Chastain <mec@shout.net>
22704
22705 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22706
22707 2003-09-07 Michael Chastain <mec@shout.net>
22708
22709 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22710 'parse error'.
22711
22712 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22713
22714 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22715
22716 2003-08-30 Michael Chastain <mec@shout.net>
22717
22718 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22719 * gdb.gdb/observer.exp: Ditto.
22720 * gdb.gdb/xfullpath.exp: Ditto.
22721
22722 2003-08-29 Mark Kettenis <kettenis@gnu.org>
22723
22724 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22725 *-*-*bsd*.
22726
22727 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22728
22729 * gdb.base/dump.exp: Skip for ia64.
22730
22731 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22732
22733 * gdb.asm/asm-source.exp: Add ia64 support.
22734 * gdb.asm/ia64.inc: New file.
22735
22736 2003-08-22 Michael Chastain <mec@shout.net>
22737
22738 * gdb.cp: New directory.
22739 * gdb.cp/*: Copy from gdb.c++/*.
22740 * gdb.c++/*: Remove.
22741 * Makefile.in: Change gdb.c++ to gdb.cp.
22742 * configure.in: Ditto.
22743 * configure: Regnerate.
22744
22745 2003-08-18 Mark Kettenis <kettenis@gnu.org>
22746
22747 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22748 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22749
22750 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22751
22752 * mi-var-display.exp (-var-list-children weird): Accept function
22753 pointers with argument types.
22754 * mi1-var-display.exp (-var-list-children weird): Likewise.
22755 * mi2-var-display.exp (-var-list-children weird): Likewise.
22756
22757 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22758
22759 * gdb.base/annota3.exp: Add missing newline.
22760
22761 2003-08-06 Michael Chastain <mec@shout.net>
22762
22763 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22764
22765 2003-08-12 Michael Snyder <msnyder@redhat.com>
22766
22767 * gdb.base/float.exp: Add test for SH.
22768
22769 2003-08-10 Mark Kettenis <kettenis@gnu.org>
22770
22771 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22772
22773 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22774
22775 * gdb.base/completion.exp: Remove reduntant completion test
22776 on filename.
22777
22778 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22779
22780 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22781 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22782 gdb.trace/save-trace.exp: Make sure that full pathnames are
22783 escaped correctly.
22784
22785 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22786
22787 * configure.in: Don't generate config.h from config.hin.
22788 * configure: Regenerate.
22789 * config.hin: Remove file.
22790 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22791 * gdb.threads/pthreads.c: Ditto.
22792
22793 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
22794
22795 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22796 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22797 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22798 Replace ld24 with seth/add3.
22799
22800 2003-08-02 Andrew Cagney <cagney@redhat.com>
22801
22802 * gdb.base/annota3.exp: New file.
22803 * gdb.base/annota3.c: New file.
22804 * gdb.c++/annota3.exp: New file.
22805 * gdb.c++/annota3.cc: New file.
22806
22807 2003-07-29 Michael Chastain <mec@shout.net>
22808
22809 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22810 actually failed.
22811 (do_pass): Likewise.
22812 * gdb.threads/tls.exp: Always initialize no_of_threads.
22813
22814 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
22815
22816 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22817 pattern.
22818 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22819 * gdb.threads/tls.exp: Recognize one case of the host library not
22820 supporting TLS.
22821
22822 2003-07-27 Andrew Cagney <cagney@redhat.com>
22823
22824 * gdb.base/fileio.exp: Use SH when running commands using
22825 remote_exec.
22826
22827 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
22828
22829 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22830 * gdb.base/relocate.c (dummy): New padding array.
22831
22832 2003-07-22 Michael Snyder <msnyder@redhat.com>
22833
22834 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
22835
22836 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22837 patterns to be more general, accepting old and new output.
22838 Some output chars (such as '+') also must be quoted.
22839 Some addresses are displayed numerically instead of
22840 symbolically.
22841
22842 2003-07-23 Michael Snyder <msnyder@redhat.com>
22843
22844 * gdb.base/return2.exp: Don't test long-long return.
22845
22846 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22847 * gdb.disasm/t01_mov.exp: Ditto.
22848 * gdb.disasm/t02_mova.s: Ditto.
22849 * gdb.disasm/t02_mova.exp: Ditto.
22850 * gdb.disasm/t03_add.s: Ditto.
22851 * gdb.disasm/t03_add.exp: Ditto.
22852 * gdb.disasm/t04_sub.s: Ditto.
22853 * gdb.disasm/t04_sub.exp: Ditto.
22854 * gdb.disasm/t05_cmp.s: Ditto.
22855 * gdb.disasm/t05_cmp.exp: Ditto.
22856 * gdb.disasm/t06_ari2.s: Ditto.
22857 * gdb.disasm/t06_ari2.exp: Ditto.
22858 * gdb.disasm/t07_ari3.s: Ditto.
22859 * gdb.disasm/t07_ari3.exp: Ditto.
22860 * gdb.disasm/t08_or.s: Ditto.
22861 * gdb.disasm/t08_or.exp: Ditto.
22862 * gdb.disasm/t09_xor.s: Ditto.
22863 * gdb.disasm/t09_xor.exp: Ditto.
22864 * gdb.disasm/t10_and.s: Ditto.
22865 * gdb.disasm/t10_and.exp: Ditto.
22866 * gdb.disasm/t11_logs.s: Ditto.
22867 * gdb.disasm/t11_logs.exp: Ditto.
22868 * gdb.disasm/t12_bit.s: Ditto.
22869 * gdb.disasm/t12_bit.exp: Ditto.
22870 * gdb.disasm/t13_otr.s: Ditto.
22871 * gdb.disasm/t13_otr.exp: Ditto.
22872
22873 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22874
22875 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22876
22877 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22878
22879 * gdb.threads/tls.c : New file.
22880 * gdb.threads/tls.exp : New file.
22881 * gdb.threads/tls-main.c : New file.
22882 * gdb.threads/tls-shared.c : New file.
22883 * gdb.threads/tls-shared.exp : New file.
22884
22885 2003-07-22 Andreas Schwab <schwab@suse.de>
22886
22887 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22888
22889 2003-07-20 Andreas Schwab <schwab@suse.de>
22890
22891 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22892 due to insn reordering.
22893
22894 2003-07-15 Andrew Cagney <cagney@redhat.com>
22895
22896 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22897
22898 2003-07-15 Michael Chastain <mec@shout.net>
22899
22900 * gdb.base/gdb1250.exp: New file.
22901 * gdb.base/gdb1250.c: New file.
22902
22903 2003-07-09 Michal Ludvig <mludvig@suse.cz>
22904
22905 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22906 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22907
22908 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22909
22910 * gdb.threads/tls.c: New file.
22911 * gdb.threads/tls.exp: New file.
22912 * gdb.threads/tls-main.c: New file.
22913 * gdb.threads/tls-shared.c: New file.
22914 * gdb.threads/tls-shared.exp: New file.
22915
22916 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22917
22918 * gdb.base/annota1.exp: Make sure that we properly escape the
22919 full path of the source file. Xfail more permissive patterns,
22920 due to a compiler debug info problem.
22921
22922 2003-07-07 Andreas Schwab <schwab@suse.de>
22923
22924 * gdb.asm/m68k.inc: New file.
22925 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22926
22927 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22928 arguments"): Also match negative number.
22929
22930 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22931
22932 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
22933
22934 * gdb.base/store.c (charest): New typedef.
22935 (add_char): Rename to add_charest, update.
22936 (wack_char): Rename to wack_charest, update types. Return l + r
22937 to keep r live across the call.
22938 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22939 (wack_double, wack_doublest): Return l + r to keep r live across
22940 the call.
22941 * gdb.base/store.exp: Accomodate store.c changes.
22942
22943 2003-06-30 David Carlton <carlton@kealia.com>
22944
22945 * gdb.c++/maint.exp (test_invalid_name): New.
22946 (test_first_component): Add tests for invalid names.
22947
22948 2003-06-29 Michael Chastain <mec@shout.net>
22949
22950 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22951 output of '<VTT for class>' for virtual base classes.
22952
22953 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22954
22955 * gdb.base/completion.exp: Tab-complete "complet" instead of
22956 "compl".
22957 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22958
22959 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22960
22961 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22962 * gdb.base/volatile.exp: Likewise.
22963
22964 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22965
22966 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22967 gdb/1265.
22968
22969 2003-06-28 Michael Chastain <mec@shout.net>
22970 Daniel Jacobowitz <drow@mvista.com>
22971
22972 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22973 initial line count of 'captured_main' from 26 to 32.
22974 (test_with_self): Allow xmalloc call to be interleaved with the
22975 preceding two lines.
22976
22977 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22978
22979 * gdb.base/bang.exp: New testcase.
22980
22981 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22982
22983 * gdb.base/langs.exp: Add some tests for the "minimal" language
22984 support.
22985
22986 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22987
22988 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22989 the testcase.
22990
22991 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22992
22993 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22994 offset.
22995
22996 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22997
22998 * gdb.c++/pr-1210.cc: New file.
22999 * gdb.c++/pr-1210.exp: New file.
23000
23001 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
23002
23003 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
23004 000-exec-continue.
23005
23006 2003-06-15 Mark Kettenis <kettenis@gnu.org>
23007
23008 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
23009 on *-*-*bsd* instead of *-*-freebsd*.
23010
23011 2003-06-14 Andrew Cagney <cagney@redhat.com>
23012
23013 * gdb.base/store.exp: Test longest and doublest. Test all
23014 parameters. Weaken return statement match.
23015 * gdb.base/store.c: Add longest and doublest - aka long long and
23016 long double functions. Put all parameters into local register
23017 variables. Use negative values.
23018
23019 2003-06-14 Andrew Cagney <cagney@redhat.com>
23020
23021 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
23022 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
23023 exit status.
23024 * gdb.base/fileio.exp: Disable target when nointerrupts and
23025 noinferiorio, instead of limiting it to remote. Use remote_exec
23026 instead of system.
23027
23028 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
23029
23030 * gdb.base/float.exp: Add ia64 support.
23031
23032 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
23033
23034 * gdb.base/fileio.exp: Run only on remote targets.
23035
23036 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
23037
23038 * gdb.base/fileio.c: New file, testing File-I/O.
23039 * gdb.base/fileio.exp: Ditto.
23040
23041 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
23042
23043 * gdb.base/shreloc.exp: New file, check symbol values obtained from
23044 shared objects after relocation at load time (gdb PR/1132).
23045 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
23046 as above, part of the shared object relocation test.
23047
23048 2003-06-08 Mark Kettenis <kettenis@gnu.org>
23049
23050 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
23051 fully filled history list.
23052 * gdb.base/gdb_history: New file.
23053
23054 * gdb.base/signals.exp: XFAIL "continue to func1" on
23055 i*86-*-freebsd*.
23056
23057 * gdb.base/attach.exp: When trying to attach to a nonexistent
23058 process, make it possible to specify the PID based on the target,
23059 and do so for *-*-freebsd*.
23060
23061 2003-06-02 Richard Henderson <rth@redhat.com>
23062
23063 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
23064
23065 2003-06-02 Richard Henderson <rth@redhat.com>
23066
23067 * gdb.base/selftest.exp: Next over lim_at_start initialization.
23068
23069 2003-06-02 Richard Henderson <rth@redhat.com>
23070
23071 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
23072
23073 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
23074
23075 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
23076 of globalvar.
23077
23078 2003-06-01 Mark Kettenis <kettenis@gnu.org>
23079
23080 * gdb.asm/asm-source.exp: Check for memory read errors in
23081 disassembler test on *BSD too.
23082
23083 2003-06-01 Richard Henderson <rth@redhat.com>
23084
23085 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
23086 for .frame.
23087 (gdbasm_call): Lose ldgp.
23088 (gdbasm_startup): Add frame information.
23089 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
23090
23091 2003-05-31 Mark Kettenis <kettenis@gnu.org>
23092
23093 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
23094 i?86-*-*.
23095
23096 2003-05-30 Mark Kettenis <kettenis@gnu.org>
23097
23098 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23099 FreeBSD.
23100
23101 2003-05-29 Richard Henderson <rth@redhat.com>
23102
23103 * gdb.asm/alpha.inc: New file.
23104 * gdb.asm/asm-source.exp: Use it.
23105
23106 2003-05-29 Jim Blandy <jimb@redhat.com>
23107
23108 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
23109 'core.PID'.
23110
23111 2003-05-22 Jim Blandy <jimb@redhat.com>
23112
23113 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
23114 backtrace.
23115
23116 2003-05-20 David Carlton <carlton@math.stanford.edu>
23117
23118 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
23119 this time.
23120
23121 2003-05-19 David Carlton <carlton@bactrian.org>
23122
23123 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
23124 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
23125
23126 2003-05-19 David Carlton <carlton@bactrian.org>
23127
23128 * gdb.c++/namespace.exp: Add namespace scope and anonymous
23129 namespace tests.
23130 Bump copyright date.
23131 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
23132 (main): Call C::D::marker2.
23133 * gdb.c++/namespace1.cc: New file.
23134
23135 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
23136
23137 Roland McGrath <roland@redhat.com>
23138 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
23139 there is no manager thread.
23140
23141 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
23142
23143 * gdb.threads/schedlock.exp: Remove assumption that all threads
23144 will run in a particular small time slice. Also ensure we break
23145 in one of the child threads rather than the main thread.
23146
23147 2003-05-07 Jim Blandy <jimb@redhat.com>
23148
23149 Add support for assembly source testing on the s390x.
23150 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
23151 architecture.
23152 * gdb.asm/s390x.inc: New file.
23153
23154 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
23155 succession of 'if' statements.
23156
23157 2003-05-05 Andrew Cagney <cagney@redhat.com>
23158
23159 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
23160
23161 2003-05-05 Andrew Cagney <cagney@redhat.com>
23162
23163 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
23164 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
23165
23166 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
23167
23168 * gdb.base/charset.exp: Update based on new behavior of set/show
23169 charset commands.
23170
23171 2003-05-01 Andrew Cagney <cagney@redhat.com>
23172
23173 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
23174 variable do not give memory errors.
23175
23176 2003-04-30 Adam Fedor <fedor@gnu.org>
23177
23178 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
23179 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
23180 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
23181 gdb.objc/basicclass.m: : New files
23182
23183 * lib/gdb.exp (gdb_compile_objc): New procedure.
23184
23185 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
23186
23187 * gdb.base/signals.exp: Make backtrace tests more specific.
23188
23189 2003-04-23 David Carlton <carlton@bactrian.org>
23190
23191 * gdb.c++/maint.exp (test_first_component): Add tests for
23192 'operator' in more locations.
23193
23194 2003-04-16 Kevin Buettner <kevinb@redhat.com>
23195
23196 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
23197
23198 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
23199
23200 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
23201 func marke' instead. Update test name.
23202
23203 2003-04-15 David Carlton <carlton@math.stanford.edu>
23204
23205 * gdb.c++/maint.exp: New file.
23206
23207 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
23208
23209 * gdb.threads/schedlock.c: Change type of thread function argument
23210 to long, to avoid warnings on 64-bit platforms.
23211
23212 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
23213
23214 * gdb.base/attach.exp: Add new message from ptrace in case of
23215 attaching to nonexistent process.
23216
23217 2003-04-11 Jim Blandy <jimb@redhat.com>
23218
23219 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23220 gdb.c++/userdef.cc: Place comments on the lines to which the
23221 marker function might return.
23222 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23223 gdb.c++/userdef.exp: Look for those comments to check that we've
23224 returned to the right place, instead of checking line numbers.
23225
23226 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
23227
23228 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
23229 match on sourcefile name, instead of directory name.
23230
23231 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
23232
23233 * gdb.base/completion.exp: Use string_to_regexp to match the
23234 working directory name.
23235
23236 2003-04-09 Jim Blandy <jimb@redhat.com>
23237
23238 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23239 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
23240 after an inferior function call, report the failure, but allow the
23241 test to continue.
23242
23243 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23244
23245 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23246 with -DPROTOTYPES.
23247
23248 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23249
23250 * gdb.base/break.exp: Revert last patch.
23251
23252 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
23253
23254 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23255 with -DPROTOTYPES.
23256
23257 2003-04-02 Andrew Cagney <cagney@redhat.com>
23258
23259 * gdb.base/callfuncs.exp: Make "print add" messages unique.
23260 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
23261 matching directories by the name breakpoint.
23262 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
23263 Make "continue to marker1" consistent.
23264 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
23265 message consistent.
23266 * lib/gdb.exp: Put "the program is no longer running", and "the
23267 program exited" in parenthesis.
23268 * lib/mi-support.exp: Ditto.
23269
23270 2003-04-02 Bob Rossi <bob_rossi@cox.net>
23271
23272 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
23273
23274 2003-03-29 Andrew Cagney <cagney@redhat.com>
23275
23276 * gdb.base/sizeof.c (main): Print the value of '\377'.
23277 * gdb.base/sizeof.exp: Check the sign of '\377'.
23278
23279 2003-03-27 Michael Chastain <mec@shout.net>
23280
23281 * gdb.base/gdb1090.exp: New file.
23282 * gdb.base/gdb1090.cc: New file.
23283
23284 2003-03-27 J. Brobecker <brobecker@gnat.com>
23285
23286 * gdb.gdb/observer.exp: New regression test.
23287
23288 2003-03-27 Michael Chastain <mec@shout.net>
23289
23290 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
23291 * gdb.base/ptype.exp: Likewise.
23292
23293 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
23294
23295 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
23296
23297 2003-03-26 Michael Chastain <mec@shout.net>
23298
23299 * gdb.base/ptype.exp: Actually use some typedef'd types.
23300
23301 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
23302
23303 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
23304 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
23305
23306 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23307
23308 * gdb.base/default.exp: Fix regular expression.
23309
23310 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23311
23312 * gdb.base/args.exp: Fix regular expression.
23313
23314 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23315
23316 * gdb.base/help.exp: Allow Win32 child process.
23317
23318 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23319
23320 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
23321 when stepping out of main().
23322
23323 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23324
23325 * gdb.base/default.exp: Check for win32 specific message when calling
23326 "run" without executable.
23327
23328 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23329
23330 * gdb.base/args.exp: Expect .exe in output.
23331
23332 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23333
23334 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
23335 Cygwin native.
23336
23337 2003-03-17 Andrew Cagney <cagney@redhat.com>
23338
23339 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
23340 vector registes.
23341 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
23342 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
23343
23344 2003-03-17 David Carlton <carlton@math.stanford.edu>
23345
23346 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
23347 test, for PR breakpoints/38.
23348 Call test_watchpoint_and_breakpoint.
23349 * gdb.base/watchpoint.c (func3): New function.
23350 (main): Call func3.
23351
23352 2003-03-04 David Carlton <carlton@math.stanford.edu>
23353
23354 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
23355 Garply<Garply<char> >:: garply".
23356 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
23357 with respect to PR c++/1111; note also PR c++/1113.
23358 (test_template_breakpoints): KFAIL "constructor breakpoint" with
23359 respect to PR c++/1062.
23360 KFAIL "destructor breakpoint" with respect to PR c++/1112.
23361
23362 2003-03-03 David Carlton <carlton@math.stanford.edu>
23363
23364 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
23365 with respect to PR c++/57.
23366 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
23367 c++/826.
23368 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
23369 respect to PR c++/57.
23370
23371 2003-03-03 David Carlton <carlton@math.stanford.edu>
23372
23373 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23374 respect to PR c++/33 into FAILs.
23375
23376 2003-03-03 Michael Chastain <mec@shout.net>
23377
23378 * configure.in: Update copyright years.
23379
23380 2003-03-03 Michael Chastain <mec@shout.net>
23381
23382 * Makefile.in: Update copyright years.
23383
23384 2003-02-28 David Carlton <carlton@math.stanford.edu>
23385
23386 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
23387 print class instead of struct and/or superfluous protection
23388 specifiers, as long as the resulting output is equivalent to the
23389 source code.
23390 Delete FIXME from end of messages on tests that don't need
23391 fixing.
23392
23393 2003-02-28 David Carlton <carlton@math.stanford.edu>
23394
23395 * gdb.c++/templates.exp (do_tests): Allow const in the two
23396 Foo<volatile char *>::foo tests.
23397
23398 2003-02-27 Michael Snyder <msnyder@redhat.com>
23399
23400 * gdb.base/restore.c (main): Return zero, so exit code
23401 will be consistant.
23402
23403 2003-02-26 David Carlton <carlton@math.stanford.edu>
23404
23405 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
23406 char *>::foo" test with respect to PR c++/33. Create a new test
23407 which is identical to that one except that it doesn't put the
23408 space between the "char" and the "*"; KFAIL it, too.
23409
23410 2003-02-26 David Carlton <carlton@math.stanford.edu>
23411
23412 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
23413 template types into either PASSes or KFAILs (corresponding to PR
23414 c++/57). Tweak indentation. Update copyright.
23415
23416 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
23417
23418 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
23419
23420 2003-02-13 Michael Chastain <mec@shout.net>
23421
23422 * gdb.base/exprs.exp: Remove i960 remnants.
23423 * gdb.base/funcargs.exp: Likewise.
23424 * gdb.base/list.exp: Likewise.
23425 * gdb.base/ptype.exp: Likewise.
23426
23427 2003-02-14 David Carlton <carlton@math.stanford.edu>
23428
23429 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
23430 pEe->D::vg()" from XFAIL to KFAIL.
23431
23432 2003-02-13 Jason Molenda (jmolenda@apple.com)
23433
23434 * gdb.base/maint.exp: Update maint print statistics regexp to include
23435 new entries.
23436
23437 2003-02-13 Michael Chastain <mec@shout.net>
23438
23439 * gdb.c++/inherit.exp: Remove call to get_debug_format.
23440
23441 2003-02-12 Michael Chastain <mec@shout.net>
23442
23443 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
23444 * gdb.c++/inherit.exp: Likewise.
23445 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
23446 * gdb.c++/templates.exp: Likewise.
23447 * gdb.c++/virtfunc.exp: Likewise.
23448
23449 2003-02-06 Jason Molenda (jason-cl@molenda.com)
23450
23451 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
23452 why the code is written that way.
23453
23454 2003-02-05 Michael Chastain <mec@shout.net>
23455
23456 * gdb.base/dump.exp: Add missing copyright line.
23457
23458 2003-02-05 Jason Molenda (jason-cl@molenda.com)
23459
23460 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
23461 at the beginning so the breakpoint doesn't get set on the loop.
23462
23463 2003-02-05 Michael Chastain <mec@shout.net>
23464
23465 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
23466 output for configurations with gcc 2.95.3.
23467
23468 2003-02-05 Keith Seitz <keiths@redhat.com>
23469 Andrew Cagney <ac131313@redhat.com>
23470
23471 * gdb.mi/mi-cli.exp: New file.
23472
23473 2003-02-04 Michael Chastain <mec@shout.net>
23474
23475 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
23476 Call perror and then continue.
23477
23478 2003-02-03 Michael Chastain <mec@shout.net>
23479
23480 * gdb.c++/pr-1023.cc: New file.
23481 * gdb.c++/pr-1023.exp: New file.
23482
23483 2003-02-05 Jim Blandy <jimb@redhat.com>
23484
23485 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23486 it's local to foobar. Check for it there, and check that it's not
23487 present in main.
23488 * gdb.c++/local.cc (marker2): New function.
23489 (foobar): Call marker1.
23490 (main): Call marker2 instead of marker1.
23491
23492 2003-02-04 Andrew Cagney <ac131313@redhat.com>
23493
23494 * gdb.disasm/mn10200.exp: Obsolete file.
23495 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23496 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23497 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23498
23499 2003-02-04 David Carlton <carlton@math.stanford.edu>
23500
23501 * gdb.c++/overload.exp: Test intToChar(1).
23502 * gdb.c++/overload.cc (intToChar): New.
23503 (main): Call intToChar.
23504
23505 2003-02-03 David Carlton <carlton@math.stanford.edu>
23506
23507 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23508 'might_kfail' arg.
23509 KFAIL some of the continue_to_bp_overloaded calls, according to
23510 PR c++/1025.
23511
23512 2003-02-01 Michael Chastain <mec@shout.net>
23513
23514 * gdb.base/advance.c (marker1): New marker function.
23515 * gdb.base/advance.exp: When the 'advance' command lands on the
23516 return breakpoint, it can legitimately stop on either the
23517 current line or the next line. Accommodate both outcomes.
23518 * gdb.base/until.exp: Likewise.
23519
23520 2003-02-02 Andrew Cagney <ac131313@redhat.com>
23521
23522 2002-11-10 Jason Molenda (jason-cl@molenda.com):
23523 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23524 now a list, not a tuple.
23525 * gdb.mi/mi-var-display.exp: Ditto.
23526 * gdb.mi/gdb792.exp: Ditto.
23527
23528 2003-02-01 Andrew Cagney <ac131313@redhat.com>
23529
23530 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
23531 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23532 stack backtraces.
23533 * gdb.mi/mi-syn-frame.c: Part of same.
23534
23535 2003-02-01 Mark Kettenis <kettenis@gnu.org>
23536
23537 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23538 gdb.mi/mi1-pthreads.exp: Return instead of calling
23539 gdb_suppress_entire_file.
23540
23541 2003-02-01 Mark Salter <msalter@redhat.com>
23542
23543 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23544
23545 2003-01-31 Mark Salter <msalter@redhat.com>
23546
23547 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23548 Support empty arg.
23549
23550 2003-01-30 Michael Chastain <mec@shout.net>
23551
23552 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23553 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23554 has been fixed in gdb/readline on 2003-01-09.
23555
23556 2003-01-29 Michael Snyder <msnyder@redhat.com>
23557
23558 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23559 * gdb.base/display.exp: Allow for leading underscore in symbol.
23560 * gdb.base/args.exp: Skip if target does not support args passing.
23561
23562 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
23563
23564 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
23565 gdb_test. Accept a list of expect arguments as the third
23566 parameter.
23567 (gdb_test): Use it.
23568
23569 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
23570
23571 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23572 allow for different test tree configurations. Update some
23573 tescases accordingly.
23574 * gdb.arch/altivec-regs.exp: Ditto.
23575 * gdb.asm/asm-source.exp: Ditto.
23576 * gdb.base/advance.exp: Ditto.
23577 * gdb.base/display.exp: Ditto.
23578 * gdb.base/long_long.exp: Ditto.
23579 * gdb.base/mips_pro.exp: Ditto.
23580 * gdb.base/overlays.exp: Ditto.
23581 * gdb.base/relocate.exp: Ditto.
23582 * gdb.base/setshow.exp: Ditto.
23583 * gdb.base/step-line.exp: Ditto.
23584 * gdb.base/step-test.exp: Ditto.
23585 * gdb.base/until.exp: Ditto.
23586 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23587
23588 2003-01-17 David Carlton <carlton@math.stanford.edu>
23589
23590 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23591 corresponding to PR c++/945.
23592 Update copyright.
23593
23594 2003-01-17 David Carlton <carlton@math.stanford.edu>
23595
23596 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23597 corresponding to PR c++/68.
23598
23599 2003-01-17 David Carlton <carlton@math.stanford.edu>
23600
23601 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23602 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23603 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23604
23605 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23606
23607 * gdb.base/break.exp: Fix change of default location, because of
23608 removal of until tests.
23609 * gdb.base/help.exp: Update test for new 'until' help message.
23610 Add test for help on 'advance'.
23611 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
23612
23613 2003-01-15 Mark Kettenis <kettenis@gnu.org>
23614
23615 * gdb.base/default.exp: Adapt "info float" test for recent changes
23616 to that command. Add test for "info vector".
23617 * gdb.base/float.exp: New file. Add test for "info float" that
23618 resembles the old test in gdb.base/default.exp.
23619
23620 2003-01-15 David Carlton <carlton@math.stanford.edu>
23621
23622 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23623
23624 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23625
23626 * gdb.base/break.exp: Move the tests of until command from here...
23627 * gdb.base/until.exp: ... to here. New file. Add other tests.
23628 * gdb.base/advance.c: New file.
23629 * gdb.base/advance.exp: New file.
23630
23631 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
23632
23633 * gdb.base/args.c: New file.
23634 * gdb.base/args.exp: New file.
23635
23636 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23637
23638 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23639
23640 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23641
23642 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23643
23644 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23645
23646 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23647 dates.
23648
23649 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23650
23651 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23652
23653 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23654
23655 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23656 (ptype &*"foo").
23657 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23658
23659 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23660
23661 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23662 * gdb.mi/mi1-console.exp: Likewise.
23663
23664 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23665
23666 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23667 * gdb.mi/mi1-console.exp: Likewise.
23668
23669 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23670
23671 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23672
23673 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23674
23675 * gdb.base/detach.exp: New test.
23676
23677 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23678
23679 * Makefile.in (ALL_SUBDIRS): New variable.
23680 (subdirs, clean, distclean): Use it.
23681 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23682 regenerating Makefile, since it is generated from the top level.
23683 * gdb.asm/Makefile.in: Likewise.
23684 * gdb.base/Makefile.in: Likewise.
23685 * gdb.c++/Makefile.in: Likewise.
23686 * gdb.disasm/Makefile.in: Likewise.
23687 * gdb.java/Makefile.in: Likewise.
23688 * gdb.mi/Makefile.in: Likewise.
23689 * gdb.threads/Makefile.in: Likewise.
23690 * gdb.trace/Makefile.in: Likewise.
23691
23692 2003-01-09 David Carlton <carlton@math.stanford.edu>
23693
23694 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23695 Add copyright year 2003.
23696
23697 2003-01-06 Michael Chastain <mec@shout.net>
23698
23699 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23700 When selecting a thread, 'line' and 'file' are optional.
23701 * gdb.mi/mi1-pthreads.exp: Likewise.
23702
23703 2003-01-06 Andreas Schwab <schwab@suse.de>
23704
23705 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23706 failures.
23707
23708 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23709
23710 Fix PR gdb/844
23711 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23712 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23713
23714 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23715 instead of calling gdb_suppress_entire_file.
23716 * gdb.threads/print-threads.exp: Likewise.
23717 * gdb.threads/schedlock.exp: Likewise.
23718
23719 * gdb.threads/killed.exp: Return instead of calling
23720 gdb_suppress_entire_file.
23721 * gdb.threads/linux-dp.exp: Likewise.
23722 * gdb.threads/pthreads.exp: Likewise.
23723
23724 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23725
23726 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23727 stabs.
23728 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23729 * gdb.base/whatis.exp: Always allow (void) after function names.
23730
23731 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23732
23733 * gdb.c++/casts.exp: Correct regexp.
23734
23735 2003-01-04 Mark Kettenis <kettenis@gnu.org>
23736
23737 * configure.in: Call AC_CONFIG_HEADER. Don't call
23738 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23739 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23740 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23741 aforementioned directories in the AC_OUPUT call.
23742 * config.hin: New file.
23743 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23744 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23745 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23746 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23747 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23748 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23749 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23750 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23751 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23752 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23753 gdb.threads/configure.in, gdb.threads/configure,
23754 gdb.threads/config.in, gdb.trace/configure.in,
23755 gdb.trace/configure: Removed.
23756
23757 2003-01-03 Michael Chastain <mec@shout.net>
23758
23759 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23760 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23761
23762 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
23763
23764 * gdb.base/store.exp: Fix regular expressions.
23765
23766 2002-12-28 Mark Kettenis <kettenis@gnu.org>
23767
23768 * configure.in: Rewrite.
23769 * configure: Regenerated.
23770
23771 2003-01-03 David Carlton <carlton@math.stanford.edu>
23772
23773 * gdb.base/psymtab.exp: New file.
23774 * gdb.base/psymtab1.c: Ditto.
23775 * gdb.base/psymtab2.c: Ditto.
23776
23777 2002-12-23 Adam Fedor <fedor@gnu.org>
23778
23779 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23780
23781 2002-12-23 David Carlton <carlton@math.stanford.edu>
23782
23783 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23784 and current_directory initialization.
23785
23786 2002-12-22 Jim Blandy <jimb@redhat.com>
23787
23788 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23789 rather than as part of the output file name.
23790
23791 * gdb.base/attach.exp: There's no need to copy the test program to
23792 /tmp; that was only ever necessary on HP/UX, and this test is
23793 entirely disabled there anyway.
23794
23795 2002-12-21 Jim Blandy <jimb@redhat.com>
23796
23797 * gdb.c++/psmang.exp: Doc fix.
23798
23799 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23800 test.
23801
23802 2002-12-20 David Carlton <carlton@math.stanford.edu>
23803
23804 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23805
23806 2002-12-18 Michael Chastain <mec@shout.net>
23807
23808 * gdb.c++/annota2.exp: Add copyright year 2002.
23809
23810 2002-12-17 David Carlton <carlton@math.stanford.edu>
23811
23812 * gdb.c++/try_catch.cc: Add marker comments.
23813 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23814 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23815 * gdb.c++/m-static.cc: Ditto.
23816 * gdb.c++/m-static1.cc: Ditto.
23817 * gdb.c++/try_catch.cc: Ditto.
23818
23819 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23820
23821 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23822 to see whether we are using the new -environment-directory
23823 command which resets via -r or the old version of the command
23824 which may prompt the user. Part of fix for gdb/741.
23825
23826 2002-12-13 Andrew Cagney <ac131313@redhat.com>
23827
23828 * gdb.fortran/types.exp: Update obsolete comment.
23829 * gdb.fortran/exprs.exp: Ditto.
23830 * lib/gdb.exp: Delete obsolete code.
23831 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23832 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23833 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23834 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23835 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23836 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23837 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23838 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23839 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23840 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23841 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23842 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23843 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23844 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23845 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23846 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23847 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23848 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23849 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23850 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23851 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23852 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23853 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23854 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23855 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23856 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23857 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23858 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23859 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23860 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23861 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23862 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23863 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23864 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23865 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23866 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23867 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23868
23869 2002-12-11 David Carlton <carlton@math.stanford.edu>
23870
23871 * gdb.c++/m-data.exp: Add test for members that shadow global
23872 variables: see PR gdb/804.
23873 * gdb.c++/m-data.cc: Ditto.
23874
23875 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
23876
23877 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23878
23879 2002-12-06 David Carlton <carlton@math.stanford.edu>
23880
23881 * gdb.base/store.c: Don't declare functions static.
23882
23883 2002-12-04 Andrew Cagney <ac131313@redhat.com>
23884
23885 * gdb.base/store.exp, gdb.base/store.c: New files.
23886
23887 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23888
23889 * gdb.base/selftest.exp: Update for current gdb.
23890
23891 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23892
23893 * gdb.base/maint.exp: Only dump symbols from one source file
23894 or objfile.
23895
23896 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23897
23898 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23899 function call.
23900
23901 2002-11-25 Jim Blandy <jimb@redhat.com>
23902
23903 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23904 function appearing in error message.
23905
23906 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
23907
23908 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23909
23910 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23911
23912 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23913 for mi1 and current mi is in correct format. New mi startup message
23914 should be in mi console format. This is part of fix for PR gdb/604.
23915
23916 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23917
23918 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23919 which explicitly prints the zero offset as "+0".
23920
23921 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
23922
23923 * gdb.threads/schedlock.c (args): Make unsigned.
23924
23925 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
23926
23927 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23928 numbers. Allow "foo2|selected stack frame".
23929 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23930 * gdb.asm/asmsrc2.s: Likewise.
23931 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23932 comments.
23933 * gdb.asm/mips.inc: New file.
23934
23935 2002-10-18 Adam Fedor <fedor@gnu.org>
23936
23937 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23938 * gdb.base/help.exp: Likewise.
23939
23940 2002-10-17 Kevin Buettner <kevinb@redhat.com>
23941
23942 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23943 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23944
23945 2002-10-02 Jim Blandy <jimb@redhat.com>
23946
23947 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23948
23949 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23950
23951 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23952 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23953 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23954 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23955 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23956 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23957 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23958
23959 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23960
23961 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23962 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23963 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23964 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23965 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23966 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23967 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23968
23969 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23970
23971 * gdb.base/annota1.exp (info break): Make directory components of
23972 path optional since not all compilers emit this debug information.
23973
23974 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23975 step ends up stepping out of the function instead of stopping on
23976 the epilogue.
23977
23978 2002-09-26 Keith Seitz <keiths@redhat.com>
23979
23980 * lib/insight-support.exp (gdbtk_start): Figure out where
23981 the insight executable is based on where gdb is. Use this
23982 executable to start insight instead of gdb.
23983
23984 2002-09-25 Andrew Cagney <cagney@redhat.com>
23985
23986 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23987
23988 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23989
23990 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23991 test_isolated_complaints.
23992 (test_empty_complaint): New function.
23993 (test_empty_complaints): New function. Check no output when no
23994 complaints.
23995
23996 2002-09-19 Jim Blandy <jimb@redhat.com>
23997
23998 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23999
24000 2002-09-19 Andrew Cagney <ac131313@redhat.com>
24001
24002 * gdb.gdb/complaints.exp: New file.
24003
24004 2002-09-18 Andrew Cagney <ac131313@redhat.com>
24005
24006 * gdb.base/maint.exp: Check `help maint internal-warning'.
24007
24008 2002-09-18 David Carlton <carlton@math.stanford.edu>
24009
24010 * gdb.c++/m-static.exp: Remove breakpoints depending on line
24011 numbers, and replace them by a single breakpoint after the
24012 constructors are all finished.
24013 Add test 4.
24014 * gdb.c++/m-static.cc: Add test 4.
24015 * gdb.c++/m-static.h: New file.
24016 * gdb.c++/m-static1.cc: New file.
24017
24018 * gdb.c++/printmethod.exp: New file.
24019 * gdb.c++/printmethod.cc: New file.
24020
24021 * gdb.c++/pr-574.exp: New file.
24022 * gdb.c++/pr-574.cc: New file.
24023
24024 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
24025
24026 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
24027 embedded targets which never actually exit.
24028
24029 2002-09-18 Fernando Nasser <fnasser@redhat.com>
24030
24031 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
24032 "don't step after run" as unresolved or unsupported, instead of xfail.
24033
24034 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
24035
24036 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
24037 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
24038 Add newline to expected string in "step out of main (status wrapper)"
24039 case.
24040
24041 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
24042
24043 * lib/gdb.exp (rerun_to_main): Allow restarting application.
24044 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
24045
24046 2002-09-17 Tom Tromey <tromey@redhat.com>
24047
24048 * gdb.base/printcmds.exp (test_print_string_constants): Expect
24049 \000, not \0, in double-quoted string.
24050
24051 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
24052
24053 * gdb.base/commands.exp: Don't expect a "Program exited normally"
24054 string after running the commands execution on breakpoint tests.
24055
24056 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
24057
24058 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
24059
24060 2002-09-12 Joel Brobecker <brobecker@gnat.com>
24061
24062 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
24063
24064 2002-09-10 Keith Seitz <keiths@redhat.com>
24065
24066 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
24067 runto proc.
24068 (mi_run_to_main): Use mi_runto.
24069 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
24070
24071 2002-09-10 Keith Seitz <keiths@redhat.com>
24072
24073 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
24074 regexp for stopping at main. Could have multiple event notifications.
24075 Don't assume that main was declared with no parameters.
24076 (mi_next): Use mi_step_to.
24077 (mi_step): Use mi_next_to.
24078
24079 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
24080
24081 * gdb.base/default.exp: Fix expected string in `info float' test.
24082
24083 2002-09-09 Ben Elliston <bje@redhat.com>
24084
24085 * config/mips.exp: Update comments.
24086 * config/mips-idt.exp: Likewise.
24087 * config/nind.exp: Likewise.
24088 * config/slite.exp: Likewise.
24089 * config/sparclet.exp: Likewise.
24090 * config/udi.exp: Likewise.
24091 * config/vx.exp: Likewise.
24092 * config/vxworks29k.exp: Likewise.
24093
24094 2002-09-05 Jim Blandy <jimb@redhat.com>
24095
24096 * gdb.threads/killed.exp: Fix test failure message.
24097
24098 2002-09-04 Keith Seitz <keiths@redhat.com>
24099
24100 * lib/mi-support.exp: Update copyright.
24101 (mi_gdb_test): Increase the priority of the expected pattern
24102 so that it matches gdb_test.
24103
24104 2002-09-03 Keith Seitz <keiths@redhat.com>
24105
24106 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
24107 Use integer comparison instead of string comparison for testing
24108 whether binary was built.
24109
24110 2002-09-03 Jim Blandy <jimb@redhat.com>
24111
24112 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
24113
24114 2002-08-29 Jim Blandy <jimb@redhat.com>
24115
24116 * gdb.threads/pthreads.exp: Move the portable thread compilation
24117 code into a function in lib/gdb.exp, and call that from here.
24118 * lib/gdb.exp (gdb_compile_pthreads): New function.
24119
24120 2002-08-29 Keith Seitz <keiths@redhat.com>
24121
24122 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
24123 expect_out so that callers can get at it.
24124
24125 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
24126
24127 * gdb.threads/print-threads.c: New file.
24128 * gdb.threads/print-threads.exp: New file.
24129 * gdb.threads/schedlock.c: New file.
24130 * gdb.threads/schedlock.exp: New file.
24131
24132 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
24133
24134 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
24135 not altivec.c.
24136
24137 2002-08-17 Mark Kettenis <kettenis@gnu.org>
24138
24139 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
24140 targets. The problem should be fixed now.
24141
24142 2002-08-15 Mark Kettenis <kettenis@gnu.org>
24143
24144 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
24145 2002-07-24 change that removes final dots from error messages.
24146
24147 2002-08-13 Tom Tromey <tromey@redhat.com>
24148
24149 * gdb.base/readline.exp: New file.
24150
24151 2002-08-01 Andrew Cagney <ac131313@redhat.com>
24152
24153 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
24154 supress message.
24155
24156 2002-08-01 Andrew Cagney <cagney@redhat.com>
24157
24158 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
24159 CHILL_FOR_TARGET and CHILL_LIB.
24160 * configure.in (configdirs): Remove gdb.chill.
24161 * configure: Regenerate.
24162 * lib/gdb.exp: Obsolete references to chill.
24163 * gdb.fortran/types.exp: Ditto.
24164 * gdb.fortran/exprs.exp: Ditto.
24165
24166 2002-07-30 Kevin Buettner <kevinb@redhat.com>
24167
24168 * gdb.base/shlib-call.exp (additional_flags): Conditionally
24169 set Irix-specific compile and link flags.
24170
24171 2002-07-29 Kevin Buettner <kevinb@redhat.com>
24172
24173 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
24174 source files. The ``-o'' option doesn't work with the ``-E'' option
24175 when using the Irix compiler.
24176
24177 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
24178
24179 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
24180 Improve support for reusing an exec file. Copy exec file
24181 to target, and run gdbserver on the target instead of on the host.
24182
24183 2002-07-18 Jim Blandy <jimb@redhat.com>
24184
24185 * gdb.base/ending-run.exp: Don't expect to see the program end in
24186 some orderly fashion when we're running on a real stand-alone
24187 board.
24188
24189 * gdb.base/interrupt.exp: Correct logic for skipping tests on
24190 targets that don't support interrupts.
24191
24192 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
24193
24194 * gdb.base/attach.exp: Add patterns to match output from /proc-based
24195 systems.
24196 Move comments in expect statements to inside the actions, so that they
24197 don't get matched against.
24198
24199 2002-07-10 Mark Kettenis <kettenis@gnu.org>
24200
24201 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
24202 function when asleep" test.
24203
24204 2002-07-10 Andrew Cagney <ac131313@redhat.com>
24205
24206 * gdb.base/page.exp: Rewrite to handle problems with very long
24207 `info set' output. Update copyright.
24208
24209 2002-06-26 Andrew Cagney <ac131313@redhat.com>
24210
24211 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
24212 gdb.threads-hp.
24213 * gdb.hp/configure: Regenerate.
24214 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
24215 * gdb.hp/gdb.threads-hp/configure: Delete file.
24216 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
24217
24218 2002-06-22 Andrew Cagney <ac131313@redhat.com>
24219
24220 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
24221 setlocale, bindtextdomain and textdomain.
24222
24223 2002-06-11 Jim Blandy <jimb@redhat.com>
24224
24225 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
24226 preprocessor macro information is present.
24227
24228 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
24229 tests.
24230
24231 2002-06-06 Michael Snyder <msnyder@redhat.com>
24232
24233 * gdb.base/overlays.exp: Record addresses of overlay
24234 functions in TCL variables rather than in GDB variables,
24235 to avoid having GDB convert them to pointers (with loss
24236 of information).
24237
24238 * gdb.base/d10v.ld: Merge in several years worth of
24239 default linker script changes.
24240 * gdb.base/long_long.exp: Add check for sizeof (long double).
24241
24242 2002-06-06 Michal Ludvig <mludvig@suse.cz>
24243
24244 * gdb.asm/asm-source.exp: Add x86-64 target.
24245 * gdb.asm/x86_64.inc: New.
24246
24247 2002-05-30 Michael Chastain <mec@shout.net>
24248
24249 From Benjamin Kosnik <bkoz@redhat.com>:
24250 * gdb.c++/m-static.cc: New file.
24251 * gdb.c++/m-static.exp: New file.
24252
24253 2002-05-28 Michael Snyder <msnyder@redhat.com>
24254
24255 * gdb.base/call-ar-st.exp: Allow for reduced floating point
24256 precision.
24257
24258 2002-05-27 Michael Chastain <mec@shout.net>
24259
24260 From Benjamin Kosnik <bkoz@redhat.com>:
24261 * gdb.c++/m-data.cc: New file.
24262 * gdb.c++/m-data.exp: New file.
24263
24264 2002-05-27 Michael Chastain <mec@shout.net>
24265
24266 From Benjamin Kosnik <bkoz@redhat.com>:
24267 * gdb.c++/try_catch.cc: New file.
24268 * gdb.c++/try_catch.exp: New file.
24269
24270 2002-05-27 Michael Chastain <mec@shout.net>
24271
24272 * gdb.c++/local.exp: Accept more nested types in output.
24273
24274 2002-05-26 Michael Chastain <mec@shout.net>
24275
24276 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
24277
24278 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
24279
24280 * lib/gdb.exp (gdb_wrapper_init): Just because
24281 gdb_wrapper_file exists, this does not mean that the file
24282 should not be rebuilt. That is what gdb_wrapper_initialized
24283 is for.
24284 (default_gdb_init): Reset gdb_wrapper_initialized.
24285
24286 2002-05-23 Michael Snyder <msnyder@redhat.com>
24287
24288 * gdb.base/all-bin.exp: Revise previous patch by just reducing
24289 the precision of the floating point test results.
24290 * gdb.base/call-rt-st.exp: Ditto.
24291
24292 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
24293 * gdb.base/call-rt-st.exp: Ditto.
24294
24295 2002-05-19 Michael Chastain <mec@shout.net>
24296
24297 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
24298
24299 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
24300
24301 * configure.in (configdirs): Add gdb.arch.
24302 * configure: Regenerate.
24303
24304 2002-05-17 Jim Blandy <jimb@redhat.com>
24305
24306 * gdb.base/completion.exp: Recognize the more detailed error
24307 messages produced by the macro expander's lexical analyzer.
24308
24309 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
24310
24311 * gdb.arch/altivec-abi.c: New file.
24312 * gdb.arch/altivec-abi.exp: New file.
24313 * gdb.arch/altivec-regs.c: New file.
24314 * gdb.arch/altivec-regs.exp: New file.
24315
24316 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
24317
24318 * gdb.base/maint.exp (maint print type): Update for new type
24319 structure.
24320
24321 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
24322
24323 * gdb.arch: New directory.
24324 * gdb.arch/configure.in: New file.
24325 * gdb.arch/configure: New file.
24326 * gdb.arch/Makefile.in: New file.
24327
24328 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
24329
24330 * gdb.asm/asm-source.exp: Add v850 as supported target.
24331 * gdb.asm/v850.inc: New file.
24332
24333 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
24334
24335 * gdb.c++/annota2.exp (annotate-quit): Add comment.
24336
24337 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
24338
24339 * gdb.base/break.exp: Check 'break "marker2"'.
24340
24341 2002-05-10 Michael Snyder <msnyder@redhat.com>
24342
24343 * gdb.base/long_long.exp: Fix typo.
24344
24345 2002-05-10 Jim Blandy <jimb@redhat.com>
24346
24347 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
24348 a bug.
24349
24350 * gdb.base/printcmds.exp (test_integer_literals_rejected):
24351 Recognize more detailed error message produced by the macro
24352 expander's lexical analyzer.
24353 * lib/gdb.exp (test_print_reject): Same.
24354
24355 2002-05-09 Mark Kettenis <kettenis@gnu.org>
24356
24357 * gdb.c++/method.exp: Fix typo.
24358
24359 2002-05-08 Michael Snyder <msnyder@redhat.com>
24360
24361 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
24362 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
24363 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
24364 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
24365 Add iftarget clause for strongarm.
24366
24367 2002-05-06 Michael Snyder <msnyder@redhat.com>
24368
24369 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
24370 (gdb_continue_to_end): Accept output from status wrapper.
24371 * gdb.base/ending-run.exp: Add case for output from status wrapper.
24372 Clean up fail messages to match pass messages.
24373
24374 Enable the "needs_status_wrapper" testsuite feature.
24375 * lib/gdb.exp (gdb_wrapper_init): New procedure.
24376 (gdb_compile): Conditionally call gdb_wrapper_init.
24377 * gdb.base/a2-run.exp: Recognize output from status wrapper.
24378 * gdb.c++/method.exp: Recognize output from status wrapper.
24379
24380 2002-05-06 Ben Elliston <bje@redhat.com>
24381 From Graydon Hoare <graydon@redhat.com>
24382
24383 * config/sid.exp: Include support for "rawsid" protocol.
24384
24385 2002-05-03 Jim Blandy <jimb@redhat.com>
24386
24387 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
24388 * gdb.c++/hang3.C: New file.
24389
24390 2002-05-04 Andrew Cagney <ac131313@redhat.com>
24391
24392 * gdb.base/default.exp: Remove obsolete code.
24393 * gdb.c++/misc.exp: Ditto. Update copyright.
24394 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
24395 * gdb.base/whatis.exp: Ditto. Update copyright.
24396 * gdb.base/scope.exp: Ditto. Update copyright.
24397 * gdb.base/ptype.exp: Ditto. Update copyright.
24398 * gdb.base/printcmds.exp: Ditto. Update copyright.
24399 * gdb.base/opaque.exp: Ditto. Update copyright.
24400 * gdb.base/list.exp: Ditto.
24401 * gdb.base/funcargs.exp: Ditto. Update copyright.
24402 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
24403 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
24404 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
24405 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
24406 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
24407 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
24408
24409 2002-05-02 Michael Snyder <msnyder@redhat.com>
24410
24411 * gdb.base/watchpoint.exp: Add xscale target.
24412 * gdb.base/long_long.exp: Add xscale target.
24413 * gdb.base/default.exp: Add xscale target.
24414
24415 2002-05-01 Jim Blandy <jimb@redhat.com>
24416
24417 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
24418 gdb.c++/hang.exp: New test.
24419
24420 2002-05-01 Fred Fish <fnf@redhat.com>
24421
24422 * gdb.base/completion.exp: Handle completions of "./Make" for
24423 more than one completion possibility, as is the case when we
24424 build and test in the source tree.
24425
24426 2002-04-29 Anthony Green <green@redhat.com>
24427
24428 * gdb.java/jmisc1.exp: New file.
24429 * gdb.java/jmisc2.exp: New file.
24430
24431 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
24432
24433 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
24434
24435 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
24436
24437 * gdb.base/help.exp: Change 'help status' to allow for target
24438 dependent output differences.
24439
24440 2002-04-22 Michael Chastain <mec@shout.net>
24441
24442 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
24443
24444 2002-04-22 Michael Chastain <mec@shout.net>
24445
24446 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
24447
24448 2002-04-17 David S. Miller <davem@redhat.com>
24449
24450 * gdb.asm/sparc64.inc: New file.
24451 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
24452
24453 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
24454
24455 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
24456 instruction file directly into the build tree. Clean up at end of
24457 test.
24458
24459 2002-04-18 David S. Miller <davem@redhat.com>
24460
24461 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
24462 handle 64-bit platforms correctly.
24463 * gdb.base/maint.exp: Likewise.
24464
24465 2002-04-18 Kevin Buettner <kevinb@redhat.com>
24466
24467 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
24468 ``-fpic'' when compiling files comprising a shared library, but
24469 it does need additional linker flags in order to find shared
24470 libraries at run time.
24471
24472 2002-04-18 Kevin Buettner <kevinb@redhat.com>
24473
24474 * gdb.base/cvexpr.c (use): New function.
24475 (main): Invoke use() on all global variables to prevent
24476 some linkers from deleting these otherwise unused symbols.
24477
24478 2002-04-17 Michael Chastain <mec@shout.net>
24479 From David S. Miller <davem@redhat.com>
24480
24481 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24482 handle 64-bit platforms correctly.
24483
24484 2002-04-12 Michael Snyder <msnyder@redhat.com>
24485 From Jim Blandy <jimb@redhat.com>
24486 * gdb.base/foo.c (foox): Remove section attribute; the linker
24487 script can handle this instead.
24488 * gdb.base/bar.c (barx): Same.
24489 * gdb.base/baz.c (bazx): Same.
24490 * gdb.base/grbx.c (grbxx): Same.
24491
24492 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24493 manager doesn't automatically unmap overlays unnecessarily.
24494
24495 2002-04-10 Martin M. Hunt <hunt@redhat.com>
24496
24497 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24498 stepping out of main.
24499
24500 2002-04-09 Michael Chastain <mec@shout.net>
24501
24502 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24503 scope so that the nested scope tests will make sense.
24504 * gdb.c++/local.exp: Write patterns that actually work with gcc
24505 (the HP patterns "were never known to work with gcc").
24506 Keep the old aCC patterns too.
24507
24508 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
24509
24510 * gdb.base/attach.exp: Correct target board test.
24511
24512 2002-04-08 Michael Chastain <mec@shout.net>
24513
24514 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24515 in a const method. Add some xfail and fail cases for configurations
24516 that do not emit the "const ...".
24517
24518 2002-04-07 Michael Chastain <mec@shout.net>
24519
24520 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24521 Accept "A * const" and "const A * const" as type of "this".
24522 Fix spelling of getFunky throughout. Make messages uniform.
24523
24524 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24525
24526 Work around for PR gdb/285:
24527 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24528
24529 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24530
24531 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24532 instructions file at run time instead of configure time.
24533 Sometimes we run the test in a directory that is not the one we
24534 configured in.
24535 * gdb.asm/configure.in: Delete creation of symlink.
24536 * gdb.asm/configure: Regenerate.
24537
24538 2002-04-05 J. Brobecker <brobecker@gnat.com>
24539
24540 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24541 xfullpath () function.
24542
24543 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24544
24545 * gdb.asm/Makefile.in: Correct dependencies.
24546
24547 * gdb.asm/powerpc.inc: New file.
24548 * gdb.asm/asm-source.exp: Add PowerPC.
24549 * gdb.asm/configure.in: Likewise.
24550 * gdb.asm/configure: Regenerated.
24551
24552 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24553
24554 * gdb.base/relocate.exp: New file.
24555 * gdb.base/relocate.c: New file.
24556
24557 2002-04-04 Fred Fish <fnf@redhat.com>
24558
24559 * gdb.base/step-test.exp: Update comment regarding stopping in
24560 memcpy/bcopy calls inserted as part of the compiler runtime.
24561
24562 2002-04-04 Michael Snyder <msnyder@redhat.com>
24563
24564 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24565
24566 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
24567
24568 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24569 (gdb_expect): Remove $notransfer hack.
24570
24571 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
24572
24573 * gdb.c++/classes.exp ("calling method for small class"): Match
24574 updated register output.
24575
24576 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24577
24578 Fix PR gdb/452
24579 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24580 when finished. Make gdb_file_cmd send "exec-file" when
24581 appropriate.
24582
24583 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24584
24585 * gdb.base/attach.exp: Remove extra setup_xfail.
24586
24587 2002-03-26 Michael Snyder <msnyder@redhat.com>
24588
24589 * gdb.base/default.exp: Add tests for dump, append, and restore.
24590 * gdb.base/help.exp: Add tests for dump, append, and restore.
24591 * gdb.base/dump.exp: New file, test dump, append and restore.
24592 * gdb.base/dump.c: New file.
24593
24594 2002-03-27 Michael Snyder <msnyder@redhat.com>
24595
24596 * gdb.base/help.exp: Modify expect strings to reflect
24597 clean-ups in help messages.
24598
24599 2002-03-26 Fred Fish <fnf@redhat.com>
24600
24601 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24602 have debugging info for those functions and the compiler uses them
24603 internally to copy structs around.
24604
24605 2002-03-26 Fred Fish <fnf@redhat.com>
24606
24607 * gdb.base/list.exp: Revert the change made yesterday and add note
24608 about why we don't list the default lines for remote targets.
24609
24610 2002-03-25 Michael Snyder <msnyder@redhat.com>
24611
24612 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24613
24614 2002-03-25 Fred Fish <fnf@redhat.com>
24615
24616 * gdb.base/list.exp: This test works on remote targets so remove
24617 the short circuit for remote targets. Update copyright.
24618
24619 2002-03-25 Fred Fish <fnf@redhat.com>
24620
24621 * gdb.base/attach.exp: Fix logic error that was suppressing this
24622 test for all non hppa*-*-hpux* targets, instead of the hp target.
24623 Move comments closer to the suppression point. Also now need to
24624 check that we are running natively.
24625
24626 2002-03-22 Michael Snyder <msnyder@redhat.com>
24627
24628 * gdb.base/default.exp: Add test for gcore. Update copyright.
24629 * gdb.base/help.exp: Add test for gcore. Update copyright.
24630
24631 2002-03-06 Fred Fish <fnf@redhat.com>
24632
24633 * gdb.base/funcargs.c: Remove extraneous ';' character.
24634 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24635
24636 2002-03-04 Michael Chastain <mec@shout.net>
24637
24638 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24639 accommodate gcc v3 function signature.
24640 * gdb.mi/mi0-var-cmd-exp: Ditto.
24641
24642 2002-02-24 Andrew Cagney <ac131313@redhat.com>
24643
24644 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24645 ``GNU/Linux'' or ``Linux kernel''
24646 * testsuite/gdb.threads/pthreads.c: Ditto.
24647
24648 2002-02-24 Michael Chastain <mec@shout.net>
24649
24650 * gdb.threads/pthreads.c (thread1): Add a return statement.
24651 (thread2): Likewise.
24652 (foo): Likewise.
24653
24654 2002-02-23 Michael Chastain <mec@shout.net>
24655
24656 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24657 to placate gcc.
24658
24659 2002-02-23 Michael Chastain <mec@shout.net>
24660
24661 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24662 test "ptype bint". The test passes on all my stabs configurations.
24663
24664 2002-02-21 Jim Blandy <jimb@redhat.com>
24665
24666 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24667 filename at a time, and watch for the ones we want to see.
24668
24669 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24670 types of pointers to prototyped functions.
24671
24672 2002-02-20 Andrew Cagney <ac131313@redhat.com>
24673
24674 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24675 signed, unsigned and straight char.
24676 (padding_char, padding_short, padding_int, padding_long,
24677 padding_long_long, padding_float, padding_double,
24678 padding_long_double): New global variables.
24679 (fill, fill_structs): New functions.
24680
24681 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24682 for correctly sized writes. Update copyright.
24683 (get_valueof): New procedure.
24684 (get_sizeof): Call get_valueof.
24685 (check_valueof): New procedure.
24686 (check_padding): New procedure.
24687
24688 2002-02-20 Michael Chastain <mec@shout.net>
24689
24690 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24691 to setup_xfail. Document some of the remaining calls.
24692
24693 2002-02-18 Michael Chastain <mec@shout.net>
24694
24695 * gdb.c++/userdef.exp: Update copyright year.
24696
24697 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
24698
24699 * gdb.c++/userdef.exp: Test overloaded operators properly.
24700 Remove xfails.
24701
24702 2002-02-14 Michael Snyder <msnyder@redhat.com>
24703
24704 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24705
24706 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
24707
24708 * gdb.base/a2-run.exp: Check for a remote target properly.
24709 * gdb.base/annota1.exp: Likewise.
24710 * gdb.base/list.exp: Likewise.
24711 * gdb.base/reread.exp: Likewise.
24712 * gdb.base/scope.exp: Likewise.
24713 * gdb.base/shlib-call.exp: Likewise.
24714 * gdb.base/term.exp: Likewise.
24715 * gdb.c++/annota2.exp: Likewise.
24716
24717 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
24718
24719 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24720
24721 2002-02-10 Michael Chastain <mec@shout.net>
24722
24723 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24724 (call_after_alloca): Ditto.
24725
24726 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
24727
24728 * gdb.base/ending-run.exp: Guard "cont" test with
24729 gdb_skip_stdio_test.
24730
24731 2002-02-06 Jim Blandy <jimb@redhat.com>
24732
24733 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24734 from here...
24735 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24736 To here. Disable this test on non-HP platforms. Add big comment.
24737
24738 2002-02-04 Michael Snyder <msnyder@redhat.com>
24739
24740 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24741 other than d10v and m32r.
24742
24743 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
24744
24745 * gdb.base/default.exp: Rewrite test patterns to reduce time
24746 taken to match them.
24747
24748 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24749
24750 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24751 Allow a start function above main.
24752 * gdb.threads/linux-dp.exp: Fix copyright date.
24753
24754 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24755
24756 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24757 (check_philosopher_stack): Check for manager thread before checking
24758 for a just-starting thread.
24759
24760 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24761
24762 From Neil Booth <neil@daikokuya.demon.co.uk>:
24763 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24764 warnings.
24765
24766 2002-01-21 Fred Fish <fnf@redhat.com>
24767
24768 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24769 not caller.
24770
24771 2002-01-21 Jim Blandy <jimb@redhat.com>
24772
24773 * gdb.base/reread.exp: Check that GDB properly re-reads the
24774 executable file when it changes while no inferior is running.
24775
24776 2002-01-21 Fred Fish <fnf@redhat.com>
24777
24778 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24779 optionally accept the "shlib events" variation.
24780
24781 2002-01-21 Jim Blandy <jimb@redhat.com>
24782
24783 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24784 call `fflush' after every `printf', so that the output is produced
24785 at predictable points, regardless of whatever buffering does (or
24786 doesn't) take place.
24787 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24788 at different points.
24789
24790 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24791
24792 * gdb.c++/inherit.exp: Update copyright years.
24793 * gdb.c++/method.exp: Likewise.
24794
24795 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24796
24797 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24798 artificial methods/arguments.
24799 * gdb.c++/derivation.exp: Likewise.
24800 * gdb.c++/inherit.exp: Likewise.
24801 * gdb.c++/method.exp: Likewise.
24802 * gdb.c++/virtfunc.exp: Likewise.
24803
24804 2002-01-18 Andrew Cagney <ac131313@redhat.com>
24805
24806 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24807 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24808 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24809 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24810 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24811 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24812
24813 2002-01-17 Jim Blandy <jimb@redhat.com>
24814
24815 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24816 anchoring the pattern matching the entry point symbol's name.
24817
24818 2002-01-17 Andrew Cagney <ac131313@redhat.com>
24819
24820 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24821 continue/quit query. Update copyright.
24822
24823 2002-01-14 Michael Snyder <msnyder@redhat.com>
24824
24825 * gdb.base/gcore.exp: Remove extra debugging output.
24826
24827 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24828
24829 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24830 for slightly dubious v2 mangled string.
24831
24832 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24833
24834 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24835
24836 2002-01-10 Jason Merrill <jason@redhat.com>
24837
24838 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
24839
24840 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24841 constructors.
24842 * gdb.c++/derivation.exp: Likewise.
24843 * gdb.c++/templates.exp: Likewise.
24844 * gdb.c++/virtfunc.exp: Likewise.
24845
24846 2002-01-10 Michael Snyder <msnyder@redhat.com>
24847
24848 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
24849
24850 2002-01-08 Michael Snyder <msnyder@redhat.com>
24851
24852 * gdb.base/gcore.exp: New test for generate-core-file command.
24853 * gdb.base/gcore.c: Testcase for above.
24854 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24855
24856 2002-01-08 Jason Merrill <jason@redhat.com>
24857
24858 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24859
24860 2002-01-07 Fred Fish <fnf@redhat.com>
24861
24862 * gdb.c++/overload.exp: Remove unconditional xfails for:
24863 print foo_instance1.overloadargs(1)
24864 print foo_instance1.overloadargs(1, 2)
24865 print foo_instance1.overloadargs(1, 2, 3)
24866 print foo_instance1.overloadargs(1, 2, 3, 4)
24867 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24868 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24869 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24870 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24871 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24872 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24873 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24874 print foo_instance1.overload1arg()
24875 print foo_instance1.overload1arg((char)arg2)
24876 print foo_instance1.overload1arg((signed char)arg3)
24877 print foo_instance1.overload1arg((unsigned char)arg4)
24878 print foo_instance1.overload1arg((int)arg7)
24879 print foo_instance1.overload1arg((unsigned int)arg8)
24880 print foo_instance1.overload1arg((float)arg11)
24881 print foo_instance1.overload1arg((double)arg12)
24882
24883 2002-01-07 Michael Snyder <msnyder@redhat.com>
24884
24885 * gdb.base/huge.exp: New test. Print a very large target data object.
24886 (skip_huge_test): New test variable. Define if you want to skip this
24887 test. The test reads an 8 megabyte data object from the target, so it
24888 might be very time consuming on remote targets with a slow connection.
24889 * gdb.base/huge.c: New file. Test case for above.
24890
24891 2002-01-07 Fred Fish <fnf@redhat.com>
24892
24893 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24894 g_instance.bfoo, and g_instance.cfoo.
24895
24896 2002-01-07 Jeffrey A Law <law@redhat.com>
24897
24898 * gdb.base/break.c (multi_line_if_conditional): New function.
24899 (multi_ilne_while_conditional): Likewise.
24900 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24901 IF or WHILE condition puts the breakpoint at the start of
24902 the condition.
24903
24904 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24905 hppa*-*-hpux* expected failure.
24906 * gdb.base/structs.exp (do_function_calls): Similarly.
24907
24908 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24909 watchpoints.
24910
24911 2002-01-06 Andrew Cagney <ac131313@redhat.com>
24912
24913 Fix PR gdb/66.
24914 * gdb.base/structs.exp: Replace skip for a29k with skip for
24915 gdb,cannot_call_functions.
24916 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24917 * gdb.base/callfuncs.exp: Ditto.
24918 * gdb.base/call-rt-st.exp: Ditto.
24919 * gdb.base/call-strs.exp: Ditto.
24920 * gdb.base/callfwmall.exp: Ditto.
24921 * gdb.base/scope.exp: Obsolete xfail a29k.
24922 * gdb.c++/misc.exp: Ditto.
24923 * gdb.c++/cplusfuncs.exp: Ditto.
24924 * gdb.base/ptype.exp: Ditto.
24925 * gdb.base/printcmds.exp: Ditto.
24926 * gdb.base/opaque.exp: Ditto.
24927 * gdb.base/list.exp: Ditto.
24928 * gdb.base/funcargs.exp: Ditto.
24929 * gdb.base/default.exp: Ditto.
24930
24931 2002-01-04 Michael Snyder <msnyder@redhat.com>
24932
24933 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24934 * gdb.base/maint.exp: Add tests for maint info sections options.
24935
24936 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24937
24938 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24939
24940 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
24941
24942 * gdb.asm/arm.inc: New file.
24943 * gdb.asm/asm-source.exp: Add arm targets.
24944 * gdb.asm/configure.in: Ditto.
24945 * gdb.asm/configure: Recreated from configure.in.
24946
24947 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24948
24949 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24950 with HP's compiler.
24951 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24952 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24953 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24954 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24955
24956 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24957 either HP's compilers or GCC.
24958
24959 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24960 a SIGBUS or SIGSEGV.
24961
24962 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24963
24964 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24965 can be compiled with either HP's compiler or GCC.
24966
24967 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24968 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24969 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24970
24971 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24972 to match current gdb output. Update due to using auto-solib-limit
24973 for limiting instead of overloading auto-solib-add.
24974 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24975 test program.
24976
24977 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24978 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24979 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24980 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24981 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24982 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24983 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24984 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24985 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24986 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24987 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24988 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24989 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24990
24991 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24992 a SIGTRAP to the inferior.
24993
24994 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24995
24996 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24997 Substitute call to target_link by call to gdb_compile.
24998
24999 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
25000
25001 * gdb.base/break.exp: Fix HP specific search string when testing
25002 backtracing in a called function.
25003
25004 * gdb.base/constvars.exp: Only set lang to C++ if we're
25005 compiling the test with HP's compilers.
25006 * gdb.base/volatile.exp: Similarly.
25007
25008 2001-12-19 Jim Blandy <jimb@redhat.com>
25009
25010 * gdb.base/printcmds.exp: Expect the null character to be printed
25011 as '\0', and the '\013' to be printed as '\v'.
25012 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
25013 * gdb.base/setvar.exp: Same.
25014
25015 2001-12-17 Jim Blandy <jimb@redhat.com>
25016
25017 * gdb.base/completion.exp: Rather than completing very long
25018 filenames, which can make the readline library produce output we
25019 don't recognize, cd to the directory first, and then complete
25020 using nice, short relative paths.
25021
25022 * gdb.base/completion.exp: On some systems, there is, in fact, a
25023 variable named `b' in scope, since GDB treats all static
25024 variables as being in scope. So use `no_var_named_this'
25025 instead of `b'.
25026
25027 * gdb.base/corefile.exp: Recognize the message saying that GDB
25028 can't find the core file's registers as a failure.
25029
25030 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
25031
25032 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
25033 test expect string more specific.
25034
25035 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
25036
25037 * gdb.asm/asm-source.exp: Add support for xstormy16.
25038 * gdb.asm/configure.in: Ditto.
25039 * gdb.asm/configure: Rebuild.
25040 * gdb.asm/xstormy16.inc: New file.
25041
25042 2001-12-10 Fred Fish <fnf@redhat.com>
25043
25044 * gdb.base/maint.exp: Update to match changes in type dumping code.
25045
25046 2001-12-10 Jim Blandy <jimb@redhat.com>
25047
25048 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
25049 matching the entry point symbol's name at the beginning of the
25050 line.
25051
25052 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
25053
25054 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
25055 gdb.c++/inherit.exp, gdb.c++/method.exp,
25056 gdb.c++/namespace.exp, gdb.c++/templates.exp,
25057 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
25058 and class layout support.
25059
25060 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
25061
25062 * gdb.c++/classes.exp: Add test for static member function.
25063 * gdb.c++/misc.cc: Add class with static member function.
25064
25065 2001-12-07 Jim Blandy <jimb@redhat.com>
25066
25067 If GDB says it can't find the struct the function returned, report
25068 those tests as `unsupported'.
25069 * gdb.base/call-rt-st.exp (print_struct_call): New function.
25070 Rewrite subsequent tests to use it.
25071
25072 If GDB says it can't find the struct the function returned, report
25073 those tests as `unsupported'.
25074 * gdb.base/structs.exp (call_struct_func): New function.
25075 (do_function_calls): Use call_struct_func to call the functions
25076 returning structs.
25077
25078 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
25079 whether functions are prototyped or not, so we can't possibly pass
25080 arguments to t_float_values2 properly.
25081
25082 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
25083 value of `timeout' for targets other than the mips*tx39-*.
25084
25085 2001-12-06 Michael Snyder <msnyder@redhat.com>
25086
25087 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
25088 and detect whether the start symbol has a leading underscore.
25089
25090 2001-12-04 Jim Blandy <jimb@redhat.com>
25091
25092 * gdb.base/completion.exp: Clarify indentation.
25093
25094 2001-12-03 Jim Blandy <jimb@redhat.com>
25095
25096 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
25097 variables on the S/390, not `.word'.
25098
25099 2001-11-30 Jim Blandy <jimb@redhat.com>
25100
25101 Add assembly-source tests for s390-ibm-linux.
25102 * gdb.asm/s390.inc: New file.
25103 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
25104 the S/390 architecture.
25105 * gdb.asm/configure: Regenerated.
25106
25107 2001-11-30 Michael Snyder <msnyder@redhat.com>
25108
25109 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
25110 next, info source, info sources, info line, global and static
25111 variables, and static functions.
25112 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
25113 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
25114 * gdb.asm/asmsrc1.s: Add a static function and some variables.
25115 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
25116 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
25117 (gdbasm_leave): Restore frame pointer.
25118 (gdbasm_startup): Copy stack set-up from crt0.S.
25119
25120 2001-11-26 Fernando Nasser <fnasser@redhat.com>
25121
25122 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
25123 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
25124 to a local (non-static) variable. Copy tstruct.a to a static buffer
25125 and return a pointer to that buffer.
25126 * gdb.base/callfwmall.c (t_structs_a): Ditto.
25127
25128 2001-11-24 Mark Kettenis <kettenis@gnu.org>
25129
25130 * gdb.asm/configure.in: Fix recognition of ix86 target.
25131 * gdb.asm/configure: Regenerate.
25132
25133 2001-11-21 Michael Snyder <msnyder@redhat.com>
25134
25135 * gdb.asm/sparc.inc: New file.
25136 * gdb.asm/asm-source.exp: Recognize sparc target.
25137 * gdb.asm/configure.in: Recognize sparc target.
25138 * gdb.asm/configure: Regenerate.
25139
25140 2001-11-21 Michael Snyder <msnyder@redhat.com>
25141
25142 * gdb.asm/m32r.inc: New file.
25143 * gdb.asm/asm-source.exp: Recognize m32r target.
25144 * gdb.asm/configure.in: Recognize m32r target.
25145 * gdb.asm/configure: Regenerate.
25146
25147 2001-11-20 Michael Snyder <msnyder@redhat.com>
25148
25149 * gdb.asm/i386.inc: New file.
25150 * gdb.asm/asm-source.exp: Recognize ix86 target.
25151 * gdb.asm/configure.in: Recognize ix86 target.
25152 * gdb.asm/configure: Regenerate.
25153
25154 * gdb.c++/namespace.exp: Fix quotes in output messages.
25155
25156 2001-11-14 Michael Snyder <msnyder@redhat.com>
25157
25158 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
25159 qualifier in a type cast expression, to designate an address
25160 in the instruction space (Harvard architecture).
25161
25162 2001-11-13 Michael Snyder <msnyder@redhat.com>
25163
25164 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
25165 Tests for expressions using 'const' and 'volatile'.
25166
25167 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
25168
25169 * gdb.asm/asm-sources.exp: Allow defining linker flags.
25170
25171 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
25172
25173 * lib/mi-support.exp (mi_run_to_helper): Move comments
25174 outside of gdb_expect.
25175
25176 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
25177
25178 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
25179 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
25180 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
25181 mi0_run_to): New functions.
25182 * gdb.mi/mi-simplerun.exp: Use them.
25183 * gdb.mi/mi0-simplerun.exp: Likewise.
25184 * gdb.mi/mi-var-cmd.exp: Likewise.
25185 * gdb.mi/mi0-var-cmd.exp: Likewise.
25186
25187 2001-11-10 Andrew Cagney <ac131313@redhat.com>
25188
25189 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
25190 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
25191
25192 2001-11-09 Andrew Cagney <ac131313@redhat.com>
25193
25194 * gdb.base/restore.exp: Include $expected value in restored test
25195 message.
25196
25197 2001-11-09 Andrew Cagney <ac131313@redhat.com>
25198
25199 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
25200 implemented.
25201
25202 2001-11-08 Michael Snyder <msnyder@redhat.com>
25203
25204 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
25205 Add pass/fail message for stop at breakpoint in call dummy function.
25206
25207 2001-11-07 Michael Snyder <msnyder@redhat.com>
25208
25209 * gdb.c++/templates.exp (test_template_breakpoints):
25210 If we get an overload menu, but it does not match what
25211 we expect, we still need to issue the "cancel" command.
25212 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
25213 making the whitespace optional. Argument for "new" may be
25214 "unsigned" as well as "unsigned int/long".
25215 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
25216 making the whitespace optional. Also replace "(void) with
25217 "((void|)), making the keyword "void" optional.
25218 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
25219 making the whitespace optional. Also replace "(void) with
25220 "((void|)), making the keyword "void" optional.
25221 * gdb.base/callfuncs.c (t_float_values): This function must
25222 _not_ be prototyped, and the following function (t_float_values2)
25223 must be prototyped (if the compiler supports it), so that GDB
25224 can be tested against both cases. Usually one case involves
25225 promotion of float to double, while the other does not.
25226 * gdb.base/callfwmall.c: Ditto.
25227 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
25228 includes a stack frame for "start".
25229
25230 2001-11-05 Jim Blandy <jimb@redhat.com>
25231
25232 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
25233 pointers are 32 bits long, and that offsets of relocs are always
25234 stored in the data (REL-style), and not in the reloc entry itself
25235 (RELA-style).
25236 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
25237 stabs.
25238
25239 2001-11-01 Michael Snyder <msnyder@redhat.com>
25240
25241 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
25242 and regular expression operators by using quoting.
25243
25244 2001-10-31 Michael Snyder <msnyder@redhat.com>
25245
25246 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
25247 depending on what the symbol table contains.
25248 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
25249 the output of the ptype command. Similarly, accept both "const &"
25250 and "const&".
25251
25252 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
25253
25254 * gdb.base/miscexprs.c (main): Add usage of preprocessor
25255 symbol `STORAGE' to allow to choose the storage class of
25256 the local datastructures.
25257 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
25258 compiler directive.
25259
25260 2001-10-30 Michael Snyder <msnyder@redhat.com>
25261
25262 * gdb.base/jump.exp: Allow it to run for all targets.
25263
25264 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
25265
25266 * gdb.base/call-ar-st.c (print_double_array): Match for loop
25267 with new double_array size.
25268 (main): Change storage class of all local variables to static.
25269 Reduce size of double_array to 9.
25270 * gdb.base/call-ar-st.exp: Increase timeout value.
25271 Change expected output for double array to match new size in
25272 call-ar-st.c.
25273
25274 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
25275
25276 * gdb.base/ending-run.exp: Create identical output when passing
25277 `step to end of run' case. Add regular expression branch satisfying
25278 Stormy16 target.
25279
25280 2001-10-28 Mark Kettenis <kettenis@gnu.org>
25281
25282 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
25283 that we catch the expected failure under Linux/x86.
25284
25285 2001-10-29 Orjan Friberg <orjanf@axis.com>
25286
25287 * gdb.base/setvar.exp: Escape curly braces.
25288 * gdb.stabs/weird.exp: Ditto.
25289
25290 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
25291
25292 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
25293 * gdm.mi/mi0-hack-cli.exp: Likewise.
25294
25295 2001-10-25 Andrew Cagney <ac131313@redhat.com>
25296
25297 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
25298 messages.
25299
25300 2001-10-21 Andrew Cagney <ac131313@redhat.com>
25301
25302 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
25303 checking MI enabled.
25304
25305 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
25306
25307 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
25308
25309 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
25310
25311 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
25312 if gdb child process crashes, just signal an error.
25313
25314 2001-10-02 Jim Blandy <jimb@redhat.com>
25315
25316 * lib/gdb.exp (test_xfail_format): Simplify.
25317
25318 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
25319 front of the variable name `format'. Simplify `if'.
25320
25321 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
25322
25323 * gdb.threads/pthreads.exp: Wait for output and delay
25324 before sending ^C.
25325
25326 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
25327
25328 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
25329 some incorrect output instead of timing out.
25330 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
25331
25332 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
25333
25334 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
25335 check to allow additional `int'.
25336
25337 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
25338
25339 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
25340 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
25341
25342 2001-09-27 Michael Snyder <msnyder@redhat.com>
25343
25344 * lib/gdb.exp (test_debug_format): New proc.
25345 (setup_xfail_format): Use new proc test_debug_format.
25346 * gdb.base/constvars.exp (local_compiler_xfail_check): New
25347 proc; use new service proc test_debug_format.
25348 Replace all other "gcc_compiled" tests with this test.
25349 * gdb.base/volatile.exp (local_compiler_xfail_check): New
25350 proc; use new service proc test_debug_format.
25351 Replace all other "gcc_compiled" tests with this test.
25352
25353 2001-09-27 Michael Snyder <msnyder@redhat.com>
25354
25355 * gdb.base/cvexpr.exp: New file.
25356 * gdb.base/cvexpr.c: New file
25357 Test for expressions using const and volatile keywords.
25358
25359 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
25360
25361 * gdb.base/constvars.exp: Check for different orders of keywords
25362 and additional "int" strings in output.
25363
25364 2001-09-22 Andrew Cagney <ac131313@redhat.com>
25365
25366 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
25367 responses from "help maint".
25368
25369 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
25370
25371 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
25372 to localhost:NNN instead of :NNN, in case Xvfb is listening
25373 only on TCP.
25374
25375 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
25376
25377 * gdb.base/recurse.exp: When checking leaving the watchpoint
25378 scope, recognize when gdb is in function's epilogue and pass.
25379
25380 2001-09-18 Keith Seitz <keiths@redhat.com>
25381
25382 * lib/insight-support.exp (_gdbtk_export_target_info): Add
25383 support for running tests against sid targets.
25384 (gdbtk_done): Ditto.
25385
25386 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
25387
25388 * gdb.base/ending-run.c (main): Set stdout buffersize
25389 to the same reasonable value for any target.
25390 * gdb.base/ending-run.exp: Add a regular expression
25391 to make testsuite happy on Sanyo Stormy16 target.
25392
25393 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
25394
25395 * gdb.base/display.c (do_loops): Add float variable `f'.
25396 Increment f in loop.
25397 * gdb.base/display.exp: Increment timeout by 60 seconds.
25398 Change float display test to use variable `f'.
25399
25400 2001-09-17 Jim Blandy <jimb@redhat.com>
25401
25402 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
25403 overflowing the limited breakpoint tables on some ROM monitors
25404 (like the ROM68K).
25405
25406 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
25407
25408 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
25409 the "-ac" (disable access control) flag.
25410
25411 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
25412
25413 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
25414 ints.
25415
25416 2001-08-30 Keith Seitz <keiths@redhat.com>
25417
25418 * lib/gdb.exp: Move all insight-related functionality into
25419 separate file.
25420 * lib/insight-support.exp: New file.
25421
25422 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
25423
25424 * config/sid.exp (sid_start): Never set sid verbosity; disable
25425 expect_background {} that consumed its stdout; tolerate </dev/null.
25426 Attempt to set endianness override in "sid" protocol mode. Cleanup.
25427
25428 2001-08-18 Andrew Cagney <ac131313@redhat.com>
25429
25430 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
25431 CLI jump command to start it.
25432 (mi_run_to_main): Fail immediatly when unexpected output.
25433
25434 2001-08-18 Andrew Cagney <ac131313@redhat.com>
25435
25436 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
25437 beginning of function. Fix PR gdb/191.
25438
25439 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
25440
25441 * config/sid.exp (sid_start): Don't warn if we cannot figure out
25442 what to force sid endianness to.
25443
25444 2001-08-15 Keith Seitz <keiths@redhat.com>
25445
25446 * lib/gdb.exp (gdbtk_start): Don't set environment
25447 variables for TCL_LIBRARY and friends. Insight will
25448 now figure these out for itself.
25449
25450 2001-08-02 Michael Snyder <msnyder@redhat.com>
25451
25452 * gdb.base/completion.exp: Remove the symbol "a64l" from
25453 the expect string; this is target-specific, and not related
25454 to what is being tested.
25455
25456 2001-08-02 Dave Brolley <brolley@redhat.com>
25457
25458 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
25459
25460 2001-07-25 Michael Snyder <msnyder@redhat.com>
25461
25462 * gdb.base/consecutive.exp: New file. Test stepping over
25463 breakpoints on consecutive instructions.
25464 * gdb.base/consecutive.c: New file.
25465
25466 * gdb.base/call-rt-st.exp: Use double-backslash to quote
25467 curly braces in regular expressions.
25468
25469 2001-07-25 Michael Snyder <msnyder@redhat.com>
25470
25471 * gdb.base/ending-run.exp: Accept "Program exited normally" as
25472 legitimate output from stepping out of main.
25473
25474 2001-07-22 Keith Seitz <keiths@redhat.com>
25475
25476 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
25477 the empty string, do not run the tests.
25478
25479 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25480
25481 * gdb.base/long_long.exp: Detect size of pointer. Take into
25482 account 2-byte pointers when testing for p/a results.
25483
25484 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25485
25486 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
25487 and defined to 1K for m68hc11.
25488 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25489 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25490 (sizeof_random_data): New variable to tell the size of the data table;
25491 don't test past this size; always run to main.
25492
25493 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25494
25495 * gdb.base/return2.exp: return of long long and double fails for
25496 68HC11; don't execute these tests on that platform.
25497 * gdb.base/return.exp: Return of a double fails for 68hc11.
25498
25499 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25500
25501 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25502 tests that print a float.
25503 * call-rt-st.exp: Likewise.
25504
25505 2001-07-12 Mark Kettenis <kettenis@gnu.org>
25506
25507 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25508 running this test on Linux.
25509
25510 2001-06-24 Michael Chastain <chastain@redhat.com>
25511
25512 * gdb.base/arithmet.exp: Remove some tests to make all test names
25513 unique.
25514
25515 2001-07-03 Michael Snyder <msnyder@redhat.com>
25516
25517 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25518 the output of the ptype command.
25519
25520 2001-07-02 Michael Snyder <msnyder@redhat.com>
25521
25522 * gdb.base/completion.exp: Don't assume that break.c is the only
25523 source file that may contain functions named "marker".
25524 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25525
25526 2001-06-28 Andrew Cagney <ac131313@redhat.com>
25527
25528 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25529 of files to delete.
25530
25531 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25532 * gdb.disasm/h8300s.exp: New file.
25533 gdb.disasm/h8300s.s: Likewise.
25534
25535 2001-06-27 Andrew Cagney <ac131313@redhat.com>
25536
25537 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25538 empty breakpoint tables.
25539
25540 2001-06-25 Andrew Cagney <ac131313@redhat.com>
25541
25542 * lib/mi-support.exp: Update args=... part of stop-reason
25543 patterns. Accept either a list or a tuple.
25544
25545 2001-06-23 Andrew Cagney <ac131313@redhat.com>
25546
25547 * lib/mi-support.exp: Remove local emacs variable defining
25548 change-log-default-name.
25549
25550 2001-06-22 Michael Chastain <chastain@redhat.com>
25551
25552 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25553 This is operationally compatible with the previous version.
25554
25555 2001-06-13 Jim Blandy <jimb@redhat.com>
25556
25557 * lib/gdb.exp (gdb_test): Doc fix.
25558
25559 2001-06-10 Michael Chastain <chastain@redhat.com>
25560
25561 * gdb.base/exprs.exp: Remove a duplicate test.
25562
25563 2001-06-06 Jim Blandy <jimb@redhat.com>
25564
25565 * gdb.base/return2.exp (main): Use values to test float and double
25566 returns that are not NaN's, to avoid being confused by IEEE
25567 comparison rules.
25568
25569 2001-06-04 Michael Snyder <msnyder@redhat.com>
25570
25571 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
25572 non-zero if control_c fails. Terminate the test on failure,
25573 rather than wait for 12 more tests to time out.
25574
25575 2001-06-06 Jim Blandy <jimb@redhat.com>
25576
25577 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
25578 Don't forget to match the GDB prompt.
25579
25580 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25581
25582 2001-06-04 Jim Blandy <jimb@redhat.com>
25583
25584 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25585 command.
25586
25587 2001-05-31 Kevin Buettner <kevinb@redhat.com>
25588
25589 * gdb.base/annota1.exp (info break): Match four or more spaces
25590 after "Address".
25591
25592 2001-05-31 Michael Chastain <chastain@redhat.com>
25593
25594 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25595 (dm_type_int_star): Likewise.
25596 (dm_type_long_star): Likewise.
25597 (dm_type_void_star): Likewise.
25598
25599 2001-05-29 Kevin Buettner <kevinb@redhat.com>
25600
25601 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25602 to a known value in order to get consistent results regardless
25603 of the setting of INPUTRC or the presence or contents of .inputrc.
25604
25605 2001-05-24 Michael Snyder <msnyder@redhat.com>
25606
25607 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25608 Don't require that the main thread and the manager thread are the
25609 first in the list.
25610
25611 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25612 debugging. If test fails, issue an "unsupported" not a "fail".
25613
25614 2001-05-24 Jim Blandy <jimb@redhat.com>
25615
25616 Don't assume that short is shorter than int.
25617 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25618 assume that shorts are smaller than ints. On a 16-bit machine,
25619 this isn't true.
25620 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25621 an int, is not equal to ~0 stored in an unsigned char. This tests
25622 the same thing that the previous test meant to, but works on
25623 16-bit machines, too.
25624 ("print unsigned char != (~0)"): Same test, complemented.
25625
25626 2001-05-24 Michael Snyder <msnyder@redhat.com>
25627
25628 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
25629 test for (full_coverage == 0). This makes the test run faster,
25630 and prevents dejagnu getting out of step.
25631
25632 2001-05-23 Kevin Buettner <kevinb@redhat.com>
25633
25634 * gdb.base/finish.exp (finish_void): Revise pattern for
25635 stopping on the call statement to not permit stopping at
25636 the start of the instructions comprising the call sequence.
25637
25638 2001-05-19 Michael Chastain <chastain@redhat.com>
25639
25640 * gdb.base/callfuncs.exp: Make all test names unique.
25641 * gdb.base/commands.exp: Make all test names unique.
25642 * gdb.base/condbreak.exp: Make all test names unique.
25643 * gdb.base/dbx.exp: Make all test names unique.
25644 * gdb.base/default.exp: Make all test names unique.
25645 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25646 and TIMEOUT messages to their corresponding PASS message.
25647 * gdb.base/ending-run.exp: Make all test names unique.
25648 * gdb.base/long_long.exp: Remove duplicate test.
25649
25650 2001-05-21 Kevin Buettner <kevinb@redhat.com>
25651
25652 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25653 stop on the call statement as well as the statement after the
25654 call.
25655
25656 2001-05-21 Michael Snyder <msnyder@redhat.com>
25657
25658 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25659
25660 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25661
25662 * gdb.base/completion.exp: Revamp test. Make it execute on all
25663 platforms.
25664
25665 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25666
25667 * config/gdbserver.exp (gdb_load): Handle the case
25668 in which the arguments to gdbserver are given in the
25669 baseboard configuration file.
25670 Also handle the case in which the server needs to do a
25671 load.
25672
25673 2001-05-07 Keith Seitz <keiths@cygnus.com>
25674
25675 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25676 set up the display for testing.
25677 (gdbtk_start): Convert all paths to paths that tcl will like.
25678 Export target information to environment.
25679 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25680 necessary.
25681 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25682 (to_tcl_path): New proc to convert a given pathname into
25683 a path acceptible as an argument to a tcl command.
25684 (_gdbtk_export_target_info): New proc to export target info
25685 into the environment for gdbtk testing.
25686 (gdbtk_done): New proc to signal end-of-test.
25687
25688 2001-05-06 Jim Blandy <jimb@redhat.com>
25689
25690 * restore.c: Make the code of caller0 correspond to its comment.
25691
25692 2001-05-03 Michael Snyder <msnyder@redhat.com>
25693
25694 * config/sid.exp (gdb_target_sid): Check for error messages.
25695 On error or timeout, don't make expect exit (which will terminate
25696 all subsequent tests); instead just make gdb exit.
25697 (gdb_load): Check for error messages. On error or timeout,
25698 return a negative value.
25699
25700 2001-04-24 Jim Blandy <jimb@redhat.com>
25701
25702 * gdb.c++/templates.exp: If we see the prompt for the overload
25703 list, but we haven't recognized any of the longer patterns,
25704 arrange for this test to fail, not hang.
25705
25706 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25707 variations.
25708
25709 2001-04-22 Michael Chastain <chastain@redhat.com>
25710
25711 * gdb.c++/local.exp: Use the 'runto' library function.
25712 * gdb.c++/namespace.exp: Likewise.
25713 * gdb.c++/overload.exp: Likewise.
25714
25715 2001-03-26 Kevin Buettner <kevinb@redhat.com>
25716
25717 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25718 * gdb.base/step-line.exp: New file. Test step/next in presence of
25719 #line directives.
25720 * gdb.base/step-line.c: New file. Test program for the above.
25721 * gdb.base/step-line.inp: New file. We pretend that this file has
25722 been transformed by some other tool into step-line.c.
25723
25724 2001-03-21 Jim Blandy <jimb@redhat.com>
25725
25726 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25727 unmangled operator names.
25728
25729 2001-03-20 Jim Blandy <jimb@redhat.com>
25730
25731 * gdb.threads/linux-dp.exp: Recognize an additional message
25732 generated by GDB when it doesn't understand how to debug threads
25733 on the target system.
25734
25735 2001-03-19 Andrew Cagney <ac131313@redhat.com>
25736
25737 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25738
25739 2001-03-12 Michael Chastain <chastain@redhat.com>
25740
25741 * gdb.c++/derivation.exp: Use the 'runto' library function.
25742
25743 2001-03-12 Michael Chastain <chastain@redhat.com>
25744
25745 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25746
25747 2001-02-24 Michael Chastain <chastain@redhat.com>
25748
25749 * gdb.c++/ref-types.exp: Change handwritten code to library
25750 function 'runto'.
25751
25752 2001-03-16 Orjan Friberg <orjanf@axis.com>
25753
25754 * gdb.base/signals.exp: Set count to 0 explicitly.
25755
25756 2001-03-15 Mark Salter <msalter@redhat.com>
25757
25758 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25759 (gdb_target_monitor): Add check of gdb_target_cmd return value.
25760 (gdb_load): Add support for additional target_info: gdb_download_size
25761 and gdb_load_timeout.
25762
25763 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25764
25765 * gdb.base/annota1.exp: Move test of isnative to earlier in the
25766 file -- to prevent failing when the compile fails but we have no
25767 intention of running the tests anyway.
25768
25769 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25770 tests if set.
25771
25772 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
25773 integers.
25774
25775 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25776 * gdb.c++/namespace.exp: Ditto.
25777
25778 2001-03-07 Orjan Friberg <orjanf@axis.com>
25779
25780 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25781 * gdb.base/pointers.exp: Relax pattern match of decimals.
25782
25783 2001-03-06 Kevin Buettner <kevinb@redhat.com>
25784
25785 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25786 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25787 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25788 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25789 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25790 config/sh.exp, config/sid.exp, config/slite.exp,
25791 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25792 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25793 config/vxworks.exp, config/vxworks29k.exp,
25794 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25795 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25796 gdb.base/arithmet.exp, gdb.base/assign.exp,
25797 gdb.base/async.exp, gdb.base/attach.exp,
25798 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25799 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25800 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25801 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25802 gdb.base/commands.exp, gdb.base/completion.exp,
25803 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25804 gdb.base/constvars.exp, gdb.base/corefile.exp,
25805 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25806 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25807 gdb.base/ending-run.exp, gdb.base/environ.exp,
25808 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25809 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25810 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25811 gdb.base/funcargs.exp, gdb.base/help.exp,
25812 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25813 gdb.base/logical.exp, gdb.base/long_long.exp,
25814 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25815 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25816 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25817 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25818 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25819 gdb.base/regs.exp, gdb.base/relational.exp,
25820 gdb.base/remote.exp, gdb.base/reread.exp,
25821 gdb.base/restore.exp, gdb.base/return2.exp,
25822 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25823 gdb.base/selftest.exp, gdb.base/setshow.exp,
25824 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25825 gdb.base/sigall.exp, gdb.base/signals.exp,
25826 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25827 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25828 gdb.base/step-test.exp, gdb.base/structs.c,
25829 gdb.base/structs.exp, gdb.base/structs2.exp,
25830 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25831 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25832 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25833 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25834 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25835 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25836 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25837 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25838 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25839 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25840 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25841 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25842 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25843 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25844 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25845 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25846 gdb.trace/circ.exp, gdb.trace/collection.exp,
25847 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25848 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25849 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25850 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25851 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25852 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25853 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25854 notices.
25855
25856 2001-02-27 Michael Snyder <msnyder@cygnus.com>
25857
25858 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25859 first arg is int not float.
25860
25861 2001-02-22 Michael Snyder <msnyder@cygnus.com>
25862
25863 * gdb.base/reread.exp: Unsupported for non-native targets;
25864 doesn't work for remote debugging.
25865
25866 2001-02-19 Fernando Nasser <fnasser@redhat.com>
25867
25868 From Drew Moseley <dmoseley@redhat.com>
25869 * gdb.base/ending-run.exp: Properly handle the BSP state when
25870 stepping past the end of main.
25871
25872 2001-02-19 John Moore <jmoore@redhat.com>
25873
25874 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25875 Converted HPUX fix for non-expected items following multiple
25876 step commands into general solution for all platforms.
25877
25878 2001-02-18 Michael Chastain <chastain@redhat.com>
25879
25880 * gdb.c++/classes.exp (do_tests): Change runto statements
25881 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25882 statements demangler agnostic.
25883 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25884 (gdb_virtfunc_restart): Likewise.
25885
25886 2001-02-14 Michael Chastain <chastain@redhat.com>
25887
25888 * gdb.c++/inherit.exp (do_tests): Change runto statements
25889 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25890 statements demangler agnostic.
25891
25892 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25893
25894 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25895 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25896 before calling common_routine 15 times'' tests.
25897
25898 2001-02-11 Michael Chastain <chastain@redhat.com>
25899
25900 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25901 Helps the test script figure out which demangler is in use.
25902 (dm_type_foo_ref): Ditto.
25903 (dm_type_int_star): Ditto.
25904 (dm_type_long_star): Ditto.
25905 (dm_type_unsigned_int): Ditto.
25906 (dm_type_void): Ditto.
25907 (dm_type_void_star): Ditto.
25908 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25909 Probe the gdb demangler and set variables to accommodate
25910 formatting differences.
25911 (info_func_regexp): New function. Same as info_func, but
25912 matches against a regexp.
25913 (info_func): Match against a literal string.
25914 (print_addr_2): New function. Match against a literal string,
25915 which can be different from the input to gdb.
25916 (print_addr): Simply call print_addr_2 with the same argument twice.
25917 (test_lookup_operator_functions): Use demangler formatting variables.
25918 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25919 the tests in the same order as the C++ class declaration.
25920 (test_paddr_operator_functions): Ditto.
25921 (test_paddr_overloaded_functions): Ditto.
25922 (test_paddr_hairy_functions): Use demangler formatting variables.
25923 Add reference to gdb/19 for related tests.
25924 (do_tests): Call probe_demangler.
25925
25926 2001-01-30 Kevin Buettner <kevinb@redhat.com>
25927
25928 * gdb.c++/templates.cc (printf): Remove unused function definition.
25929
25930 2001-01-26 Felix Lee <flee@redhat.com>
25931
25932 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25933
25934 2001-01-25 matthew green <mrg@redhat.com>
25935
25936 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25937 up sid.
25938 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25939
25940 2001-01-25 matthew green <mrg@redhat.com>
25941
25942 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25943 Deprecate $sid_spawn_id.
25944 (sid_exit): Remove code necessary only for `spawn.'
25945
25946 2001-01-25 matthew green <mrg@redhat.com>
25947
25948 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25949
25950 2001-01-28 Michael Chastain <chastain@redhat.com>
25951
25952 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25953 to call when tests fail. It takes gdb out of the overloaded
25954 function choice menu back to the main prompt, so that the test
25955 program stays synchronized.
25956 (set_bp_overloaded): New proc to collect all the common
25957 code for setting a breakpoint on an overloaded name. Calls
25958 take_gdb_out_of_choice_menu when needed.
25959 (menu_overload1arg): New variable to collect the repeated
25960 instances of the expected menu for an overloaded name. Change
25961 the regular expression to handle changes in g++ type encoding:
25962 "void" can be either "void" or "", and "unsigned int" can be
25963 either "unsigned int" or "unsigned".
25964 (continue_to_bp_overloaded): Change regular expressions to handle
25965 changes in g++ type encoding.
25966 (no proc): Call take_gdb_out_of_choice_menu when needed.
25967 Remove redundant calls to "info break". Accept either "canceled"
25968 or "cancelled". Change regular expressions in "info break"
25969 calls to handle changes in g++ type encoding. Give all tests
25970 unique strings.
25971
25972 2001-01-17 Ben Elliston <bje@redhat.com>
25973
25974 * config/sid.exp: New file.
25975
25976 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25977
25978 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25979
25980 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25981
25982 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25983 Add a RE to accept a non-ascii char if one is ever presented.
25984
25985 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25986
25987 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25988
25989 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25990
25991 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25992 in regexp. One '\' does not suffice on Linux.
25993
25994 2000-12-09 Michael Chastain <chastain@redhat.com>
25995
25996 * gdb.base/break.exp (test_clear_command): Use a marker function
25997 rather than 'main' for the test function. Also move this
25998 test to an execution point where the marker function names are
25999 guaranteed to be bound to functions. (Executing tests after a
26000 'finish' from main runs into name conflicts with local names
26001 in __libc_start_main).
26002
26003 2000-12-07 Michael Snyder <msnyder@cygnus.com>
26004
26005 * gdb.base/finish.exp: New test for gdb's "finish" command.
26006 * gdb.base/return2.exp: New test for gdb's "return" command.
26007 * gdb.base/return2.c: New source file for above.
26008
26009 2000-12-05 Michael Snyder <msnyder@cygnus.com>
26010
26011 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
26012 * gdb.base/miscexprs.exp: Ditto.
26013 * gdb.base/pointers.exp: Ditto.
26014 * gdb.c++/derivation.exp: Ditto.
26015 * gdb.c++/local.exp: Ditto.
26016 * gdb.c++/namespace.exp: Ditto.
26017 * gdb.c++/overload.exp: Ditto.
26018 * gdb.c++/ref-types.exp: Ditto.
26019
26020 2000-12-05 Michael Snyder <msnyder@cygnus.com>
26021
26022 * gdb.base/constvars.exp: Test result of "up" command.
26023 * gdb.base/miscexprs.exp: Ditto.
26024 * gdb.base/pointers.exp: Ditto.
26025 * gdb.base/scope.exp: Ditto.
26026 * gdb.c++/derivation.exp: Ditto.
26027 * gdb.c++/local.exp: Ditto.
26028 * gdb.c++/namespace.exp: Ditto.
26029 * gdb.c++/overload.exp: Ditto.
26030 * gdb.c++/ref-types.exp: Ditto.
26031
26032 2000-11-22 Michael Chastain <chastain@redhat.com>
26033
26034 * mips_pro.exp: Accept either "middle -> top -> main" or
26035 "middle -> main" in the backtrace, because gcc can optimize
26036 tail calls to jumps. Remove setup_xfail for the hppa case.
26037 Add a comment with the original warning messages from PR 3016,
26038 which was filed in 1993, to preserve them for posterity.
26039
26040 2000-11-17 Nick Duffek <nsd@redhat.com>
26041
26042 * lib/gdb.exp (gdb_test): Override timeout with board info.
26043
26044 2000-11-17 Nick Duffek <nsd@redhat.com>
26045
26046 * gdb.base/display.exp: Don't kill running stub. Add "again" to
26047 the second kill and detach messages.
26048
26049 2000-11-17 Nick Duffek <nsd@redhat.com>
26050
26051 * configure.in: Add AC_EXEEXT.
26052 * configure: Regenerate.
26053 * Makefile.in (just-check): Export EXEEXT.
26054 * lib/gdb.exp ($EXEEXT): Import from environment.
26055 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
26056 expect "maint dump-me" on Cygwin.
26057 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
26058 $EXEEXT.
26059
26060 2000-11-17 Nick Duffek <nsd@redhat.com>
26061
26062 * gdb.base/break.exp: Test backtrace and finish from called
26063 function on all platforms, not just HP-UX.
26064
26065 2000-11-03 Michael Snyder <msnyder@cygnus.com>
26066
26067 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
26068 code from gdb_target_monitor, so it can be used independantly
26069 for gdbserver. Also comment out an unnecessary PUTS.
26070
26071 2000-11-03 Michael Snyder <msnyder@cygnus.com>
26072
26073 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
26074 * gdb.base/corefile.exp: Expect the message "Program is being
26075 debugged already" when we send the "corefile" command, since
26076 the preceeding gdb_load may have connected gdb to a remote target.
26077 * gdb.base/display.exp: Disable hardware watchpoints if new
26078 board info variable "no_hardware_watchpoints" is true.
26079 Replace single-letter commands with more readable ones.
26080 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
26081 if new board info variable "no_hardware_watchpoints" is true.
26082 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
26083 to see if stdio (printf) testing is possible.
26084 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
26085 board info variable "no_hardware_watchpoints" is true. Use new
26086 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
26087
26088 2000-11-13 Fernando Nasser <fnasser@redhat.com>
26089
26090 From Orjan Friberg <orjanf@axis.com>:
26091 * gdb.base/printcmds.exp: Escape curly braces followed by a number
26092 in array print pattern match.
26093
26094 2000-11-09 Fernando Nasser <fnasser@redhat.com>
26095
26096 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
26097 spelling "cancelled" to U.S. spelling "canceled" to match changes
26098 made to gdb.
26099 * gdb.c++/ovldbreak.exp: Ditto.
26100
26101 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26102
26103 * gdb.base/callfuncs.c (main): Moved to end of file, call
26104 t_double_values to initialize the FPU before inferior calls are made.
26105 * gdb.base/callfuncs.exp: Test for register preservation after calling
26106 inferior functions. Add tests for continuining, finishing and
26107 returning from a stop in a call dummy.
26108
26109 2000-10-24 Michael Snyder <msnyder@cygnus.com>
26110
26111 * gdb.base/commands.exp: Break up long lines, and re-indent.
26112
26113 2000-10-19 Michael Snyder <msnyder@cygnus.com>
26114
26115 * config/gdbserver.exp: Rewritten from the ground up, to make it
26116 compatible with the current dejagnu tree, and to make it work with
26117 the new "gdbserver" in libremote.
26118
26119 2000-10-16 Michael Snyder <msnyder@cygnus.com>
26120
26121 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
26122 * gdb.base/varargs.exp: Skip entire test if no printf support.
26123 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
26124 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
26125
26126 2000-10-13 Michael Snyder <msnyder@cygnus.com>
26127
26128 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
26129 no floating point support.
26130 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
26131 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
26132 * gdb.base/call-rt-st.exp: Ditto.
26133 * gdb.base/call-strs.exp: Ditto.
26134
26135 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
26136
26137 * gdb.base/sizeof.c: include <stdio.h>.
26138
26139 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
26140 'finish', otherwise uncaptured gdb_prompt would potentially
26141 throw remaining test points out of sync.
26142
26143 2000-07-26 Scott Bambrough <scottb@netwinder.org>
26144
26145 * gdb.base/recurse.exp: Run tests for all targets.
26146 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
26147 gnu-oldld case on ARM.
26148 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
26149 for ARM targets.
26150
26151 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
26152
26153 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
26154 * gdb.java/configure: Rebuild.
26155
26156 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
26157
26158 * gdb.java/jv-exp.exp: New file.
26159
26160 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
26161
26162 * configure: Rebuilt.
26163 * configure.in (configdirs): Add gdb.java.
26164 * gdb.java/jmisc.java: New file.
26165 * gdb.java/jmisc.exp: New file.
26166 * gdb.java/Makefile.in: New file.
26167 * gdb.java/configure: Rebuilt.
26168 * gdb.java/configure.in: New file.
26169 * lib/java.exp: New file.
26170
26171 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
26172
26173 * gdb.base/exprs.exp: Test casts to a pointer including over and
26174 underflow.
26175
26176 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
26177
26178 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
26179 and the compilers sizes.
26180
26181 2000-07-09 Nick Duffek <nsd@redhat.com>
26182
26183 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
26184 (use_methods): New function.
26185 (main): Call use_methods().
26186 * gdb.c++/classes.exp (test_method_param_class): New procedure.
26187 (do_tests): Call test_method_param_class.
26188
26189 2000-07-09 Nick Duffek <nsd@redhat.com>
26190
26191 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
26192 spelling.
26193 (test_enums): New procedure. Move enum tests from end of script
26194 to here. Set breakpoint on function name instead of line number.
26195 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
26196 (enums2): New marker function.
26197 (enums1): New function.
26198 (main): Call enums1(). Move enum tests to enums1().
26199
26200 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
26201
26202 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
26203 compile/link program. Update line numbers.
26204 * gdb.asm/d10v.inc: Define ``startup''.
26205 * gdb.asm/asmsrc1.s: Add definition of _start.
26206
26207 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
26208
26209 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
26210
26211 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26212
26213 * gdb.base/maint.exp: Add 'maint print architecture' item to output
26214 of 'help maint print' command.
26215
26216 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
26217
26218 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
26219 they use gdb_expect_list.
26220
26221 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
26222
26223 * gdb.base/commands.exp: Use ``set remote
26224 memory-read-packet-size'' instead of ``set endian big'' to test
26225 long commands.
26226
26227 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
26228
26229 * gdb.c++/templates.exp (do_tests): Make all of these work under
26230 g++, and stop skipping them.
26231
26232 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
26233 work under g++.
26234
26235 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
26236 initialization.
26237
26238 2000-06-02 Michael Snyder <msnyder@cygnus.com>
26239
26240 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
26241 the regular expression: accept an (almost) arbitrary sequence of
26242 "frames-invalid" and "breakpoints-invalid" messages both before
26243 and after the "starting" message.
26244
26245 2000-06-02 Michael Snyder <msnyder@cygnus.com>
26246
26247 * gdb.c++/local.exp: This test has never been known to work with g++.
26248
26249 2000-05-18 Michael Snyder <msnyder@cygnus.com>
26250
26251 * gdb.base/annota1.exp (annotate-signal-handler-caller):
26252 Relax the regular expression a little, make it pass on Solaris 8.
26253
26254 2000-05-12 Kevin Buettner <kevinb@redhat.com>
26255
26256 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
26257 a call, do not require that gdb stop on the line after the call.
26258 Instead, it is permissible for gdb to stop on the line of the
26259 call itself.
26260
26261 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
26262
26263 * gdb.base/break.exp (bp on small function, optimized file):
26264 Add a second pass pattern. The behavior differs here between stabs
26265 and dwarf for one-line functions. Stabs preserves two line symbols
26266 (one before the prologue and one after) with the same line number,
26267 but dwarf regards these as duplicates and discards one of them.
26268 Therefore the address after the prologue (where the breakpoint is)
26269 has no exactly matching line symbol, and GDB reports the breakpoint
26270 as if it were in the middle of a line rather than at the beginning.
26271
26272 2000-05-08 Michael Snyder <msnyder@cygnus.com>
26273
26274 * gdb.base/interrupt.exp: Make "pass" message say "send"
26275 rather than "send_gdb" (for consistancy).
26276
26277 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
26278
26279 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
26280 * gdb.c++/templates.cc: Properly check for GCC version number.
26281 * lib/compiler.cc: Likewise
26282
26283 2000-04-28 Michael Snyder <msnyder@cygnus.com>
26284
26285 * gdb.base/break.exp: When compiled with -O2 optimization,
26286 gdb may not stop at the first line of main, due to code motion.
26287
26288 2000-04-26 Michael Snyder <msnyder@cygnus.com>
26289
26290 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
26291 This test depends on parsing the printf output from the target.
26292 Since the sparclet stub doesn't do stdio, this will never work.
26293 * gdb.base/call-rt-st.exp: ditto.
26294 * gdb.base/call-strs: ditto.
26295
26296 2000-04-24 Michael Snyder <msnyder@cygnus.com>
26297
26298 * gdb.base/miscexprs.exp: make sizeof long array test portable.
26299
26300 * gdb.base/ending-run.exp: After connecting to a remote target,
26301 but before running, the target will appear to be in a random
26302 location. Specify both a file and a line for breakpoints.
26303 Also, the function that calls main may be called 'init'
26304 rather than 'start'.
26305
26306 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26307
26308 * gdb.base/help.exp: Update output for add-symbol-file command.
26309
26310 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
26311
26312 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26313 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
26314
26315 2000-04-07 J.T. Conklin <jtc@redback.com>
26316
26317 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
26318
26319 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
26320
26321 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
26322
26323 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
26324 values that can be represented exactly.
26325 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
26326 above change, and to not check against the directory part of the source
26327 file name.
26328 (step into print_long_arg_list): Likewise.
26329 (print print_small_structs from print_long_arg_list): Likewise.
26330 (print print_long_arg_list): Likewise.
26331
26332 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26333
26334 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
26335
26336 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
26337
26338 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
26339
26340 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
26341
26342 * gdb.base/commands.exp (deprecated_command_test): Add test for
26343 deprecate with no arguments.
26344
26345 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
26346
26347 * gdb.base/break.exp: Add new test for setting breakpoints on
26348 optimized code so we can test breakpoints work even when function
26349 prologues may be optimized away
26350
26351 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
26352
26353 From David Whedon <dwhedon@gordian.com>
26354 * gdb.base/commands.exp : Added command deprecator tests.
26355
26356 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
26357
26358 * gdb.base/help.exp: Added test for new apropos command.
26359
26360 2000-03-21 Kevin Buettner <kevinb@redhat.com>
26361
26362 * gdb.base/pointers.c (usevar): New function.
26363 (main): Make sure that global variables v_int_pointer2, rptr,
26364 and y are all referenced someplace in the program by calling
26365 usevar() on them. [Some linkers delete symbols which are
26366 never referenced. The space remains, but there's no way to
26367 get a (symbolic) handle on the variable from the debugger.]
26368
26369 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26370
26371 * gdb.base/printcmds.c: Add typedeffed arrays.
26372
26373 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
26374 procedure to test arrays that are typedef'd.
26375
26376 2000-03-13 James Ingham <jingham@leda.cygnus.com>
26377
26378 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
26379 the library directories.
26380
26381 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
26382
26383 * configure.in (configdirs): Add sub directory gdb.mi.
26384 * configure: Re-generate.
26385
26386 * gdb.mi: New directory.
26387
26388 2000-02-25 Scott Bambrough <scottb@netwinder.org>
26389
26390 * gdb.base/long_long.exp: Correct test suite failure when printing
26391 a long long value as a double on ARM platforms.
26392
26393 2000-02-16 Jim Blandy <jimb@redhat.com>
26394
26395 * gdb.base/break.exp ("breakpoint line number"): Make sure the
26396 default source file is set properly before running this test.
26397
26398 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26399
26400 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
26401 gdbtk/library directory, not in gdbtcl2.
26402
26403 2000-02-04 Jim Blandy <jimb@redhat.com>
26404
26405 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
26406 backslash from regexp pattern.
26407
26408 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
26409 procedure. Use it to run all the "continue to bp overloaded"
26410 tests. Note that this changes the names of the tests slightly.
26411 If the breakpoint hit message includes a hex PC value, because
26412 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
26413 from the real source code, still consider that a pass.
26414
26415 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
26416 XFAIL here if the breakpoint message contains a hex address. Note
26417 similar change on 1999-11-02.
26418
26419 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
26420
26421 * gdb.base/ptype.exp: Establish a default source file before
26422 calling get_debug_format.
26423
26424 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
26425
26426 * gdb.base/watchpoint.exp: Remove duplication of test messages.
26427
26428 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26429
26430 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
26431 of successive stepi commands -- while in the prologue we should see
26432 the function entry bracket.
26433
26434 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26435
26436 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
26437 reach __change_mode() when stepping through the end of main().
26438
26439 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
26440
26441 * gdb.base/default.exp: Fix expected pattern.
26442 * gdb.base/help.exp: Same.
26443
26444 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26445
26446 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
26447 Don't use xfail's because that affects only the following test.
26448
26449 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
26450 solaris or linux.
26451
26452 * gdb.base/selftest.exp: Update to reflect changes to main.c.
26453
26454 2000-01-07 Michael Snyder <msnyder@cygnus.com>
26455
26456 * gdb.base/display.exp: Some yacc parsers like to say
26457 "A syntax error" rather than "A parse error". Accept both.
26458
26459 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
26460
26461 * gdb.base/default.exp: Remove OS dependent string from "target
26462 remote" test.
26463 * gdb.base/help.exp: Same for "help target remote" test.
26464
26465 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26466
26467 From Jim Kingdon <kingdon@redhat.com>:
26468
26469 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
26470 prompt (cleanup rather than necessity, but still might keep output
26471 from spilling to next test).
26472
26473 2000-01-02 Fred Fish <fnf@cygnus.com>
26474
26475 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
26476 AIX, which defines them in <sys/types.h>.
26477
26478 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
26479
26480 * gdb.base/default.exp: Match arm* etc instead of arm in "info
26481 float" test.
26482
26483 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
26484
26485 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
26486
26487 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26488 outermost frame disallowed".
26489
26490 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26491
26492 * gdb.base/setvar.exp: New tests for setting the value of a struct
26493 with a constant list.
26494
26495 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26496
26497 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26498 require the user to type a cast before setting the value of a struct.
26499
26500 1999-12-06 Jim Blandy <jimb@cygnus.com>
26501
26502 * gdb.base/default.exp: Expect the new 'info float' command on
26503 all i386 platforms.
26504
26505 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26506 LinuxThreads libraries that don't support debugging.
26507
26508 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26509
26510 * gdb.base/remote.c: Fill the buffer with truely random data.
26511 Change the buffer type to ``unsigned char'' to simplify size
26512 arithmetic.
26513
26514 * gdb.base/remote.exp: Reduce download numbers by one. Typical
26515 stub only handles 400-1 byte packets. Verify that the download
26516 worked.
26517
26518 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26519
26520 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26521 tests, using UNRESOLVED for the untested cases. Also, does not wait
26522 for a timeout if the prompt was received before a recognizable pattern.
26523
26524 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26525
26526 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26527
26528 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26529
26530 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
26531 watchpoints.
26532
26533 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
26534
26535 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26536
26537 * gdb.c++/local.exp: Be more flexible in recognizing local class
26538 name mangling. Don't allow horribly truncated method names.
26539 * gdb.c++/derivation.exp: Expect protected inheritance.
26540 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26541 * gdb.c++/virtfunc.exp: Likewise.
26542 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26543 when printing a nested enum.
26544
26545 1999-11-22 Jim Blandy <jimb@cygnus.com>
26546
26547 * gdb.base/step-test.exp: Properly await GDB's response to setting
26548 a breakpoint on the call to large_struct_by_value.
26549
26550 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26551 just because we have debug info for the `start' function.
26552
26553 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26554
26555 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26556 "Unknown signal" messages, which indicate (on LinuxThreads) that
26557 GDB doesn't know how to debug threads on this system. This is
26558 better than hanging while philosopher 0 dumps chatter into gdb.log.
26559
26560 1999-11-18 Tom Tromey <tromey@cygnus.com>
26561
26562 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26563
26564 1999-11-18 Fred Fish <fnf@cygnus.com>
26565
26566 * gdb.base/coremaker2.c: Add sample program for generating
26567 cores that is more self contained than coremaker.c. Eventually
26568 I'll add more code to this and tie it into the testsuite.
26569
26570 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26571
26572 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26573
26574 1999-11-10 Jimmy Guo <guo@cup.hp.com>
26575
26576 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
26577 from $srcdir/lib/.
26578 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
26579 and gdb.c++/.
26580
26581 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26582
26583 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
26584 'continue with watch' test point.
26585
26586 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26587
26588 Merged from p2linux-990323-branch:
26589
26590 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26591
26592 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26593
26594 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
26595 {limit,fixed}''. Test ``set download-write-size''.
26596
26597 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26598
26599 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
26600 gdb_expect_list.
26601
26602 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26603
26604 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26605
26606 1999-11-03 Mark Salter <msalter@cygnus.com>
26607
26608 * gdb.base/break.exp: Fix "stub continue" pattern.
26609
26610 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26611
26612 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26613
26614 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26615
26616 * gdb.base/display.exp ("finish"): Add timeout clause.
26617
26618 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26619 plain prompt clause, so this doesn't have to time out in order to
26620 fail.
26621
26622 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
26623 breakpoint hit messages include an address.
26624
26625 * gdb.base/display.exp: Don't forget to escape parens in regular
26626 expressions. Unix regexp notatation sucks.
26627
26628 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26629
26630 * gdb.base/annota1.exp: Test for annotate-signalled: change output
26631 order for 'signalled' message.
26632
26633 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26634
26635 From Jimmy Guo <guo@cup.hp.com>:
26636 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26637 * gdb.base/annota1.c: Add code for tests to work with.
26638
26639 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26640
26641 * gdb.base/remote.exp: New test for remote downloading settings.
26642 * gdb.base/remote.c: New file with large .data.
26643
26644 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26645
26646 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26647 for LinuxThreads support, merged from the Code Fusion branch.
26648
26649 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26650
26651 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
26652 containing exp_continue into a while within an expect. Don't
26653 attempt a start more than three times. Check return value from
26654 gdb_load.
26655
26656 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26657
26658 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
26659 a pass case.
26660
26661 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
26662
26663 * gdb.base/break.c (main): Added a statement that we can step
26664 off of.
26665 * gdb.base/break.exp: Added tests for setting a breakpoint
26666 at an offset and stepping onto a breakpoint.
26667
26668 1999-10-01 Fred Fish <fnf@cygnus.com>
26669
26670 * gdb.base/help.exp (help add-symbol-file): Update to match current
26671 gdb output.
26672
26673 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26674
26675 * gdb.base/break.exp: Code locations are in hex, don't forget!
26676 (For HP-UX.)
26677
26678 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26679
26680 * condbreak.exp: Use break.c as test program.
26681 * condbreak.c: Remove, redundant with break.c.
26682
26683 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26684
26685 * config/monitor.exp (gdb_target_monitor): Disable X- and
26686 Z-packets if the target needs it.
26687
26688 1999-09-13 James Ingham <jingham@leda.cygnus.com>
26689
26690 * gdb.c++/overload.exp: Added tests for listing overloaded
26691 functions with function pointers in the arg, explicitly calling
26692 out the version you want.
26693
26694 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26695
26696 * long_long.exp: Add variations of test cases that work for
26697 targets with 16-bit ints and 32-bit doubles.
26698
26699 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26700
26701 * break.c (main): Compare a possibly-uninitialized argc with an
26702 unlikely value that fits in 16 bits.
26703
26704 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26705
26706 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26707 0xfeeb, don't want negative numbers if ints are 16 bits.
26708
26709 * lib/gdb.exp (skip_cplus_tests): New proc.
26710 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26711 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26712 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26713 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26714 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26715 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26716 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26717 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
26718
26719 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26720
26721 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26722
26723 * gdb.base/corefile.exp (up): Allow a parameter to appear
26724 in the frame that we're going up to.
26725
26726 From Jim Blandy <jimb@cygnus.com>:
26727
26728 * gdb.base/default.exp (info float): Expect some output now.
26729
26730 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26731 returning floating-point values to fail on the x86.
26732 * gdb.base/callfwmall.exp (do_function_calls): Same.
26733
26734 * gdb.base/list.exp (test_listsize): Correct expectations for
26735 listing line 1 with listsize 2. Also, listing a single line
26736 works now, as does listing three lines. [Kevin's note: There
26737 were a number of other cases fixed too where the expectations
26738 differed...]
26739
26740 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26741
26742 * gdb.base/selftest.exp: Add case for when version prints as
26743 constant string instead of char pointer.
26744
26745 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26746
26747 * gdb.base/ending-run.exp: Add Solaris case for what happens when
26748 stepping out of main.
26749
26750 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26751 G++ used.
26752
26753 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
26754 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
26755
26756 * gdb.c++/ovldbreak.exp: Update match string in test that
26757 includes a warning of multiple breakpoints.
26758
26759 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26760
26761 * gdb.base/display.exp: Improve precision of step-after-finish
26762 added yesterday.
26763
26764 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
26765 test.
26766
26767 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26768 configs when using G++, not just hppa*.
26769
26770 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26771
26772 * gdb.base/async.c: New file.
26773 * gdb.base/async.exp: New file.
26774
26775 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26776
26777 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26778 PA64.
26779
26780 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26781
26782 * gdb.base/display.exp: "finish" can leave us mid-line on many
26783 targets, deal with it. Add a small constant to main, instead of
26784 1000 since main+1000 may not be a valid address in the target.
26785
26786 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26787 on hpux11.
26788
26789 * gdb.base/attach.exp: Handle another hpux11 error message variant
26790 when attaching to a process that does not exist.
26791
26792 1999-08-19 J.T. Conklin <jtc@redback.com>
26793
26794 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
26795 characters in 'continue to 1241' test.
26796
26797 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26798
26799 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26800 stop in print_long_arg_list, define and use a whitespace
26801 variable in print_small_structs test, add an XFAIL for Solaris.
26802 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26803 interested enough to fix.
26804
26805 1999-08-13 Keith Seitz <keiths@cygnus.com>
26806
26807 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26808 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26809 proc knows about targets other than the natives.
26810 (test_assign): Use "gdb_run_cmd" to "run" the target.
26811 Check that we've actually hit the breakpoint at main.
26812 When we attempt to assign a value to a local variable, check
26813 that the variable is in the current scope, i.e., don't use
26814 a test with an empty result.
26815
26816 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26817
26818 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
26819 command.
26820
26821 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26822
26823 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26824 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26825 gdb.compat, gdb.threads-hp.
26826 gdb.hp/configure, gdb.hp/configure.in: New files.
26827 gdb.hp/Makefile.in: Recurse into new subdirs.
26828 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26829 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26830 in object files.
26831 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26832
26833 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26834
26835 * gdb.base/display.exp: Help expect by putting a newline in the
26836 funky printf, remove a bogus p/a test.
26837
26838 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26839
26840 * gdb.base/display.exp: Make sure that when we say 'run', we are
26841 connected to the target. This is necessary when running not
26842 natively.
26843
26844 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26845
26846 * gdb.base/step-test.exp: Removed some extraneous messages.
26847
26848 * gdb.base/long_long.exp: Don't run memory examination tests
26849 on little-endian targets (they will need a different set of
26850 results to match).
26851
26852 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26853
26854 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26855 until somebody decides to fix GDB.
26856
26857 * gdb.base/long_long.c: Stop compiler complaint by specifying long
26858 constant as "ULL".
26859 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26860 matches for a couple x/2 commands.
26861
26862 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26863
26864 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26865 by merging in ref-types2 tests.
26866 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26867
26868 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26869 * gdb.c++/Makefile.in: Add standard actions.
26870 (EXECUTABLES): Rename from PROGS, update list.
26871 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26872 from gdb.hp.
26873 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26874 foo and bar locals.
26875 * gdb.c++/anon-union.exp: Fix tests to match.
26876 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26877 expect matches to handle output variations.
26878 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26879 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
26880 output, add HP alternatives for new and delete prints.
26881 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
26882 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
26883 * gdb.c++/demangle.exp: Use $style when reporting failure.
26884 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26885 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26886 match alternatives.
26887 * gdb.c++/local.exp: Add match alternatives or xfails for HP
26888 compilers.
26889 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26890 * gdb.c++/method.exp: Add match alternatives.
26891 * gdb.c++/misc.cc: Add bool types.
26892 * gdb.c++/misc.exp: Add tests for bool types.
26893 * gdb.c++/overload.exp: Add xfails.
26894 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26895 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26896 add some more template parameter tests (only for HP currently).
26897 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26898 * gdb.c++/virtfunc.cc: Add return type and value for main.
26899 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26900 match alternatives.
26901
26902 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26903
26904 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26905
26906 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26907
26908 * gdb.base/signals.exp: Don't expect getting a backtrace from
26909 within a signal handler to fail on Linux.
26910
26911 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26912
26913 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26914 * lib/gdb.exp: Remove some gratuitious semicolons.
26915 (delete_breakpoints): Increase timeout.
26916 (gdb_expect): Add -notransfer option.
26917 (gdb_test): Use -notransfer option.
26918 (get_compiler_info): Add f77 case.
26919 (get_compiler): New proc, split out from gdb_preprocess, add f77
26920 case.
26921 (gdb_preprocess): Call get_compiler.
26922
26923 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26924 * gdb.base/attach.exp, gdb.base/display.exp,
26925 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26926 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26927 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26928 third arg to gdb_test.
26929 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26930 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26931 HP-UX xfails, add others.
26932 * gdb.base/completion.exp: Reflect name change of self-test.
26933 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26934 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26935 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26936 HP failure number.
26937 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26938 useless HP-UX 10.30 references.
26939 * gdb.base/maint.exp: Loosen matches.
26940 * gdb.base/pointers.c (main): Declare more_code.
26941 * gdb.base/pointers.exp: Match on output of a `next'.
26942 * gdb.base/structs.c: Add prototypes.
26943 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26944 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26945
26946 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26947
26948 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26949 command.
26950
26951 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26952
26953 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26954 Fix run to main failures. Watchpoint can be hardware watchpoint.
26955
26956 * gdb.base/annota1.exp: Clean up some more, in case printf has
26957 debug info. Deal with lack of signal hanlder info in stack.
26958
26959 From Jim Kingdon <kingdon@redhat.com>:
26960 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26961
26962 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26963
26964 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26965 gdb.base/foll-vfork.exp: Don't run for crosses.
26966
26967 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26968
26969 * gdb.base/configure.in: Check for gdbvars.exp instead of
26970 a1-selftest.exp.
26971 * gdb.base/configure: Re-generate.
26972
26973 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26974
26975 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26976 in trying to run first and name is too long.
26977
26978 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26979 pointers2.c and pointers2.exp, respectively.
26980 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26981 doschk happier.
26982
26983 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26984
26985 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26986 callfuncs2.c and callfuncs2.exp.
26987
26988 * gdb.base/list.exp: Remove mistaken xfails.
26989 * gdb.base/list0.h: Add optional prototypes.
26990
26991 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26992
26993 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26994 calling malloc.
26995 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26996 * ptype.exp: Move test for get_debug_format to before its first
26997 use.
26998
26999 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27000
27001 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
27002 * gdb.base/annota2.cc, annota2.exp: Move from here.
27003 * gdb.c++/annota2.cc, annota2.exp: To here.
27004 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
27005
27006 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
27007
27008 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
27009 a consistent format.
27010
27011 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
27012
27013 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27014 * lib/gdb.exp (get_compiler_info): Add detection for assorted
27015 HP compilers, also set the globals $true and $false.
27016
27017 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
27018 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
27019 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
27020 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
27021 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
27022 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
27023 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
27024 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
27025 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
27026 whatis.c} Add C++ compatible function definitions and return
27027 types, add includes for library functions.
27028 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
27029 * gdb.base/step-test.c (myglob): Rename from glob.
27030 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
27031 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
27032 files, move here from gdb.hp.
27033 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
27034 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
27035 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
27036 Adjust line numbers in regexps.
27037
27038 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
27039 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
27040 instead of 0/1.
27041
27042 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
27043 foll-vfork.exp: New files, move here from gdb.hp.
27044 * gdb.base/page.exp: New file, test of pagination command.
27045
27046 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
27047 recursion test.
27048 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
27049
27050 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
27051 gdb.base/solib.exp: Fix compiler invocation process.
27052
27053 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
27054 HP-UX 11, turn off overload resolution explicitly.
27055 * gdb.base/commands.exp: Set argument list explicitly, add
27056 watchpoint test.
27057 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
27058 them work.
27059 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
27060 expressions properly.
27061 * gdb.base/corefile.exp: Loosen the match slightly.
27062 * gdb.base/default.exp: Allow "Error accessing memory" message
27063 also.
27064 * gdb.base/display.exp: Skip over x/0 j if PA64.
27065 * gdb.base/funcargs.exp: Add xfails for HP-UX.
27066 * gdb.base/interrupt.exp: Ditto.
27067 * gdb.base/langs.exp: Add symbolic matches governed by compiler
27068 in use.
27069 * gdb.base/list.exp: Add xfails for HP-UX.
27070 * gdb.base/long_long.exp: Refine some of the numeric matches.
27071 * gdb.base/mips_pro.exp: Xfail on HP-UX.
27072 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
27073 * gdb.base/nodebug.exp: Succeed on more varieties of output.
27074 * gdb.base/opaque.exp: Remove some HP-UX xfails.
27075 * gdb.base/ptype.exp: Succeed on more varieties of output.
27076 * gdb.base/scope.exp: Add xfails for HP-UX.
27077 * gdb.base/sect-cmd.exp: Add more cases.
27078 * gdb.base/setvar.exp: Add xfails for HP-UX.
27079 * gdb.base/shlib-call.exp: Loosen some matches slightly.
27080 * gdb.base/signals.exp: Match on void symbolically.
27081 * gdb.base/step-test.exp: Add case for PA64.
27082 * gdb.base/term.exp: Add exit and restart.
27083 * gdb.base/twice.exp: Clean up after self.
27084 * gdb.base/varargs.exp: Disable overload resolution explicitly.
27085 * gdb.base/whatis.exp: Allow more ways to pass tests.
27086
27087 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
27088 no longer useful.
27089
27090 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
27091
27092 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
27093 list of patterns.
27094 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
27095 print_double_array(double_array)", "continuing to breakpoint
27096 1018", "print print_double_array(array_d)" and "continuing to
27097 1034" tests.
27098
27099 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
27100
27101 * Makefile.in: Add empty html and install-html targets.
27102
27103 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
27104
27105 * config/mt-*: Remove, these haven't been used since 1996.
27106
27107 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
27108
27109 * gdb.base/call-strs.c, gdb.base/ending-run.c,
27110 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
27111 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
27112
27113 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
27114
27115 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
27116 simpler match case for the ptype of the big class.
27117
27118 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27119
27120 * gdb.exp: Fix test for gdb_prompt existence.
27121
27122 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27123
27124 * gdb.exp (gdb_test): Add fail after calls to perror.
27125
27126 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27127
27128 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
27129
27130 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27131
27132 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
27133
27134 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
27135
27136 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
27137 malloc() is linked in.
27138
27139 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27140
27141 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
27142 step at end.
27143
27144 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
27145
27146 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
27147
27148 * gdb.java/jv-print.exp: New file. (Our first Java test!)
27149
27150 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
27151
27152 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
27153 * gdb.base/mips_pro.exp: Likewise.
27154
27155 1999-06-02 Keith Seitz <keiths@cygnus.com>
27156
27157 * gdb.c++/templates.cc: Change all "new" operators to throw
27158 an exception.
27159 * gdb.c++/cplusfuncs.cc: Likewise.
27160
27161 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
27162
27163 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
27164
27165 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
27166 * gdb.base/ending-run.exp: When stepping out of main, accept a
27167 step into an arbitrary assembler file.
27168
27169 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27170
27171 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
27172 "breakpoint-invalid" to be printed.
27173 * gdb.base/annota2.exp: Revise line number for main
27174 breakpoint. Allow any number of "frames-invalid" and
27175 "breakpoint-invalid" to be printed.
27176 * gdb.base/annota2.cc: Initialize a.x to 0.
27177
27178 1999-05-17 Keith Seitz <keiths@cygnus.com>
27179
27180 * gdb.base/call-ar-st.exp: Skip
27181 "print print_double_array (double_array)" when "skip_float_tests" set.
27182 Ditto for "print print_double_array(array_d)",
27183 "print print_small_structs", "print print_ten_doubles", and
27184 "step into print_long_arg_list".
27185 Don't assume we can step into "print_long_arg_list": we could step
27186 into memcpy.
27187 * gdb.base/call-rt-st.exp: Don't run float-related tests when
27188 "skip_float_tests" is set: "print print_one_double(*d1)"
27189 and "print print_two_floats(*f3)".
27190 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
27191 "skip_float_tests" is set.
27192 * gdb.base/varargs.exp: Skip
27193 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
27194 "skip_float_tests" set.
27195
27196 1999-05-06 Keith Seitz <keiths@cygnus.com>
27197
27198 * gdb.base/annota2.cc: Include stdio.h.
27199
27200 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
27201
27202 * gdb.base/crossload.exp: Remove, this has been disabled ever
27203 since BFD stopped including all targets, and cross-GDB gets
27204 plenty of testing anyway.
27205 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
27206 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
27207 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
27208 * gdb.base/README: Remove, was doc for this.
27209 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
27210 needed.
27211
27212 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27213
27214 * gdb.base/call-ar-st.exp: Fix one regular expression in test
27215 output.
27216
27217 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
27218 * gdb.base/annota2.exp: New file. More annotation tests.
27219 * gdb.base/annota1.c: New file. Source file for annota1.exp.
27220 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
27221
27222 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
27223
27224 * config/cfdbug.exp: New file.
27225
27226 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
27227
27228 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
27229 Marcus Daniel's and Dale Hawkins's demangler crashes.
27230
27231 * gdb.c++/demangle.exp (test_gnu_style_demangling,
27232 test_lucid_style_demangling, test_arm_style_demangling,
27233 test_hp_style_demangling): Try Tom Tromey's core-dumping
27234 identifier under each demangling style.
27235
27236 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
27237
27238 * gdb.c++/demangle.exp: Include the current demangling style
27239 in all test names.
27240 (current_demangling_style): New global variable.
27241 (set_demangling_style, test_demangling_core, test_demangling,
27242 test_demangling_exact): New functions.
27243 (test_gnu_style_demangling, test_lucid_style_demangling,
27244 test_arm_style_demangling, test_hp_style_demangling): Use those,
27245 instead of calling gdb_test and gdb_test_exact directly.
27246 (catch_demangling_errors): New function, which reports errors
27247 signalled by the demangling test functions in an orderly way.
27248 (do_tests): Use catch_demangling_errors.
27249
27250 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
27251
27252 * gdb.base/signals.exp (test_handle_all_print): Use () for
27253 grouping in expressions, not {}.
27254
27255 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
27256 initialized yet.
27257
27258 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
27259
27260 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
27261 are listed.
27262
27263 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
27264
27265 * gdb.stabs/weird.exp: Test for CC being defined before
27266 looking at its value.
27267
27268 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
27269
27270 * gdb.base/call-ar-st.exp: Remove stray '#'.
27271 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
27272 "short int" and "long int".
27273 * gdb.c++/overload.cc: Cast the string added in the previous
27274 change, to mollify finicky HP compiler.
27275 * gdb.hp/reg-test.exp (testfile): Fix file name.
27276 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
27277
27278 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
27279 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
27280 alternate form of enum ptype.
27281
27282 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
27283
27284 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
27285 * gdb.hp/*.exp: Change all to run compiler probe only after
27286 passing skip_hp_tests, so as not to waste time on guaranteed
27287 failure.
27288
27289 * gdb.c++/overload.cc: Pass string instead of char addr, always
27290 init ccpfoo.
27291 * gdb.c++/templates.cc: Fix syntax error.
27292
27293 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27294
27295 * gdb.base/commands.exp: Add test for correct position of '>'
27296 when issuing the 'commands' command after a 'while' or 'if'
27297 command.
27298
27299 1999-03-18 James Ingham <jingham@cygnus.com>
27300
27301 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
27302
27303 * gdb.c++/method.exp: It was testing an uninitialized int on the
27304 stack and assuming it was positive.
27305
27306 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
27307
27308 * gdb.base/step-test.exp: Catch a case where finish is broken and
27309 keep it from killing the rest of the tests.
27310 Use gdb_continue_to_end.
27311
27312 * gdb.base/sigall.exp: use gdb_continue_to_end.
27313
27314 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
27315
27316 * gdb.base/display.exp: use runto_main, not run.
27317
27318 * gdb.base/default.exp: Check for the current error message in the
27319 r abbreviation test.
27320 Add strongarm to the targets that know info float.
27321
27322 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
27323 run which doesn't work with monitors.
27324
27325 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
27326 1034 test.
27327
27328 * gdb.base/break.exp: use the gdb_continue_to_end proc.
27329
27330 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
27331 end of a program. Traps the case (in Cygmon) when the program
27332 never really exits. Same as Mark's continue_to_exit, but I had
27333 put it in a lot more places, so I used my name. Sorry Mark...
27334
27335 * config/monitor.exp (gdb_target_monitor): added another
27336 target_info parameter: remotebinarydownload. This will set the
27337 remotebinarydownload flag if this is causing some boards trouble.
27338
27339 1999-03-18 Mark Salter <msalter@cygnus.com>
27340
27341 * lib/gdb.exp (continue_to_exit): New function.
27342
27343 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
27344 * gdb.base/ending-run.exp: Ditto.
27345 * gdb.base/step-test.exp: Ditto.
27346
27347 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
27348
27349 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
27350 (suggested by Art Haas <ahaas@neosoft.com>).
27351
27352 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
27353
27354 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
27355
27356 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
27357
27358 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
27359 descriptions of types (short unsigned int vs unsigned short, etc).
27360
27361 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
27362
27363 * gdb.base/call-strs.exp: Don't assume that `step' will step over
27364 a call to strlen; sometimes we do have sources.
27365
27366 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27367
27368 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
27369 character, so GDB won't print garbage after its end.
27370
27371 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
27372 breakpoint there instead. Sometimes GCC emits memcpy to handle
27373 the large structures being passed by value, so we step into that
27374 instead of sum_array_print, which obscures what we're really testing.
27375 * gdb.base/step-test.exp: However, we do want a test that notices
27376 the bizarre steps into memcpy, so do that here. Add check for
27377 stepping into function calls that pass large structures by value.
27378 ("Is that a noun clause, or are you just happy to see me?")
27379 Remove all references to specific line numbers.
27380 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
27381 New type and function.
27382 (main): Call large_struct_by_value, passing it a large struct by value.
27383 * lib/gdb.exp (gdb_get_line_number): New function.
27384
27385 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27386 more portable.
27387
27388 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27389
27390 * lib/gdb.exp: Doc fixes.
27391
27392 1999-03-05 Nick Clifton <nickc@cygnus.com>
27393
27394 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
27395
27396 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
27397
27398 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
27399 commands. They're not germane to this test, and they don't work
27400 that way on remote targets.
27401
27402 1999-03-01 James Ingham <jingham@cygnus.com>
27403
27404 * Changelog entries merged over from gdb development branch.
27405
27406 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
27407
27408 * lib/gdb.exp (gdbtk_analyze_results): Generic function
27409 for outputting results of test run.
27410
27411 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
27412
27413 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
27414
27415 1999-02-25 Felix Lee <flee@cygnus.com>
27416
27417 * lib/gdb.exp (debug_format): initialize
27418
27419 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
27420
27421 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
27422 * gdb.base/call-rt-st.c: Ditto.
27423
27424 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
27425
27426 * gdb.threads/pthreads.exp (horiz): New variable.
27427 (test_startup): Fix regexps that capture thread numbers.
27428
27429 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
27430
27431 * gdb.base/smoke.exp: Disambiguate two test case names (both
27432 called ``print'').
27433
27434 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27435
27436 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
27437 compilation.
27438
27439 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27440
27441 * gdb.base/miscexprs.exp: Change patterns to match GDB's
27442 actual output formatting.
27443 * gdb.base/smoke.exp: GDB removes leading 0's.
27444 * gdb.base/volatile.exp: Don't check type of remuneration;
27445 that variable is no longer defined in constvars.c.
27446 * gdb.base/step-test.c (main): Exit with explicit exit code.
27447 * gdb.base/step-test.exp: Remove two nexti checks--they are
27448 not portable.
27449
27450 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27451
27452 * gdb.base/help.exp ("help delete display"): Fix test to match
27453 gdb's output.
27454
27455 * gdb.base/long_long.c (known_types): Initialize values to zero.
27456 * gdb.base/long_long.exp: Step one more line
27457 so 'dec' is initialized in "get to known place". GDB removes
27458 leading zeros. Explicitly ask for hex formatting. Use
27459 unique test case names.
27460
27461 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27462
27463 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
27464
27465 * gdb.c++/method.exp: Add missing close brace.
27466
27467 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
27468
27469 * gdb.base/maint.exp: Use 'set height 0' to disable page
27470 prompting, not 'set height 400'.
27471
27472 Fix a bunch of timeouts.
27473 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
27474 four separate tests, so expect doesn't take forever to match a ton
27475 of text against a regexp with lots of .* forms.
27476 ("maint print psymbols", "maint print symbols"): Make some of
27477 these greps more selective, so that expect doesn't try to wade
27478 through huge piles of output and time out.
27479
27480 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27481
27482 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
27483 tests: one which doesn't expect shlib events to be reported, and
27484 another which does, but is XFAIL for all platforms other than
27485 HP/UX.
27486
27487 * gdb.base/break.exp: Teach the test suite that the `catch
27488 fork', `catch vfork', and `catch exec' commands produce error
27489 messages on platforms that don't provide these features.
27490
27491 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27492
27493 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
27494 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27495 (shortening names from solib_threshold.exp etc), won't run on
27496 anything but HP-UX for the foreseeable future.
27497 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
27498 reflect move.
27499
27500 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27501
27502 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27503 gdb.trace/Makefile.in (clean): Remove all test executables.
27504
27505 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27506
27507 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27508 successfully re-sets breakpoints in shared libraries.
27509 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27510
27511 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27512
27513 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27514 and compiled w/o GCC.
27515
27516 * gdb.hp/watch-cmd.exp: ditto.
27517
27518 * gdb.hp/watch-hp.exp: ditto.
27519
27520 * gdb.hp/xdb1.exp: ditto.
27521
27522 * gdb.hp/xdb2.exp: ditto.
27523
27524 * gdb.hp/dbx.exp: ditto.
27525
27526 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27527
27528 * constvars.c: Remove C++-isms.
27529 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
27530 with GCC.
27531
27532 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27533
27534 The following changes are part of the HP merge.
27535
27536 * gdb.base/break.exp: new tests to verify that catchpoints for
27537 fork, vfork, and exec don't trigger inappropriately.
27538
27539 * gdb.base/opaque.exp: compile one file at a time, then link.
27540
27541 * gdb.base/signals.exp: be more restrictive about which hppa
27542 systems receive a setup_xfail. new tests.
27543
27544 * gdb.base/solib_threshold.build: new file.
27545 * gdb.base/solib_threshold.exp: new file.
27546 * gdb.base/solib_threshold.link_opts: new file.
27547 * gdb.base/solib_threshold.mk: new file.
27548 * gdb.base/gen_solib_threshold.c: new file.
27549
27550 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27551 tests. New tests for enums inside classes.
27552
27553 * gdb.c++/compiler.cc: indicate support of template debugging.
27554
27555 * gdb.c++/demangle.exp: run hp style demangling tests.
27556
27557 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27558 tests.
27559
27560 * gdb.c++/misc.cc: changes to support new tests.
27561
27562 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27563 to support new tests.
27564
27565 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27566 gcc, then skip these tests.
27567
27568 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27569
27570 The following files are part of the HP merge; some had longer
27571 names at HP, but have been renamed to be no more than 14
27572 characters in length.
27573
27574 * gdb.hp/ambiguous.cc: new file.
27575 * gdb.hp/ambiguous.exp: new file.
27576 * gdb.hp/attach.exp: new file.
27577 * gdb.hp/attach2.exp: new file.
27578 * gdb.hp/classes-hp.exp: new file.
27579 * gdb.hp/ctti.exp: new file.
27580 * gdb.hp/ctti-add.cc: new file.
27581 * gdb.hp/ctti-add1.cc: new file.
27582 * gdb.hp/ctti-add2.cc: new file.
27583 * gdb.hp/ctti-add3.cc: new file.
27584 * gdb.hp/dbx.exp: new file.
27585 * gdb.hp/exception.cc: new file.
27586 * gdb.hp/exception.exp: new file.
27587 * gdb.hp/foll-exec.c: new file.
27588 * gdb.hp/foll-exec.exp: new file.
27589 * gdb.hp/foll-fork.c: new file.
27590 * gdb.hp/foll-fork.exp: new file.
27591 * gdb.hp/foll-vfork.c: new file.
27592 * gdb.hp/foll-vfork.exp: new file.
27593 * gdb.hp/inherit-hp.exp: new file.
27594 * gdb.hp/more-steps.exp: new file.
27595 * gdb.hp/namespace.cc: new file.
27596 * gdb.hp/namespace.exp: new file.
27597 * gdb.hp/optimize.exp: new file.
27598 * gdb.hp/pxdb.c: new file.
27599 * gdb.hp/pxdb.exp: new file.
27600 * gdb.hp/quicksort.exp: new file.
27601 * gdb.hp/reg-test.exp: new file.
27602 * gdb.hp/reg-test.s: new file.
27603 * gdb.hp/sized-enum.c: new file.
27604 * gdb.hp/sized-enum.exp: new file.
27605 * gdb.hp/start-stop.exp: new file.
27606 * gdb.hp/templ-hp.cc: new file.
27607 * gdb.hp/templ-hp.exp: new file.
27608 * gdb.hp/thr-lib.c: new file.
27609 * gdb.hp/thr-lib.exp: new file.
27610 * gdb.hp/thr-lib.h: new file.
27611 * gdb.hp/thr-liblib.c: new file.
27612 * gdb.hp/virtfun-hp.c: new file.
27613 * gdb.hp/virtfun-hp.exp: new file.
27614 * gdb.hp/watch-cmd.exp: new file.
27615 * gdb.hp/watch-hp.exp: new file.
27616 * gdb.hp/xdb1.exp: new file.
27617 * gdb.hp/xdb2.exp: new file.
27618 * gdb.hp/xdb3.exp: new file.
27619
27620 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27621
27622 The following files are part of the HP merge; some had longer
27623 names at HP, but have been renamed to be no more than 14
27624 characters in length.
27625
27626 * gdb.base/ss.h: new file.
27627 * gdb.base/call-ar-st.c: new file.
27628 * gdb.base/call-ar-st.exp: new file.
27629 * gdb.base/call-rt-st.c: new file.
27630 * gdb.base/call-rt-st-exp: new file.
27631 * gdb.base/call-strs.exp: new file.
27632 * gdb.base/ena-dis-br.exp: new file.
27633 * gdb.base/environ.exp: new file.
27634 * gdb.base/long_long.exp: new file.
27635 * gdb.base/sect-cmd.exp: new file.
27636 * gdb.base/shlib-cl2.exp: new file.
27637 * gdb.base/smoke.exp: new file.
27638 * gdb.base/so-impl-ld.c: new file.
27639 * gdb.base/so-impl-ld.exp: new file.
27640 * gdb.base/so-indr-cl.c: new file.
27641 * gdb.base/so-indr-cl.exp: new file.
27642 * gdb.base/varargs.exp: new file.
27643 * gdb.base/volatile.exp: new file.
27644 * gdb.base/whatis-exp.exp: new file.
27645 * gdb.base/display.exp: new file.
27646 * gdb.c++/derivation.exp: new file.
27647 * gdb.c++/local.exp: new file.
27648 * gdb.c++/member-ptr.exp: new file.
27649 * gdb.c++/overload.exp: new file.
27650 * gdb.c++/ovldbreak.exp: new file.
27651 * gdb.c++/ref-types.exp: new file.
27652 * gdb.c++/ref-types2.exp: new file.
27653 * gdb.c++/userdef.exp: new file.
27654
27655 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27656
27657 * gdb.base/default.exp: Reflect wording change in remote.c.
27658
27659 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
27660
27661 * gdb.base/help.exp: Update to reflect current text.
27662
27663 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27664
27665 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27666 they're stack variables and contain garbage.
27667 * gdb.c++/anon-union.exp: new file.
27668
27669 The following changes were made by David Taylor
27670 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27671 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27672 in changes by HP.
27673
27674 * gdb.base/bitops.exp: new file.
27675 * gdb.base/default.exp: change expected messages for catch and
27676 info catch tests to reflect HP merge changes.
27677 * gdb.base/enable-disable-break.exp
27678 * gdb.base/ending-run.c: new file.
27679 * gdb.base/long_long.c: new file.
27680 * gdb.base/maint.exp: new file.
27681 * gdb.base/pointers2.exp: new file.
27682 * gdb.base/shlib-call2.exp: new file.
27683 * gdb.base/solib.exp: new file.
27684 * gdb.base/step-test.c: new file.
27685 * gdb.c++/anon-union.cc: new file.
27686 * gdb.c++/local.cc: new file.
27687 * gdb.c++/member-pointer.cc: new file.
27688 * gdb.c++/method.cc: new file.
27689 * gdb.c++/ref-types.cc: new file.
27690 * gdb.c++/ref-types2.cc: new file.
27691 * gdb.c++/userdef.cc: new file.
27692
27693 * gdb.base/scope.exp: compile one file at a time, then link.
27694 * gdb.base/langs.exp: ditto.
27695 * gdb.base/list.exp: ditto.
27696
27697 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
27698
27699 The following changes were made by David Taylor
27700 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27701 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27702 in changes by HP.
27703
27704 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27705 skip tests. When compiling pass c++ flag to gdb_compile.
27706 * gdb.c++/
27707
27708 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27709 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27710 (skip_hp_tests): new function.
27711 (gdb_preprocess): new function.
27712
27713 * configure.in (hpdir): decide whether to configure gdb.hp.
27714 * configure: regenerated.
27715
27716 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27717 to delete on clean.
27718 (EXECUTABLES): update to reflect new additions.
27719 * gdb.base/commands.exp: update message expected.
27720 * gdb.base/default.exp: add copyright notice.
27721 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27722 * gdb.base/help.exp: update messages to reflect current text.
27723 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27724 targets for recurse tests.
27725 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27726 skip this file.
27727
27728 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27729 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27730 compilation.
27731 * gdb.c++/misc.exp: ditto.
27732 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27733 run the tests. tell gdb_compile that it's a c++ compilation.
27734
27735 * gdb.threads/pthreads.exp: fix typo in message.
27736
27737 * gdb.base/all-bin.exp: new file.
27738 * gdb.base/arithmet.exp: new file.
27739 * gdb.base/assign.exp: new file.
27740 * gdb.base/completion.exp: new file.
27741 * gdb.base/cond-expr.exp: new file.
27742 * gdb.base/condbreak.exp: new file.
27743 * gdb.base/define.exp: new file.
27744 * gdb.base/dollar.exp: new file.
27745 * gdb.base/environment.exp: new file.
27746 * gdb.base/eval-skip.exp: new file.
27747 * gdb.base/jump.exp: new file.
27748 * gdb.base/logical.exp: new file.
27749 * gdb.base/pointers.exp: new file.
27750 * gdb.base/relational.exp: new file.
27751 * gdb.base/section_command.exp: new file.
27752 * gdb.base/whatis-expr.exp: new file.
27753
27754 * gdb.base/all-types.c: new file.
27755 * gdb.base/call-array-struct.c: new file.
27756 * gdb.base/call-return-struct.c: new file.
27757 * gdb.base/call-strings.c: new file.
27758 * gdb.base/callfuncs2.c: new file.
27759 * gdb.base/condbreak.c: new file.
27760 * gdb.base/constvars.c: new file.
27761 * gdb.base/display.c: new file.
27762 * gdb.base/int-type.c: new file.
27763 * gdb.base/jump.c: new file.
27764 * gdb.base/miscexprs.c: new file.
27765 * gdb.base/pointers.c: new file.
27766 * gdb.base/pointers2.c: new file.
27767 * gdb.base/shmain.c: new file.
27768 * gdb.base/shr1.c: new file.
27769 * gdb.base/shr2.c: new file.
27770 * gdb.base/solib.c: new file.
27771 * gdb.base/solib1.c: new file.
27772 * gdb.base/solib2.c: new file.
27773 * gdb.base/varargs.c: new file.
27774 * gdb.c++/derivation.cc: new file.
27775 * gdb.c++/overload.cc: new file.
27776 * gdb.c++/ovldbreak.cc: new file.
27777 * gdb.hp/attach.c: new file.
27778 * gdb.hp/attach2.c: new file.
27779 * gdb.hp/average.c: new file.
27780 * gdb.hp/compiler.c: new file.
27781 * gdb.hp/compiler.cc: new file.
27782 * gdb.hp/execd-program.c: new file.
27783 * gdb.hp/follow-exec.c: new file.
27784 * gdb.hp/follow-fork.c: new file.
27785 * gdb.hp/follow-vfork-and-exec.c: new file.
27786 * gdb.hp/misc-hp.cc: new file.
27787 * gdb.hp/more-steps.c: new file.
27788 * gdb.hp/optimize.c: new file.
27789 * gdb.hp/quicksort.c: new file.
27790 * gdb.hp/run-hp.c: new file.
27791 * gdb.hp/start-stop.c: new file.
27792 * gdb.hp/sum.c: new file.
27793 * gdb.hp/templates-hp.cc: new file.
27794 * gdb.hp/thread-local-in-lib.c: new file.
27795 * gdb.hp/thread-local-in-lib.h: new file.
27796 * gdb.hp/thread-local-in-lib.lib.c: new file.
27797 * gdb.hp/vforked-program.c: new file.
27798 * gdb.hp/virtfunc-hp.cc: new file.
27799 * gdb.hp/watchpoint-hp.c: new file.
27800 * gdb.hp/xdb.c: new file.
27801 * gdb.hp/xdb0.c: new file.
27802 * gdb.hp/xdb0.h: new file.
27803 * gdb.hp/xdb1.c: new file.
27804
27805 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27806
27807 The following change was made by Edith Epstein
27808 <eepstein@cygnus.com> as part of a project to merge in changes
27809 originally made by HP; HP did not create ChangeLog entries.
27810
27811 * gdb.c++/demangle.exp: changed the expected output for some
27812 ARM-style mangling -- removed second reference to datatype.
27813 For example, maint demangle __dt__11T1__pt__2_cFv
27814 T1<char>::~T1<char>(void)
27815 becomes,
27816 maint demangle __dt__11T1__pt__2_cFv
27817 T1<char>::~T1(void)
27818
27819 (test_hp_style_demangling): new hp specific demangling test cases.
27820
27821 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27822
27823 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27824 * gdb.trace/backtrace.exp: Likewise.
27825 * gdb.trace/circ.exp: Likewise.
27826 * gdb.trace/collection.exp: Likewise.
27827 * gdb.trace/deltrace.exp: Likewise.
27828 * gdb.trace/infotrace.exp: Likewise.
27829 * gdb.trace/limits.exp: Likewise.
27830 * gdb.trace/packetlen.exp: Likewise.
27831 * gdb.trace/passc-dyn.exp: Likewise.
27832 * gdb.trace/passcount.exp: Likewise.
27833 * gdb.trace/report.exp: Likewise.
27834 * gdb.trace/save-trace.exp: Likewise.
27835 * gdb.trace/tfind.exp: Likewise.
27836 * gdb.trace/tracecmd.exp: Likewise.
27837 * gdb.trace/while-dyn.exp: Likewise.
27838 * gdb.trace/while-stepping.exp: Likewise.
27839
27840 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27841
27842 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27843
27844 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27845
27846 From Brendan Kehoe:
27847 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27848 int return types.
27849
27850 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27851
27852 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
27853 remote dos host testing right.
27854
27855 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27856
27857 * gdb.base/corefile.exp: remove some xfails.
27858
27859 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27860
27861 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
27862 have different timestamps.
27863
27864 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27865
27866 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
27867 gdb.base/default.exp: Replace "exec" with "executable".
27868
27869 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27870
27871 * gdb.base/default.exp: Change else if to elseif from previous
27872 delta.
27873
27874 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27875
27876 * gdb.base/default.exp: Add brace missing from previous delta.
27877
27878 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27879
27880 * gdb.base/default.exp: Support test for info float for all
27881 varieties of arm toolchain.
27882
27883 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
27884
27885 * gdb.trace/*.exp: remove "remote_download" command.
27886
27887 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
27888
27889 * gdb.trace/*.exp: remove -gdwarf from compile.
27890
27891 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27892
27893 * gdb.trace/configure.in(AC_INIT): typo
27894 * gdb.trace/configure: regenerated
27895
27896 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27897
27898 * config/m68k-emc.exp: New file.
27899 * lib/<emc-support.exp trace-support.exp}: New files.
27900 * configure.in: add new test directory gdb.trace.
27901 * gdb.trace/{configure configure.in Makefile.in}: New files.
27902 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27903 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27904 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27905 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27906 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27907 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27908 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27909
27910 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27911
27912 * gdb.c++/classes.exp: Change all regular expressions to match
27913 arbitrary combinations of newline/carriage-return, so that they
27914 will work equally well on Unix and Windows.
27915 * gdb.c++/inherit.exp: ditto.
27916 * gdb.c++/virtfunc.exp: ditto.
27917
27918 1998-08-11 Dawn Perchik <dawn@cygnus.com>
27919
27920 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27921
27922 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27923
27924 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27925 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27926 to use a0-a3/d0-d3 as needed.
27927
27928 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27929
27930 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27931 * gdb.disasm/am33.exp: Corresponding changes.
27932
27933 1998-07-11 Felix Lee <flee@cygnus.com>
27934
27935 * gdb.base/callfuncs.exp: add cmp10 test.
27936 * gdb.base/callfuncs.c (cmp10): new function.
27937
27938 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27939
27940 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27941 into two parts to get around a synchronization problem in expect.
27942
27943 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27944
27945 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27946
27947 * configure.in: Add options for gdbtk testsuite.
27948
27949 * configure: Regenerate.
27950
27951 * gdb.gdbtk: New directory to hold gdbtk tests.
27952
27953 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27954
27955 * gdb.fortran/types.exp: Escape brackets in expect patterns
27956 for test_float_literal_types_accepted tests.
27957 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27958 before run test.
27959
27960 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27961
27962 * am33.exp: Just compile, do not link the testcase.
27963 * am33.s: Add ".am33" pseudoop to force am33 mode.
27964
27965 1998-06-25 Felix Lee <flee@cygnus.com>
27966
27967 * gdb.base/setshow.exp: make sure $pc is sane.
27968
27969 * gdb.stabs/weird.exp: split expect patterns properly.
27970
27971 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27972
27973 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27974 * gdb.disasm/am33.exp: Run it.
27975
27976 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27977
27978 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27979 match processing (and eliminate spurious timeouts when running).
27980
27981 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27982
27983 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27984 exception test, but conditionalize it on target [mach | gnu].
27985
27986 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27987
27988 * gdb.base/overlays.exp: fixup compile line for linker script.
27989
27990 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27991
27992 * gdb.fortran/types.exp: don't guess at float size.
27993
27994 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27995
27996 * gdb.base/exprs.exp: delete test that depends on int size.
27997
27998 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27999
28000 * config/sim.exp: Removed checks for target triplets.
28001 (gdb_target_sim): Use gdb,target_sim_options.
28002
28003 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
28004
28005 * gdb.base/reread.exp: New file.
28006 * gdb.base/reread1.c: New file.
28007 * gdb.base/reread2.c: New file.
28008
28009 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
28010
28011 * config/sim.exp: Use 'target sim -sparclite' when running
28012 SPARClite programs.
28013
28014 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
28015
28016 * gdb.base/structs2.exp: New file.
28017 * gdb.base/structs2.c: New file.
28018
28019 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
28020
28021 * gdb.asm/common.inc: New file.
28022 * gdb.asm/d10v.inc: New file.
28023 * asm-source.exp: Pass -I's to gas to find .inc files.
28024 Update line numbers in expected output.
28025 * asmsrc1.s: Rewrite.
28026 * asmsrc2.s: Rewrite.
28027 * configure.in: Create arch.inc symlink.
28028 * configure: Regenerate.
28029 * Makefile.in (distclean): Delete arch.inc.
28030
28031 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
28032
28033 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
28034 (t_enum_value2): ditto
28035 (t_enum_value3): ditto
28036 (main): ditto
28037 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28038
28039 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
28040 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
28041 change.
28042 Use gdb_test instead of send_gdb/gdb_expect sequences.
28043
28044 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
28045
28046 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
28047 not void.
28048
28049 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
28050
28051 * gdb.base/branches.c: Code with lots of loops and
28052 subroutines. Used to test gdbs ability to single step through PC
28053 changes, especially to test mips-tdep.c:mips_next_pc
28054
28055 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
28056
28057 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
28058 more rigorous EGCS C++ error checking.
28059
28060 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28061
28062 * gdb.base/help.exp: Clean up `help set args' and `help show args'
28063 tests.
28064 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
28065 function when asleep.
28066 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
28067 for i*86 Linux and SVR4 signal handling problems.
28068 Remove linux xfail for `next to handler in signals_tests_1', fixed
28069 by recent infrun.c change.
28070 Limit backtrace to 10 frames to avoid timeout problems with infinite
28071 stack backtraces.
28072 Adjust expect pattern in `handle all print' test to match Apr 28 1997
28073 target.[ch] change.
28074
28075 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
28076
28077 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
28078 for a newline from gdb before continuing.
28079 (default_gdb_exit): Just look for y or n.
28080 (gdb_test): Detect abnormal exit from GDB running on DOS; if
28081 it does, fail the rests of the tests in the file.
28082
28083 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
28084
28085 * config/cygmon.exp: New file.
28086
28087 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
28088
28089 * gdb.base/list.exp: Fix problem with "list default lines around
28090 main" test on remote targets.
28091
28092 * gdb.base/scope.exp: Fix problem with filelocal_bss before
28093 run test on remote targets.
28094
28095 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
28096
28097 * gdb.asm: New directory.
28098 * configure.in: Configure it.
28099 * configure: Regenerate.
28100 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
28101 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
28102
28103 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
28104
28105 * config/mn10300-eval.exp: New file to support MN10300 eval board.
28106
28107 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
28108
28109 * gdb.base/overlays (several files): Merge the two overlay
28110 managers into one. Change variables (foox, barx, bazx, grbxx)
28111 back into ints but force them to load in their proper sections.
28112
28113 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
28114
28115 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
28116 on-chip insn memory and IMAP1 to upper 128k.
28117 (D10VCopy): Handle memory regions crossing 16k boundaries.
28118 (D10VCopy): Transfer data in 32 bit chunks.
28119
28120 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
28121
28122 * gdb.base/overlays.c (main): Exit normally when result is
28123 correct.
28124
28125 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
28126 map. Include space for printf in .text segment.
28127
28128 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
28129 updated d10v memory VMA/LMA map.
28130 (D10VCopy): Call D10VTranslate.
28131
28132 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
28133
28134 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
28135
28136 * gdb.base/bar.c (barx, bar): Change variable to small array so
28137 that it won't be put into the .sdata - small data -
28138 section. Update reference.
28139 * gdb.base/baz.c (bazx, baz): Ditto.
28140 * gdb.base/foo.c (foox, foo): Ditto.
28141 * gdb.base/grbx.c (grbxx, grbx): Ditto.
28142
28143 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
28144 to be arrays.
28145
28146 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
28147
28148 * gdb.base/overlays.exp: fix up and get working again.
28149 Add tests for backtraces from an overlay function.
28150
28151 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
28152
28153 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
28154 "calling function with watchpoint enabled".
28155
28156 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
28157
28158 * gdb.base/break.exp (test_next_with_recursion): Remove
28159 gdb_suppress_tests for d10v-*-*.
28160 * lib/gdb.exp (gdb_suppress_tests): Disable this function
28161 pending review of whether it is useful or not.
28162
28163 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
28164
28165 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
28166
28167 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
28168
28169 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
28170 * config/dve.exp: New file to support Densan boards.
28171
28172 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
28173
28174 * gdb.base/interrupt.exp: Document problem of simulators, signals,
28175 reads and BSD.
28176
28177 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
28178
28179 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
28180 response.
28181
28182 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
28183
28184 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
28185
28186 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
28187 test.
28188
28189 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
28190 target_sizeof_long and target_bigendian_p.
28191 (structs_by_value, structs_by_reference): Check values according
28192 to targets word size and endianess.
28193
28194 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
28195
28196 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
28197 output.
28198
28199 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
28200
28201 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
28202 Update test of set args help to match source change.
28203
28204 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
28205
28206 * gdb.base/default.exp: Expect help system output to be in
28207 alphabetical order.
28208 * gdb.base/help.exp: Ditto.
28209
28210 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
28211
28212 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
28213 "i*86-pc-linux-gnu*".
28214 * gdb.base/interrupt.exp: Ditto.
28215 * gdb.base/corefile.exp: Ditto.
28216
28217 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
28218 define vxworks when building the testcase.
28219
28220 * gdb.base/ptype.exp: Fix testnames to be unique.
28221 * gdb.base/radix.exp: Ditto.
28222 * gdb.base/term.exp: Ditto.
28223 * gdb.base/whatis.exp: Ditto.
28224 * gdb.c++/classes.exp: Ditto.
28225
28226 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
28227
28228 * gdb.base/callfuncs.exp: Fix indentation.
28229
28230 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
28231 suppress_flag has been set.
28232 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
28233 target feature.
28234
28235 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
28236
28237 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
28238 the testcase.
28239
28240 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
28241 set_debug_traps() and breakpoint().
28242 * gdb.c++/misc.cc (main): Ditto.
28243 * gdb.c++/templates.cc (main): Ditto.
28244 * gdb.c++/virtfunc.cc (main): Ditto.
28245
28246 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
28247
28248 * lib/gdb.exp(gdb_step_for_stub): New function.
28249 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
28250 exists, reload the executable and do a "continue" instead of
28251 doing a jump.
28252 (runto_main): Use gdb_step_for_stub.
28253
28254 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
28255 tests to have unique names.
28256 * gdb.base/callfuncs.exp: Ditto.
28257 * gdb.base/commands.exp: Ditto.
28258 * gdb.base/default.exp: Ditto.
28259 * gdb.base/help.exp: Ditto.
28260 * gdb.base/list.exp: Ditto.
28261 * gdb.base/opaque.exp: Ditto.
28262 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
28263 similar tests.
28264
28265 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
28266 * gdb.c++/cplusfuncs.cc: Ditto.
28267 * gdb.c++/virtfunc.cc: Ditto.
28268
28269 * config/monitor.exp: Keep track of the last file we saw, rather
28270 than trying to get the info from gdb.
28271
28272 * gdb.fortran/types.exp: Move comment to previous line.
28273
28274 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
28275
28276 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
28277 target mode.
28278
28279 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
28280
28281 From Bob Manson:
28282 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
28283 string from GDB when it connects.
28284
28285 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
28286
28287 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
28288
28289 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
28290 if we can't get a debug format from GDB (we may be testing an
28291 older GDB). Use a 10 second timeout when checking for the format.
28292
28293 * gdb.stabs/weird.exp: Fix quoting.
28294
28295 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
28296
28297 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
28298
28299 * config/arm-ice.exp: New file.
28300
28301 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
28302
28303 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
28304 until it has been modified to work with the new testsuite.
28305
28306 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
28307 testcase won't compile, cause all of the testcases in the file to
28308 fail instead.
28309
28310 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
28311 (gdb_clear_suppressed): New procedure.
28312 (gdb_stop_suppressing_tests): Only clear suppress_flag if
28313 it contains a positive value.
28314
28315 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
28316
28317 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
28318
28319 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
28320
28321 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
28322
28323 * lib/gdb.exp (setup_xfail_format): New function.
28324 (get_debug_format): New function to get debug format.
28325 (debug_format): New global variable to hold last value set
28326 by get_debug_format.
28327 * gdb.base/list.exp: Call get_debug_format and expect some
28328 tests to fail for DWARF 1 and COFF formats.
28329 * gdb.c++/ptype.exp: Ditto.
28330 * gdb.c++/classes.exp: Ditto.
28331 * gdb.c++/cplusfuncs.exp: Ditto.
28332 * gdb.c++/inherit.exp: Ditto.
28333 * gdb.c++/templates.exp: Ditto.
28334 * gdb.c++/virtfunc.exp: Ditto.
28335
28336 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
28337
28338 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
28339 host doesn't have a currently-open connection.
28340
28341 * config/sparclet.exp: Cleanups and fixes to make it generic for
28342 any gdb stub target. Handle cases where gdb doesn't respond when
28343 interrupted in a sane fashion.
28344
28345 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
28346 same thing in a totally different way.
28347
28348 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
28349 setting "timeout".
28350 (gdb_start): We set the global gdb_prompt variable in
28351 default_gdb_init now.
28352
28353 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
28354
28355 * gdb.base/printcmds.exp: Fix "check for floating addition"
28356 regexp to accept results within approx +/- .01 of exact value.
28357 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
28358
28359 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
28360
28361 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
28362 properly.
28363 (gdb_expect): Add optional timeout parameter, and add timeout
28364 value to various calls.
28365 (gdb_suppress_tests): Only give one warning message per group.
28366
28367 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
28368
28369 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
28370 global variables. Handle getting a value for $timeout more
28371 gracefully.
28372
28373 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28374
28375 * lib/gdb.exp: Close connection to remote host if gdb doesn't
28376 initialize.
28377 (default_gdb_init): New procedure; allow gdb_init to be overridden
28378 by a target configuration file.
28379 (gdb_expect): Pass the timeout to remote_expect.
28380
28381 * config/monitor.exp(gdb_load): Fix typo in regexp.
28382
28383 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
28384
28385 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
28386
28387 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
28388
28389 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
28390 here. Call gdb_target_exec before rebooting the target, to make
28391 sure the connection to the target is closed.
28392 (gdb_load): Pass the name of the executable to gdb_target_monitor.
28393 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
28394 Also detect "Timeout reading from remote" error.
28395
28396 * config/gdbserver.exp: Pass the executable being loaded to
28397 gdb_target_monitor. Don't call gdb_file_cmd here; let
28398 gdb_target_monitor do it.
28399
28400 * gdb.disasm/hppa.exp: Don't use exec_output.
28401
28402 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
28403
28404 * gdb.base/list.exp: If we're debugging a non-native target,
28405 try to set the pc register to point to the start of the
28406 program before doing the first list command.
28407
28408 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
28409 test_calls after restarting.
28410
28411 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
28412 reloading.
28413
28414 * gdb.base/watchpoint.exp: Fix typo.
28415
28416 * gdb.base/setshow.exp: Check for use_gdb_stub.
28417
28418 * gdb.base/break.exp: Fix continue until exit test for the gdb
28419 stub case.
28420 * gdb.base/langs.exp: Ditto.
28421
28422 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
28423 gdb_load_offset. If we weren't given a file to load, figure out
28424 what the current file is and use it.
28425
28426 * config/i386-bozo.exp: New file.
28427
28428 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
28429
28430 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
28431 feature.
28432
28433 * config/proelf.exp: New entry.
28434
28435 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
28436
28437 * lib/gdb.exp: Remove spurious .* patterns at the beginning
28438 of regexps.
28439
28440 * gdb.base/watchpoint.exp: Don't run the test_stepping
28441 tests if gdb can't call functions on the target.
28442
28443 * gdb.base/setshow.exp: Don't run the set prompt tests if
28444 the board has gdb_prompt set.
28445
28446 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
28447
28448 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
28449 * gdb.base/commands.exp: Likewise.
28450 * gdb.base/setshow.exp: Likewise.
28451
28452 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
28453
28454 * config/monitor.exp(gdb_start): Look for gdb_prompt target
28455 feature.
28456
28457 * config/i960.exp: New file.
28458
28459 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
28460
28461 * gdb.base/funcargs.exp: Check for gdb,short_int target
28462 feature instead of looking for explicit target triplets.
28463
28464 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
28465
28466 * gdb.base/printcmds.exp: add a couple more tests a la
28467 "p 123DEADBEEF", to check parse_number.
28468 * top.c: change "to enable to enable" to "to enable" in a couple
28469 of help strings.
28470
28471 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
28472
28473 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
28474 on the mn10300.
28475
28476 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
28477
28478 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28479 where the test executable is run with explicit args.
28480 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28481
28482 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28483
28484 * gdb.base/run.c: Use FAKEARGV to build test executable that
28485 does not require a command line arg, since most simulators
28486 don't currently support passing such an arg into the simulated
28487 program.
28488 * gdb.base/commands.exp: Change tests to insert the proper
28489 value as the arg to the first recursive factorial call. Change
28490 compilation line to define FAKEARGV at compile time.
28491
28492 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28493
28494 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28495 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28496 function with watchpoint enabled" test.
28497
28498 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28499
28500 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
28501 Don't call gdb_test when the command doesn't return to a gdb prompt.
28502
28503 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
28504 "Tests restarted" messages.
28505
28506 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28507
28508 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28509
28510 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
28511
28512 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28513 for INFO SYMBOL; add help tests for OVERLAY commands.
28514 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28515 add tests for OVERLAY commands
28516 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28517 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28518 * gdb.base/sigall.c: add usestubs code frag
28519 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
28520
28521 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28522
28523 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28524 failures.
28525 (gdb_stop_suppressing_tests): Note that tests have restarted.
28526
28527 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28528
28529 * config/h8300.exp: New file.
28530
28531 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28532
28533 * gdb.base/setshow.exp: Check for the existence of a
28534 feature, not its value.
28535
28536 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28537
28538 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28539
28540 * gdb.base/scope.exp: It's now init0(), not init().
28541
28542 * gdb.base/scope0.c: For now, change init() to be init0().
28543
28544 * config/monitor.exp: Use gdb_serial in preference to serial
28545 or netport.
28546
28547 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
28548 and it's not already set.
28549
28550 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28551
28552 * gdb.base/setshow.exp: Only test the run command if the target
28553 isn't using a stub and if it supports argument passing.
28554
28555 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28556
28557 * config/udi.exp(gdb_start): Make sure UDICONF is set
28558 properly before starting gdb.
28559
28560 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28561
28562 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28563 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28564 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28565
28566 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28567
28568 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
28569 specialized code to reboot the board, use remote_reboot instead.
28570
28571 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28572
28573 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28574
28575 * config/monitor.exp: Make sure we disconnect from the target.
28576 Also, try a reboot/reload cycle instead of failing if the
28577 load fails.
28578
28579 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28580
28581 * gdb.base/default.exp: Don't set match_max.
28582 * gdb.base/help.exp: Ditto.
28583 * gdb.base/list.exp: Ditto.
28584 * gdb.base/signals.exp: Ditto.
28585
28586 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28587 set, use remote_ld to download the testcase instead of
28588 the GDB loader.
28589
28590 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28591
28592 * config/vr5000.exp: New file.
28593
28594 * config/monitor.exp(gdb_target_monitor): Add pattern for
28595 "Ending remote" to detect errors in connecting.
28596
28597 * gdb.base/setshow.exp: Add .* within auto language test.
28598
28599 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28600 target feature.
28601
28602 * config/monitor.exp(gdb_load): Check for a failure when loading,
28603 and reboot the board if necessary.
28604
28605 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28606 a set of tests. Remove print.* from the patterns being checked.
28607
28608 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28609
28610 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28611 refer to gdb_spawn_id.
28612
28613 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28614 longer used.
28615 * config/sparclet.exp: Ditto.
28616 * config/sparclet-old.exp: Ditto.
28617 * config/slite.exp: Ditto.
28618 * config/sim.exp: Ditto.
28619 * gdb.base/funcargs.exp: Ditto.
28620
28621 * lib/gdb.exp:Remove references to gdb_spawn_id.
28622 (gdb_expect): Move to remote.exp.
28623
28624 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28625
28626 * config/monitor.exp: Detect the "Couldn't establish connection"
28627 message from GDB.
28628
28629 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28630
28631 * gdb.base/bitfields.exp: Use runto instead of explicit
28632 gdb_run_cmd/gdb_expect sequences.
28633
28634 * gdb.base/break.exp(text_next_with_recursion): Add match for
28635 gdb_expect call.
28636
28637 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28638 We also need to handle the "A program is being debugged already"
28639 prompt from gdb. Use gdb_test to set the baud rate.
28640
28641 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28642 to 20000. Really. I mean it.
28643
28644 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28645
28646 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
28647 fails. If suppress_flag is set, skip perror message about not
28648 being able to send to GDB.
28649 (send_gdb): If suppress_flag is set, don't try to send commands to
28650 GDB.
28651 (gdb_expect): If suppress_flag is set, always fail immediately.
28652 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28653 (gdb_init): Call gdb_stop_suppressing_tests.
28654 (default_gdb_exit): Ditto.
28655 (default_gdb_start): Ditto.
28656
28657 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
28658 gdb_stop_suppressing_tests as appropriate.
28659 * gdb.base/break.exp: Ditto.
28660 * gdb.base/callfuncs.exp: Ditto.
28661 * gdb.base/commands.exp: Ditto.
28662 * gdb.base/exprs.exp: Ditto.
28663 * gdb.base/funcargs.exp: Ditto.
28664 * gdb.base/list.exp: Ditto.
28665 * gdb.base/recurse.exp: Ditto.
28666 * gdb.base/scope.exp: Ditto.
28667 * gdb.base/structs.exp: Ditto.
28668 * gdb.c++/inherit.exp: Ditto.
28669
28670 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28671
28672 * config/vr4300.exp: New file.
28673
28674 * gdb.*/*.exp: Call gdb_expect instead of expect.
28675
28676 * lib/gdb.exp(gdb_expect): New function.
28677
28678 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28679
28680 * lib/gdb.exp(gdb_init): New function.
28681
28682 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
28683 for each individual variable set.
28684
28685 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28686 name.
28687
28688 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28689
28690 * gdb.base/scope.exp: Use gdb_test.
28691
28692 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28693 aborting; the testsuite driver will do that for us (see
28694 gdb_finish). Also, use gdb_test in a few more places.
28695
28696 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28697
28698 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28699
28700 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28701
28702 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28703 and "add_tests" are not at the same address.
28704
28705 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28706
28707 * gdb.base/ptype.exp: Use gdb_test.
28708
28709 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28710
28711 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28712 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28713 left in. No longer expect them to fail.
28714
28715 * gdb.stabs/*.mt; Deleted, no longer used.
28716 * gdb.stabs/configure.in: Remove references to target makefile
28717 frags.
28718 * gdb.stabs/configure: Rebuilt.
28719
28720 * gdb.disasm/*.mt: Deleted, no longer used.
28721 * gdb.disasm/configure.in: Remove references to target makefile
28722 frags. Use "sh3.s" as the unique filename for this directory.
28723 * gdb.disasm/configure: Rebuilt.
28724
28725 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28726 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28727 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28728
28729 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28730
28731 * config/udi.exp: Use mondfe,name instead of remote_host.
28732
28733 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28734
28735 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28736 a function with a watchpoint enabled on the mn10200.
28737
28738 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28739 before trying to create it!
28740
28741 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28742
28743 * config/vx.exp: Use hostname instead of netport.
28744
28745 * config/vxworks.exp: New file.
28746
28747 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28748
28749 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
28750 gdb before assuming everything worked. Send a ^C if a timeout
28751 occurs.
28752
28753 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28754 $gdb_spawn_id directly.
28755 (gdb_run_cmd): Try _start as well as start. Use the target feature
28756 gdb,start_symbol as the symbol to start from when jumping.
28757
28758 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28759
28760 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28761 redundant) test.
28762
28763 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28764 it doesn't lose for 16bit integer systems.
28765
28766 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28767
28768 * gdb.fortran/types.exp: If the target doesn't support "double"
28769 data types, then expect "real" types to only be 4 bytes.
28770
28771 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28772 call tests if the target doesn't support inferior function calls.
28773
28774 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28775 in printf tests.
28776
28777 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28778
28779 * gdb.base/help.exp: Disable "help set", "help show", and
28780 "help support". Simplify regexp for "help stack".
28781
28782 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28783 to 60 seconds. Temporarily set match_max to 15000 around the
28784 "info copying" test.
28785
28786 * gdb.base/nodebug.exp: Don't try to do an inferior function
28787 call if the target doesn't support them.
28788 * gdb.base/printcmds.exp: Likewise.
28789 * gdb.base/setvar.exp: Likewise.
28790 * gdb.base/structs.exp: Likewise.
28791 * gdb.c++/templates.exp: Likewise.
28792 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28793
28794 * gdb.base/recurse.exp: Enable for the mn10200.
28795
28796 * configure.in: Do configure gdb.stabs directory for *-*-elf
28797 targets.
28798 * configure: Rebuilt.
28799
28800 * gdb.base/break.exp: Check for gdb,noresults before testing
28801 exit status and/or results from the target.
28802 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28803 * lib/gdb.exp: Remove old (now bogus) initialization of
28804 noinferior, noargs, noresults and nosignals.
28805
28806 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28807
28808 * config/sh.exp: New file.
28809
28810 * config/slite.exp: Try to connect multiple times to the board
28811 before rebooting. Only send a "monitor run" if need_monitor_run
28812 is set.
28813
28814 * gdb.base/break.exp: Don't do the "stub continue" test if
28815 the target has gdb_stub set.
28816
28817 * gdb.base/callfuncs.exp: Increase the timeout.
28818
28819 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28820 if the target has gdb,noinferiorio set.
28821
28822 * gdb.base/list.exp: Increase match_max to 10000 characters.
28823
28824 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28825
28826 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28827 target.
28828
28829 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28830
28831 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28832
28833 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
28834 trying to delete the copy of gdb. Catch the file delete so we
28835 don't die if the delete fails; also, the file should be copied to
28836 the host, not to the build.
28837
28838 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28839
28840 * lib/gdb.exp(gdb_test): Surround the result pattern with
28841 parenthesis in case it contains multiple regexps separated
28842 with |.
28843
28844 * gdb.base/watchpoint.exp: Use gdb_test.
28845 * gdb.base/default.exp: Ditto.
28846
28847 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28848
28849 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
28850
28851 * gdb.base/scope.exp: Use gdb_test.
28852 * gdb.c++/classes.exp: Ditto.
28853 * gdb.c++/inherit.exp: Ditto.
28854
28855 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28856
28857 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28858 remote_exec instead.
28859 * gdb.base/corefile.exp: Don't be ridiculous.
28860 * gdb.base/*.c: Add missing stub invocations.
28861
28862 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28863
28864 * config/slite.exp: Miscellaneous fixes.
28865
28866 * lib/gdb.exp: Fix runto.
28867
28868 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28869 the target.
28870
28871 * gdb.base/watchpoint.exp: Fix regexp.
28872
28873 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28874 close and wait commands, as the descriptor may now be
28875 invalid. Always call "remote_close host".
28876
28877 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28878
28879 Major rewrite for testsuite revision.
28880
28881 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28882 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28883 instead of relying on spawn_id to always contain a valid
28884 spawn id.
28885 (get_compiler_info): New procedure to build the ${binfile}.ci
28886 file, instead of replicating this in N different places.
28887 (gdb_compile): New procedure.
28888
28889 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
28890 appropriate arguments) instead of compile. Use gdb_test in a lot
28891 more places. Use send_gdb instead of send. Always run gdb_start
28892 at the start of a testcase, as this is no longer done magically.
28893
28894 config/*-gdb.exp: Rename without the -gdb suffix.
28895
28896 config/mips.exp: Use remote_close instead of exit_remote_shell.
28897 config/monitor.exp: Use target_info instead of looking at
28898 baud, timeout, etc.
28899 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28900
28901 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28902
28903 * gdb.c++/templates.exp (test_ptype_of_templates),
28904 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28905 Update expect patterns for destructors and assignment operators
28906 to match corresponding c-typeprint.c changes.
28907 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28908 to destructor breakpoint test, GDB should be able to set the
28909 destructor breakpoint without specifying arguments.
28910
28911 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28912
28913 * gdb.threads/pthreads.exp: Change result for failure to compile due
28914 to lack of pthreads runtime support from an error to simply an
28915 unsupported test, per dejagnu standards.
28916
28917 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28918
28919 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28920 where GDB exits to reduce pattern match time.
28921 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28922
28923 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28924
28925 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28926
28927 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28928 * gdb.base/default.exp: ditto.
28929 * gdb.base/nodebug.exp: ditto.
28930 * gdb.base/printcmds.exp: ditto.
28931 * gdb.base/ptype.exp: ditto.
28932 * gdb.base/setvar.exp: ditto.
28933 * gdb.base/structs.exp: ditto.
28934 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28935
28936 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28937
28938 * configure, */configure: Rebuild with autoconf 2.12.
28939
28940 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28941
28942 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28943 use new i*86-pc-linux*-gnu quads.
28944 * gdb.base/corefile.exp: Ditto.
28945 * gdb.base/signals.exp: Ditto.
28946 * gdb.base/sigall.exp: Ditto.
28947 * gdb.base/interrupt.exp: Ditto.
28948
28949 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28950 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28951 RedHat 4.0.
28952
28953 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28954 linux. This allows the test case to at least compile on latest
28955 linux, but still not run due to missing the threads runtime library.
28956
28957 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28958
28959 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28960 directory to search gdb directory. Accept and step over conditional
28961 stack alignment code. Consume $prompt in failure cases.
28962 Reset timeout to $oldtimeout instead of some arbitrary value.
28963 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28964 timeout problems with infinite stack backtraces.
28965 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28966 Accept function parameters for linkfunc member.
28967
28968 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28969
28970 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28971 (CXXFLAGS): Remove, unreferenced.
28972 (B_OPTIONS): Add for -B options and add code to initialize with
28973 previous -B options and also add -B option to pick up cross compiled
28974 runtime.
28975 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28976 doing cross compiles.
28977 (target_alias): Declare global.
28978 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28979 to verify that gcc exists in build tree, and if so set CC to that
28980 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28981
28982 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28983
28984 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28985 ptype test for anonymous union. Fixup testcase to match
28986 current gcc debug output.
28987
28988 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28989
28990 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28991 force argument to an unsigned long type.
28992
28993 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28994
28995 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28996 tests and anonymous union print/ptype tests.
28997 * gdb.base/list.exp (test_forward-search): Increase timeout by
28998 5 minutes for the "search extremely long line" case.
28999 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
29000 completely optional and that the pass/fail messages use the command as
29001 the message if that third arg is a null string.
29002 (gdb_test_exact): Arrange that a null string pattern means match a
29003 null string output rather than any output, which might include random
29004 errors.
29005 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
29006 backtrace test.
29007 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
29008 always failing and failure is now exposed by gdb.exp changes.
29009
29010 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
29011
29012 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
29013 weren't being noted.
29014
29015 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29016
29017 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
29018 * gdb.stabs/weird.exp: Remove v_comb xfails.
29019
29020 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
29021
29022 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
29023 list.exp scope.exp watchpoint.exp]
29024 Make all timeout error msgs explicitly say "(timeout)".
29025
29026 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
29027
29028 * config/monitor.exp: Increase download timeout to 1000 seconds.
29029
29030 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
29031
29032 * config/m32r.exp: Increase timeout to 120 seconds.
29033
29034 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
29035
29036 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
29037 and accept older ordering as obsolescent gcc or gdb.
29038 * gdb.c++/templates.exp: Ditto.
29039 * gdb.c++/virtfunc.exp: Ditto.
29040
29041 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
29042
29043 * gdb.base/coremaker.c: Add code to mmap some data so we
29044 can check that it ends up in the core file.
29045 * gdb.base/corefile.exp: Add test to read mmapped data
29046 from core file.
29047
29048 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
29049
29050 * config/m32r.exp: New file.
29051
29052 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
29053
29054 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
29055 that cflags can contains -gstabs, and work correctly for other tests.
29056
29057 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
29058
29059 * gdb.base/setshow.exp: New file, tests show and set.
29060 * gdb.base/setshow.c: New file, tests show and set.
29061 * gdb.base/help.exp: Add test for help set|show annotate.
29062 * gdb.base/default.exp: Add test for set|show annotate.
29063
29064 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
29065
29066 * testsuite/gdb.base/break.exp: Make backtrace from factorial
29067 errors unique.
29068 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
29069 explicitly.
29070
29071 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
29072
29073 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
29074 and width commands. This is done elsewhere.
29075 * (gdb_start): Don't call gdb_start_sim here. That's already
29076 done in gdb_load. This fixes lots of failures in default.exp.
29077
29078 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
29079
29080 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
29081 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
29082 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
29083 in the same we we treat other failures (since it may be an expected
29084 condition), rather than as an error.
29085 * gdb.base/signals.exp (test_handle_all_print): Revert back to
29086 old test format.
29087
29088 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
29089
29090 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
29091 (distclean maintainer-clean realclean): No need to remove files
29092 twice. Nuke the duplicates.
29093 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
29094 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
29095 Remove config.h along with other config files.
29096
29097 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
29098
29099 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
29100 "p func1 ()" and note that rests of tests are skipped.
29101 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
29102 setup_xfails for "print func2::coremaker_local".
29103 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
29104 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
29105 affected by the previous run test.
29106 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
29107 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
29108 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
29109 "pass int powerset tuple" and "pass modeless int powerset tuple".
29110 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
29111 "real write 4" and "real write 8".
29112 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
29113 setup_xfails for "print vs1 after tuple assign 2",
29114 "print \$i after tuple assign 2", and
29115 "print vs2 after tuple assign 2".
29116 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
29117 meaningful error message and return -1 so the caller can
29118 suppress further tests and avoid a cascade of errors.
29119
29120 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
29121
29122 * gdb.base/a1-selftest.exp: Tweak tests to account for new
29123 format for printing version.
29124 * gdb.base/default.exp: Ditto.
29125 * gdb.base/interrupt.exp: Fix problem with cascade of
29126 errors if child process dies while calling a function.
29127
29128 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
29129
29130 * Makefile.in (VPATH): Add
29131 * Makefile.in (Makefile, config.status): Fix rules so things get
29132 remade when necessary.
29133
29134 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
29135
29136 * Makefile.in (just-check): Add path to sibling expect dir
29137 to environment variable specified by RPATH_ENVVAR.
29138
29139 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
29140
29141 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
29142 (just-check): Add shared library paths for libstdc++, tk,
29143 tcl, bfd, and opcodes to the environment variable specified
29144 in RPATH_ENVVAR.
29145 * configure.in: Add support to recognize --enable-shared flag
29146 and generate correct value for RPATH_ENVVAR.
29147 * configure: Regenerated with autoconf.
29148
29149 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
29150
29151 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
29152 include all osf versions.
29153 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
29154 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
29155 when target is linux. When failing to build pthreads test
29156 executable, give more meaningful message.
29157 * gdb.threads/pthreads.c: Hpux also uses old definition of second
29158 arg for pthread_create.
29159
29160 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
29161
29162 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
29163 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
29164 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
29165 and -lpthreads (everybody else).
29166 (test_startup): Fail gracefully if threads are not supported.
29167 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
29168 "p/c array_index("abcdef",2)" when not gcc compiled.
29169 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
29170 "print func2::coremaker_local" when not gcc compiled.
29171 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
29172 "ptype on opaque struct tagname (statically)",
29173 "ptype on opaque struct tagname (dynamically) 1", and
29174 "ptype on opaque struct tagname (dynamically) 2"
29175 for not compiled with gcc.
29176 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
29177 backtrace when compiled with gcc.
29178 * lib/gdb.exp (runto_main): Return result of "runto main" rather
29179 than always return success.
29180
29181 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
29182
29183 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
29184
29185 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
29186
29187 * gdb.base/structs.exp: Undo last change.
29188
29189 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
29190
29191 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
29192 encapsulate all the steps/nexts done during self test, starting
29193 at main, and makes them less sensitive to optimization issues.
29194 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
29195 signal handler" test.
29196 * gdb.threads/pthreads.exp: Only run this for native configs.
29197 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
29198 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
29199 tests.
29200 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
29201 for "runto test_calls(void)" test.
29202
29203 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
29204
29205 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
29206 and don't expect address info in breakpoint confirmations.
29207
29208 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
29209
29210 * gdb.base/list.exp (test_forward_search): Increase timeout
29211 temporarily by 60 seconds for searching extremely long line,
29212 and then reset to old value when done. Increase expect input
29213 buffer to 10000.
29214
29215 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
29216
29217 * gdb.base/list.exp (test_forward_search): Fix to handle very
29218 long source line without overflowing expect's input buffer.
29219
29220 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
29221
29222 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
29223 "buffer_full".
29224
29225 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
29226 "buffer_full".
29227
29228 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
29229 "buffer_full".
29230
29231 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
29232 "buffer_full".
29233
29234 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
29235
29236 * configure.in (configdirs): Add gdb.threads.
29237 * configure: Regenerated with autoconf.
29238 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
29239 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
29240 * gdb.threads/configure: New, generated with autoconf.
29241
29242 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
29243
29244 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
29245
29246 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
29247
29248 * gdb.base/signals.exp (test_handle_all_print): Test separately for
29249 each signal's status in the output of "handle all print".
29250 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
29251 the \r\n sequence that immediately precedes the gdb prompt.
29252 * gdb.base/a1-selftest.exp: Save original timeout and restore
29253 after test.
29254
29255 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
29256
29257 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
29258 symbol.
29259
29260 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
29261
29262 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
29263
29264 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
29265
29266 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
29267 timeout by 60 seconds.
29268
29269 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
29270
29271 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
29272 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
29273 error return.
29274
29275 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
29276
29277 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
29278 gdb initialization, also report how long dejagnu waited. Restore
29279 old timeout before doing error return. Temporarily increase timeout
29280 by 3 minutes to allow for slow startups over heavy NFS use.
29281
29282 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
29283
29284 * lib/gdb.exp: Report timeout value for verbosity level 2.
29285 * config/gdbserver.exp: Ditto.
29286 * config/hppro.exp: Ditto.
29287 * config/mips-gdb.exp: Ditto.
29288 * config/monitor.exp: Ditto.
29289 * config/netware.exp: Ditto.
29290 * config/sim-gdb.exp: Ditto.
29291 * config/slite-gdb.exp: Ditto.
29292 * config/udi-gdb.exp: Ditto.
29293 * config/unix-gdb.exp: Ditto.
29294 * config/vx-gdb.exp: Ditto.
29295 * gdb.base/a1-selftest.exp: Ditto.
29296 * gdb.base/a2-run.exp: Ditto.
29297 * gdb.base/break.exp: Ditto.
29298 * gdb.base/corefile.exp: Ditto.
29299 * gdb.base/list.exp: Ditto.
29300 * gdb.base/recurse.exp: Ditto.
29301 * gdb.base/scope.exp: Ditto.
29302 * gdb.base/signals.exp: Ditto.
29303
29304 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29305
29306 * gdb.threads/Makefile.in (docdir): Removed.
29307
29308 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29309
29310 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
29311 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
29312 @srcdir@.
29313 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
29314 autoconf 2.5 or higher.
29315 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
29316
29317 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
29318
29319 * configure: Regenerated.
29320 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
29321 avoid name clashes with SunOS headers.
29322
29323 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
29324
29325 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
29326
29327 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
29328
29329 * gdb.base/callfuncs.exp: Finish last change -- make sure the
29330 prototype information ends up in the compiler info file.
29331
29332 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
29333
29334 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
29335 attempting to regenerate it. Eliminate use of a temporary file
29336 and just generate the info file directly. Source it immediately,
29337 for consistency of use.
29338 * gdb.base/corefile.exp: Ditto
29339 * gdb.base/exprs.exp: Ditto.
29340 * gdb.base/funcargs.exp: Ditto.
29341 * gdb.base/langs.exp: Ditto.
29342 * gdb.base/list.exp: Ditto.
29343 * gdb.base/mips_pro.exp: Ditto.
29344 * gdb.base/nodebug.exp: Ditto.
29345 * gdb.base/opaque.exp: Ditto.
29346 * gdb.base/ptype.exp: Ditto.
29347 * gdb.base/scope.exp: Ditto.
29348 * gdb.base/setvar.exp: Ditto.
29349 * gdb.base/signals.exp: Ditto.
29350 * gdb.base/whatis.exp: Ditto.
29351 * gdb.c++/templates.exp: Ditto.
29352 * gdb.c++/virtfunc.exp: Ditto.
29353 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
29354 whether or not to add -lstdc++ to the compile command line args.
29355
29356 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29357
29358 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
29359 it got fixed by the recent lookup_minimal_symbol_by_pc change.
29360 Increase timeout, a lot of single stepping might be needed if the
29361 target has no hardware watchpoints.
29362
29363 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
29364
29365 * gdb.base/break.exp: Ignore compiler warnings when compiling
29366 break.c.
29367 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
29368 * gdb.base/default.exp: Add h8300 xfails. Handle messages
29369 from remote-sim.
29370 * gdb.base/exprs.exp: Add h8300 xfails.
29371 * gdb.base/funcargs.exp: Likewise.
29372 * gdb.base/nodebug.exp: Likewise.
29373 * gdb.base/printcmds.exp: Likewise.
29374 * gdb.base/ptype.exp: Likewise.
29375 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
29376 h8300 xfails.
29377 * gdb.base/return.exp: Handle float/double precision problems
29378 on the h8300.
29379 * gdb.base/funcargs.c: Explicitly make last constant argument to
29380 call_after_alloca_subr an unsigned long type.
29381 * gdb.base/return.c: Include stdio.h.
29382
29383 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
29384
29385 * config/abug.exp: New file for the older Motorola Bug monitor
29386 that runs on the mvme13x series VME boards.
29387 * config/monitor.exp: Use the new config array for target settings
29388 if they exist.
29389
29390 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
29391
29392 * sim-gdb.exp: Make the SH simulator allocate less space when
29393 it is targeted.
29394
29395 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
29396
29397 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
29398 test.
29399
29400 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
29401
29402 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
29403 "rs6000-*-*" for "list function in include file" when gcc compiled.
29404 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
29405 for "p ctable1[120]".
29406 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
29407 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
29408 Remove setup_xfail for "rs6000-*-*" for
29409 "print 'scope0.c'::filelocal before run".
29410 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
29411 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
29412 since some compilers don't allow both options to be given
29413 on the same command line. Create object file and move it.
29414
29415 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
29416
29417 * gdb.base/corefile.exp: Always regenerate the core file, since
29418 we always regenerate the coremaker program. Detect special case
29419 where registers cannot be read from core file.
29420
29421 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
29422
29423 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
29424 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
29425 * gdb.c++/templates.exp: Only match on basename of file since
29426 some formats like xcoff don't encode directory information.
29427 * gdb.stabs/weird.exp: Use the right sed script for powerpc
29428 and rs6000 AIX xcoff targets.
29429 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
29430 * configure: Regenerate.
29431 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
29432 here, rather than in distclean.
29433
29434 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
29435
29436 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
29437 defined, and use it to compile the test case with -O2. The
29438 native compilation still uses no optimization.
29439 * gdb.base/mips_pro.c: Remove inline assembly code since
29440 it is compiled PIC by default, which results in assembler
29441 warnings that make the testsuite think the compilation
29442 was unsuccessful.
29443
29444 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
29445
29446 * gdb.c++/misc.exp: Add note to message for
29447 "print s.a for foo struct" that this is a known gcc 2.7.2
29448 and earlier bug.
29449
29450 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
29451
29452 * gdb.base/break.exp: Fix pattern for matching "Delete all
29453 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
29454 setup_xfail for deleting all breakpoints test. Fix various
29455 timeout messages to include "(timeout)".
29456 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
29457 for "p t_float_values2(3.14159,float_val2)".
29458 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
29459 for "continue to call2g" when gcc compiled.
29460 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
29461 "up to foo in langs.exp", "show language at foo in langs.exp",
29462 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
29463 and "show language at fsub in langs.exp".
29464 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
29465 "list line 1 in include file", "list message for lines past EOF",
29466 "list function in include file", "list list0.h:foo", and
29467 "list filename:function; nonexistant function".
29468 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
29469 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
29470 and "ptype t_char_array" to be for native cc only.
29471
29472 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
29473
29474 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
29475 setup_xfail for "print coremaker_bss", "print coremaker_ro",
29476 "print func2::coremaker_local", and "backtrace in corefile.exp".
29477
29478 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29479
29480 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29481 "bt in signals.exp". This problem only appears when running
29482 the testsuite, and then only intermittently.
29483
29484 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29485
29486 * gdb.base/return.exp (return_tests): Differentiate between
29487 two tests of continuing.
29488
29489 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29490
29491 * */Makefile.in (maintainer-clean): Remove config.log.
29492 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29493 * gdb.c++/Makefile.in (PROGS): Add inherit.
29494 (clean): Remove *.ci.
29495
29496 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29497
29498 * gdb.c++/misc.cc: Add test code from Mike Stump.
29499 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29500
29501 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29502
29503 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29504 to "alpha-*-osf2*" and add comment.
29505 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
29506 setup_xfail for "step over execarg initialization" and
29507 "step over corearg initialization".
29508 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29509 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29510 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
29511 gcc compiled for "print coremaker_bss", "print coremaker_ro",
29512 "print func2::coremaker_local", and "backtrace in corefile.exp".
29513 * gdb.base/signals.exp: Build and source signals.ci.
29514 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29515 to be for gcc only.
29516 * lib/gdb.exp: Move verbose statements outside conditionals.
29517
29518 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29519
29520 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29521 Feb 3 procfs.c change.
29522
29523 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29524
29525 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29526
29527 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29528
29529 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29530 from dejagnu's apparent default of 10 seconds, which gives random
29531 results when running the tests over NFS on moderately loaded systems.
29532 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29533
29534 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29535
29536 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29537 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
29538 result reports.
29539
29540 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29541
29542 * configure.in (CY_AC_PATH_TCLH): Remove.
29543 * configure: Regenerate.
29544
29545 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29546
29547 * gdb.c++/Makefile.in (clean): Add missing '{'.
29548
29549 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29550
29551 * lib/gdb.exp: Provide a default value for noinferior.
29552
29553 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29554 Load libgloss.exp.
29555
29556 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29557
29558 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29559 the executable, not the .o to run the tests from.
29560
29561 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29562
29563 * gdb.base/break.exp: Don't test for program exit or exit status
29564 if $noresults if nonzero.
29565 * gdb.base/langs.exp: Likewise.
29566 * gdb.base/watchpoint.exp: Likewise.
29567
29568 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29569 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29570 trying to compile the testcase.
29571
29572 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29573
29574 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29575 * gdb.base/signals.exp (continue to handler): Likewise.
29576
29577 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29578
29579 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29580
29581 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29582
29583 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29584
29585 * gdb.base/corefile.exp: Recognize "not found" as failure
29586 when trying to determine if a core file was generated.
29587 If no core file was generate the first time, try again without
29588 the ulimit -c to work around braindamaged shells.
29589
29590 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29591
29592 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29593 [] tests with "test" and enclose string in quotes.
29594 * gdb.stabs/configure: Rebuild
29595
29596 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29597
29598 Changes in sync with expect:
29599 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29600 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29601 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29602 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29603 argument to AC_REQUIRE.
29604 * configure: Regenerated.
29605
29606 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29607
29608 * gdb.base/corefile.exp: When generating a core, discard any
29609 error messages about ulimit not found and the "core dumped"
29610 message from the shell that runs the coredumper.
29611
29612 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29613
29614 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29615
29616 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29617 which sed script to run. Expect failure for v_comb test
29618 on PA targets too.
29619
29620 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29621
29622 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
29623 "print func2::coremaker_local" and for "backtrace in corefile.exp"
29624
29625 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29626
29627 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29628 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
29629 "sparc-sun-solaris*" xfails for "p v_comb".
29630 * lib/gdb.exp (default_gdb_start): Fix typo.
29631 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29632 messages to not include the full program name that caused
29633 the core dump since some systems (such as solaris) apparently
29634 truncate this path to about 80 characters.
29635 When generating a core file first try increasing the core file
29636 size limit to unlimited since some systems may default it to
29637 zero, and it is harmless to try it. Move the test for failing
29638 to generate a core file to where it will actually get executed.
29639 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29640 new gdb result from g++ debug info improvements and make old
29641 pattern obsolescent. Also account for size_t differences
29642 (may be int or long).
29643 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29644 initialization before function call is placed in the delay slot
29645 and thus appears to be skipped over by commands such as "next".
29646
29647 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29648
29649 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29650
29651 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29652
29653 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29654 input source file; fix code to compile test to deal with this
29655 convention.
29656 * gdb.c++/*.exp: Likewise.
29657
29658 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29659
29660 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29661 "bt in signals.exp".
29662
29663 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29664
29665 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29666 "step over execarg initialization" and
29667 "step over corearg initialization".
29668
29669 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29670
29671 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29672 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29673
29674 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29675
29676 From Rob Savoye (rob@poseidon.cygnus.com)
29677 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29678 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
29679 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29680 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29681 configure.in}: Major reworking for autoconfig.
29682 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29683 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
29684 New files.
29685 * config/unix-gdb.exp: Make GDB global.
29686 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
29687 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29688 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29689 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29690 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29691 term.exp, twice.exp, watchpoint.exp, whatis.exp},
29692 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
29693 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29694 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29695 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29696 pr-8136.exp, result.exp, string.exp, tuples.exp},
29697 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
29698 to returns as necessary, arrange for test to compile own testcase
29699 executable.
29700 * lib/gdb.exp: Changes for testsuite to compile own test cases.
29701
29702 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29703
29704 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
29705 clear_xfail at end of test which might not call either pass or fail.
29706 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29707 "backtrace through signal handler".
29708
29709 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29710
29711 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29712 continuing from a job control stop signal.
29713 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29714
29715 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29716
29717 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29718 * gdb.base/corefile.exp: Likewise.
29719 * gdb.base/funcargs.exp: Likewise.
29720
29721 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29722
29723 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29724 * config/monitor.exp: Add support for setting baud rate.
29725
29726 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29727
29728 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29729 i*86-*-linux* xfails for "backtrace through signal handler".
29730 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29731 "print func2::coremaker_local".
29732 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
29733 alpha-dec-osf2* xfail for
29734 "delete all breakpoints when none".
29735
29736 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29737
29738 * gdb.base/break.exp: Change test that deletes all breakpoints
29739 when no user breakpoints are installed. A post 4.15 change
29740 causes gdb to no longer prompt in this case.
29741
29742 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29743
29744 * gdb.base/return.exp (return_tests): Change xfail for test
29745 "correct value returned double test" to stop xfailing at
29746 Solaris 2.5. Apparently the bug has been fixed.
29747
29748 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29749
29750 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29751 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29752
29753 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29754
29755 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29756 * gdb.disasm/hppa.s: Corresponding changes.
29757
29758 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29759
29760 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29761 makefile fragment.
29762 * config/mt-hpux: Deleted.
29763
29764 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29765
29766 * Many files: When warning about suppressed tests due to a
29767 nonexistant test binary, avoid incrementing the warning count.
29768
29769 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29770
29771 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
29772
29773 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29774
29775 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29776 "sparc-*-solaris2*".
29777
29778 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29779
29780 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29781 Add global and local variables and initialize them.
29782 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29783 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29784 extracts the file name and terminating signal from the core file.
29785 * TODO: Remove note about tests for correct mapping of corefile.
29786 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29787 from optimizing it away.
29788 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29789 handles common blocks.
29790
29791 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29792
29793 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29794 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29795
29796 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29797
29798 * Makefile.in (maintainer-clean): New target, synonym for
29799 realclean.
29800 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29801 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29802 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29803 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29804 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29805 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29806
29807 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29808
29809 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29810 xfails when not gcc compiled for "print foo::funclocal".
29811 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29812 "print foo::funclocal at foo",
29813 "print 'scope1.c'::foo::funclocal at foo",
29814 "print foo::funclocal_bss at foo",
29815 "print 'scope1.c'::foo::funclocal_bss at foo",
29816 "print foo::funclocal_ro at foo",
29817 "print 'scope1.c'::foo::funclocal_ro at foo",
29818 "print bar::funclocal at foo" and
29819 "print 'scope1.c'::bar::funclocal at foo".
29820 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29821 gcc compiled for "print foo::funclocal at bar".
29822 Expand all messages to ensure that they identify that
29823 the test is at bar().
29824 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29825 gcc compiled for:
29826 "ptype on opaque struct pointer (statically)",
29827 "ptype on opaque struct tagname (statically)",
29828 "ptype on opaque struct pointer (dynamically) 1",
29829 "ptype on opaque struct tagname (dynamically) 1",
29830 "ptype on opaque struct pointer (dynamically) 2" and
29831 "ptype on opaque struct tagname (dynamically) 2
29832 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29833 gcc compiled for:
29834 "p datalocal"
29835 "whatis datalocal",
29836 "ptype datalocal",
29837 "p bsslocal",
29838 "whatis bsslocal", and
29839 "ptype bsslocal".
29840 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29841 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29842 when not gcc compiled.
29843 * gdb.base/funcargs.exp (float_and_integral_args): Add
29844 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29845 compiled.
29846 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29847 "backtrace from call6a" when not gcc compiled.
29848 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29849 "backtrace from call7a" when not gcc compiled.
29850 * gdb.base/callfuncs.exp (do_function_calls):
29851 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29852 "p t_char_array_values(char_array_val2,char_array_val1)",
29853 "p t_char_array_values(char_array_val1,char_array_val2)",
29854 "p t_char_array_values("carray 1","carray 2")",
29855 "p t_char_array_values("carray 1",char_array_val2)",
29856 "p t_char_array_values(char_array_val1,"carray 2")",
29857 "p sum_args(1,{2})",
29858 "p sum_args(2,{2,3})",
29859 "p sum_args(3,{2,3,4})",
29860 "p sum_args(4,{2,3,4,5})"
29861 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29862 "backtrace in corefile.exp" when not gcc compiled.
29863
29864 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29865
29866 * gdb.base/signals.exp: Rewrite `handle all print' test as
29867 a procedure. Accept blanks or TABs as whitespace, increase
29868 timeout and expect input buffer size for the large output
29869 from the command. Remove "i*86-*-bsdi2.0" xfail.
29870
29871 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29872
29873 * gdb.base/setvar.exp: Add new testcases for truncation when
29874 assigning invalid values to bitfields.
29875
29876 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29877
29878 * gdb.base/callfuncs.exp (do_function_calls): Remove
29879 mips-sgi-irix* xfail for
29880 "call inferior func with struct - returns char *"
29881 and fix test so that an optional (unsigned char *) cast is
29882 accepted in the result.
29883
29884 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29885
29886 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29887 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29888 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29889 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29890 that accidentally got checked in.
29891
29892 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29893
29894 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29895 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29896 compiled test.
29897 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29898 Add mips-sgi-irix5* xfail for not gcc compiled.
29899 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29900 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29901 compiled for "p top", "whatis top", "p middle", and "whatis
29902 middle".
29903 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29904 "whatis signed char" for not gcc compiled.
29905 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29906 "set variable signed char=-1 (-1)" and
29907 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29908 * gdb.base/funcargs.exp (float_and_integral_args):
29909 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29910 Add mips-sgi-irix* xfail when not gcc compiled for
29911 "continue to call2b".
29912 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29913 "continue to call2g".
29914 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29915 compiled for "backtrace from call6a"
29916 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29917 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29918 when not gcc compiled for "backtrace from call7a".
29919 (localvars_after_alloca): Fix gdb_test cmds for
29920 "print * after runto ...".
29921 Remove rs6000-*-* xfails for
29922 "print i after runto localvars_after_alloca" and
29923 "print l after runto localvars_after_alloca"
29924 for all compilers.
29925 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29926 when not compiled with gcc, for:
29927 "print signed char == (minus)",
29928 "print signed char != (minus)",
29929 "print signed char < (minus)",
29930 "print signed char > (minus)".
29931 * gdb.base/callfuncs.exp (do_function_calls):
29932 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29933 "call inferior func with struct - returns char *".
29934 * gdb.base/return.exp (return_tests): Change xfail for
29935 "correct value returned double test" to include Solaris 2.4.
29936 * gdb.base/funcargs.exp (float_and_integral_args):
29937 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29938
29939 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29940
29941 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29942 enumeration bitfields if compiling with GNU C.
29943 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29944 to empty' prompt.
29945
29946 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29947
29948 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29949 test for PRO targets.
29950
29951 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29952 breakpoints in the inferior at any given time by making
29953 two groups of breakpoints for call2*, call6* and call7*
29954 tests.
29955
29956 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29957
29958 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29959 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29960 from optimizing it away.
29961 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29962 "call inferior func with struct".
29963
29964 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29965
29966 * configure.in: Only configure gdb.chill for particular targets.
29967
29968 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29969
29970 * gdb.base/Makefile.in: Add action to .c.o transformation
29971 rule that generates a .ci file for each .o file and remove
29972 explicit .c.o rules except for callfuncs.o.
29973 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29974 generates a .ci file for each .o file and remove explicit
29975 .cc.o rules.
29976 (clean): Remove *.tmp *.ci files.
29977 (EXECUTABLES): Remove templ-info.exp.
29978 * gdb.base/compiler.c: New file.
29979 * gdb.c++/compiler.cc: New file
29980 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29981 Change rs6000-*-* xfail for
29982 "print 'scope0.c'::filelocal_ro" and
29983 "print 'scope1.c'::filelocal" and
29984 "print 'scope1.c'::filelocal_bss" and
29985 "print 'scope1.c'::filelocal_ro" and
29986 "print 'scope1.c'::foo::funclocal" and
29987 "print 'scope1.c'::foo::funclocal_ro" and
29988 "print 'scope1.c'::bar::funclocal" and
29989 "print 'scope0.c'::filelocal_ro" and
29990 "print 'scope1.c'::filelocal at foo" and
29991 "print 'scope1.c'::filelocal_bss at foo" and
29992 "print 'scope1.c'::filelocal_ro at foo" and
29993 "print 'scope1.c'::foo::funclocal at foo" and
29994 "print 'scope1.c'::foo::funclocal_bss at foo" and
29995 "print 'scope1.c'::foo::funclocal_ro at foo" and
29996 "print 'scope1.c'::bar::funclocal at foo" and
29997 "print 'scope0.c'::filelocal_ro" and
29998 "print 'scope1.c'::filelocal" and
29999 "print 'scope1.c'::filelocal_bss" and
30000 "print 'scope1.c'::filelocal_ro" and
30001 "print 'scope1.c'::foo::funclocal" and
30002 "print 'scope1.c'::foo::funclocal_bss" and
30003 "print 'scope1.c'::foo::funclocal_ro" and
30004 "print 'scope1.c'::bar::funclocal" and
30005 "print 'scope1.c'::bar::funclocal_bss"
30006 to only be xfail'd when not compiled with gcc.
30007 Add rs6000-*-* xfail for
30008 "print 'scope0.c'::filelocal_bss before run"
30009 when compiled with gcc.
30010 (test_at_main): Add rs6000-*-* xfail for
30011 "print filelocal_ro in test_at_main"
30012 when compiled with gcc.
30013 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
30014 Add rs6000-*-aix* xfail for
30015 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
30016 "ptype t_char_array", not compiled with gcc.
30017 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
30018 xfail for "list foo (in include file)" when gcc compiled.
30019 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
30020 (integral_args): Add rs6000-*-* xfail for
30021 "run to call0a" if not compiled with gcc.
30022 (unsigned_integral_args): Add rs6000-*-* xfail for
30023 "run to call1a" if not compiled with gcc.
30024 (float_and_integral_args): Add rs6000-*-* xfail for
30025 "run to call2a" if not compiled with gcc and for
30026 "continue to call2b" for any compiler.
30027 Add rs6000-*-* xfail to
30028 "print f1 after run to call2a" for gcc compiled.
30029 (discard_and_shuffle): Add rs6000-*-* xfail for
30030 "run to call6a".
30031 (shuffle_round_robin): Add rs6000-*-* xfail for
30032 "backtrace from call7a" if not compiled with gcc.
30033 Add rs6000-*-* xfail for
30034 "backtrace from call7b" if compiled with gcc.
30035 (call_after_alloca): Add rs6000-*-* xfail for
30036 "print c in call_after_alloca" and
30037 "print s in call_after_alloca" and
30038 "backtrace from call_after_alloca_subr"
30039 if not compiled with gcc.
30040 (localvars_in_indirect_call): Add rs6000-*-* xfail for
30041 "print c in localvars_in_indirect_call" and
30042 "print c in localvars_in_indirect_call" and
30043 "backtrace in indirectly called function" and
30044 "stepping into indirectly called function"
30045 if not compiled with gcc.
30046 (localvars_after_alloca): Add rs6000-*-* xfail for
30047 "print c after runto localvars_after_alloca" and
30048 "print s after runto localvars_after_alloca" and
30049 "print i after runto localvars_after_alloca" and
30050 "print l after runto localvars_after_alloca"
30051 for all compilers.
30052 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
30053 than whatis-info.exp.
30054 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
30055 than opaque-info.exp.
30056 Setup rs6000-*-* xfail for
30057 "ptype on opaque struct pointer (statically)" and
30058 "ptype on opaque struct pointer (dynamically)" when
30059 not compiled with gcc.
30060 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
30061 rather than callf-info.exp.
30062 (do_function_calls): Add clear_xfail for rs6000-*-* for
30063 "p t_float_values2(3.14159,float_val2)". Seems to work
30064 fine there, both with xlc and gcc. Need to find out what
30065 it is doing right and fix other platforms.
30066 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
30067 "call inferior func with struct - returns int",
30068 "call inferior func with struct - returns long",
30069 "call inferior func with struct - returns float",
30070 "call inferior func with struct - returns double",
30071 "call inferior func with struct - returns char *",
30072 but only if not gcc compiled (presumes xlc compiled).
30073 Change rs6000-*-* xfails for
30074 "call inferior func with struct - returns char" and
30075 " call inferior func with struct - returns short" to only
30076 xfail if not using gcc.
30077 (clean mostlyclean): Remove *.ci and *.tmp files.
30078 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
30079 than templ-info.exp.
30080 * gdb.base/langs.exp: Source gdb.base/langs.ci.
30081 Add rs6000-*-* xfail for "up to foo in langs.exp"
30082 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
30083 when not gcc compiled.
30084
30085 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30086
30087 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
30088 * gdb.base/corefile.exp: Likewise.
30089 * gdb.base/list.exp: Likewise.
30090 * gdb.base/scope.exp: Likewise.
30091 * gdb.base/siganls.exp: Likewise.
30092
30093 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
30094 compiler output.
30095 * gdb.base/whatis.exp: Likewise.
30096
30097 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
30098
30099 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
30100 failure (opcode table has been fixed to match reality).
30101
30102 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
30103
30104 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
30105 "call inferior func with struct - returns char",
30106 "call inferior func with struct - returns short"
30107
30108 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
30109 "print 'scope0.c'::filelocal at main",
30110 "print 'scope0.c'::filelocal_bss in test_at_main",
30111 "print 'scope0.c'::filelocal at foo",
30112 "print 'scope0.c'::filelocal_bss in test_at_foo",
30113 "print 'scope0.c'::filelocal at bar",
30114 "print 'scope0.c'::filelocal_bss in test_at_bar"
30115
30116 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
30117 in source file 1". This bug seems to have been fixed with both
30118 gcc and native cc (was native assembler bug?).
30119
30120 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
30121
30122 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
30123 "backtrace through signal handler" to "i*86-*-sysv4*".
30124 * gdb.base/signals.exp: Add xfail for "'next' behaved as
30125 continue" case. Add "known SVR4 bug" to fail message.
30126 Add "i*86-*-bsdi2.0" xfail for "handle all print".
30127 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
30128 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
30129 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
30130 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
30131 "up to foo in langs.exp", "show language at foo in
30132 langs.exp", "up to cppsub_ in langs.exp", "show
30133 language at cppsub_ in langs.exp", "up to fsub in
30134 langs.exp", and "show language at fsub in langs.exp".
30135 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
30136 "bactrace in corefile.exp".
30137 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
30138 "call inferior function with struct - returns float" and
30139 "call inferior function with struct - returns double".
30140
30141 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
30142
30143 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
30144 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
30145 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
30146 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
30147
30148 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
30149
30150 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
30151 (or overriden) "CHILL" macro rather then bare "gcc".
30152 Also look for ../../gcc/xgcc since that is what we will
30153 actually need, not "Makefile". Remove following assignment
30154 of CHILL to CHILL_FOR_TARGET because that results in
30155 recursive definition.
30156
30157 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
30158
30159 * gdb.base/corefile.exp: Change xfail for backtrace in
30160 corefile.exp from linuxaout to all linux.
30161 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
30162 cases where we miss the breakpoint at the signal handler
30163 for some reason. Setup xfail for linuxoldld/linuxaout and
30164 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
30165 hitting SIGURG breakpoint.
30166 * gdb.base/signals.exp: Setup xfail for "next" acting like
30167 continue to add linuxoldld. Setup xfail for all linux for
30168 "next to handler in signals_tests_1", "backtrace in
30169 signals_tests_1", "continue to func1", "pass SIGUSR1",
30170 and continue to handler".
30171
30172 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
30173
30174 * Update all FSF addresses except those in COPYING* files.
30175
30176 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
30177
30178 * gdb.base/a2-run.exp: Change messages to be more explicit about
30179 the status of args, and quote binfile in results.
30180
30181 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
30182
30183 * gdb.base/callfuncs.exp: Add tests for passing structs to
30184 inferior functions and return various types.
30185 * gdb.base/callfuncs.c: Add functions to receive a struct
30186 and return a member of the struct, in various types.
30187
30188 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30189
30190 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
30191
30192 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
30193
30194 * config/vxworks29k.exp: New file, sources vxworks.exp.
30195
30196 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30197
30198 * config/gdbremote.exp: New file. Testing framework using
30199 gdbserver.
30200
30201 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
30202
30203 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
30204 "call function when asleep" and "send end of file".
30205 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
30206 for "backtrace in corefile.exp".
30207 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
30208 for "backtrace through signal handler".
30209 * gdb.base/corefile.exp: Make sure we actually generate a core file
30210 before trying the core tests. Some systems allow the user to suppress
30211 generation of core files and default to that (linux for example).
30212 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
30213 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
30214
30215 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30216
30217 * gdb.threads: New directory with some crude multi-threaded
30218 gdb tests (step.exp and step2.exp).
30219 * config/mt-lynx (STEP_EXECUTABLE): Define.
30220 (THREADFLAGS): Define.
30221
30222 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
30223
30224 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
30225
30226 * gdb.base/signals.exp: Disable whole file for lynx until
30227 further notice.
30228
30229 * gdb.base/signals.exp: xfail test where "next" acts like
30230 "continue" for lynx.
30231
30232 * gdb.base/interrupt.exp: xfail test for calling function while
30233 inferior is asleep for lynx.
30234
30235 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
30236 than one cr-lf after each command.
30237
30238 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30239
30240 * configure.in: Reinstate setting of stabsdirs variable, fix
30241 typo in setting up configdirs for native builds.
30242
30243 * gdb.base/return.exp: Fix typo in return double test.
30244 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
30245 compiler from optimizing them away.
30246
30247 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
30248
30249 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
30250 sequences to be echo'd by gdb when using gdb_test.
30251 * gdb.chill/chexp.exp: Likewise.
30252 * gdb.fortran/exprs.exp: Likewise
30253
30254 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30255
30256 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
30257 after the inferior gdb has started.
30258
30259 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
30260 after each command.
30261 * gdb.base/funcargs.exp: Likewise.
30262 * gdb.base/gdbvars.exp: Likewise.
30263 * gdb.base/interrupt.exp: Likewise.
30264 * gdb.base/list.exp: Likewise.
30265 * gdb.base/watchpoint.exp: Likewise.
30266 * gdb.c++/demangle.exp: Likewise.
30267 * gdb.c++/inherit.exp: Likewise.
30268 * gdb.chill/chexp.exp: Likewise.
30269 * gdb.fortran/exprs.exp: Likewise.
30270
30271 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
30272 test if we can't handle IO to/from the inferior.
30273
30274 * gdb.c++/misc.exp: Always check for a program already being
30275 started after sending a "run" command to gdb.
30276
30277 * gdb.base/twice.exp: Start with a fresh gdb.
30278
30279 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
30280 only depend on gdb's expression code, not the chill runtime.
30281
30282 * gdb.base/return.c: Put return values into variables so we
30283 can have gdb print them rather than depending on the program
30284 to print them.
30285 * gdb.base/return.exp: Corresponding changes.
30286
30287 * lib/gdb.exp: Provide default value for noinferiorio.
30288 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
30289 the inferior.
30290
30291 * gdb.base/break.exp: Always check for a program already being
30292 started after sending a "run" command to gdb.
30293 (text_next_with_recursion): Don't check the output from the
30294 program's printf statement. Instead just make sure the program
30295 exited.
30296
30297 * gdb.base/commands.exp: Protect tests which need arguments with
30298 $noargs conditionals.
30299
30300 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30301
30302 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
30303 of structure member arrays to match gdb/valops.c:value_addr change.
30304
30305 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
30306
30307 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
30308 cases.
30309
30310 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
30311
30312 * configure.in (configdirs): Remove gdb.chill from default list
30313 of subdirs and then add it back in only if doing a native build.
30314 The current chill compiler does not yet work in any cross build.
30315 * Revert all signal changes from Jul 6.
30316 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
30317 for sh-hms targets, allowing these tests to link, with no other
30318 changes. Testing is suppressed by setting "nosignals" in site.exp.
30319
30320 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
30321
30322 * configure.in (signaldirs): Define and add to configdirs for all
30323 targets except some specific ones that are known to not support signals.
30324 Also clean up formatting.
30325 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
30326 (signals, sigall): Remove rules to build.
30327 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
30328 Moved to new gdb.signals directory.
30329 * gdb.signals: New test directory.
30330 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
30331 signals.c signals.exp}: New or moved files.
30332
30333 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
30334
30335 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
30336
30337 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30338
30339 * gdb.base/return.exp: Xfail `return double' test failure
30340 on at least Solaris 2.3 and handle future/past versions on
30341 a case by case basis as appropriate. Also update message
30342 to include i*86 failures.
30343
30344 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30345
30346 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
30347
30348 * lib/gdb.exp: Fix comment which erroneously identified
30349 gdb_file_cmd as gdb_load (the 19 May change was in fact to
30350 gdb_file_cmd not gdb_load).
30351 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
30352
30353 * gdb.base/setvar.exp: Make test names consistent between pass and
30354 fail cases. Use gdb_test more.
30355
30356 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30357
30358 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
30359
30360 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30361
30362 * gdb.base/help.exp: Fix expected help string for `show commands'.
30363
30364 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
30365
30366 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
30367
30368 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
30369 of a text section.
30370
30371 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
30372
30373 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
30374 that loop eventually terminates. Fix Connection refused logic so
30375 that testsuite will expire nicely.
30376
30377 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
30378
30379 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
30380 config/rom68k.exp: New tcl glue for the appropriate monitors.
30381 These all just end up calling monitor.exp.
30382 * config/monitor.exp (gdb_target_monitor): Handle `Connection
30383 refused' by retrying. Cleanup some timeout issues.
30384 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
30385 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
30386 callers don't have to set/restore global timeout variable.
30387
30388 * The following set of changes centralizes management of the global
30389 timeout variable. This way, it can be set in one target dependent
30390 place instead of dozens of places scattered throughout the test suite.
30391 If you need to lengthen a timeout, then you should either set timeout
30392 in one of the config/{target}.exp files, or multiply it by a factor.
30393 Setting it to an absolute value is always going to lose for some
30394 targets.
30395 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
30396 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
30397 * gdb.base/funcargs.exp: Don't set timeout.
30398 * gdb.base/list.exp (test_forward_search): Only use local timeout.
30399 * gdb.base/printcmds.exp (test_print_string_constants
30400 test_print_array_constants): Don't set timeout.
30401 * gdb.base/ptype.exp: Don't set timeout.
30402 * gdb.base/recurse.exp: Don't set timeout.
30403 * gdb.base/return.exp: Don't set timeout.
30404 * gdb.base/watchpoint.exp: Don't set timeout.
30405 * gdb.c++/classes.exp (do_tests): Don't set timeout.
30406 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
30407
30408 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
30409
30410 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
30411
30412 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30413
30414 * lib/gdb.exp: Disable chill tests for irix5.
30415
30416 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30417
30418 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
30419 each test pass or fail.
30420
30421 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30422
30423 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
30424 xlc not gcc.
30425
30426 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
30427
30428 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
30429
30430 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
30431
30432 * config/est.exp: Fix copyright and comments. Remove dead code.
30433 Use targetname, serialport and baud variables instead of fixed
30434 constants.
30435 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
30436 * config/cpu32bug.exp: New file to support cpu32bug monitors.
30437
30438 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30439
30440 * gdb.base/watchpoint.exp: Don't run
30441 test_watchpoint_triggered_in_syscall for sunos.
30442
30443 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30444
30445 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
30446 they don't seem to exist. Do include stdio.h.
30447
30448 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30449
30450 * gdb.base/a1-selftest.exp: Add alpha xfail.
30451
30452 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30453
30454 * gdb.base/watchpoint.c (main): Prompt before calling read().
30455 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30456 Revise accordingly. Remove cruft about sending "123" several
30457 times, until it gets noticed. Clean up the "print buf[0]" stuff
30458 so that it passes or fails, and waits for prompts in the usual way.
30459
30460 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30461
30462 * gdb.base/recurse.exp: Fix comment.
30463
30464 * TODO: Remove item about printing variables in nodebug.exp. Add
30465 item about enabling tests which are only run on some targets.
30466
30467 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
30468 fail, make test names unique, use new gdb_test convention
30469 regarding pattern, use gdb_test more, etc.).
30470
30471 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
30472 fail, make test names unique, etc.).
30473
30474 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30475
30476 * gdb.base/nodebug.c: Change return type of top and middle to
30477 short.
30478 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30479 are fixed by the recent mdebugread.c changes. Allow `short ()'
30480 as type for top and middle.
30481
30482 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30483
30484 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30485 nearly as I can tell, the whole thing was an accident in Stu's
30486 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30487 to replace a send/expect pair with gdb_test, but ended up only
30488 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30489 of 30 Mar 1995 took care of it, but left this vestigial comment
30490 which I am now nuking.
30491
30492 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30493
30494 * gdb.base/break.exp: Look for different line number for
30495 breakpoint at main depending on usestubs.
30496
30497 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30498
30499 * gdb.base/list.exp: Adjust some alternate expect patterns to
30500 match recent list0.c change. Add alternate expect pattern for
30501 output from `list default lines around main' for optimizing
30502 compilers.
30503
30504 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30505
30506 * lib/gdb.exp: If nosignals is not set, set it to 0.
30507
30508 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30509
30510 * config/slite-gdb.exp: Responds to load symbol table prompt.
30511 * gdb.base/break.exp: Adjust line number, fix rerun.
30512 * gdb.base/langs0.c: Add #ifdef usestubs.
30513
30514 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30515
30516 * gdb.base/list.exp: Adjust line contents after adding new lines in
30517 list0.c. Also fix a syntax error.
30518
30519 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30520 * gdb.base/break.exp: ditto.
30521 * gdb.base/list.exp: ditto.
30522 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30523 * gdb.base/run.c: ditto.
30524 * gdb.base/list0.c: ditto.
30525 * gdb.base/funcargs.c: ditto.
30526
30527 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30528
30529 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30530 $targetname, $serialport and $baud instead of hardwired variables.
30531 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30532 target doesn't support signals.
30533
30534 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30535
30536 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30537
30538 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30539
30540 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30541 Don't rely on the value of an auto variable before it has been
30542 initialized. Use gdb_test more.
30543
30544 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30545
30546 * lib/gdb.exp (default_gdb_version): A version number must start
30547 with a digit, but other than that contains all characters up to
30548 the first whitespace character.
30549
30550 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30551
30552 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30553
30554 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30555
30556 * gdb.c++/*.exp: Warn if executable does not exist. The original
30557 reason for skipping the warning was that configure.in sometimes
30558 intentionally skipped building the executables but the tcl code
30559 had no way of knowing. That (a) was always bogus with respect to
30560 error handling, (b) is no longer true (right now there is no way
30561 to skip C++ tests).
30562
30563 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30564
30565 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30566
30567 * gdb.base/list.exp: Add expect patterns for output from
30568 SunPRO compiled executables.
30569 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30570 types.
30571
30572 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30573
30574 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30575 number (we are already testing that the correct source line text
30576 gets printed).
30577
30578 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30579 that is what is intended, but something needed to be done to get
30580 sunos4 native working again.
30581
30582 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30583
30584 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30585 apparently went with a (very) old xfail.
30586
30587 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30588
30589 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30590 runto_main is a proc in gdb.exp that will do 'step' for target use
30591 stubs.
30592 * gdb.base/exprs.exp: ditto.
30593 * gdb.base/interrupt.exp: ditto.
30594 * gdb.base/opaque.exp: ditto.
30595 * gdb.base/printcmds.exp: ditto.
30596 * gdb.base/ptype.exp: ditto.
30597 * gdb.base/scope.exp: ditto.
30598 * gdb.base/setvar.exp: ditto.
30599 * gdb.base/signals.exp: ditto.
30600 * gdb.base/twice.exp: ditto.
30601 * gdb.c++/classes.exp: ditto.
30602 * gdb.c++/inherit.exp: ditto.
30603 * gdb.c++/templates.exp: ditto.
30604 * gdb.base/break.exp: no run and hit main for stubs. Change line
30605 numbers for breakpoints and info breakpoint.
30606 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30607 breakpoint().
30608 * gdb.base/callfuncs.c: ditto.
30609 * gdb.base/exprs: ditto.
30610 * gdb.base/interrupt.c: ditto.
30611 * gdb.base/opaque0.c: ditto.
30612 * gdb.base/printcmds.c: ditto.
30613 * gdb.base/ptype.c: ditto.
30614 * gdb.base/scope0.c: ditto.
30615 * gdb.base/setvar.c: ditto.
30616 * gdb.base/signals.c: ditto.
30617 * gdb.base/twice.c: ditto.
30618 * gdb.c++/misc.cc: ditto.
30619 * gdb.c++/templates.cc: ditto.
30620
30621 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30622
30623 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30624
30625 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30626 somewhere between `read' and `main.c'. I'm pretty sure the
30627 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30628 and it isn't particularly useful.
30629
30630 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30631
30632 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30633
30634 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30635
30636 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30637
30638 * config/mt-slite: add LIBS and -nostdlib.
30639 * config/slite-gdb.exp: add this new file to support sparclite target.
30640
30641 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30642
30643 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30644
30645 * gdb.base/a2-run.exp: Change argument to istarget from
30646 "*-*-vxworks" to "*-*-vxworks*".
30647 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30648
30649 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30650
30651 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30652 will not runto main but do a 'step' to step out of breakpoint().
30653 * config/mt-slite: add -Dusestubs.
30654
30655 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30656
30657 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30658 instead of just @.
30659
30660 * gdb.base/signals.exp: Add test for "handle all print".
30661 * TODO: Remove "handle all print". Also remove item about
30662 checking copyright date (I don't like the idea of a spurious FAIL
30663 based on when we run the tests).
30664
30665 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30666 for SunOS4 (reason for failure not investigated). Remove
30667 redundant test for $binfile.
30668
30669 * gdb.base/nodebug.c (array_index): Call malloc.
30670
30671 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30672
30673 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30674
30675 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30676 conventions and slightly simplify the matching regexp.
30677
30678 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30679
30680 * gdb.base/break.exp: Update gdb_test invocation to use new
30681 convention.
30682
30683 * lib/gdb.exp: If noargs is not set, set it to 0.
30684
30685 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30686 tests unique.
30687
30688 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30689
30690 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30691
30692 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30693 one argument of type "<non-float parameter>".
30694
30695 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30696
30697 * config/rom68k.exp: New file to support Motorola IDP board.
30698 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30699 * gdb.base/break.c: Change things around so that this program
30700 doesn't depend upon args. This is necessary to make remote
30701 targets work (in general, they can't take args).
30702 * gdb.base/break.exp: Don't try to send args to program. Don't
30703 expect output. Also, replace lots of code with gdb_test.
30704
30705 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30706
30707 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30708 printing of '\'' (which is what the comment says we are testing,
30709 even though we were not), not '''.
30710 (test_integer_literals_rejected): Test that printing ''' is an error.
30711
30712 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30713 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30714 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30715 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30716 Use gdb_test not test_print_accept.
30717 * lib/gdb.exp: Remove test_print_accept.
30718
30719 * gdb.base/signals.exp (signal_tests_1): Make pass message
30720 consistent with fail message.
30721
30722 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30723 unsigned char; the bug (PR 1821) is fixed.
30724
30725 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30726
30727 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30728 successful tests--makes xfailing them work right.
30729
30730 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30731
30732 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30733 only \r\n, not .*. The test can pass .* as the last thing in
30734 $pattern if that is what it wants. In addition to providing this
30735 flexibility, this change should speed up pattern matching in cases
30736 where the pattern already ended with .* (there were a number of
30737 them). This change also helps catch bad patterns--in the old
30738 scheme the typo "char \*" instead of "char \\*" would pass. Now
30739 it is caught.
30740 * Many .exp files: Update callers.
30741
30742 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30743 clearer and does not spuriously match multiple ('s. Likewise for
30744 ) and *.
30745
30746 * gdb.base/nodebug.exp: Test ability to call a function and pass
30747 it a string (even with no debugging info).
30748
30749 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30750 "p '\'", which is the same as "p ''" once tcl gets done with
30751 quoting, to "p '\\'", which I suspect is what is intended (one
30752 backslash gets sent to GDB).
30753
30754 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30755
30756 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30757
30758 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30759 1817) was fixed literally years ago.
30760
30761 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30762
30763 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30764 test, it causes stepping out of call_after_alloca_subr with
30765 optimizing compilers.
30766 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30767 fails.
30768
30769 * gdb.c++/templates.exp: Source templ-info.exp only if
30770 the templates executable exists.
30771
30772 * gdb.c++/misc.cc (class Contains_static_instance,
30773 class Contains_nested_static_instance),
30774 gdb.c++/classes.exp (test_static_members): Test printing of
30775 a class that contains a static instance of the class.
30776
30777 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30778
30779 * gdb.base/langs2.c (cppsub_): Don't prototype.
30780 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30781 only, I believe).
30782
30783 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30784
30785 * lib/gdb.exp (skip_chill_tests): New procedure.
30786
30787 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30788
30789 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30790
30791 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30792 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30793
30794 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30795
30796 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30797
30798 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30799 disassemble 8, not 16, instructions for part 4.
30800
30801 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30802 support the latter anymore.
30803
30804 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30805 -DNO_PROTOTYPES.
30806 * gdb.base/callfuncs.c: Control use of prototypes based on
30807 NO_PROTOTYPES, not __STDC__.
30808 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30809 t_float_values2 tests if prototypes in use.
30810
30811 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30812 t_double_values): When checking differences against DELTA, check
30813 that difference is within the range (-DELTA,DELTA), not just
30814 (-infinity,DELTA).
30815
30816 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30817
30818 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30819 'file' command firts, then 'target', then 'load', this is due to gdb
30820 target set up.
30821 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30822
30823 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30824
30825 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30826 FP load/store variants.
30827 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30828
30829 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30830
30831 * gdb.base/term.exp: Do not give a warning if not native, it is
30832 not an abnormal condition.
30833
30834 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30835
30836 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30837 t_char_array".
30838
30839 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30840
30841 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30842 are getting the version number.
30843
30844 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30845 if not native, it is not an abnormal condition.
30846
30847 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30848
30849 * lib/gdb.exp: Just use "file exists", rather than undocumented
30850 dejagnu procedure "findfile".
30851
30852 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30853
30854 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30855 (LDFLAGS): Set to -Xlinker -Ur.
30856
30857 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30858 Removed, these values are set by lib/gdb.exp.
30859
30860 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30861
30862 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30863
30864 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30865 of replicating gdb startup code.
30866
30867 * config/mt-vxworks (LDFLAGS): Set to -r.
30868 (CFLAGS_FOR_TARGET): Removed.
30869
30870 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30871 (gdb) and gdb for vxworks uses (vxgdb).
30872
30873 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30874 executable is not in the tree and host != target, use sed and
30875 program_transform_name to determine the gdb name used by the
30876 target.
30877
30878 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30879 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30880
30881 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30882
30883 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30884 floats, chars, and shorts where there are ANSI-style function
30885 definitions.
30886
30887 * gdb.base/langs.exp, gdb.base/langs*: New test.
30888 * gdb.base/Makefile.in: Build it.
30889 * TODO: Remove item about checking that C names don't get C++
30890 demangling applied; this test tests it.
30891
30892 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30893
30894 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30895 went with the const70 xfail. The xfail went away a year ago.
30896
30897 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30898
30899 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30900 for hp300.
30901
30902 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30903
30904 * gdb.base/a1-selftest.exp: Don't run on hp300.
30905
30906 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30907
30908 * Makefile.in (site.exp): Set host_alias and target_alias as well
30909 as host_triplet and target_triplet.
30910
30911 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30912
30913 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30914
30915 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30916 places as other ecoff systems).
30917
30918 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30919 ultrix.
30920
30921 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30922
30923 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30924 remove them.
30925 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30926 variable and "variable" in addition to "data variable".
30927 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30928
30929 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30930 2.
30931 * gdb.base/list1.c (long_line): Add additional statement at start
30932 of function.
30933 * gdb.base/list.exp (test_forward_search): Update line number to
30934 reflect new statement.
30935
30936 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30937
30938 * gdb.base/signals.exp: Reinitialize searched source directories
30939 after gdb_start call.
30940
30941 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30942
30943 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30944 * gdb.stabs/Makefile.in: Likewise.
30945
30946 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30947 change. Instead split the tests into smaller pieces.
30948 * gdb.disasm/hppa.s: Corresponding changes.
30949
30950 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30951
30952 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30953 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30954
30955 * gdb.base/funcargs.exp: Modify many tests so that every test
30956 either passes or fails. Make some test names unique.
30957
30958 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30959
30960 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30961 Call stty to set interrupt character.
30962
30963 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30964 for HP assembler versus GNU assembler based on actual behavior of
30965 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30966
30967 * TODO: Suggest a few more stepping tests.
30968
30969 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30970
30971 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30972 restart GDB for h8300 after a continue.
30973 (return): Add pattern to match a29k-udi behavior.
30974 * gdb.base/nodebug.exp: Remove obsolete comment.
30975 * gdb.base/regs.exp: New file, testing of register displays.
30976 * gdb.base/return.exp: Fix typo in reference to $objdir.
30977 * gdb.base/whatis.exp: Always start with a fresh GDB.
30978
30979 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30980
30981 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30982 higher, these tests generate a lot of output.
30983
30984 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30985
30986 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30987 code following the catch silently ignored some errors; without the
30988 catch they should be thrown like any other tcl error. Also, the
30989 catch used "" instead of {} which meant all the callers who wanted
30990 to include one of the characters "[]$ had to quote it an extra time.
30991 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30992 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30993 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30994 Remove extra quoting.
30995
30996 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30997
30998 * gdb.base/commands.exp: Make test names unique; every test either
30999 passes or fails. Update some comments.
31000
31001 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
31002
31003 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31004
31005 The following fixes a FAIL caused by the fact that the alpha stabs
31006 configuration didn't use the ".if alpha" code in weird.def.
31007 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
31008 bit pointer, so the 32 bit version works even on the alpha.
31009 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
31010 Remove the stuff which allowed us to have separate versions for
31011 alpha and everything else.
31012
31013 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
31014 regexp which "info func operator\[\](" is supposed to match. Fix
31015 string to send to GDB. Note that GDB still doesn't work right. Add a
31016 new test for "info func .perator\[\](" which GDB does handle correctly.
31017
31018 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
31019
31020 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31021
31022 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
31023 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
31024 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
31025 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
31026 it makes the tests harder to understand and confuses test-o-matic.
31027 The preferred style is that each test provides a PASS or a FAIL,
31028 and has a unique message (e.g. "continue #54" not just "continue")
31029 which is the same for the pass and the fail.
31030 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31031 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
31032 to lib/gdb.exp.
31033 * gdb.base/printcmds.exp: Use test_print_accept. Remove
31034 prt_accept which was basically the same thing. Likewise for
31035 test_print_reject and prt_reject.
31036 * lib/gdb.exp (test_print_reject): Add some more error message
31037 patterns to match from the former printcmds.exp (prt_reject).
31038 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
31039 One defect of the passcount stuff is that some of it failed to
31040 report XPASS where appropriate.
31041 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
31042 stuff before and after arg in expected pattern.
31043 (test_paddr_operator_functions): Re-do test without print_addr_of;
31044 this is the only test which seems to want extra stuff there.
31045
31046 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31047
31048 * gdb.base/nodebug.exp: Update new tests to reflect improved
31049 wording of gdb output.
31050
31051 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
31052 and "ptype" work on variables in files compiled without -g.
31053 Replaces commented out "maint print msymbol" tests.
31054
31055 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31056
31057 * gdb.base/setvar.c (dummy): Call malloc.
31058
31059 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
31060 losing with the irix4 sed.
31061
31062 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
31063 ALRM" on irix4.
31064
31065 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31066
31067 * TODO: Remove items about corefile.exp testing new exec-file and
31068 backtrace; both are now done. Add items about printing enums.
31069
31070 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31071
31072 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
31073 "get signal $thissig" test fails.
31074
31075 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
31076
31077 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31078
31079 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
31080 compiler warning with dec alpha compiler.
31081
31082 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
31083 extra \n from gdb_test call (this explains why the prompt test
31084 that I removed yesterday was there).
31085 (user_defined_command_test): Remove extra \n and prompt test.
31086
31087 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
31088 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
31089 doesn't exist.
31090 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
31091 Also remove alpha workaround, which turns out to be because
31092 SIGABRT == SIGLOST.
31093
31094 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
31095
31096 * gdb.base/help.exp: Don't test "help show".
31097
31098 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31099
31100 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
31101 "set print address" is on.
31102 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
31103 pass prompt to gdb_test; gdb_test already looks for the prompt.
31104
31105 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
31106
31107 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
31108 was a vestige of the manual TESTSTRATEGY, and the purpose of it
31109 was to make sure that gdb can read a core file. But (a) the "read
31110 the corefile" part didn't make it to a1-selftest.exp, we just
31111 delete the corefile after creating it, and (b) we test reading
31112 corefiles in corefile.exp anyway. Also, this test left around a
31113 xgdb process on Solaris.
31114
31115 * gdb.base/corefile.exp: Also test backtrace.
31116
31117 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
31118
31119 * gdb.base/commands.exp: Test a simple user defined command with
31120 arguments and if/while statements; verify the full user command is
31121 printed by "show user".
31122
31123 * gdb.base/commands.exp: Test if/while commands as part of a
31124 breakpoint command list; verify they appear in breakpoint
31125 information.
31126
31127 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31128
31129 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
31130 than by dividing by zero.
31131
31132 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
31133
31134 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
31135 performing an inferior call with watchpoints enabled.
31136 * gdb.base/watchpoint.c (main): Delete second unnecessary read
31137 call.
31138
31139 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31140
31141 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
31142 of "file" command.
31143
31144 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
31145 Add additional pattern for when "int operator int(void);" appears
31146 in a different order.
31147
31148 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31149
31150 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
31151
31152 * gdb.base/help.exp: Replace most of docstrings for "info signals"
31153 and "signal" with ".*".
31154
31155 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31156
31157 * TODO: Add note about "handle all nostop".
31158
31159 * gdb.base/{sigall.c, sigall.exp}: New test.
31160 * gdb.base/Makefile.in: Add it.
31161
31162 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
31163
31164 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
31165 when invoking GDB, suppresses any windowing interface.
31166
31167 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
31168
31169 * config/sim-gdb: New file, simulator testing support.
31170
31171 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
31172
31173 * gdb.base/interrupt.exp: Test calling func1 twice.
31174
31175 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
31176
31177 * gdb.base/list.exp (test_forward_search): Set timeout higher
31178 when we'll be getting lots of output from gdb.
31179
31180 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
31181 "init_malloc" to after the expect statement. Run it if that
31182 regexp is taken, but also for two others which happen if source
31183 cannot be found.
31184
31185 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31186
31187 * gdb.base/printcmds.exp: New test, for printing register before
31188 program is running.
31189
31190 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31191
31192 * gdb.base/list.exp: Correct some alternate expect patterns
31193 to reflect changes in list1.c.
31194
31195 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31196
31197 * TODO: Add item regarding large frames.
31198
31199 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
31200
31201 * TODO: Remove item about enabling return.exp; it
31202 is enabled. Suggest a few more "return" tests.
31203
31204 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31205
31206 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
31207 anonymous unions.
31208
31209 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31210
31211 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
31212 and pr-5646.o, so "make" is the same as "make all", not "make
31213 pr-4975.o".
31214
31215 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
31216
31217 * gdb.base/list.exp: Adjust expectations to reflect changes in
31218 list1.c.
31219 (test_forward_search): New test proc.
31220 * gdb.base/list1.c (long_line): New function, has long source line.
31221
31222 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
31223
31224 * gdb.base/a1-selftest.exp: Change initial stepping to know about
31225 additional line of code that was added.
31226
31227 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
31228
31229 * gdb.disasm/hppa.s: Break the large branching tests into smaller
31230 tests so as not to overflow expect's input buffers.
31231 * gdb.disasm/hppa.exp: Corresponding changes.
31232
31233 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31234
31235 Beginnings of template debugging tests.
31236 * gdb.c++/templ-info.cc: New file to test for template
31237 debugging capability of the compiler.
31238 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
31239 templ-info.cc.
31240 * gdb.c++/templates.cc: Add explicit template instantiations
31241 to enable compiling with -fno-implicit-templates. Add destructor
31242 and 'value' method to T5 class for template tests.
31243 * gdb.c++/templates.exp: Add testcases for printing of template
31244 types, setting breakpoints on template methods and calling a
31245 template method.
31246
31247 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
31248
31249 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
31250 branch target since some assemblers (gas-2.5) may emit a
31251 relocation for the branch instead of resolving it in the
31252 assembler.
31253
31254 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31255
31256 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
31257 through signal handler.
31258
31259 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31260
31261 * configure.in (*-*-netware): Use config/mt-netware.
31262
31263 * config/mt-netware: New file.
31264 * config/mt-i386-netware: Removed, separate configs for different
31265 netware architectures are no longer needed now that we have
31266 --with-headers.
31267
31268 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31269
31270 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
31271 by the recent changes to use ANSI C arithmetic conversions.
31272
31273 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31274
31275 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
31276 bug involving using inferior_pid to figure out whether to select a
31277 frame.
31278
31279 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
31280
31281 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
31282 match the current disassembler output.
31283
31284 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
31285
31286 * gdb.fortran/exprs.exp: Expect VOID instead of void.
31287 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
31288 types, expect "int" as type of integer values (for now).
31289
31290 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
31291
31292 * gdb.base/commands.exp: New tests for if/while commands.
31293
31294 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
31295
31296 * lib/gdb.exp (runto): Replace sub-pattern for hex value
31297 by .*, since hex values have different syntax in Chill mode.
31298
31299 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31300
31301 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
31302 linefeed from expect pattern for repeated types with indices > 9.
31303
31304 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
31305
31306 First part of Fortran test suite.
31307 * gdb.fortran: New directory.
31308 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
31309
31310 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31311
31312 * gdb.base/default.exp: Update expect pattern for load command
31313 without arguments.
31314
31315 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
31316
31317 * configure.in: Change i386 to i[345]86.
31318 * gdb.base/configure.in: Likewise.
31319 * gdb.c++/configure.in: Likewise.
31320 * gdb.chill/configure.in: Likewise.
31321
31322 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
31323
31324 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
31325 patterns, since that is not a valid context for comments.
31326
31327 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
31328
31329 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
31330 repeated types and repeated types with indices > 9.
31331
31332 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
31333
31334 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
31335 2417; old bug has been fixed.
31336
31337 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
31338
31339 * gdb.base/interrupt.exp: When trying to wake up the inferior,
31340 send the newline ourselves instead of assuming gdb_test will do
31341 so when passed an empty input string.
31342
31343 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
31344 stabs testcode.
31345
31346 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31347
31348 * lib/gdb.exp (gdb_test): Don't send anything if the first
31349 argument is an empty string. This makes cases where we want to
31350 match output that is already in expect's buffers (for example,
31351 matching a breakpoint after gdb_run_cmd has been called) work
31352 reliably.
31353
31354 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31355
31356 * config/netware.exp: New file.
31357
31358 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31359
31360 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
31361 the -B and -L prefixes so we can find the debugging stub.
31362
31363 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
31364 there and we are using the gcc from the tree.
31365
31366 * gdb.base/types.c: Removed.
31367
31368 * gdb.base/configure.in: Look for makefile fragments in ../config.
31369 Recognize i386-*-netware.
31370 * gdb.c++/configure.in: Likewise.
31371
31372 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31373
31374 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
31375 the correct TCL syntax.
31376
31377 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31378
31379 * gdb.base/opaque.exp: use runto instead of messing around with
31380 breakpoints. Simplify by using gdb_test.
31381
31382 * gdb.base/bitfields.exp: restart between tests on netware targets
31383 because breakpoints aren't relocated after target death. Run
31384 processes to completion.
31385
31386 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
31387
31388 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
31389
31390 * Makefile.in: Remove extra tabs that confuse some versions
31391 of "make". Use the newly built gdb to test with by default,
31392 rather than the first one in the tester's search path.
31393
31394 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
31395
31396 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
31397
31398 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
31399 condition help.
31400
31401 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31402
31403 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
31404
31405 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
31406 running.
31407 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
31408 * gdb.base/funcargs.exp: Likewise.
31409
31410 * gdb.base/bitfields.exp: Simplify by using gdb_test.
31411 * gdb.base/funcargs.exp: Likewise.
31412
31413 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
31414 message is "".
31415
31416 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31417
31418 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
31419 return,signals,twice}.exp: Handle non-existant binaries
31420 consistantly.
31421
31422 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
31423 * gdb.base/Makefile.in: Don't try to generate a core dump, we
31424 might testing a cross development system.
31425
31426 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31427
31428 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
31429 runtest script is relative to ${srcdir}, not ${rootdir}.
31430
31431 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
31432
31433 * gdb.base/signals.exp: Allow for optionality of breakpoint
31434 address.
31435
31436 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31437
31438 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
31439
31440 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31441
31442 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
31443 for size_t definition.
31444 * gdb.c++/templates.cc: Likewise
31445
31446 * config/mt-i386-netware: New file.
31447
31448 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
31449 defined.
31450
31451 * gdb.base/Makefile.in: Added support for systems that name core
31452 files by appending "core" to the program name.
31453 * gdb.base/a1-selftest.exp: Likewise.
31454
31455 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31456
31457 * gdb.base/return.exp: Add comment and message for `return double'
31458 test failure on Sparc Solaris.
31459
31460 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
31461
31462 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
31463
31464 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31465
31466 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
31467 from optimizing them away.
31468 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
31469 patterns to include default constructors and assignment operators,
31470 to match gcc versions beyond 2.5.8. Accept any cplus demangling
31471 character in the output of the virtual base pointer.
31472
31473 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31474
31475 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
31476 expression match in print_addr_of to avoid unintented matches.
31477 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31478 versions up to 2.5.8.
31479
31480 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31481
31482 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31483 included file to run under newer versions of expect.
31484 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31485 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31486 Remove xfail for the virtual table of BDDHookV.
31487
31488 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31489
31490 * lib/gdb.exp (string_to_regexp): Set a default result.
31491 (default_gdb_start): Fix misleading message.
31492
31493 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31494
31495 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31496 Remove all CC, etc definitions.
31497 * config/mt-hpux: New file.
31498 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31499 (CFLAGS, LDFLAGS): Define.
31500 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31501
31502 * Makefile.in (site.exp): Don't insert host_os, etc.
31503 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31504 (distclean): Check existence of subdir.
31505 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31506 * gdb.base/Makefile.in: General cleanup and simplification.
31507 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31508 to build executables. Use default rule to build .o files.
31509 (EXPECT, RUNTEST, CC): Fix relative pathname.
31510 (site.exp): Don't insert host_os, etc.
31511 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31512 and/or SIGUSR1 defined.
31513 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31514 * gdb.c++/Makefile.in: General cleanup and simplification.
31515 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31516 (CFLAGS): Remove.
31517 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31518
31519 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31520
31521 * gdb.base/recurse.exp: Misc changes to get tests running again
31522 after Kung's changes to the watchpoint code.
31523 * gdb.base/watchpoint.exp: Likewise.
31524
31525 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31526
31527 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31528
31529 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31530
31531 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31532 * lib/gdb.exp (default_gdb_start): Define.
31533 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31534 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31535 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31536 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31537 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31538 Don't call gdb_target_udi in between tests.
31539
31540 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31541
31542 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31543 (which was basically just a local version of the same thing). In
31544 addition to avoiding duplication, gdb_test_exact is faster.
31545 * lib/gdb.exp (gdb_test_exact): Fix typo.
31546
31547 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31548 don't give an error.
31549
31550 * gdb.base/term.exp: Call delete_breakpoints before starting.
31551
31552 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31553 (t10): Add comment.
31554
31555 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31556
31557 Reorganization of the GDB Test Suite.
31558
31559 * gdb.base: New directory, contains all the basic tests.
31560 * gdb.c++: New directory, tests specific to C++.
31561 * gdb.chill: New directory, tests specific to Chill.
31562 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31563 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31564 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31565 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31566 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31567 t30-31 to chill).
31568 * */gdbme.*: Rename to match appropriate expect scripts.
31569 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31570 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31571 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31572 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31573 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31574 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31575 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31576 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31577 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31578 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31579 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31580 gdb.c++/virtfunc.cc: New names of C++ files.
31581 * gdb.chill/chillvars.ch: New name of Chill file.
31582 * gdb.base/configure.in, gdb.c++/configure.in,
31583 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31584 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31585 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31586 * configure.in (configdirs): Update to reflect directory changes.
31587 (target_abbrev): No longer define for any configuration.
31588 * Makefile.in: Cosmetic improvements to header comments.
31589
31590 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31591
31592 Various changes to gdb.t31:
31593
31594 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31595 * gdbme.ch: Make all key-words and predefineds be upper-case.
31596 * chillvars.exp: Expect key-words and predefinds in upper-case.
31597
31598 * chillvars.exp: Use gdb_test_exact many places.
31599 Change expected output for arrays (which now includes index labels).
31600
31601 * pr-5020.exp, gdme.ch (module PR_5020):
31602 New test, for PR-5020.
31603
31604 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31605
31606 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31607 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31608
31609 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31610
31611 * Makefile.in: Fix bit-rot in definitions of CHILL,
31612 CHILL_FOR_TARGET and Chill_LIB.
31613 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31614 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31615 CHILL, and CHILL_LIB.
31616
31617 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31618
31619 * Revert the previous changes. Please see Rob's directory
31620 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31621
31622 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31623
31624 * Makefile.in, configure.in, config/mips-gdb.exp,
31625 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31626 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31627 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
31628 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31629 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31630 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31631 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31632 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31633 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31634 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31635 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31636 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31637 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31638 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31639 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31640 changes from 94Q1.
31641
31642 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31643
31644 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31645 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31646 Rob's new testing fragments.
31647
31648 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31649
31650 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
31651 lib/gdb.exp: Replace error proc calls with perror.
31652
31653 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31654
31655 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31656 version also, match on casted version strings, and match on
31657 gdb startup case where the line numbers might be messed up.
31658
31659 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31660
31661 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
31662 (CFLAGS): Delete it from here.
31663
31664 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31665
31666 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31667
31668 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31669
31670 * Makefile.in (RUNTEST): Default to just "runtest".
31671
31672 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31673
31674 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31675 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31676 the code has been restructured.
31677
31678 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31679
31680 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31681 \n, not just one of each.
31682
31683 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31684 /bin/cc gives a warning if you do.
31685
31686 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31687
31688 * gdb.t24/demangle.exp: change expect pattern of
31689 __t10ListS_link1ZUiRCUiPT0
31690
31691 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31692
31693 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31694 on local variables in recursive functions.
31695
31696 * gdb.t07/Makefile.in: Build the new test.
31697
31698 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31699
31700 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31701 directly. Instead compare the return values from actual calls.
31702
31703 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31704
31705 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31706
31707 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31708
31709 * From Peter Schauer with minor modifications.
31710 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31711 stops in mid-line in the caller. Add xfail for returning a float
31712 value on X86 targets.
31713
31714 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31715
31716 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31717 to avoid expect lossage.
31718 (fmem_LRbug_tests): Likewise.
31719 * gdb.disasm/hppa.s: Corresponding changes.
31720
31721 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31722 conditions to work with latest dejagnu/expect.
31723
31724 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31725 expected to fail on the PA.
31726 (backtrace in call with trampolines): Explicitly require main
31727 to be frame #1 (no trampolines should show up in backtrace).
31728
31729 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31730 "continue -expect".
31731 * gdb.t06/break.exp: Likewise.
31732 * gdb.t07/watchpoint.exp: Likewise.
31733 * gdb.t13/bitfields.exp: Likewise.
31734 * gdb.t15/{funcargs,return}.exp: Likewise.
31735 * gdb.stabs/weird.exp: Likewise.
31736 * config/{mips,udi}-gdb.exp: Likewise.
31737
31738 * hppa.sed: Enclose comments within a sed command to avoid
31739 losing with the old OSF1 sed.
31740
31741 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31742
31743 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31744 sequent dynix.
31745 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31746 * gdb.t15/funcargs.exp: Conditionally step again to really
31747 finish from marker_call_with_trampolines. Handle the case where
31748 the first step from within call_with_trampolines already steps
31749 us back to main.
31750 * gdb.t15/gdbme.c: Add comment to closing brace of
31751 call_with_trampolines for funcargs.exp.
31752
31753 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31754
31755 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31756 Fix typo(s).
31757
31758 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31759
31760 * gdb.t07/gdbme.c: More code for watchpoint testing.
31761
31762 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31763 "Hardware watchpoint" throughout file.
31764 (test_watchpoint_triggered_in_syscall): New test.
31765 (test_complex_watchpoint): New test.
31766
31767 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31768
31769 * gdbme.c (call_with_trampolines): New function to try and step
31770 into. Tests trampoline problems on the PA.
31771
31772 * funcargs.exp (localvars_in_indirect_call): No longer expect
31773 stepping into indirect call to fail on PAs.
31774 (test_stepping_over_trampolines): New test.
31775
31776 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31777
31778 * TODO: Add suggestions for static member function tests, and
31779 completion tests.
31780
31781 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31782
31783 * TODO: Add suggestions for "p/a" tests.
31784
31785 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31786 (default_gdb_exit): Replace all the hair with sending "quit" to
31787 the process with a simple close.
31788
31789 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31790
31791 * TODO: Add suggestions for shared library tests.
31792
31793 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31794
31795 * TODO: Add suggestions for x/s tests.
31796
31797 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31798
31799 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31800 "enable once", and "enable breakpoints once" with ".*".
31801
31802 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31803
31804 * TODO: Add suggestions about structure passing tests.
31805
31806 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31807
31808 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31809 the primary1 test, use work around if __GNUC__ < 2.
31810 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31811 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31812 Test for bad output rather than waiting for timeout. Issue
31813 second continue only if first continue failed.
31814
31815 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31816
31817 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31818 operator[] test with gdb_test because the old code didn't seem to
31819 be getting the quoting right with the new dejagnu.
31820
31821 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31822
31823 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31824 one from the path.
31825 * Makefile.in: Use a fresh expect if there is one, use runtest
31826 from the src tree if there is one.
31827
31828 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31829
31830 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31831 next over recursive call. Revise the tests from that point on
31832 (which had been skipped) to match GDB's actual (correct) output.
31833
31834 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31835 with next over a breakpoint whose condition is false.
31836
31837 * gdb.t00/help.exp: Comment out "help set print" tests just like
31838 (and for same reason as) "help set" test.
31839
31840 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31841
31842 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31843 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31844
31845 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31846
31847 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31848 necessary gdb_target_udi.
31849
31850 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31851
31852 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31853 1838 and 2417; they are fixed.
31854
31855 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31856 gdb.t03/ptype.exp (ptype structure, ptype union):
31857 Remove xfails; the test is looser than when the xfails were added.
31858
31859 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31860 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31861
31862 * gdb.t01/run.exp: Only run shell test if isnative.
31863
31864 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31865 since "run" automatically loads if necessary. Call gdb_target_udi
31866 after the "file" since "file" kills any execution target.
31867
31868 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31869 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31870 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31871 argument for UDI.
31872
31873 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31874
31875 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31876
31877 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31878
31879 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31880
31881 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31882 properly quoting regexps. This makes the second argument to
31883 demangle a fixed string, which matches the callers, instead of a
31884 shell-style pattern which is what the previous implementation
31885 used. Update some of the callers.
31886
31887 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31888
31889 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31890 (comib_nullified_tests): Fix typo.
31891 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31892 strings. No longer expected to fail.
31893
31894 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31895 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31896 strings. No longer expected to fail.
31897
31898 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31899 string. No longer expected to fail.
31900
31901 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31902
31903 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31904 No longer expected to fail.
31905
31906 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31907 string. No longer expected to fail.
31908
31909 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31910
31911 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31912 only in the names (I probably got most of them). I was even
31913 generous with some which differed in underscores in names, and
31914 probably missed a few, and I *still* was able to remove almost a
31915 third of the file with almost no impact on testsuite coverage.
31916
31917 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31918
31919 * gdb.t00/default.exp: Match udi_attach error message as well as
31920 the one from child_attach.
31921
31922 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31923
31924 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31925
31926 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31927 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31928
31929 * Move test with enums and partial symbols back to
31930 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31931 Reverts the change of 26 May 93. Per today's change to
31932 stabs.texinfo, the behavior that weird.exp was expecting was
31933 unreasonable; what is important is that the compiler+gdb get
31934 things right, which happens with a recent gcc. Also fix the test
31935 to deal with native compilers which put out the stab gdb can't
31936 deal with.
31937
31938 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31939
31940 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31941 in the names. The main thing these accomplish is to slow things down.
31942 Many more such duplicates surely remain.
31943
31944 * gdb.t00/help.exp: Comment out "help support" test just like
31945 (and for same reason as) "help set" test.
31946
31947 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31948
31949 * gdb.t06/break.exp: Remove setup_xfails for
31950 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31951 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31952 about known bug in gcc to include up through 2.5.8.
31953 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31954 well as "_vb$".
31955 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31956 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31957 with latest gcc and gdb.
31958 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31959 well as "_vb$".
31960
31961 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31962
31963 * configure.in (hppa*-*-*): Also configure and build stabs-only
31964 tests.
31965
31966 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31967
31968 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31969 * gdb.t10/configure.in (hppa*-*-*): Use it.
31970
31971 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31972
31973 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31974
31975 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31976
31977 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31978 versions prior to 1.13.5.
31979
31980 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31981
31982 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31983 the prompt is at the start of a line.
31984
31985 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31986
31987 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31988 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31989 in the copr tests now.
31990 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31991 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31992 expected to fail.
31993
31994 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31995
31996 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31997 gdb.t31/chillvars.exp, lib/gdb.exp:
31998 Tweak to run under either version of expect.
31999 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
32000 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
32001 * gdb.t11/list.exp: Remove extraneous whitespace.
32002
32003 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32004
32005 * gdb.t16/printcmds.exp (test_print_strings): Accept
32006 "(unsigned char *) " before the string.
32007
32008 * TODO: Add notes about printing of fancy types and GDB expressions.
32009
32010 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
32011
32012 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
32013 * gdb.t06/configure.in: Don't try to compile signals test program
32014 if doing mips-idt-ecoff.
32015
32016 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
32017
32018 * Most .exp files: Tweak to run under either version of expect.
32019
32020 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32021
32022 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
32023 xfails; I'm not sure why they are failing, but not because of PR 1806.
32024
32025 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
32026
32027 * config/unix-gdb.exp: Remove gdb_unload cause it's already
32028 defined in lib/gdb.exp.
32029
32030 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32031
32032 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
32033 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
32034 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
32035 have to be typeless.
32036
32037 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32038
32039 * TODO: Add suggestion for copyright year test.
32040
32041 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
32042
32043 * configure.in (*-*-lynxos*): Add stabs tests.
32044
32045 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32046
32047 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
32048 so insert a tab before any assembler directive in column zero.
32049
32050 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
32051 stores.
32052 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
32053 stores.
32054 (fpu_short_memory_tests): Likewise.
32055
32056 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32057
32058 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
32059 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
32060 .stabs directives in comments.
32061
32062 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32063
32064 * TODO: New file, describing tests we could write.
32065 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
32066
32067 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32068
32069 * gdb.t06/signals.exp: Add kludge to force re-sync.
32070
32071 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
32072 to xgdb instead of gdb, get out of gdb.
32073
32074 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
32075
32076 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
32077 for info.
32078
32079 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32080
32081 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
32082 * gdb.stabs/configure.in (hppa*-*-*): Use it.
32083 * gdb.stabs/hppa.sed: New sed script for the PA.
32084
32085 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32086
32087 * gdb.stabs: Re-write weird.def and configuration to use sed
32088 instead of cpp. sed is portable and POSIX; cpp is neither.
32089
32090 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32091
32092 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
32093
32094 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32095
32096 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
32097
32098 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32099
32100 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
32101 "_vb$".
32102 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
32103 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
32104
32105 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32106
32107 * lib/gdb.exp: Comment out code which depends on non-existent
32108 `transform' procedure.
32109
32110 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
32111
32112 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
32113 * lib/gdb.exp: Transform tool name.
32114 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
32115 1.1's new error handling system.
32116
32117 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32118
32119 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
32120
32121 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32122
32123 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
32124 They made pattern matching so slow that timeouts happened on
32125 heavily loaded systems. Now any output from "show print" which
32126 gets us back to the GDB prompt is a PASS.
32127
32128 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
32129
32130 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
32131
32132 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32133
32134 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
32135
32136 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
32137 It is not from PR 3220.
32138
32139 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32140
32141 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
32142 just started failing because they depended on the order the
32143 subcommands are presented, or exact docstring text. This kind of
32144 test is a pain and has minimal benefit.
32145
32146 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32147
32148 * gdb.t09/corefile.exp: At end of test, use "core" command with
32149 no arguments.
32150
32151 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
32152
32153 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
32154 17}/Makefile.in: Make it possible to run the testsuite with Sun
32155 make and CC = cross gcc by adding explicit build rules for .o
32156 files.
32157
32158 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32159
32160 * gdb.t15/funcargs.exp: Don't put comments on same line as
32161 setup_xfail (@#$*%& tcl braindamage!).
32162
32163 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32164
32165 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
32166
32167 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
32168
32169 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
32170 * gdb.t20/inherit.exp: remove three dumplicate entries.
32171
32172 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32173
32174 * gdb.t06/break.exp: For "next over recursive call", fail on any
32175 incorrect output, not just on "factorial (value=2)".
32176
32177 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32178
32179 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
32180 working now. Add an xfail if accesing a bss variable causes
32181 a memory error if the target is not yet run.
32182
32183 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32184
32185 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
32186 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
32187 name of __st* demangling (2 strings). Did Kung really get the
32188 more than 95 others right without testing them?
32189
32190 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
32191
32192 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
32193
32194 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
32195
32196 * configure.in (configdirs): Add gdb.disasm
32197 * gdb.disasm: New directory for GDB disassembler tests.
32198 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
32199
32200 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32201
32202 * gdb.t00/help.exp: Don't test "help set".
32203
32204 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
32205 from within expect statements. None of these happen anymore and
32206 they cause regressions to be silently unnoticed.
32207
32208 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
32209 messages) about known failures with gcc cygnus-2.4.5-930417.
32210
32211 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
32212 comp-info.exp so it gets built if it doesn't exist.
32213
32214 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
32215 it is no longer used.
32216 * gdb.t13/comp-info.c: Removed.
32217
32218 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32219
32220 * gdb.t06/signals.exp: Add xfail for sun3.
32221
32222 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32223
32224 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
32225 relevant because ^C doesn't get sent but failure can be reproduced
32226 interactively).
32227
32228 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32229
32230 * gdb.stabs/alpha.mt: New configuration file for alpha.
32231 * gdb.stabs/configure.in: Use it.
32232 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
32233 sharing with alpha.mt, redefine long to word via preprocessor.
32234 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
32235 for alpha.
32236 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
32237 native cc.
32238 * gdb.t00/teststrategy.exp: Change expect string so that we
32239 consume the `(xgdb)' from the command echo and from the gdb prompt.
32240 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
32241 gdb currently compares all values as long, so this failure probably
32242 applies to any configuration where LONGEST is bigger than a target int.
32243 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
32244 with gcc.
32245 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
32246 to handle opaque pointers, gcc is.
32247 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
32248 as first argument. Include <sys/types.h> and change all operator
32249 new definitions to use size_t.
32250 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
32251 now that we use size_t.
32252
32253 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32254
32255 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
32256 a long or float array cast all array members to the same type.
32257 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
32258 with 64 bit longs.
32259 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
32260 on alpha.
32261 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
32262
32263 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32264
32265 * gdb.t24 (demangle.exp): Constructors of templates have names like
32266 vector<int>::vector(int) not vector<int>::vector<int>(int). See
32267 section 14.6 of the ARM.
32268
32269 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
32270 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
32271 accomplish little and slow down the testsuite.
32272
32273 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
32274 Accept spaces various places.
32275
32276 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32277
32278 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
32279 with watchpoint enabled.
32280
32281 * Makefile.in: Remove definition of CC and remove the second
32282 definition of CXX (the "CXX = gcc" one remains). These definitions
32283 were causing backquotes to be expanded within backquotes, which
32284 doesn't work.
32285
32286 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
32287
32288 * gdb.t17/callfuncs.exp: Add "return 0" to end.
32289
32290 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32291
32292 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
32293 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
32294 by mips cc and contains no stabs entries.
32295
32296 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
32297
32298 * config/vx-gdb.exp: Use fake device to load files rather than
32299 NFS.
32300 * lib/gdb.exp: New proc to do "file" command.
32301 * config/unix-gdb.exp: Use new "file" proc.
32302
32303 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
32304
32305 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
32306 Rework board rebooting slightly.
32307 (gdb_exit): Don't exit from the remote shell; there isn't one.
32308 * gdb.stabs/weird.exp: If a program is being debugged already,
32309 kill it.
32310 * gdb.t04/setvar.exp: Stop and restart gdb.
32311 * gdb.t05/expr.exp: Likewise.
32312 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
32313 restart gdb and reload the program.
32314 * gdb.t08/opaque.exp: Likewise.
32315 * gdb.t12/scope.exp: Likewise.
32316 * gdb.t13/bitfields.exp: Likewise.
32317 * gdb.t15/funcargs.exp: Likewise.
32318 * gdb.t20/classes.exp: Likewise.
32319 * gdb.t03/ptype.exp: Increase timeout.
32320 * gdb.t16/printcmds.exp (test_print_string_constants,
32321 test_print_array_constants): Likewise.
32322 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
32323 * gdb.t20/classes.exp (do_tests): Likewise.
32324 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
32325
32326 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
32327
32328 * gdb.stabs: Renamed *wierd* to *weird*.
32329
32330 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32331
32332 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
32333 for timeout. Add "known gcc 2.4.5 bug" to failure message.
32334
32335 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32336
32337 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
32338 (do_tests): Remove xfail for whatis on one_var and two_var.
32339
32340 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
32341
32342 * Makefile.in: Made cross building work better by adding
32343 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
32344
32345 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32346
32347 * gdb.t15/{return.c,return.exp,Makefile.in}:
32348 New test, currently commented out.
32349
32350 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
32351
32352 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
32353 still running and removes the leftover named socket so GDb can do
32354 clean restarts.
32355
32356 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
32357
32358 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
32359 console, not GDB.
32360 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
32361 cross testing works better with "make check"
32362 * config/unix-gdb: Use default procedures for exit and version.
32363 * config/vx-gdb.exp: Cleaned up and massaged back to working order
32364 with the newest VxWorks.
32365
32366 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32367
32368 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
32369 old form.
32370
32371 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
32372 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
32373
32374 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
32375
32376 * config/unix-gdb.exp: Remove this version of gdb_exit
32377 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
32378 Rob says he'll look at it when he gets back to testing boards.
32379
32380 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
32381
32382 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
32383 an expected fail for certain ptype commands.
32384
32385 * gdb.t20/classes.exp: Update expected results of "ptype class
32386 Base1" to account for the constructor that now appears in the type.
32387
32388 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
32389
32390 * configure.in (configdirs): Restore gdb.t04, which mysteriously
32391 disappeared from list.
32392 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
32393 "alldone" proc with call to cleanup and exit.
32394 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
32395 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
32396 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
32397 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
32398 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
32399 "alldone" proc with simple returns that suppress remaining
32400 tests. The alldone proc went away many months ago.
32401
32402 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32403
32404 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
32405
32406 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
32407
32408 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32409
32410 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
32411 as vax gdb will display them.
32412
32413 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32414
32415 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
32416 optimizers.
32417
32418 * scope.exp: Change "bad value for localval" messages so each one
32419 is unique.
32420
32421 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
32422 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
32423
32424 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
32425
32426 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32427
32428 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
32429 doesn't exist (due to optimization).
32430
32431 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32432
32433 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
32434 contains \r because the filename is long.
32435
32436 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
32437 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
32438
32439 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32440
32441 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
32442 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
32443 Ultrix.
32444 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
32445 int tests.
32446 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
32447
32448 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
32449
32450 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
32451
32452 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
32453 to match does not match the passing case but still matches the
32454 failing case.
32455
32456 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32457
32458 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
32459
32460 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
32461
32462 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
32463 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
32464 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
32465 Remove various versions of gdb_exit.
32466 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
32467 gdb_exit.
32468 * config/unix-gdb.exp: gdb_exit remains here, and should override
32469 the generic version, since it's doing a lot of wierd stuff that
32470 the other versions aren't. FIXME, fold it in, or abandon this
32471 version.
32472
32473 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32474
32475 * gdb.t24/demangle.exp: Add tests for PR 3220.
32476
32477 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32478
32479 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32480
32481 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32482
32483 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32484 "i386-*-*". Works for i486 as well.
32485
32486 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32487 bug, and expand domain of xfail to all SVR4 systems, since the
32488 actual problem is likely to be in generic SVR4 /proc support.
32489
32490 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32491
32492 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32493
32494 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32495
32496 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32497 xfails for other systems. Match a missing 'Continuing.' as an
32498 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32499
32500 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32501 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32502 Only issue warning for missing executables if -all option is used.
32503
32504 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32505 file if -all option is used. It's like an unpredictable XFAIL.
32506
32507 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32508
32509 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32510 for dynamically linked binaries.
32511
32512 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32513
32514 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32515
32516 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32517 to state that this is a known bug in old versions of g++.
32518
32519 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32520
32521 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32522 while waiting for `Continuing'.
32523
32524 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32525
32526 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32527 in text, data, and bss.
32528 * gdb.t10/nodebug.c: Add local and global test variables for
32529 initialized and uninitialized data.
32530
32531 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32532
32533 * config/unix-gdb.exp (gdb_exit): Add "wait".
32534
32535 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32536
32537 * gdb.t06/signals.exp: xfail the continue from the handler for all
32538 targets.
32539
32540 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32541 function with watchpoints enabled, the i386 call dummy starts with
32542 a call.
32543
32544 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32545 386 bsd names its corefiles.
32546
32547 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32548
32549 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32550 compilers don't grok it.
32551 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32552 with small octal ints rather than character constants, which
32553 are signed and might not fit if first promoted to int.
32554
32555 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32556
32557 * gdb.t09/Makefile.in (clean): Remove corefile.
32558
32559 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32560
32561 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32562
32563 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32564 and Jim Kingdon (kingdon@cygnus.com)
32565
32566 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32567 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32568 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32569
32570 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32571
32572 * gdb.t17/interrupt.exp: Add xfail for hppa.
32573
32574 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32575
32576 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32577 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32578 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32579 to determine signed-ness of bitfields and use the result to setup
32580 the xfail.
32581 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32582 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32583 call line is reached if necessary.
32584
32585 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32586
32587 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32588
32589 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32590
32591 * gdb.t06/break.exp: Also test `clear' command.
32592
32593 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32594
32595 * gdb.t00/teststrategy.exp: Remove extra quote.
32596
32597 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32598 watchpoint enabled to be for all non-68k machines.
32599
32600 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32601
32602 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32603
32604 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32605 targets use aout.mt instead of ecoff.mt as gas understands
32606 standard aout format.
32607
32608 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32609
32610 * lib/gdb.exp (runto): Don't insist that function we are running to
32611 was compiled with -g.
32612
32613 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32614
32615 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32616 to get back into the read system call.
32617 Accept leading newline in case where we woke it up.
32618
32619 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32620
32621 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32622 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32623 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32624 enable ecoff configuration.
32625
32626 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32627
32628 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32629
32630 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32631
32632 * gdb.t16/printcmds.exp: Add another printf test.
32633
32634 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32635
32636 * configure.in: If configured -with-stabs on any target, add
32637 stabsdirs to configdirs.
32638
32639 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32640
32641 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32642 fun" so pattern does not match the command itself.
32643
32644 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32645
32646 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32647
32648 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32649
32650 * gdb.t17/interrupt.exp: Test for more things.
32651
32652 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32653
32654 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32655 compiler arranges the code and line numbers.
32656
32657 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32658
32659 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32660
32661 * gdb.t00/help.exp: Increase expect input buffer size.
32662
32663 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32664
32665 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32666
32667 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32668
32669 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32670
32671 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32672 [0-9]*, not just [0-9].
32673
32674 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32675
32676 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32677
32678 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32679
32680 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32681
32682 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32683
32684 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32685
32686 * gdb.t06/signals.c: Add xfails for sun3.
32687
32688 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32689
32690 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32691 test_stepping tests.
32692
32693 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32694
32695 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32696
32697 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32698
32699 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32700 rather than actually putting it through cpp twice.
32701
32702 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32703
32704 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32705
32706 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32707 no longer needed.
32708
32709 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32710
32711 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32712
32713 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32714 C++ features prints as "struct", make it a pass, not an xfail.
32715
32716 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32717
32718 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32719 Don't require VA to print as "class" rather than "struct".
32720
32721 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32722
32723 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32724
32725 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32726
32727 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32728
32729 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32730
32731 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32732 order.
32733
32734 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32735
32736 * gdb.t16/printcmds.exp: Add printf tests.
32737
32738 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32739
32740 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32741
32742 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32743
32744 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32745 pass counts, to counteract any existing or future setup_xfails.
32746
32747 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32748
32749 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32750 {BEGIN,END}_COMMON for common block instead of STAB.
32751 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32752
32753 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32754 intp_var should be N_GSYM not N_LSYM.
32755 wierd-aout.S: Use a label for the value of the N_SO.
32756 wierd.def: Remove all backslashes.
32757 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32758
32759 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32760
32761 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32762 get the expected next to inheritance3.
32763
32764 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32765
32766 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32767 now that gcc-2.4 gets it right.
32768
32769 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32770
32771 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32772
32773 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32774 generating comp-info.exp which works for cross-compilation.
32775
32776 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32777
32778 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32779 "*-*-sysv4.*".
32780
32781 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32782
32783 * gdb.t01/run.exp: Start with a fresh gdb.
32784 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32785 SVR4.x.
32786
32787 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32788
32789 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32790 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32791 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32792 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32793 things to remove.
32794
32795 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32796
32797 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32798 test cases from bug reports.
32799
32800 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32801
32802 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32803 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32804 avoid spurious xfails.
32805 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32806 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32807 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32808
32809 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32810
32811 * gdb.t00/teststrategy.exp: Rework to provide more useful
32812 description of each test, fix problem with systems that define
32813 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32814 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32815 results for "next over recursive call" so timeouts aren't taken
32816 by error.
32817
32818 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32819
32820 * gdb.t12/scope.exp: Test printing of variables before run.
32821
32822 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32823 printed in wrong order due to sorting.
32824
32825 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32826
32827 * gdb.t00/teststrategy.exp: Fix expected results for printing
32828 user entered string constant. Is array of char, prints with no
32829 address.
32830
32831 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32832 commands.
32833 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32834 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32835 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32836 of struct of char arrays.
32837 * gdb.t00/radix.exp: New tests for radix commands.
32838
32839 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32840
32841 * gdb.t16/printcmd.exp: Print a variable before running program
32842 (with xfail for AIX).
32843
32844 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32845
32846 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32847
32848 * gdb.t16/printcmd.exp: Don't print variables before running program.
32849
32850 * gdb.t06/break.exp: Don't require envp argument to main.
32851
32852 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32853
32854 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32855 Add xfails for rs6000.
32856
32857 * gdb.t02/whatis.exp: Change other tests not to re-test something
32858 we already tested.
32859
32860 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32861 each type used has a variable of that type.
32862
32863 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32864
32865 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32866
32867 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32868
32869 * configure.in: change srctrigger to be a file, not a directory
32870
32871 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32872
32873 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32874
32875 * gdb.t11/list.exp: Fixed a couple of typos.
32876
32877 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32878
32879 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32880 is fixed and PR is closed.
32881 * gdb.t16 (gdbme.c): Add simple test string variable.
32882 * gdb.t16 (printcmds.exp): Add tests with simple test string
32883 variable, primarily for boundaries on "set print elements".
32884
32885 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32886
32887 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32888 Make leading 0's optional and don't expect a tab in the middle
32889 of the number.
32890
32891 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32892
32893 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32894 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32895 don't end command passed to gdb_test with newline.
32896
32897 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32898 signed keyword away, don't expect signed bitfields to be signed.
32899
32900 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32901 printing with only as many 1's as are in the field as well as printing
32902 with 32 1's (see comment).
32903
32904 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32905
32906 * gdb.t00/default.exp: Start with a fresh gdb.
32907 * configure.in (configdirs): Remove gdb.t31 until the chill
32908 compiler works again. It no longer is able to find chillrt0
32909 since it isn't in libchill.a anymore.
32910 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32911 wierd.o, make more modular.
32912 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32913 spurious newlines that caused problems.
32914
32915 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32916
32917 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32918 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32919 gdb.stabs/wierd.{exp,def}: Many new tests.
32920
32921 * gdb.t00/default.exp: update info line for new message.
32922
32923 * gdb.t02/{whatis.exp,gdbme.c}:
32924 Test that "char *" doesn't print as "caddr_t".
32925
32926 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32927
32928 * gdb.t00/help.exp: Use .* in place of some help messages which
32929 just changed.
32930 gdb.t00/default.exp: Update "info frame" test for new message.
32931 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32932 Remove some xfails
32933
32934 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32935
32936 * gdb.t03/{gdbme.c,ptype.exp}:
32937 Add tests for typedef'd struct and union without tags.
32938 Also check "whatis" on a variable of a typedef'd enum without a tag.
32939
32940 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32941 PRMS 1823; the bug still exists but isn't reproduced by this test
32942 anymore), and remove rs6000 XFAIL (the bug is fixed).
32943
32944 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32945 duplicated from whatis.exp. For those that are left, accept
32946 "long", "long int", or "int" for long variables (whatis.exp already
32947 has an XFAIL for "int", so no need to fail it here).
32948
32949 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32950 Deal with GCC's names for types now that GDB uses the compiler's names.
32951
32952 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32953 setup_xfail's for sunos4. If we #defined the signed keyword away,
32954 don't expect GDB to know that char it is signed.
32955
32956 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32957
32958 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32959
32960 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32961 should work on any system, regardless of debugging format.
32962 * gdb.t21/demangle.exp: Move to gdb.t24.
32963 * gdb.t24/demangle.exp: Move from gdb.t21.
32964 * gdb.t24/{Makefile.in, configure.in}: New files.
32965
32966 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32967
32968 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32969 * gdb.stabs: New directory.
32970
32971 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32972
32973 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32974 not just "Quit anyway?".
32975
32976 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32977
32978 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32979 that all setup_xfails are immediately followed by clear_xfails.
32980
32981 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32982
32983 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32984 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32985 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32986 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32987 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32988 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32989 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32990 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32991 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32992 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32993 gdb.t31/chillvars.exp, lib/gdb.exp:
32994 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32995 bug-gdb@prep.ai.mit.edu.
32996
32997 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32998
32999 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
33000 with 0.0, not integer 0.
33001
33002 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
33003
33004 * gdb.t06/break.exp: Update for "Kill the program" message change.
33005
33006 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
33007
33008 * Makefile.in (GDBFLAGS): Set to -nx.
33009 * Makefile.in (site.exp): Use GDBFLAGS.
33010
33011 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33012
33013 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
33014 Makefiles.
33015 (check): depend on just-check.
33016 (just-check): added so that tests can be run without a noop
33017 build pass.
33018
33019 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33020
33021 Switch to using configure's configdirs.
33022 * Makefile.in (Makefile): add configure.in dependency.
33023 (SUBDIRS): removed redundant assignment.
33024 * configure.in: switch subdirs assignment to configdirs.
33025 * gdb.t*/configure.in: new files.
33026
33027 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
33028
33029 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
33030 works.
33031
33032 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
33033
33034 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
33035 in explicit rules. Apparently this is not supported by some makes.
33036
33037 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
33038
33039 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
33040
33041 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33042
33043 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
33044 disappeared.
33045
33046 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
33047
33048 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
33049
33050 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
33051
33052 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
33053 watchpoint problem that is now fixed.
33054 * gdb.t30/chexp.exp: Remove setup_xfail for printing
33055 uninitialized convenience variables.
33056 * gdb.t31/chillvars.exp: Fix expected patterns for printing
33057 structures.
33058
33059 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33060
33061 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
33062 which causes expect to get out of sync with gdb on long output
33063 from help set.
33064 * gdb.t09/corefile.exp: Make expected pattern for core file
33065 failing signal and frame output format less sun specific.
33066
33067 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
33068
33069 * gdb.t31/chillvars.exp: Add and remove initial dummy
33070 breakpoint, so that symbol table is forced in.
33071 (Needed at least on Sunos4, though it seems not SVR4.)
33072 * gdb.t31/chillvars.exp: Update for changed output format.
33073
33074 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
33075
33076 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
33077
33078 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
33079
33080 * Makefile.in: Added --srcdir when invoking runtest, removed the
33081 need for a local config file. (optional now)
33082
33083 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
33084
33085 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
33086 failure count used to force early termination. Add some more
33087 expected failures for gnu style demangling.
33088
33089 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33090
33091 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
33092 pmi variable from gdb.t20/gdbme to get optimized away.
33093 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
33094 Check for written corefile upon timeout _and_ eof.
33095
33096 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33097
33098 * config/unix-gdb.exp: Add missing return 0.
33099
33100 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33101
33102 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
33103 test termination.
33104
33105 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
33106
33107 * configure.in (subdirs): Put back gdb.t17 which mysteriously
33108 disappeared.
33109
33110 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
33111
33112 * gdb.t10/crossload.exp: Disable the i860-elf test until such
33113 time as i860 support works.
33114
33115 * gdb.t15/funcargs.exp: Fix expected outputs to include
33116 "backtrace 100\r" rather than just "backtrace\r", to match last
33117 change.
33118
33119 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
33120
33121 * config/udi-gdb.exp (gdb_exit): Remove close command.
33122 (gdb_target_udi): New procedure to set the UDI target.
33123 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
33124 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
33125 Added waits for prompts after several question responses. Added
33126 some more responses used by a29k-amd-udi-gdb.
33127 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
33128 pass different arguments, restart UDI connection after program
33129 completion.
33130 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
33131 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33132 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
33133 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
33134 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
33135 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
33136 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33137 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
33138 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
33139 after program completion.
33140 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
33141 compiled with a SELECT_VECS setting.
33142 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
33143 infinite recursion.
33144
33145 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
33146 Added checks for COFF results, and made them expected failures for
33147 all targets. It would be better to make them expected failures
33148 for COFF targets only.
33149
33150 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
33151
33152 * Makefile.in: add null dvi target, don't bother to recurse
33153 through test directories for info and install-info; rename
33154 $(datadir) to be dejagnu instead of deja-gnu
33155
33156 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
33157
33158 * gdb.t31/gdbme.ch: Re-enable code that previously caused
33159 compiler to coredump.
33160 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
33161 code.
33162
33163 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
33164
33165 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
33166 coredump.
33167 * gdb.t31/chillvars.exp: Comment out tests that depend on that
33168 code.
33169
33170 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
33171
33172 * gdb.t03/ptype.exp: tests for return code from gdb_test.
33173 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
33174 which in a shell. Deletes xgdb when done.
33175 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
33176 Tests the return from the "set height" or "set width" commands.
33177 Added a few return codes where needed.
33178
33179 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
33180
33181 * Makefile.in (SUBDIRS): Add gdb.t17.
33182 * configure.in (subdirs): Add gdb.t17.
33183 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
33184 files to test gdb's calling of functions in the inferior with
33185 the correct arguments and gdb's ability to retrieve any
33186 result returned.
33187
33188 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
33189
33190 * config/unix-gdb.exp (gdb_exit): Remove close commands that
33191 may be called after gdb goes away. Previous versions of expect
33192 needed these to avoid file descriptor leaks, but they cause
33193 errors with the current revision of expect.
33194 * gdb.t00/gdbvars.exp: Use -re on expected output after
33195 setting sevenbit-strings.
33196 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
33197 to set sevenbit-strings consistent across tests.
33198 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
33199 set sevenbit-strings consistent across tests.
33200
33201 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
33202
33203 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
33204 expected output to match current "expect" expectations.
33205
33206 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
33207
33208 * gdb.t00/default.exp: Change expected output for default "source"
33209 command, to match new gdb behavior which requires a filename to
33210 source.
33211
33212 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
33213
33214 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
33215 expected fail for i486-*-* that misses the marker2 function.
33216 * gdb.t10/crossload.exp (bfddefault): Allow successful
33217 recognition of a format to pass even if no symbols are found.
33218 Explicitly catch failures where the format is not recognized
33219 or is ambiguous, and add the reason to the fail message.
33220 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
33221 the cause is and invalid target and add reason to failure message.
33222 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
33223 elf32-i386, elf32-sparc, and elf32-i860.
33224 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
33225 Set up expected failure for 'filename'::variable scope resolution,
33226 which is now apparently broken on all targets.
33227 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
33228 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
33229 gdb.t23/templates.exp: Change failure for missing binfile into
33230 just a warning.
33231 gdb.t21/demangle.exp: Change all cfront references to 'arm'
33232 references.
33233
33234 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
33235
33236 * gdb.t00/default.exp: Add expected output for default "source"
33237 command, to match new gdb behavior.
33238 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
33239
33240 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
33241
33242 * config/*-gdb.exp: returns an error, rather than exiting on
33243 internal errors.
33244
33245 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
33246
33247 * gdb.t03/gdbme.c: Add pointer to struct variable.
33248 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
33249 referencing struct members.
33250
33251 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
33252
33253 * configure.in (mips-idt-ecoff): New target.
33254 * config/mips-gdb.exp: New file for remote board using MIPS remote
33255 debugging protocol.
33256
33257 * Redid configuration scheme. Removed gdb.t*/configure.in.
33258 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
33259 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
33260 distclean targets. Built executables via .o files. Adjusted
33261 tests to account for source files in $(srcdir) rather than
33262 $(objdir).
33263 * lib/gdb.exp (runto): Don't expect () after the function name,
33264 because it may have arguments.
33265
33266 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
33267
33268 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
33269 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
33270 expected failures for mips-idt-* and mips-sgi-*.
33271 * gdb.t00/default.exp (attach): Kill process if requested.
33272 * gdb.t00/help.exp (help target core, help target): Accept a gdb
33273 that does not read core files.
33274 * gdb.t01/run.exp: Removed checks for exit status code.
33275 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
33276 it is linked in.
33277 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
33278 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
33279 appropriate, rather than doing it by hand.
33280 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
33281 execution.
33282 * gdb.t10/crossload.exp: Kill existing program if needed.
33283 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
33284 appropriate, rather than doing it by hand. Always increase
33285 timeout for this test, not just for VxWorks.
33286
33287 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
33288
33289 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
33290 of Chill STRUCT types and STRUCT values.
33291 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
33292 than "char".
33293 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
33294 struct2): New struct definitions and initializations to test
33295 simple Chill STRUCT types.
33296
33297 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
33298
33299 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
33300 the null byte at the end of strings.
33301 * gdb.t00/default.exp: Make show version insensitive to copyright
33302 date.
33303 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
33304 to avoid dependencies on target char signedness.
33305 * gdb.t16/printcmds.exp: Update expected results for explicitly
33306 unsigned char.
33307 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
33308 now work.
33309 * gdb.t21/demangle.exp: Add many more patterns for template
33310 demangling, most of them being expected failures.
33311 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
33312 string we are matching for, to match on the whole string.
33313 * gdb.t21/demangle.exp: Add many new test strings to demangle,
33314 and fix a whole bunch that had incorrect expected output but were
33315 passing anyway because of the bug in "proc demangle".
33316 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
33317 type.
33318 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
33319
33320 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
33321
33322 * gdb/testsuite: made modifications to testcases, etc., to allow
33323 them to work properly given the reorganization of deja-gnu and the
33324 relocation of the testcases from deja-gnu to a "tool" subdirectory.
33325
33326 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
33327
33328 * gdb/testsuite: Initial creation of gdb/testsuite.
33329 Migrated dejagnu testcases and support files for testing nm to
33330 gdb/testsuite from deja-gnu. These files were moved "as is"
33331 with no modifications. This migration is part of a major overhaul
33332 of dejagnu. The modifications to these testcases, etc., which
33333 will allow them to work with the new version of dejagnu will be
33334 made in a future update.
33335
33336 For additional changes see gdb.mi/ChangeLog-1999-2003.
33337 \f
33338 ;; Local Variables:
33339 ;; mode: change-log
33340 ;; left-margin: 8
33341 ;; fill-column: 74
33342 ;; version-control: never
33343 ;; End:
33344
33345 Copyright 1993-2013 Free Software Foundation, Inc.
33346 Copying and distribution of this file, with or without modification,
33347 are permitted provided the copyright notice and this notice are preserved.
This page took 0.761413 seconds and 5 git commands to generate.