2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
2
3 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
4
5 2013-11-06 Doug Evans <dje@sebabeach.org>
6
7 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
8
9 2013-11-06 Yao Qi <yao@codesourcery.com>
10
11 * lib/gdb.exp (gdb_produce_source): New procedure.
12 * gdb.perf/solib.c: New.
13 * gdb.perf/solib.exp: New.
14 * gdb.perf/solib.py: New.
15
16 2013-11-06 Yao Qi <yao@codesourcery.com>
17
18 * README: Mention performance tests.
19
20 2013-11-06 Yao Qi <yao@codesourcery.com>
21
22 * lib/perftest.exp: New.
23 * gdb.perf/lib/perftest/__init__.py: New.
24 * gdb.perf/lib/perftest/measure.py: New.
25 * gdb.perf/lib/perftest/perftest.py: New.
26 * gdb.perf/lib/perftest/reporter.py: New.
27 * gdb.perf/lib/perftest/testresult.py: New.
28
29 2013-11-06 Yao Qi <yao@codesourcery.com>
30
31 * Makefile.in (check-perf): New target.
32 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
33 * configure: Re-generated.
34 * gdb.perf/Makefile.in: New.
35
36 2013-11-04 Tom Tromey <tromey@redhat.com>
37
38 * Makefile.in (TEST_DIRS): Remove.
39 (TEST_TARGETS, check-parallel): Rewrite.
40 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
41 (subdir_do, subdirs): Remove.
42 (do-check-parallel, check/%): New targets.
43 (clean): Remove outputs, temp, and cache directories.
44 (saw_dash_j): New variable.
45 (CHECK_TARGET): Use it.
46 (check): Depend on all, site.exp. Rewrite.
47 (check-single): Remove dependencies.
48 (slow_tests, all_tests, reordered_tests): New variables.
49
50 2013-11-04 Tom Tromey <tromey@redhat.com>
51
52 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
53 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
54 before loading binfile.
55 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
56 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
57 before loading binfile.
58
59 2013-11-04 Tom Tromey <tromey@redhat.com>
60
61 * gdb.base/foll-exec.c (main): Use BASEDIR.
62 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
63 * gdb.base/foll-vfork.c (main): Use BASEDIR.
64 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
65 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
66 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
67
68 2013-11-04 Tom Tromey <tromey@redhat.com>
69
70 * gdb.base/argv0-symlink.exp: Compute executable's directory
71 dynamically.
72
73 2013-11-04 Tom Tromey <tromey@redhat.com>
74
75 * gdb.asm/asm-source.exp: Use standard_output_file.
76
77 2013-11-04 Tom Tromey <tromey@redhat.com>
78
79 * gdb.server/file-transfer.exp: Use standard_output_file.
80
81 2013-11-04 Tom Tromey <tromey@redhat.com>
82
83 * gdb.base/fullname.exp: Use standard_output_file,
84 relative_filename.
85 * gdb.base/hashline1.exp: Use standard_testfile,
86 standard_output_file, relative_filename, clean_restart.
87 * gdb.base/hashline2.exp: Use standard_testfile,
88 standard_output_file.
89 * gdb.base/hashline3.exp: Use standard_testfile,
90 standard_output_file, relative_filename.
91 * lib/gdb.exp (relative_filename): New proc.
92
93 2013-11-04 Tom Tromey <tromey@redhat.com>
94
95 * gdb.base/fileio.c (test_open, test_write, test_read)
96 (test_lseek, test_close, test_stat, test_fstat)
97 (test_isatty, test_system, test_rename, test_unlink):
98 Use OUTDIR define.
99 * gdb.base/fileio.exp: Define OUTDIR during compilation.
100 Use standard_output_file.
101
102 2013-11-04 Tom Tromey <tromey@redhat.com>
103
104 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
105 defines.
106 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
107 compilation. Use prepare_for_testing, standard_output_file.
108
109 2013-11-04 Tom Tromey <tromey@redhat.com>
110
111 * gdb.base/advance.exp: Use standard_testfile and
112 prepare_for_testing.
113 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
114 appropriate directory when local.
115 * gdb.base/dump.exp: Use standard_output_file. Update all
116 "dump" and "restore" filenames.
117 * gdb.base/interact.exp: Use standard_output_file.
118 * gdb.base/jit-so.exp: Don't download file when local.
119 * gdb.base/jit.exp (compile_jit_test): Don't download file
120 when local.
121 * gdb.base/list.exp: Use gdb_remote_download.
122 * gdb.base/maint.exp: Use standard_output_file.
123 * gdb.base/prelink.exp: Use standard_output_file.
124 * gdb.base/save-bp.exp: Use standard_output_file.
125 * gdb.base/sepdebug.exp: Use standard_testfile,
126 standard_output_file.
127 (test_different_dir): Don't declare objdir.
128 * gdb.base/solib-search.exp: Use standard_output_file.
129 * gdb.base/step-line.exp: Use gdb_remote_download.
130 * gdb.base/trace-commands.exp: Use standard_output_file.
131
132 2013-11-04 Tom Tromey <tromey@redhat.com>
133
134 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
135 to compilation. Use standard_output_file.
136 (test_tfind_tfile): Update.
137 * gdb.trace/tfile.c (write_basic_trace_file)
138 (write_error_trace_file): Use TFILE_DIR.
139 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
140 standard_output_file.
141
142 2013-11-04 Tom Tromey <tromey@redhat.com>
143
144 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
145 Use "dwarf2 always-disassemble" for the "maint set" test.
146 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
147 standard_output_file.
148 * gdb.mi/mi-logging.exp: Use standard_output_file.
149
150 2013-11-04 Tom Tromey <tromey@redhat.com>
151
152 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
153 downloads conditional on remote host.
154 (set_arch): Likewise.
155 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
156 (load_description): Use standard_output_file.
157
158 2013-11-04 Tom Tromey <tromey@redhat.com>
159
160 * gdb.gdb/selftest.exp: Use standard_output_file.
161 * lib/selftest-support.exp (do_self_tests): Use
162 standard_output_file.
163
164 2013-11-04 Tom Tromey <tromey@redhat.com>
165
166 * gdb.stabs/weird.exp: Use gdb_remote_download and
167 standard_output_file.
168
169 2013-11-04 Tom Tromey <tromey@redhat.com>
170
171 * gdb.base/gcore-buffer-overflow.exp: Use
172 standard_output_file, not standard_testfile.
173 * gdb.base/twice.exp: Use standard_testfile, not
174 standard_output_file. Use gdb_remote_download.
175
176 2013-11-04 Tom Tromey <tromey@redhat.com>
177
178 * lib/gdb.exp (get_compiler_info): Use log_file -info and
179 restore from that.
180
181 2013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
182
183 * gdb.cp/derivation.exp: s/perrro/perror/
184
185 2013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
186
187 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
188 `debugdir'.
189
190 2013-10-31 Andrew Burgess <aburgess@broadcom.com>
191
192 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
193 tests and update expected error message.
194 (test_watch_register_location): New tests.
195 (do_tests): Call test_watch_register_location.
196 * gdb.base/watchpoints.exp: Update expected error message.
197
198 2013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
199
200 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
201 the patterns in gdb_test_multiple.
202
203 2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
204
205 * gdb.base/sym-file-lib.c: New file.
206 * gdb.base/sym-file-loader.c: New file.
207 * gdb.base/sym-file-loader.h: New file.
208 * gdb.base/sym-file-main.c: New file.
209 * gdb.base/sym-file.exp: New file.
210 * lib/gdb.exp (is_elf_target): New function.
211
212 2013-10-29 Pedro Alves <palves@redhat.com>
213
214 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
215 variable setting change-log-default-name to ChangeLog-mi.
216
217 2013-10-29 Andrew Burgess <aburgess@broadcom.com>
218
219 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
220 Expect <unavailable> pattern.
221
222 2013-10-28 Tom de Vries <tom@codesourcery.com>
223
224 * gdb.arch/thumb2-it.S (it_8): Fix typo.
225
226 2013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
227
228 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
229 remote stubs where exit() behaviour is unreliable.
230
231 2013-10-25 Pedro Alves <palves@redhat.com>
232
233 * gdb.cp/m-static.exp: Adjust expected output of printing a
234 nonexistent or optimized out static field. Also test printing the
235 the "container" object.
236
237 2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
238
239 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
240 if in the persistent mode.
241 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
242
243 2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
244
245 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
246 support core file generation" reply.
247
248 2013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
249
250 PR gdb/15986
251 * gdb.base/run.c (main): gdb_get_line_number tag added for
252 commands.exp.
253 (factorial): Likewise.
254
255 * gdb.base/commands.exp (watchpoint_command_test): Use
256 gdb_get_line_number in order to determine the locations in run.c
257 where local_var is detected to go out of scope.
258
259 2013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
260
261 * gdb.base/gnu_vector.exp: Care about endianness when casting
262 scalars to vectors.
263
264 2013-10-18 Tom Tromey <tromey@redhat.com>
265
266 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
267 of "binfile".
268
269 2013-10-18 Andrew Burgess <aburgess@broadcom.com>
270
271 * gdb.base/watchpoints.exp: Add test for setting software
272 watchpoints of different types before starting the inferior.
273
274 2013-10-18 Pedro Alves <palves@redhat.com>
275
276 PR gdb/16062
277 * gdb.threads/stepi-random-signal.c: New file.
278 * gdb.threads/stepi-random-signal.exp: New file.
279
280 2013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
281
282 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
283 Fix comment typo.
284 * lib/gdb.exp (gdb_init): Likewise.
285
286 2013-10-17 Tom Tromey <tromey@redhat.com>
287
288 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
289
290 2013-10-14 Tom Tromey <tromey@redhat.com>
291
292 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
293 name to gdb_test_no_output.
294
295 2013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
296
297 Canonicalize directories for EXEC_FILENAME.
298 * gdb.base/argv0-symlink.exp
299 (kept file symbolic link name for info inferiors): New.
300 (kept directory symbolic link name): Setup kfail.
301 (kept directory symbolic link name for info inferiors): New.
302
303 2013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
304
305 * gdb.arch/s390-multiarch.exp: New file.
306 * gdb.arch/s390-multiarch.c: New file.
307
308 2013-10-11 Joel Brobecker <brobecker@adacore.com>
309
310 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
311 use the appropriate GDB/MI command instead, and verify
312 the test output.
313
314 2013-10-11 Joel Brobecker <brobecker@adacore.com>
315
316 * gdb.base/source-nofile.gdb: New file.
317 * gdb.base/source.exp: Add two tests verifying the behavior when
318 the "source" command is given a non-existant filename.
319
320 2013-10-11 Yao Qi <yao@codesourcery.com>
321
322 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
323 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
324 and 'dlclose'.
325 [!__WIN32__]: Include "dlfcn.h".
326 * gdb.mi/mi-catch-load.exp: Set up kfail.
327
328 2013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
329
330 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
331 generated corefile" by argument "$test".
332
333 2013-10-09 Pedro Alves <palves@redhat.com>
334
335 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
336 output.
337
338 2013-10-09 Pedro Alves <palves@redhat.com>
339
340 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
341 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
342 (test_catch_syscall_with_wrong_args)
343 (test_catch_syscall_restarting_inferior)
344 (test_catch_syscall_fail_nodatadir)
345 (test_catch_syscall_without_args_noxml)
346 (test_catch_syscall_with_args_noxml)
347 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
348
349 2013-10-08 Tom Tromey <tromey@redhat.com>
350
351 * gdb.dwarf2/dwzbuildid.exp: New file.
352 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
353 parameters.
354 (Dwarf::_defer_output): Change "section" parameter to
355 "section_spec"; update.
356 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
357 procs.
358
359 2013-10-08 Joel Brobecker <brobecker@adacore.com>
360
361 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
362
363 2013-10-07 Tom Tromey <tromey@redhat.com>
364
365 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
366 to 0.
367
368 2013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
369
370 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
371 $_exitcode is void when opening a corefile.
372 * gdb.base/exitsignal.exp: New file.
373 * gdb.base/segv.c: Likewise.
374 * gdb.base/normal.c: Likewise.
375
376 2013-10-04 Joel Brobecker <brobecker@adacore.com>
377
378 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
379
380 2013-10-02 Vidya Praveen <vidyapraveen@arm.com>
381
382 * gdb.trace/entry-values.exp: Modify regular expression to scan for
383 'bl' instruction instead of 'call' for ARM and AArch64 targets.
384
385 2013-10-02 Pedro Alves <palves@redhat.com>
386
387 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
388 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
389 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
390 (not_saved_pattern): New.
391 Replace use of the former with the latter.
392
393 2013-10-02 Pedro Alves <palves@redhat.com>
394
395 * README (Board Settings): Document "exit_is_reliable".
396 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
397 running to exit reliably reports program exits.
398 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
399 info.
400 * boards/native-stdio-gdbserver.exp: Likewise.
401
402 2013-10-01 Doug Evans <dje@google.com>
403
404 * gdb.python/python.exp: Remove redundant print-stack tests.
405 Make all print-stack test names unique. Fix spelling of print-stack.
406
407 2013-09-29 Yao Qi <yao@codesourcery.com>
408
409 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
410 is remote.
411
412 2013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
413
414 PR shlibs/8882
415 * gdb.base/corefile.exp: Add a check to assure warning-free
416 core-file load.
417
418 2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
419
420 * gdb.dwarf2/dwp-symlink.c: New file.
421 * gdb.dwarf2/dwp-symlink.exp: New file.
422
423 2013-09-20 Doug Evans <dje@google.com>
424
425 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
426 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
427 file.
428 * gdb.dwarf2/fission-loclists.S: Ditto.
429 * gdb.dwarf2/fission-reread.S: Ditto.
430 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
431 build_executable_from_fission_assembler.
432 * gdb.dwarf2/fission-loclists.exp: Ditto.
433 * gdb.dwarf2/fission-reread.exp: Ditto.
434
435 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
436 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
437 (gdb_gnu_strip_debug): Ditto.
438 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
439 * gdb.arch/altivec-abi.exp: Ditto.
440 * gdb.base/attach-pie-misread.exp: Ditto.
441 * gdb.base/comprdebug.exp: Ditto.
442 * gdb.base/dup-sect.exp: Ditto.
443 * gdb.base/gnu-debugdata.exp: Ditto.
444 * gdb.base/step-symless.exp: Ditto.
445 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
446 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
447 * gdb.dwarf2/gdb-index.exp: Ditto.
448
449 2013-09-18 Andrew Burgess <aburgess@broadcom.com>
450
451 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
452 register to "<optimized out>", and also print the registers.
453
454 2013-09-18 Pedro Alves <palves@redhat.com>
455
456 PR server/15967
457 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
458 change text.
459
460 2013-09-18 Yao Qi <yao@codesourcery.com>
461
462 * gdb.server/wrapper.c: New.
463 * gdb.server/wrapper.exp: New.
464
465 2013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
466 Jan Kratochvil <jan.kartochvil@redhat.com>
467 Pedro Alves <palves@redhat.com>
468
469 PR gdb/11568
470 * gdb.thread/thread-specific-bp.c: New file.
471 * gdb.thread/thread-specific-bp.exp: New file.
472
473 2013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
474
475 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
476 convenience function.
477
478 2013-09-17 Pedro Alves <palves@redhat.com>
479
480 PR gdb/15911
481 * gdb.threads/info-threads-cur-sal-2.c: New file.
482 * gdb.threads/info-threads-cur-sal.c: New file.
483 * gdb.threads/info-threads-cur-sal.exp: New file.
484
485 2013-09-17 Yao Qi <yao@codesourcery.com>
486
487 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
488 [__WIN32__]: Include "windows.h" and define macro dlopen
489 and dlclose.
490 [!__WIN32__]: Include "dlfcn.h".
491 * gdb.base/catch-load.exp (one_catch_load_test): Match
492 directory separator.
493
494 2013-09-16 Doug Evans <dje@google.com>
495
496 * lib/gdb.exp (using_fission): New proc.
497 * gdb.base/info-macros.exp: Skip test if using Fission.
498
499 * gdb.base/break-interp.exp: Fix indentation.
500
501 2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
502
503 * gdb.base/gdbvars.c (foo_void): New function.
504 (foo_int): Likewise.
505 * gdb.base/gdbvars.exp (test_convenience_functions): New
506 function. Call it.
507
508 2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
509
510 * gdb.arch/s390-tdbregs.c: New file.
511 * gdb.arch/s390-tdbregs.exp: New file.
512
513 2013-09-12 Stan Shebs <stan@codesourcery.com>
514
515 * README: New file.
516
517 2013-09-12 Doug Evans <dje@google.com>
518
519 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
520 added code to print event.inferior.
521
522 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
523
524 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
525 debug part of the binary.
526
527 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
528
529 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
530 (addlink): Add comment.
531
532 2013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
533
534 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
535 canonical pathname.
536
537 2013-09-04 Doug Evans <dje@google.com>
538
539 * gdb.python/py-events.py (exit_handler): Verify we get the expected
540 event.
541 (continue_handler, new_objfile_handler): Ditto.
542 (test_events): Rename command to "test-events".
543 (test_newobj_events): Rename command to "test-objfile-events".
544 * gdb.python/py-events.exp: Update.
545 * gdb.python/py-evsignal.exp: Update.
546 * gdb.python/py-evthreads.exp: Update.
547
548 * gdb.base/enumval.c (ZERO): New enum value.
549 (main): Use it
550 * gdb.base/enumval.exp: Test ability to print ZERO.
551
552 2013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
553 Pedro Alves <palves@redhat.com>
554
555 * gdb.base/relocate.exp: Check that invalid options are
556 rejected.
557
558 2013-08-30 Andrew Burgess <aburgess@broadcom.com>
559
560 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
561 (my_static_symbol): Add comment.
562 (main): Reference my_bss_symbol.
563
564 2013-08-30 Phil Muldoon <pmuldoon@redhat.com>
565
566 * gdb.python/py-arch.exp: Tests for invalid architecture.
567
568 2013-08-29 Sterling Augustine <saugustine@google.com>
569
570 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
571 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
572 said conditional.
573
574 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
575
576 * gdb.python/py-arch.exp: Load gdb-python.exp.
577
578 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
579
580 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
581 itertools for imap attribute. Otherwise use map().
582 (ElidingIterator): Define wrapper function __next__.
583 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
584 use exec (open (read ())) instead.
585 * gdb.python/py-framefilter.exp: Ditto.
586 * gdb.python/py-arch.exp: Update print based test to Python 3.x
587 compliance.
588 * gdb.python/py-frame.exp: Ditto.
589 * gdb.python/py-type.exp: Ditto.
590
591 2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
592
593 PR gdb/15415
594 * gdb.base/argv0-symlink.c: New file.
595 * gdb.base/argv0-symlink.exp: New file.
596
597 2013-08-28 Tom Tromey <tromey@redhat.com>
598
599 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
600 when saving index.
601
602 2013-08-27 Yao Qi <yao@codesourcery.com>
603
604 * gdb.trace/entry-values.exp: Test unavailable entry value is
605 not shown when option '--skip-unavailable' is specified.
606 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
607 Add tests for new option '--skip-unavailable'.
608
609 2013-08-27 Yao Qi <yao@codesourcery.com>
610
611 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
612 remote_download if it is empty.
613
614 2013-08-26 Doug Evans <dje@google.com>
615
616 PR symtab/15885
617 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
618 (clean): rm -f *.gdb-index *.with-index.
619 * gdb.dwarf2/gdb-index.exp: New testcase.
620
621 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
622 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
623 run_on_host. All callers updated.
624
625 2013-08-24 Yao Qi <yao@codesourcery.com>
626
627 * gdb.trace/entry-values.c (end): New
628 (main): Call end.
629 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
630 tracepoint and collect data. Test entry value is unavailable.
631
632 2013-08-24 Yao Qi <yao@codesourcery.com>
633
634 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
635 * gdb.trace/entry-values.c: New.
636 * gdb.trace/entry-values.exp: New.
637
638 2013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
639
640 PR gdb/15501
641 * gdb.base/ena-dis-br.exp: Add test to verify
642 enable/disable commands work correctly with
643 multiple arguments that include multiple locations.
644
645 2013-08-22 Samuel Bronson <naesten@gmail.com>
646
647 ARM Linux support for `catch syscall'.
648 * gdb.base/catch-syscall.exp: Test this on ARM now.
649 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
650
651 2013-08-22 Tom Tromey <tromey@redhat.com>
652
653 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
654 default addr_size.
655 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
656
657 2013-08-22 Tom Tromey <tromey@redhat.com>
658
659 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
660 standard_temp_file.
661
662 2013-08-22 Tom Tromey <tromey@redhat.com>
663
664 * gdb.arch/amd64-byte.exp: Use standard_testfile,
665 clean_restart.
666 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
667 * gdb.arch/amd64-dword.exp: Use standard_testfile,
668 clean_restart.
669 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
670 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
671 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
672 * gdb.arch/amd64-word.exp: Use standard_testfile,
673 clean_restart.
674 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
675 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
676 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
677 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
678 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
679 * gdb.arch/i386-signal.exp: Use standard_testfile.
680 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
681 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
682 * gdb.arch/i386-unwind.exp: Use standard_testfile.
683 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
684
685 2013-08-22 Tom Tromey <tromey@redhat.com>
686
687 * gdb.python/py-error.exp: Use gdb_remote_download.
688 * gdb.python/py-mi.exp: Use gdb_remote_download.
689 * gdb.python/py-objfile-script.exp: Use standard_output_file.
690 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
691 (run_lang_tests): Likewise.
692 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
693 filename.
694 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
695 compiling. Use gdb_remote_download. Update some tests.
696 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
697 standard_output_file.
698 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
699 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
700 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
701 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
702 standard_output_file.
703
704 2013-08-22 Tom Tromey <tromey@redhat.com>
705
706 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
707
708 2013-08-22 Tom Tromey <tromey@redhat.com>
709
710 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
711 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
712 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
713 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
714 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
715 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
716 * lib/gdb.exp (gdb_remote_download): New proc.
717
718 2013-08-22 Tom Tromey <tromey@redhat.com>
719
720 * gdb.dwarf2/clztest.exp: Use standard_testfile.
721 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
722 * gdb.dwarf2/fission-base.S: Remove directory from
723 DW_AT_GNU_dwo_name.
724 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
725 debug-file-directory.
726 * gdb.dwarf2/fission-reread.S: Remove directory from
727 DW_AT_GNU_dwo_name.
728 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
729 debug-file-directory.
730
731 2013-08-16 Doug Evans <dje@google.com>
732
733 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
734 prelink complains about an unhandled DWARF version.
735
736 2013-08-14 Cary Coutant <ccoutant@google.com>
737
738 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
739
740 2013-08-13 Tom Tromey <tromey@redhat.com>
741 Yao Qi <yao@codesourcery.com>
742
743 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
744 * lib/gdb.exp: Handle GDB_PARALLEL.
745 (default_gdb_version): Kill inotify_pid if it exists.
746 (default_gdb_exit): Emit warning if the inotify log is not
747 empty.
748 (standard_output_file): Respect GDB_PARALLEL.
749 (standard_temp_file): Likewise.
750 (gdb_init): Start inotifywait if requested.
751
752 2013-08-13 Andrew Burgess <aburgess@broadcom.com>
753
754 * gdb.base/printcmds.exp (test_printf): Add test for printf of
755 pointer with various flags.
756
757 2013-08-13 Tom Tromey <tromey@redhat.com>
758
759 * lib/cache.exp: New file.
760 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
761 * lib/gdb.exp: Load cache.exp.
762 (support_complex_tests, is_ilp32_target, is_lp64_target)
763 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
764 (gdb_skip_xml_test): Use gdb_caching_proc.
765 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
766
767 2013-08-13 Tom Tromey <tromey@redhat.com>
768
769 * lib/gdb.exp (standard_temp_file): New proc.
770 (support_complex_tests, is_ilp32_target, is_lp64_target)
771 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
772 standard_temp_file.
773
774 2013-08-13 Tom Tromey <tromey@redhat.com>
775
776 * lib/gdb.exp (build_id_debug_filename_get): Use
777 standard_output_file.
778 * lib/prelink-support.exp (section_get)
779 (build_executable_own_libs): Use standard_output_file.
780
781 2013-08-12 Tom Tromey <tromey@redhat.com>
782
783 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
784
785 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
786
787 * gdb.base/break.exp: Test break via convenience variable
788 with file name.
789
790 2013-08-09 Doug Evans <dje@google.com>
791
792 * lib/future.exp (gdb_find_ldd): New proc.
793 * lib/prelink-support.exp (build_executable_own_libs): Call it.
794 Make "/usr/sbin/" in prelink path optional.
795
796 2013-08-09 Yao Qi <yao@codesourcery.com>
797
798 * gdb.trace/collection.exp (gdb_collect_args_test): Set
799 "only" and "both" to 'print entry-values' before selecting
800 trace frame.
801
802 2013-08-08 Yao Qi <yao@codesourcery.com>
803
804 * gdb.trace/mi-trace-unavailable.exp: Don't set
805 "print entry-values" to "no".
806 (test_trace_unavailable): Set various values to
807 "print entry-values" to test that the output of
808 '-stack-list-locals' is not affected, and then set
809 set "print entry-values" to "no".
810
811 2013-08-07 Doug Evans <dje@google.com>
812
813 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
814 * gdb.python/py-value-cc.exp: Update.
815 * gdb.python/py-value.exp: Use different names for .o files for
816 C and C++. Only perform C++ tests if !skip_cplus_tests.
817
818 2013-08-07 Tom Tromey <tromey@redhat.com>
819
820 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
821
822 2013-08-07 Tom Tromey <tromey@redhat.com>
823
824 * gdb.dwarf2/dwz.exp: New file.
825
826 2013-08-02 Tom Tromey <tromey@redhat.com>
827
828 * gdb.base/watchpoint.c (struct foo5): New.
829 (nullptr): New global.
830 * gdb.base/watchpoint.exp (test_watch_location): Add test.
831
832 2013-08-01 Doug Evans <dje@google.com>
833
834 PR symtab/15691
835 * gdb.dwarf2/fission-mix.exp: New file.
836 * gdb.dwarf2/fission-mix.h: New file.
837 * gdb.dwarf2/fission-mix.c: New file.
838 * gdb.dwarf2/fission-mix2.c: New file.
839
840 PR symtab/15695
841 * gdb.base/func-ptr.exp: New file.
842 * gdb.base/func-ptr.c: New file.
843
844 2013-08-01 Yao Qi <yao@codesourcery.com>
845
846 * gdb.python/py-sync-interp.c: New.
847 * gdb.python/py-sync-interp.exp: New.
848
849 2013-07-31 Yao Qi <yao@codesourcery.com>
850
851 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
852 'tdump' on stack frame 0 and 1 respectively.
853
854 2013-07-31 Yao Qi <yao@codesourcery.com>
855
856 PR gdb/13443
857 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
858 'traceframe'. Wrap test with with_test_prefix.
859 (top level): Update.
860
861 2013-07-31 Yao Qi <yao@codesourcery.com>
862
863 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
864 'gdb_start'.
865 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
866 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
867
868 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
869
870 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
871 when printing an optimized out value. Expect an error when using
872 an optimized out value in an expression.
873
874 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
875
876 * gdb.dwarf2/pieces-optimized-out.exp: New file.
877 * gdb.dwarf2/pieces-optimized-out.c: New file.
878 * gdb.dwarf2/pieces-optimized-out.S: New file.
879
880 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
881
882 PR gdb/15715
883 * gdb.base/setshow.exp: Test that relative paths passed to
884 'set history filename' are converted to absolute paths.
885
886 2013-07-26 Keith Seitz <keiths@redhat.com>
887
888 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
889 of f77.
890 Allow for compiler variations of integer types.
891 Use mi_create_varobj.
892 Use mi_list_varobj_children for the immediate children of `array'.
893 Add "has_more" attribute for grandchildren test.
894
895 2013-07-26 Pedro Alves <palves@redhat.com>
896
897 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
898 files.
899
900 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
901
902 * gdb.mi/mi-reg-undefined.exp: New file.
903 * gdb.mi/mi-reg-undefined.c: Likewise.
904 * gdb.mi/mi-reg-undefined.S: Likewise.
905
906 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
907
908 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
909 z, o, and t output formats.
910 * gdb.base/display.exp: Use 'k' as an undefined format now that
911 'z' is defined.
912
913 2013-07-24 Doug Evans <dje@google.com>
914
915 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
916 "--" to switch.
917
918 2013-07-24 Yao Qi <yao@codesourcery.com>
919
920 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
921 host.
922 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
923 Likewise. If host is remote, copy ${binfile} to host.
924
925 2013-07-23 Yao Qi <yao@codesourcery.com>
926
927 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
928 message.
929
930 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
931
932 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
933 instructions and enable disp-step-syscall for arm targets.
934
935 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
936
937 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
938 assembler errors on arm.
939 * gdb.dwarf2/mac-fileno.S: Likewise.
940 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
941 * gdb.dwarf2/pr13961.S: Likewise.
942
943 2013-07-19 Hui Zhu <hui@codesourcery.com>
944
945 PR gdb/15692
946 * gdb.mi/mi-dprintf.exp: Add double quotes test.
947
948 2013-07-19 Yao Qi <yao@codesourcery.com>
949
950 * gdb.trace/read-memory.exp (test_from_remote): Update test.
951 (teset_from_exec): Likewise.
952
953 2013-07-19 Yao Qi <yao@codesourcery.com>
954
955 * gdb.trace/read-memory.c: New.
956 * gdb.trace/read-memory.exp: New.
957
958 2013-07-19 Yao Qi <yao@codesourcery.com>
959
960 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
961 $dest to link options if host is remote. Move the
962 generated file to $dest.a on host if host is remote.
963
964 2013-07-18 Will Newton <will.newton@linaro.org>
965
966 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
967 to ensure the test is linked against pthreads.
968 * gdb.threads/tls-var-main.c: Likewise.
969 * gdb.threads/tls-shared.c: Likewise.
970
971 2013-07-18 Yao Qi <yao@codesourcery.com>
972
973 * lib/future.exp (gdb_default_target_compile): Use tail name
974 of $destfile as the output name of compile. Move the
975 generated file to $destfile on build.
976
977 2013-07-18 Yao Qi <yao@codesourcery.com>
978
979 * lib/gdb.exp (gdb_compile): Set
980 gdb_saved_set_unbuffered_mode_obj to
981 set_unbuffered_mode_saved.o if host is remote. Invoke
982 remote_download to copy $unbuf_obj to host.
983
984 2013-07-17 Doug Evans <dje@google.com>
985
986 * gdb.python/py-frame-args.c: New file.
987 * gdb.python/py-frame-args.py: New file.
988 * gdb.python/py-frame-args.exp New file.
989
990 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
991
992 * gdb.base/printcmds.exp (test_printf): Add tests for format
993 strings with missing format specifier.
994
995 2013-07-16 Tom Tromey <tromey@redhat.com>
996
997 * gdb.ada/info_types.exp: Use standard_testfile.
998
999 2013-07-16 Tom Tromey <tromey@redhat.com>
1000
1001 * gdb.mi/mi-basics.exp: Use standard_output_file.
1002 (test_dir_specification, test_cwd_specification)
1003 (test_path_specification): Use testsubdir, not subdir and objdir.
1004
1005 2013-07-16 Tom Tromey <tromey@redhat.com>
1006
1007 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
1008
1009 2013-07-09 Joel Brobecker <brobecker@adacore.com>
1010
1011 * gdb.ada/small_reg_param.exp: Accept optional entry value
1012 for parameter "w".
1013
1014 2013-07-09 Joel Brobecker <brobecker@adacore.com>
1015
1016 * gdb.ada/small_reg_param.exp: Remove trailing space.
1017
1018 2013-07-09 Doug Evans <dje@google.com>
1019
1020 * gdb.base/default.exp: Update expected output of "show print array"
1021 and "show print pretty".
1022
1023 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1024
1025 * gdb.threads/wp-replication.exp: Stop counting available hardware
1026 watchpoints after NR_THREADS iterations.
1027
1028 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
1029
1030 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
1031
1032 2013-07-07 Yao Qi <yao@codesourcery.com>
1033
1034 * boards/native-gdbserver.exp: Move invoke of
1035 process_multilib_options to gdbserver-base.exp.
1036 Move set_board_info 'compiler', 'gdb,noinferiorio',
1037 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
1038 gdbserver-base.exp.
1039 Move proc ${board}_download, ${board}_upload and
1040 ${board}_file to gdbserver-base.exp.
1041 * boards/native-extended-gdbserver.exp: Likewise.
1042 * boards/native-stdio-gdbserver.exp: Likewise.
1043 * boards/gdbserver-base.exp: New file.
1044
1045 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
1046
1047 * gdb.base/dump.exp: Remove arch-specific tests and do a
1048 generic data address check to set is64bitonly correctly.
1049
1050 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
1051
1052 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
1053 the register number instead of expecting only 0.
1054
1055 2013-07-05 Will Newton <will.newton@linaro.org>
1056
1057 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
1058 in asm syntax to allow building on ARM.
1059
1060 2013-07-05 Yao Qi <yao@codesourcery.com>
1061
1062 * boards/local-remote-host.exp: Remove obsolete comments.
1063 * boards/native-extended-gdbserver.exp: Likewise.
1064 * boards/native-gdbserver.exp: Likewise.
1065 * boards/native-stdio-gdbserver.exp: Likewise.
1066
1067 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
1068
1069 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
1070 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
1071 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
1072
1073 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1074
1075 * gdb.base/break-on-linker-gcd-function.exp: Replace
1076 prepare_for_testing by build_executable_from_specs and clean_restart.
1077
1078 2013-06-27 Tom Tromey <tromey@redhat.com>
1079
1080 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
1081 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
1082 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
1083 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
1084 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
1085 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
1086 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
1087 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
1088 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
1089 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
1090 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
1091 Use standard_testfile, standard_output_file, prepare_for_testing,
1092 clean_restart.
1093
1094 2013-06-27 Tom Tromey <tromey@redhat.com>
1095
1096 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
1097 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
1098 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
1099 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1100 gdb.base/shreloc.exp, gdb.base/sigall.exp,
1101 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
1102 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
1103 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
1104 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
1105 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
1106 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
1107 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
1108 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
1109 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
1110 gdb.base/solib-weak.exp, gdb.base/source.exp,
1111 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
1112 gdb.base/stap-probe.exp, gdb.base/start.exp,
1113 gdb.base/step-break.exp, gdb.base/step-bt.exp,
1114 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
1115 gdb.base/step-test.exp, gdb.base/structs.exp,
1116 gdb.base/structs2.exp, gdb.base/structs3.exp,
1117 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
1118 standard_output_file, prepare_for_testing, clean_restart.
1119
1120 2013-06-27 Tom Tromey <tromey@redhat.com>
1121
1122 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
1123 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
1124 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
1125 gdb.base/pending.exp, gdb.base/permissions.exp,
1126 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
1127 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
1128 gdb.base/printcmds.exp, gdb.base/prologue.exp,
1129 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
1130 gdb.base/ptype.exp, gdb.base/randomize.exp,
1131 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
1132 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
1133 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
1134 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
1135 standard_testfile, standard_output_file, prepare_for_testing,
1136 clean_restart.
1137
1138 2013-06-27 Tom Tromey <tromey@redhat.com>
1139
1140 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
1141 gdb.base/huge.exp, gdb.base/included.exp,
1142 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
1143 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
1144 gdb.base/info-os.exp, gdb.base/info-proc.exp,
1145 gdb.base/info-target.exp, gdb.base/infoline.exp,
1146 gdb.base/interp.exp, gdb.base/interrupt.exp,
1147 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
1148 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
1149 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
1150 gdb.base/logical.exp, gdb.base/long_long.exp,
1151 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
1152 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
1153 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
1154 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
1155 standard_testfile, standard_output_file, prepare_for_testing,
1156 clean_restart.
1157
1158 2013-06-27 Tom Tromey <tromey@redhat.com>
1159
1160 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
1161 gdb.base/enumval.exp, gdb.base/environ.exp,
1162 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
1163 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
1164 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
1165 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
1166 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
1167 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
1168 gdb.base/fullname.exp, gdb.base/funcargs.exp,
1169 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
1170 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
1171 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
1172 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
1173 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
1174 gdb.base/gnu_vector.exp: Use standard_testfile,
1175 standard_output_file, prepare_for_testing, clean_restart.
1176
1177 2013-06-27 Tom Tromey <tromey@redhat.com>
1178
1179 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
1180 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
1181 gdb.base/call-strs.exp, gdb.base/callexit.exp,
1182 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
1183 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
1184 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
1185 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
1186 gdb.base/commands.exp, gdb.base/completion.exp,
1187 gdb.base/complex.exp, gdb.base/cond-expr.exp,
1188 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
1189 gdb.base/constvars.exp, gdb.base/corefile.exp,
1190 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
1191 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1192 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
1193 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
1194 gdb.base/dup-sect.exp: Use standard_testfile,
1195 standard_output_file, prepare_for_testing, clean_restart.
1196
1197 2013-06-27 Tom Tromey <tromey@redhat.com>
1198
1199 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
1200 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
1201 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
1202 gdb.base/async-shell.exp, gdb.base/async.exp,
1203 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
1204 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
1205 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
1206 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
1207 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
1208 gdb.base/break-on-linker-gcd-function.exp,
1209 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
1210 standard_output_file, prepare_for_testing, clean_restart.
1211
1212 2013-06-26 Yao Qi <yao@codesourcery.com>
1213
1214 * gdb.trace/mi-trace-frame-collected.exp: New.
1215
1216 2013-06-25 Yao Qi <yao@codesourcery.com>
1217
1218 * boards/native-extended-gdbserver.exp: Set board_info
1219 'gdb,predefined_tsv'.
1220 * boards/native-gdbserver.exp: Likewise.
1221 * boards/native-stdio-gdbserver.exp: Likewise.
1222 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
1223 uploaded TSVs if target supports tracing.
1224 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
1225 tracing and target has predefined tsv.
1226
1227 2013-06-25 Yao Qi <yao@codesourcery.com>
1228 Hui Zhu <hui@codesourcery.com>
1229 Pedro Alves <palves@redhat.com>
1230
1231 PR breakpoints/15075
1232 PR breakpoints/15434
1233 * gdb.base/dprintf-next.c: New file.
1234 * gdb.base/dprintf-next.exp: New file.
1235 * gdb.base/dprintf-non-stop.c: New file.
1236 * gdb.base/dprintf-non-stop.exp: New file.
1237 * gdb.base/dprintf.exp: Don't check "continue" in the output
1238 of "info breakpoints".
1239 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1240 Don't check "continue" in script field.
1241
1242 2013-06-21 Tom Tromey <tromey@redhat.com>
1243
1244 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
1245 name in a test name.
1246
1247 2013-06-20 Yao Qi <yao@codesourcery.com>
1248
1249 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
1250 and set an action.
1251 (test_trace_unavailable): Test command -data-list-register-values
1252 in the context of traceframe and with option --skip-unavailable.
1253 * gdb.trace/trace-unavailable.c (foo): New.
1254 (main): Call it.
1255 * gdb.mi/gdb2549.exp: Update matching pattern.
1256
1257 2013-06-19 Mike Frysinger <vapier@gentoo.org>
1258
1259 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
1260 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
1261 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
1262 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
1263 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
1264
1265 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
1266
1267 * gdb.base/subst.exp: Delete default rules before further
1268 tests.
1269
1270 2013-06-19 Yao Qi <yao@codesourcery.com>
1271
1272 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
1273 unsupported if it is not registered.
1274
1275 2013-06-18 Tom Tromey <tromey@redhat.com>
1276
1277 * gdb.base/random-signal.c: New file.
1278 * gdb.base/random-signal.exp: New file.
1279
1280 2013-06-18 Will Newton <will.newton@linaro.org>
1281
1282 * gdb.base/skip.c: Use comma to evaluate results of foo()
1283 and bar() before passing to baz().
1284 * gdb.base/skip.c: baz() now takes one argument instead of
1285 two.
1286
1287 2013-06-18 Tom Tromey <tromey@redhat.com>
1288
1289 * gdb.dwarf2/implptrpiece.exp: New file.
1290 * gdb.dwarf2/implptrconst.exp (d): New variable.
1291 Print d.
1292 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
1293
1294 2013-06-18 Tom Tromey <tromey@redhat.com>
1295
1296 * lib/selftest-support.exp (do_self_tests): Reject remote or
1297 non-native targets.
1298 * gdb.gdb/complaints.exp: Remove check.
1299 * gdb.gdb/observer.exp: Remove check.
1300 * gdb.gdb/xfullpath.exp: Remove check.
1301 * gdb.gdb/complaints.exp: Remove check.
1302
1303 2013-06-07 Pedro Alves <palves@redhat.com>
1304
1305 * boards/native-extended-gdbserver.exp: Remove semicolon.
1306 * config/arm-ice.exp: Likewise.
1307 * config/bfin.exp: Likewise.
1308 * config/cygmon.exp: Likewise.
1309 * config/h8300.exp: Likewise.
1310 * config/monitor.exp: Likewise.
1311 * config/sid.exp: Likewise.
1312 * config/sim.exp: Likewise.
1313 * config/slite.exp: Likewise.
1314 * config/vx.exp: Likewise.
1315 * gdb.arch/i386-bp_permanent.exp: Likewise.
1316 * gdb.asm/asm-source.exp: Likewise.
1317 * gdb.base/args.exp: Likewise.
1318 * gdb.base/attach-pie-misread.exp: Likewise.
1319 * gdb.base/auxv.exp: Likewise.
1320 * gdb.base/bigcore.exp: Likewise.
1321 * gdb.base/bitfields2.exp: Likewise.
1322 * gdb.base/bitfields.exp: Likewise.
1323 * gdb.base/break.exp: Likewise.
1324 * gdb.base/break-interp.exp: Likewise.
1325 * gdb.base/callfuncs.exp: Likewise.
1326 * gdb.base/call-sc.exp: Likewise.
1327 * gdb.base/commands.exp: Likewise.
1328 * gdb.base/corefile.exp: Likewise.
1329 * gdb.base/dbx.exp: Likewise.
1330 * gdb.base/ending-run.exp: Likewise.
1331 * gdb.base/exprs.exp: Likewise.
1332 * gdb.base/funcargs.exp: Likewise.
1333 * gdb.base/hbreak2.exp: Likewise.
1334 * gdb.base/huge.exp: Likewise.
1335 * gdb.base/list.exp: Likewise.
1336 * gdb.base/memattr.exp: Likewise.
1337 * gdb.base/overlays.exp: Likewise.
1338 * gdb.base/printcmds.exp: Likewise.
1339 * gdb.base/recurse.exp: Likewise.
1340 * gdb.base/remotetimeout.exp: Likewise.
1341 * gdb.base/reread.exp: Likewise.
1342 * gdb.base/savedregs.exp: Likewise.
1343 * gdb.base/scope.exp: Likewise.
1344 * gdb.base/sepdebug.exp: Likewise.
1345 * gdb.base/setshow.exp: Likewise.
1346 * gdb.base/setvar.exp: Likewise.
1347 * gdb.base/sigaltstack.exp: Likewise.
1348 * gdb.base/siginfo-addr.exp: Likewise.
1349 * gdb.base/siginfo.exp: Likewise.
1350 * gdb.base/siginfo-obj.exp: Likewise.
1351 * gdb.base/sigrepeat.exp: Likewise.
1352 * gdb.base/sigstep.exp: Likewise.
1353 * gdb.base/structs.exp: Likewise.
1354 * gdb.base/testenv.exp: Likewise.
1355 * gdb.base/twice.exp: Likewise.
1356 * gdb.base/valgrind-db-attach.exp: Likewise.
1357 * gdb.base/valgrind-infcall.exp: Likewise.
1358 * gdb.base/varargs.exp: Likewise.
1359 * gdb.base/watchpoint.exp: Likewise.
1360 * gdb.cp/gdb1355.exp: Likewise.
1361 * gdb.cp/misc.exp: Likewise.
1362 * gdb.disasm/hppa.exp: Likewise.
1363 * gdb.disasm/t01_mov.exp: Likewise.
1364 * gdb.disasm/t02_mova.exp: Likewise.
1365 * gdb.disasm/t03_add.exp: Likewise.
1366 * gdb.disasm/t04_sub.exp: Likewise.
1367 * gdb.disasm/t05_cmp.exp: Likewise.
1368 * gdb.disasm/t06_ari2.exp: Likewise.
1369 * gdb.disasm/t07_ari3.exp: Likewise.
1370 * gdb.disasm/t08_or.exp: Likewise.
1371 * gdb.disasm/t09_xor.exp: Likewise.
1372 * gdb.disasm/t10_and.exp: Likewise.
1373 * gdb.disasm/t11_logs.exp: Likewise.
1374 * gdb.disasm/t12_bit.exp: Likewise.
1375 * gdb.disasm/t13_otr.exp: Likewise.
1376 * gdb.gdb/selftest.exp: Likewise.
1377 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1378 * gdb.mi/mi-reverse.exp: Likewise.
1379 * gdb.pascal/floats.exp: Likewise.
1380 * gdb.python/py-inferior.exp: Likewise.
1381 * gdb.threads/attach-into-signal.exp: Likewise.
1382 * gdb.threads/pthreads.exp: Likewise.
1383 * gdb.threads/thread_events.exp: Likewise.
1384 * gdb.threads/watchthreads.exp: Likewise.
1385 * gdb.trace/actions-changed.exp: Likewise.
1386 * gdb.trace/actions.exp: Likewise.
1387 * gdb.trace/ax.exp: Likewise.
1388 * gdb.trace/backtrace.exp: Likewise.
1389 * gdb.trace/change-loc.exp: Likewise.
1390 * gdb.trace/deltrace.exp: Likewise.
1391 * gdb.trace/disconnected-tracing.exp: Likewise.
1392 * gdb.trace/ftrace.exp: Likewise.
1393 * gdb.trace/infotrace.exp: Likewise.
1394 * gdb.trace/passc-dyn.exp: Likewise.
1395 * gdb.trace/passcount.exp: Likewise.
1396 * gdb.trace/pending.exp: Likewise.
1397 * gdb.trace/qtro.exp: Likewise.
1398 * gdb.trace/range-stepping.exp: Likewise.
1399 * gdb.trace/report.exp: Likewise.
1400 * gdb.trace/save-trace.exp: Likewise.
1401 * gdb.trace/status-stop.exp: Likewise.
1402 * gdb.trace/strace.exp: Likewise.
1403 * gdb.trace/tfile.exp: Likewise.
1404 * gdb.trace/tfind.exp: Likewise.
1405 * gdb.trace/trace-break.exp: Likewise.
1406 * gdb.trace/tracecmd.exp: Likewise.
1407 * gdb.trace/trace-mt.exp: Likewise.
1408 * gdb.trace/tspeed.exp: Likewise.
1409 * gdb.trace/tsv.exp: Likewise.
1410 * gdb.trace/while-stepping.exp: Likewise.
1411 * lib/gdb.exp: Likewise.
1412 * lib/gdbserver-support.exp: Likewise.
1413 * lib/java.exp: Likewise.
1414 * lib/mi-support.exp: Likewise.
1415 * lib/pascal.exp: Likewise.
1416 * lib/prompt.exp: Likewise.
1417 * lib/trace-support.exp: Likewise.
1418
1419 2013-06-07 Pedro Alves <palves@redhat.com>
1420
1421 * gdb.ada/info_types.c: Fix formating in copyright header.
1422 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1423 * gdb.base/float.c: Likewise.
1424 * gdb.base/inferior-died.c: Likewise.
1425 * gdb.base/interp.c: Likewise.
1426 * gdb.base/jit-main.c: Likewise.
1427 * gdb.base/jit-solib.c: Likewise.
1428 * gdb.base/long_long.c: Likewise.
1429 * gdb.base/longjmp.c: Likewise.
1430 * gdb.base/nextoverexit.c: Likewise.
1431 * gdb.base/pr11022.c: Likewise.
1432 * gdb.base/prelink-lib.c: Likewise.
1433 * gdb.base/prelink.c: Likewise.
1434 * gdb.base/prologue.c: Likewise.
1435 * gdb.base/restore.c: Likewise.
1436 * gdb.base/sigchld.c: Likewise.
1437 * gdb.base/solib-search-lib1.c: Likewise.
1438 * gdb.base/solib-search-lib2.c: Likewise.
1439 * gdb.base/solib-search.c: Likewise.
1440 * gdb.base/solib-search.h: Likewise.
1441 * gdb.base/whatis.c: Likewise.
1442 * gdb.cp/abstract-origin.cc: Likewise.
1443 * gdb.cp/anon-struct.cc: Likewise.
1444 * gdb.cp/baseenum.cc: Likewise.
1445 * gdb.cp/bs15503.cc: Likewise.
1446 * gdb.cp/call-c-1.c: Likewise.
1447 * gdb.cp/call-c.cc: Likewise.
1448 * gdb.cp/class2.cc: Likewise.
1449 * gdb.cp/classes.cc: Likewise.
1450 * gdb.cp/cttiadd.cc: Likewise.
1451 * gdb.cp/cttiadd1.cc: Likewise.
1452 * gdb.cp/cttiadd2.cc: Likewise.
1453 * gdb.cp/cttiadd3.cc: Likewise.
1454 * gdb.cp/derivation.cc: Likewise.
1455 * gdb.cp/derivation2.cc: Likewise.
1456 * gdb.cp/dispcxx.cc: Likewise.
1457 * gdb.cp/exception.cc: Likewise.
1458 * gdb.cp/gdb2384-base.cc: Likewise.
1459 * gdb.cp/gdb2384-base.h: Likewise.
1460 * gdb.cp/gdb2384.cc: Likewise.
1461 * gdb.cp/gdb2495.cc: Likewise.
1462 * gdb.cp/mb-inline.h: Likewise.
1463 * gdb.cp/mb-inline1.cc: Likewise.
1464 * gdb.cp/mb-inline2.cc: Likewise.
1465 * gdb.cp/member-name.cc: Likewise.
1466 * gdb.cp/member-ptr.cc: Likewise.
1467 * gdb.cp/misc.cc: Likewise.
1468 * gdb.cp/namespace1.cc: Likewise.
1469 * gdb.cp/nextoverthrow.cc: Likewise.
1470 * gdb.cp/pr-574.cc: Likewise.
1471 * gdb.cp/pr9631.cc: Likewise.
1472 * gdb.cp/printmethod.cc: Likewise.
1473 * gdb.cp/psmang1.cc: Likewise.
1474 * gdb.cp/psmang2.cc: Likewise.
1475 * gdb.cp/psymtab-parameter.cc: Likewise.
1476 * gdb.cp/ptype-flags.cc: Likewise.
1477 * gdb.cp/ref-params.cc: Likewise.
1478 * gdb.cp/ref-types.cc: Likewise.
1479 * gdb.cp/smartp.cc: Likewise.
1480 * gdb.cp/try_catch.cc: Likewise.
1481 * gdb.cp/userdef.cc: Likewise.
1482 * gdb.cp/using-crash.cc: Likewise.
1483 * gdb.cp/virtfunc.cc: Likewise.
1484 * gdb.cp/virtfunc2.cc: Likewise.
1485 * gdb.dwarf2/callframecfa.S: Likewise.
1486 * gdb.dwarf2/dw2-ranges.c: Likewise.
1487 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1488 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1489 * gdb.dwarf2/dw2-restore.S: Likewise.
1490 * gdb.dwarf2/pieces.S: Likewise.
1491 * gdb.dwarf2/valop.S: Likewise.
1492 * gdb.java/jnpe.java: Likewise.
1493 * gdb.mi/mi-stepn.c: Likewise.
1494 * gdb.mi/mi-var-cp.cc: Likewise.
1495 * gdb.mi/mi-var-rtti.cc: Likewise.
1496 * gdb.mi/ns-stale-regcache.c: Likewise.
1497 * gdb.mi/pr11022.c: Likewise.
1498 * gdb.mi/solib-lib.c: Likewise.
1499 * gdb.mi/solib-main.c: Likewise.
1500 * gdb.python/py-arch.c: Likewise.
1501 * gdb.python/py-block.c: Likewise.
1502 * gdb.python/py-breakpoint.c: Likewise.
1503 * gdb.python/py-events.c: Likewise.
1504 * gdb.python/py-evthreads.c: Likewise.
1505 * gdb.python/py-explore.c: Likewise.
1506 * gdb.python/py-explore.cc: Likewise.
1507 * gdb.python/py-finish-breakpoint.c: Likewise.
1508 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1509 * gdb.python/py-symbol.c: Likewise.
1510 * gdb.threads/execl.c: Likewise.
1511 * gdb.threads/execl1.c: Likewise.
1512
1513 2013-06-07 Will Newton <will.newton@linaro.org>
1514
1515 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1516
1517 2013-06-07 Will Newton <will.newton@linaro.org>
1518
1519 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1520 and "starting".
1521
1522 2013-06-07 Will Newton <will.newton@linaro.org>
1523
1524 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1525 destructor prototypes for ARM ABI.
1526 * gdb.cp/m-static.exp: Likewise.
1527
1528 2013-06-07 Yao Qi <yao@codesourcery.com>
1529
1530 * gdb.trace/mi-trace-unavailable.exp: New.
1531 * gdb.trace/trace-unavailable.c: New.
1532
1533 2013-06-06 Doug Evans <dje@google.com>
1534
1535 * gdb.cp/derivation.exp: Make tests have unique names.
1536
1537 2013-06-06 Tom Tromey <tromey@redhat.com>
1538
1539 * gdb.base/dump.exp (capture_value): Don't put expression into
1540 test name if arguments passed in.
1541 Rename a couple more tests to make them unique.
1542
1543 2013-06-06 Tom Tromey <tromey@redhat.com>
1544
1545 * gdb.base/break-always.exp: Explicitly specify test name.
1546
1547 2013-06-05 Doug Evans <dje@google.com>
1548 Keith Seitz <keiths@redhat.com>
1549
1550 * gdb.cp/derivation2.cc: New file.
1551 * gdb.cp/derivation.cc (main): Call foo2.
1552 * gdb.cp/derivation.exp: Add tests for typedefs in another
1553 file, and when there's an active block.
1554
1555 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
1556
1557 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1558 from targets that use function descriptors in the virtual tables.
1559 Handle presence of dot symbols.
1560
1561 2013-06-04 Gary Benson <gbenson@redhat.com>
1562
1563 * gdb.base/break-probes.exp: New file.
1564 * gdb.base/break-probes.c: Likewise.
1565 * gdb.base/break-probes-solib.c: Likewise.
1566 * gdb.base/info-shared.exp: New file.
1567 * gdb.base/info-shared.c: Likewise.
1568 * gdb.base/info-shared-solib1.c: Likewise.
1569 * gdb.base/info-shared-solib2.c: Likewise.
1570
1571 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1572 Gary Benson <gbenson@redhat.com>
1573
1574 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1575 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1576 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1577 to be set to "no" to indicate that no ld.so copy should be made.
1578 * gdb.base/break-interp.exp (solib_bp): New constant.
1579 (reach_1): Use the above instead of "_dl_debug_state".
1580 (test_attach): Likewise.
1581 (test_ld): Likewise.
1582 * gdb.threads/dlopen-libpthread.exp: New file.
1583 * gdb.threads/dlopen-libpthread.c: Likewise.
1584 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1585 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1586
1587 2013-05-30 Yao Qi <yao@codesourcery.com>
1588
1589 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1590 Add a test that no MI notification is emitted when executing
1591 -exec-arguments.
1592
1593 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1594
1595 PR testsuite/12649
1596 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1597 $mi_gdb_prompt expectation by mi_expect_stop.
1598 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1599 (mi info dprintf second time): Replace them by mi_send_resuming_command
1600 and mi_expect_stop.
1601
1602 2013-05-24 Gary Benson <gbenson@redhat.com>
1603
1604 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1605 backslash.
1606 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1607 backslashes.
1608 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1609 backslash.
1610
1611 2013-05-24 Yao Qi <yao@codesourcery.com>
1612
1613 * gdb.trace/tfile.exp: Test inferior and thread.
1614
1615 2013-05-24 Yao Qi <yao@codesourcery.com>
1616 Pedro Alves <palves@redhat.com>
1617
1618 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1619 test fails.
1620 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1621 Return 0 if the test passes, otherwise return 1.
1622
1623 2013-05-23 Doug Evans <dje@google.com>
1624
1625 * boards/fission-dwp.exp: New file.
1626
1627 2013-05-23 Yao Qi <yao@codesourcery.com>
1628 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.base/range-stepping.c: New file.
1631 * gdb.base/range-stepping.exp: New file.
1632 * gdb.trace/range-stepping.c: New file.
1633 * gdb.trace/range-stepping.exp: New file.
1634 * lib/range-stepping-support.exp: New file.
1635
1636 2013-05-22 Tom Tromey <tromey@redhat.com>
1637
1638 * gdb.cp/class2.cc (main): New local 'aref'.
1639 * gdb.cp/class2.exp: Check printing of 'aref'.
1640
1641 2013-05-22 Doug Evans <dje@google.com>
1642
1643 * gdb.threads/wp-replication.c (main): Insert some code at the start
1644 to ensure the breakpoint on main is only hit once. Fix comment.
1645
1646 2013-05-21 Keith Seitz <keiths@redhat.com>
1647 Pedro Alves <palves@redhat.com>
1648
1649 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1650 gdb_expect.
1651 Add test to flush the remaining input buffer so that this
1652 file passes testsuite/12649.
1653
1654 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1655
1656 * gdb.base/catch-signal-fork.exp: New file.
1657 * gdb.base/catch-signal-fork.c: New file.
1658
1659 2013-05-21 Sterling Augustine <saugustine@google.com>
1660
1661 * boards/remote-stdio-gdbserver.exp: New file.
1662
1663 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1664
1665 PR testsuite/12649
1666 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1667 racy matches.
1668
1669 2013-05-21 Christian Groessler <chris@groessler.org>
1670
1671 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1672 since it's not supported in all shells.
1673
1674 2013-05-21 Hui Zhu <hui@codesourcery.com>
1675
1676 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1677 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1678
1679 2013-05-20 Doug Evans <dje@google.com>
1680
1681 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1682 (_handle_DW_TAG): Use it.
1683 (cu, tu): Replace parameters is_64, version, addr_size with options.
1684 All callers updated. Add Fission support.
1685 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1686 * gdb.dwarf2/method-ptr.exp: Ditto.
1687 * gdb.dwarf2/nostaticblock.exp: Ditto.
1688 * gdb.dwarf2/subrange.exp: Ditto.
1689 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1690
1691 2013-05-20 Tom Tromey <tromey@redhat.com>
1692
1693 * gdb.gdb/python-selftest.exp: New file.
1694
1695 2013-05-20 Doug Evans <dje@google.com>
1696
1697 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1698 -fdebug-types-section.
1699
1700 2013-05-20 Joel Brobecker <brobecker@adacore.com>
1701
1702 * gdb.ada/float_param: New testcase.
1703
1704 2013-05-17 Doug Evans <dje@google.com>
1705
1706 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1707 Add tests for "maint check-symtabs", "maint expand-symtabs".
1708
1709 * gdb.base/maint.exp: Remove testing of individual maint command
1710 help output.
1711
1712 2013-05-16 Pedro Alves <palves@redhat.com>
1713
1714 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1715 comment. Use gdb_test_no_output.
1716
1717 2013-05-16 Joel Brobecker <brobecker@adacore.com>
1718
1719 * gdb.ada/complete.exp: Add test verifying completion using
1720 the "tab" key.
1721
1722 2013-05-15 Keith Seitz <keiths@redhat.com>
1723
1724 * gdb.base/filesym.exp: New completer test.
1725 * gdb.base/filesym.c: New file.
1726
1727 2013-05-15 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.base/fixsection.c: Remove attribution.
1730 * gdb.base/watch-read.exp: Ditto.
1731
1732 2013-05-13 Tom Tromey <tromey@redhat.com>
1733
1734 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1735 size and change type sizes to 4 bytes.
1736
1737 2013-05-13 Tom Tromey <tromey@redhat.com>
1738
1739 * gdb.base/exprs.exp (test_expr): Add regression test.
1740 * gdb.base/exprs.c (null_t_struct): New global.
1741
1742 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1743
1744 * gdb.base/default.exp: Disable history saving.
1745 * gdb.base/setshow.exp: Likewise.
1746
1747 2013-05-10 Pedro Alves <palves@redhat.com>
1748
1749 PR remote/15455
1750
1751 * gdb.trace/qtro.c: New file.
1752 * gdb.trace/qtro.exp: New file.
1753
1754 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1755
1756 * gdb.python/py-framefilter.py: New File.
1757 * gdb.python/py-framefilter-mi.exp: Ditto.
1758 * gdb.python/py-framefilter.c: Ditto.
1759 * gdb.python/py-framefilter-mi.exp: Ditto.
1760 * gdb.python/py-framefilter-mi.c: Ditto,
1761 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1762
1763 2013-05-08 Tom Tromey <tromey@redhat.com>
1764
1765 * gdb.base/solib-search.exp: Set test name for "set
1766 solib-search-path" test.
1767
1768 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1769
1770 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1771 (set_a_tracepoint): Set tracepoint before prologue.
1772 (run_trace_experiment): Test setup_tracepoints and 'break end'
1773 in it.
1774 (trace_buffer_normal): Remove.
1775 (gdb_trace_circular_tests): Remove. Move tests to...
1776 (top level): ...here. Call 'runto_main' before checking for
1777 trace support. Use commands to check the support for circular
1778 trace buffer and changing of trace buffer size. Add test
1779 to calculate size of single frame. Use this size to
1780 calculate the size of trace buffer. Use 'tfind pc func9'
1781 instead of 'tfind 9'. Use 'with_test_prefix'.
1782
1783 2013-05-07 Tom Tromey <tromey@redhat.com>
1784
1785 * lib/selftest-support.exp: New file.
1786 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1787 do_self_tests.
1788 (setup_test, find_gdb): Remove.
1789 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1790 do_self_tests.
1791 (setup_test, find_gdb): Remove.
1792 (test_observer): Don't call setup_test. Remove argument.
1793 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1794 (find_gdb): Remove.
1795 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1796 do_self_tests.
1797 (setup_test, find_gdb): Remove.
1798 (test_with_self): Don't call setup_test. Remove argument.
1799
1800 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1801
1802 * gdb.arch/system-gcore.exp: Remove.
1803 * gdb.arch/gcore.c: Remove.
1804 * gdb.base/gcore.exp: Add "info reg system".
1805
1806 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1807
1808 PR breakpoints/15413:
1809 * gdb.base/pending.exp: Add test for completion of the "condition"
1810 command for pending breakpoints.
1811 * gdb.linespec/linespec.ex: Add test for completion of the
1812 "condition" command when dealing with multiple locations.
1813
1814 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1815
1816 * gdb.threads/wp-replication.c: New file.
1817 * gdb.threads/wp-replication.exp: New file.
1818
1819 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1820
1821 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1822
1823 2013-05-06 Doug Evans <dje@google.com>
1824
1825 * gdb.base/solib-search-lib1.c: New file.
1826 * gdb.base/solib-search-lib2.c: New file.
1827 * gdb.base/solib-search.c: New file.
1828 * gdb.base/solib-search.h: New file.
1829 * gdb.base/solib-search.exp: New file.
1830
1831 * lib/gdb.exp (gdb_core_cmd): New function.
1832 * gdb.arch/system-gcore.exp: Use it.
1833 * gdb.arch/vsx-regs.exp: Ditto.
1834 * gdb.base/gcore.exp: Ditto.
1835 * gdb.threads/gcore-thread.exp: Ditto.
1836
1837 * gdb.reverse/shr.h: New file.
1838 * gdb.reverse/shr1.c: New file.
1839 * gdb.reverse/shr2.c: #include "shr.h".
1840 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1841 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1842 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1843 Update tests using sleep/printf to use shr2.sl instead.
1844 * gdb.reverse/solib-reverse.exp: Ditto.
1845
1846 2013-05-06 Tom Tromey <tromey@redhat.com>
1847
1848 * gdb.dwarf2/implptrconst.c: New file.
1849 * gdb.dwarf2/implptrconst.exp: New file.
1850 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1851 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1852 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1853
1854 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1855
1856 * gdb.base/catch-sig.c (main): Raise SIGINT.
1857 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1858
1859 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1860
1861 * status-stop.exp (test_tstart_tstart): Check for error
1862 returned by the second 'tstart' command.
1863
1864 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1865
1866 * gdb.xml/maint_print_struct.exp: New file.
1867 * gdb.xml/maint_print_struct.xml: New file.
1868
1869 2013-04-25 Tom Tromey <tromey@redhat.com>
1870
1871 * gdb.dwarf2/nostaticblock.exp: New file.
1872
1873 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1874
1875 PR gdb/10462
1876 * gdb.base/setshow.exp: Add test case.
1877
1878 2013-04-23 Hui Zhu <hui@codesourcery.com>
1879
1880 PR gdb/15293
1881 * gdb.base/dprintf.exp: Add ignore command.
1882
1883 2013-04-23 Hui Zhu <hui@codesourcery.com>
1884
1885 PR gdb/15165
1886 * gdb.base/save-bp.exp: Add test for dprintf.
1887
1888 2013-04-22 Tom Tromey <tromey@redhat.com>
1889
1890 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1891 notice_open_fds.
1892
1893 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1894
1895 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1896 ldflags.
1897
1898 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1899
1900 * gdb.arch/arm-bl-branch-dest.c: New file.
1901 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1902
1903 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1904 Pedro Alves <palves@redhat.com>
1905
1906 * gdb.arch/i386-float.S: New file.
1907 * gdb.arch/i386-float.exp: New file.
1908
1909 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1910
1911 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1912 type void *.
1913
1914 2013-04-17 Doug Evans <dje@google.com>
1915
1916 * lib/dwarf.exp (Dwarf): New proc "tu".
1917 * gdb.dwarf2/missing-sig-type.exp: New file.
1918
1919 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1920
1921 Add option to link testcases with Pthreads library when
1922 using 'prepare_for_testing' in tests.
1923
1924 * lib/gdb.exp (build_executable_from_specs): Use
1925 gdb_compile_pthreads to compile if option "pthreads" is
1926 specified.
1927
1928 2013-04-15 Tom Tromey <tromey@redhat.com>
1929
1930 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1931
1932 2013-04-15 Tom Tromey <tromey@redhat.com>
1933
1934 * gdb.base/default.exp: Update for $_exception.
1935 * gdb.cp/exceptprint.cc: New file.
1936 * gdb.cp/exceptprint.exp: New file.
1937 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1938
1939 2013-04-15 Tom Tromey <tromey@redhat.com>
1940
1941 * gdb.cp/typeid.cc: New file.
1942 * gdb.cp/typeid.exp: New file.
1943
1944 2013-04-15 Tom Tromey <tromey@redhat.com>
1945
1946 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1947
1948 2013-04-13 Yao Qi <yao@codesourcery.com>
1949
1950 * gdb.base/completion.exp: Test completion of command
1951 'target ctf' if target ctf is supported.
1952
1953 2013-04-10 Pedro Alves <palves@redhat.com>
1954
1955 * gdb.base/completion.exp: Test "set height", "set listsize" and
1956 "set trace-buffer-size" completion.
1957 * gdb.base/setshow.exp: Test "set height unlimited".
1958 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1959 unlimited".
1960
1961 2013-04-10 Yao Qi <yao@codesourcery.com>
1962
1963 * gdb.trace/actions.exp: Save trace data to CTF.
1964 Change to ctf target if GDB supports, read CTF data in ctf
1965 target, and check the actions of tracepoints.
1966 * gdb.trace/while-stepping.exp: Likewise.
1967 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1968 format and read CTF trace file if GDB supports.
1969 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1970 target is supported, change to ctf target, read trace data and
1971 check output of command "tstatus".
1972 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1973 read CTF data by target ctf and call check_tsv.
1974
1975 2013-04-10 Yao Qi <yao@codesourcery.com>
1976
1977 * gdb.trace/actions.exp (check_tracepoint): New.
1978 (top level): Start the tracing and check the actions of
1979 tracepoints. Save trace data to tfile format. Restart GDB
1980 and read trace file in tfile target. Check the actions of
1981 tracepoints again.
1982 * gdb.trace/while-stepping.exp: Likewise.
1983
1984 2013-04-10 Yao Qi <yao@codesourcery.com>
1985
1986 * gdb.trace/report.exp: Use standard_output_file for saved
1987 trace file.
1988
1989 2013-04-10 Hui Zhu <hui@codesourcery.com>
1990
1991 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1992 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1993 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1994
1995 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1996
1997 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1998 response.
1999
2000 2013-04-08 Pedro Alves <palves@redhat.com>
2001
2002 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
2003 the location.
2004
2005 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2006
2007 * gdb.cp/cplabel.exp: Allow empty directory in file reported
2008 for breakpoint location.
2009
2010 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2011
2012 * gdb.linespec/linespec.exp: Make dir/file:line tests
2013 conditional for non-remote hosts only.
2014
2015 2013-04-04 Stan Shebs <stan@codesourcery.com>
2016 Pedro Alves <palves@redhat.com>
2017
2018 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
2019 * gdb.trace/actions-changed.c: New file.
2020 * gdb.trace/actions-changed.exp: New file.
2021 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
2022 (gdb_trace_setactions_command): ... this. Add "actions_command"
2023 parameter, and handle it.
2024 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
2025
2026 2013-04-04 Yao Qi <yao@codesourcery.com>
2027
2028 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
2029 'step'.
2030
2031 2013-04-03 Yao Qi <yao@codesourcery.com>
2032
2033 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
2034 "tfile-basic.tf".
2035 (test_tfind_tfile): Likewise.
2036
2037 2013-04-03 Yao Qi <yao@codesourcery.com>
2038
2039 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
2040 "tfile-basic.tf" instead of "basic.tf".
2041 (write_error_trace_file): Pass argument "tfile-error.tf"
2042 instead of "error.tf".
2043 * gdb.trace/tfile.exp: Update tfile names to
2044 "tfile-basic.tf" and "tfile-error.tf".
2045
2046 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
2047
2048 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
2049 empty directory in file for breakpoint hit.
2050
2051 2013-03-29 Yao Qi <yao@codesourcery.com>
2052
2053 * gdb.base/completion.exp: Test completion of commands
2054 "target core", "target tfile" and "target exec".
2055 * gdb.trace/tfile.exp: Test completion of command
2056 "target tfile".
2057
2058 2013-03-28 Joel Brobecker <brobecker@adacore.com>
2059
2060 * gdb.ada/win_fu_syms: New testcase.
2061
2062 2013-03-28 Doug Evans <dje@google.com>
2063
2064 * gdb.base/maint.exp (maint print statistics): Update expected output.
2065
2066 2013-03-28 Pedro Alves <palves@redhat.com>
2067
2068 PR gdb/15294
2069
2070 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
2071 mean unlimited instead of $arg < 0.
2072 (test_listsize): Remove "listsize of 0 suppresses output" test.
2073 Test that "set listsize 0" ends up with an unlimited listsize.
2074
2075 2013-03-28 Pedro Alves <palves@redhat.com>
2076
2077 * gdb.base/list.exp (last_line): New global.
2078 (last_line_re): New global.
2079 (test_listsize, test_list_function, test_list_forward)
2080 (test_repeat_list_command, test_list_range)
2081 (test_list_filename_and_function): Use them.
2082 * gdb.base/list0.c: Comment the last line of the file with "last
2083 line".
2084
2085 2013-03-28 Pedro Alves <palves@redhat.com>
2086
2087 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
2088 list the whole file.
2089
2090 2013-03-28 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
2093 "set listsize".
2094
2095 2013-03-26 Keith Seitz <keiths@redhat.com>
2096
2097 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
2098 from passing.
2099
2100 2013-03-26 Pedro Alves <palves@redhat.com>
2101
2102 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
2103 until after GDB has run.
2104
2105 2013-03-26 Yao Qi <yao@codesourcery.com>
2106
2107 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
2108 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
2109
2110 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
2111
2112 * gdb.btrace/enable.exp: Add regression test.
2113
2114 2013-03-25 Tom Tromey <tromey@redhat.com>
2115
2116 * gdb.cp/m-static.exp: Add destructor-printing tests.
2117
2118 2013-03-25 Tom Tromey <tromey@redhat.com>
2119
2120 * gdb.cp/m-static.exp: Add constructor ptype tests.
2121 * gdb.cp/m-static.cc (single_constructor): New class.
2122 (main): Make instance of single_constructor.
2123
2124 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2125 Pedro Alves <palves@redhat.com>
2126
2127 * gdb.server/server-kill.c: New file.
2128 * gdb.server/server-kill.exp: New file.
2129
2130 2013-03-21 Pedro Alves <palves@redhat.com>
2131
2132 * gdb.trace/trace-buffer-size.exp (get default buffer size):
2133 Expect $gdb_prompt in gdb_test_multiple.
2134
2135 2013-03-21 Doug Evans <dje@google.com>
2136
2137 * gdb.base/maint.exp: Update tests for per-command stats.
2138
2139 2013-03-21 Tom Tromey <tromey@redhat.com>
2140
2141 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
2142 * gdb.cp/misc.exp: Add test for FILENAME:: case.
2143
2144 2013-03-20 Pedro Alves <palves@redhat.com>
2145
2146 PR gdb/15289
2147
2148 * gdb.base/remote.exp: Test
2149 "set remote hardware-watchpoint-limit -1",
2150 "set remote hardware-breakpoint-limit -1",
2151 "set remote hardware-watchpoint-limit 2147483647" and
2152 "set remote hardware-breakpoint-limit 2147483647".
2153
2154 2013-03-20 Pedro Alves <palves@redhat.com>
2155 Yao Qi <yao@codesourcery.com>
2156
2157 * gdb.trace/tfile.c: Add comments.
2158 (nonconstglob): New global.
2159 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
2160 global that is not covered by the trace frame. Test
2161 disassembling.
2162
2163 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2164
2165 * gdb.base/valgrind-infcall.exp
2166 (continue #$continue_count) <remote connection closed>
2167 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
2168 $valgrind_pid.
2169
2170 2013-03-15 Tom Tromey <tromey@redhat.com>
2171
2172 * gdb.cp/overload.cc (intintfunc): New.
2173 * gdb.cp/overload.exp: Add regression test.
2174
2175 2013-03-15 Yao Qi <yao@codesourcery.com>
2176
2177 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
2178 using with_test_prefix.
2179 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
2180 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
2181 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
2182 * gdb.threads/watchpoint-fork.exp (test): Likewise.
2183 * gdb.base/break-interp.exp (test_core): Likewise.
2184 (test_attach_gdb): Likewise.
2185 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2186 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2187 Likewise.
2188 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2189 * gdb.base/jit.exp (one_jit_test): Likewise.
2190 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
2191 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
2192 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
2193 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
2194 Likewise.
2195 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2196 Likewise.
2197 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
2198 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
2199 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
2200 (tracepoint_change_loc_2): Likewise.
2201 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2202 Likewise.
2203 (disconnected_tfind): Likewise.
2204 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
2205 Likewise.
2206 (test_tfind_remote): Likewise.
2207 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
2208 Likewise.
2209 (test_pending_resolved): Likewise.
2210 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
2211 Likewise.
2212 (test_upload_tsv): Likewise.
2213 * gdb.trace/pending.exp (pending_tracepoint_resolved):
2214 Likewise.
2215 (pending_tracepoint_works): Likewise.
2216 * gdb.trace/report.exp (use_collected_data): Likewise.
2217 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
2218 Likewise.
2219 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
2220 * gdb.trace/strace.exp (strace_info_marker): Likewise.
2221 (strace_trace_on_same_addr): Likewise.
2222 (strace_trace_on_diff_addr): Likewise.
2223 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
2224 (gdb_collect_locals_test): Likewise.
2225 (gdb_unavailable_registers_test): Likewise.
2226 (gdb_collect_globals_test): Likewise.
2227
2228 2013-03-15 Yao Qi <yao@codesourcery.com>
2229
2230 * gdb.base/condbreak.exp: Add semicolon back which was removed
2231 by my previous commit.
2232
2233 2013-03-14 Yao Qi <yao@codesourcery.com>
2234
2235 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
2236 'return'.
2237 (gdb_target_monitor, gdb_load): Likewise.
2238 * config/sid.exp (gdb_load): Likewise.
2239 * config/slite.exp (gdb_load): Likewise.
2240 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
2241 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
2242 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
2243 (single_step_until): Likewise.
2244 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2245 * gdb.arch/system-gcore.exp: Likewise.
2246 * gdb.base/bigcore.exp (extract_heap): Likewise.
2247 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
2248 * gdb.base/call-ar-st.exp: Likewise.
2249 * gdb.base/call-rt-st.exp: Likewise.
2250 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
2251 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
2252 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
2253 * gdb.base/corefile.exp: Likewise.
2254 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
2255 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
2256 * gdb.base/fixsection.exp: Likewise.
2257 * gdb.base/funcargs.exp: Likewise.
2258 * gdb.base/gcore-buffer-overflow.exp: Likewise.
2259 * gdb.base/gcore-relro.exp: Likewise.
2260 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
2261 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
2262 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
2263 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
2264 * gdb.base/list.exp: Likewise.
2265 (set_listsize): Likewise.
2266 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
2267 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
2268 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
2269 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
2270 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
2271 * gdb.base/setvar.exp: Likewise.
2272 (test_set): Likewise.
2273 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
2274 * gdb.base/solib-overlap.exp: Likewise.
2275 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
2276 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
2277 * gdb.base/watchpoint.exp (initialize): Likewise.
2278 (test_simple_watchpoint): Likewise.
2279 (test_disabling_watchpoints): Likewise.
2280 (test_watchpoint_triggered_in_syscall): Likewise.
2281 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
2282 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
2283 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
2284 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
2285 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2286 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2287 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2288 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2289 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2290 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
2291 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2292 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
2293 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
2294 * gdb.mi/gdb792.exp: Likewise.
2295 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
2296 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
2297 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
2298 * gdb.threads/gcore-thread.exp: Likewise.
2299 (load_core): Likewise.
2300 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
2301 (test_startup, check_control_c): Likewise.
2302 * gdb.threads/sigstep-threads.exp: Likewise.
2303 * gdb.threads/thread_check.exp: Likewise.
2304 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
2305 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
2306 (set_a_tracepoint, trace_buffer_normal): Likewise.
2307 (gdb_trace_circular_tests): Likewise.
2308 * gdb.trace/collection.exp: Likewise.
2309 * gdb.trace/disconnected-tracing.exp: Likewise.
2310 * gdb.trace/infotrace.exp: Likewise.
2311 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2312 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2313 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
2314 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
2315 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
2316 * gdb.trace/stap-trace.exp: Likewise.
2317 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
2318 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2319 * gdb.trace/trace-buffer-size.exp: Likewise.
2320 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2321 * gdb.trace/unavailable.exp: Likewise.
2322 * gdb.trace/while-dyn.exp: Likewise.
2323 * lib/fortran.exp (set_lang_fortran): Likewise.
2324 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2325 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2326 (default_gdb_start, get_compiler_info): Likewise.
2327 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2328 (get_debug_format, setup_xfail_format): Likewise.
2329 (rerun_to_main, gdb_skip_float_test): Likewise.
2330 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2331 * lib/java.exp (set_lang_java): Likewise.
2332 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2333 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2334 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2335 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2336 * lib/objc.exp (set_lang_objc): Likewise.
2337 * lib/pascal.exp (set_lang_pascal): Likewise.
2338 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2339 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2340 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2341
2342 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2343
2344 PR c++/15203
2345 PR c++/15210
2346 * gdb.cp/m-static.cc (keepalive_int): New function.
2347 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2348 * gdb.cp/m-static.exp: New test for `sintvar'.
2349
2350 2013-03-14 Yao Qi <yao@codesourcery.com>
2351
2352 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2353 of 'tstatus' into tstatus_output.
2354 (top level): Save the trace data to tfile. Read trace file in
2355 tfile target. Check the trace status.
2356
2357 2013-03-13 Yao Qi <yao@codesourcery.com>
2358
2359 * gdb.trace/tsv.exp (check_tsv): New.
2360 (top level): Save a tfile on current trace session. Call
2361 check_tsv on live target. Load the tfile with target tfile
2362 and call check_tsv again.
2363
2364 2013-03-13 Yao Qi <yao@codesourcery.com>
2365
2366 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2367 Replace some "gdb_test" with "gdb_test_no_output".
2368
2369 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2370
2371 * gdb.ada/expr_delims.exp: New file.
2372 * gdb.ada/expr_delims/foo.adb: New file.
2373 * gdb.ada/expr_delims/pck.ads: New file.
2374 * gdb.ada/expr_delims/pck.adb: New file.
2375
2376 2013-03-11 Keith Seitz <keiths@redhat.com>
2377
2378 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2379 both condition and thread. Then delete the watchpoint.
2380
2381 2013-03-11 Christian Himpel <christian.himpel@intel.com>
2382
2383 * Makefile.in: Add btrace testsuite.
2384 * configure: Regenerated.
2385 * configure.ac: Add btrace testsuite.
2386 * gdb.btrace/Makefile.in: New file.
2387 * gdb.btrace/enable.c: New file.
2388 * gdb.btrace/enable.exp: New file.
2389 * gdb.btrace/function_call_history.c: New file.
2390 * gdb.btrace/function_call_history.exp: New file.
2391 * gdb.btrace/instruction_history.c: New file.
2392 * gdb.btrace/instruction_history.exp: New file.
2393 * gdb.btrace/instruction_history.S: New file.
2394 * lib/gdb.exp: Add btrace skip proc.
2395
2396 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2397
2398 Fix entry-values if the callee called a noreturn function.
2399 * gdb.arch/amd64-tailcall-noret.S: New file.
2400 * gdb.arch/amd64-tailcall-noret.c: New file.
2401 * gdb.arch/amd64-tailcall-noret.exp: New file.
2402
2403 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2404
2405 Fix entry-values in C++ across CUs.
2406 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2407 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2408 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2409 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2410 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2411
2412 2013-03-08 Stan Shebs <stan@codesourcery.com>
2413 Hafiz Abid Qadeer <abidh@codesourcery.com>
2414
2415 gdb/testsuite/
2416 * gdb.trace/trace-buffer-size.exp: New file.
2417 * gdb.trace/trace-buffer-size.c: New file.
2418
2419 2013-03-06 Pedro Alves <palves@redhat.com>
2420
2421 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2422 doesn't support the tested optional feature, call "unsupported"
2423 with the same test message as the "pass" case, instead of calling
2424 "pass" with a different message. Use the same text for the "fail"
2425 cases too.
2426
2427 2013-03-06 Yao Qi <yao@codesourcery.com>
2428
2429 * gdb.trace/tstatus.exp: Remove the invocation of
2430 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2431 (test_tracepoints): Don't set fast tracepoint.
2432 (top level): Don't check agent library is loaded or not.
2433
2434 2013-03-06 Yao Qi <yao@codesourcery.com>
2435
2436 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2437 parentheses by "\\".
2438
2439 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2440
2441 * gdb.linespec/base/one/thefile.cc (twodup): New.
2442 (m): Call it.
2443 * gdb.linespec/base/two/thefile.cc (dupname): New.
2444 (n): Call it.
2445 * gdb.linespec/break-ask.exp: New file.
2446 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2447
2448 2013-02-28 Yao Qi <yao@codesourcery.com>
2449
2450 * gdb.trace/report.exp: Move some code to ...
2451 (use_collected_data): New.
2452 (top level): Call use_collected_data once on the live target.
2453 Save at file of the current trace session, load it with target
2454 tfile, and call use_collected_data again.
2455
2456 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2457
2458 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2459
2460 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2461
2462 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2463 Add final kill of ${valgrind_pid}.
2464
2465 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2466
2467 * gdb.python/py-arch.c: New test case
2468 * gdb.python/py-arch.exp: New tests to test
2469 gdb.Architecture.disassemble
2470 * gdb.python/Makefile.in: Add py-arch to the list of
2471 EXECUTABLES.
2472
2473 2013-02-18 Tom Tromey <tromey@redhat.com>
2474
2475 * gdb.dwarf2/subrange.exp: New file.
2476
2477 2013-02-15 Pedro Alves <pedro@codesourcery.com>
2478 Hafiz Abid Qadeer <abidh@codesourcery.com>
2479
2480 * gdb.trace/tfile.exp: Add test for -trace-status command.
2481
2482 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2483
2484 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2485 nanosleep by sleep.
2486
2487 2013-02-14 Pedro Alves <palves@redhat.com>
2488
2489 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2490
2491 2013-02-14 Pedro Alves <pedro@codesourcery.com>
2492 Hafiz Abid Qadeer <abidh@codesourcery.com>
2493
2494 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2495
2496 2013-02-12 Tom Tromey <tromey@redhat.com>
2497
2498 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2499 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2500
2501 2013-02-12 Pedro Alves <palves@redhat.com>
2502
2503 * gdb.base/catch-signal.c: Update copyright years.
2504 * gdb.base/catch-signal.exp: Update copyright years.
2505 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2506 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2507 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2508 * gdb.dwarf2/dw2-error.S: Update copyright years.
2509 * gdb.dwarf2/dw2-error.c: Update copyright years.
2510 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2511 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2512 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2513
2514 2013-02-12 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2517 message.
2518 * gdb.base/sigaltstack.exp: Ditto.
2519 * gdb.base/siginfo.exp: Ditto.
2520 * gdb.base/sizeof.exp: Ditto.
2521
2522 2013-02-12 Pedro Alves <palves@redhat.com>
2523
2524 * gdb.mi/mi-basics.exp: Tweak intro comment.
2525 * gdb.mi/mi-break.exp: Tweak intro comment.
2526 * gdb.mi/mi-console.exp: Tweak intro comment.
2527 * gdb.mi/mi-file.exp: Tweak intro comment.
2528 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2529 * gdb.mi/mi-return.exp: Tweak intro comment.
2530 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2531 * gdb.mi/mi-until.exp: Tweak intro comment.
2532 * gdb.mi/mi-watch.exp: Tweak intro comment.
2533
2534 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2535
2536 * gdb.server/no-thread-db.exp: New file.
2537 * gdb.server/no-thread-db.c: New file.
2538 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2539
2540 2013-02-11 Doug Evans <dje@google.com>
2541
2542 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2543 two decfloats.
2544
2545 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2546
2547 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2548 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2549
2550 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2551
2552 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2553
2554 2013-02-06 Yao Qi <yao@codesourcery.com>
2555
2556 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2557 to ...
2558 (test_create_delete_modify_tsv): ... here. New test on modifying
2559 the initial value of a tsv.
2560
2561 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2562
2563 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2564 (cd .../rdir): ... here.
2565
2566 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2567
2568 * gdb.linespec/base/one/header.h: New file.
2569 * gdb.linespec/base/two/header.h: New file.
2570 * gdb.linespec/macro-relative.c: New file.
2571 * gdb.linespec/macro-relative.exp: New file.
2572
2573 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2574
2575 * gdb.base/fullpath-expand-func.c: New file.
2576 * gdb.base/fullpath-expand.c: New file.
2577 * gdb.base/fullpath-expand.exp: New file.
2578 * gdb.base/realname-expand-real.c: New file.
2579 * gdb.base/realname-expand.c: New file.
2580 * gdb.base/realname-expand.exp: New file.
2581
2582 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2583
2584 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2585 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2586
2587 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2588
2589 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2590 (compare_filenames_for_search does not match)
2591 (compare_filenames_for_search does match): New tests.
2592
2593 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2594
2595 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2596
2597 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2598
2599 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2600
2601 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2602
2603 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2604 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2605 ${binfile}.mini_debuginfo-debuglink and
2606 ${binfile}.mini_debuginfo-debuglink.xz.
2607
2608 2013-02-01 Tom Tromey <tromey@redhat.com>
2609
2610 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2611 attributes.
2612
2613 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2614 Tom Tromey <tromey@redhat.com>
2615
2616 * gdb.dwarf2/method-ptr.exp: Link with c++.
2617 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2618
2619 2013-01-31 Tom Tromey <tromey@redhat.com>
2620
2621 * gdb.base/jit.exp (compile_jit_test): New proc.
2622 Add PIE tests.
2623
2624 2013-01-31 Tom Tromey <tromey@redhat.com>
2625
2626 * gdb.dwarf2/method-ptr.cc: New file.
2627 * gdb.dwarf2/method-ptr.exp: New file.
2628
2629 2013-01-31 Tom Tromey <tromey@redhat.com>
2630
2631 * lib/dwarf.exp (namespace Dwarf): New.
2632
2633 2013-01-29 Tom Tromey <tromey@redhat.com>
2634
2635 * gdb.dwarf2/fission-reread.exp: Add unload test.
2636
2637 2013-01-28 Doug Evans <dje@google.com>
2638
2639 * gdb.dwarf2/fission-loclists.exp: New file.
2640 * gdb.dwarf2/fission-loclists.S: New file.
2641
2642 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2643
2644 Code cleanup.
2645 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2646 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2647 and prepare_for_testing.
2648 * gdb.base/store.exp: Likewise.
2649
2650 2013-01-25 Tom Tromey <tromey@redhat.com>
2651
2652 * gdb.python/py-explore.exp: Expect the gdb prompt.
2653
2654 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
2655
2656 * gdb.base/gnu_vector.c: New variable for use in tests.
2657 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2658 changes in scalar to vector casting and widening.
2659 * gdb.python/py-type.c: New variables for use in tests.
2660 * gdb.python/py-type.exp: Update vector related tests to reflect
2661 changes in scalar to vector casting and widening.
2662
2663 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2664
2665 * gdb.base/prologue-include.c: New file.
2666 * gdb.base/prologue-include.exp: New file.
2667 * gdb.base/prologue-include.h: New file.
2668
2669 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2670
2671 PR gdb/13443
2672 * gdb.mi/mi-var-block.exp: Make test messages unique.
2673
2674 2013-01-23 Tom Tromey <tromey@redhat.com>
2675
2676 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2677
2678 2013-01-23 Tom Tromey <tromey@redhat.com>
2679
2680 * gdb.cp/converts.cc (main): Initialize 'a'.
2681
2682 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2683
2684 * testsuite/gdb.python/frame.exp: Add a test for
2685 gdb.Frame.architecture() method.
2686
2687 2013-01-22 Pedro Alves <palves@redhat.com>
2688
2689 * gdb.base/annota1.exp (signal sent): No longer expect
2690 breakpoints-invalid.
2691 * gdb.cp/annota2.exp (continue until exit)
2692 (watch triggered on a.x): Ditto.
2693
2694 2013-01-22 Pedro Alves <palves@redhat.com>
2695
2696 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2697 Adjust tests to breakpoints-invalid changes.
2698 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2699 variables.
2700 Adjust tests to breakpoints-invalid changes.
2701
2702 2013-01-22 Pedro Alves <palves@redhat.com>
2703
2704 * gdb.base/annota1.exp (annotate ignore count change): Add
2705 expected output for failure case.
2706
2707 2013-01-22 Tom Tromey <tromey@redhat.com>
2708
2709 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2710 call.
2711
2712 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2713
2714 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
2715 * gdb.mi/mi-catch-load.exp: Ditto.
2716 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2717 Also handle 'thread' field.
2718 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2719 * gdb.mi/mi-watch.exp: Ditto.
2720 * lib/mi-support.exp: Ditto.
2721
2722 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2723
2724 * gdb.python/py-explore.exp: Improve a test
2725
2726 2013-01-18  David Blaikie  <dblaikie@gmail.com>
2727
2728 * gdb.base/label.c (main): Correct the type of the second
2729 parameter.
2730
2731 2013-01-18 Tom Tromey <tromey@redhat.com>
2732
2733 * gdb.dwarf2/trace-crash.s: New file.
2734 * gdb.dwarf2/trace-crash.exp: New file.
2735
2736 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2737
2738 PR gdb/13443
2739 * gdb.base/checkpoint.exp: Update test messages to make them
2740 unique.
2741
2742 2013-01-18 Yao Qi <yao@codesourcery.com>
2743
2744 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2745 output of 'info tracepoints'.
2746 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2747 Likewise.
2748 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2749 * gdb.trace/disconnected-tracing.c (struct foo): New.
2750
2751 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2752
2753 * gdb.dwarf2/dw2-dos-drive.S: New file.
2754 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2755
2756 2013-01-17 Doug Evans <dje@google.com>
2757
2758 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2759 CXX_FOR_TARGET.
2760
2761 * boards/cc-with-tweaks.exp: New file.
2762
2763 2013-01-17 Tom Tromey <tromey@redhat.com>
2764
2765 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2766
2767 2013-01-17 Pedro Alves <palves@redhat.com>
2768
2769 Merge dg-extract-results.sh from upstream (svn 195224).
2770
2771 2013-01-15 David Blaikie <dblaikie@gmail.com>
2772 * dg-extract-results.sh: Fix order of summary counts.
2773
2774 2013-01-15 David Blaikie <dblaikie@gmail.com>
2775 * dg-extract-results.sh: Constrain the start-of-log pattern.
2776
2777 2013-01-15 David Blaikie <dblaikie@gmail.com>
2778 * dg-extract-results.sh: Handle KPASSes.
2779
2780 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2781 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2782 of grep -q.
2783
2784 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2785
2786 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2787 interface.
2788 * gdb.base/jithost.c: New file.
2789 * gdb.base/jithost.h: New file.
2790 * gdb.base/jitreader.c : New file.
2791 * gdb.base/jit-protocol.h: New file.
2792
2793 2013-01-16 Tom Tromey <tromey@redhat.com>
2794
2795 * gdb.base/catch-signal.c: New file.
2796 * gdb.base/catch-signal.exp: New file.
2797
2798 2013-01-16 Tom Tromey <tromey@redhat.com>
2799
2800 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2801
2802 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2803
2804 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2805
2806 2013-01-14 Tom Tromey <tromey@redhat.com>
2807
2808 * gdb.base/completion.exp: Add "set gnutarget" test.
2809
2810 2013-01-14 Tom Tromey <tromey@redhat.com>
2811
2812 * gdb.dwarf2/dw2-restrict.S: New file.
2813 * gdb.dwarf2/dw2-restrict.c: New file.
2814 * gdb.dwarf2/dw2-restrict.exp: New file.
2815
2816 2013-01-14 Tom Tromey <tromey@redhat.com>
2817
2818 * gdb.dwarf2/dw2-error.exp: New file.
2819 * gdb.dwarf2/dw2-error.c: New file.
2820 * gdb.dwarf2/dw2-error.S: New file.
2821
2822 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2823
2824 * gdb.cp/parse-lang.cc: New file.
2825 * gdb.cp/parse-lang.exp: New file.
2826
2827 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2828
2829 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2830 (set substitute-path): New test.
2831 (fullname present): Remove content.
2832 (substituted fullname): New test.
2833
2834 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2835
2836 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2837 check. Move $gdb_py_is_py24 value check right after.
2838
2839 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2840
2841 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2842 targets.
2843
2844 2013-01-11 Yao Qi <yao@codesourcery.com>
2845
2846 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2847 for dprintf.
2848 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2849 Check the fields in "=breakpoint-created" for dprintf.
2850
2851 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2852
2853 * gdb.mi/mi-fullname-deleted.exp: New file.
2854
2855 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2856
2857 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2858 expected output.
2859 (info skip with pending file): Remove.
2860 (ignoring function in solib, info skip for function multiply): Update
2861 the expected output.
2862 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2863 (info skip (delete 1), info skip after disabling all)
2864 (info skip after enabling all, info skip after disabling 4 2-3)
2865 (info skip after enabling 2-3, info skip 2-3)
2866 (info skip after deleting 2 3): Update the expected output.
2867 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2868 statement to its initialization and return.
2869 * gdb.linespec/skip-two.exp: New file.
2870
2871 2012-12-19 Doug Evans <dje@google.com>
2872
2873 * gdb.base/maint.exp: Handle testing with .gdb_index.
2874
2875 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2876
2877 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2878 Cavium to FSF.
2879
2880 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2881
2882 * dg-extract-results.sh: Update contact info in copyright notice.
2883 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2884 GPL v3 or later. Update contact info.
2885 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2886 gdb.threads/watchpoint-fork-mt.c,
2887 gdb.threads/watchpoint-fork-parent.c,
2888 gdb.threads/watchpoint-fork-st.c,
2889 gdb.threads/watchpoint-fork.h: Likewise.
2890
2891 2012-12-15 Yao Qi <yao@codesourcery.com>
2892
2893 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2894 'installed' field in '=breakpoint-modified'.
2895 (test_reconnect): Check 'installed' field in
2896 '=breakpoint-modified' and '=breakpoint-created'.
2897
2898 * gdb.trace/actions.exp: Update test for 'installed' field.
2899 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2900 (tracepoint_change_loc_2): Likewise.
2901 Check 'info tracepoint' display nothing else.
2902 * gdb.trace/deltrace.exp: Likewise.
2903 * gdb.trace/infotrace.exp: Likewise.
2904 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2905 Likewise.
2906 * gdb.trace/passcount.exp: Likewise.
2907 * gdb.trace/tracecmd.exp: Likewise.
2908 * gdb.trace/while-stepping.exp: Likewise.
2909
2910 2012-12-14 Tom Tromey <tromey@redhat.com>
2911
2912 * gdb.cp/member-name.exp: New file.
2913 * gdb.cp/member-name.cc: New file.
2914
2915 2012-12-14 Tom Tromey <tromey@redhat.com>
2916
2917 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2918
2919 2012-12-14 Doug Evans <dje@google.com>
2920
2921 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2922 DW_OP_GNU_implicit_pointer is section-relative.
2923
2924 2012-12-14 Tom Tromey <tromey@redhat.com>
2925
2926 * gdb.base/info-proc.exp: Add core file tests.
2927
2928 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2929
2930 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2931
2932 2012-12-13 Doug Evans <dje@google.com>
2933
2934 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2935 * gdb.multi/multi-arch.exp: Ditto.
2936
2937 2012-12-12 Keven Boell <keven.boell@intel.com>
2938
2939 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2940 catch load test library source file.
2941 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2942 load test source file.
2943 * gdb.mi/mi-catch-load.exp: New. Test file for
2944 basic MI -catch-load and -catch-unload tests.
2945
2946 2012-12-11 Paul Koning <paul_koning@dell.com>
2947
2948 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2949 exception.
2950 (_iterator_except): New function.
2951 (ArrayPrinter): Use _iterator function instead of local _iterator
2952 class for Python 3 compatibility.
2953 (NoStringContainerPrinter): Use _iterator_except instead of
2954 _iterator.
2955 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2956 execfile for Python 3 compatibility.
2957 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2958 format in error_prompt test.
2959
2960 2012-12-10 Paul Koning <paul_koning@dell.com>
2961
2962 * gdb.base/charset.exp: Change print syntax for Python 3
2963 compatibility.
2964 * gdb.python/py-block.exp: Ditto.
2965 * gdb.python/py-breakpoint.exp: Ditto.
2966 * gdb.python/py-cmd.exp: Ditto.
2967 * gdb.python/py-events.py: Ditto.
2968 * gdb.python/py-finish-breakpoint.py: Ditto.
2969 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2970 * gdb.python/py-finish-breakpoint2.py: Ditto.
2971 * gdb.python/py-frame-inline.exp: Ditto.
2972 * gdb.python/py-frame.exp: Ditto.
2973 * gdb.python/py-infthread.exp: Ditto.
2974 * gdb.python/py-objfile.exp: Ditto.
2975 * gdb.python/py-parameter.exp: Ditto.
2976 * gdb.python/py-progspace.exp: Ditto.
2977 * gdb.python/py-prompt.exp: Ditto.
2978 * gdb.python/py-symbol.exp: Ditto.
2979 * gdb.python/py-symtab.exp: Ditto.
2980 * gdb.python/py-template.exp: Ditto.
2981 * gdb.python/py-value-cc.exp: Ditto.
2982 * gdb.python/python.exp: Ditto.
2983 * gdb.python/source2.py: Ditto.
2984 * gdb.python/lib-types.exp: Change print syntax for Python 3
2985 compatibility.
2986 Use sorted() function rather than sort() method.
2987 Accept either int or long values for enum values.
2988 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2989 execfile for Python 3 compatibility.
2990 * gdb.python/py-evsignal.exp: Ditto.
2991 * gdb.python/py-evthreads.exp: Ditto.
2992 * gdb.python/py-mi.exp: Ditto.
2993 * gdb.python/py-pp-maint.exp: Ditto.
2994 * gdb.python/py-prettyprint.exp: Ditto.
2995 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2996 Python 3 compatibility.
2997 Skip tests for Python 2.4.
2998 * gdb.python/py-inferior.exp: Change print syntax for
2999 Python 3 compatibility.
3000 Use byte string rather than character string in memory write test
3001 if Python 3.
3002 * gdb.python/py-pp-maint.py: Change class declarations to "new
3003 class" syntax.
3004 * gdb.python/py-prettyprint.py: Change iterator class to generator
3005 function for Python 3 compatibility.
3006 Make all classes "new style".
3007 Fix indentation issue and stray semicolon.
3008 * gdb.python/py-shared.expChange print syntax for Python 3
3009 compatibility.
3010 Define "long" if Python 3.
3011 * gdb.python/py-type.exp: Change print syntax for Python 3
3012 compatibility.
3013 Accept either int or long values for enum values.
3014 * gdb.python/py-value.exp: Change print syntax for Python 3
3015 compatibility.
3016 Skip "long" and "unicode" tests if Python 3.
3017 Accept either "type" or "class" in type checks.
3018 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
3019 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
3020
3021 2012-12-10 Tom Tromey <tromey@redhat.com>
3022
3023 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
3024 (test): Add "two_cu" argument.
3025 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
3026 for types; allow two CUs.
3027
3028 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3029
3030 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
3031 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
3032
3033 2012-12-08 Yao Qi <yao@codesourcery.com>
3034 Pedro Alves <palves@redhat.com>
3035
3036 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
3037 '=breakpoint-created' when GDB merges the tracepoints of both
3038 sides.
3039
3040 2012-12-07 Tom Tromey <tromey@redhat.com>
3041
3042 * gdb.base/break1.c (enum some_enum, union some_union): New.
3043 (some_enum_global, some_union_global, some_value): New globals.
3044 * gdb.base/completion.exp: Add tag completion tests.
3045
3046 2012-12-07 Tom Tromey <tromey@redhat.com>
3047
3048 * gdb.base/completion.exp: Add tests for ptype and whatis
3049 completion.
3050
3051 2012-12-07 Joel Brobecker <brobecker@adacore.com>
3052
3053 * gdb.base/stale-infcall.exp: Fix copyright line.
3054
3055 2012-12-07 Joel Brobecker <brobecker@adacore.com>
3056
3057 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
3058
3059 2012-12-06 Pedro Alves <palves@redhat.com>
3060 Tom Tromey <tromey@redhat.com>
3061
3062 * gdb.base/exprs.exp: Add tests for cast to void.
3063
3064 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
3065
3066 * gdb.python/py-mi.exp: Correct expected results for attribute
3067 "dynamic" returned by -var-update.
3068 Add test case for correct handling of "diplayhint" for children
3069 of dynamic varobjs.
3070 * gdb.python/py-prettyprint.c (set_itme): New function.
3071 (bug_14741) New function.
3072 (main) Add call to bug_14741().
3073 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
3074
3075 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
3076
3077 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
3078 ${binfile}.funcsyms list.
3079
3080 2012-12-04 Yao Qi <yao@codesourcery.com>
3081
3082 PR gdb/13443
3083 * gdb.trace/actions.exp: Make test messages unique.
3084
3085 2012-11-29 Tom Tromey <tromey@redhat.com>
3086
3087 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
3088
3089 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
3090
3091 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
3092 * gdb.opencl/datatypes.exp: Likewise.
3093 * gdb.opencl/operators.exp: Likewise.
3094 * gdb.opencl/vec_comps.exp: Likewise.
3095
3096 2012-11-29 Jerome Guitton <guitton@adacore.com>
3097
3098 * gdb.ada/iwide: New testcase.
3099
3100 2012-11-29 Jerome Guitton <guitton@adacore.com>
3101
3102 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
3103 ptype test.
3104
3105 2012-11-29 Jerome Guitton <guitton@adacore.com>
3106
3107 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
3108 form {VARIANT_TYPE}ADDRESS.
3109
3110 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
3111
3112 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
3113 (func): New function.
3114 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
3115 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
3116 pointers to members with pointer-to-function type.
3117
3118 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3119 Tom Tromey <tromey@redhat.com>
3120
3121 * gdb.base/gnu-debugdata.exp: New file.
3122 * gdb.base/gnu-debugdata.c: New file.
3123 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
3124 (gdb_unload): Return 0 on success.
3125
3126 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3127
3128 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
3129
3130 2012-11-26 Joel Brobecker <brobecker@adacore.com>
3131
3132 * gdb.base/empty_exe.exp: New testcase.
3133
3134 2012-11-20 Mike Frysinger <vapier@gentoo.org>
3135
3136 * gdb.base/completion.exp: Add test for help aliases completion.
3137
3138 2012-11-20 Yao Qi <yao@codesourcery.com>
3139
3140 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3141 Don't test 'maint set show-debug-regs'.
3142 Use command 'set remotecache' instead of
3143 'set circular-trace-buffer'.
3144
3145 2012-11-16 Keith Seitz <keiths@redhat.com>
3146
3147 PR c++/13615
3148 * gdb.cp/baseenum.cc: New file.
3149 * gdb.cp/baseenum.exp: New file.
3150 * gdb.cp/derivation.cc (A): Add copyright.
3151 Add a typedef.
3152 (B): Use A::value_type instead of int. Change all references.
3153 (D): Use value_type instead of int. Change all references.
3154 (E): Likewise.
3155 (F); Likewise.
3156 (Z): New class.
3157 (ZZ): New class.
3158 (N, Base, Derived): New namespace and classes.
3159 (main): Add instances of Z and ZZ.
3160 Make sure all symbols from N are kept.
3161 * gdb.cp/derivation.exp: Update typedef changes in tests.
3162 Add tests for class typedefs both before and after starting
3163 the inferior.
3164 Add tests for searching for a typedef while stopped in a
3165 method.
3166
3167 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
3168
3169 * gdb.mi/mi-var-create-rtti.c: New file.
3170 * gdb.mi/mi-var-create-rtti.exp: New file.
3171
3172 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
3173
3174 * gdb.base/structs3.exp: Run to main before doing any tests.
3175
3176 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
3177
3178 * gdb.python/py-type.exp: Uniquify test names.
3179
3180 2012-11-14 Yao Qi <yao@codesourcery.com>
3181
3182 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
3183 (thread_function) [DEBUG]: Call 'printf'.
3184 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
3185 command line if 'DEBUG=1' is passed to test.
3186 Remove a pattern to match inferior's output.
3187
3188 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
3189
3190 * gdb.mi/mi-fill-memory.exp: New test.
3191
3192 2012-11-12 Tom Tromey <tromey@redhat.com>
3193
3194 * gdb.base/completion.exp: Update for "info type-printers".
3195 * gdb.python/py-typeprint.cc: New file.
3196 * gdb.python/py-typeprint.exp: New file.
3197 * gdb.python/py-typeprint.py: New file.
3198
3199 2012-11-12 Tom Tromey <tromey@redhat.com>
3200
3201 * gdb.base/call-sc.exp: Use "ptype/r".
3202 * gdb.base/volatile.exp: Don't expect "int".
3203 * gdb.cp/ptype-flags.cc: New file.
3204 * gdb.cp/ptype-flags.exp: New file.
3205 * gdb.cp/templates.exp: Use ptype/r.
3206 (test_ptype_of_templates, test_template_typedef): Likewise.
3207 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
3208 argument. Handle template names and template parameters.
3209 * gdb.mi/mi-var-cmd.exp: Accept "long".
3210 * gdb.mi/mi-var-child.exp: Accept "long".
3211 * gdb.mi/mi-var-display.exp: Accept "long".
3212 * gdb.mi/mi2-var-child.exp: Accept "long".
3213
3214 2012-11-12 Tom Tromey <tromey@redhat.com>
3215
3216 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
3217 "ptype" from calls to cp_test_ptype_class.
3218 (test_enums): Likewise.
3219 * gdb.cp/derivation.exp: Remove "ptype" from calls to
3220 cp_test_ptype_class.
3221 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
3222 calls to cp_test_ptype_class.
3223 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
3224 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
3225 from calls to cp_test_ptype_class.
3226 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
3227 command here. Change "in_command" argument to "in_exp".
3228
3229 2012-11-10 Keith Seitz <keiths@redhat.com>
3230
3231 PR gdb/14288
3232 * gdb.base/printcmds.c: Add invalid_XXX globals
3233 for repeated byte tests.
3234 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
3235 * gdb.base/wchar.c (main): Add and construct a wchar_t
3236 array with repeated characters.
3237 * gdb.base/wchar.exp: Add repeated character tests.
3238
3239 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
3240
3241 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
3242 disassembly output.
3243
3244 2012-11-09 Pedro Alves <palves@redhat.com>
3245
3246 PR gdb/14306
3247
3248 * gdb.multi/multi-arch-exec.c: New file.
3249 * gdb.multi/multi-arch-exec.exp: New file.
3250
3251 2012-11-09 Yao Qi <yao@codesourcery.com>
3252
3253 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
3254 (top level): Call it.
3255
3256 2012-11-09 Yao Qi <yao@codesourcery.com>
3257
3258 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
3259 typo.
3260
3261 2012-11-09 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.multi/multi-arch.exp: New.
3264
3265 2012-11-08 Tom Tromey <tromey@redhat.com>
3266
3267 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
3268 core files, if possible.
3269 * gdb.base/siginfo-thread.c: New file
3270 * gdb.base/siginfo-thread.exp: New file
3271
3272 2012-11-08 Tom Tromey <tromey@redhat.com>
3273
3274 * gdb.base/comprdebug.exp: New file.
3275
3276 2012-11-06 Pedro Alves <palves@redhat.com>
3277
3278 PR gdb/14810
3279
3280 * gdb.base/disabled-location.c: New file.
3281 * gdb.base/disabled-location.exp: New file.
3282
3283 2012-11-06 Tom Tromey <tromey@redhat.com>
3284
3285 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
3286 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
3287 gdb_gcore_cmd.
3288 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
3289 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
3290 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
3291 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
3292 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
3293 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
3294 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
3295 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
3296 * lib/gdb.exp (gdb_gcore_cmd): New proc.
3297
3298 2012-11-05 Pedro Alves <palves@redhat.com>
3299
3300 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
3301 procedure.
3302 (do_vfork_and_follow_child_tests_exec)
3303 (do_vfork_and_follow_child_tests_exit): Call it.
3304
3305 2012-11-05 Pedro Alves <palves@redhat.com>
3306
3307 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
3308 fails.
3309
3310 2012-11-03 Yao Qi <yao@codesourcery.com>
3311
3312 Fix PR gdb/14617.
3313 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3314 Remove setup_kfail, and update test.
3315
3316 2012-11-02 Tom Tromey <tromey@redhat.com>
3317
3318 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3319 test.
3320
3321 2012-11-02 Pedro Alves <palves@redhat.com>
3322
3323 PR gdb/14766
3324
3325 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3326 setup_kfail.
3327 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3328 get registers".
3329
3330 2012-11-02 Pedro Alves <palves@redhat.com>
3331
3332 * gdb.base/foll-vfork-exit.c: New file.
3333 * gdb.base/foll-vfork.exp (top level): New file-describing
3334 comment.
3335 (vfork_child_follow_to_exit): New procedure.
3336 (tcatch_vfork_then_child_follow): Rename as ...
3337 (tcatch_vfork_then_child_follow_exec): ... this.
3338 (tcatch_vfork_then_child_follow_exit): New procedure.
3339 (do_vfork_and_follow_parent_tests): New procedure, factored out
3340 from do_vfork_and_exec_tests.
3341 (do_vfork_and_follow_child_tests_exec): Ditto.
3342 (do_vfork_and_exec_tests): Delete.
3343 (do_vfork_and_follow_child_tests_exit): New procedure.
3344 (top level): Run tests with both the program that has the vfork
3345 child execing, and the program has the vfork child exiting.
3346
3347 2012-11-02 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3350 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3351 (vfork_parent_follow_to_bp): Call it.
3352 (kill_child): Delete.
3353 (vfork_and_exec_child_follow_to_main_bp)
3354 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3355 longer call kill_child.
3356 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3357 (do_vfork_and_exec_tests): Don't runto_main before calling each
3358 test procedure.
3359 (top level): Don't clean restart and set verbose before running
3360 each test procedure.
3361
3362 2012-11-02 Pedro Alves <palves@redhat.com>
3363
3364 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3365 (vfork_parent_follow_to_bp)
3366 (vfork_and_exec_child_follow_to_main_bp)
3367 (vfork_and_exec_child_follow_through_step)
3368 (tcatch_vfork_then_parent_follow)
3369 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3370 Use with_test_prefix.
3371
3372 2012-11-02 Pedro Alves <palves@redhat.com>
3373
3374 * gdb.base/foll-vfork.c: Add copyright header.
3375 * gdb.base/vforked-prog.c: Add copyright header.
3376
3377 2012-11-02 Pedro Alves <palves@redhat.com>
3378
3379 * gdb.base/foll-vfork.exp
3380 (vfork_and_exec_child_follow_through_step): Don't skip on
3381 non-HP/UX targets. Expect the next to only step one line on
3382 non-HP/UX targets, rather than stopping only after the exec.
3383
3384 2012-11-02 Pedro Alves <palves@redhat.com>
3385
3386 Don't hard code line numbers.
3387
3388 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3389 Expect text from the sources instead of a line number.
3390 (vfork_parent_follow_to_bp)
3391 (vfork_and_exec_child_follow_to_main_bp)
3392 (vfork_and_exec_child_follow_through_step)
3393 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3394 Use gdb_get_line_number.
3395
3396 2012-11-02 Pedro Alves <palves@redhat.com>
3397
3398 Modernize.
3399
3400 * gdb.base/foll-vfork.exp: Use standard_testfile and
3401 build_executable. Pass descriptive string to untested.
3402 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3403 (vfork_and_exec_child_follow_to_main_bp)
3404 (vfork_and_exec_child_follow_through_step)
3405 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3406 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3407 of send_gdb/gdb_expect.
3408
3409 (kill_child): New procedure.
3410 (vfork_and_exec_child_follow_to_main_bp)
3411 (vfork_and_exec_child_follow_through_step): Use it.
3412
3413 2012-11-02 Yao Qi <yao@codesourcery.com>
3414
3415 * gdb.base/setvar.exp: Test setting nested struct.
3416 * gdb.base/setvar.c (v_struct3): New.
3417
3418 2012-11-01 Doug Evans <dje@google.com>
3419
3420 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3421 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3422 use them.
3423
3424 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
3425
3426 PR cli/14772
3427 * gdb.base/gnu_vector.c (union_with_vector_1)
3428 (struct_with_vector_1): Add new struct and union for testing
3429 ptype.
3430 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3431 structs / unions containing vectors.
3432
3433 2012-10-25 Yao Qi <yao@codesourcery.com>
3434
3435 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3436 'setup_kfail' instead of 'setup_kfail_for_target'.
3437 * gdb.base/varargs.exp: Likewise.
3438 * lib/gdb.exp (setup_kfail_for_target): Remove.
3439
3440 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3441
3442 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3443
3444 2012-10-25 Mark Kettenis <kettenis@gnu.org>
3445
3446 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3447
3448 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3449
3450 * gdb.ada/set_wstr: New testcase.
3451
3452 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3453
3454 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3455
3456 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3457
3458 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3459
3460 2012-10-24 Mark Kettenis <kettenis@gnu.org>
3461
3462 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3463
3464 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3465
3466 * gdb.base/callfuncs.exp (do_function_calls): Fix
3467 setup_kfail_for_target for -m32 mode.
3468
3469 2012-10-23 Mark Kettenis <kettenis@gnu.org>
3470
3471 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3472 are now fixed.
3473
3474 2012-10-23 Yao Qi <yao@codesourcery.com>
3475
3476 * gdb.base/info-os.exp: Resume the inferior until it exits.
3477
3478 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3479
3480 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3481 * gdb.base/print-file-var.exp: Likewise.
3482 * gdb.base/type-opaque.exp: Likewise.
3483
3484 2012-10-17 Yao Qi <yao@codesourcery.com>
3485
3486 * gdb.mi/mi-memory-changed.exp: New.
3487
3488 2012-10-16 Yao Qi <yao@codesourcery.com>
3489
3490 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3491 returns true.
3492 Call gdb_load_shlibs.
3493 * gdb.reverse/solib-reverse.exp: Likewise.
3494
3495 2012-10-15 Keith Seitz <keiths@redhat.com>
3496
3497 * lib/cp-support.exp (cp_test_ptype_class): Add support
3498 for class typedefs.
3499
3500 * gdb.cp/derivation.exp: Add tests for g_instance.
3501
3502 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3503
3504 Fix entry values resolving in inlined frames.
3505 * gdb.arch/amd64-entry-value-inline.S: New file.
3506 * gdb.arch/amd64-entry-value-inline.c: New file.
3507 * gdb.arch/amd64-entry-value-inline.exp: New file.
3508
3509 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3510 Doug Evans <dje@google.com>
3511
3512 Fix recent gdb_breakpoint regression.
3513 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3514 braces from the parameter.
3515 * gdb.java/jprint.exp: Likewise.
3516
3517 2012-10-15 Doug Evans <dje@google.com>
3518
3519 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3520
3521 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3522
3523 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3524
3525 2012-10-15 Tom Tromey <tromey@redhat.com>
3526
3527 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3528
3529 2012-10-15 Tom Tromey <tromey@redhat.com>
3530
3531 * gdb.python/py-symbol.exp: Test symbol destructor.
3532
3533 2012-10-14 Yao Qi <yao@codesourcery.com>
3534
3535 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3536 * gdb.mi/mi-cli.exp: New.
3537
3538 * gdb.mi/mi2-basics.exp: Remove.
3539 * gdb.mi/mi2-break.exp: Remove.
3540 * gdb.mi/mi2-console.exp: Remove.
3541 * gdb.mi/mi2-disassemble.exp: Remove.
3542 * gdb.mi/mi2-eval.exp: Remove.
3543 * gdb.mi/mi2-file.exp: Remove.
3544 * gdb.mi/mi2-hack-cli.exp: Remove.
3545 * gdb.mi/mi2-pthreads.exp: Remove.
3546 * gdb.mi/mi2-read-memory.exp: Remove.
3547 * gdb.mi/mi2-regs.exp: Remove.
3548 * gdb.mi/mi2-return.exp: Remove.
3549 * gdb.mi/mi2-simplerun.exp: Remove.
3550 * gdb.mi/mi2-stack.exp: Remove.
3551 * gdb.mi/mi2-stepi.exp: Remove.
3552 * gdb.mi/mi2-syn-frame.exp: Remove.
3553 * gdb.mi/mi2-until.exp: Remove.
3554 * gdb.mi/mi2-watch.exp: Remove.
3555 * gdb.mi/mi2-var-block.exp: Remove.
3556 * gdb.mi/mi2-var-cmd.exp: Remove.
3557 * gdb.mi/mi2-var-display.exp: Remove.
3558
3559 2012-10-12 Yao Qi <yao@codesourcery.com>
3560
3561 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3562 trail '.*' on matching patterns.
3563
3564 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3565
3566 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3567 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3568 * gdb.arch/i386-disp-step.exp: Likewise.
3569 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3570 * gdb.arch/i386-prologue.exp: Likewise.
3571 * gdb.arch/i386-size-overlap.exp: Likewise.
3572 * gdb.arch/i386-size.exp: Likewise.
3573 * gdb.arch/i386-unwind.exp: Likewise.
3574
3575 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3576
3577 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3578 * gdb.arch/i386-word.exp: Likewise.
3579
3580 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3581
3582 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3583 is_ilp32_target to set nr_regs.
3584 * gdb.arch/i386-sse.exp: Likewise.
3585
3586 2012-10-11 Doug Evans <dje@google.com>
3587
3588 PR breakpoints/14643.
3589 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3590 * gdb.linespec/thread.c: New file.
3591 * gdb.linespec/thread.exp: New file.
3592
3593 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3594 Recognize "message" -> print pass and fail. Add eof case.
3595 (runto): Recognize message, no-message. Print pass/fail if requested,
3596 with same treatment as gdb_breakpoint.
3597 (runto_main): Pass no-message to runto.
3598 (gdb_internal_error_resync): Add log message.
3599 (gdb_file_cmd): Tweak internal error fail text for consistency.
3600
3601 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3602
3603 Fix crash during stepping on ppc32.
3604 * gdb.base/step-symless.c: New file.
3605 * gdb.base/step-symless.exp: New file.
3606
3607 2012-10-03 Doug Evans <dje@google.com>
3608
3609 PR symtab/14601
3610 * gdb.cp/using-crash.exp: New file.
3611 * gdb.cp/using-crash.cc: New file.
3612
3613 2012-10-02 Doug Evans <dje@google.com>
3614
3615 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3616 more consistent.
3617 (runto,gdb_debug_format): Ditto.
3618 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3619 Clean up logging and error messages.
3620
3621 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
3622
3623 Test find command on unmapped memory.
3624 * gdb.base/find-unmapped.c: New file.
3625 * gdb.base/find-unmapped.exp: New file.
3626
3627 2012-09-29 Yao Qi <yao@codesourcery.com>
3628
3629 * gdb.trace/mi-tracepoint-changed.exp: New.
3630 * gdb.mi/mi-breakpoint-changed.exp: New.
3631 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3632 * gdb.mi/pendshr2.c: New.
3633
3634 2012-09-28 Yao Qi <yao@codesourcery.com>
3635
3636 * gdb.mi/pr11022.exp: New.
3637 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3638
3639 2012-09-27 Tom Tromey <tromey@redhat.com>
3640
3641 * gdb.cp/derivation.exp: Add regression test.
3642 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3643 V_derived): New.
3644 (vderived): New global.
3645
3646 2012-09-26 Tom Tromey <tromey@redhat.com>
3647
3648 * gdb.dwarf2/dw2-common-block.S: New file.
3649 * gdb.dwarf2/dw2-common-block.exp: New file.
3650
3651 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3652
3653 * gdb.fortran/common-block.exp: New file.
3654 * gdb.fortran/common-block.f90: New file.
3655
3656 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
3657
3658 * gdb.base/duplicate-bp.c: New file.
3659 * gdb.base/duplicate-bp.exp: New file.
3660
3661 2012-09-26 Yao Qi <yao@codesourcery.com>
3662
3663 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3664
3665 Revert:
3666 2012-09-21 Yao Qi <yao@codesourcery.com>
3667
3668 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3669
3670 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
3672 * gdb.base/longest-types.c: New test case.
3673 * gdb.base/longest-types.exp: New test case.
3674
3675 2012-09-25 Yao Qi <yao@codesourcery.com>
3676
3677 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3678
3679 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3680
3681 Fix internal error on canonicalization of clang types.
3682 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3683 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3684 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3685
3686 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3687
3688 Fix disassemble without parameters in tailcall frame.
3689 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3690
3691 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
3692
3693 * gdb.dwarf2/dw2-op-out-param.S: New file.
3694 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3695
3696 2012-09-21 Yao Qi <yao@codesourcery.com>
3697
3698 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3699
3700 2012-09-21 Yao Qi <yao@codesourcery.com>
3701
3702 * gdb.mi/mi-cli.exp: Remove.
3703 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3704
3705 2012-09-21 Yao Qi <yao@codesourcery.com>
3706
3707 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3708 "=record-started" notification.
3709
3710 2012-09-21 Yao Qi <yao@codesourcery.com>
3711
3712 * gdb.mi/mi-record-changed.exp: New.
3713 * gdb.mi/mi-reverse.exp: Adjust expected output.
3714
3715 2012-09-20 Tom Tromey <tromey@redhat.com>
3716
3717 * gdb.python/python.exp: Test atexit.register.
3718
3719 2012-09-20 Doug Evans <dje@google.com>
3720
3721 * boards/dwarf4-gdb-index.exp: New file.
3722
3723 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3724 while running the tests.
3725
3726 2012-09-18 Joel Brobecker <brobecker@adacore.com>
3727
3728 * gdb.ada/bp_reset: New testcase.
3729
3730 2012-09-18 Yao Qi <yao@codesourcery.com>
3731
3732 * gdb.trace/mi-tsv-changed.exp: New.
3733
3734 2012-09-18 Yao Qi <yao@codesourcery.com>
3735
3736 * gdb.trace/mi-traceframe-changed.exp: New.
3737
3738 2012-09-17 Yao Qi <yao@codesourcery.com>
3739
3740 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3741 when it is less than 0.
3742
3743 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3744
3745 PR 14119
3746 * gdb.arch/amd64-tailcall-ret.S: New file.
3747 * gdb.arch/amd64-tailcall-ret.c: New file.
3748 * gdb.arch/amd64-tailcall-ret.exp: New file.
3749 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3750 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3751 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3752
3753 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3754
3755 PR 14548
3756 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3757 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3758 * gdb.reverse/singlejmp-reverse.S: New file.
3759 * gdb.reverse/singlejmp-reverse.c: New file.
3760 * gdb.reverse/singlejmp-reverse.exp: New file.
3761
3762 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3763
3764 Fix compatibility with old GCC (~4.1).
3765 * gdb.cp/converts.cc (my_enum_var): New variable.
3766
3767 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
3768
3769 * gdb.xml/tdesc-regs.exp: Update expected output for new
3770 vector_size syntax of vector types.
3771
3772 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3773
3774 Refactor Python "gdb" module into a proper Python package, by
3775 introducing a new "_gdb" module for code implemented in C, and
3776 using reload/__import__ instead of exec.
3777 * gdb.python/python.exp (Test stderr location): Update module
3778 location of GDB-specific sys.stderr.
3779 (Test stdout location): Ditto for sys.stdout.
3780
3781 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3782
3783 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3784
3785 2012-09-12 Keith Seitz <keiths@redhat.com>
3786
3787 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3788 conversion statement.
3789
3790 2012-09-12 Doug Evans <dje@google.com>
3791
3792 * gdb.base/help.exp: Remove testing of individual command help text,
3793 too much of a maintenance burden. Instead, test the functionality
3794 of "help" itself.
3795
3796 2012-09-11 Doug Evans <dje@google.com>
3797
3798 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3799 breakpoint.
3800
3801 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3802 * gdb.dwarf2/fission-reread.S: Ditto.
3803 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3804 * gdb.dwarf2/fission-reread.exp: Ditto.
3805
3806 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3807
3808 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3809
3810 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3811
3812 * gdb.ada/optim_drec: New testcase.
3813
3814 2012-09-10 Doug Evans <dje@google.com>
3815
3816 * boards/fission.exp: Explicitly mark "board" as not remote.
3817
3818 2012-09-10 Keith Seitz <keiths@redhat.com>
3819
3820 PR gdb/13483
3821 * gdb.cp/converts.cc (A::A): Add ctor.
3822 (A::member_): Add member.
3823 (enum my_enum): New enumeration.
3824 (main): Add calls to foo1_7 with various
3825 permitted arguments.
3826 * gdb.cp/converts.exp: Add tests for boolean
3827 conversions permitted by the standard.
3828
3829 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3830
3831 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3832 avoid spurious results due to ~/.gdbinit.
3833 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3834 $INTERNAL_GDBFLAGS in run command.
3835 * gdb.gdb/observer.exp (setup_test): Ditto.
3836 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3837 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3838
3839 2012-09-06 Doug Evans <dje@google.com>
3840
3841 * boards/fission.exp: New file.
3842
3843 * gdb.python/py-value.exp: Use clean_restart.
3844
3845 2012-09-05 Doug Evans <dje@google.com>
3846
3847 * gdb.base/info-macros.c: Fix whitespace.
3848
3849 2012-08-28 Pedro Alves <palves@redhat.com>
3850
3851 PR gdb/14428
3852
3853 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3854
3855 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3856
3857 * gdb.base/break-caller-line.c: New file.
3858 * gdb.base/break-caller-line.exp: New file.
3859
3860 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3861
3862 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3863 * gdb.arch/i386-cfi-notcurrent.S: New file.
3864 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3865
3866 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3867 Yao Qi <yao@codesourcery.com>
3868 Pedro Alves <palves@redhat.com>
3869
3870 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3871 New procedures.
3872 (top level): Add overlap checking tests.
3873
3874 2012-08-24 Tom Tromey <tromey@redhat.com>
3875
3876 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3877 gdb_test_multiple fails for other reasons.
3878
3879 2012-08-24 Yao Qi <yao@codesourcery.com>
3880
3881 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3882
3883 2012-08-23 Pedro Alves <palves@redhat.com>
3884
3885 * gdb.base/help.exp: Adjust to "handle" help text change.
3886
3887 2012-08-23 Yao Qi <yao@codesourcery.com>
3888
3889 * gdb.trace/disconnected-tracing.c (start, end): New.
3890 (main): Call start and end.
3891 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3892 existing tests into this proc.
3893 (disconnected_tfind): New.
3894
3895 2012-08-23 Yao Qi <yao@codesourcery.com>
3896
3897 * boards/native-gdbserver.exp (${board}_upload): New.
3898 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3899 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3900 Execute tfile on remote target.
3901 Copy trace file from target to host.
3902
3903 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3904
3905 * gdb.arch/thumb-bx-pc.S: New file.
3906 * gdb.arch/thumb-bx-pc.exp: New file.
3907
3908 2012-08-22 Tom Tromey <tromey@redhat.com>
3909
3910 * gdb.base/maint.exp: Update.
3911
3912 2012-08-22 Tom Tromey <tromey@redhat.com>
3913
3914 * lib/gdb.exp (skip_unwinder_tests): New proc.
3915 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3916 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3917
3918 2012-08-21 Tom Tromey <tromey@redhat.com>
3919
3920 * gdb.hp/gdb.aCC/exception.exp: Remove.
3921
3922 012-08-19 Andrew Pinski <apinski@cavium.com>
3923
3924 * gdb.arch/mips-octeon-bbit.c: New file.
3925 * gdb.arch/mips-octeon-bbit.exp: New Test.
3926
3927 012-08-19 Keith Seitz <keiths@redhat.com>
3928
3929 PR c++/14365
3930 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3931 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3932
3933 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3934
3935 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3936 verbose -log by more specific untested call.
3937
3938 2012-08-18 Yao Qi <yao@codesourcery.com>
3939
3940 * gdb.trace/tfind.exp: Move tests on various command help before
3941 checking target supports trace.
3942 Fix the expected output of 'help tfind end'.
3943
3944 2012-08-17 Keith Seitz <keiths@redhat.com>
3945
3946 PR c++/13356
3947 * gdb.base/default.exp: Update all "check type" tests.
3948 * gdb.base/help.exp: Likewise.
3949 * gdb.base/setshow.exp: Likewise.
3950 * gdb.cp/converts.cc (foo1_type_check): New function.
3951 (foo2_type_check): New function.
3952 (foo3_type_check): New function.
3953 (main): Call new functions.
3954 * converts.exp: Add tests for integer-to-pointer conversions
3955 with/without strict type-checking.
3956
3957 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3958
3959 * gdb.base/help.exp: Update expected output.
3960
3961 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3962
3963 * gdb.ada/rdv_wait: New testcase.
3964
3965 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3966
3967 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3968
3969 2012-08-13 Doug Evans <dje@google.com>
3970
3971 * gdb.base/help.exp: Update expected output.
3972 * gdb.base/default.exp: Update expected output of "show convenience".
3973
3974 2012-08-10 Doug Evans <dje@google.com>
3975
3976 * gdb.python/py-strfns.c: New file.
3977 * gdb.python/py-strfns.exp: New file.
3978 * gdb.python/py-type.exp (test_fields): Add vector tests.
3979
3980 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3981
3982 PR cli/10436:
3983 * gdb.base/completion.exp: Add tests for handle completion.
3984
3985 2012-08-09 Yao Qi <yao@codesourcery.com>
3986
3987 * gdb.mi/mi-cmd-param-changed.exp: New.
3988 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3989 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3990 * gdb.mi/mi2-prompt.exp: Likewise.
3991
3992 2012-08-08 Doug Evans <dje@google.com>
3993
3994 * gdb.base/debug-expr.c: New file.
3995 * gdb.base/debug-expr.exp: New file.
3996 * gdb.base/exprs.exp: Test {type} casts.
3997 * gdb.cp/debug-expr.exp: New file.
3998
3999 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4000
4001 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
4002 global variable loop, not a 'break'. Add loop count limit to 100.
4003 Add new fail case for terminated vgdb.
4004
4005 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4006 Jean-Marc Saffroy <saffroy@gmail.com>
4007
4008 PR 11804
4009 * gdb.base/gcore-relro.exp: New file.
4010 * gdb.base/gcore-relro-main.c: New file.
4011 * gdb.base/gcore-relro-lib.c: New file.
4012
4013 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4014
4015 Do not false FAIL with old GCCs.
4016 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
4017 GCC < 4.5 in $no_hw mode.
4018
4019 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4020
4021 * gdb.base/default.exp (cd): Accept new directory with no arguments.
4022
4023 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4024
4025 * gdb.base/list.exp (test_only_end): New function.
4026 Call it.
4027
4028 2012-08-06 Tom Tromey <tromey@redhat.com>
4029
4030 * gdb.python/py-mi.exp: Add test for printer whose children
4031 are a list.
4032 * gdb.python/py-prettyprint.c (struct children_as_list): New.
4033 (main): New variable children_as_list.
4034 * gdb.python/py-prettyprint.py (class pp_children_as_list):
4035 New.
4036 (register_pretty_printers): Register new printer.
4037
4038 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4039
4040 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
4041 symbols. Abort if vgdb remote connection is closed.
4042
4043 2012-08-02 Doug Evans <dje@google.com>
4044
4045 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
4046
4047 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
4048
4049 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
4050 s390x, PowerPC 64 and m68k-linux.
4051
4052 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4053
4054 * gdb.base/annota1.exp: Accept no frames-invalid notification
4055 when starting up the program.
4056 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
4057 show a symbolic value as well.
4058 * gdb.server/server-exec-info.exp: Skip test when skipping
4059 gdbserver test and/or when skipping shared library tests.
4060 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
4061 avoid name conflicts with other tests.
4062
4063 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4064
4065 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
4066 Fix wrong output on big-endian systems.
4067 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4068 4-byte pointer types on 64-bit s390x.
4069
4070 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4071
4072 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
4073 marker comment at the beginning (after intialization).
4074 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
4075 breakpoint on marker comment instead of function begin.
4076 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
4077 PowerPC.
4078 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
4079 or 64-bit PowerPC.
4080 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
4081 gdb,no_hardware_watchpoints flag is set.
4082 (initialize): Remove now redundant can-use-hw-watchpoints change.
4083
4084 2012-08-02 Yao Qi <yao@codesourcery.com>
4085 Pedro Alves <palves@redhat.com>
4086
4087 * boards/local-remote-host.exp: New.
4088
4089 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4090
4091 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
4092 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
4093 * gdb.base/print-file-var.exp: Likewise.
4094 * gdb.server/solib-list.exp: Skip on remote targets.
4095
4096 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4097
4098 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
4099 watchpoints on ARM. When expecting software watchpoints, tolerate
4100 (remote) targets that report unsupported hardware watchpoint only
4101 at continue time.
4102 (test_wide_location_2): Likewise.
4103
4104 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4105
4106 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
4107 valgrind versions.
4108
4109 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4110
4111 * gdb.base/valgrind-infcall.c: New file.
4112 * gdb.base/valgrind-infcall.exp: New file.
4113
4114 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
4115
4116 2012-07-30 Keith Seitz <keiths@redhat.com>
4117
4118 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
4119 linespecs.
4120
4121 2012-07-30 Doug Evans <dje@google.com>
4122
4123 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
4124 * gdb.dwarf2/pr13961.S: Ditto.
4125
4126 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
4127
4128 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
4129
4130 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
4131 change its format immediately after reloading the binary.
4132
4133 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4134
4135 Fix testsuite regression after --use-deprecated-index-sections removal.
4136 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
4137 string.
4138 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
4139
4140 2012-07-27 Yao Qi <yao@codesourcery.com>
4141
4142 KFAIL for PR remote/14161.
4143 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
4144 Cleanup socket files.
4145 (strace_info_marker): Detach inferior.
4146
4147 2012-07-26 Tom Tromey <tromey@redhat.com>
4148
4149 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
4150
4151 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
4152
4153 * gdb.python/py-inferior.c (thread): New function.
4154 (check_threads): New function.
4155 (test_threads): New function.
4156 * gdb.python/py-inferior.exp: Added test.
4157 Replaced runto with continue to breakpoint.
4158
4159 2012-07-26 Tom Tromey <tromey@redhat.com>
4160
4161 * lib/ada.exp (standard_ada_testfile): New proc.
4162 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
4163 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
4164 * gdb.ada/array_return.exp: Use standard_ada_testfile.
4165 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
4166 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
4167 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
4168 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
4169 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
4170 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
4171 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
4172 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
4173 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
4174 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
4175 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
4176 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
4177 * gdb.ada/char_param.exp: Use standard_ada_testfile.
4178 * gdb.ada/complete.exp: Use standard_ada_testfile.
4179 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
4180 standard_output_file.
4181 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
4182 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
4183 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
4184 standard_output_file.
4185 * gdb.ada/exprs.exp: Use standard_ada_testfile.
4186 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
4187 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
4188 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
4189 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
4190 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
4191 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
4192 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
4193 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
4194 * gdb.ada/homonym.exp: Use standard_ada_testfile.
4195 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
4196 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
4197 * gdb.ada/interface.exp: Use standard_ada_testfile.
4198 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
4199 standard_output_file
4200 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
4201 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
4202 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
4203 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
4204 * gdb.ada/nested.exp: Use standard_ada_testfile.
4205 * gdb.ada/null_array.exp: Use standard_ada_testfile.
4206 * gdb.ada/null_record.exp: Use standard_ada_testfile.
4207 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
4208 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
4209 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
4210 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
4211 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
4212 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
4213 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
4214 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
4215 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
4216 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
4217 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
4218 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
4219 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
4220 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
4221 * gdb.ada/start.exp: Use standard_ada_testfile.
4222 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
4223 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
4224 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
4225 * gdb.ada/tagged.exp: Use standard_ada_testfile.
4226 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
4227 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
4228 * gdb.ada/tasks.exp: Use standard_ada_testfile.
4229 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
4230 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
4231 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
4232 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
4233 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
4234 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
4235 * gdb.ada/widewide.exp: Use standard_ada_testfile.
4236
4237 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4238
4239 Fix testsuite regression after --use-deprecated-index-sections removal.
4240 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
4241
4242 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4243
4244 Fix compatibility with Tcl before 7.5.
4245 * lib/future.exp (lreverse): New function if it does not exist.
4246
4247 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
4248
4249 * gdb.mi/mi-pending.c: New method to set a second pending
4250 breakpoint.
4251 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
4252 condition.
4253
4254 2012-07-20 Pedro Alves <palves@redhat.com>
4255
4256 PR threads/11692
4257 PR gdb/12203
4258
4259 * gdb.threads/create-fail.c: New file.
4260 * gdb.threads/create-fail.exp: New file.
4261
4262 2012-07-19 Pedro Alves <palves@redhat.com>
4263
4264 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
4265 * config/vx.exp (gdb_start): Likewise.
4266 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
4267 * gdb.base/setvar.exp (test_set): Likewise.
4268 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
4269 * gdb.reverse/sigall-precsave.exp: Likewise.
4270 * gdb.reverse/sigall-reverse.exp: Likewise.
4271
4272 2012-07-19 Pedro Alves <palves@redhat.com>
4273
4274 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
4275 handler before recording.
4276
4277 2012-07-19 Tom Tromey <tromey@redhat.com>
4278
4279 * gdb.cp/casts.exp: Add tests for typeof and decltype.
4280 * gdb.cp/casts.cc (decltype): New function.
4281 (main): Use it.
4282
4283 2012-07-19 Pedro Alves <palves@redhat.com>
4284
4285 * gdb.base/sigall.exp (signals): New list.
4286 <top level>: Loop over signals in the $signals list instead of
4287 calling a test function once per signal.
4288 * gdb.reverse/sigall-precsave.exp (signals): New list.
4289 <top level>: Loop over signals in the $signals list instead of
4290 calling a test function once per signal.
4291 * gdb.reverse/sigall-reverse.exp (signals): New list.
4292 <top level>: Loop over signals in the $signals list instead of
4293 calling a test function once per signal.
4294
4295 2012-07-19 Yao Qi <yao@codesourcery.com>
4296
4297 * gdb.base/setshow.exp: Test 'set args ~'.
4298
4299 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4300
4301 * gdb.base/store.exp (check_set): Import gdb_prompt.
4302 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
4303 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
4304
4305 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4306
4307 PR 11914
4308 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
4309 (main): Call eval_sub.
4310 * gdb.python/py-prettyprint.exp:
4311 (python execfile ('py-prettyprint.py')): Move it earlier.
4312 New breakpoint for eval-break.
4313 (continue to breakpoint: eval-break, info locals): New test.
4314 (python execfile ('py-prettyprint.py')): Move it from here.
4315 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
4316 (register_pretty_printers): Register pp_eval_type.
4317
4318 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4319
4320 Fix a testcase regression by me.
4321 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4322 DW_FORM_data4.
4323
4324 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4325 Doug Evans <dje@google.com>
4326
4327 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4328 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4329
4330 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4331
4332 Fix gdbserver run regression.
4333 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4334
4335 2012-07-12 Tom Tromey <tromey@redhat.com>
4336
4337 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4338 (clean_restart): Likewise.
4339 (core_find): Use standard_output_file.
4340
4341 2012-07-12 Tom Tromey <tromey@redhat.com>
4342
4343 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4344 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4345 prepare_for_testing_full.
4346 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4347 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4348 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4349 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4350 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4351 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4352 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4353 prepare_for_testing_full.
4354 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4355 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4356 prepare_for_testing_full.
4357 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4358 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4359 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4360
4361 2012-07-12 Tom Tromey <tromey@redhat.com>
4362
4363 * lib/gdb.exp (build_executable_from_specs): New proc, from
4364 build_executable.
4365 (build_executable): Use it.
4366 (prepare_for_testing_full): New proc.
4367
4368 2012-07-11 Tom Tromey <tromey@redhat.com>
4369
4370 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4371 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4372 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4373 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4374 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4375 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4376 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4377 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4378 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4379 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4380
4381 2012-07-10 Tom Tromey <tromey@redhat.com>
4382
4383 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4384 standard_output_file.
4385 * gdb.mi/gdb2549.exp: Use standard_testfile.
4386 * gdb.mi/gdb669.exp: Use standard_testfile.
4387 * gdb.mi/gdb701.exp: Use standard_testfile.
4388 * gdb.mi/gdb792.exp: Use standard_testfile.
4389 * gdb.mi/mi-async.exp: Use standard_testfile.
4390 * gdb.mi/mi-basics.exp: Use standard_testfile.
4391 * gdb.mi/mi-break.exp: Use standard_testfile.
4392 * gdb.mi/mi-cli.exp: Use standard_testfile.
4393 * gdb.mi/mi-console.exp: Use standard_testfile.
4394 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4395 * gdb.mi/mi-eval.exp: Use standard_testfile.
4396 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4397 * gdb.mi/mi-file.exp: Use standard_testfile.
4398 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4399 * gdb.mi/mi-logging.exp: Use standard_testfile.
4400 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4401 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4402 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4403 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4404 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4405 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4406 * gdb.mi/mi-pending.exp: Use standard_testfile,
4407 standard_output_file.
4408 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4409 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4410 * gdb.mi/mi-regs.exp: Use standard_testfile.
4411 * gdb.mi/mi-return.exp: Use standard_testfile.
4412 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4413 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4414 * gdb.mi/mi-solib.exp: Use standard_testfile,
4415 standard_output_file.
4416 * gdb.mi/mi-stack.exp: Use standard_testfile.
4417 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4418 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4419 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4420 * gdb.mi/mi-until.exp: Use standard_testfile.
4421 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4422 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4423 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4424 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4425 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4426 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4427 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4428 standard_output_file.
4429 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4430 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4431 * gdb.mi/mi-watch.exp: Use standard_testfile.
4432 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4433 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4434 * gdb.mi/mi2-break.exp: Use standard_testfile.
4435 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4436 * gdb.mi/mi2-console.exp: Use standard_testfile.
4437 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4438 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4439 * gdb.mi/mi2-file.exp: Use standard_testfile.
4440 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4441 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4442 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4443 * gdb.mi/mi2-return.exp: Use standard_testfile.
4444 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4445 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4446 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4447 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4448 * gdb.mi/mi2-until.exp: Use standard_testfile.
4449 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4450 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4451 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4452 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4453 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4454
4455 2012-07-10 Tom Tromey <tromey@redhat.com>
4456
4457 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4458 * gdb.cp/ambiguous.exp: Use standard_testfile,
4459 prepare_for_testing.
4460 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4461 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4462 * gdb.cp/anon-ns.exp: Use standard_testfile.
4463 * gdb.cp/anon-struct.exp: Use standard_testfile.
4464 * gdb.cp/anon-union.exp: Use standard_testfile,
4465 prepare_for_testing.
4466 * gdb.cp/arg-reference.exp: Use standard_testfile,
4467 prepare_for_testing.
4468 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4469 * gdb.cp/breakpoint.exp: Use standard_testfile,
4470 prepare_for_testing.
4471 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4472 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4473 standard_output_file.
4474 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4475 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4476 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4477 (test_static_members): Update.
4478 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4479 * gdb.cp/converts.exp: Use standard_testfile.
4480 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4481 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4482 prepare_for_testing.
4483 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4484 * gdb.cp/cplabel.exp: Use standard_testfile.
4485 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4486 prepare_for_testing.
4487 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4488 * gdb.cp/derivation.exp: Use standard_testfile,
4489 prepare_for_testing.
4490 * gdb.cp/destrprint.exp: Use standard_testfile.
4491 * gdb.cp/dispcxx.exp: Use standard_testfile.
4492 * gdb.cp/exception.exp: Use standard_testfile,
4493 prepare_for_testing.
4494 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4495 * gdb.cp/extern-c.exp: Use standard_testfile,
4496 prepare_for_testing.
4497 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4498 prepare_for_testing.
4499 * gdb.cp/fpointer.exp: Use standard_testfile.
4500 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4501 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4502 standard_output_file.
4503 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4504 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4505 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4506 standard_output_file.
4507 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4508 (do_tests): Update.
4509 * gdb.cp/koenig.exp: Use standard_testfile.
4510 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4511 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4512 * gdb.cp/m-static.exp: Use standard_testfile,
4513 prepare_for_testing.
4514 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4515 * gdb.cp/mb-inline.exp: Use standard_testfile,
4516 prepare_for_testing.
4517 * gdb.cp/mb-templates.exp: Use standard_testfile,
4518 prepare_for_testing.
4519 * gdb.cp/member-ptr.exp: Use standard_testfile,
4520 prepare_for_testing.
4521 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4522 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4523 * gdb.cp/method2.exp: Use standard_testfile.
4524 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4525 standard_output_file.
4526 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4527 (do_tests): Update.
4528 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4529 prepare_for_testing.
4530 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4531 prepare_for_testing.
4532 * gdb.cp/namespace.exp: Use standard_testfile,
4533 prepare_for_testing.
4534 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4535 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4536 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4537 * gdb.cp/nsimport.exp: Use standard_testfile,
4538 prepare_for_testing.
4539 * gdb.cp/nsnested.exp: Use standard_testfile.
4540 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4541 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4542 prepare_for_testing.
4543 * gdb.cp/nsstress.exp: Use standard_testfile,
4544 prepare_for_testing.
4545 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4546 * gdb.cp/operator.exp: Use standard_testfile.
4547 * gdb.cp/oranking.exp: Use standard_testfile.
4548 * gdb.cp/overload-const.exp: Use standard_testfile.
4549 * gdb.cp/overload.exp: Use standard_testfile,
4550 prepare_for_testing.
4551 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4552 * gdb.cp/ovsrch.exp: Use standard_testfile.
4553 * gdb.cp/paren-type.exp: Use standard_testfile.
4554 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4555 prepare_for_testing.
4556 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4557 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4558 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4559 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4560 * gdb.cp/pr10728.exp: Use standard_testfile,
4561 standard_output_file.
4562 * gdb.cp/pr12028.exp: Use standard_testfile.
4563 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4564 * gdb.cp/pr9167.exp: Use standard_testfile.
4565 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4566 * gdb.cp/printmethod.exp: Use standard_testfile,
4567 prepare_for_testing.
4568 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4569 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4570 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4571 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4572 standard_output_file.
4573 * gdb.cp/readnow-language.exp: Use standard_testfile.
4574 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4575 (gdb_start_again): Use clean_restart.
4576 * gdb.cp/ref-types.exp: Use standard_testfile,
4577 prepare_for_testing.
4578 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4579 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4580 * gdb.cp/smartp.exp: Use standard_testfile.
4581 * gdb.cp/static-method.exp: Use standard_testfile.
4582 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4583 * gdb.cp/temargs.exp: Use standard_testfile.
4584 * gdb.cp/templates.exp: Use standard_testfile,
4585 prepare_for_testing.
4586 (do_tests): Update.
4587 * gdb.cp/try_catch.exp: Use standard_testfile,
4588 prepare_for_testing.
4589 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4590 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4591 * gdb.cp/virtbase.exp: Use standard_testfile,
4592 prepare_for_testing.
4593 * gdb.cp/virtfunc.exp: Use standard_testfile,
4594 prepare_for_testing.
4595 (do_tests): Update.
4596 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4597 prepare_for_testing.
4598
4599 2012-07-10 Tom Tromey <tromey@redhat.com>
4600
4601 * lib/gdb.exp (standard_testfile): Unset output variables from
4602 earlier invocations.
4603
4604 2012-07-10 Yao Qi <yao@codesourcery.com>
4605
4606 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4607 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4608 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4609 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4610 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4611 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4612 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4613 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4614 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4615 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4616 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4617 * gdb.mi/mi-var-display.exp: Likewise.
4618 * gdb.mi/mi-var-invalidate.exp: Likewise.
4619 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4620 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4621 * gdb.mi/mi2-console.exp: Likewise.
4622 * gdb.mi/mi2-disassemble.exp: Likewise.
4623 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4624 * gdb.mi/mi2-read-memory.exp: Likewise.
4625 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4626 * gdb.mi/mi2-simplerun.exp: Likewise.
4627 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4628 * gdb.mi/mi2-syn-frame.exp: Likewise.
4629 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4630 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4631 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4632
4633 2012-07-09 Tom Tromey <tromey@redhat.com>
4634
4635 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4636 * gdb.base/callfuncs.exp: Add cast-based test.
4637 * gdb.base/callfuncs.c (voidfunc): New function.
4638
4639 2012-07-08 Doug Evans <dje@google.com>
4640
4641 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4642
4643 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4644
4645 Fix XFAIL compatibility with old i386 systems.
4646 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4647 Check also 'Cannot insert breakpoint 0'.
4648
4649 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4650
4651 PR 14321
4652 * gdb.base/find.exp
4653 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4654
4655 2012-07-06 Tom Tromey <tromey@redhat.com>
4656
4657 * gdb.base/whatis.exp: Add test.
4658
4659 2012-07-06 Tom Tromey <tromey@redhat.com>
4660
4661 * gdb.base/whatis.exp: Add regression test.
4662
4663 2012-07-06 Tom Tromey <tromey@redhat.com>
4664
4665 * gdb.base/whatis.exp: Add tests.
4666
4667 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4668
4669 PR 12649
4670 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4671 gdb_test_multiple $gdb_prompt terminator.
4672
4673 2012-07-04 Pedro Alves <palves@redhat.com>
4674
4675 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4676 supports_process_record.
4677
4678 2012-07-04 Pedro Alves <palves@redhat.com>
4679
4680 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4681 endings.
4682 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4683
4684 2012-07-03 Stan Shebs <stan@codesourcery.com>
4685
4686 * gdb.base/info-os.c (main): Retry resource acquisition until an
4687 available one is found.
4688 * gdb.base/info-os.exp: Collect resource keys from the program
4689 and use them in matching.
4690
4691 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4692
4693 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4694 Wrap the test into loop for corefile and core0file.
4695
4696 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4697
4698 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4699 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4700 .note.GNU-stack.
4701
4702 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4703
4704 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4705
4706 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4707 break): Include help message for the new `-probe' and `-probe-stap'
4708 options.
4709
4710 2012-07-02 Stan Shebs <stan@codesourcery.com>
4711
4712 * gdb.base/dprintf.exp: Add agent style tests.
4713
4714 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4715
4716 * gdb.base/stale-infcall.c (infcall): New label test-next.
4717 (main): New labels test-pass and test-fail.
4718 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4719 $test_fail_bpnum to test-fail.
4720 (test system longjmp tracking support): New test.
4721 Delete $test_fail_bpnum.
4722 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4723 breakpoint.
4724
4725 2012-06-30 Doug Evans <dje@google.com>
4726
4727 * gdb.dwarf2/fission-reread.S: New file.
4728 * gdb.dwarf2/fission-reread.exp: New file.
4729
4730 2012-06-28 Stan Shebs <stan@codesourcery.com>
4731
4732 * gdb.mi/mi-logging.exp: New file.
4733
4734 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4735 Pedro Alves <palves@redhat.com>
4736
4737 * gdb.threads/siginfo-threads.exp: New file.
4738 * gdb.threads/siginfo-threads.c: New file.
4739 * gdb.threads/sigstep-threads.exp: New file.
4740 * gdb.threads/sigstep-threads.c: New file.
4741
4742 2012-06-28 Tom Tromey <tromey@redhat.com>
4743
4744 * gdb.go/package.exp: Partially revert earlier patch; use
4745 gdb_compile again. Use standard_output_file.
4746
4747 2012-06-27 Doug Evans <dje@google.com>
4748
4749 * gdb.dwarf2/fission-base.c: New file.
4750 * gdb.dwarf2/fission-base.S: New file.
4751 * gdb.dwarf2/fission-base.exp: New file.
4752
4753 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4754
4755 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4756
4757 2012-06-27 Tom Tromey <tromey@redhat.com>
4758
4759 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4760 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4761
4762 2012-06-27 Tom Tromey <tromey@redhat.com>
4763
4764 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4765 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4766 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4767 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4768 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4769 prepare_for_testing.
4770 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4771 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4772 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4773 standard_testfile.
4774 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4775 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4776 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4777 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4778 prepare_for_testing.
4779 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4780 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4781 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4782 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4783 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4784 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4785 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4786 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4787 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4788 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4789 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4790 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4791 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4792 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4793 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4794 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4795 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4796 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4797 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4798 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4799 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4800 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4801 standard_output_file.
4802 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4803 standard_output_file.
4804 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4805 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4806 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4807 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4808 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4809 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4810 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4811 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4812 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4813 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4814 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4815 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4816 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4817 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4818 * gdb.dwarf2/valop.exp: Use standard_testfile,
4819 prepare_for_testing.
4820
4821 2012-06-27 Tom Tromey <tromey@redhat.com>
4822
4823 * gdb.python/python.exp: Fix regexps in pagination tests.
4824
4825 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4826
4827 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4828 'last' of gdb.Symtab_and_line.
4829 * gdb.python/py-symbol.c: Move break point comment to enable
4830 testing of gdb.Symtab_and_line.last.
4831
4832 2012-06-26 Tom Tromey <tromey@redhat.com>
4833
4834 * gdb.threads/step.c: Remove.
4835 * gdb.threads/step.exp: Remove.
4836 * gdb.threads/step2.exp: Remove.
4837
4838 2012-06-26 Tom Tromey <tromey@redhat.com>
4839
4840 * gdb.threads/watchpoint-fork.exp (test): Use
4841 standard_output_file. Don't declare objdir.
4842 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4843 standard_output_file.
4844 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4845 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4846 clean_restart. Remove incdir.
4847 * gdb.threads/corethreads.exp: Use standard_testfile.
4848 * gdb.threads/execl.exp: Use standard_testfile,
4849 standard_output_file, clean_restart.
4850 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4851 clean_restart.
4852 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4853 clean_restart.
4854 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4855 incdir.
4856 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4857 clean_restart. Remove incdir.
4858 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4859 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4860 clean_restart. Remove incdir.
4861 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4862 Remove incdir.
4863 * gdb.threads/leader-exit.exp: Use standard_testfile.
4864 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4865 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4866 clean_restart.
4867 * gdb.threads/manythreads.exp: Use standard_testfile,
4868 clean_restart. Remove incdir.
4869 * gdb.threads/multi-create.exp: Use standard_testfile,
4870 clean_restart.
4871 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4872 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4873 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4874 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4875 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4876 * gdb.threads/pending-step.exp: Use standard_testfile,
4877 clean_restart. Remove incdir.
4878 * gdb.threads/print-threads.exp: Use standard_testfile,
4879 clean_restart. Remove incdir.
4880 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4881 clean_restart. Remove incdir.
4882 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4883 Remove incdir.
4884 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4885 incdir.
4886 * gdb.threads/sigthread.exp: Use standard_testfile,
4887 clean_restart.
4888 * gdb.threads/staticthreads.exp: Use standard_testfile,
4889 clean_restart. Remove incdir.
4890 * gdb.threads/switch-threads.exp: Use standard_testfile,
4891 clean_restart. Remove incdir.
4892 * gdb.threads/thread-execl.exp: Use standard_testfile,
4893 clean_restart. Remove incdir.
4894 * gdb.threads/thread-find.exp: Use standard_testfile,
4895 clean_restart.
4896 * gdb.threads/thread-specific.exp: Use standard_testfile,
4897 clean_restart. Remove incdir.
4898 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4899 clean_restart. Remove incdir.
4900 * gdb.threads/thread_check.exp: Use standard_testfile,
4901 clean_restart. Remove incdir.
4902 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4903 incdir.
4904 * gdb.threads/threadapply.exp: Use standard_testfile,
4905 clean_restart. Remove incdir.
4906 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4907 clean_restart. Remove incdir.
4908 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4909 clean_restart.
4910 * gdb.threads/tls-shared.exp: Use standard_testfile,
4911 clean_restart, standard_output_file.
4912 * gdb.threads/tls-var.exp: Use standard_testfile,
4913 standard_output_file.
4914 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4915 Remove incdir.
4916 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4917 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4918 incdir.
4919 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4920 clean_restart. Remove incdir.
4921
4922 2012-06-26 Tom Tromey <tromey@redhat.com>
4923
4924 * gdb.trace/actions.exp: Use standard_testfile.
4925 * gdb.trace/ax.exp: Use standard_testfile.
4926 * gdb.trace/backtrace.exp: Use standard_testfile.
4927 * gdb.trace/change-loc.exp: Use standard_testfile.
4928 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4929 * gdb.trace/collection.exp: Use standard_testfile,
4930 prepare_for_testing.
4931 * gdb.trace/deltrace.exp: Use standard_testfile.
4932 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4933 * gdb.trace/ftrace.exp: Use standard_testfile.
4934 * gdb.trace/infotrace.exp: Use standard_testfile.
4935 * gdb.trace/packetlen.exp: Use standard_testfile.
4936 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4937 * gdb.trace/passcount.exp: Use standard_testfile.
4938 * gdb.trace/pending.exp: Use standard_testfile.
4939 * gdb.trace/report.exp: Use standard_testfile.
4940 * gdb.trace/save-trace.exp: Use standard_testfile.
4941 * gdb.trace/stap-trace.exp: Use standard_testfile.
4942 * gdb.trace/status-stop.exp: Use standard_testfile.
4943 * gdb.trace/strace.exp: Use standard_testfile.
4944 * gdb.trace/tfile.exp: Use standard_testfile.
4945 * gdb.trace/tfind.exp: Use standard_testfile.
4946 * gdb.trace/trace-break.exp: Use standard_testfile.
4947 * gdb.trace/trace-mt.exp: Use standard_testfile.
4948 * gdb.trace/tracecmd.exp: Use standard_testfile.
4949 * gdb.trace/tspeed.exp: Use standard_testfile.
4950 * gdb.trace/tstatus.exp: Use standard_testfile.
4951 * gdb.trace/tsv.exp: Use standard_testfile.
4952 * gdb.trace/unavailable.exp: Use standard_testfile,
4953 prepare_for_testing.
4954 * gdb.trace/while-dyn.exp: Use standard_testfile.
4955 * gdb.trace/while-stepping.exp: Use standard_testfile.
4956
4957 2012-06-26 Tom Tromey <tromey@redhat.com>
4958
4959 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4960 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4961 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4962 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4963 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4964 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4965 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4966 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4967 prepare_for_testing.
4968 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4969 prepare_for_testing.
4970 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4971 prepare_for_testing.
4972 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4973 prepare_for_testing.
4974 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4975 prepare_for_testing
4976 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4977 * gdb.reverse/machinestate.exp: Use standard_testfile.
4978 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4979 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4980 build_executable.
4981 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4982 build_executable.
4983 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4984 standard_output_file.
4985 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4986 standard_output_file.
4987 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4988 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4989 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4990 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4991 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4992 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4993
4994 2012-06-26 Tom Tromey <tromey@redhat.com>
4995
4996 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4997 standard_output_file.
4998 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4999 prepare_for_testing. Remove directory-checking code.
5000
5001 2012-06-25 Tom Tromey <tromey@redhat.com>
5002
5003 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
5004 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
5005 build_executable, not prepare_for_testing.
5006 * gdb.multi/base.exp: Use standard_output_file. Use
5007 build_executable, not prepare_for_testing.
5008
5009 2012-06-25 Tom Tromey <tromey@redhat.com>
5010
5011 * gdb.fortran/subarray.exp: Use standard_testfile,
5012 prepare_for_testing.
5013 * gdb.fortran/multi-dim.exp: Use standard_testfile.
5014 * gdb.fortran/module.exp: Use standard_testfile.
5015 * gdb.fortran/logical.exp: Use standard_testfile.
5016 * gdb.fortran/library-module.exp: Use standard_testfile,
5017 standard_output_file.
5018 * gdb.fortran/derived-type.exp: Use standard_testfile,
5019 prepare_for_testing.
5020 * gdb.fortran/complex.exp: Use standard_testfile,
5021 prepare_for_testing.
5022 * gdb.fortran/charset.exp: Use standard_testfile.
5023 * gdb.fortran/array-element.exp: Use standard_testfile,
5024 prepare_for_testing.
5025
5026 2012-06-25 Keith Seitz <keiths@redhat.com>
5027
5028 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
5029 Change rbreak-related tests to KFAIL and add bugzilla numbers.
5030
5031 2012-06-25 Tom Tromey <tromey@redhat.com>
5032
5033 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
5034 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
5035 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
5036 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
5037
5038 2012-06-25 Tom Tromey <tromey@redhat.com>
5039
5040 * gdb.linespec/ls-errs.exp: Use standard_testfile.
5041 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
5042 * gdb.linespec/linespec.exp: Use standard_testfile.
5043
5044 2012-06-25 Tom Tromey <tromey@redhat.com>
5045
5046 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
5047 prepare_for_testing.
5048
5049 2012-06-25 Tom Tromey <tromey@redhat.com>
5050
5051 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
5052 prepare_for_testing.
5053 * gdb.opt/inline-break.exp: Use standard_testfile,
5054 prepare_for_testing.
5055 * gdb.opt/inline-bt.exp: Use standard_testfile,
5056 prepare_for_testing.
5057 * gdb.opt/inline-cmds.exp: Use standard_testfile,
5058 prepare_for_testing.
5059 * gdb.opt/inline-locals.exp: Use standard_testfile,
5060 prepare_for_testing.
5061
5062 2012-06-25 Tom Tromey <tromey@redhat.com>
5063
5064 * gdb.asm/asm-source.exp: Use standard_output_file,
5065 standard_testfile. Construct .o files in proper subdir.
5066
5067 2012-06-25 Tom Tromey <tromey@redhat.com>
5068
5069 * gdb.server/ext-attach.exp: Use standard_testfile,
5070 prepare_for_testing.
5071 * gdb.server/ext-run.exp: Use standard_testfile,
5072 build_executable.
5073 * gdb.server/file-transfer.exp: Use standard_testfile,
5074 prepare_for_testing.
5075 * gdb.server/server-exec-info.exp: Use standard_testfile.
5076 * gdb.server/server-mon.exp: Use standard_testfile,
5077 prepare_for_testing.
5078 * gdb.server/server-run.exp: Use standard_testfile,
5079 build_executable.
5080 * gdb.server/solib-list.exp: Use standard_testfile,
5081 standard_output_file.
5082
5083 2012-06-25 Tom Tromey <tromey@redhat.com>
5084
5085 * lib/gdb.exp (standard_output_file): Use "file join".
5086 * gdb.go/chan.exp: Use standard_testfile.
5087 * gdb.go/handcall.exp: Use standard_testfile.
5088 * gdb.go/hello.exp: Use standard_testfile.
5089 * gdb.integers/chan.exp: Use standard_testfile.
5090 * gdb.go/methods.exp: Use standard_testfile.
5091 * gdb.go/package.exp: Use standard_testfile.
5092 * gdb.go/strings.exp: Use standard_testfile.
5093 * gdb.go/types.exp: Use standard_testfile.
5094 * gdb.go/unsafe.exp: Use standard_testfile.
5095
5096 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
5097
5098 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
5099
5100 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5101
5102 Fix regression by the previous commit.
5103 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
5104
5105 2012-06-22 Tom Tromey <tromey@redhat.com>
5106
5107 * gdb.python/lib-types.exp: Use standard_testfile,
5108 prepare_for_testing.
5109 * gdb.python/py-block.exp: Use standard_testfile.
5110 * gdb.python/py-breakpoint.exp: Use standard_testfile.
5111 * gdb.python/py-events.exp: Use standard_testfile,
5112 standard_output_file.
5113 * gdb.python/py-evsignal.exp: Use standard_testfile.
5114 * gdb.python/py-evethreads.exp: Use standard_testfile.
5115 * gdb.python/py-explore-cc.exp: Use standard_testfile.
5116 * gdb.python/py-explore.exp: Use standard_testfile.
5117 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
5118 standard_output_file.
5119 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
5120 prepare_for_testing.
5121 * gdb.python/py-frame-inline.exp: Use standard_testfile.
5122 * gdb.python/py-frame.exp: Use standard_testfile.
5123 * gdb.python/py-inferior.exp: Use standard_testfile.
5124 * gdb.python/py-infthread.exp: Use standard_testfile.
5125 * gdb.python/py-mi.exp: Use standard_testfile.
5126 * gdb.python/py-objfile-script.exp: Use standard_testfile,
5127 build_executable.
5128 * gdb.python/py-objfile.exp: Use standard_testfile.
5129 * gdb.python/py-pp-maint.exp: Use standard_testfile,
5130 prepare_for_testing.
5131 * gdb.python/py-prettyprint.exp: Use standard_testfile.
5132 * gdb.python/py-progspace.exp: Use standard_testfile,
5133 build_executable.
5134 * gdb.python/py-prompt.exp: Use standard_testfile,
5135 build_executable.
5136 * gdb.python/py-section-script.exp: Use standard_testfile,
5137 build_executable.
5138 * gdb.python/py-shared.exp: Use standard_testfile,
5139 standard_output_file, clean_restart.
5140 * gdb.python/py-symbol.exp: Use standard_output_file,
5141 prepare_for_testing.
5142 * gdb.python/py-symtab.exp: Use standard_output_file,
5143 prepare_for_testing
5144 * gdb.python/py-template.exp: Use standard_testfile.
5145 * gdb.python/py-type.exp: Use standard_testfile.
5146 * gdb.python/py-value-cc.exp: Use standard_testfile.
5147 * gdb.python/py-value.exp: Use standard_testfile.
5148 * gdb.python/python.exp: Use standard_testfile, build_executable.
5149
5150 2012-06-22 Tom Tromey <tromey@redhat.com>
5151
5152 * gdb.objc/basicclass.exp: Use standard_testfile.
5153 (do_objc_tests): Don't declare objdir.
5154 * gdb.objc/nondebug.exp: Use standard_testfile.
5155 (do_objc_tests): Don't declare objdir.
5156 * gdb.objc/objcdecode.exp: Use standard_testfile.
5157 (do_objc_tests): Don't declare objdir.
5158
5159 2012-06-22 Tom Tromey <tromey@redhat.com>
5160
5161 * gdb.java/jmain.exp: Use standard_testfile.
5162 * gdb.java/jmisc.exp: Use standard_testfile.
5163 * gdb.java/jnpe.exp: Use standard_testfile.
5164 * gdb.java/jprint.exp: Use standard_testfile.
5165
5166 2012-06-22 Tom Tromey <tromey@redhat.com>
5167
5168 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
5169 (standard_output_file, standard_testfile): New procs.
5170 (build_executable, clean_restart): Use standard_output_file.
5171
5172 2012-06-22 Yao Qi <yao@codesourcery.com>
5173
5174 * boards/native-gdbserver.exp: New proc ${board}_exec.
5175 * boards/native-stdio-gdbserver.exp: Likewise.
5176
5177 2012-06-21 Tom Tromey <tromey@redhat.com>
5178
5179 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
5180 (build_executable): Update.
5181 (get_compiler_info): Remove 'binfile' argument.
5182 * gdb.ada/arrayidx.exp: Update.
5183 * gdb.ada/null_array.exp: Update.
5184 * gdb.arch/altivec-abi.exp: Update.
5185 * gdb.arch/altivec-regs.exp: Update.
5186 * gdb.arch/amd64-byte.exp: Update.
5187 * gdb.arch/amd64-dword.exp: Update.
5188 * gdb.arch/amd64-word.exp: Update.
5189 * gdb.arch/i386-avx.exp: Update.
5190 * gdb.arch/i386-byte.exp: Update.
5191 * gdb.arch/i386-sse.exp: Update.
5192 * gdb.arch/i386-word.exp: Update.
5193 * gdb.arch/ppc-dfp.exp: Update.
5194 * gdb.arch/ppc-fp.exp: Update.
5195 * gdb.arch/vsx-regs.exp: Update.
5196 * gdb.base/all-bin.exp: Update.
5197 * gdb.base/annota1.exp: Update.
5198 * gdb.base/async.exp: Update.
5199 * gdb.base/attach.exp: Update.
5200 * gdb.base/break-interp.exp: Update.
5201 * gdb.base/call-ar-st.exp: Update.
5202 * gdb.base/call-rt-st.exp: Update.
5203 * gdb.base/call-sc.exp: Update.
5204 * gdb.base/callfuncs.exp: Update.
5205 * gdb.base/catch-load.exp: Update.
5206 * gdb.base/completion.exp: Update.
5207 * gdb.base/complex.exp: Update.
5208 * gdb.base/condbreak.exp: Update.
5209 * gdb.base/consecutive.exp: Update.
5210 * gdb.base/constvars.exp: Update.
5211 * gdb.base/corefile.exp: Update.
5212 * gdb.base/eval-skip.exp: Update.
5213 * gdb.base/expand-psymtabs.exp: Update.
5214 * gdb.base/exprs.exp: Update.
5215 * gdb.base/fileio.exp: Update.
5216 * gdb.base/fixsection.exp: Update.
5217 * gdb.base/funcargs.exp: Update.
5218 * gdb.base/gdb11530.exp: Update.
5219 * gdb.base/gdb1555.exp: Update.
5220 * gdb.base/gnu-ifunc.exp: Update.
5221 * gdb.base/gnu_vector.exp: Update.
5222 * gdb.base/info-macros.exp: Update.
5223 * gdb.base/jit-simple.exp: Update.
5224 * gdb.base/jit-so.exp: Update.
5225 * gdb.base/jit.exp: Update.
5226 * gdb.base/langs.exp: Update.
5227 * gdb.base/list.exp: Update.
5228 * gdb.base/logical.exp: Update.
5229 * gdb.base/long_long.exp: Update.
5230 * gdb.base/longjmp.exp: Update.
5231 * gdb.base/macscp.exp: Update.
5232 * gdb.base/mips_pro.exp: Update.
5233 * gdb.base/miscexprs.exp: Update.
5234 * gdb.base/morestack.exp: Update.
5235 * gdb.base/nodebug.exp: Update.
5236 * gdb.base/opaque.exp: Update.
5237 * gdb.base/pc-fp.exp: Update.
5238 * gdb.base/pending.exp: Update.
5239 * gdb.base/permissions.exp: Update.
5240 * gdb.base/pointers.exp: Update.
5241 * gdb.base/prelink.exp: Update.
5242 * gdb.base/printcmds.exp: Update.
5243 * gdb.base/psymtab.exp: Update.
5244 * gdb.base/ptype.exp: Update.
5245 * gdb.base/relational.exp: Update.
5246 * gdb.base/scope.exp: Update.
5247 * gdb.base/setvar.exp: Update.
5248 * gdb.base/shlib-call.exp: Update.
5249 * gdb.base/shreloc.exp: Update.
5250 * gdb.base/signals.exp: Update.
5251 * gdb.base/sizeof.exp: Update.
5252 * gdb.base/so-impl-ld.exp: Update.
5253 * gdb.base/so-indr-cl.exp: Update.
5254 * gdb.base/solib-disc.exp: Update.
5255 * gdb.base/solib-display.exp: Update.
5256 * gdb.base/solib-nodir.exp: Update.
5257 * gdb.base/solib-overlap.exp: Update.
5258 * gdb.base/solib-symbol.exp: Update.
5259 * gdb.base/solib-weak.exp: Update.
5260 * gdb.base/solib.exp: Update.
5261 * gdb.base/store.exp: Update.
5262 * gdb.base/structs.exp: Update.
5263 * gdb.base/structs2.exp: Update.
5264 * gdb.base/type-opaque.exp: Update.
5265 * gdb.base/unload.exp: Update.
5266 * gdb.base/varargs.exp: Update.
5267 * gdb.base/volatile.exp: Update.
5268 * gdb.base/watch_thread_num.exp: Update.
5269 * gdb.base/watchpoint-solib.exp: Update.
5270 * gdb.base/watchpoint.exp: Update.
5271 * gdb.base/watchpoints.exp: Update.
5272 * gdb.base/whatis.exp: Update.
5273 * gdb.cell/arch.exp: Update.
5274 * gdb.cell/break.exp: Update.
5275 * gdb.cell/bt.exp: Update.
5276 * gdb.cell/core.exp: Update.
5277 * gdb.cell/data.exp: Update.
5278 * gdb.cell/ea-cache.exp: Update.
5279 * gdb.cell/f-regs.exp: Update.
5280 * gdb.cell/fork.exp: Update.
5281 * gdb.cell/gcore.exp: Update.
5282 * gdb.cell/mem-access.exp: Update.
5283 * gdb.cell/ptype.exp: Update.
5284 * gdb.cell/registers.exp: Update.
5285 * gdb.cell/sizeof.exp: Update.
5286 * gdb.cell/solib-symbol.exp: Update.
5287 * gdb.cell/solib.exp: Update.
5288 * gdb.cp/ambiguous.exp: Update.
5289 * gdb.cp/breakpoint.exp: Update.
5290 * gdb.cp/bs15503.exp: Update.
5291 * gdb.cp/casts.exp: Update.
5292 * gdb.cp/class2.exp: Update.
5293 * gdb.cp/cpexprs.exp: Update.
5294 * gdb.cp/cplusfuncs.exp: Update.
5295 * gdb.cp/ctti.exp: Update.
5296 * gdb.cp/dispcxx.exp: Update.
5297 * gdb.cp/gdb1355.exp: Update.
5298 * gdb.cp/gdb2384.exp: Update.
5299 * gdb.cp/gdb2495.exp: Update.
5300 * gdb.cp/infcall-dlopen.exp: Update.
5301 * gdb.cp/local.exp: Update.
5302 * gdb.cp/m-data.exp: Update.
5303 * gdb.cp/m-static.exp: Update.
5304 * gdb.cp/mb-ctor.exp: Update.
5305 * gdb.cp/mb-inline.exp: Update.
5306 * gdb.cp/mb-templates.exp: Update.
5307 * gdb.cp/member-ptr.exp: Update.
5308 * gdb.cp/method.exp: Update.
5309 * gdb.cp/namespace.exp: Update.
5310 * gdb.cp/nextoverthrow.exp: Update.
5311 * gdb.cp/nsdecl.exp: Update.
5312 * gdb.cp/nsrecurs.exp: Update.
5313 * gdb.cp/nsstress.exp: Update.
5314 * gdb.cp/nsusing.exp: Update.
5315 * gdb.cp/pr-1023.exp: Update.
5316 * gdb.cp/pr-1210.exp: Update.
5317 * gdb.cp/pr-574.exp: Update.
5318 * gdb.cp/pr9631.exp: Update.
5319 * gdb.cp/printmethod.exp: Update.
5320 * gdb.cp/psmang.exp: Update.
5321 * gdb.cp/re-set-overloaded.exp: Update.
5322 * gdb.cp/rtti.exp: Update.
5323 * gdb.cp/shadow.exp: Update.
5324 * gdb.cp/templates.exp: Update.
5325 * gdb.cp/try_catch.exp: Update.
5326 * gdb.dwarf2/dw2-ranges.exp: Update.
5327 * gdb.dwarf2/pr10770.exp: Update.
5328 * gdb.fortran/library-module.exp: Update.
5329 * gdb.hp/gdb.aCC/optimize.exp: Update.
5330 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5331 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5332 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5333 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5334 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5335 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5336 * gdb.hp/gdb.compat/xdb1.exp: Update.
5337 * gdb.hp/gdb.compat/xdb2.exp: Update.
5338 * gdb.hp/gdb.compat/xdb3.exp: Update.
5339 * gdb.hp/gdb.defects/bs14602.exp: Update.
5340 * gdb.hp/gdb.defects/solib-d.exp: Update.
5341 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5342 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5343 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5344 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5345 * gdb.mi/gdb792.exp: Update.
5346 * gdb.mi/mi-pending.exp: Update.
5347 * gdb.mi/mi-solib.exp: Update.
5348 * gdb.mi/mi-var-cp.exp: Update.
5349 * gdb.opt/clobbered-registers-O2.exp: Update.
5350 * gdb.opt/inline-bt.exp: Update.
5351 * gdb.opt/inline-cmds.exp: Update.
5352 * gdb.opt/inline-locals.exp: Update.
5353 * gdb.python/py-events.exp: Update.
5354 * gdb.python/py-finish-breakpoint.exp: Update.
5355 * gdb.python/py-type.exp: Update.
5356 * gdb.reverse/solib-precsave.exp: Update.
5357 * gdb.reverse/solib-reverse.exp: Update.
5358 * gdb.server/solib-list.exp: Update.
5359 * gdb.stabs/weird.exp: Update.
5360 * gdb.threads/attach-into-signal.exp: Update.
5361 * gdb.threads/attach-stopped.exp: Update.
5362 * gdb.threads/tls-shared.exp: Update.
5363 * gdb.trace/change-loc.exp: Update.
5364 * gdb.trace/strace.exp: Update.
5365
5366 2012-06-19 Tom Tromey <tromey@redhat.com>
5367
5368 * gdb.base/whatis.exp: Add tests.
5369
5370 2012-06-19 Tom Tromey <tromey@redhat.com>
5371
5372 * gdb.cp/m-static.cc (keepalive): New function.
5373 (gnu_obj_1::method): Use it.
5374
5375 2012-06-18 Doug Evans <dje@google.com>
5376
5377 * gdb.base/info-fun.exp: New file.
5378 * gdb.base/info-fun.c: New file.
5379 * gdb.base/info-fun-solib.c: New file.
5380
5381 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5382
5383 Remove stale dummy frames.
5384 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5385 (maintenance info breakpoints): New tests.
5386 * gdb.base/stale-infcall.c: New file.
5387 * gdb.base/stale-infcall.exp: New file.
5388
5389 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5390
5391 * gdb.arch/amd64-entry-value-param.S: New file.
5392 * gdb.arch/amd64-entry-value-param.c: New file.
5393 * gdb.arch/amd64-entry-value-param.exp: New file.
5394
5395 2012-06-15 Tom Tromey <tromey@redhat.com>
5396
5397 * gdb.cp/namespace.exp: Add "show lang" test.
5398
5399 2012-06-15 Iain Sandoe <iain@codesourcery.com>
5400
5401 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5402 case. (top level): Use gdb_file_cmd instead of gdb_load.
5403
5404 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5405
5406 PR tdep/14222
5407 * gdb.arch/i386-sse-stack-align.S: New file.
5408 * gdb.arch/i386-sse-stack-align.c: New file.
5409 * gdb.arch/i386-sse-stack-align.exp: New file.
5410
5411 2012-06-13 Keith Seitz <keiths@redhat.com>
5412
5413 PR breakpoints/13798 and mi/11541
5414 * gdb.linespec/ls-errs.exp: Add a few more tests for
5415 filenames with spaces and colons.
5416
5417 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5418
5419 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5420 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5421 (test_function): Call CV_f.
5422 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5423 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5424 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5425 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5426 (p CV_f(CV::i)): New tests.
5427
5428 2012-06-13 Tom Tromey <tromey@redhat.com>
5429
5430 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5431
5432 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5433
5434 Fix regression by the "ambiguous linespec" series.
5435 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5436 tests.
5437
5438 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5439
5440 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5441 missing.
5442
5443 2012-06-11 Tom Tromey <tromey@redhat.com>
5444
5445 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5446 location...
5447 (main): ...here.
5448
5449 2012-06-07 Yao Qi <yao@codesourcery.com>
5450
5451 * gdb.trace/strace.exp: Shorten some too-long lines.
5452
5453 2012-06-06 Pedro Alves <palves@redhat.com>
5454
5455 * gdb.threads/clone-new-thread-event.c: New file.
5456 * gdb.threads/clone-new-thread-event.exp: New file.
5457
5458 2012-06-06 Yao Qi <yao@codesourcery.com>
5459
5460 * gdb.base/dprintf.c (main): Add extra parameter when calling
5461 printf and fprintf.
5462 (bar): New function. It is a dead function, but to ensure
5463 'malloc' is linked explicitly.
5464
5465 2012-06-06 Yao Qi <yao@codesourcery.com>
5466
5467 * gdb.base/info-proc.exp: Return if target doesn't support
5468 'info proc'.
5469
5470 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5471
5472 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5473 (run program with breakpoint commands): XFAIl if it is not.
5474
5475 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5476
5477 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5478 and add comment.
5479 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5480 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5481 "STOP" marker. Adjust testing strategy to make it work on
5482 all targets.
5483
5484 * gdb.base/print-file-var-main.c (main): Rewrite using local
5485 variables and adjust get_version_2's return value check.
5486 Add small comment.
5487 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5488 marker. Adjust testing strategy to make it work on all targets.
5489
5490 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5491
5492 * gdb.ada/bad-task-bp-keyword: New testcase.
5493
5494 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5495
5496 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5497 Simplify it to ...
5498 (symbol-file ${testfile1}): ... here.
5499 (test eliminated var my_global_symbol)
5500 (test eliminated var my_static_symbol)
5501 (test eliminated var my_global_func, get address of main): Wrap them to
5502 'single psymtabs' and 'single symtabs'
5503 (get address of my_global_symbol, get address of my_static_symbol)
5504 (get address of my_global_func, get address of main): Wrap them to
5505 'order1' and 'order2'.
5506
5507 * gdb.base/code_elim.exp
5508 (add-symbol-file ${testfile1} 0x100000)
5509 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5510 'order2'.
5511 (order1: add-symbol-file ${testfile1} 0x100000)
5512 (order1: add-symbol-file ${testfile2} 0x200000)
5513 (order2: add-symbol-file ${testfile2} 0x200000)
5514 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5515 .bss as appropriate.
5516
5517 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5518
5519 * gdb.server/solib-list-lib.c: New file.
5520 * gdb.server/solib-list-main.c: New file.
5521 * gdb.server/solib-list.exp: New file.
5522
5523 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5524
5525 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5526 for 'set print symbol' change.
5527
5528 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5529
5530 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5531 .debug_abbrev_seg3.
5532
5533 2012-05-24 John Steele Scott <toojays@toojays.net>
5534
5535 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5536 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5537 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5538
5539 2012-05-23 Stan Shebs <stan@codesourcery.com>
5540
5541 * gdb.mi/mi-info-os.exp: New file.
5542
5543 2012-05-23 Keith Seitz <keiths@redhat.com>
5544
5545 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5546 return -1 to suppress the rest of the tests.
5547 (compile_stap_bin): Return boolean success value.
5548
5549 2012-05-21 Tom Tromey <tromey@redhat.com>
5550
5551 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5552 Remove kfails.
5553 (test_print_mi_member_types): Likewise.
5554
5555 2012-05-21 Tom Tromey <tromey@redhat.com>
5556
5557 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5558 print symbol' change.
5559
5560 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5561
5562 * gdb.python/py-prompt.exp: Quit if the target is remote.
5563
5564 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5565
5566 Fix ERROR: internal buffer is full.
5567 * gdb.base/info-os.exp (expect_multiline): New function.
5568 (get process list, get process groups, get threads)
5569 (get file descriptors, get internet-domain sockets)
5570 (get shared-memory regions, get semaphores, get message queues): Use
5571 it for these tests.
5572
5573 2012-05-18 Tom Tromey <tromey@redhat.com>
5574
5575 * gdb.mi/mi-var-cmd.exp: Update.
5576 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5577 * gdb.cp/virtbase.exp: Update.
5578 * gdb.cp/classes.exp (test_static_members): Update.
5579 * gdb.cp/casts.exp: Update.
5580 * gdb.base/pointers.exp: Update.
5581 * gdb.base/funcargs.exp (pointer_args): Update.
5582 (structs_by_reference): Update.
5583 * gdb.base/find.exp: Update.
5584 * gdb.base/call-strs.exp: Send "set print symbol off".
5585 * gdb.base/call-ar-st.exp: Update.
5586 * gdb.ada/fun_addr.exp: Update.
5587 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5588 Call it.
5589 (test_print_repeats_10, test_print_strings)
5590 (test_print_char_arrays): Update.
5591
5592 2012-05-18 Tom Tromey <tromey@redhat.com>
5593
5594 * gdb.base/charset.exp (string_display): Update.
5595
5596 2012-05-18 Tom Tromey <tromey@redhat.com>
5597
5598 * gdb.mi/mi2-var-display.exp: Update.
5599 * gdb.mi/mi-var-display.exp: Update.
5600 * gdb.mi/mi-var-child.exp: Update.
5601 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5602 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5603
5604 2012-05-17 Doug Evans <dje@google.com>
5605
5606 * info-macros.exp: Pass "debug" to prepare_for_testing.
5607
5608 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5609 * gdb.ada/Makefile.in (clean): Ditto.
5610 * gdb.arch/Makefile.in (clean): Ditto.
5611 * gdb.asm/Makefile.in (clean): Ditto.
5612 * gdb.base/Makefile.in (clean): Ditto.
5613 * gdb.cell/Makefile.in (clean): Ditto.
5614 * gdb.cp/Makefile.in (clean): Ditto.
5615 * gdb.disasm/Makefile.in (clean): Ditto.
5616 * gdb.dwarf2/Makefile.in (clean): Ditto.
5617 * gdb.fortran/Makefile.in (clean): Ditto.
5618 * gdb.go/Makefile.in (clean): Ditto.
5619 * gdb.hp/Makefile.in (clean): Ditto.
5620 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5621 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5622 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5623 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5624 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5625 * gdb.java/Makefile.in (clean): Ditto.
5626 * gdb.linespec/Makefile.in (clean): Ditto.
5627 * gdb.mi/Makefile.in (clean): Ditto.
5628 * gdb.modula2/Makefile.in (clean): Ditto.
5629 * gdb.multi/Makefile.in (clean): Ditto.
5630 * gdb.objc/Makefile.in (clean): Ditto.
5631 * gdb.opencl/Makefile.in (clean): Ditto.
5632 * gdb.opt/Makefile.in (clean): Ditto.
5633 * gdb.pascal/Makefile.in (clean): Ditto.
5634 * gdb.python/Makefile.in (clean): Ditto.
5635 * gdb.reverse/Makefile.in (clean): Ditto.
5636 * gdb.server/Makefile.in (clean): Ditto.
5637 * gdb.stabs/Makefile.in (clean): Ditto.
5638 * gdb.threads/Makefile.in (clean): Ditto.
5639 * gdb.trace/Makefile.in (clean): Ditto.
5640 * gdb.xml/Makefile.in (clean): Ditto.
5641
5642 2012-05-16 Tom Tromey <tromey@redhat.com>
5643
5644 * gdb.base/macscp1.c (macscp_expr): Add comment.
5645 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5646
5647 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5648
5649 * gdb.base/return-nodebug.exp: Also test float and double types.
5650
5651 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5652
5653 PR testsuite/12649
5654 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5655
5656 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5657
5658 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5659
5660 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5661 `rerun_to_main'.
5662 (stap_test_no_debuginfo): Likewise.
5663
5664 2012-05-14 Stan Shebs <stan@codesourcery.com>
5665
5666 * gdb.base/dprintf.c: New file.
5667 * gdb.base/dprintf.exp: New file.
5668
5669 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
5670
5671 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5672 * gdb.trace/disconnected-tracing.c: New file.
5673 * gdb.trace/disconnected-tracing.exp: New file.
5674
5675 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5676
5677 * gdb.python/python.c: Add a new breakpoint comment.
5678 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5679
5680 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5681
5682 * gdb.base/info-os.exp: New file.
5683 * gdb.base/info-os.c: New file.
5684
5685 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5686
5687 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5688 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5689 New files.
5690
5691 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5692
5693 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5694 gdb.base/ctxobj.exp: New files.
5695
5696 2012-05-09 Tom Tromey <tromey@redhat.com>
5697
5698 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5699
5700 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5701
5702 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5703
5704 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5705
5706 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5707 before using it.
5708
5709 2012-05-04 Tristan Gingold <gingold@adacore.com>
5710
5711 * gdb.base/set-noassign.exp: New test.
5712
5713 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5714
5715 * gdb.python/py-symbol.exp: Add tests to test the new methods
5716 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5717 * gdb.python/py-symbol.c: Add new struct to help test
5718 gdb.Symtab.static_block().
5719
5720 2012-05-03 Doug Evans <dje@google.com>
5721
5722 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5723 commented out.
5724
5725 2012-05-03 Yao Qi <yao@codesourcery.com>
5726
5727 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5728 doesn't support.
5729 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5730 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5731
5732 2012-05-03 Yao Qi <yao@codesourcery.com>
5733
5734 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5735
5736 2012-04-30 Doug Evans <dje@google.com>
5737
5738 PR testsuite/13961
5739 * gdb.dwarf2/pr13961.S: New file.
5740 * gdb.dwarf2/pr13961.exp: New file.
5741
5742 2012-04-29 Yao Qi <yao@codesourcery.com>
5743
5744 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5745
5746 2012-04-28 Doug Evans <dje@google.com>
5747
5748 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5749 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5750 All uses updated.
5751 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5752 "ptype func_cu1" to expand cu2 before cu1.
5753
5754 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5755 Tom Tromey <tromey@redhat.com>
5756
5757 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5758 variables.
5759 * gdb.base/stap-probe.c: New file.
5760 * gdb.base/stap-probe.exp: New file.
5761 * gdb.trace/stap-trace.c: New file.
5762 * gdb.trace/stap-trace.exp: New file.
5763 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5764 libgcc's unwinder.
5765
5766 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5767
5768 * gdb.arch/mips16-thunks-inmain.c: New file.
5769 * gdb.arch/mips16-thunks-main.c: New file.
5770 * gdb.arch/mips16-thunks-sin.c: New file.
5771 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5772 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5773 * gdb.arch/mips16-thunks-sinmain.c: New file.
5774 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5775 * gdb.arch/mips16-thunks.exp: New file.
5776
5777 2012-04-25 Doug Evans <dje@google.com>
5778
5779 * configure.ac: Create gdb.go/Makefile.
5780 * configure: Regenerate.
5781 * gdb.base/default.exp: Add "go" to "set language" testing.
5782 * gdb.go/Makefile.in: New file.
5783 * gdb.go/basic-types.exp: New file.
5784 * gdb.go/chan.exp: New file.
5785 * gdb.go/chan.go: New file.
5786 * gdb.go/handcall.exp: New file.
5787 * gdb.go/handcall.go: New file.
5788 * gdb.go/hello.exp: New file.
5789 * gdb.go/hello.go: New file.
5790 * gdb.go/integers.exp: New file.
5791 * gdb.go/integers.go: New file.
5792 * gdb.go/methods.exp: New file.
5793 * gdb.go/methods.go: New file.
5794 * gdb.go/package.exp: New file.
5795 * gdb.go/package1.go: New file.
5796 * gdb.go/package2.go: New file.
5797 * gdb.go/print.exp: New file.
5798 * gdb.go/strings.exp: New file.
5799 * gdb.go/strings.go: New file.
5800 * gdb.go/types.exp: New file.
5801 * gdb.go/types.go: New file.
5802 * gdb.go/unsafe.exp: New file.
5803 * gdb.go/unsafe.go: New file.
5804 * lib/future.exp: Add Go support.
5805 (gdb_find_go, gdb_find_go_linker): New procs.
5806 (gdb_default_target_compile): Add Go support.
5807 * lib/gdb.exp (skip_go_tests): New proc.
5808 * lib/go.exp: New file.
5809
5810 2012-04-25 Tom Tromey <tromey@redhat.com>
5811
5812 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5813
5814 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5815 Jan Kratochvil <jan.kratochvil@redhat.com>
5816
5817 PR symtab/7259:
5818 * gdb.base/enumval.c: New test case.
5819 * gdb.base/enumval.exp: New test case.
5820 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5821 field.bitpos.
5822
5823 2012-04-17 Pedro Alves <palves@redhat.com>
5824
5825 * Makefile.in (site.exp): Make site.exp source
5826 $srcdir/lib/append_gdb_boards_dir.exp.
5827 * lib/append_gdb_boards_dir.exp: New file.
5828
5829 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5830
5831 New option "set auto-load safe-path".
5832 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5833 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5834
5835 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5836
5837 auto-load: Implementation.
5838 * gdb.base/help.exp (test set height): Increase the height.
5839 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5840 to ...
5841 (info auto-load python-scripts): ... here.
5842 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5843 to ...
5844 (info auto-load python-scripts *): ... here.
5845
5846 2012-04-16 Yao Qi <yao@codesourcery.com>
5847
5848 * lib/trace-support.exp (get_in_proc_agent): New.
5849 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5850 of in process trace agent.
5851 * gdb.trace/ftrace.exp: Likewise.
5852 * gdb.trace/pending.exp: Likewise.
5853 * gdb.trace/trace-break.exp: Likewise.
5854 * gdb.trace/trace-mt.exp
5855 * gdb.trace/tspeed.exp: Likewise.
5856 * gdb.trace/tstatus.exp
5857 * gdb.trace/strace.exp: Likewise.
5858
5859 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5860
5861 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5862 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5863
5864 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5865
5866 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5867
5868 PR mi/13393
5869 * gdb.mi/mi-var-rtti.cc: New file.
5870 * gdb.mi/mi-var-rtti.exp: New file.
5871 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5872 function.
5873 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5874
5875 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5876
5877 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5878 EXECUTABLES.
5879 * gdb.python/py-explore.c: C program used for testing the new
5880 'explore' command on C constructs.
5881 * gdb.python/py-explore.cc: C++ program used for testing the new
5882 'explore' command on C++ constructs.
5883 * gdb-python/py-explore.exp: Tests for the new 'explore'
5884 command on C constructs.
5885 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5886 command on C++ constructs.
5887
5888 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5889
5890 * gdb.base/funcargs.exp (complex_args): Fix typo.
5891
5892 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5893
5894 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5895 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5896
5897 2012-04-05 Keith Seitz <keiths@redhat.com>
5898
5899 * gdb.base/advance.exp: Update error message for
5900 "advance malformed" test.
5901 * gdb.base/break.exp: Likewise for "breakpoint with
5902 trailing garbage" test.
5903 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5904 with trailing garbage" test.
5905 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5906 trailng garbage" test.
5907 * gdb.base/until.exp: Likewise for "malformed until" test.
5908 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5909 for "breakpoint info (after setting on all)".
5910 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5911 tests.
5912 * gdb.cp/cplabel.cc: New file.
5913 * gdb.cp/cplabel.exp: New test.
5914 * gdb.linespec/ls-errs.c: New file.
5915 * gdb.linespec/ls-errs.exp: New test.
5916
5917 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5918
5919 * gdb.trace/unavailable.exp
5920 (collect globals: print object on: print derived_partial)
5921 (collect globals: print object on: print derived_whole)
5922 (collect globals: print object off: print derived_partial)
5923 (collect globals: print object off: print derived_whole): Update
5924 expected output.
5925
5926 2012-03-30 Keith Seitz <keiths@redhat.com>
5927
5928 * gdb.python: Add test for linespecs with commas.
5929
5930 2012-03-28 Keith Seitz <keiths@redhat.com>
5931
5932 * gdb.linespec/ls-dollar.cc: New file.
5933 * gdb.linespec/ls-dollar.exp: New test.
5934
5935 2012-03-28 Keith Seitz <keiths@redhat.com>
5936
5937 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5938 starting with the global namespace.
5939
5940 2012-03-23 Doug Evans <dje@google.com>
5941
5942 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5943
5944 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5945
5946 * gdb.python/py-value.cc: Add test case for testing the
5947 methodology exposing C++ values to Python.
5948 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5949 exposing C++ values to Python.
5950 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5951
5952 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5953 Siddhesh Poyarekar <siddhesh@redhat.com>
5954
5955 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5956 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5957 (generate native core dump): Make the test unsupported if core cannot
5958 be generated.
5959
5960 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5961
5962 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5963 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5964 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5965
5966 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5967
5968 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5969
5970 2012-03-17 Doug Evans <dje@google.com>
5971
5972 * dg-extract-results.sh: Handle KFAILs.
5973
5974 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5975
5976 PR symtab/13777
5977 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5978
5979 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5980
5981 * gdb.ada/set_pckd_arr_elt: New testcase.
5982
5983 2012-03-16 Gary Benson <gbenson@redhat.com>
5984
5985 PR breakpoints/10738
5986 * gdb.opt/inline-break.exp: New file.
5987 * gdb.opt/inline-break.c: Likewise.
5988 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5989 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5990 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5991 * gdb.base/async-shell.exp: Likewise.
5992 * lib/mi-support.exp (library_loaded_re): Likewise.
5993
5994 2012-03-15 Tom Tromey <tromey@redhat.com>
5995
5996 * gdb.cp/virtfunc2.exp: Update expected output.
5997 * gdb.cp/pr9631.exp: Update expected output.
5998 * gdb.cp/member-ptr.exp: Update expected output.
5999 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
6000 output.
6001 * gdb.cp/casts.exp: Update expected output.
6002
6003 2012-03-15 Tom Tromey <tromey@redhat.com>
6004
6005 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
6006 (test_info_vtbl): Likewise.
6007 (do_tests): Call test_info_vtbl.
6008 * gdb.cp/virtfunc.cc (va): New global.
6009
6010 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
6011
6012 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
6013 describing DWARF data structures.
6014 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
6015 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
6016 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
6017 * gdb.dwarf2/dw2-entry-value.S: Likewise.
6018 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6019 * gdb.dwarf2/dw2-param-error.S: Likewise.
6020 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
6021 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
6022 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
6023 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
6024 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
6025 * gdb.dwarf2/pr11465.S: Likewise.
6026
6027 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6028
6029 * gdb.mi/mi2-prompt.exp: New file.
6030
6031 2012-03-13 Joel Brobecker <brobecker@adacore.com>
6032
6033 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
6034
6035 2012-03-13 Joel Brobecker <brobecker@adacore.com>
6036
6037 * gdb.ada/bp_range_type: New testcase.
6038
6039 2012-03-13 Doug Evans <dje@google.com>
6040
6041 * gdb.base/default.exp: Delete tests for symbol-reloading.
6042 * gdb.base/help.exp: Ditto.
6043 * gdb.base/setshow.exp: Ditto.
6044 * gdb.base/gdb_history: Delete references to symbol-reloading.
6045
6046 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6047
6048 * gdb.base/attach-twice.c: New files.
6049 * gdb.base/attach-twice.exp: New files.
6050
6051 2012-03-08 Keith Seitz <keiths@redhat.com>
6052
6053 * lib/gdb.exp (gdb_get_line_number): Throw an
6054 error instead of returning -1.
6055 * gdb.base/break.exp: Remove unused variable
6056 bp_location5.
6057 * gdb.base/hbreak2.exp: Likewise.
6058 * gdb.base/sepdebug.exp: Likewise.
6059
6060 2012-03-08 Yao Qi <yao@codesourcery.com>
6061 Pedro Alves <palves@redhat.com>
6062
6063 Fix PR server/13392.
6064 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
6065 (tracepoint_change_loc_2): Remove kfail. Return if failed to
6066 download tracepoints.
6067 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
6068 (pending_tracepoint_resolved_during_trace): Likewise.
6069 (pending_tracepoint_installed_during_trace): Likewise.
6070 (pending_tracepoint_with_action_resolved): Likewise.
6071
6072 2012-03-08 Keith Seitz <keiths@redhat.com>
6073
6074 * gdb.ada/array_bounds.exp: Get breakpoint for line
6075 with "START", not "STOP".
6076 * gdb.python/py-infthread.exp: Do not continue to
6077 line marked "Break here.", which is undefined.
6078
6079 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
6080
6081 Revert:
6082
6083 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6084
6085 Implement testsuite workaround for PR breakpoints/13781.
6086 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6087 (set breakpoint condition-evaluation host): New conditional command.
6088
6089 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6090
6091 Fix CU relative vs. absolute DIE offsets.
6092 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
6093 one.
6094
6095 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6096
6097 Fix false FAIL on distros with relro linkage as default.
6098 * gdb.reverse/solib-precsave.exp: Try to compile the test using
6099 -Wl,-z,norelro first.
6100
6101 2012-03-06 Joel Brobecker <brobecker@adacore.com>
6102
6103 * gdb.ada/bp_on_var: New testcase.
6104
6105 2012-03-06 Joel Brobecker <brobecker@adacore.com>
6106
6107 * gdb.ada/bp_enum_homonym: New testcase.
6108
6109 2012-03-06 Yao Qi <yao@codesourcery.com>
6110
6111 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
6112 x86_64-*-* and i?86-*-*.
6113 Set up KFAIL for gdb/13808.
6114
6115 2012-03-05 Tom Tromey <tromey@redhat.com>
6116
6117 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
6118 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
6119
6120 2012-03-05 Tom Tromey <tromey@redhat.com>
6121
6122 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
6123
6124 2012-03-04 Yao Qi <yao@codesourcery.com>
6125
6126 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
6127 messages for KFAIL.
6128
6129 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6130
6131 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
6132 (print one_two_three, indexes off, print few_reps, indexes off)
6133 (print many_reps, indexes off, print empty, indexes off)
6134 (print one_two_three, print few_reps, print many_reps, print empty):
6135 Call setup_xfail if $gcc_old.
6136
6137 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6138
6139 Implement testsuite workaround for PR breakpoints/13781.
6140 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6141 (set breakpoint condition-evaluation host): New conditional command.
6142
6143 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6144
6145 Code cleanup.
6146 * gdb.cp/mb-templates.exp: New variables executable. Use it for
6147 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
6148 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
6149 number 1 by $bpnum. Four times.
6150
6151 2012-03-03 Yao Qi <yao@codesourcery.com>
6152
6153 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
6154
6155 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 Setup KFAIL for PR server/13796.
6158 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
6159
6160 2012-03-02 Joel Brobecker <brobecker@adacore.com>
6161
6162 * gdb.ada/operator_bp: New testcase.
6163
6164 2012-03-02 Joel Brobecker <brobecker@adacore.com>
6165
6166 * gdb.ada/info_locals_renaming: New testcase.
6167
6168 2012-03-02 Tom Tromey <tromey@redhat.com>
6169
6170 * gdb.base/nextoverexit.c: New file.
6171 * gdb.base/nextoverexit.exp: New file.
6172
6173 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6174
6175 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
6176 parameter.
6177
6178 2012-03-01 Maciej W. Rozycki <macro@mips.com>
6179
6180 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
6181 core registers.
6182
6183 2012-03-01 Maciej W. Rozycki <macro@mips.com>
6184 Maciej W. Rozycki <macro@codesourcery.com>
6185 Daniel Jacobowitz <dan@codesourcery.com>
6186
6187 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
6188
6189 2012-03-01 Pedro Alves <palves@redhat.com>
6190
6191 PR gdb/13767
6192
6193 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
6194 (gdb_collect_globals_test): Call it.
6195
6196 2012-03-01 Keith Seitz <keiths@redhat.com>
6197
6198 * gdb.cp/method2.exp: Output of overload menu is now
6199 alphabetized. Update tests for "break A::method".
6200 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
6201 of hard-coding them.
6202 Overload menu is alphabetized: rewrite to accommodate.
6203 Unset variables LINE and TYPES which are used in other tests.
6204 Compute the output of "info break".
6205 Update the breakpoint table after all breakpoints are deleted.
6206 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
6207 compute ACTUALS and the method body based on parameters.
6208 Update expected output accordingly.
6209 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
6210 unique comments to allow the use of gdb_get_line_number.
6211
6212 2012-03-01 Keith Seitz <keiths@redhat.com>
6213
6214 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
6215 some Tcl syntax.
6216 * gdb.cp/ovldbreak.exp: Likewise.
6217
6218 2012-03-01 Keith Seitz <keiths@redhat.com>
6219
6220 * gdb.base/help.exp (help show user): Update expected result
6221 for new doc string changes (add "non-python").
6222
6223 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
6224
6225 * gdb.python/py-cmd.exp: Add test to verify that python commands can
6226 be put in the user-defined category and that the commands appear in
6227 "help user-defined".
6228
6229 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6230
6231 * gdb.ada/tagged_not_init: New testcase.
6232
6233 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6234
6235 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
6236 * gdb.ada/enum_idx_packed: New testcase.
6237
6238 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6239
6240 * gdb.ada/aliased_array: New testcase.
6241
6242 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6243
6244 * gdb.ada/whatis_array_val: New testcase.
6245
6246 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6247
6248 Fix disp-step-syscall.exp: fork: single step over fork.
6249 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
6250 whitespaces.
6251 (single step over $syscall): Remove its check.
6252 (single step over $syscall final pc): New check.
6253
6254 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6255
6256 Support processors without SSSE3.
6257 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
6258 pabsd into ...
6259 (ssse3_test): ... a new function.
6260 (main): Call ssse3_test.
6261 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
6262 Update expected values everywhere.
6263 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
6264 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
6265 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
6266 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
6267 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
6268 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
6269 Move these tests lower.
6270 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
6271 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
6272 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
6273 New tests.
6274
6275 2012-02-29 Yao Qi <yao@codesourcery.com>
6276 Pedro Alves <palves@redhat.com>
6277
6278 * gdb.trace/trace-mt.c: New.
6279 * gdb.trace/trace-mt.exp: New.
6280
6281 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
6282
6283 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
6284 numbers instead of hardcoding them.
6285 * gdb.base/annota1.c: Provide suitable markers.
6286 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
6287 numbers instead of hardcoding them.
6288 * gdb.base/annota3.c: Provide suitable markers.
6289
6290 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
6291 * gdb.base/annota3.c: Likewise.
6292 * gdb.base/sigall.c: Likewise.
6293 * gdb.base/signals.c: Likewise.
6294 * gdb.reverse/sigall-reverse.c: Likewise.
6295
6296 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
6297
6298 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
6299 failure return path.
6300
6301 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
6302
6303 * gdb.base/save-bp.exp: Account for new condition evaluator output.
6304
6305 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
6306
6307 * gdb.base/cond-eval-mode.exp: New file.
6308
6309 2012-02-24 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
6312 (top level): Use with_test_prefix.
6313
6314 2012-02-24 Pedro Alves <palves@redhat.com>
6315
6316 * gdb.threads/attach-into-signal.exp (corefunc): Use
6317 with_test_prefix.
6318
6319 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6320
6321 Fix false FAILs on old CPUs without SSE.
6322 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6323 Return untested for Illegal instruction.
6324
6325 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6326
6327 Fix false FAILs with glibc debug infos installed.
6328 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6329 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6330
6331 2012-02-22 Sterling Augustine <saugustine@google.com>
6332
6333 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6334 constant with cast.
6335
6336 2012-02-21 Pedro Alves <palves@redhat.com>
6337
6338 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6339
6340 2012-02-21 Pedro Alves <palves@redhat.com>
6341
6342 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6343
6344 2012-02-21 Pedro Alves <palves@redhat.com>
6345
6346 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6347 with_test_prefix.
6348
6349 2012-02-21 Pedro Alves <palves@redhat.com>
6350
6351 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6352 with_test_prefix here.
6353 (top level): Do it here instead. Remove `:' from the
6354 with_test_prefix string.
6355 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6356 the suffix `:' from the with_test_prefix prefix string.
6357 * gdb.base/break-interp.exp: Ditto.
6358 * gdb.base/catch-load.exp: Ditto.
6359 * gdb.base/disp-step-syscall.exp: Ditto.
6360 * gdb.base/jit-so.exp: Ditto.
6361 * gdb.base/jit.exp: Ditto.
6362 * gdb.base/sepdebug.exp: Ditto.
6363 * gdb.base/solib-display.exp: Ditto.
6364 * gdb.base/solib-overlap.exp: Ditto.
6365 * gdb.base/watch-cond-infcall.exp: Ditto.
6366 * gdb.base/watchpoint.exp: Ditto.
6367 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6368 * gdb.mi/mi-watch.exp: Ditto.
6369 * gdb.mi/mi2-watch.exp: Ditto.
6370 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6371 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6372 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6373 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6374 * gdb.threads/watchpoint-fork.exp: Ditto.
6375 * gdb.threads/watchthreads-reorder.exp: Ditto.
6376 * gdb.trace/change-loc.exp: Ditto.
6377 * gdb.trace/pending.exp: Ditto.
6378 * gdb.trace/status-stop.exp: Ditto.
6379 * gdb.trace/strace.exp: Ditto.
6380 * gdb.trace/trace-break.exp: Ditto.
6381 * gdb.trace/unavailable.exp: Ditto.
6382 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6383 suffix with colon. Adjust leading comments.
6384
6385 2012-02-21 Pedro Alves <palves@redhat.com>
6386 Tom Tromey <tromey@redhat.com>
6387
6388 * lib/gdb.exp: Add description of test prefixes.
6389 (with_test_prefix): New procedure.
6390 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6391 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6392 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6393 instead of lappend to append to pf_prefix.
6394 * gdb.base/catch-load.exp: Use with_test_prefix.
6395 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6396 * gdb.base/jit-so.exp: Use with_test_prefix.
6397 * gdb.base/jit.exp: Use with_test_prefix.
6398 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6399 lappend to append to pf_prefix.
6400 * gdb.base/sepdebug.exp: Use with_test_prefix.
6401 * gdb.base/solib-display.exp: Use with_test_prefix.
6402 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6403 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6404 * gdb.base/watchpoint.exp: Use with_test_prefix.
6405 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6406 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6407 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6408 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6409 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6410 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6411 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6412 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6413 append instead of lappend to append to pf_prefix.
6414 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6415 * gdb.trace/change-loc.exp: Use with_test_prefix.
6416 * gdb.trace/pending.exp: Use with_test_prefix.
6417 * gdb.trace/status-stop.exp: Use with_test_prefix.
6418 * gdb.trace/strace.exp: Use with_test_prefix.
6419 * gdb.trace/trace-break.exp: Use with_test_prefix.
6420 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6421 instead of lappend to append to pf_prefix.
6422
6423 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6424
6425 Fix racy FAILs.
6426 * gdb.base/inferior-died.c (main): Add return of 0.
6427 * gdb.base/inferior-died.exp (continue): Fix expectation of
6428 asynchronous events.
6429 (p 1): New test.
6430
6431 2012-02-20 Pedro Alves <palves@redhat.com>
6432
6433 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6434 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6435 gdb's internal debug output. For the non-threaded case, look for
6436 "Program received signal SIGLARM", for the threaded case, peek at
6437 the thread's siginfo.
6438
6439 2012-02-20 Pedro Alves <palves@redhat.com>
6440
6441 General cleanup, make output test messages unique, and build
6442 different executable files for the non-threaded and threaded
6443 cases.
6444
6445 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6446 Delete.
6447 (executable_nothr, executable_thr): New globals.
6448 (top level): Adjust to delete both executables.
6449 (corefunc): New parameter $executable. Set $pf_prefix instead of
6450 hand writing a prefix in tests. Issue a clean_restart and enable
6451 lin-lwp debug output here.
6452 (top level): Adjust. Use build_executable. Don't start gdb here,
6453 and don't enable lin-lwp debug output here.
6454 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6455
6456 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6457
6458 Fix racy FAILs.
6459 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6460 "continue" command.
6461
6462 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6463
6464 Fix for gdbserver non-extended mode.
6465 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6466 and gdb_run_cmd.
6467
6468 2012-02-17 Tom Tromey <tromey@redhat.com>
6469
6470 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6471 * gdb.python/py-events.exp: Check 'dir' output.
6472 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6473
6474 2012-02-17 Yao Qi <yao@codesourcery.com>
6475
6476 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6477
6478 2012-02-16 Tom Tromey <tromey@redhat.com>
6479
6480 * gdb.base/inferior-died.c: Don't include stdio.h.
6481
6482 2012-02-16 Tom Tromey <tromey@redhat.com>
6483
6484 * gdb.base/inferior-died.c: New file.
6485 * gdb.base/inferior-died.exp: New file.
6486
6487 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6488
6489 * gdb.base/break-inline.exp: New file.
6490 * gdb.base/break-inline.c: New file.
6491
6492 2012-02-15 Tom Tromey <tromey@redhat.com>
6493
6494 * gdb.base/pc-fp.exp: Add "info register" tests.
6495
6496 2012-02-15 Tom Tromey <tromey@redhat.com>
6497
6498 * gdb.base/regs.exp: Remove.
6499
6500 2012-02-15 Pedro Alves <palves@redhat.com>
6501
6502 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6503 the target doesn't support tracepoints.
6504 * gdb.trace/circ.exp: Ditto.
6505 * gdb.trace/collection.exp: Ditto.
6506 * gdb.trace/packetlen.exp: Ditto.
6507 * gdb.trace/passc-dyn.exp: Ditto.
6508 * gdb.trace/report.exp: Ditto.
6509 * gdb.trace/tfind.exp: Ditto.
6510 * gdb.trace/tspeed.exp: Ditto.
6511 * gdb.trace/tsv.exp: Ditto.
6512 * gdb.trace/unavailable.exp: Ditto.
6513 * gdb.trace/while-dyn.exp: Ditto.
6514
6515 2012-02-15 Pedro Alves <palves@redhat.com>
6516
6517 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6518 gdb_test_multiple, and call unsupported instead of fail, if the
6519 remote side does not support the request.
6520
6521 2012-02-15 Pedro Alves <palves@redhat.com>
6522
6523 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6524 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6525 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6526 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6527 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6528 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6529 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6530 doesn't start with "extended-" already.
6531
6532 2012-02-15 Pedro Alves <palves@redhat.com>
6533
6534 Support extended-remote. Avoid cascading timeouts.
6535
6536 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6537 the extended-remote target. If attaching with no file fails, load
6538 the file manually.
6539 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6540
6541 2012-02-14 Stan Shebs <stan@codesourcery.com>
6542
6543 * gdb.base/ena-dis-br.exp: Add enable count test.
6544
6545 2012-02-13 Pedro Alves <palves@redhat.com>
6546
6547 * config/mips-idt.exp: Delete.
6548 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6549 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6550 * gdb.base/break.exp: Remove mips-idt references.
6551 * gdb.base/chng-syms.exp: Ditto.
6552 * gdb.base/default.exp: Ditto.
6553 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6554 (top level): Don't call it.
6555 * gdb.base/opaque.exp: Remove mips-idt restarts.
6556 * gdb.base/ptype.exp: Remove mips-idt xfails.
6557 * gdb.base/scope.exp: Remove mips-idt restarts.
6558 * gdb.base/sepdebug.exp: Remove mips-idt references.
6559 * gdb.base/watchpoint.exp (maybe_clean_restart)
6560 (maybe_reinitialize): Delete.
6561 (test_disabling_watchpoints, test_disabling_watchpoints)
6562 (test_watchpoint_triggered_in_syscall)
6563 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6564 Don't call them.
6565
6566 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6567
6568 * gdb.server/server-exec-info.exp: New file.
6569
6570 2012-02-10 Pedro Alves <palves@redhat.com>
6571
6572 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6573 always non-empty.
6574 (test_attach): Always pass $exec to test_attach_gdb.
6575
6576 2012-02-08 Tom Tromey <tromey@redhat.com>
6577
6578 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6579 before inferior is started.
6580
6581 2012-02-07 Tom Tromey <tromey@redhat.com>
6582
6583 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6584 Symbol.value.
6585 * gdb.python/py-symbol.c (qq): Set default value.
6586
6587 2012-02-07 Tom Tromey <tromey@redhat.com>
6588
6589 * gdb.python/py-symbol.c (qq): New global.
6590 * gdb.python/py-symbol.exp: Add test for frame-less
6591 lookup_symbol.
6592 * gdb.python/py-symtab.exp: Fix line number.
6593
6594 2012-02-03 Joel Brobecker <brobecker@adacore.com>
6595
6596 * gdb.ada/mi_task_arg: New testcase.
6597
6598 2012-02-02 Pedro Alves <palves@redhat.com>
6599
6600 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6601 extended timeout.
6602
6603 2012-02-02 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6606 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6607
6608 2012-02-02 Pedro Alves <palves@redhat.com>
6609
6610 * gdb.base/term.exp: Rewrite.
6611 * gdb.base/term.c: New.
6612
6613 2012-02-02 Pedro Alves <palves@redhat.com>
6614
6615 * gdb.base/default.exp (run "r" abbreviation, run): Add
6616 extended-remote expected output.
6617
6618 2012-02-02 Tom Tromey <tromey@redhat.com>
6619
6620 * gdb.cp/dispcxx.exp: New file.
6621 * gdb.cp/dispcxx.cc: New file.
6622
6623 2012-02-01 Tom Tromey <tromey@redhat.com>
6624
6625 * gdb.base/jit-simple.exp: New file.
6626 * gdb.base/jit-simple.c: New file.
6627
6628 2012-01-30 Yao Qi <yao@codesourcery.com>
6629
6630 * gdb.base/skip.exp: Make test result unique.
6631
6632 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6633
6634 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6635 compatibility with valgrind-3.7.0.
6636
6637 2012-01-27 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.base/watchpoint.exp (no_hw): New global.
6640 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6641 disable hw watchpoints.
6642 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6643 don't expect hw watchpoints.
6644 (no_hw_watchpoints): Always clean restart.
6645 (do_tests): New procedure, factored out from the top level.
6646 (top level): Run tests twice. Once with hw watchpoints enabled,
6647 another time with hw watchpoints disabled.
6648
6649 2012-01-27 Pedro Alves <palves@redhat.com>
6650
6651 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6652 out from the top level.
6653 (top level): Call it instead.
6654
6655 2012-01-27 Pedro Alves <palves@redhat.com>
6656
6657 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6658 watchpoints sooner.
6659
6660 2012-01-27 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6663
6664 2012-01-27 Pedro Alves <palves@redhat.com>
6665
6666 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6667 "You may have requested too many hardware
6668 breakpoints/watchpoints".
6669
6670 2012-01-27 Pedro Alves <palves@redhat.com>
6671
6672 * gdb.base/watchpoint.exp (maybe_clean_restart)
6673 (maybe_reinitialize): New.
6674 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6675 expect "hit N times".
6676 (test_disabling_watchpoints, test_complex_watchpoint)
6677 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6678 Call maybe_clean_restart.
6679 (top level): Use clean_restart. Remove "mips-idt-*"
6680 reinitialization.
6681
6682 2012-01-27 Pedro Alves <palves@redhat.com>
6683
6684 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6685
6686 2012-01-27 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6689 require `initialize' anymore. Remove unnecessary `initialize'
6690 calls.
6691
6692 2012-01-27 Pedro Alves <palves@redhat.com>
6693
6694 * gdb.base/watchpoint.exp (wp_set): Delete.
6695 (initialize, test_simple_watchpoint, top level): Remove dead code.
6696
6697 2012-01-27 Pedro Alves <palves@redhat.com>
6698
6699 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6700 typo.
6701
6702 2012-01-27 Pedro Alves <palves@redhat.com>
6703
6704 * config/extended-gdbserver.exp: New file.
6705 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6706 comment.
6707 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6708 * boards/native-extended-gdbserver.exp: New file.
6709
6710 2012-01-26 Pedro Alves <palves@redhat.com>
6711
6712 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6713 and gdb_test_multiple.
6714
6715 2012-01-26 Pedro Alves <palves@redhat.com>
6716
6717 Make test messages unique, and more identifiable.
6718 * gdb.multi/watchpoint-multi.exp: Change test messages.
6719
6720 2012-01-25 Tom Tromey <tromey@redhat.com>
6721
6722 * gdb.base/solib-disc.exp: Fix regexps.
6723
6724 2012-01-24 Tom Tromey <tromey@redhat.com>
6725
6726 * lib/mi-support.exp (mi_expect_stop): Add special case for
6727 solib-event.
6728 * gdb.base/catch-load-so.c: New file.
6729 * gdb.base/catch-load.exp: New file.
6730 * gdb.base/catch-load.c: New file.
6731 * gdb.base/break-interp.exp (reach_1): Update regexp.
6732
6733 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6734
6735 Fix fuzzy results.
6736 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6737 lpsimple and func.
6738
6739 2012-01-24 Gary Benson <gbenson@redhat.com>
6740
6741 Delete #if 0'd out code.
6742 * gdb.base/default.exp (info catch): Remove.
6743 * gdb.base/gdb_history (info catch): Likewise.
6744 * gdb.base/help.exp (info catch): Likewise.
6745
6746 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6747
6748 Fix watchpoints to be specific for each inferior.
6749 * gdb.multi/watchpoint-multi.c: New file.
6750 * gdb.multi/watchpoint-multi.exp: New file.
6751
6752 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6753
6754 Fix watchpoints across inferior fork.
6755 * gdb.threads/watchpoint-fork-child.c: New file.
6756 * gdb.threads/watchpoint-fork-mt.c: New file.
6757 * gdb.threads/watchpoint-fork-parent.c: New file.
6758 * gdb.threads/watchpoint-fork-st.c: New file.
6759 * gdb.threads/watchpoint-fork.exp: New file.
6760 * gdb.threads/watchpoint-fork.h: New file.
6761
6762 2012-01-23 Pedro Alves <palves@redhat.com>
6763
6764 * gdb.base/call-signal-resume.exp: Allow output after "return".
6765
6766 2012-01-20 Pedro Alves <palves@redhat.com>
6767
6768 * gdb.python/py-finish-breakpoint.py: Fix typo.
6769
6770 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6771
6772 * gdb.base/info-proc.exp: Also run on remote targets. Main
6773 "info proc" command is now always present; whether target supports
6774 actual info proc operation is detected when attempting to issue
6775 the command.
6776
6777 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6778
6779 * .gdbinit: Remove.
6780
6781 2012-01-19 Pedro Alves <palves@redhat.com>
6782
6783 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6784 look at the funtions' returns.
6785 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6786 (jprint.print(int, int)): Change return type to int. Adjust.
6787
6788 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6789
6790 PR gdb/9538
6791 * gdb.base/sepdebug.exp: New test.
6792
6793 2012-01-18 Pedro Alves <palves@redhat.com>
6794
6795 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6796 Allow output before ^done.
6797
6798 2012-01-16 Tom Tromey <tromey@redhat.com>
6799
6800 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6801 Add tests for relative directory.
6802
6803 2012-01-16 Tom Tromey <tromey@redhat.com>
6804
6805 * gdb.base/printcmds.c (enum flag_enum): New.
6806 (three): New global.
6807 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6808 enum printing.
6809 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6810 FlagEnumerationPrinter.
6811 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6812 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6813 (fval): New global.
6814
6815 2012-01-16 Pedro Alves <palves@redhat.com>
6816
6817 * lib/gdb.exp (banned_procedures): New variable.
6818 (banned_variables_traced): Rename to ...
6819 (banned_traced): ... this.
6820 (gdb_init): Also trace banned procedures.
6821 (gdb_finish): Also untrace banned procedures.
6822
6823 2012-01-16 Pedro Alves <palves@redhat.com>
6824
6825 Remove all calls to strace.
6826
6827 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6828
6829 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6830 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6831
6832 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6833
6834 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6835 * gdb.base/pie-execl.exp: Likewise.
6836
6837 2012-01-12 Keith Seitz <keiths@redhat.com>
6838
6839 PR mi/10586
6840 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6841 (do_anonymous_type_tests): New function.
6842 (main): Call do_anonymous_type_tests.
6843 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6844 (verify_everything): New procedure.
6845 * gdb.mi/mi-var-cp.cc (class A): New class.
6846 (anonymous_structs_and_unions): New function.
6847 (main): Call anonymous_structs_and_unions.
6848 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6849 (verify_everything): New procedure.
6850
6851 2012-01-12 Keith Seitz <keiths@redhat.com>
6852
6853 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6854 (varobj_tree::get_path_expr): Assume that all varobjs are
6855 compound unless they are known simple types.
6856 Adjust path expressions based on parent type, path parent type,
6857 and tree language.
6858 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6859 the root varobj.
6860 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6861
6862 2012-01-11 Pedro Alves <palves@redhat.com>
6863
6864 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6865 core files on this machine" anymore.
6866
6867 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6868
6869 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6870 (main): Repeat recurser call.
6871 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6872 equivalent to 'local_x'.
6873
6874 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6875 Joel Brobecker <brobecker@adacore.com>
6876
6877 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6878
6879 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6880
6881 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6882 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6883 * gdb.python/py-events.exp: Test that "step N" tripping on a
6884 breakpoint emits a breakpoint event.
6885
6886 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6887
6888 * gdb.base/auxv.exp: Reformat the copyright notice.
6889
6890 2012-01-03 Yao Qi <yao@codesourcery.com>
6891
6892 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6893 (strace_trace_on_diff_addr): New.
6894 * gdb.trace/strace.c: (main): Add two local variables.
6895
6896 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6897
6898 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6899 * gdb.cell/gcore.exp: Likewise.
6900 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6901 to verify the correct instance of main is selected.
6902
6903 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6904
6905 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6906 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6907 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6908 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6909 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6910 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6911 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6912 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6913 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6914 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6915 gdb.threads/thread_check.c: Reformat copyright header.
6916
6917 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6918
6919 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6920 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6921 is not enabled.
6922
6923 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6924
6925 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6926 parameter to self_exec, adjust the function.
6927 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6928 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6929 (set var do_exit = 0): Remove test.
6930 (newline at end of file): Add one.
6931
6932 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6933
6934 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6935 New files.
6936
6937 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6938
6939 Fix racy FAILs.
6940 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6941 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6942 (main): Call pthread_barrier_init for it.
6943
6944 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6945
6946 Fix double send_gdb leading to racy FAILs.
6947 * gdb.base/break.exp (set silent break bp_location1): Replace
6948 3x send_gdb and gdb_expect by gdb_test.
6949 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6950 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6951 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6952 instead of send_gdb. Twice.
6953 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6954 3x send_gdb and gdb_expect by gdb_test.
6955 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6956
6957 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6958
6959 * gdb.linespec/linespec.exp: Compile using {c++}.
6960
6961 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6962
6963 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6964 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6965 (verify GCC PR debug/51668): New test.
6966
6967 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6968
6969 Introduce gdb.FinishBreakpoint in Python.
6970 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6971 py-finish-breakpoint2
6972 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6973 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6974 instead of line number.
6975 * gdb.python/py-finish-breakpoint.c: New file.
6976 * gdb.python/py-finish-breakpoint.exp: New file.
6977 * gdb.python/py-finish-breakpoint.py: New file.
6978 * gdb.python/py-finish-breakpoint2.cc: New file.
6979 * gdb.python/py-finish-breakpoint2.exp: New file.
6980 * gdb.python/py-finish-breakpoint2.py: New file.
6981
6982 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6983
6984 Partial fix of compatibility with gcc-4.7.
6985 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6986 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6987 Add comment to add a PASS case in the future.
6988
6989 Fix compatibility with gcc-4.7.
6990 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6991
6992 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6993
6994 PR tdep/12797
6995 * gdb.base/callfuncs.exp: Remove KFAIL.
6996
6997 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6998
6999 * gdb.ada/task_bp: New testcase.
7000
7001 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7002
7003 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
7004 -DNO_SECTIONS.
7005 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
7006
7007 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7008
7009 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
7010 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
7011 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7012 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
7013 conditional for gcc <= 4.5.
7014
7015 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7016
7017 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
7018 by XFAIL.
7019 * gdb.cp/static-method.exp (info addr A::func())
7020 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7021 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7022 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7023 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
7024 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
7025 (test value of F in k3_m): Likewise.
7026 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7027 Likewise.
7028
7029 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7030
7031 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
7032 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
7033 Remove.
7034 * gdb.threads/attachstop-mt.c: Remove.
7035 * gdb.threads/attachstop-mt.exp: Remove.
7036
7037 2011-12-17 Mark Kettenis <kettenis@gnu.org>
7038
7039 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
7040
7041 2011-12-16 Doug Evans <dje@google.com>
7042
7043 * boards/native-stdio-gdbserver.exp: New file.
7044 * boards/native-gdbserver.exp: New file.
7045
7046 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
7047 gdbserver output.
7048 (gdbserver_default_get_remote_address): New function.
7049 (gdbserver_start): Call gdb,get_remote_address to compute argument
7050 to "target remote" command.
7051
7052 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
7053
7054 * gdb.python/py-function.exp: Change "on" to "full" for
7055 python print-stack. Add set/show python print-stack
7056 off|full|message tests.
7057
7058 2011-12-15 Yao Qi <yao@codesourcery.com>
7059
7060 * gdb.trace/strace.c: New
7061 * gdb.trace/strace.exp: New.
7062
7063 2011-12-14 Tom Tromey <tromey@redhat.com>
7064
7065 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
7066
7067 2011-12-14 Doug Evans <dje@google.com>
7068
7069 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
7070
7071 2011-12-14 Pedro Alves <pedro@codesourcery.com>
7072
7073 PR threads/10729
7074
7075 * gdb.mi/watch-nonstop.c: New file.
7076 * gdb.mi/mi-watch-nonstop.exp: New file.
7077
7078 2011-12-13 Pedro Alves <pedro@codesourcery.com>
7079 Doug Evans <dje@google.com>
7080
7081 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
7082 (clean_restart): Remove references to the gdb_stub target board
7083 variable.
7084 (gdb_step_for_stub): Delete.
7085
7086 * gdb.base/annota1.exp: Remove all references to [target_info
7087 exists gdb_stub], gdb_step_for_stub and usestubs.
7088 * gdb.base/annota3.exp: Ditto.
7089 * gdb.base/async.exp: Ditto.
7090 * gdb.base/break.exp: Ditto.
7091 * gdb.base/code-expr.exp: Ditto.
7092 * gdb.base/commands.exp: Ditto.
7093 * gdb.base/completion.exp: Ditto.
7094 * gdb.base/condbreak.exp: Ditto.
7095 * gdb.base/consecutive.exp: Ditto.
7096 * gdb.base/cvexpr.exp: Ditto.
7097 * gdb.base/define.exp: Ditto.
7098 * gdb.base/display.exp: Ditto.
7099 * gdb.base/ena-dis-br.exp: Ditto.
7100 * gdb.base/environ.exp: Ditto.
7101 * gdb.base/gnu-ifunc.exp: Ditto.
7102 * gdb.base/maint.exp: Ditto.
7103 * gdb.base/pending.exp: Ditto.
7104 * gdb.base/sect-cmd.exp: Ditto.
7105 * gdb.base/sepdebug.exp: Ditto.
7106 * gdb.base/unload.exp: Ditto.
7107 * gdb.base/watchpoint-solib.exp: Ditto.
7108 * gdb.cp/annota2.exp: Ditto.
7109 * gdb.cp/annota3.exp: Ditto.
7110 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
7111 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
7112 * gdb.mi/mi-pending.exp: Ditto.
7113 * gdb.trace/circ.exp: Ditto.
7114 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
7115 * gdb.base/list.exp: Ditto.
7116
7117 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
7118 breakpoint function and all references to the usestubs macro.
7119 * gdb.base/exprs.c: Ditto.
7120 * gdb.base/freebpcmd.c: Ditto.
7121 * gdb.base/bitfields.c: Ditto.
7122 * gdb.base/bitfields2.c: Ditto.
7123 * gdb.base/break.c: Ditto.
7124 * gdb.base/call-sc.c: Ditto.
7125 * gdb.base/call-signals.c: Ditto.
7126 * gdb.base/callfuncs.c: Ditto.
7127 * gdb.base/charset.c: Ditto.
7128 * gdb.base/consecutive.c: Ditto.
7129 * gdb.base/constvars.c: Ditto.
7130 * gdb.base/funcargs.c: Ditto.
7131 * gdb.base/int-type.c: Ditto.
7132 * gdb.base/interrupt.c: Ditto.
7133 * gdb.base/langs0.c: Ditto.
7134 * gdb.base/list0.c: Ditto.
7135 * gdb.base/mips_pro.c: Ditto.
7136 * gdb.base/miscexprs.c: Ditto.
7137 * gdb.base/nodebug.c: Ditto.
7138 * gdb.base/opaque0.c: Ditto.
7139 * gdb.base/pointers.c: Ditto.
7140 * gdb.base/printcmds.c: Ditto.
7141 * gdb.base/ptype.c: Ditto.
7142 * gdb.base/recurse.c: Ditto.
7143 * gdb.base/reread1.c: Ditto.
7144 * gdb.base/reread2.c: Ditto.
7145 * gdb.base/restore.c: Ditto.
7146 * gdb.base/return.c: Ditto.
7147 * gdb.base/run.c: Ditto.
7148 * gdb.base/scope0.c: Ditto.
7149 * gdb.base/sepdebug.c: Ditto.
7150 * gdb.base/setshow.c: Ditto.
7151 * gdb.base/setvar.c: Ditto.
7152 * gdb.base/sigall.c: Ditto.
7153 * gdb.base/signals.c: Ditto.
7154 * gdb.base/structs.c: Ditto.
7155 * gdb.base/structs2.c: Ditto.
7156 * gdb.base/testenv.c: Ditto.
7157 * gdb.base/twice.c: Ditto.
7158 * gdb.base/unwindonsignal.c: Ditto.
7159 * gdb.base/watchpoint.c: Ditto.
7160 * gdb.base/watchpoints.c: Ditto.
7161 * gdb.base/whatis.c: Ditto.
7162 * gdb.cp/classes.cc: Ditto.
7163 * gdb.cp/cplusfuncs.cc: Ditto.
7164 * gdb.cp/derivation.cc: Ditto.
7165 * gdb.cp/formatted-ref.cc: Ditto.
7166 * gdb.cp/misc.cc: Ditto.
7167 * gdb.cp/overload.cc: Ditto.
7168 * gdb.cp/ovldbreak.cc: Ditto.
7169 * gdb.cp/ref-params.cc: Ditto.
7170 * gdb.cp/ref-types.cc: Ditto.
7171 * gdb.cp/templates.cc: Ditto.
7172 * gdb.cp/virtfunc.cc: Ditto.
7173 * gdb.hp/gdb.aCC/run.c: Ditto.
7174 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
7175 * gdb.hp/gdb.compat/xdb0.c: Ditto.
7176 * gdb.reverse/consecutive-reverse.c: Ditto.
7177 * gdb.reverse/sigall-reverse.c: Ditto.
7178 * gdb.reverse/until-reverse.c: Ditto.
7179 * gdb.reverse/watch-reverse.c: Ditto.
7180 * gdb.trace/actions.c: Ditto.
7181 * gdb.trace/circ.c: Ditto.
7182 * gdb.trace/collection.c: Ditto.
7183
7184 2011-12-13 Pedro Alves <pedro@codesourcery.com>
7185
7186 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
7187 (func6, func7): New.
7188 (main): Call func6 and func7.
7189 * gdb.base/watchpoint.exp (test_wide_location_1)
7190 (test_wide_location_2): New.
7191 (top level): Re-enable hardware watchpoints if necessary. Call
7192 test_wide_location_1 and test_wide_location_2.
7193
7194 2011-12-11 Yao Qi <yao@codesourcery.com>
7195
7196 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
7197
7198 2011-12-11 Joel Brobecker <brobecker@adacore.com>
7199
7200 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
7201 expected output for unsupported case.
7202
7203 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7204
7205 PR testsuite/12649
7206 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
7207 Protect gdb_test_multiple by final $gdb_prompt match.
7208
7209 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7210
7211 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
7212 New variable, new test.
7213 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7214 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7215 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7216 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
7217 them if HAVE_GCC_45682_FIXED is not set.
7218
7219 2011-12-10 Yao Qi <yao@codesourcery.com>
7220
7221 * gdb.trace/status-stop.exp: New.
7222 * gdb.trace/status-stop.c: New.
7223
7224 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7225
7226 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
7227 timeout.
7228
7229 2011-12-08 Tom Tromey <tromey@redhat.com>
7230
7231 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
7232 condition.
7233
7234 2011-12-07 Stan Shebs <stan@codesourcery.com>
7235
7236 * gdb.trace/tfind.exp: Update for output changes.
7237
7238 2011-12-07 Pedro Alves <pedro@codesourcery.com>
7239
7240 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
7241 throws "Cannot insert catchpoints in this configuration".
7242 * gdb.ada/mi_catch_ex.exp: Likewise.
7243
7244 2011-12-06 Pedro Alves <pedro@codesourcery.com>
7245
7246 * gdb.base/break-always.exp: Test changing memory at addresses
7247 with breakpoints inserted.
7248
7249 2011-12-06 Joel Brobecker <brobecker@acacore.com>
7250
7251 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
7252 involving a fully qualified function name.
7253
7254 2011-12-06 Tom Tromey <tromey@redhat.com>
7255
7256 * gdb.ada/homonym.exp: Add three breakpoint tests.
7257
7258 2011-12-06 Tom Tromey <tromey@redhat.com>
7259
7260 * gdb.base/solib-weak.exp (do_test): Remove kfail.
7261 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
7262 * gdb.objc/objcdecode.exp: Update for output changes.
7263 * gdb.linespec/linespec.exp: New file.
7264 * gdb.linespec/lspec.cc: New file.
7265 * gdb.linespec/lspec.h: New file.
7266 * gdb.linespec/body.h: New file.
7267 * gdb.linespec/base/two/thefile.cc: New file.
7268 * gdb.linespec/base/one/thefile.cc: New file.
7269 * gdb.linespec/Makefile.in: New file.
7270 * gdb.cp/templates.exp (test_template_breakpoints): Update for
7271 output changes.
7272 * gdb.cp/re-set-overloaded.exp: Remove kfail.
7273 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
7274 makes one breakpoint.
7275 * gdb.cp/method2.exp (test_break): Update for output changes.
7276 * gdb.cp/mb-templates.exp: Update for output changes.
7277 * gdb.cp/mb-inline.exp: Update for output changes.
7278 * gdb.cp/mb-ctor.exp: Update for output changes.
7279 * gdb.cp/ovsrch.exp: Use fully-qualified names.
7280 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
7281 has multiple matches.
7282 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
7283 error message change.
7284 * gdb.base/list.exp (test_list_filename_and_number): Update for
7285 error message change.
7286 * gdb.base/break.exp: Disable pending breakpoints. Update for
7287 output changes.
7288 * configure.ac: Add gdb.linespec.
7289 * configure: Rebuild.
7290 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
7291
7292 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
7293
7294 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
7295 last_break register on s390*-*-* targets.
7296
7297 2011-12-06 Joel Brobecker <brobecker@adacore.com>
7298
7299 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
7300 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
7301 of parameter X in procedure Foo.
7302
7303 2011-12-05 Stan Shebs <stan@codesourcery.com>
7304
7305 * gdb.trace/tfind.exp: Update help string matches.
7306
7307 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7308
7309 * gdb.server/ext-run.exp (get process list): Accept also systemd
7310 as PID 1.
7311
7312 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7313 Pedro Alves <pedro@codesourcery.com>
7314
7315 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
7316 starting GDB.
7317 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
7318 $use_gdb_stub.
7319 * gdb.base/display.exp: Likewise.
7320 * gdb.base/ending-run.exp: Likewise.
7321 * gdb.base/list.exp (test_listsize): Likewise.
7322 * gdb.base/setshow.exp: Likewise.
7323 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7324 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7325 check by global $use_gdb_stub.
7326 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7327 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7328 (default_gdb_init): Unset global $use_gdb_stub.
7329 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7330 by global $use_gdb_stub.
7331 * lib/gdbserver-support.exp: Extend comments for set_board_info
7332 gdb_protocol and gdb,socketport.
7333 (gdbserver_start_extended): Set global gdbserver_protocol and
7334 gdbserver_gdbport. Clear global use_gdb_stub.
7335 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7336 from target use_gdb_stub.
7337 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7338
7339 2011-12-03 Doug Evans <dje@google.com>
7340
7341 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7342 (gdb_step_for_stub): Add comments.
7343
7344 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7345
7346 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7347 to the caller.
7348 (gdb_test_multiple): Likewise.
7349
7350 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7351
7352 Fix gdb.mi/mi-solib.exp without system debug info installed.
7353 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7354 expect attribute, return 0 for it. Update comments.
7355
7356 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7357
7358 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7359 (corrupted list): Adjust the expectation.
7360
7361 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7362
7363 PR threads/13448
7364 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7365 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7366 * gdb.threads/tls-var-main.c: New file.
7367 * gdb.threads/tls-var.c: New file.
7368 * gdb.threads/tls-var.exp: New file.
7369
7370 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7371
7372 PR testsuite/12649
7373 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7374 Protect gdb_test_multiple by final $gdb_prompt match.
7375 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7376 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7377 (test_tracepoints): Likewise.
7378
7379 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7380
7381 PR breakpoints/13346
7382 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7383 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7384 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7385
7386 2011-12-01 Joel Brobecker <brobecker@adacore.com>
7387
7388 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7389 * gdb.ada/homonym/homonym.adb: For use of all types defined
7390 locally inside both Get_Value subprograms.
7391
7392 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7393
7394 Fix racy FAILs.
7395 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7396 of send_gdb.
7397
7398 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7399
7400 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7401 environment variable after test completed.
7402
7403 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7404
7405 * gdb.base/solib-nodir.exp: Skip if remote target.
7406 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7407 application. Call gdb_load_shlibs.
7408 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7409
7410 2011-11-29 Joel Brobecker <brobecker@adacore.com>
7411
7412 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7413
7414 2011-11-28 Joel Brobecker <brobecker@adacore.com>
7415
7416 * gdb.ada/fullname_bp: New testcase.
7417
7418 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7419
7420 PR testsuite/12649
7421 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7422 Wrap send_gdb into a new gdb_test.
7423
7424 Code cleanup.
7425 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7426 Convert send_gdb and gdb_expect to gdb_test_multiple.
7427
7428 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7429
7430 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7431
7432 2011-11-23 Keith Seitz <keiths@redhat.com>
7433
7434 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7435 (mi_varobj_tree_test_children_callback): New proc.
7436 (mi_walk_varobj_tree): New proc.
7437
7438 2011-11-22 Tom Tromey <tromey@redhat.com>
7439
7440 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7441 Add "use_mi_command" argument.
7442 (mi_run_cmd, mi_run_with_cli): New procs.
7443 * gdb.mi/solib-lib.c: New file.
7444 * gdb.mi/solib-main.c: New file.
7445 * gdb.mi/mi-solib.exp: New file.
7446
7447 2011-11-21 Doug Evans <dje@google.com>
7448
7449 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7450 _Unwind_DebugHook is missing.
7451
7452 2011-11-20 Stan Shebs <stan@codesourcery.com>
7453
7454 * gdb.trace/tstatus.exp: New.
7455 * gdb.trace/actions.c: Include string.h.
7456
7457 2011-11-18 Yao Qi <yao@codesourcery.com>
7458
7459 * gdb.trace/pending.exp: New.
7460 * gdb.trace/pending.c: New.
7461 * gdb.trace/pendshr1.c: New.
7462 * gdb.trace/pendshr2.c: New.
7463 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7464 tracepoint location becomes pending.
7465 (tracepoint_change_loc_2): New.
7466
7467 2011-11-16 David S. Miller <davem@davemloft.net>
7468
7469 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7470 target is sparc*-*-linux*
7471
7472 2011-11-15 Paul Koning <paul_koning@dell.com>
7473
7474 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7475 types.
7476
7477 2011-11-14 Doug Evans <dje@google.com>
7478
7479 * gdb.base/shell.exp: New file.
7480
7481 2011-11-14 Stan Shebs <stan@codesourcery.com>
7482
7483 * gdb.trace/ftrace.c: New.
7484 * gdb.trace/ftrace.exp: New.
7485
7486 2011-11-14 Yao Qi <yao@codesourcery.com>
7487
7488 * gdb.trace/change-loc-1.c: New.
7489 * gdb.trace/change-loc-2.c: New.
7490 * gdb.trace/change-loc.c: New.
7491 * gdb.trace/change-loc.exp: New.
7492 * gdb.trace/change-loc.h: New.
7493 * gdb.trace/trace-break.c (marker): Define new symbol.
7494 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
7495 New.
7496 (break_trace_same_addr_6): New.
7497
7498 2011-11-12 Matt Rice <ratmice@gmail.com>
7499
7500 * gdb.base/info-macros.exp: Make tests for info definitions
7501 test info macro. Add tests for info macro argument processing.
7502 Rename a few tests.
7503
7504 2011-11-11 Keith Seitz <keiths@redhat.com>
7505
7506 PR gdb/12843
7507 * gdb.base/linespecs.exp: New file.
7508
7509 2011-11-11 Doug Evans <dje@google.com>
7510
7511 * gdb.threads/print-threads.exp: Extend timeout for slower
7512 tests.
7513
7514 2011-11-10 Doug Evans <dje@google.com>
7515
7516 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7517 "record to end of main" test.
7518
7519 * gdb.python/py-type.c (TS): New typedef.
7520 (ts): New global.
7521 * gdb.python/py-type.exp: Test field list of typedef.
7522
7523 2011-11-10 Joel Brobecker <brobecker@adacore.com>
7524
7525 * gdb.ada/small_reg_param: New testcase.
7526
7527 2011-11-09 Tom Tromey <tromey@redhat.com>
7528
7529 * gdb.cp/destrprint.exp: New file.
7530 * gdb.cp/destrprint.cc: New file.
7531
7532 2011-11-08 Meador Inge <meadori@codesourcery.com>
7533
7534 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7535 (switch_stack_to_other): New test function.
7536 * gdb.arch/thumb-prologue.exp: New test cases.
7537
7538 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7539
7540 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7541
7542 2011-11-08 Yao Qi <yao@codesourcery.com>
7543
7544 * gdb.exp (supports_process_record): New.
7545 (supports_reverse): New.
7546 * gdb.reverse/break-precsave.exp: Call support_process_record
7547 to run test conditionally.
7548 * gdb.reverse/consecutive-precsave.exp: Likewise.
7549 * gdb.reverse/i386-precsave.exp: Likewise.
7550 * gdb.reverse/machinestate-precsave.exp: Likewise.
7551 * gdb.reverse/solib-precsave.exp: Likewise.
7552 * gdb.reverse/step-precsave.exp: Likewise.
7553 * gdb.reverse/until-precsave.exp: Likewise.
7554 * gdb.reverse/watch-precsave.exp: Likewise.
7555 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7556 test conditionally.
7557 * gdb.reverse/consecutive-reverse.exp: Likewise.
7558 * gdb.reverse/finish-precsave.exp: Likewise.
7559 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7560 * gdb.reverse/finish-reverse.exp: Likewise.
7561 * gdb.reverse/i386-reverse.exp: Likewise.
7562 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7563 * gdb.reverse/machinestate.exp: Likewise.
7564 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7565 * gdb.reverse/sigall-precsave.exp: Likewise.
7566 * gdb.reverse/sigall-reverse.exp: Likewise.
7567 * gdb.reverse/solib-reverse.exp: Likewise.
7568 * gdb.reverse/step-reverse.exp: Likewise.
7569 * gdb.reverse/until-reverse.exp: Likewise.
7570 * gdb.reverse/watch-reverse.exp: Likewise.
7571
7572 2011-11-05 Yao Qi <yao@codesourcery.com>
7573
7574 * gdb.trace/trace-break.exp: Add test on setting two
7575 fast tracepoints at the same address.
7576
7577 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7580
7581 2011-11-02 Stan Shebs <stan@codesourcery.com>
7582
7583 * gdb.trace/collection.c: Add code using strings.
7584 * gdb.trace/collection.exp: Add tests of string collection.
7585
7586 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7587
7588 * gdb.base/skip-solib.exp (executable_main): New variable.
7589 (binfile_main): Base it on that.
7590 Use $executable_main in clean_restart calls. Drop gdb_exit and
7591 gdb_start calls.
7592
7593 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7594
7595 Fix racy FAILs.
7596 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7597 breakpoint_re globals import by async. Set string_regex to .* for
7598 async. Remove the optional thread_selected_re and breakpoint_re
7599 globals expectations.
7600
7601 2011-11-01 Joseph Myers <joseph@codesourcery.com>
7602
7603 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7604 well as Cygwin.
7605
7606 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
7607
7608 Add tests for skip command.
7609 * gdb.base/skip-solib-lib.c: New
7610 * gdb.base/skip-solib-main.c: New
7611 * gdb.base/skip-solib.exp: New
7612 * gdb.base/skip.c: New
7613 * gdb.base/skip.exp: New
7614 * gdb.base/skip1.c: New
7615 * gdb.base/Makefile.in: Adding new files.
7616
7617 2011-10-31 Yao Qi <yao@codesourcery.com>
7618 Pedro Alves <pedro@codesourcery.com>
7619
7620 * gdb.trace/trace-break.c: New.
7621 * gdb.trace/trace-break.exp: New.
7622
7623 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7624
7625 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7626 break-here-2.
7627
7628 2011-10-28 Pedro Alves <pedro@codesourcery.com>
7629
7630 * gdb.threads/no-unwaited-for-left.c: New.
7631 * gdb.threads/no-unwaited-for-left.exp: New.
7632 * gdb.threads/non-ldr-exc-1.c: New.
7633 * gdb.threads/non-ldr-exc-1.exp: New.
7634 * gdb.threads/non-ldr-exc-2.c: New.
7635 * gdb.threads/non-ldr-exc-2.exp: New.
7636 * gdb.threads/non-ldr-exc-3.c: New.
7637 * gdb.threads/non-ldr-exc-3.exp: New.
7638 * gdb.threads/non-ldr-exc-4.c: New.
7639 * gdb.threads/non-ldr-exc-4.exp: New.
7640
7641 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7642
7643 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7644 * gdb.base/attach-pie-misread.exp: Likewise.
7645 * gdb.base/break-interp.exp: Likewise.
7646 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7647 testcases for use_gdb_stub.
7648 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7649 (continue): New testcase.
7650 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7651 * gdb.threads/attach-into-signal.exp: Likewise.
7652 * gdb.threads/attach-stopped.exp: Likewise.
7653 * gdb.threads/attachstop-mt.exp: Likewise.
7654
7655 2011-10-28 Paul Koning <paul_koning@dell.com>
7656
7657 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7658
7659 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7660
7661 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7662 (mi_gdb_test): Import globals thread_selected_re
7663 and breakpoint_re. Expect them optionally at the regex start.
7664
7665 2011-10-27 Doug Evans <dje@google.com>
7666
7667 * gdb.python/python.exp: Test source -s.
7668
7669 2011-10-26 Paul Koning <paul_koning@dell.com>
7670
7671 * gdb.python/lib-types.cc (struct A): New structure.
7672 * gdb.python/lib-types.exp (deepitems): New tests.
7673
7674 2011-10-25 Paul Koning <paul_koning@dell.com>
7675
7676 PR python/13327
7677
7678 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7679 fetch_lazy method.
7680
7681 2011-10-24 Yao Qi <yao@codesourcery.com>
7682
7683 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7684 target is tic6x-*-*.
7685
7686 2011-10-21 Joel Brobecker <brobecker@adacore.com>
7687
7688 * gdb.ada/mi_task_info/task_switch.adb: New file.
7689 * gdb.ada/mi_task_info.exp: New file.
7690
7691 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7692
7693 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7694 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7695
7696 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7697
7698 PR python/12656
7699
7700 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7701 global_block tests.
7702
7703 2011-10-18 Tom Tromey <tromey@redhat.com>
7704
7705 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7706
7707 2011-10-18 Tom Tromey <tromey@redhat.com>
7708
7709 * gdb.base/source.exp: Don't include full file name in test name.
7710 * gdb.python/python.exp: Don't include full file name in test
7711 name.
7712
7713 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7714
7715 * gdb.base/attach-pie-noexec.c: New files.
7716 * gdb.base/attach-pie-noexec.exp: New files.
7717
7718 2011-10-17 Joseph Myers <joseph@codesourcery.com>
7719
7720 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7721 prompt for each extra line in command.
7722
7723 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7724
7725 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7726 Revert the part of:
7727 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7728 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7729 Change the expected string.
7730
7731 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7732
7733 Fix results with system glibc debug info installed.
7734 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7735 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7736 Accept also __libc_ symbol prefix and no prefix.
7737
7738 2011-10-14 Keith Seitz <keiths@redhat.com>
7739
7740 PR c++/13225
7741 * gdb.cp/converts.cc (foo3_1): New function.
7742 (foo3_2): New functions.
7743 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7744 and null pointer conversions of integer constant zero.
7745 Add test to check if all arguments are checked for incompatible
7746 conversion BADNESS.
7747
7748 2011-10-14 Tom Tromey <tromey@redhat.com>
7749
7750 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7751 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7752 linespec.
7753
7754 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7755
7756 Fix internal error regression.
7757 * gdb.dwarf2/implptr-optimized-out.S: New file.
7758 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7759
7760 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7761
7762 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7763 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7764 (loclist): New.
7765 (4): New abbrev.
7766 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7767 Use prepare_for_testing, remove clean_restart.
7768 (p arraynoloc, p arraycallnoloc): New tests.
7769
7770 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7771
7772 * gdb.cp/namespace-enum.exp (executable): New variable.
7773 (binfile): Use ${objdir}/${subdir}/ prefix.
7774 Use ${executable} for clean_restart.
7775
7776 2011-10-11 Sterling Augustine <saugustine@google.com>
7777
7778 * gdb.cp/Makefile.in: Add namespace-enum test.
7779 * gdb.cp/namespace-enum.exp: New file.
7780 * gdb.cp/namespace-enum.c: New file.
7781 * gdb.cp/namespace-enum-main.c: New file.
7782
7783 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7784
7785 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7786 sysroot.
7787
7788 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7789
7790 Reimplement @entry in input expressions.
7791 * gdb.base/exprs.c (v_int_array_init): New variable.
7792 * gdb.base/exprs.exp (print v_int_array_init)
7793 (print *v_int_array_init@1, print *v_int_array_init@2)
7794 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7795 (print v_int_array_init[1]@1): New tests.
7796
7797 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7798
7799 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7800 expected message.
7801
7802 2011-10-09 Doug Evans <dje@google.com>
7803
7804 * gdb.base/alias.exp: Add tests for alias command.
7805
7806 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7807
7808 * gdb.arch/amd64-entry-value.s: New file.
7809 * gdb.mi/mi2-amd64-entry-value.s: New file.
7810
7811 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7812
7813 Display @entry parameter values even for references.
7814 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7815 functions.
7816 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7817 reference and datap_input.
7818 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7819 breakpoints.
7820 (continue to breakpoint: entry_reference: reference)
7821 (entry_reference: bt at entry)
7822 (continue to breakpoint: entry_reference: breakhere_reference)
7823 (entry_reference: bt, entry_reference: ptype regparam)
7824 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7825 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7826 (entry_reference: p regcopy, entry_reference: p nodataparam)
7827 (entry_reference: p nodataparam@entry): New tests.
7828
7829 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7830
7831 Support @entry in input expressions.
7832 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7833 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7834 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7835 (tailcall: p j@entry): New tests.
7836 * gdb.cp/koenig.cc (A::entry): New function.
7837 (main): Call it.
7838 * gdb.cp/koenig.exp (p entry (c)): New test.
7839
7840 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7841
7842 Display @entry parameter values (without references).
7843 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7844 (different, validity, invalid): New functions.
7845 (main): Call them.
7846 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7847 stacktest, breakhere_stacktest, different, breakhere_different,
7848 breakhere_validity and breakhere_invalid.
7849 (entry: bt): Update for @entry.
7850 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7851 (entry_validity: *, entry_invalid: *): Many new tests.
7852 * gdb.base/break.exp
7853 (run until breakpoint set at small function, optimized file): Accept
7854 also the @entry suffix.
7855 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7856 * gdb.mi/mi2-amd64-entry-value.c: New files.
7857 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7858
7859 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7860
7861 Protect entry values against self tail calls.
7862 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7863 (main): Call self.
7864 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7865 (set debug entry-values 1, self: bt debug entry-values): New tests.
7866
7867 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7868
7869 Recognize virtual tail call frames.
7870 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7871 (amb_b, amb_a): New.
7872 (main): Call a and b.
7873 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7874 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7875 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7876 New tests.
7877
7878 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7879
7880 Implement basic support for DW_TAG_GNU_call_site.
7881 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7882 * gdb.arch/amd64-entry-value.cc: New file.
7883 * gdb.arch/amd64-entry-value.exp: New file.
7884
7885 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7886
7887 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7888 * gdb.dwarf2/implptr-64bit.S: New file.
7889 * gdb.dwarf2/implptr-64bit.exp: New file.
7890
7891 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7892
7893 Fix initial language detection with -readnow.
7894 * gdb.cp/readnow-language.cc: New file.
7895 * gdb.cp/readnow-language.exp: New file.
7896
7897 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7898
7899 Fix printed anonymous struct name.
7900 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7901
7902 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7903
7904 * gdb.base/solib-symbol.exp: Do not include directories in
7905 filenames in expected messages.
7906
7907 2011-10-07 Doug Evans <dje@google.com>
7908
7909 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7910
7911 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7912
7913 Allow Python notification of new object-file loadings.
7914 * gdb.python/py-events.exp: Test newobjfile event.
7915 * gdb.python/py-events.py: Register newobjfile callback.
7916 * gdb.python/py-events.c: Add call to shared library
7917 * gdb.python/py-events-shlib.c: New file.
7918
7919 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7920
7921 * gdb.base/fixsection.exp: Do not include directories in filename
7922 in expected message.
7923
7924 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7925
7926 Add tests for passing of environment variables to inferior.
7927 * gdb.base/testenv.c: New test source.
7928 * gdb.base/testenv.exp: New expect test.
7929
7930 2011-10-04 Paul Koning <paul_koning@dell.com>
7931
7932 * gdb.python/py-value.c (main): Break before return.
7933
7934 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7935
7936 PR python/12691: Add the inferior to Python exited event
7937 * gdb.python/py-events.exp: Test the inferior attribute of exited
7938 event with a fork.
7939 * gdb.python/py-events.py: Print inferior number on exit.
7940 * gdb.python/py-events.c: Fork the inferior.
7941
7942 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7943
7944 * gdb.base/jit.exp: Add testcase name to log message
7945
7946 2011-10-03 Paul Koning <paul_koning@dell.com>
7947 Jan Kratochvil <jan.kratochvil@redhat.com>
7948
7949 * gdb.python/py-value.exp
7950 (python inval = gdb.parse_and_eval('*(int*)0'))
7951 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7952 (set argc=2, python print argc_lazy): New tests.
7953
7954 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7955
7956 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7957
7958 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7959 Pedro Alves <pedro@codesourcery.com>
7960
7961 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7962 can_read_0, test for it.
7963 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7964 (parse_and_eval with memory error): ... here, make it untested if
7965 can_read_0.
7966
7967 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7968
7969 * gdb.python/python.exp (verify pagination beforehand)
7970 (verify pagination afterwards): Fix race by splitting the line.
7971
7972 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7973
7974 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7975 for 64-bit multilibs from i?86-* targets.
7976
7977 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7978
7979 * lib/gdb.exp: Fix a typo in one of the comments.
7980
7981 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7982
7983 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7984 matching pattern.
7985
7986 2011-09-28 Paul Koning <paul_koning@dell.com>
7987
7988 * gdb.python/py-type.c (enum E): New.
7989 * gdb.python/py-type.exp (test_fields): Add tests for Python
7990 mapping access to fields.
7991 (test_enums): New test for field access on enums.
7992
7993 2011-09-27 Stan Shebs <stan@codesourcery.com>
7994
7995 * gdb.trace/collection.exp: Test collection of $_ret.
7996
7997 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7998
7999 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
8000 list of compilation switches for <*-*-freebsd*>.
8001
8002 2011-09-19 Stan Shebs <stan@codesourcery.com>
8003
8004 * gdb.trace/tspeed.exp: New file.
8005 * gdb.trace/tspeed.c: New file.
8006
8007 2011-09-18 Yao Qi <yao@codesourcery.com>
8008
8009 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
8010 instructions.
8011 (test_adr_32bit, test_pop_pc): Likewise.
8012 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
8013 Thumb instructions.
8014 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
8015 in gdb_test_multiple.
8016 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
8017
8018 2011-09-17 Yao Qi <yao@codesourcery.com>
8019
8020 * lib/gdb.exp (can_single_step_to_signal_handler): New.
8021 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
8022 support single step to signal handler.
8023
8024 2011-09-17 Yao Qi <yao@codesourcery.com>
8025
8026 * gdb.base/disp-step-fork.c: New.
8027 * gdb.base/disp-step-syscall.exp: New.
8028 * gdb.base/disp-step-vfork.c: New.
8029
8030 2011-09-16 Joel Brobecker <brobecker@adacore.com>
8031
8032 * gdb.ada/tasks.exp: Make the expected output for
8033 the `info tasks' tests more resilient to spacing
8034 changes.
8035
8036 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8037
8038 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
8039 (reached breakpoint 2, reached breakpoint 3): Update expected output.
8040
8041 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
8042
8043 PR Python/12692 Add gdb.selected_inferior() to Python interface.
8044 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
8045
8046 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
8047
8048 Handle multiple breakpoint hits in Python interface:
8049 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
8050 presence.
8051 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
8052 breakpoint hits.
8053
8054 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8055 Jan Kratochvil <jan.kratochvil@redhat.com>
8056
8057 * gdb.python/py-events.exp: Remove pretty printing comment.
8058 * gdb.python/py-evsignal.exp: New file.
8059 * gdb.python/py-evthreads.c: Include signal.h.
8060 (thread3): Remove variable count3. Remove variable bad and use raise
8061 instead.
8062 (thread2): Remove variable count2. Move thread3 pthread_create here,
8063 merge pthread_join to a single line.
8064 (main): Remove variable count1. Merge pthread_join with pthread_create
8065 to a single line.
8066 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
8067 KFAIL python/12966 for gdbserver. Test return value of
8068 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
8069 gdb_expect by gdb_test and gdb_test_multiple.
8070 (thread 2, thread 3): New tests.
8071
8072 2011-09-12 Matt Rice <ratmice@gmail.com>
8073 Pedro Alves <pedro@codesourcery.com>
8074
8075 PR gdb/13175
8076
8077 * gdb.base/interp.exp: New tests.
8078 * gdb.base/interp.c: New file.
8079
8080 2011-09-12 Doug Evans <dje@google.com>
8081
8082 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
8083 * gdb.dwarf2/typeddwarf.exp: Ditto.
8084
8085 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8086
8087 Fix compatibility with x32 arch.
8088 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
8089 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
8090 is_x86_like_target.
8091 * testsuite/gdb.trace/collection.exp: Likewise.
8092 * testsuite/gdb.trace/report.exp: Likewise.
8093 * testsuite/gdb.trace/unavailable.exp: Likewise.
8094 * testsuite/gdb.trace/while-dyn.exp: Likewise.
8095 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
8096 (is_x86_like_target): Check also is_amd64_regs_target.
8097
8098 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8099
8100 PR breakpoints/12435
8101 * gdb.arch/amd64-prologue-xmm.c: New file.
8102 * gdb.arch/amd64-prologue-xmm.exp: New file.
8103 * gdb.arch/amd64-prologue-xmm.s: New file.
8104
8105 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8106
8107 * gdb.dwarf2/dw2-param-error-main.c: New file.
8108 * gdb.dwarf2/dw2-param-error.S: New file.
8109 * gdb.dwarf2/dw2-param-error.exp: New file.
8110
8111 2011-09-08 Pedro Alves <pedro@codesourcery.com>
8112
8113 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
8114 inferior's pid and look for a core dump named core.$pid. Use
8115 `remote_file' commands on the host instead of hand coding shell
8116 commands on the build.
8117 * gdb.base/valgrind-db-attach.exp: Kill the program before
8118 finishing the test.
8119
8120 2011-09-02 Matt Rice <ratmice@gmail.com>
8121
8122 * lib/prompt.exp: New file for testing the first prompt.
8123 * gdb.python/py-prompt.exp: Ditto.
8124 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
8125
8126 2011-09-02 Pedro Alves <pedro@codesourcery.com>
8127
8128 * gdb.threads/gcore-thread.exp: Set the global core_supported to
8129 0, before testing gcore.
8130
8131 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8132
8133 * dw2-ifort-parameter-debug.S: Update copyright year.
8134 * dw2-ifort-parameter.c: Update copyright year.
8135 * dw2-ifort-parameter.exp: Update copyright year.
8136
8137 * dw2-ifort-parameter-debug.S: New file.
8138 * dw2-ifort-parameter.c: New file.
8139 * dw2-ifort-parameter.exp: New file.
8140
8141 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 * gdb.base/commands.exp (error_clears_commands_left): New function.
8144 (): Call it.
8145
8146 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8147
8148 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
8149 (C): Initialize `a'.
8150 * gdb.mi/mi-inheritance-syntax-error.exp
8151 (-data-evaluate-expression $path): Expect `a' as 5.
8152
8153 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
8154
8155 PR mi/11912
8156 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
8157 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
8158 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
8159 keyword in output of -var-info-path-expression.
8160
8161 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8162
8163 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
8164 * gdb.trace/collection.exp: Likewise.
8165 * gdb.trace/report.exp: Likewise.
8166 * gdb.trace/unavailable.exp: Likewise.
8167 * gdb.trace/while-dyn.exp: Likewise.
8168
8169 2011-08-18 Keith Seitz <keiths@redhat.com>
8170
8171 PR c++/12266
8172 * gdb.cp/meth-typedefs.cc: New file.
8173 * gdb.cp/meth-typedefs.exp: New file.
8174
8175 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
8176
8177 * gdb.python/python.exp: Add extended-prompt tests.
8178
8179 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8180
8181 * gdb.arch/i386-dr3-watch.exp
8182 (watchpoint on gap1 does not fit debug registers)
8183 (delete all watchpoints): Fix racy expect strings.
8184
8185 2011-08-14 Yao Qi <yao@codesourcery.com>
8186
8187 * gdb.base/maint.exp: set data_section to ".neardata".
8188 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
8189 * gdb.base/savedregs.exp: Handle SIGILL.
8190 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
8191 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8192
8193 2011-08-12 Doug Evans <dje@google.com>
8194
8195 * gdb.python/py-symbol.exp: Add test for symbol.type.
8196
8197 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
8198
8199 * gdb.threads/pthreads.exp: Enable on non-native configurations.
8200 * gdb.mi/mi-pthreads.exp: Likewise.
8201 * gdb.mi/mi2-pthreads.exp: Likewise.
8202 * gdb.mi/gdb669.exp.exp: Likewise.
8203
8204 2011-08-09 Pedro Alves <pedro@codesourcery.com>
8205
8206 * lib/mi-support.exp (detect_async): Rename to...
8207 (mi_detect_async): ... this.
8208 * gdb.mi/mi-nonstop-exit.exp: Adjust.
8209 * gdb.mi/mi-nonstop.exp: Adjust.
8210 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
8211 * gdb.mi/mi-nsintrall.exp: Adjust.
8212 * gdb.mi/mi-nsmoribund.exp: Adjust.
8213 * gdb.mi/mi-nsthrexec.exp: Adjust.
8214
8215 2011-08-09 Pedro Alves <pedro@codesourcery.com>
8216
8217 * gdb.base/display.c (do_loops): New `p_i' local.
8218 * gdb.base/display.exp: Test displaying a variable that is
8219 temporarily at a bad address.
8220
8221 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8222
8223 * gdb.dwarf2/dw2-op-stack-value.S: New file.
8224 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
8225
8226 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8227
8228 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
8229 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
8230 (p fuNC_symtab): Permit also ppc64 leading dot.
8231
8232 2011-08-05 Pedro Alves <pedro@codesourcery.com>
8233
8234 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
8235 procedure.
8236 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
8237
8238 2011-08-05 Yao Qi <yao@codesourcery.com>
8239
8240 * gdb.base/callfuncs.exp: Set language after main.
8241 * gdb.cp/cplusfuncs.exp: Likewise.
8242 * gdb.cp/inherit.exp: Likewise.
8243
8244 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8245
8246 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
8247 * gdb.base/watch-vfork.exp: Skip on remote targets.
8248
8249 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8250
8251 * gdb.threads/thread-find.exp: Support remote targets.
8252
8253 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8254
8255 * gdb.base/jit.exp: Download solib_binfile to target.
8256 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
8257 and call dlopen without full path name.
8258 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
8259 dlopen without full path name.
8260
8261 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8262
8263 * gdb.base/break-always.exp: Complete the test
8264 with duplicated breakpoints and enabling/disabling them.
8265
8266 2011-08-02 Tom Tromey <tromey@redhat.com>
8267
8268 PR gdb/11289:
8269 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
8270
8271 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8272
8273 PR gdb/13045
8274 * gdb.base/float.exp: Add new test case for PR gdb/13045
8275 * gdb.base/float.c: New file.
8276
8277 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
8278
8279 * gdb.python/py-mi.exp: Test printers returning string hint, and
8280 also not returning a value.
8281 * gdb.python/py-prettyprint.c: Add testcase for above.
8282 * gdb.python/py-prettyprint.py: Add test printer for above.
8283
8284 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8285
8286 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
8287 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
8288 (.Ldie30) Add as field "data4".
8289 (.Ldie32) Rename field "b" to "shl".
8290 (abbrev4) Change for the "data4" field.
8291 (abbrev5, abbrev6) Remove.
8292 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
8293 (p &s.shl): ... here. Add comment.
8294 (p &s.data4): New.
8295
8296 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8297
8298 Fix crash on lval_computed values.
8299 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
8300
8301 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8302
8303 * gdb.base/help.exp (help whatis): Update the expected string.
8304
8305 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8306
8307 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
8308 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
8309 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8310 Change the expected string.
8311
8312 2011-07-26 Pedro Alves <pedro@codesourcery.com>
8313
8314 * gdb.base/watchpoint.exp
8315 (test_disable_enable_software_watchpoint): New procedure.
8316 (top level): Run it.
8317
8318 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8319
8320 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8321 executable file "${binfile}", C++ version "${binfile}-cxx".
8322 * gdb.python/py-prettyprint.exp: Likewise.
8323 * gdb.python/py-symbol.exp: Likewise.
8324 * gdb.python/py-type.exp: Likewise.
8325 * gdb.python/py-value.exp: Likewise.
8326 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8327 file name instead of just suffix.
8328
8329 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8330
8331 Fix implicit pointer offsets.
8332 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8333 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8334 (continue to breakpoint: continue to baz breakpoint for implptr)
8335 (sanity check element 0, sanity check element 1)
8336 (enter the inlined function, check element 0 for the offset)
8337 (check element 1 for the offset)
8338 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8339 (set foo breakpoint for implptr): Update the breakpoint number.
8340
8341 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8342
8343 * gdb.python/py-mi.exp: Use different file names for different
8344 versions of the executable under test.
8345 * gdb.python/py-prettyprint.exp: Likewise.
8346 * gdb.python/py-symbol.exp: Likewise.
8347 * gdb.python/py-template.exp: Likewise.
8348 * gdb.python/py-type.exp: Likewise.
8349 * gdb.python/py-value.exp: Likewise.
8350
8351 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8352
8353 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8354 flag after restarting GDB if necessary.
8355
8356 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8357
8358 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8359
8360 2011-07-22 Pedro Alves <pedro@codesourcery.com>
8361
8362 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8363 backend doesn't leave used debug registers behind.
8364
8365 2011-07-22 Tom Tromey <tromey@redhat.com>
8366
8367 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8368 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8369 argument.
8370 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8371
8372 2011-07-21 Matt Rice <ratmice@gmail.com>
8373
8374 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8375 in mostlyclean rule. Add files ending in .core.
8376
8377 2011-07-21 Matt Rice <ratmice@gmail.com>
8378
8379 PR macros/12999
8380 * gdb.base/info-macros.c: New test sources.
8381 * gdb.base/info-macros.exp: New tests.
8382
8383 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8384
8385 * gdb.python/python.exp: Add prompt substitution tests.
8386
8387 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8388
8389 Fix crash if referenced CU is aged out.
8390 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8391 New.
8392 * gdb.dwarf2/implptr.exp: Likewise.
8393
8394 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8395
8396 * gdb.dwarf2/implptr.S: Rebuilt.
8397 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8398 (bar): Use them for j, k, l.
8399 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8400 COMPILE.
8401 (print j in implptr:bar): Update for the intp typedef.
8402 (print p[0].x in implptr:foo): Use more exact regex.
8403
8404 2011-07-18 Tom Tromey <tromey@redhat.com>
8405
8406 * gdb.cp/static-method.exp: Add missing single quote.
8407
8408 2011-07-18 Yao Qi <yao@codesourcery.com>
8409
8410 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8411 supported.
8412 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8413 * gdb.mi/mi-nonstop.exp: Likewise.
8414 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8415 * gdb.mi/mi-nsintrall.exp: Likewise.
8416 * gdb.mi/mi-nsmoribund.exp: Likewise.
8417 * gdb.mi/mi-nsthrexec.exp: Likewise.
8418 * gdb.python/py-evthreads.exp: Likewise.
8419
8420 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8421
8422 Code cleanup.
8423 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8424 it. Substitute it instead of test_compiler_info everywhere.
8425
8426 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8427
8428 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8429 remote targets as well.
8430
8431 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8432
8433 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8434 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8435
8436 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8437
8438 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8439 a remote machine, not the host.
8440 (gdb_compile_shlib): Set soname if target is remote.
8441
8442 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8443
8444 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8445
8446 2011-07-13 Matt Rice <ratmice@gmail.com>
8447
8448 * gdb.python/py-objfile-script-gdb.py: Renamed to
8449 py-objfile-script-gdb.py.in.
8450 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8451 py-objfile-script-gdb.py.
8452 * gdb.python/py-objfile-script.exp: Update reference to
8453 py-objfile-script-gdb.py.
8454
8455 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8456
8457 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8458 reference undefined label.
8459
8460 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8461
8462 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8463 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8464 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8465 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8466
8467 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8468
8469 PR python/12438
8470 * gdb.python/python.exp: Add maint set/show python print-stack
8471 deprecated tests. Add set/show python print-backtrace tests.
8472
8473 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8474
8475 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8476 debug info.
8477
8478 2011-07-06 Matt Rice <ratmice@gmail.com>
8479
8480 * gdb.python/python.exp: Update filename paths.
8481 * gdb.python/py-symtab.exp: Ditto.
8482
8483 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8484
8485 * gdb.python/py-evthreads.exp: Add missing `$'.
8486
8487 2011-07-06 Jie Zhang <jie.zhang@analog.com>
8488
8489 * config/bfin.exp: New file.
8490 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8491 * gdb.asm/bfin.inc: New file.
8492
8493 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8494
8495 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8496 the whole output.
8497
8498 2011-07-05 Tom Tromey <tromey@redhat.com>
8499
8500 * gdb.java/jprint.java (jprint.hi): New field.
8501 * gdb.java/jprint.exp: Print string.
8502
8503 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8504
8505 * gdb.base/call-sc.c: Fix typos.
8506 * gdb.base/ifelse.exp: Likewise.
8507 * gdb.base/structs.c: Likewise.
8508
8509 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8510
8511 * gdb.base/jit-so.exp: New test.
8512 * gdb.base/jit-dlmain.c: New file.
8513 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8514
8515 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8516
8517 * gdb.cp/m-static.exp: Call get_compiler_info.
8518 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8519 * gdb.cp/pr9167.exp (p b): Likewise.
8520 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8521 (test value of P in inner_m, test type of Z in inner_m): Call
8522 setup_xfail for gcc <= 4.5.
8523
8524 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8525
8526 * gdb.cp/paren-type.cc: New files.
8527 * gdb.cp/paren-type.exp: New files.
8528
8529 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8530
8531 Stop on first linespec terminator instead of eating what we can.
8532 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8533 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8534 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8535 (break C::f()): ... this one.
8536 (break C::operator()()): New test.
8537 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8538 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8539 test.
8540
8541 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8542
8543 Fall back linespec to minimal symbols.
8544 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8545 error message.
8546 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8547 * gdb.cp/minsym-fallback-main.cc: New file.
8548 * gdb.cp/minsym-fallback.cc: New file.
8549 * gdb.cp/minsym-fallback.exp: New file.
8550 * gdb.cp/minsym-fallback.h: New file.
8551
8552 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8553
8554 * gdb.cp/no-dmgl-verbose.cc: New file.
8555 * gdb.cp/no-dmgl-verbose.exp: New file.
8556
8557 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8558
8559 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8560 __GI_.
8561 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8562 (f): New function.
8563 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8564 (complete p 'func<short>(): ... here.
8565 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8566 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8567 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8568 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8569 Make them KFAIL gcc/49546.
8570
8571 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8572
8573 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8574
8575 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8576
8577 Test GCC PR debug/49546.
8578 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8579 (test type of F in k3_m, test value of F in k3_m): New.
8580 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8581 (main): New variable k3. Call k3.k3_m.
8582
8583 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8584
8585 * gdb.ada/packed_array.exp: Fix expected outout.
8586
8587 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8588
8589 * gdb.ada/packed_array.exp: fixed expected output.
8590
8591 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8592
8593 * gdb.ada/same_enum: New testcase.
8594
8595 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8596
8597 * gdb.ada/ptr_typedef: New testcase.
8598
8599 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8600
8601 * gdb.ada/arrayptr.exp: Add ptype test.
8602
8603 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8604
8605 * gdb.ada/char_enum: New testcase.
8606
8607 2011-07-01 Yao Qi <yao@codesourcery.com>
8608
8609 * gdb.base/dump.exp (capture_pointer_with_type): New.
8610 Get value from address instead of name.
8611 Start GDB once, and do `dump' and `restore'
8612 tests together.
8613
8614 2011-06-30 Jie Zhang <jie.zhang@analog.com>
8615 Mike Frysinger <vapier@gentoo.org>
8616
8617 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8618 helper functions for getting/setting remotetimeout variable.
8619 * lib/gdb.exp (gdb_load): If the target is remote, set
8620 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8621 with $loadtimeout. Set $load_ok to 0 before doing the load.
8622 Instead of returning, immediately, set $load_ok to 0. Call
8623 set_remotetimeout with $oldremotetimeout, and then return if
8624 $load_ok is 1.
8625
8626 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
8627
8628 * gdb.python/py-template.exp: Don't run this test if the target
8629 does not support c++ tests.
8630
8631 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8632
8633 Fix non-only rename list for Fortran modules import.
8634 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8635 tests.
8636 * gdb.fortran/module.f90 (module moduse): New.
8637 (program module): use moduse, test var_x, var_y and var_z.
8638
8639 2011-06-29 Tom Tromey <tromey@redhat.com>
8640
8641 PR testsuite/12040:
8642 * gdb.fortran/array-element.exp: Use f90, not f77.
8643 * gdb.fortran/complex.exp: Use f90, not f77.
8644 * gdb.fortran/derived-type.exp: Use f90, not f77.
8645 * gdb.fortran/library-module.exp: Use f90, not f77.
8646 * gdb.fortran/logical.exp: Use f90, not f77.
8647 * gdb.fortran/module.exp: Use f90, not f77.
8648 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8649 * gdb.fortran/subarray.exp: Use f90, not f77.
8650
8651 2011-06-29 Tom Tromey <tromey@redhat.com>
8652
8653 * gdb.fortran/charset.exp: New file.
8654 * gdb.fortran/charset.f90: New file.
8655
8656 2011-06-29 Tom Tromey <tromey@redhat.com>
8657
8658 PR testsuite/12040:
8659 * lib/future.exp: New file, mostly extracted from ada.exp.
8660 Rewrote compatibility code to use rename.
8661 (gdb_find_gfortran): New proc.
8662 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8663 gfortran patch.
8664 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8665 Move to future.exp.
8666 * lib/gdb.exp: Always load future.exp.
8667
8668 2011-06-28 Yao Qi <yao@codesourcery.com>
8669
8670 * gdb.cp/exception.cc: Don't include iostream.
8671 (bar): Remove print statement.
8672 (catcher): New.
8673 (main): Remove print statements. Call function catcher.
8674 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8675 Set breakpoint on catcher, and check the value of parameter.
8676
8677 2011-06-23 Yao Qi <yao@codesourcery.com>
8678
8679 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8680 breakpoint 1.2 is disabled. KFAIL for uclinux.
8681
8682 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8683
8684 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8685 mi_gdb_test.
8686
8687 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8688
8689 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8690
8691 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8692
8693 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8694
8695 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8696
8697 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8698 `test_exec_and_symbol_mi_operatons' return value.
8699 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8700 gdb_test_multiple.
8701 (test_exec_and_symbol_mi_operatons): Likewise.
8702 (test_path_specification): Likewise.
8703
8704 2011-06-23 Yao Qi <yao@codesourcery.com>
8705
8706 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8707 supported.
8708 * lib/gdb.exp (support_displaced_stepping): New.
8709
8710 2011-06-23 Yao Qi <yao@codesourcery.com>
8711
8712 * gdb.threads/execl.exp: Skip on remote target.
8713
8714 2011-06-21 Marek Polacek <mpolacek@redhat.com>
8715
8716 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
8717 mi_gdb_test.
8718
8719 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8720
8721 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
8722
8723 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8724
8725 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
8726 mi_gdb_test.
8727
8728 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8729
8730 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8731
8732 2011-06-14 Yao Qi <yao@codesourcery.com>
8733
8734 gdb/testsuite/
8735 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8736
8737 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8738
8739 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8740
8741 2011-06-10 Tom Tromey <tromey@redhat.com>
8742
8743 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8744 Add tests for pointer-to-member-function.
8745 * gdb.cp/temargs.cc (S::somefunc): New function.
8746 (K2): New class.
8747 (main): Instantiate K2; call method.
8748
8749 2011-06-08 Joel Brobecker <brobecker@adacore.com>
8750
8751 * gdb.python/py-inferior.c (f2): Make str an array rather
8752 than a pointer.
8753 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8754
8755 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8756
8757 * gdb.base/async-shell.c: New file.
8758 * gdb.base/async-shell.exp: New file.
8759
8760 2011-06-06 Pedro Alves <pedro@codesourcery.com>
8761
8762 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8763
8764 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8765
8766 From Stephen Kitt <steve@sk2.org>
8767 * gdb.base/help.exp: Adjust following some spelling corrections
8768 in GDB.
8769
8770 2011-06-01 Yao Qi <yao@codesourcery.com>
8771
8772 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8773
8774 2010-05-31 Keith Seitz <keiths@redhat.com>
8775
8776 PR c++/12750
8777 * gdb.cp/static-method.cc: New file.
8778 * gdb.cp/static-method.exp: New file.
8779
8780 2010-05-31 Keith Seitz <keiths@redhat.com>
8781
8782 PR symtab/12704
8783 * gdb.cp/anon-ns.cc: New file.
8784 * gdb.cp/anon-ns.exp: New file.
8785
8786 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8787
8788 * gdb.arch/i386-dr3-watch.c: New file.
8789 * gdb.arch/i386-dr3-watch.exp: New file.
8790
8791 2011-05-30 Yao Qi <yao@codesourcery.com>
8792
8793 * gdb.base/callfuncs.c (t_structs_fc): New.
8794 (t_structs_dc, t_structs_ldc): New.
8795 (t_double_many_args):
8796 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8797 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8798 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8799 * gdb.base/callfuncs.exp: Call new functions.
8800
8801 2011-05-30 Yao Qi <yao@codesourcery.com>
8802
8803 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8804 Call rerun_and_prepare for each test to isolate effects.
8805
8806 2011-05-30 Yao Qi <yao@codesourcery.com>
8807
8808 * gdb.base/varargs.c (find_max_float_real): New.
8809 (find_max_double_real, find_max_long_double_real): New.
8810 * gdb.base/varargs.exp: Call these new added functions.
8811 * lib/gdb.exp (setup_kfail_for_target): New.
8812
8813 2011-05-30 Yao Qi <yao@codesourcery.com>
8814
8815 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8816 (callcd, callce, callcf, callc1a, callc1b): New.
8817 (callc2a, callc2b): New.
8818 * gdb.base/funcargs.exp (complex_args): New.
8819 (complex_integral_args, complex_float_integral_args): New.
8820 * lib/gdb.exp (support_complex_tests): New. Determine
8821 whether to run test cases on _Complex types.
8822
8823 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8824
8825 * gdb.threads/leader-exit.c: New file.
8826 * gdb.threads/leader-exit.exp: New file.
8827
8828 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8829
8830 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8831
8832 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8833
8834 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8835 remove the `supported' variable.
8836 * gdb.mi/mi-nonstop.exp: Likewise.
8837 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8838 * gdb.mi/mi-nsintrall.exp: Likewise.
8839 * gdb.mi/mi-nsmoribund.exp: Likewise.
8840 * gdb.mi/mi-nsthrexec.exp: Likewise.
8841
8842 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8843
8844 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8845
8846 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8847
8848 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8849
8850 2011-05-24 Keith Seitz <keiths@redhat.com>
8851
8852 PR breakpoint/12803
8853 * gdb.cp/cmpd-minsyms.cc (a): New method.
8854 (b): New method.
8855 (c): New method.
8856 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8857
8858 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8859
8860 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8861 watchpoint's command list didn't execute when the watchpoint went
8862 out of scope.
8863
8864 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8865
8866 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8867 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8868 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8869 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8870 * gdb.arch/i386-permbkpt.exp: Likewise.
8871 * gdb.arch/i386-prologue.exp: Likewise.
8872 * gdb.arch/i386-size-overlap.exp: Likewise.
8873 * gdb.arch/i386-size.exp: Likewise.
8874 * gdb.arch/i386-unwind.exp: Likewise.
8875 * gdb.reverse/i386-precsave.exp: Likewise.
8876 * gdb.reverse/i386-reverse.exp: Likewise.
8877 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8878 * gdb.reverse/i387-env-reverse.exp: Likewise.
8879 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8880
8881 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8882
8883 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8884 file doesn't error, using MI.
8885
8886 2011-05-23 Tom Tromey <tromey@redhat.com>
8887
8888 * gdb.base/charset.exp (string_display): Add tests to assign to
8889 arrays.
8890 * gdb.base/charset.c (short_array, int_array, long_array): New.
8891
8892 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8893
8894 Cope with async mode.
8895
8896 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8897 into gdb_test + mi_expect_stop.
8898
8899 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8900
8901 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8902 (callme): Remove printf call.
8903
8904 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8905
8906 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8907 quote pattern to avoid problems with Cygwin/mingw expect versions.
8908 * gdb.base/default.exp (show convenience): Use double
8909 quote pattern for regular expressions.
8910
8911 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8912
8913 Fix -readnow for -gdwarf-4 unused type units.
8914 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8915 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8916
8917 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8918
8919 * gdb.base/kill-after-signal.c: New file.
8920 * gdb.base/kill-after-signal.exp: New file.
8921
8922 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8923
8924 * gdb.ada/start.exp: Call untested with the correct test filename.
8925 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8926 test filename. Make the test's binary unique.
8927 * gdb.arch/i386-signal.exp: Call untested with the correct test
8928 filename.
8929 * gdb.arch/i386-size-overlap.exp: Ditto.
8930 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8931 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8932 * gdb.cp/call-c.exp: Ditto.
8933 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8934 filename. Make the test's binary unique.
8935 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8936 * gdb.python/py-mi.exp: Ditto.
8937 * gdb.python/Makefile.in (EXECUTABLES): Update.
8938 * gdb.reverse/i386-precsave.exp: Ditto.
8939 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8940 test filename.
8941 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8942 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8943 unique.
8944 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8945 test filename.
8946 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8947 * gdb.trace/tfile.exp: Ditto.
8948
8949 2011-05-14 Yao Qi <yao@codesourcery.com>
8950
8951 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8952 type.
8953
8954 2011-05-13 Doug Evans <dje@google.com>
8955
8956 * gdb.python/py-objfile-script.exp: New file.
8957 * gdb.python/py-objfile-script.c: New file.
8958 * gdb.python/py-objfile-script-gdb.py: New file.
8959 * testsuite/gdb.python/py-section-script.exp: Test
8960 "info auto-load-scripts".
8961
8962 2011-05-13 Tom Tromey <tromey@redhat.com>
8963
8964 * gdb.dwarf2/clztest.exp: New file.
8965 * gdb.dwarf2/clztest.c: New file.
8966 * gdb.dwarf2/clztest.S: New file.
8967
8968 2011-05-13 Doug Evans <dje@google.com>
8969
8970 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8971 String16 tests.
8972
8973 2011-05-13 Tom Tromey <tromey@redhat.com>
8974
8975 * lib/gdb.exp (is_x86_like_target): New proc.
8976 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8977 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8978 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8979 -nostdlib to compiler.
8980 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8981 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8982 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8983 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8984 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8985
8986 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8987
8988 * gdb.python/py-function.exp: Test setting a value from a function
8989 which executes a command.
8990
8991 2011-05-12 Tom Tromey <tromey@redhat.com>
8992
8993 * gdb.dwarf2/typeddwarf.S: New file.
8994 * gdb.dwarf2/typeddwarf.c: New file.
8995 * gdb.dwarf2/typeddwarf.exp: New file.
8996
8997 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8998
8999 * gdb.mi/mi-basics.exp: Fix races. Honour the
9000 `test_exec_and_symbol_mi_operatons' return value.
9001 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9002 gdb_test_multiple.
9003 (test_exec_and_symbol_mi_operatons): Likewise.
9004 (test_path_specification): Likewise.
9005
9006 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9007
9008 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
9009 (gdb_touch_execfile): Remove catch wrappers. New variable time.
9010 Replace `file copy' and `file rename' by `file mtime'. Twice.
9011
9012 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9013
9014 * gdb.base/readline-ask.c: New file.
9015 * gdb.base/readline-ask.exp: New file.
9016 * gdb.base/readline-ask.inputrc: New file.
9017
9018 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
9019
9020 * gdb.cell/bt.exp: Delete breakpoints before running to signal
9021 to avoid race condition.
9022 * gdb.cell/coremaker.c: Use small stack size.
9023 * gdb.cell/ea-standalone.exp: Use file name without path as
9024 argument to c_to.
9025 * gdb.cell/fork.exp: Allow other output when continuing to end.
9026
9027 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9028
9029 * gdb.threads/corethreads.c: New file.
9030 * gdb.threads/corethreads.exp: New file.
9031
9032 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9033
9034 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
9035 Try to compile the test using -Wl,-z,norelro first.
9036 (load_core): New variable libthread_db_seen, initialize it.
9037 (zeroed-threads cannot be listed): Protect it by XFAIL on
9038 !$libthread_db_seen.
9039
9040 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9041
9042 PR 12573
9043 * gdb.dwarf2/dw2-skip-prologue.S: New file.
9044 * gdb.dwarf2/dw2-skip-prologue.c: New file.
9045 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
9046
9047 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9048
9049 * gdb.cp/psymtab-parameter.cc: New file.
9050 * gdb.cp/psymtab-parameter.exp: New file.
9051
9052 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9053
9054 Fix a race.
9055 * gdb.cp/static-print-quit.exp (print c): Split to ...
9056 (print c - <return>, print c - q <return>, print c - to quit):
9057 ... these. Make the testfile untested on gdb-7.1.
9058
9059 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
9060
9061 * lib/gdb.exp (exec_target_file, exec_symbol_file,
9062 gdb_rename_execfile, gdb_touch_execfile): New.
9063 * gdb.base/reread.exp: Use new procs to handle multiple
9064 exec files.
9065
9066 2011-05-05 Yao Qi <yao@codesourcery.com>
9067
9068 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
9069 (test_adr_32bit, test_pop_pc): New.
9070 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
9071 (test_adr_32bit, test_pop_pc): New.
9072
9073 2011-05-04 Joseph Myers <joseph@codesourcery.com>
9074
9075 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
9076 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
9077 targets.
9078 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
9079 handle targets.
9080
9081 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9082
9083 * gdb.base/completion.exp (complete help info wat): Rename to ...
9084 (complete 'help info wat'): ... here.
9085 Remove all `-re ".*' and `-re "^.*' redundant regexes.
9086 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
9087
9088 2011-05-04 Pedro Alves <pedro@codesourcery.com>
9089
9090 * gdb.base/completion.exp: Use gdb_test_multiple instead of
9091 gdb_test and explicit $gdb_prompt/timeout matches.
9092
9093 2011-05-04 Yao Qi <yao@codesourcery.com>
9094
9095 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
9096 and __thumb2__.
9097
9098 2011-05-03 Marek Polacek <mpolacek@redhat.com>
9099
9100 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
9101 in place of `gdb_test "delete breakpoints"'. This eliminates two
9102 testcases.
9103
9104 2011-05-02 Pedro Alves <pedro@codesourcery.com>
9105
9106 PR testsuite/12649
9107 Fix races.
9108
9109 * gdb.base/completion.exp: Remove all sleep calls. Remove
9110 unnecessary regexs. Don't explicitly expect anything after the
9111 prompt. Eat the prompt if necessary.
9112
9113 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
9114
9115 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
9116 accept to show the caller line again as well as the line after.
9117
9118 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
9119
9120 PR mi/12531
9121
9122 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
9123 compile target.
9124 * gdb.python/py-prettyprint.exp: Add C++ object for
9125 CPLUS_FAKE_CHILD test.
9126
9127 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
9128
9129 * gdb.base/signest.exp: New file.
9130 * gdb.base/signest.c: Likewise.
9131
9132 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9133
9134 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
9135 thread and breakpoint notifications.
9136
9137 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9138
9139 * gdb.base/fortran-sym-case.c: New file.
9140 * gdb.base/fortran-sym-case.exp: New file.
9141 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
9142 * gdb.dwarf2/dw2-case-insensitive.c: New file.
9143 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
9144
9145 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9146
9147 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
9148 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
9149 false #1', `if true else false #2' and `if true else false #3'.
9150
9151 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
9152
9153 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
9154 while delivering signal.
9155
9156 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
9157
9158 MI breakpoint notifications.
9159
9160 * testsuite/gdb.mi/mi-cli.exp: Adust.
9161 * testsuite/gdb.mi/mi2-cli.exp: Adust.
9162 * testsuite/gdb.mi/mi-watch.exp: Adust.
9163 * testsuite/gdb.mi/mi2-watch.exp: Adust.
9164 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
9165 notifications.
9166
9167 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9168
9169 * gdb.base/gdbindex-stabs-dwarf.c: New file.
9170 * gdb.base/gdbindex-stabs.c: New file.
9171 * gdb.base/gdbindex-stabs.exp: New file.
9172
9173 2011-04-25 Yao Qi <yao@codesourcery.com>
9174
9175 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
9176 with /*...*/.
9177 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
9178
9179 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9180
9181 * gdb.python/py-value.exp (test_objfiles): Name the first test
9182 `py-value in file.filename'.
9183
9184 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9185
9186 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
9187 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
9188 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
9189 !gdbserver_reconnect_p..
9190 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
9191
9192 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9193
9194 * gdb.cp/cpcompletion.exp (complete class methods)
9195 (complete class methods beginning with F): Move them above runto. New
9196 comment about the runto delimiter.
9197
9198 2011-04-20 Pedro Alves <pedro@codesourcery.com>
9199
9200 * gdb.base/maint.exp: Test that "maint print registers" works
9201 without a running program.
9202
9203 2011-04-20 Marek Polacek <mpolacek@redhat.com>
9204
9205 * gdb.base/setshow.exp: Fix racy tests.
9206 ($old_gdb_prompt): New variable.
9207
9208 2011-04-19 Tom Tromey <tromey@redhat.com>
9209
9210 * gdb.mi/mi-nsmoribund.exp:
9211 * gdb.hp/gdb.objdbg/objdbg01.exp:
9212 * gdb.base/structs.exp (test_struct_returns):
9213 * gdb.base/call-sc.exp (test_scalar_returns):
9214 * gdb.base/bigcore.exp: Remove duplicate words.
9215
9216 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9217
9218 * gdb.base/break-interp-lib.c (v, vptr): New variables.
9219 * gdb.base/break-interp.exp (test_attach): New comment.
9220
9221 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9222
9223 * gdb.threads/gcore-thread.exp ($core0file): New variable.
9224 (clear __stack_user.next, clear stack_used.next)
9225 (save a zeroed-threads corefile): New test.
9226 Call core_load for $core0file.
9227 (zeroed-threads cannot be listed): New test.
9228
9229 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9230
9231 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
9232 filename.
9233 ($srcfile): Preserve the original value.
9234 ($testfile): Match it the .exp filename.
9235 ($corefile): New variable. Substitute it around.
9236 Use clean_restart.
9237 ($prev_timeout): Remove.
9238 (load_core): Move core loading into this proc.
9239 Fix restore of $timeout if load_core fails.
9240
9241 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9242
9243 * gdb.base/eu-strip-infcall.c: New file.
9244 * gdb.base/eu-strip-infcall.exp: New file.
9245
9246 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9247
9248 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
9249 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
9250
9251 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9252
9253 Fix Python access to inlined frames.
9254 * gdb.python/py-frame-inline.c: New file.
9255 * gdb.python/py-frame-inline.exp: New file.
9256
9257 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
9258
9259 * gdb.base/gdb1090.exp: Change breakpoint location to read the
9260 content of 's24' correctly (avoiding "optimized out").
9261 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
9262
9263 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9264
9265 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
9266
9267 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9268
9269 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
9270 expect a colon in watch -location output.
9271
9272 2011-04-13 Marek Polacek <mpolacek@redhat.com>
9273
9274 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
9275 New testcase `expect response to define backtrace'. Also remove
9276 redundant `default' block.
9277
9278 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9279
9280 * gdb.python/py-prettyprint.c (struct hint_error): New.
9281 (main): New variable hint_error.
9282 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
9283 "print hint_error".
9284 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
9285 (register_pretty_printers): Register it.
9286
9287 2011-04-04 Tom Tromey <tromey@redhat.com>
9288
9289 * gdb.cp/maint.exp (test_help): Update.
9290 (test_namespace): Likewise.
9291
9292 2011-04-01 Joel Brobecker <brobecker@adacore.com>
9293
9294 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
9295 * gdb.ada/arrayptr.exp: Add new tests.
9296
9297 2011-04-01 Joel Brobecker <brobecker@adacore.com>
9298
9299 * gdb.ada/mi_catch_ex: New testcase.
9300
9301 2011-04-01 Pedro Alves <pedro@codesourcery.com>
9302
9303 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
9304 base::overload(void) method without specifying "const".
9305
9306 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
9307
9308 * gdb.arch/thumb-singlestep.S: New file.
9309 * gdb.arch/thumb-singlestep.exp: Likewise.
9310
9311 2011-03-31 Tom Tromey <tromey@redhat.com>
9312
9313 * gdb.python/py-prettyprint.py (exception_flag): New global.
9314 (NoStringContainerPrinter._iterator.next): Check it.
9315 * gdb.python/py-prettyprint.c (main): New variable nstype2.
9316 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
9317
9318 2011-03-29 Tom Tromey <tromey@redhat.com>
9319
9320 * gdb.cp/anon-struct.cc: New file.
9321 * gdb.cp/anon-struct.exp: New file.
9322
9323 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9324
9325 Test STT_GNU_IFUNC support.
9326 * gdb.base/gnu-ifunc-lib.c: New file.
9327 * gdb.base/gnu-ifunc.c: New file.
9328 * gdb.base/gnu-ifunc.exp: New file.
9329
9330 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9331
9332 Support a ring of related breakpoints.
9333 * gdb.base/watchpoint-delete.c: New file.
9334 * gdb.base/watchpoint-delete.exp: New file.
9335
9336 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9337
9338 * gdb.ada/arrayparam.exp (print first after function call): Use
9339 explicit package name. Add a comment
9340 (print lasta after function call): Rename ...
9341 (print last after function call): ... it and use explicit package
9342 name.
9343 (print length after function call): Use explicit package name.
9344 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9345 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9346 (multiple matches for symbol i): Rename ...
9347 (multiple matches for symbol integervar): ... it.
9348 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9349 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9350
9351 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
9352
9353 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9354 environment variable to make grep output more predictable. Move
9355 all the environment setup into gdb_init so it's done once per test
9356 case rather than each time we start gdb.
9357
9358 2011-03-24 Tom Tromey <tromey@redhat.com>
9359
9360 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9361 test.
9362
9363 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9364
9365 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9366 * gdb.dwarf2/dw2-entry-value.S: New file.
9367 * gdb.dwarf2/dw2-entry-value.exp: New file.
9368
9369 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9370
9371 PR python/12183
9372
9373 * gdb.python/py-function.exp: Add GdbError tests.
9374
9375 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9376
9377 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9378 (reglocal_test_func, statlocal_test_func): New functions.
9379 (globals_test_func): Call new functions.
9380 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9381 (gdb_collect_locals_test): New procedure.
9382 (gdb_trace_collection_test): Call new procedures.
9383
9384 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9385
9386 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9387 (test_register, test_register_unavailable): New procedures.
9388 (gdb_unavailable_registers_test): New procedure.
9389 (gdb_trace_collection_test): Call it.
9390
9391 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9392
9393 PR python/12149
9394
9395 * gdb.python/python.exp: Add gdb.write tests.
9396
9397 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9398
9399 * gdb.python/Makefile.in: Add py-objfile.
9400 * gdb.python/py-objfile.exp: New file.
9401 * gdb.python/py-objfile.c: New file.
9402 * gdb.python/py-block.exp: Add is_valid tests.
9403 * gdb.python/py-inferior.exp: Ditto.
9404 * gdb.python/py-infthread.exp: Ditto.
9405 * gdb.python/py-symbol.exp: Ditto.
9406 * gdb.python/py-symtab.exp: Ditto.
9407
9408 2011-03-16 Keith Seitz <keiths@redhat.com>
9409
9410 PR c++/12273
9411 * gdb.cp/cmpd-minsyms.exp: New test.
9412 * gdb.cp/cmpd-minsyms.cc: New file.
9413
9414 PR c++/11734
9415 * gdb.cp/ovsrch.exp: New test.
9416 * gdb.cp/ovsrch.h: New file.
9417 * gdb.cp/ovsrch1.cc: New file.
9418 * gdb.cp/ovsrch2.cc: New file.
9419 * gdb.cp/ovsrch3.cc: New file.
9420 * gdb.cp/ovsrch4.cc: New file.
9421
9422 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9423
9424 PR gdb/12528
9425 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9426 * gdb.base/break-on-linker-gcd-function.exp: New test.
9427 * gdb.base/break-on-linker-gcd-function.cc: New file.
9428
9429 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
9430
9431 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9432
9433 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9434
9435 * lib/gdb.exp (gdb_unload): Add another termination case.
9436
9437 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9438
9439 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9440 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9441 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9442 Provide a stub byte there.
9443 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9444 DW_AT_entry_pc.
9445 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9446
9447 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9448
9449 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9450 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9451 "generic ABI, auto".
9452 (altivec_abi_tests): Accept vectors returned by reference.
9453
9454 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9455
9456 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9457
9458 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9459
9460 * gdb.python/py-section-script.exp: Skip test if no Python support.
9461
9462 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9463
9464 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9465
9466 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9467
9468 * gdb.python/py-parameter.exp: Update tests to the new Python
9469 parameter API. Add "no documentation" test. Add deprecated API
9470 backward compatibility test.
9471
9472 2011-03-09 Tom Tromey <tromey@redhat.com>
9473
9474 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9475 gdb_continue_to_end.
9476
9477 2011-03-09 Mark Kettenis <kettenis@gnu.org>
9478
9479 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9480 tabs.
9481
9482 2011-03-09 Tom Tromey <tromey@redhat.com>
9483
9484 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9485 parentheses.
9486 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9487 $command.
9488 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9489 argument to gdb_continue_to_end.
9490 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9491 argument to gdb_continue_to_end.
9492 * gdb.cp/annota3.exp: Fix regex.
9493 * gdb.cp/annota2.exp: Fix regex.
9494 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9495 gdb_continue_to_end.
9496 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9497 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9498 gdb_continue_to_end.
9499
9500 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9501
9502 * gdb.server/ext-run.exp
9503 (load new file without any gdbserver inferior): New test.
9504
9505 2011-03-07 Tom Tromey <tromey@redhat.com>
9506
9507 * Makefile.in (TAGS): Rewrite.
9508
9509 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9510
9511 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9512 initial commands echo. New match for `Found trace'. Anchor all the
9513 other matches. Anchor and match for `No trace frame found' the final
9514 match.
9515
9516 2011-03-07 Tom Tromey <tromey@redhat.com>
9517
9518 * Makefile.in (TAGS): New target.
9519
9520 2011-03-07 Tom Tromey <tromey@redhat.com>
9521
9522 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9523 change.
9524 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9525 change.
9526 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9527 exit message change.
9528 (skip_altivec_tests): Update for exit message change.
9529 (skip_vsx_tests): Likewise.
9530 (gdb_continue_to_end): Likewise. Add 'command' argument.
9531 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9532 * gdb.threads/tls.exp: Update for exit message change.
9533 * gdb.threads/thread-unwindonsignal.exp: Use
9534 gdb_continue_to_end.
9535 * gdb.threads/step.exp (step_it): Update for exit message change.
9536 (continue_all): Likewise.
9537 * gdb.threads/print-threads.exp (test_all_threads): Update for
9538 exit message change.
9539 * gdb.threads/interrupted-hand-call.exp: Use
9540 gdb_continue_to_end.
9541 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9542 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9543 gdb_continue_to_end.
9544 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9545 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9546 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9547 * gdb.cp/method.exp: Update for exit message change.
9548 * gdb.cp/mb-templates.exp: Update for exit message change.
9549 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9550 * gdb.cp/annota3.exp: Update for exit message change.
9551 * gdb.cp/annota2.exp: Update for exit message change.
9552 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9553 * gdb.base/term.exp: Update for exit message change.
9554 * gdb.base/step-test.exp (test_i): Update for exit message change.
9555 * gdb.base/sigstep.exp (advance): Update for exit message change.
9556 (advancei): Likewise.
9557 * gdb.base/siginfo.exp: Update for exit message change.
9558 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9559 * gdb.base/reread.exp: Use gdb_continue_to_end.
9560 * gdb.base/langs.exp: Use gdb_continue_to_end.
9561 * gdb.base/interrupt.exp: Update for exit message change.
9562 * gdb.base/gdb1555.exp: Update for exit message change.
9563 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9564 * gdb.base/ending-run.exp: Update for exit message change.
9565 * gdb.base/chng-syms.exp: Update for exit message change.
9566 * gdb.base/checkpoint.exp: Update for exit message change.
9567 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9568 gdb_continue_to_end.
9569 (test_catch_syscall_with_wrong_args): Likewise.
9570 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9571 * gdb.base/break-interp.exp (test_ld): Update for exit message
9572 change.
9573 * gdb.base/bang.exp: Update for exit message change.
9574 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9575 (do_call_attach_tests): Likewise.
9576 * gdb.base/a2-run.exp: Update for exit message change.
9577 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9578 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9579 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9580
9581 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9582
9583 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9584
9585 2011-03-03 Tom Tromey <tromey@redhat.com>
9586
9587 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9588 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9589 * gdb.hp/gdb.aCC/configure.ac: Remove.
9590 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9591 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9592 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9593 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9594 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9595 * gdb.hp/gdb.compat/configure.ac: Remove.
9596 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9597 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9598 * gdb.hp/gdb.defects/configure.ac: Remove.
9599 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9600 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9601 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9602 * gdb.hp/configure.ac: Remove.
9603 * gdb.hp/configure: Remove.
9604 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9605 substitution.
9606 (Makefile): Remove rule.
9607 * gdb.cell/configure.ac: Remove.
9608 * gdb.cell/configure: Remove.
9609 * gdb.stabs/Makefile.in (Makefile): Remove.
9610 (distclean): Don't remove config.status or config.log.
9611 * gdb.stabs/configure (Makefile): Remove.
9612 * gdb.stabs/configure.ac: Remove.
9613 * configure: Rebuild.
9614 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9615 Remove stabs- and cell-specific logic. Test for existence of
9616 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9617 subdirectories, gdb.cell, and and gdb.stabs.
9618 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9619
9620 2011-03-03 Joel Brobecker <brobecker@adacore.com>
9621
9622 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9623 end of buffer.
9624
9625 2011-03-02 Joel Brobecker <brobecker@adacore.com>
9626
9627 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9628 gdb_test when running a test where we expected no output back.
9629
9630 2011-02-28 Michael Snyder <msnyder@vmware.com>
9631
9632 * gdb.cp/overload.cc: Change initializer value to integer.
9633
9634 2011-02-27 Michael Snyder <msnyder@vmware.com>
9635
9636 * gdb.multi/base.exp: Add test for remove-inferiors.
9637
9638 2011-02-26 Joel Brobecker <brobecker@adacore.com>
9639
9640 * gdb.python/py-frame.exp: Simplify the initialization phase
9641 using prepare_for_testing.
9642
9643 2011-02-25 Michael Snyder <msnyder@vmware.com>
9644
9645 * gdb.multi/base.exp: Add tests for info inferiors with args.
9646
9647 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9648
9649 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9650 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9651 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9652 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9653 asmfile3. Comment the STABS (#3) file compilation. Compile
9654 everything through assembler. Provide KFAIL for symtab/12497.
9655 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9656 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9657 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9658 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9659
9660 2011-02-24 Michael Snyder <msnyder@vmware.com>
9661
9662 * gdb.base/break.exp: Add tests for delete breakpoints using
9663 convenience variables and value history references.
9664
9665 2011-02-24 Michael Snyder <msnyder@vmware.com>
9666
9667 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9668 left behind in previous check-in.
9669
9670 2011-02-23 Michael Snyder <msnyder@vmware.com>
9671
9672 * gdb.base/break.exp: Add tests for "info break" with arguments.
9673 * gdb.trace/infotrace.exp: Update patterns for error and help.
9674 * gdb.base/completion.exp: Update pattern.
9675 * gdb.base/ena-dis-br.exp: Update pattern.
9676 * gdb.base/help.exp: Update patterns.
9677
9678 2011-02-23 Michael Snyder <msnyder@vmware.com>
9679
9680 * gdb.base/memattr.exp: New test.
9681 * gdb.base/memattr.c: Test load for memattr.exp.
9682
9683 2011-02-22 Doug Evans <dje@google.com>
9684
9685 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9686
9687 2011-02-22 Michael Snyder <msnyder@vmware.com>
9688
9689 * Makefile.in: Make more clean.
9690 * gdb.ada/Makefile.in: Ditto.
9691 * gdb.arch/Makefile.in: Ditto.
9692 * gdb.asm/Makefile.in: Ditto.
9693 * gdb.base/Makefile.in: Ditto.
9694 * gdb.cp/Makefile.in: Ditto.
9695 * gdb.dwarf2/Makefile.in: Ditto.
9696 * gdb.java/Makefile.in: Ditto.
9697 * gdb.mi/Makefile.in: Ditto.
9698 * gdb.modula2/Makefile.in: Ditto.
9699 * gdb.python/Makefile.in: Ditto.
9700 * gdb.server/Makefile.in: Ditto.
9701 * gdb.stabs/Makefile.in: Ditto.
9702 * gdb.threads/Makefile.in: Ditto.
9703 * gdb.trace/Makefile.in: Ditto.
9704
9705 2011-02-22 Michael Snyder <msnyder@vmware.com>
9706
9707 * gdb.threads/thread-find.exp: Add tests for bad input to
9708 info threads.
9709
9710 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9711
9712 * gdb.python/py-breakpoint.exp: Fix the expected output of
9713 one of the "maint info breakpoints" tests to accept the output
9714 generated on platforms that do not have hardware watchpoints.
9715
9716 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9717
9718 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9719 clean_restart. Be a little stricter in the expected output
9720 for one of the tests. Fix a typo in one of the comments.
9721
9722 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9723
9724 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9725 Delete variable binfile, no longer use. Add or modify test
9726 comments to make them unique.
9727
9728 2011-02-21 Michael Snyder <msnyder@vmware.com>
9729
9730 * Makefile.in: Update for make clean.
9731 * gdb.ada/Makefile.in: Ditto.
9732 * gdb.arch/Makefile.in: Ditto.
9733 * gdb.asm/Makefile.in: Ditto.
9734 * gdb.base/Makefile.in: Ditto.
9735 * gdb.cp/Makefile.in: Ditto.
9736 * gdb.dwarf2/Makefile.in: Ditto.
9737 * gdb.java/Makefile.in: Ditto.
9738 * gdb.mi/Makefile.in: Ditto.
9739 * gdb.modula2/Makefile.in: Ditto.
9740 * gdb.python/Makefile.in: Ditto.
9741 * gdb.server/Makefile.in: Ditto.
9742 * gdb.stabs/Makefile.in: Ditto.
9743 * gdb.threads/Makefile.in: Ditto.
9744 * gdb.trace/Makefile.in: Ditto.
9745
9746 2011-02-21 Michael Snyder <msnyder@vmware.com>
9747
9748 * gdb.threads/thread-find.exp: Update patterns for changes in
9749 output of "info threads" command.
9750
9751 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9752 Ulrich Weigand <uweigand@de.ibm.com>
9753
9754 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9755 (skip_hw_watchpoint_tests): Likewise.
9756 (skip_hw_watchpoint_multi_tests): Likewise.
9757
9758 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9759
9760 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9761 (skip_hw_watchpoint_tests): Likewise.
9762 (skip_hw_watchpoint_multi_tests): Likewise.
9763 (skip_hw_watchpoint_access_tests): Likewise.
9764
9765 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9766 * gdb.base/pr11022.exp: Likewise.
9767 * gdb.base/watch-read.exp: Likewise.
9768 * gdb.base/watch_thread_num.exp: Likewise.
9769 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9770 * gdb.base/watchpoint-hw.exp: Likewise.
9771 * gdb.base/watchpoint.exp: Likewise.
9772 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9773 * gdb.threads/watchthreads-reorder.exp: Likewise.
9774 * gdb.threads/watchthreads.exp: Likewise.
9775 * gdb.threads/watchthreads2.exp: Likewise.
9776
9777 2011-02-21 Joel Brobecker <brobecker@adacore.com>
9778
9779 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9780 the debugger is unable to find the array bounds.
9781
9782 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9783
9784 * gdb.cp/typedef-operator.exp: New file.
9785 * gdb.cp/typedef-operator.cc: New file.
9786
9787 2011-02-17 Michael Snyder <msnyder@vmware.com>
9788
9789 * gdb.threads/thread-find.exp: Fix regular expressions.
9790
9791 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9792
9793 * gdb.ada/packed_array: Expand testcase to test printing of
9794 unconstrained packed array.
9795
9796 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9797
9798 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9799
9800 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9801
9802 * gdb.trace/collection.c (globalarr3): New global.
9803 (main): Initialize it before collecting, and and clear it
9804 afterwards.
9805 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9806 collecting with '{type} addr', where the addr expression is not an
9807 rvalue.
9808
9809 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9810
9811 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9812 a bool variable. Expect correct OpenCL names for vector types. Use the
9813 uc3 variable name instead of referring to the uchar3 built-in type.
9814 Escape the asterisk at the half pointer test.
9815
9816 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9817
9818 * gdb.trace/collection.c (globalarr2): New global.
9819 (main): Initialize it before collecting, and and clear it
9820 afterwards.
9821 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9822 collecting overlapping memory ranges.
9823
9824 2011-02-15 Michael Snyder <msnyder@vmware.com>
9825
9826 * gdb.base/default.exp: Add tests for thread commands.
9827 * gdb.base/help.exp: Add tests for thread commands.
9828 * gdb.threads/thread-find.exp: New test for thread find command.
9829
9830 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9831
9832 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9833
9834 2011-02-15 Yao Qi <yao@codesourcery.com>
9835
9836 PR tdep/12352
9837 * gdb.arch/arm-disp-step.S : New test for str instruction.
9838 * gdb.arch/arm-disp-step.exp : Likewise.
9839
9840 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9841
9842 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9843 "vector_register2_vr" test strings. Test the extended floating
9844 point registers (F32~F63).
9845 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9846 IBM XL C compiler. Make the test program use a register provided
9847 by the compiler for the lxvd2x instruction.
9848
9849 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9850
9851 * gdb.trace/unavailable.cc (class Base, class Middle, class
9852 Derived): New types.
9853 (derived_unavail, derived_partial, derived_whole): New globals.
9854 (virtual_partial): New global.
9855 (virtualp): Point at virtual_partial.
9856 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9857 related to unavailable vptr.
9858
9859 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9860
9861 * gdb.trace/unavailable.cc (a, b, c): New globals.
9862 (main): Set and clear them.
9863 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9864 `a' and `c', and check that `b' isn't collected, although `a' and
9865 `c' are.
9866
9867 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9868
9869 * gdb.trace/unavailable.cc (struct Virtual): New.
9870 (virtualp): New global pointer.
9871 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9872 printing a pointer to an object whose type has a vtable, with
9873 print object on.
9874
9875 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9876
9877 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9878 value repeat handles unavailableness.
9879
9880 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9881
9882 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9883 tests for building arrays from unavailable values, subscripting
9884 non-memory rvalue unvailable arrays, and accessing fields or
9885 baseclasses of non-lazy unavailable values,
9886 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9887 struct types.
9888 (g_smallstruct, g_smallstruct_b): New globals.
9889
9890 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9891
9892 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9893
9894 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9895
9896 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9897 * gdb.cp/overload-const.exp: New file.
9898 * gdb.cp/overload-const.cc: New file.
9899
9900 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9901
9902 * gdb.opencl/callfuncs.cl: New file.
9903 * gdb.opencl/callfuncs.exp: New test.
9904 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9905
9906 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9907
9908 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9909 when computing result.
9910 * gdb.arch/altivec-abi.exp: Update expected results.
9911
9912 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9913
9914 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9915 * gdb.base/jit.exp: Likewise.
9916 * gdb.base/pie-execl.exp: Likewise.
9917 * gdb.base/solib-nodir.exp: Likewise.
9918 * gdb.base/solib-overlap.exp: Likewise.
9919
9920 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9921
9922 * gdb.trace/collection.c (global_pieces): New.
9923 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9924 New procedure.
9925 (gdb_trace_collection_test): Call it.
9926
9927 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9928
9929 * gdb.python/py-evthreads.c: New file.
9930 * gdb.python/py-evthreads.exp: New file.
9931 * gdb.python/py-events.py: New file.
9932 * gdb.python/py-events.exp: New file.
9933 * gdb.python/py-events.c: New file.
9934
9935 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9936
9937 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9938
9939 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9940
9941 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9942 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9943 boundary between two compilation units.
9944
9945 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9946
9947 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9948 (Virtual): New structs.
9949 (virtual_o, virtual_middle_b): New globals.
9950 * gdb.cp/virtbase.exp: New tests.
9951
9952 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9953
9954 * gdb.base/jit.exp: New file.
9955 * gdb.base/jit-main.c: New file.
9956 * gdb.base/jit-solib.c: New file.
9957
9958 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9959
9960 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9961 proceed to initial kernel entry point.
9962 * gdb.opencl/datatypes.exp: Likewise.
9963 * gdb.opencl/operators.exp: Likewise.
9964 * gdb.opencl/vec_comps.exp: Likewise.
9965
9966 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9967
9968 * gdb.cp/nsnested.cc: New.
9969 * gdb.cp/nsnested.exp: New.
9970 * gdb.cp/nsnoimports.exp: New.
9971 * gdb.cp/nsnoimports.cc: New.
9972
9973 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9974
9975 * gdb.base/interact.exp: Add extra tests that verify that
9976 the value of the interactive-mode setting does not change
9977 after the script is sourced.
9978
9979 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9980
9981 * gdb.cp/noparam.exp: New file.
9982 * gdb.cp/noparam.cc: New file.
9983
9984 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9985
9986 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9987 there's no stack or registers.
9988
9989 2011-01-26 Tom Tromey <tromey@redhat.com>
9990
9991 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9992 space before string output. Add test for "set print pretty off"
9993 case.
9994
9995 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9996
9997 * gdb.base/frame-args.exp: Adjust.
9998 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9999 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
10000 * gdb.dwarf2/pieces.exp: Adjust.
10001 * gdb.opt/clobbered-registers-O2.exp: Adjust.
10002 * gdb.opt/inline-locals.exp: Adjust.
10003 * gdb.threads/fork-child-threads.exp: Adjust.
10004
10005 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
10006
10007 * gdb.opencl/convs_casts.cl: Move program scope variables into the
10008 OpenCL kernel function. Add a comment as marker. Add address space
10009 qualifiers for the remaining program scope variables.
10010 * gdb.opencl/datatypes.cl: Likewise.
10011 * gdb.opencl/operators.cl: Likewise.
10012 * gdb.opencl/vec_comps.cl: Likewise.
10013 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
10014 Add breakpoint at the marker comment.
10015 * gdb.opencl/datatypes.exp: Likewise.
10016 * gdb.opencl/operators.exp: Likewise.
10017 * gdb.opencl/vec_comps.exp: Likewise.
10018
10019 2011-01-24 Pedro Alves <pedro@codesourcery.com>
10020
10021 * gdb.base/printcmds.c (some_struct): New struct and instance.
10022 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
10023 procedure.
10024 <global scope>: Call it.
10025
10026 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
10027
10028 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
10029 argument to the gdb_compile_opencl_hostapp call.
10030
10031 2011-01-19 Yao Qi <yao@codesourcery.com>
10032
10033 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
10034 positve list.
10035
10036 2011-01-19 Yao Qi <yao@codesourcery.com>
10037
10038 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
10039 canonical form.
10040 Remove "xscale-*-*"
10041 * gdb.xml/tdesc-regs.exp: Likewise.
10042 * gdb.python/py-section-script.exp: Replace ARM target triplet
10043 with canonical form.
10044 Match arm*-*-symbianelf*.
10045 * gdb.base/dup-sect.exp: Likewise.
10046 * lib/dwarf.exp: New.
10047 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
10048 dwarf2_support.
10049 * gdb.dwarf2/dup-psym.exp: Likewise.
10050 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
10051 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10052 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
10053 * gdb.dwarf2/dw2-basic.exp: Likewise.
10054 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10055 * gdb.dwarf2/dw2-const.exp: Likewise.
10056 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
10057 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
10058 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10059 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
10060 * gdb.dwarf2/dw2-filename.exp: Likewise.
10061 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10062 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
10063 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10064 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10065 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
10066 * gdb.dwarf2/dw2-noloc.exp: Likewise.
10067 * gdb.dwarf2/dw2-op-call.exp: Likewise.
10068 * gdb.dwarf2/dw2-producer.exp: Likewise.
10069 * gdb.dwarf2/dw2-ranges.exp: Likewise.
10070 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
10071 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
10072 * gdb.dwarf2/dw2-strp.exp: Likewise.
10073 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
10074 * gdb.dwarf2/implptr.exp: Likewise.
10075 * gdb.dwarf2/mac-fileno.exp: Likewise.
10076 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
10077 * gdb.dwarf2/pieces.exp: Likewise.
10078 * gdb.dwarf2/pr11465.exp: Likewise.
10079 * gdb.dwarf2/valop.exp: Likewise.
10080 * gdb.dwarf2/watch-notconst.exp: Likewise.
10081 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
10082
10083 2011-01-19 Tom Tromey <tromey@redhat.com>
10084
10085 * gdb.python/py-infthread.exp: Add thread tests.
10086
10087 2011-01-14 Joel Brobecker <brobecker@adacore.com>
10088
10089 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
10090
10091 2011-01-14 Joel Brobecker <brobecker@adacore.com>
10092
10093 * gdb.ada/widewide: New testcase.
10094
10095 2011-01-13 Joel Brobecker <brobecker@adacore.com>
10096
10097 * gdb.base/interact.exp: New testcase.
10098
10099 2011-01-12 Tom Tromey <tromey@redhat.com>
10100
10101 * gdb.mi/gdb2549.exp: Update for error message changes.
10102 * gdb.mi/mi-cli.exp: Likewise.
10103 * gdb.mi/mi-disassemble.exp: Likewise.
10104 * gdb.mi/mi-pthreads.exp: Likewise.
10105 * gdb.mi/mi-regs.exp: Likewise.
10106 * gdb.mi/mi-stack.exp: Likewise.
10107 * gdb.mi/mi-var-block.exp: Likewise.
10108 * gdb.mi/mi-var-cmd.exp: Likewise.
10109 * gdb.mi/mi2-cli.exp: Likewise.
10110 * gdb.mi/mi2-disassemble.exp: Likewise.
10111 * gdb.mi/mi2-pthreads.exp: Likewise.
10112 * gdb.mi/mi2-regs.exp: Likewise.
10113 * gdb.mi/mi2-stack.exp: Likewise.
10114 * gdb.mi/mi2-var-block.exp: Likewise.
10115 * gdb.mi/mi2-var-cmd.exp: Likewise.
10116
10117 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
10118 Jan Kratochvil <jan.kratochvil@redhat.com>
10119
10120 PR fortran/11104 and DWARF unbound arrays detection.
10121 * gdb.fortran/multi-dim.exp: New file.
10122 * gdb.fortran/multi-dim.f90: New file.
10123
10124 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
10125
10126 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
10127 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
10128 add new tests for opcode dumping.
10129
10130 2011-01-11 Tom Tromey <tromey@redhat.com>
10131
10132 * gdb.python/py-infthread.exp: Load gdb-python.exp.
10133
10134 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
10135
10136 Convert hardware watchpoints to use breakpoint_ops.
10137 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
10138 type is not supported.
10139 * gdb.base/foll-fork.exp: Likewise.
10140 * gdb.base/foll-vfork.exp: Likewise.
10141
10142 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
10143
10144 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
10145 Use load_lib gdb-python.exp.
10146 * gdb.python/python.exp: Ditto.
10147 * gdb.python/py-function.exp: Ditto.
10148
10149 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
10150
10151 * gdb.threads/tls.exp ("info address me"): Fix expected output.
10152
10153 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10154
10155 * configure: Regenerate.
10156
10157 2011-01-06 Tom Tromey <tromey@redhat.com>
10158
10159 * gdb.python/py-frame.exp: Test gdb.newest_frame.
10160
10161 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10162
10163 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
10164 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
10165 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10166 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
10167 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
10168 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10169 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
10170 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
10171 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
10172 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
10173 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
10174 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
10175 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
10176 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10177 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10178 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
10179 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
10180 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
10181 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10182 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
10183 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
10184 gdb.ada/uninitialized_vars.exp,
10185 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
10186 Simplify by using clean_restart.
10187
10188 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10189
10190 Add marker to be used as anchor for inserting breakpoints.
10191 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
10192 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
10193 Likewise.
10194
10195 Remove uses of gdb_start_cmd.
10196 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
10197 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
10198
10199 Do not run testcase if testing with GDBserver.
10200 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
10201 if testing with GDBserver.
10202
10203 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10204
10205 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
10206 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
10207 copyright header.
10208
10209 2011-01-05 Joel Brobecker <brobecker@adacore.com>
10210
10211 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
10212 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
10213 testsuite/gdb.fortran/complex.f,
10214 testsuite/gdb.fortran/derived-type.f90,
10215 testsuite/gdb.fortran/library-module-lib.f90,
10216 testsuite/gdb.fortran/library-module-main.f90,
10217 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
10218 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
10219 Copyright year update.
10220
10221 2011-01-05 Joel Brobecker <brobecker@adacore.com>
10222
10223 * gdb.base/langs1.f: Add copyright header.
10224
10225 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10226
10227 * gdb.base/morestack.exp: New file.
10228 * gdb.base/morestack.c: New file.
10229
10230 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10231
10232 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
10233
10234 2010-12-29 Joel Brobecker <brobecker@adacore.com>
10235
10236 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
10237 * gdb.ada/arrayptr.exp: Add test printing that new variable.
10238
10239 2010-12-29 Joel Brobecker <brobecker@adacore.com>
10240
10241 * gdb.ada/lang_switch.exp: Correct expected parameter value.
10242
10243 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
10244
10245 * gdb.threads/tls.exp: Fix typo.
10246
10247 * gdb.threads/thread-specific.exp (get_thread_list): Update.
10248 * gdb.threads/execl.exp: Update.
10249
10250 2010-12-23 Yao Qi <yao@codesourcery.com>
10251
10252 * gdb.arch/arm-disp-step.exp: New.
10253 * gdb.arch/arm-disp-step.S: New.
10254
10255 2010-12-21 Tom Tromey <tromey@redhat.com>
10256
10257 * gdb.threads/execl.exp: Update.
10258 * gdb.threads/linux-dp.exp: Update.
10259 * gdb.threads/manythreads.exp: Update.
10260 * gdb.threads/tls.exp: Update.
10261
10262 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10263
10264 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
10265 (NextOverThrowDerivates) <resumebpt>: New.
10266 (resumebpt_test): New.
10267 (main): Call resumebpt_test.
10268 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
10269
10270 2010-12-12 Stan Shebs <stan@codesourcery.com>
10271
10272 * gdb.trace/tsv.exp: Test print command on trace state variables.
10273
10274 2010-12-09 Tom Tromey <tromey@redhat.com>
10275
10276 * gdb.base/interp.exp: Add regression test.
10277
10278 2010-12-09 Tom Tromey <tromey@redhat.com>
10279
10280 * gdb.java/jnpe.java: New file.
10281 * gdb.java/jnpe.exp: New file.
10282 * gdb.cp/nextoverthrow.exp: New file.
10283 * gdb.cp/nextoverthrow.cc: New file.
10284
10285 2010-12-07 Doug Evans <dje@google.com>
10286
10287 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
10288 of data-directory.
10289 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
10290 updated.
10291 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
10292
10293 2010-11-29 Michael Snyder <msnyder@vmware.com>
10294
10295 * gdb.base/callfuncs.exp: Test for skip_float_tests.
10296 * gdb.base/call-sc.exp: Ditto.
10297 * gdb.base/finish.exp: Ditto.
10298 * gdb.base/return.exp: Ditto.
10299 * gdb.base/return2.exp: Ditto.
10300
10301 2010-11-30 Doug Evans <dje@google.com>
10302
10303 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
10304 (gdb_expect_list): Fix spelling errors in comments.
10305 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
10306 send_gdb/gdb_expect_list where applicable.
10307 * gdb.base/call-ar-st.exp: Ditto.
10308 * gdb.base/funcargs.exp: Ditto.
10309 * gdb.base/gcore.exp: Ditto.
10310 * gdb.base/page.exp: Ditto.
10311 * gdb.base/sigaltstack.exp: Ditto.
10312 * gdb.base/siginfo.exp: Ditto.
10313 * gdb.base/sigstep.exp: Ditto.
10314 * gdb.base/trace-commands.exp: Ditto.
10315
10316 2010-11-29 Doug Evans <dje@google.com>
10317
10318 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10319 printer-name;subprinter-name.
10320
10321 2010-11-29 Tom Tromey <tromey@redhat.com>
10322
10323 * gdb.dwarf2/implptr.exp: New file.
10324 * gdb.dwarf2/implptr.c: New file.
10325 * gdb.dwarf2/implptr.S: New file.
10326
10327 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10328
10329 PR python/12199
10330
10331 * gdb.python/py-breakpoint.exp: Test the delete method.
10332
10333 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10334
10335 Fix step_resume_breakpoint unsaved during an infcall.
10336 * gdb.base/step-resume-infcall.exp: New file.
10337 * gdb.base/step-resume-infcall.c: New file.
10338
10339 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10340
10341 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10342
10343 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10344
10345 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10346 on ppc64's symbols; "finish" and "return" commands must accept to
10347 show the caller line again as well as the line after.
10348 * gdb.asm/powerpc64.inc: New file.
10349
10350 2010-11-23 Doug Evans <dje@google.com>
10351
10352 * lib/gdb.exp (gdb_test_sequence): New function.
10353 (gdb_expect_list): Add verbose -log call for each pattern.
10354 * gdb.base/signals.exp (test_handle_all_print): Call it.
10355 Reduce timeout increment from 6 minutes to 1 minute.
10356 * gdb.server/ext-run.exp: Call it.
10357
10358 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10359
10360 PR python/12212
10361
10362 * gdb.python/python.exp: Check that selected_thread raises an
10363 error when no inferior is loaded.
10364
10365 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10366
10367 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10368 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10369
10370 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10371
10372 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10373 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10374
10375 2010-11-18 Doug Evans <dje@google.com>
10376
10377 * gdb.server/ext-run.exp: Fix intermittent failures.
10378
10379 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10380
10381 * gdb.stabs/gdb11479.exp: Use runto_main.
10382
10383 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10384
10385 * gdb.base/break-entry.exp: Skip if using a stub.
10386
10387 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10388
10389 * gdb.python/py-inferior.exp: Pack values in target endianness.
10390
10391 2010-11-12 Tom Tromey <tromey@redhat.com>
10392
10393 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10394 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10395 MemoryError.
10396 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10397 type.
10398 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10399 MemoryError.
10400 (test_subscript_regression): Update exception type.
10401
10402 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10403
10404 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10405 breakpoint tests.
10406
10407 2010-11-09 Pedro Alves <pedro@codesourcery.com>
10408
10409 * gdb.base/watchpoint.exp: Test "watch -location" with an
10410 innacessible location.
10411
10412 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
10413 Luis Machado <luisgpm@br.ibm.com>
10414
10415 * gdb.base/maint.exp: Expect "." prefix.
10416 * gdb.base/nodebug.exp: Expect "." Likewise.
10417 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10418 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10419 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10420 POWER server processors.
10421
10422 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
10423 Luis Machado <luisgpm@br.ibm.com>
10424
10425 * gdb.base/break-entry.exp: convert entry point for
10426 ppc64 and expect leading `.' on ppc64's symbols
10427
10428 2010-11-05 Doug Evans <dje@google.com>
10429
10430 * gdb.base/help.exp: Update expected output.
10431 * gdb.python/py-param.exp: Delete, contents moved to ...
10432 * gdb.python/py-parameter.exp: ... here. New file.
10433 Add test for gdb.parameter ("directories").
10434
10435 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
10436
10437 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10438 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10439 * configure: Regenerate.
10440 * gdb.opencl/Makefile.in: New File.
10441 * gdb.opencl/datatypes.exp: Likewise.
10442 * gdb.opencl/datatypes.cl: Likewise.
10443 * gdb.opencl/operators.exp: Likewise.
10444 * gdb.opencl/operators.cl: Likewise.
10445 * gdb.opencl/vec_comps.exp: Likewise.
10446 * gdb.opencl/vec_comps.cl: Likewise.
10447 * gdb.opencl/convs_casts.exp: Likewise.
10448 * gdb.opencl/convs_casts.cl: Likewise.
10449 * lib/opencl.exp: Likewise.
10450 * lib/opencl_hostapp.c: Likewise.
10451 * lib/opencl_kernel.cl: Likewise.
10452 * lib/cl_util.c: Likewise.
10453 * lib/cl_util.c: Likewise.
10454 * gdb.base/default.exp (set language): Add "opencl" to the list of
10455 languages.
10456
10457 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10458
10459 * gdb.cp/overload.exp: Added test for inheritance overload.
10460 * gdb.cp/overload.cc: Ditto.
10461 * gdb.cp/oranking.exp: Removed releveant kfails.
10462
10463 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10464 Joel Brobecker <brobecker@adacore.com>
10465
10466 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10467 check test_compiler_info.
10468
10469 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10470
10471 * gdb.base/gnu_vector.exp: Adjust expect messages.
10472
10473 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10474
10475 * gdb.base/gnu_vector.exp: Add unary operator tests.
10476
10477 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10478
10479 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10480
10481 2010-11-02 Doug Evans <dje@google.com>
10482
10483 * gdb.python/py-pp-maint.c: New file.
10484 * gdb.python/py-pp-maint.exp: New file.
10485 * gdb.python/py-pp-maint.py: New file.
10486
10487 2010-11-02 Tom Tromey <tromey@redhat.com>
10488
10489 * gdb.base/default.exp: Remove "scheme" from language list.
10490
10491 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10492
10493 Revert:
10494 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10495 * gdb.threads/sigstep-threads.exp: New file.
10496 * gdb.threads/sigstep-threads.c: New file.
10497
10498 2010-10-20 Michael Snyder <msnyder@vmware.com>
10499
10500 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10501
10502 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10503
10504 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10505 Skip test completely if gdb,no_hardware_watchpoints.
10506
10507 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10508
10509 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10510 strict, but do not check for any particular function name within libc.
10511
10512 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10513
10514 * gdb.cp/smartp.exp: New test.
10515 * gdb.cp/smartp.cc : New test.
10516
10517 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10518
10519 * gdb.cp/converts.exp: Test pointer to bool conversion.
10520 Test pointer to long conversion.
10521 * gdb.cp/oranking.exp: Removed relevant kfail.
10522
10523 2010-10-18 Tom Tromey <tromey@redhat.com>
10524
10525 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10526 argument to lazy_string.
10527 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10528 (pp_ls.to_string): Use it.
10529 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10530 Add "estring2" local.
10531
10532 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10533
10534 Fix s390x compatibility.
10535 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10536 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10537
10538 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10539
10540 * gdb.threads/sigstep-threads.exp: New file.
10541 * gdb.threads/sigstep-threads.c: New file.
10542
10543 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10544
10545 * gdb.base/pie-execl.exp: New file.
10546 * gdb.base/pie-execl.c: New file.
10547
10548 2010-10-13 Doug Evans <dje@google.com>
10549 Jan Kratochvil <jan.kratochvil@redhat.com>
10550
10551 PR exp/12117
10552 * gdb.cp/ptype-cv-cp.cc: New file.
10553 * gdb.cp/ptype-cv-cp.exp: New file.
10554
10555 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10556
10557 * gdb.cp/converts.cc: New test program.
10558 * gdb.cp/converts.exp: New test.
10559 * gdb.cp/overload.exp: Added test for void* vs int*.
10560 * gdb.cp/overload.exp: Ditto.
10561 * gdb.cp/oranking.exp: Removed related kfail.
10562
10563 2010-10-13 Doug Evans <dje@google.com>
10564
10565 * lib/gdb-python.exp (gdb_check_python_config): New function.
10566 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10567 * gdb.python/lib-types.cc: New file.
10568 * gdb.python/lib-types.exp: New file.
10569
10570 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10571
10572 * gdb.python/py-error.exp: New file.
10573 * gdb.python/py-error.py: New file.
10574
10575 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10576
10577 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10578 gdb_test_multiple.
10579
10580 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10581
10582 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10583 * gdb.base/prelink.exp: Likewise.
10584 * gdb.base/solib-nodir.exp: Likewise.
10585 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10586 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10587 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10588
10589 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10590
10591 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10592 for the "info files" test to avoid timeouts on slow machines.
10593
10594 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10595
10596 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10597 (main): Make openlib dummy call.
10598
10599 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10600
10601 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10602 * break-interp.exp (reach): Move the core body ...
10603 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10604 (test_ld): Provide always real argument, even to the linker. Replace
10605 dl_main by _dl_debug_state.
10606
10607 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10608
10609 Fix results of prelinked PIEs on ppc*.
10610 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10611 Accept also DISPLACEMENT "PRESENT".
10612 (main): Replace "ZERO" displacements by "PRESENT".
10613
10614 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10615
10616 * gdb.cp/oranking.exp: New test.
10617 * gdb.cp/oranking.cc: New test program.
10618
10619 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
10620
10621 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10622 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10623
10624 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10625
10626 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10627 lush, lynx) New constant.
10628 * gdb.base/constvars.exp: Test const array types.
10629 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10630
10631 2010-10-06 Doug Evans <dje@google.com>
10632
10633 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10634 of syscall staging area.
10635
10636 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10637
10638 * gdb.base/gnu_vector.c: Add variable c4.
10639 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10640 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10641
10642 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10643
10644 * gdb.arch/altivec-abi.exp: Fix a typo.
10645
10646 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10647
10648 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10649 to match a thread ID.
10650
10651 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10652
10653 Fix s390x testcase compatibility.
10654 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10655
10656 2010-10-01 Doug Evans <dje@google.com>
10657
10658 * lib/gdb-python.exp: New file.
10659 * gdb.python/py-block.exp: Use it.
10660 * gdb.python/py-breakpoint.exp: Ditto.
10661 * gdb.python/py-frame.exp: Ditto.
10662 * gdb.python/py-inferior.exp: Ditto.
10663 * gdb.python/py-param.exp: Ditto.
10664 * gdb.python/py-prettyprint.exp: Ditto.
10665 * gdb.python/py-shared.exp: Ditto.
10666 * gdb.python/py-symbol.exp: Ditto.
10667 * gdb.python/py-symtab.exp: Ditto.
10668 * gdb.python/py-type.exp: Ditto.
10669 * gdb.python/py-value.exp: Ditto.
10670 * gdb.python/python.exp: Ditto.
10671
10672 2010-09-30 Tom Tromey <tromey@redhat.com>
10673
10674 * gdb.base/anon.exp: New file.
10675 * gdb.base/anon.c: New file.
10676
10677 2010-09-30 Tom Tromey <tromey@redhat.com>
10678
10679 * gdb.base/completion.exp: Test completion through anonymous
10680 union.
10681 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10682
10683 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10684
10685 Fix printing parameters of inlined functions.
10686 * gdb.dwarf2/dw2-inline-param.exp: New file.
10687 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10688 * gdb.dwarf2/dw2-inline-param.S: New file.
10689
10690 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10691
10692 PR corefiles/12071.
10693 * gdb.base/corefile.exp (quit with a process, no question: load core)
10694 (quit with a core file): New tests.
10695
10696 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10697
10698 Fix GDB crash on inferior calls with self-referencing classes.
10699 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10700 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10701 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10702
10703 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10704
10705 Fix lost siginfo_t for inferior calls.
10706 * gdb.base/siginfo-infcall.exp: New file.
10707 * gdb.base/siginfo-infcall.c: New file.
10708
10709 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10710
10711 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10712
10713 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10714
10715 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10716 New test.
10717 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10718
10719 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10720
10721 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10722 type of our const type.
10723
10724 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10725
10726 * gdb.cp/pr12028.cc: New.
10727 * gdb.cp/pr12028.exp: New.
10728
10729 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10730
10731 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10732
10733 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
10734 Jan Kratochvil <jan.kratochvil@redhat.com>
10735
10736 PR mi/11407
10737 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10738 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10739 * gdb.mi/dw2-ref-missing-frame.S New File.
10740 * gdb.mi/dw2-ref-missing-frame.exp New File.
10741
10742 2010-09-14 Tom Tromey <tromey@redhat.com>
10743
10744 PR symtab/8399:
10745 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10746
10747 2010-09-14 Tom Tromey <tromey@redhat.com>
10748
10749 PR exp/11803:
10750 * gdb.threads/tls.exp: Use C++.
10751 (check_thread_local): Use K::another_thread_local.
10752 * gdb.threads/tls.c (class K): New.
10753 (another_thread_local): Now a member of K.
10754 (spin): Update. No longer K&R C.
10755
10756 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10757
10758 * gdb.cp/koenig.cc: created class for testing member lookup.
10759 * gdb.cp/koenig.exp: Added test for member lookup.
10760
10761 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10762
10763 Fix false FAILs on sourcetree topdir directory containing "kill".
10764 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10765 source line matching regexp.
10766
10767 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10768
10769 * gdb.python/python.exp (set height 0, collect help from uiout)
10770 (verify help to uiout): New tests.
10771
10772 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10773
10774 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10775 is_lp64_target to check 64bit target.
10776
10777 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10778
10779 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10780 (test_ld) <powerpc64-*>: New.
10781
10782 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10783
10784 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10785
10786 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10787
10788 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10789 (FunctionArg::method): New function.
10790 (empty, arg): New variables.
10791 (main): Call arg.method.
10792 * gdb.cp/templates.exp (test_template_args): New function.
10793 (do_tests): Call it.
10794
10795 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10796
10797 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10798 of "next" to proceed over pthread_exit call.
10799
10800 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10801
10802 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10803 "maint print statistics" output to prevent expect timeouts.
10804
10805 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10806
10807 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10808 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10809 (test_float_rejected): ... here.
10810 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10811 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10812 (test_float_rejected): ... here.
10813 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10814 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10815 (test_float_rejected): ... here.
10816 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10817 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10818 (test_float_rejected): ... here.
10819
10820 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10821
10822 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10823 before disabling hardware watchpoints.
10824 (test_inaccessible_watchpoint): Check that hardware watchpoints
10825 are used. Test for watchpoints on a constant address.
10826
10827 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10828
10829 * gdb.base/ui-redirect.exp: New file.
10830
10831 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10832 Joel Brobecker <brobecker@adacore.com>
10833
10834 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10835
10836 2010-08-31 Doug Evans <dje@google.com>
10837
10838 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10839
10840 2010-08-30 Tom Tromey <tromey@redhat.com>
10841
10842 PR python/11792:
10843 * gdb.python/py-value.exp (test_subscript_regression): Add
10844 dynamic_type test.
10845
10846 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10847
10848 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10849 instead of running to main. Do not test the main function.
10850 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10851 Add new main.
10852
10853 2010-08-26 Pedro Alves <pedro@codesourcery.com>
10854
10855 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10856 one test.
10857
10858 2010-08-24 Doug Evans <dje@google.com>
10859
10860 PR symtab/11942
10861 * gdb.dwarf2/dw4-sig-types.cc: New file.
10862 * gdb.dwarf2/dw4-sig-types.h: New file.
10863 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10864 * gdb.dwarf2/dw4-sig-types.exp: New file.
10865
10866 2010-08-23 Tom Tromey <tromey@redhat.com>
10867
10868 PR python/11145:
10869 * gdb.python/py-value.c (Base, Derived): New types.
10870 (base): New global.
10871 * gdb.python/py-value.exp (test_subscript_regression): Add
10872 dynamic_cast test.
10873
10874 2010-08-23 Tom Tromey <tromey@redhat.com>
10875
10876 PR python/10676:
10877 * gdb.python/py-type.exp (test_fields): Add tests for type
10878 equality.
10879
10880 2010-08-23 Tom Tromey <tromey@redhat.com>
10881
10882 PR python/11915:
10883 * gdb.python/py-type.exp (test_fields): Add tests for array.
10884
10885 2010-08-23 Keith Seitz <keiths@redhat.com>
10886
10887 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10888 have any children. Create a new abbrev for it.
10889 Add missing terminal sequence to .debug_abbrev.
10890
10891 2010-08-20 Keith Seitz <keiths@redhat.com>
10892
10893 PR symtab/11465:
10894 * gdb.dwarf2/pr11465.exp: New test.
10895 * gdb.dwarf2/pr11465.S: New file.
10896 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10897 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10898
10899 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10900
10901 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10902 registers. Update data sets with the new v2_double element in the
10903 VSX register union. Add vector_register3_vr data set for the AltiVec
10904 registers. Use gdb_test_no_output instead of send_gdb.
10905
10906 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10907
10908 * gdb.python/py-shared.exp: New file, factored out from
10909 python.exp.
10910 * gdb.python/py-shared.c: New file.
10911 * gdb.python/py-shared-sl.c: New file.
10912 * gdb.python/python-1.c: New file.
10913 * gdb.python/python-sl.c: Delete.
10914 * gdb.python/python.c: Mention python-1.c.
10915 * gdb.python/python.exp: Move shared library tests to
10916 py-shared.exp.
10917 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10918 (MISCELLANEOUS): New.
10919 (clean mostlyclean): Also remove $MISCELLANEOUS.
10920
10921 2010-08-19 Doug Evans <dje@google.com>
10922
10923 PR exp/11926
10924 * gdb.base/printcmds.exp (test_float_accepted): New function.
10925 Move existing float tests there. Add tests for floats with suffixes.
10926 (test_float_rejected): New function.
10927 * gdb.java/jv-print.exp (test_float_accepted): New function.
10928 (test_float_rejected): New function.
10929 * gdb.objc/print.exp: New file.
10930 * gdb.pascal/print.exp: New file.
10931 * lib/objc.exp: New file.
10932
10933 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10934
10935 * gdb.base/default.exp (info set): Avoid full buffer error and force
10936 reading up to final gdb prompt.
10937 (show): Likewise.
10938
10939 2010-08-18 Tom Tromey <tromey@redhat.com>
10940
10941 PR symtab/11919:
10942 * gdb.base/completion.exp: Add test.
10943
10944 2010-08-18 Doug Evans <dje@google.com>
10945
10946 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10947 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10948 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10949 Simplify, early exit if runto_main fails.
10950 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10951 (set_lang_fortran): Moved to lib/fortran.exp.
10952 * gdb.fortran/types.exp: load_lib fortran.exp.
10953 (set_lang_fortran): Moved to lib/fortran.exp.
10954 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10955 * gdb.java/jprint.exp (set_lang_java): Ditto.
10956 * gdb.java/jv-exp.exp: load_lib java.exp.
10957 If set_lang_java fails, issue a warning instead of failure to be
10958 consistent with other set_lang_foo uses.
10959 (set_lang_java): Moved to lib/java.exp.
10960 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10961 If set_lang_java fails, issue a warning instead of failure to be
10962 consistent with other set_lang_foo uses.
10963 * gdb.pascal/types.exp: load_lib pascal.exp.
10964 (set_lang_pascal): Moved to lib/pascal.exp.
10965 * lib/fortran.exp: New file.
10966 * lib/java.exp (set_lang_java): New function.
10967 * lib/pascal.exp (set_lang_pascal): New function.
10968
10969 2010-08-18 Yao Qi <yao@codesourcery.com
10970
10971 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10972 func_nofb_start and func_loopfb_start, so that address of functions
10973 is equal to these labels on Thumb.
10974
10975 2010-08-18 Yao Qi <yao@codesourcery.com>
10976
10977 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10978 to reflect latest c source file.
10979
10980 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10981
10982 * gdb.cp/infcall-dlopen.exp: New file.
10983 * gdb.cp/infcall-dlopen.cc: New file.
10984 * gdb.cp/infcall-dlopen-lib.cc: New file.
10985
10986 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10987 Pedro Alves <pedro@codesourcery.com>
10988
10989 PR breakpoints/11371
10990
10991 * gdb.base/watch-cond-infcall.exp: New file.
10992 * gdb.base/watch-cond-infcall.c: New file.
10993
10994 2010-08-16 Tom Tromey <tromey@redhat.com>
10995
10996 * gdb.base/help.exp: Update.
10997 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10998 watchpoint.
10999 (test_watch_location): New proc.
11000 (test_watchpoint_in_big_blob): Delete watchpoint.
11001 * gdb.base/watchpoint.c (func5): New function.
11002 (main): Call it.
11003
11004 2010-08-16 Doug Evans <dje@google.com>
11005
11006 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
11007
11008 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11009
11010 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
11011 tests.
11012
11013 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
11014
11015 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
11016 * gdb.base/gnu_vector.c: New File.
11017 * gdb.base/gnu_vector.exp: Likewise.
11018
11019 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11020
11021 * gdb.python/python.c: New File.
11022 * gdb.python/python-sl.c: New File.
11023 * gdb.python/python.exp: Test solib_address and decode_line
11024 * functions.
11025
11026 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11027
11028 * gdb.python/python.exp (show height, set height 10)
11029 (verify pagination beforehand, verify pagination beforehand: q)
11030 (gdb.execute does not page, verify pagination afterwards)
11031 (verify pagination afterwards: q): New.
11032
11033 2010-08-02 Doug Evans <dje@google.com>
11034
11035 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
11036 because of an older gcc, change test2
11037 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
11038 to unsupported.
11039
11040 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
11041
11042 * gdb.base/break-always.exp: Do not expect full paths to file
11043 names.
11044 * gdb.base/commands.exp: Likewise.
11045
11046 2010-07-30 Doug Evans <dje@google.com>
11047
11048 * gdb.cp/temargs.exp: For new tests that require newer gccs,
11049 xfail them when run with older gccs.
11050
11051 * lib/gdb.exp (build_executable): Forward "c++" option to
11052 get_compiler_info.
11053
11054 * gdb.python/py-type.exp (test_template): Mark as xfail tests
11055 "python print ttype.template_argument(1)" and
11056 "python print isinstance(ttype.template_argument(1), gdb.Value)"
11057 if using gcc 4.4 or earlier.
11058
11059 * gdb.base/valgrind-db-attach.exp: Use unique test name for
11060 attach-to-debugger handling.
11061
11062 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11063
11064 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
11065 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
11066 (main): Use copyreloc.
11067 * gdb.base/prelink.exp (split debug of executable)
11068 (.dynbss vs. .bss address shift): New tests.
11069
11070 2010-07-29 Pedro Alves <pedro@codesourcery.com>
11071
11072 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
11073 in gdb_test_multiple.
11074
11075 2010-07-29 Pedro Alves <pedro@codesourcery.com>
11076
11077 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
11078 environment.
11079
11080 2010-07-28 Tom Tromey <tromey@redhat.com>
11081
11082 PR python/11060:
11083 * gdb.python/py-type.c (Temargs): New template.
11084 (temvar): New variable.
11085 * gdb.python/py-type.exp (test_template): New proc.
11086
11087 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11088
11089 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
11090 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
11091
11092 2010-07-28 Tom Tromey <tromey@redhat.com>
11093
11094 PR c++/9946:
11095 * gdb.cp/temargs.exp: New file.
11096 * gdb.cp/temargs.cc: New file.
11097
11098 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11099
11100 * gdb.base/help.exp (help disassemble): Update the content.
11101
11102 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11103
11104 * gdb.threads/ia64-sigill.exp: New file.
11105 * gdb.threads/ia64-sigill.c: New file.
11106
11107 2010-07-27 Tom Tromey <tromey@redhat.com>
11108
11109 * gdb.opt/inline-cmds.c (ATTR): New define.
11110 (func1): Use it.
11111 (func2): Likewise.
11112 (func3): Likewise.
11113 (outer_inline1): Likewise.
11114 (outer_inline2): Likewise.
11115 * gdb.opt/inline-bt.c (ATTR): New define.
11116 (func1): Use it.
11117 (func2): Likewise.
11118 * gdb.opt/inline-locals.c (ATTR): New define.
11119 (func1): Use it.
11120 (func2): Likewise.
11121
11122 2010-07-27 Tom Tromey <tromey@redhat.com>
11123
11124 * gdb.stabs/gdb11479.c (hack): New function.
11125 (test): Use it.
11126 (test2): Use it.
11127 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
11128 (int32_search_buf, int64_search_buf): No longer static.
11129 (x): Remove.
11130 * gdb.base/relocate.c (hack): New function.
11131
11132 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
11133
11134 * gdb.python/py-value.exp (test_inferior_function_call): New function.
11135 * gdb.python/py-value.c (func1): New function.
11136 (func2): Likewise.
11137
11138 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
11139
11140 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
11141 as not to clash with .data section.
11142
11143 2010-07-26 Jerome Guitton <guitton@adacore.com>
11144
11145 * gdb.base/code_elim.exp: New file.
11146 * gdb.base/code_elim1.c: New file.
11147 * gdb.base/code_elim2.c: New file.
11148
11149 2010-07-21 Pedro Alves <pedro@codesourcery.com>
11150
11151 PR symtab/11827
11152
11153 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
11154 (some_volatile_enum): New variable.
11155 * gdb.base/printcmds.exp (test_print_enums): New.
11156 <top level>: Call it.
11157
11158 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
11159
11160 * gdb.cp/fpointer.cc: New test.
11161 * gdb.cp/fpointer.exp: New test.
11162
11163 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11164
11165 * gdb.base/solib-nodir.exp: New file.
11166 * lib/gdb.exp (runto): New case for a GDB internal error.
11167
11168 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11169 Ulrich Weigand <uweigand@de.ibm.com>
11170 Tom Tromey <tromey@redhat.com>
11171
11172 * gdb.base/charset-malloc.c: New file.
11173 * gdb.base/charset.c (malloc_stub): New prototype.
11174 (main): Call it instead of malloc itself.
11175 * gdb.base/charset.exp: Use only prepare_for_testing.
11176 (binfile): Remove the variable.
11177
11178 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11179
11180 Make core files the process_stratum.
11181 * gdb.base/corefile.exp (run: load core again)
11182 (run: sanity check we see the core file, run: with core)
11183 (run: core file is cleared, attach: load core again)
11184 (attach: sanity check we see the core file, attach: with core)
11185 (attach: core file is cleared): New tests.
11186 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
11187
11188 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
11189
11190 * gdb.arch/altivec-abi.exp: New tests.
11191
11192 2010-07-13 Tom Tromey <tromey@redhat.com>
11193
11194 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
11195 (main): Use it.
11196 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
11197
11198 2010-07-13 Tom Tromey <tromey@redhat.com>
11199
11200 * gdb.base/label.exp: New file.
11201 * gdb.base/label.c: New file.
11202
11203 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
11204 H.J. Lu <hongjiu.lu@intel.com>
11205
11206 * lib/gdb.exp (is_ilp32_target): New.
11207 (is_lp64_target): Likewise.
11208
11209 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
11210 target.
11211 * gdb.arch/amd64-disp-step.exp: Likewise.
11212 * gdb.arch/amd64-dword.exp: Likewise.
11213 * gdb.arch/amd64-i386-address.exp: Likewise.
11214 * gdb.arch/amd64-word.exp: Likewise.
11215
11216 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
11217 target.
11218 * gdb.arch/i386-bp_permanent.exp: Likewise.
11219 * gdb.arch/i386-byte.exp: Likewise.
11220 * gdb.arch/i386-disp-step.exp: Likewise.
11221 * gdb.arch/i386-gnu-cfi.exp: Likewise.
11222 * gdb.arch/i386-prologue.exp: Likewise.
11223 * gdb.arch/i386-size-overlap.exp: Likewise.
11224 * gdb.arch/i386-size.exp: Likewise.
11225 * gdb.arch/i386-sse.exp: Likewise.
11226 * gdb.arch/i386-unwind.exp: Likewise.
11227 * gdb.arch/i386-word.exp: Likewise.
11228
11229 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
11230 test only when building 64-bit executables. Do not hard-code
11231 -m64 option.
11232
11233 2010-07-07 Doug Evans <dje@google.com>
11234
11235 * lib/gdb.exp (gdb_test_list_exact): New function.
11236 * gdb.base/default.exp (show convenience): Call it, add tests for
11237 $_sdata = void, $_thread = 0.
11238
11239 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11240 Joel Brobecker <brobecker@adacore.com>
11241
11242 Fix re-run of PIE executable, PR shlibs/11776.
11243 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
11244 Remove $displacement_main to match the solib-svr4.c change. New "kill"
11245 and re-"run" of the inferior.
11246
11247 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11248 Joel Brobecker <brobecker@adacore.com>
11249
11250 Cope with missing /usr/sbin/prelink.
11251 * lib/prelink-support.exp (prelink_no):
11252 <result == 1 && $output is "no such file or directory">: New.
11253 (prelink_yes): Likewise. Return on failed prelink_no.
11254
11255 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11256 Joel Brobecker <brobecker@adacore.com>
11257
11258 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
11259 build_executable by build_executable_own_libs. Replace "prelink -R"
11260 execution by a call of prelink_yes. Comment why "prelink -r" needs no
11261 change.
11262 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
11263 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
11264 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
11265 Replace build_executable by build_executable_own_libs's function
11266 build_executable_own_libs.
11267 (prelinkNO): Create new stub to call prelink_no.
11268 (prelinkYES): Create new stub to call prelink_yes.
11269 (test_attach): Rename calls of copy to file_copy.
11270 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
11271 (copy): Move to ...
11272 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
11273 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
11274 * gdb.base/prelink.exp: Disable testcase also for is_remote and
11275 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
11276 special flags by gdb_compile_shlib. Replace second gdb_compile by
11277 build_executable_own_libs. Replace "prelink -R" execution by a call of
11278 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
11279 a second call of prelink_yes. Replace restart commands by
11280 clean_restart.
11281 (prelink): Rename to ...
11282 (seen displacement message): ... this test. Extend its expectation
11283 strictness.
11284
11285 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11286
11287 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
11288 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
11289 displacement message exactly once.
11290
11291 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11292 Joel Brobecker <brobecker@adacore.com>
11293
11294 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
11295 its restore after the <$relink_args != ""> loop. new comment.
11296
11297 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11298 Joel Brobecker <brobecker@adacore.com>
11299
11300 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
11301 code for it. New variable relink_args.
11302 (prelinkYES): Call prelinkNO.
11303 (test_attach): Accept new parameter relink_args. Re-prelink the binary
11304 in such case. Move the core code to ...
11305 (test_attach_gdb): ... a new function. Send GDB command "file".
11306 Extend expected "Attaching to " string.
11307
11308 2010-07-02 Tom Tromey <tromey@redhat.com>
11309
11310 * gdb.base/bitops.exp: Remove extraneous "pass".
11311
11312 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
11313
11314 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11315
11316 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11317
11318 * gdb.base/help.exp: Adjust expected output.
11319
11320 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11321
11322 * gdb.base/help.exp: Adjust expected output.
11323
11324 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11325
11326 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11327 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11328 c++/11702.
11329
11330 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11331 Doug Evans <dje@google.com>
11332
11333 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11334 add .dynamic entry'.
11335
11336 2010-06-29 Doug Evans <dje@google.com>
11337
11338 Test PR c++/11702.
11339 * gdb.cp/m-static.exp: Add testcase.
11340 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11341
11342 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
11343 Tom Tromey <tromey@redhat.com>
11344 Thiago Jung Bauermann <bauerman@br.ibm.com>
11345
11346 * gdb.python/py-inferior.c: New File.
11347 * gdb.python/py-infthread.c: New File.
11348 * gdb.python/py-inferior.exp: New File.
11349 * gdb.python/py-infthread.exp: New File.
11350
11351 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11352
11353 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11354 (ptype ::C::OtherFileClass typedefs): New.
11355 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11356 (C::OtherFileClass::cOtherFileClassVar2): New.
11357 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11358 cOtherFileClassVar2.
11359 (C::cOtherFileType2, C::cOtherFileVar2): New.
11360 (C::cOtherFileVar_use): use also cOtherFileVar2.
11361 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11362
11363 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11364
11365 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11366 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11367 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11368 (print ::C::cOtherFileVar)
11369 (whatis C::OtherFileClass::cOtherFileClassType)
11370 (whatis ::C::OtherFileClass::cOtherFileClassType)
11371 (print C::OtherFileClass::cOtherFileClassVar)
11372 (print ::cOtherFileClassVar)
11373 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11374 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11375 trailing content.
11376 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11377 (C::OtherFileClass::cOtherFileClassVar)
11378 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11379 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11380
11381 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11382
11383 Test PR c++/11703 and PR gdb/1448.
11384 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11385 gdb/1448.
11386
11387 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11388
11389 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11390 (main) <rtti_data>: New.
11391 * gdb.cp/virtbase.exp (print rtti_data): New.
11392
11393 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11394 Joel Brobecker <brobecker@adacore.com>
11395
11396 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11397
11398 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11399
11400 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11401
11402 2010-06-28 Doug Evans <dje@google.com>
11403
11404 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11405
11406 2010-06-27 Doug Evans <dje@google.com>
11407
11408 * gdb.cp/m-static.exp: Update expected test output.
11409
11410 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11411
11412 * gdb.gdb/selftest.exp: Adjust expected message for
11413 capturing start-up runtime.
11414
11415 2010-06-25 Tom Tromey <tromey@redhat.com>
11416
11417 PR python/10808:
11418 * gdb.python/python.exp: Add new tests.
11419
11420 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11421
11422 * gdb.cp/operator.cc: Created an import loop.
11423 * gdb.cp/operator.exp: Added testcase for import loop.
11424
11425 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11426
11427 Test PR python/11407.
11428 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11429 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11430 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11431 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11432 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11433 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11434 binfile. Call gdb_compile with clean_restart twice.
11435 (func_nofb print, func_nofb backtrace, func_loopfb print)
11436 (func_loopfb backtrace): New.
11437
11438 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11439
11440 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11441 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11442 by a hand made one.
11443 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11444 i?86 requirement. Remove variables srcfile and binfile. New variable
11445 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11446
11447 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11448
11449 * gdb.cell/dwarfaddr.exp: New file.
11450 * gdb.cell/dwarfaddr.S: New file.
11451
11452 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11453
11454 Test PR 9436.
11455 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11456
11457 2010-06-24 Hui Zhu <teawater@gmail.com>
11458
11459 * gdb.base/eval.exp: New file.
11460
11461 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11462
11463 * gdb.cell/fork.exp: New file.
11464 * gdb.cell/fork.c: Likewise.
11465 * gdb.cell/fork-spu.c: Likewise.
11466
11467 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11468
11469 * lib/gdb.exp (banned_variables_traced): New global variable.
11470 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11471 (gdb_init): Use `trace add variable' instead of obsolete
11472 `trace variable'.
11473
11474 2010-06-21 Doug Evans <dje@google.com>
11475
11476 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11477
11478 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11479
11480 * gdb.arch/spu-ls.exp: New file.
11481 * gdb.arch/spu-ls.c: Likewise.
11482
11483 2010-06-18 Stan Shebs <stan@codesourcery.com>
11484
11485 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11486
11487 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11488
11489 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11490 * gdb.base/watch-cond.exp: Likewise.
11491 * gdb.python/py-breakpoint.exp: Likewise.
11492
11493 2010-06-18 Pedro Alves <pedro@codesourcery.com>
11494
11495 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11496 clean_restart, make sure every test has a distinct message, and
11497 that messages don't include the executable' full path.
11498
11499 2010-06-17 Doug Evans <dje@google.com>
11500
11501 * gdb.arch/i386-size.exp: Updated expected output for
11502 DISASSEMBLY_OMIT_FNAME.
11503
11504 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11505 Sergio Durigan Junior <sergiodj@redhat.com>
11506
11507 * gdb.base/watch-notconst.c: New file.
11508 * gdb.base/watch-notconst.S: New file.
11509 * gdb.base/watch-notconst2.c: New file.
11510 * gdb.base/watch-notconst2.S: New file.
11511 * gdb.base/watch-notconst.exp: New file.
11512 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11513 (func4): Add operations on `global_ptr_ptr'.
11514 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11515 routine to test watchpoints created with a constant expression.
11516 (test_inaccessible_watchpoint): Include tests for watchpoints
11517 created with a constant expression.
11518
11519 2010-06-14 Kevin Buettner <kevinb@redhat.com>
11520
11521 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11522 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11523 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11524 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11525 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11526 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11527 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11528 of `_start'.
11529
11530 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11531
11532 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11533 not supported on the target.
11534 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11535 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11536 * gdb.mi/mi-nsintrall.exp: Likewise.
11537 * gdb.mi/mi-nsmoribund.exp: Likewise.
11538 * gdb.mi/mi-nsthrexec.exp: Likewise.
11539
11540 2010-06-11 Stan Shebs <stan@codesourcery.com>
11541
11542 * gdb.base/permissions.exp: New file.
11543
11544 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11545
11546 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11547 does not support ELF executable class.
11548
11549 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11550
11551 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11552
11553 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11554
11555 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11556 (runto): Catch "The target does not support running in non-stop mode.".
11557
11558 2010-06-11 Michael Snyder <msnyder@vmware.com>
11559
11560 * gdb.base/setshow.exp (set language asm): Don't use
11561 gdb_test_no_output, fails on some targets.
11562
11563 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11564
11565 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11566 * gdb.cp/pr9167.exp: Likewise.
11567
11568 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11569
11570 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11571
11572 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11573
11574 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11575
11576 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11577
11578 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11579
11580 2010-06-11 Tom Tromey <tromey@redhat.com>
11581
11582 PR gdb/9977, PR exp/11636::
11583 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11584 (pieces_test_f6): Update expected output.
11585
11586 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11587
11588 * gdb.base/moribund-step.exp: New.
11589
11590 2010-06-08 Michael Snyder <msnyder@vmware.com>
11591
11592 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
11593 * gdb.ada/boolean_expr.exp:
11594 * gdb.ada/frame_args.exp: Ditto.
11595 * gdb.ada/lang_switch.exp: Ditto.
11596 * gdb.ada/ptype_arith_binop.exp: Ditto.
11597 * gdb.ada/ref_param.exp: Ditto.
11598 * gdb.ada/type_coercion.exp:Ditto.
11599
11600 * gdb.asm/asm-source.exp: Ditto.
11601
11602 * gdb.base/attach.exp: Ditto.
11603 * gdb.base/bitfields2.exp: Ditto.
11604 * gdb.base/call-signal-resume.exp: Ditto.
11605 * gdb.base/callfuncs.exp: Ditto.
11606 * gdb.base/commands.exp: Ditto.
11607 * gdb.base/dbx.exp: Ditto.
11608 * gdb.base/default.exp: Ditto.
11609 * gdb.base/dump.exp: Ditto.
11610 * gdb.base/exprs.exp: Ditto.
11611 * gdb.base/freebpcmd.exp: Ditto.
11612 * gdb.base/interrupt.exp: Ditto.
11613 * gdb.base/list.exp: Ditto.
11614 * gdb.base/long_long.exp: Ditto.
11615 * gdb.base/maint.exp: Ditto.
11616 * gdb.base/ptype.exp: Ditto.
11617 * gdb.base/return.exp: Ditto.
11618 * gdb.base/setshow.exp: Ditto.
11619 * gdb.base/sigbpt.exp: Ditto.
11620 * gdb.base/sigrepeat.exp: Ditto.
11621
11622 * gdb.cp/classes.exp: Ditto.
11623
11624 * gdb.dwarf2/dw2-restore.exp: Ditto.
11625
11626 * gdb.gdb/selftest.exp: Ditto.
11627
11628 * gdb.multi/base.exp: Ditto.
11629 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11630
11631 * gdb.python/py-block.exp: Ditto.
11632 * gdb.python/py-prettyprint.exp: Ditto.
11633 * gdb.python/py-template.exp: Ditto.
11634
11635 * gdb.server/ext-attach.exp: Ditto.
11636 * gdb.server/ext-run.exp: Ditto.
11637 * gdb.server/server-mon.exp: Ditto.
11638
11639 * gdb.threads/fork-thread-pending.exp: Ditto.
11640 * gdb.threads/hand-call-in-threads.exp: Ditto.
11641 * gdb.threads/interrupted-hand-call.exp: Ditto.
11642 * gdb.threads/linux-dp.exp: Ditto.
11643 * gdb.threads/manythreads.exp: Ditto.
11644 * gdb.threads/print-threads.exp: Ditto.
11645 * gdb.threads/pthreads.exp: Ditto.
11646 * gdb.threads/schedlock.exp: Ditto.
11647 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11648 * gdb.threads/threadapply.exp: Ditto.
11649
11650 2010-06-08 Michael Snyder <msnyder@vmware.com>
11651
11652 * gdb.ada/exec_changed.exp:
11653 Use ".*" instead of "" as wildcard regexp.
11654
11655 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11656 * gdb.base/call-ar-st.exp: Ditto.
11657 * gdb.base/checkpoint.exp: Ditto.
11658 * gdb.base/default.exp: Ditto.
11659 * gdb.base/dump.exp: Ditto.
11660 * gdb.base/ending-run.exp: Ditto.
11661 * gdb.base/fileio.exp: Ditto.
11662 * gdb.base/miscexprs.exp: Ditto.
11663 * gdb.base/pointers.exp: Ditto.
11664 * gdb.base/readline.exp: Ditto.
11665 * gdb.base/reread.exp: Ditto.
11666 * gdb.base/restore.exp: Ditto.
11667 * gdb.base/shlib-call.exp: Ditto.
11668 * gdb.base/valgrind-db-attach.exp: Ditto.
11669 * gdb.base/volatile.exp: Ditto.
11670 * gdb.base/watchpoints.exp: Ditto.
11671
11672 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11673
11674 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11675 * gdb.python/py-value.exp: Ditto.
11676
11677 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11678 * gdb.trace/circ.exp: Ditto.
11679 * gdb.trace/collection.exp: Ditto.
11680 * gdb.trace/packetlen.exp: Ditto.
11681 * gdb.trace/passc-dyn.exp: Ditto.
11682 * gdb.trace/report.exp: Ditto.
11683 * gdb.trace/tfile.exp: Ditto.
11684 * gdb.trace/tfind.exp: Ditto.
11685 * gdb.trace/while-dyn.exp: Ditto.
11686
11687 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11688
11689 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11690
11691 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11692
11693 Test PR 10640.
11694 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11695
11696 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11697
11698 * gdb.cp/koenig.exp: Test for ADL operators.
11699 * gdb.cp/koenig.cc: Added ADL operators.
11700 * gdb.cp/operator.exp: New test.
11701 * gdb.cp/operator.cc: New test.
11702
11703 2010-06-04 Michael Snyder <msnyder@vmware.com>
11704
11705 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11706 * gdb.base/pending.exp: Ditto.
11707
11708 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11709
11710 2010-06-04 Doug Evans <dje@google.com>
11711
11712 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11713 disabled printers.
11714 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11715 (enable_lookup_function): New function.
11716
11717 2010-06-04 Tom Tromey <tromey@redhat.com>
11718
11719 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11720 of hash and id.
11721
11722 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11723
11724 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11725 newline.
11726 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11727 (empty verbose non-noisy clear, empty verbose noisy clear)
11728 (empty non-verbose noisy clear): Likewise.
11729
11730 2010-06-03 Michael Snyder <msnyder@vmware.com>
11731
11732 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11733 * gdb.base/display.exp: Ditto.
11734 * gdb.base/find.exp: Ditto.
11735 * gdb.base/ifelse.exp: Ditto.
11736 * gdb.base/multi-forks.exp: Ditto.
11737 * gdb.base/recurse.exp: Ditto.
11738 * gdb.base/setshow.exp: Ditto.
11739 * gdb.base/value-double-free.exp: Ditto.
11740 * gdb.base/watch-vfork.exp: Ditto.
11741 * gdb.base/watch_thread_num.exp: Ditto.
11742 * gdb.base/watchpoint-solib.exp: Ditto.
11743 * gdb.base/watchpoint.exp: Ditto.
11744 * gdb.base/watchpoints.exp: Ditto.
11745
11746 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11747 * gdb.cp/overload.exp: Ditto.
11748 * gdb.cp/virtfunc.exp: Ditto.
11749
11750 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11751
11752 * gdb.reverse/watch-precsave.exp:
11753 Replace gdb_test with gdb_test_no_output.
11754
11755 * gdb.threads/attach-into-signal.exp:
11756 Replace gdb_test with gdb_test_no_output.
11757 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11758 * gdb.threads/watchthreads.exp: Ditto.
11759 * gdb.threads/watchthreads2.exp: Ditto.
11760
11761 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11762 * gdb.trace/tfind.exp: Ditto.
11763
11764 2010-06-03 Joel Brobecker <brobecker@adacore.com>
11765
11766 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11767 successful test if message is the empty string.
11768
11769 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11770
11771 * gdb.fortran/module.exp (stopped language detection): New test.
11772
11773 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11774
11775 Support DW_TAG_module as separate namespaces.
11776 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11777 gdb.fortran/library-module-lib.f90: New.
11778 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11779 (print i): Remove.
11780 (continue to breakpoint: i-is-1, print var_i value 1)
11781 (continue to breakpoint: i-is-2, print var_i value 2)
11782 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11783 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11784 (complete `modmany, complete `modmany`, complete `modmany`var)
11785 (show language, setting breakpoint at module): New tests.
11786 * gdb.fortran/module.f90 (module mod): Remove.
11787 (module mod1, module mod2, module modmany, subroutine sub1)
11788 (subroutine sub2, program module): New.
11789
11790 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11791
11792 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11793 (print value of rUC, print value of rI, print value of UI): ... here.
11794 * gdb.cp/anon-union.exp (pass): Rename to ...
11795 (print z 2): ... here.
11796
11797 2010-06-02 Michael Snyder <msnyder@vmware.com>
11798
11799 * gdb.trace/actions.exp: Use gdb_test_no_output.
11800 * gdb.trace/circ.exp: Ditto.
11801 * gdb.trace/packetlen.exp: Ditto.
11802 * gdb.trace/save-trace.exp: Ditto.
11803 * gdb.trace/tracecmd.exp: Ditto.
11804 * gdb.trace/tsv.exp: Ditto.
11805
11806 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11807 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11808 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11809 * gdb.threads/manythreads.exp: Ditto.
11810 * gdb.threads/print-threads.exp: Ditto.
11811 * gdb.threads/pthreads.exp: Ditto.
11812 * gdb.threads/schedlock.exp: Ditto.
11813 * gdb.threads/staticthreads.exp: Ditto.
11814 * gdb.threads/thread-specific.exp: Ditto.
11815 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11816 * gdb.threads/threadapply.exp: Ditto.
11817 * gdb.threads/watchthreads.exp: Ditto.
11818 * gdb.threads/watchthreads2.exp: Ditto.
11819
11820 * gdb.python/py-block.exp: Use gdb_test_no_output.
11821 * gdb.python/py-prettyprint.exp: Ditto.
11822 * gdb.python/py-template.exp: Ditto.
11823 * gdb.python/py-value.exp: Ditto.
11824
11825 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11826 * gdb.reverse/watch-reverse.exp: Ditto.
11827
11828 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11829 * gdb.server/ext-run.exp: Ditto.
11830
11831 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11832 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11833 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11834 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11835 * gdb.dwarf2/dw2-producer.exp: Ditto.
11836 * gdb.dwarf2/mac-fileno.exp: Ditto.
11837
11838 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11839 * gdb.gdb/selftest.exp: Ditto.
11840
11841 * gdb.multi/base.exp: Use gdb_test_no_output.
11842
11843 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11844
11845 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11846
11847 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11848
11849 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11850
11851 * gdb.cp/class2.exp: Use gdb_test_no_output.
11852 * gdb.cp/classes.exp: Ditto.
11853 * gdb.cp/extern-c.exp: Ditto.
11854 * gdb.cp/inherit.exp: Ditto.
11855 * gdb.cp/maint.exp: Ditto.
11856 * gdb.cp/mb-inline.exp: Ditto.
11857 * gdb.cp/mb-templates.exp: Ditto.
11858 * gdb.cp/method2.exp: Ditto.
11859 * gdb.cp/misc.exp: Ditto.
11860 * gdb.cp/ovldbreak.exp: Ditto.
11861 * gdb.cp/punctuator.exp: Ditto.
11862 * gdb.cp/templates.exp: Ditto.
11863 * gdb.cp/virtbase.exp: Ditto.
11864
11865 * gdb.threads/attach-stopped.exp:
11866 Replace uses of send_gdb / gdb_expect.
11867 * gdb.threads/attachstop-mt.exp:
11868 Replace uses of send_gdb / gdb_expect.
11869 * gdb.threads/gcore-thread.exp:
11870 Replace uses of send_gdb / gdb_expect.
11871 * gdb.threads/hand-call-in-threads.exp:
11872 Replace uses of send_gdb / gdb_expect.
11873 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11874 * gdb.threads/print-threads.exp:
11875 Replace uses of send_gdb / gdb_expect.
11876 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11877 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11878 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11879
11880 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11881 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11882 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11883 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11884 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11885 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11886 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11887 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11888 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11889 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11890 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11891
11892 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11893
11894 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11895
11896 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11897
11898 * gdb.cp/koenig.exp: Added new test case.
11899 * gdb.cp/koenig.cc: Ditto.
11900
11901 2010-06-01 Michael Snyder <msnyder@vmware.com>
11902
11903 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11904 * gdb.base/arrayidx.exp: Ditto.
11905 * gdb.base/attach.exp: Ditto.
11906 * gdb.base/auxv.exp: Ditto.
11907 * gdb.base/bigcre.exp: Ditto.
11908 * gdb.base/break-always.exp: Ditto.
11909 * gdb.base/break-interp.exp: Ditto.
11910 * gdb.base/break.exp: Ditto.
11911 * gdb.base/breakpoint-shadow.exp: Ditto.
11912 * gdb.base/call-ar-st.exp: Ditto.
11913 * gdb.base/call-sc.exp: Ditto.
11914 * gdb.base/call-signal-resume.exp: Ditto.
11915 * gdb.base/callfuncs.exp: Ditto.
11916 * gdb.base/catch-syscall.exp: Ditto.
11917 * gdb.base/charset.exp: Ditto.
11918 * gdb.base/code-expr.exp: Ditto.
11919 * gdb.base/commands.exp: Ditto.
11920 * gdb.base/cond-expr.exp: Ditto.
11921 * gdb.base/condbreak.exp: Ditto.
11922 * gdb.base/cursal.exp: Ditto.
11923 * gdb.base/cvexpr.exp: Ditto.
11924 * gdb.base/default.exp: Ditto.
11925 * gdb.base/del.exp: Ditto.
11926 * gdb.base/detach.exp: Ditto.
11927 * gdb.base/display.exp: Ditto.
11928 * gdb.base/ena-dis-br.exp: Ditto.
11929 * gdb.base/eval-skip.exp: Ditto.
11930 * gdb.base/foll-fork.exp: Ditto.
11931 * gdb.base/foll-vfork.exp: Ditto.
11932 * gdb.base/frame-args.exp: Ditto.
11933 * gdb.base/funcargs.exp: Ditto.
11934 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11935 * gdb.base/gdbvars.exp: Ditto.
11936 * gdb.base/help.exp: Ditto.
11937 * gdb.base/ifelse.exp: Ditto.
11938 * gdb.base/included.exp: Ditto.
11939 * gdb.base/list.exp: Ditto.
11940 * gdb.base/macscp.exp: Ditto.
11941 * gdb.base/maint.exp: Ditto.
11942 * gdb.base/multi-fork.exp: Ditto.
11943 * gdb.base/overlays.exp: Ditto.
11944 * gdb.base/page.exp: Ditto.
11945 * gdb.base/pending.exp: Ditto.
11946 * gdb.base/pointers.exp: Ditto.
11947 * gdb.base/pr11022.exp: Ditto.
11948 * gdb.base/prelink.exp: Ditto.
11949 * gdb.base/printcmds.exp: Ditto.
11950 * gdb.base/psymtab.exp: Ditto.
11951 * gdb.base/randomize.exp: Ditto.
11952 * gdb.base/relational.exp: Ditto.
11953 * gdb.base/relocate.exp: Ditto.
11954 * gdb.base/remote.exp: Ditto.
11955 * gdb.base/sepdebug.exp: Ditto.
11956 * gdb.base/set-lang-auto.exp: Ditto.
11957 * gdb.base/setshow.exp: Ditto.
11958 * gdb.base/setvar.exp: Ditto.
11959 * gdb.base/signals.exp: Ditto.
11960 * gdb.base/signull.exp: Ditto.
11961 * gdb.base/sigstep.exp: Ditto.
11962 * gdb.base/sizeof.exp: Ditto.
11963 * gdb.base/solib-disc.exp: Ditto.
11964 * gdb.base/store.exp: Ditto.
11965 * gdb.base/structs.exp: Ditto.
11966 * gdb.base/structs2.exp: Ditto.
11967 * gdb.base/subst.exp: Ditto.
11968 * gdb.base/term.exp: Ditto.
11969 * gdb.base/trace-commands.exp: Ditto.
11970 * gdb.base/unwindonsignal.exp: Ditto.
11971 * gdb.base/valgrind-db-attach.exp: Ditto.
11972 * gdb.base/varargs.exp: Ditto.
11973 * gdb.base/watch-cond.exp: Ditto.
11974 * gdb.base/watch_thread_num.exp: Ditto.
11975 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11976 * gdb.base/watchpoint.exp: Ditto.
11977 * gdb.base/whatis-exp.exp: Ditto.
11978
11979 2010-06-01 Michael Snyder <msnyder@vmware.com>
11980
11981 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11982 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11983 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11984 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11985 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11986 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11987 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11988 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11989 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11990 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11991 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11992 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11993 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11994 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11995 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11996
11997 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11998
11999 * gdb.base/commands.exp (begin commands on watch): Remove excessive
12000 trailing newline.
12001 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
12002 * gdb.java/jmisc.exp (p *args\n): Rename to ...
12003 (p *args): ... here and remove excessive trailing newline.
12004
12005 2010-05-31 Joel Brobecker <brobecker@adacore.com>
12006
12007 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
12008
12009 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12010
12011 Accept the new Linux kernel "t (tracing stop)" string.
12012 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
12013 Update comment.
12014 (state_wait) <T (tracing stop)>: New.
12015 (main): Update the state_wait expect string.
12016
12017 2010-05-28 Pedro Alves <pedro@codesourcery.com>
12018
12019 * limits.c, limits.exp: Delete files.
12020 * Makefile.in (clean mostlyclean): Adjust.
12021 * tracecmd.exp: Adjust.
12022
12023 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12024
12025 * gdb.base/tui-layout.exp: New.
12026
12027 2010-05-28 Michael Snyder <msnyder@vmware.com>
12028
12029 * gdb.reverse/break-precsave.exp:
12030 Replace uses of send_gdb / gdb_expect.
12031 * gdb.reverse/break-reverse.exp:
12032 Replace uses of send_gdb / gdb_expect.
12033 * gdb.reverse/consecutive-precsave.exp:
12034 Replace uses of send_gdb / gdb_expect.
12035 * gdb.reverse/consecutive-reverse.exp:
12036 Replace uses of send_gdb / gdb_expect.
12037 * gdb.reverse/finish-precsave.exp:
12038 Replace uses of send_gdb / gdb_expect.
12039 * gdb.reverse/finish-reverse.exp:
12040 Replace uses of send_gdb / gdb_expect.
12041 * gdb.reverse/i386-precsave.exp:
12042 Replace uses of send_gdb / gdb_expect.
12043 * gdb.reverse/i386-reverse.exp:
12044 Replace uses of send_gdb / gdb_expect.
12045 * gdb.reverse/i386-sse-reverse.exp:
12046 Replace uses of send_gdb / gdb_expect.
12047 * gdb.reverse/i387-env-reverse.exp:
12048 Replace uses of send_gdb / gdb_expect.
12049 * gdb.reverse/i387-stack-reverse.exp:
12050 Replace uses of send_gdb / gdb_expect.
12051 * gdb.reverse/machinestate-precsave.exp:
12052 Replace uses of send_gdb / gdb_expect.
12053 * gdb.reverse/machinestate.exp:
12054 Replace uses of send_gdb / gdb_expect.
12055 * gdb.reverse/sigall-precsave.exp:
12056 Replace uses of send_gdb / gdb_expect.
12057 * gdb.reverse/sigall-reverse.exp:
12058 Replace uses of send_gdb / gdb_expect.
12059 * gdb.reverse/solib-precsave.exp:
12060 Replace uses of send_gdb / gdb_expect.
12061 * gdb.reverse/solib-reverse.exp:
12062 Replace uses of send_gdb / gdb_expect.
12063 * gdb.reverse/step-precsave.exp:
12064 Replace uses of send_gdb / gdb_expect.
12065 * gdb.reverse/step-reverse.exp:
12066 Replace uses of send_gdb / gdb_expect.
12067 * gdb.reverse/until-precsave.exp:
12068 Replace uses of send_gdb / gdb_expect.
12069 * gdb.reverse/until-reverse.exp:
12070 Replace uses of send_gdb / gdb_expect.
12071 * gdb.reverse/watch-precsave.exp:
12072 Replace uses of send_gdb / gdb_expect.
12073 * gdb.reverse/watch-reverse.exp:
12074 Replace uses of send_gdb / gdb_expect.
12075
12076 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12077
12078 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
12079 excessive newline.
12080
12081 2010-05-27 Michael Snyder <msnyder@vmware.com>
12082
12083 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
12084 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
12085 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
12086 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
12087 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
12088 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
12089 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
12090 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
12091 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
12092 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
12093 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
12094 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
12095 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
12096 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
12097 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
12098 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
12099 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
12100 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
12101 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
12102
12103 2010-05-26 Michael Snyder <msnyder@vmware.com>
12104
12105 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
12106 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
12107
12108 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
12109 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
12110 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
12111
12112 * gdb.reverse/consecutive-reverse.exp:
12113 Replace uses of send_gdb / gdb_expect.
12114 * gdb.reverse/consecutive-precsave.exp:
12115 Replace uses of send_gdb / gdb_expect.
12116
12117 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
12118 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
12119 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
12120 * gdb.mi/mi-ns-stale-regcache.exp:
12121 Replace uses of send_gdb / gdb_expect.
12122 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
12123 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
12124 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
12125 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
12126 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
12127 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
12128 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
12129 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
12130 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
12131
12132 2010-05-26 Michael Snyder <msnyder@vmware.com>
12133
12134 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
12135
12136 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
12137
12138 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
12139 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
12140 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
12141 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
12142 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
12143 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
12144 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
12145 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
12146 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
12147
12148 2010-05-25 Tom Tromey <tromey@redhat.com>
12149
12150 * gdb.base/macscp.exp: Add missing space after setup_kfail.
12151
12152 2010-05-25 Tom Tromey <tromey@redhat.com>
12153
12154 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
12155 argument order.
12156 * gdb.base/macscp.exp: Fix setup_kfail argument order.
12157 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
12158 order.
12159 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
12160 order.
12161 * gdb.base/call-sc.exp (setup_kfails): Remove.
12162 (setup_compiler_kfails): Remove.
12163 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
12164 argument order.
12165 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
12166 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
12167 (advancei): Fix setup_kfail argument order.
12168 * gdb.base/radix.exp: Fix setup_kfail argument order.
12169 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
12170 order.
12171 * gdb.base/structs.exp (setup_kfails): Remove.
12172 (setup_compiler_kfails): Fix setup_kfail argument order.
12173 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
12174 order.
12175 * gdb.java/jmain.exp: Fix setup_kfail argument order.
12176 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
12177 setup_kfail argument order.
12178 * gdb.cp/overload.exp: Fix setup_kfail argument order.
12179
12180 2010-05-25 Tom Tromey <tromey@redhat.com>
12181
12182 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
12183
12184 2010-05-25 Michael Snyder <msnyder@vmware.com>
12185
12186 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
12187 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
12188 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
12189 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
12190 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
12191 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
12192 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
12193 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
12194 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
12195 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
12196 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
12197 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
12198 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
12199 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
12200 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
12201 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
12202 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
12203 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
12204 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
12205 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
12206 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
12207 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
12208 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
12209 * gdb.base/default.exp: Replace send_gdb with gdb_test.
12210 * gdb.base/define.exp: Replace send_gdb with gdb_test.
12211 * gdb.base/display.exp: Replace send_gdb with gdb_test.
12212 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
12213 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
12214 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
12215 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
12216 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
12217 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
12218 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
12219 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
12220 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
12221 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
12222 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
12223 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
12224 * gdb.base/help.exp: Replace send_gdb with gdb_test.
12225 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
12226 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
12227 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
12228 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
12229 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
12230 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
12231 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
12232 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
12233 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
12234
12235 2010-05-25 Doug Evans <dje@google.com>
12236
12237 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
12238 gdb.string_to_argv.
12239
12240 2010-05-21 Tom Tromey <tromey@redhat.com>
12241
12242 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
12243 Call it.
12244 * gdb.dwarf2/pieces.S: Update.
12245 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
12246
12247 2010-05-21 Tom Tromey <tromey@redhat.com>
12248
12249 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
12250 Call it.
12251 * gdb.dwarf2/pieces.c (struct C): New.
12252 (f6): New function.
12253 * gdb.dwarf2/pieces.S: Replace.
12254
12255 2010-05-21 Tom Tromey <tromey@redhat.com>
12256
12257 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
12258 Call it.
12259
12260 2010-05-21 Tom Tromey <tromey@redhat.com>
12261
12262 * gdb.dwarf2.pieces.exp: New file.
12263 * gdb.dwarf2.pieces.S: New file.
12264 * gdb.dwarf2.pieces.c: New file.
12265
12266 2010-05-20 Pedro Alves <pedro@codesourcery.com>
12267 Joel Brobecker <brobecker@adacore.com>
12268
12269 * lib/gdb.exp (gdb_test_no_output): New function.
12270 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
12271 when testing commands that should produce no output.
12272
12273 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12274
12275 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
12276 parameter that we want to watch being a constant.
12277
12278 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12279
12280 * gdb.ada/cond_lang: New testcase.
12281
12282 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12283
12284 * lib/gdb.exp (banned_variables): New variable/constant.
12285 (gdb_init): Add write trace on variables listed in banned_variables.
12286 (gdb_finish): Remove write traces on variables listed in
12287 banned_variables.
12288
12289 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12290
12291 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
12292 * gdb.cp/koenig.exp: Likewise.
12293
12294 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
12295
12296 PR python/11482
12297
12298 * gdb.python/py-value.exp (test_value_hash): New function.
12299
12300 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
12301
12302 PR exp/11530.
12303 * gdb.base/gdb11530.c: New file.
12304 * gdb.base/gdb11530.exp: New file.
12305
12306 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12307
12308 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
12309 * gdb.dwarf2/dw2-modula2-self-type.S: New.
12310
12311 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
12312
12313 * gdb.cp/koenig.exp: New test.
12314 * gdb.cp/koenig.cc: New test program.
12315
12316 2010-05-05 Joel Brobecker <brobecker@adacore.com>
12317
12318 Remove the use of prms_id and bug_id throughout the testsuite.
12319
12320 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12321
12322 PR exp/11349.
12323 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12324 use a reference local variable.
12325
12326 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12327
12328 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12329 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12330 variable different_dir. Move debugfile into a full directory pathname
12331 under DIFFERENT_DIR.
12332 * lib/gdb.exp (separate_debug_filename): Remove.
12333 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12334 variable debug_dir and mkdir of it. Update function comments.
12335
12336 2010-04-29 Pedro Alves <pedro@codesourcery.com>
12337
12338 PR gdb/11557
12339
12340 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12341 files.
12342
12343 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12344
12345 * gdb.python/py-param.exp: New File.
12346
12347 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12348
12349 * gdb.base/default.exp: Fix "set language" test.
12350
12351 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12352
12353 PR breakpoints/11531.
12354 * gdb.base/gdb11531.c: New file.
12355 * gdb.base/gdb11531.exp: New file.
12356
12357 2010-04-26 Tom Tromey <tromey@redhat.com>
12358
12359 * gdb.base/completion.exp: Add tests for completion and deprecated
12360 commands.
12361
12362 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12363
12364 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12365 (print /x char_array): Escape curly brackets.
12366
12367 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12368
12369 Fix deadlock on looped list of loaded shared objects.
12370 * gdb.base/solib-corrupted.exp: New.
12371
12372 2010-04-23 Doug Evans <dje@google.com>
12373
12374 * gdb.python/py-section-script.c: New file.
12375 * gdb.python/py-section-script.exp: New file.
12376 * gdb.python/py-section-script.py: New file.
12377
12378 2010-04-20 Chris Moller <cmoller@redhat.com>
12379
12380 PR 10179
12381
12382 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12383 * gdb.base/pr10179-a.c:
12384 * gdb.base/pr10179-b.c:
12385 * gdb.base/pr10179.exp: New files.
12386
12387 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12388
12389 Fix crashes on dangling display expressions.
12390 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12391 is SEP.
12392 (lib_flags): Remove the "debug" keyword.
12393 (libsepdebug): New variable for iterating new loop.
12394 (save_pf_prefix): New variable wrapping the loop.
12395 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12396 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12397
12398 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12399
12400 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12401
12402 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12403
12404 PR stabs/11479.
12405 * gdb.stabs/gdb11479.exp: New file.
12406 * gdb.stabs/gdb11479.c: New file.
12407
12408 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12409
12410 * gdb.base/charset.c (Strin16, String32): New variables.
12411 * gdb.base/charset.exp (gdb_test): Test correct display
12412 of 16 or 32 bit strings.
12413
12414 2010-04-21 Chris Moller <cmoller@redhat.com>
12415
12416 PR 9167
12417 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12418 * gdb.cp/pr9167.cc: New file.
12419 * gdb.cp/pr9167.exp: New file.
12420
12421
12422 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12423
12424 PR pascal/11492.
12425 * gdb.pascal/gdb11492.pas: New file.
12426 * gdb.pascal/gdb11492.exp: New file.
12427
12428 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12429
12430 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
12431
12432 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12433
12434 * gdb.ada/dyn_loc: New testcase.
12435
12436 2010-04-20 Chris Moller <cmoller@redhat.com>
12437
12438 PR 10867
12439
12440 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12441 * gdb.cp/pr10687.cc: New file.
12442 * gdb.cp/pr10687.exp: New file.
12443
12444
12445 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12446 Sergio Durigan Junior <sergiodj@redhat.com>
12447
12448 * gdb.fortran/logical.exp: New testcase.
12449 * gdb.fortran/logical.f90: New file.
12450
12451 2010-04-19 Doug Evans <dje@google.com>
12452
12453 * gdb.base/help.exp (help source): Update expected output.
12454
12455 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12456
12457 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12458 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12459 gdb_exit and return.
12460 (executable): New variable.
12461 (binfile): Use it.
12462
12463 2010-04-19 Pedro Alves <pedro@codesourcery.com>
12464
12465 PR breakpoints/8554.
12466
12467 * gdb.trace/save-trace.exp: Adjust.
12468
12469 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12470
12471 PR corefiles/11511
12472 * gdb.arch/system-gcore.exp: New.
12473 * gdb.arch/gcore.c: Likewise.
12474
12475 2010-04-15 Doug Evans <dje@google.com>
12476
12477 * gdb.python/py-progspace.c: New file.
12478 * gdb.python/py-progspace.exp: New file.
12479
12480 * gdb.base/source.exp: Add tests for "source -s".
12481
12482 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12483
12484 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12485 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12486 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12487 * gdb.python/py-mi.exp: New test for to_string returning None.
12488
12489 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12490
12491 * gdb.python/py-breakpoint.c: Make result global.
12492
12493 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12494
12495 Fix non-GNU make compatibility.
12496 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12497
12498 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12499
12500 * gdb.python/py-breakpoint.exp: New File.
12501 * gdb.python/py-breakpoint.C: Ditto.
12502
12503 2010-04-08 Stan Shebs <stan@codesourcery.com>
12504
12505 * gdb.trace/actions.exp: Clear default-collect.
12506 * gdb.trace/save-trace.exp: Clear default-collect.
12507
12508 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12509
12510 * gdb.python/py-value: Add null string variable.
12511 (test_lazy_string): Test zero length, NULL address lazy
12512 strings.
12513
12514 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12515
12516 * gdb.arch/i386-avx.c: New.
12517 * gdb.arch/i386-avx.exp: Likewise.
12518
12519 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12520
12521 2010-04-06 Doug Evans <dje@google.com>
12522
12523 * gdb.base/source-test.gdb: New file.
12524 * gdb.base/source.exp: Test source -v.
12525
12526 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12527
12528 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12529
12530 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12531
12532 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12533 within one line, unless it is followed by a double quote.
12534 * gdb.stabs/hppa.sed: Idem.
12535 * gdb.stabs/weird.def: Add char and String constants
12536 * gdb.stabs/weird.exp: Check for correct parsing of
12537 char and string constants.
12538 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12539 in .stabs to .stabx substitution.
12540
12541 2010-04-05 Stan Shebs <stan@codesourcery.com>
12542
12543 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12544 constant global.
12545 * gdb.trace/tfile.exp: Try to print them.
12546
12547 2010-04-04 Stan Shebs <stan@codesourcery.com>
12548
12549 * gdb.base/completion.exp: Update for new "info watchpoints".
12550 * gdb.base/default.exp: Ditto.
12551 * gdb.base/help.exp: Ditto.
12552 * gdb.base/watchpoint.exp: Ditto.
12553 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
12554
12555 2010-04-04 Stan Shebs <stan@codesourcery.com>
12556
12557 * gdb.trace/tfile.exp: Sharpen tfind test.
12558
12559 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12560
12561 * gdb.base/break-entry.exp: New.
12562
12563 2010-04-02 Hui Zhu <teawater@gmail.com>
12564 Michael Snyder <msnyder@vmware.com>
12565
12566 * gdb.reverse/i386-sse-reverse.exp: New file.
12567 * gdb.reverse/i386-sse-reverse.c: New file.
12568
12569 2010-04-02 Pedro Alves <pedro@codesourcery.com>
12570
12571 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12572
12573 2010-04-01 Stan Shebs <stan@codesourcery.com>
12574
12575 * gdb.trace/actions.exp: Tweak expected output.
12576 * gdb.trace/while-stepping.exp: Tweak expected output.
12577
12578 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12579
12580 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12581
12582 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12583
12584 * gdb.base/commands.exp: Adjust.
12585 * gdb.cp/extern-c.exp: Adjust.
12586
12587 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12588
12589 * gdb.trace/collection.c (local_test_func): Define a local struct,
12590 and instanciate it.
12591
12592 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12593
12594 * gdb.trace/collection.exp (gdb_collect_args_test)
12595 (gdb_collect_argarray_test): XFAIL the tests that assume the
12596 argarray argument's elements are collected.
12597
12598 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12599
12600 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12601 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12602
12603 2010-03-31 Stan Shebs <stan@codesourcery.com>
12604
12605 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12606 and tracepoint conditionals.
12607 (gdb_verify_tracepoints): Delete unused return.
12608
12609 2010-03-26 Keith Seitz <keiths@redhat.com>
12610
12611 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12612 appear in the output before main.
12613 Remove KFAIL for gdb/2215 aka bz 9320.
12614
12615 2010-03-30 Doug Evans <dje@google.com>
12616
12617 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12618 by dejagnu.
12619 * gdb.arch/amd64-dword.exp: Ditto.
12620
12621 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12622 match.
12623 (break printf): Ditto.
12624
12625 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12626
12627 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12628 gcc < 4.4.
12629 * gdb.cp/shadow.exp: Ditto.
12630
12631 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12632
12633 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12634 "tstart" is silent.
12635
12636 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12637
12638 * gdb.trace/collection.exp (executable): New.
12639 (binfile): Use it.
12640 (fpreg, spreg, pcreg): New.
12641 (test_register): Use gdb_test_multiple. Pass /x to print.
12642 (prepare_for_trace_test): New.
12643 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12644 (gdb_collect_args_test, gdb_collect_argstruct_test)
12645 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12646 prepare_for_trace_test.
12647 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12648 fpreg, spreg and pcreg.
12649 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12650 prepare_for_trace_test.
12651 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12652 try to detect tracing support here. Don't set breakpoints at
12653 `begin' or `end' here.
12654 <global scope>: Use clean_restart. Run to main before checking
12655 for tracing support. Check for for tracing support here.
12656
12657 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12658
12659 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12660 " as $displacement" to "seen displacement message".
12661
12662 2010-03-28 Pedro Alves <pedro@codesourcery.com>
12663
12664 * gdb.trace/while-dyn.exp (executable): New variable.
12665 (binfile): Use it.
12666 (test_while_stepping): New function. Move most tests here. Call
12667 it once for each of the while-stepping, stepping and ws aliases.
12668
12669 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12670
12671 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12672 that do not provide the tagless_struct type name at all.
12673 (test_print_anon_union): Do not check value of uninitialized
12674 union member. Do not use cp_test_ptype_class, so we can accept
12675 "long" as well as "long int".
12676
12677 2010-03-26 Pedro Alves <pedro@codesourcery.com>
12678
12679 * gdb.trace/tfile.c (tohex, bin2hex): New.
12680 (write_error_trace_file): Hexify error description.
12681
12682 2010-03-25 Stan Shebs <stan@codesourcery.com>
12683
12684 * gdb.trace/tfile.c: Generate an additional trace file, improve
12685 portability.
12686 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12687 files in a better way.
12688
12689 2010-03-25 Keith Seitz <keiths@redhat.com>
12690
12691 * gdb.java/jprint.exp: XFAIL printing of static class members
12692 because of GCC debuginfo problem.
12693
12694 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12695
12696 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12697
12698 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12699
12700 * gdb.base/completion.exp: Allow long instead of long int.
12701 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12702 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12703 variable p.
12704 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12705 * gdb.base/pointers.exp: Allow long instead of long int.
12706 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12707 * gdb.base/step-line.exp: Allow a directory before the source file name.
12708
12709 2010-03-24 Tom Tromey <tromey@redhat.com>
12710
12711 PR breakpoints/9352:
12712 * gdb.base/default.exp: Update.
12713 * gdb.base/commands.exp: Update.
12714 * gdb.cp/extern-c.exp: Test setting commands on multiple
12715 breakpoints at once.
12716
12717 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12718
12719 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12720 if gdb,nosignals.
12721 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12722 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12723 exited".
12724
12725 2010-03-24 Stan Shebs <stan@codesourcery.com>
12726
12727 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12728
12729 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12730
12731 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12732 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12733 argument. Handle "short" and "long".
12734 (Top level): Pass overprototyped output for old_fptr and xptr.
12735
12736 2010-03-23 Pedro Alves <pedro@codesourcery.com>
12737
12738 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12739 format strings and add casts to avoid compiler warnings.
12740
12741 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12742
12743 * lib/trace-support.exp (gdb_trace_setactions):
12744 Don't expect whitespace after ">" prompt.
12745 * gdb.trace/actions.exp: Adjust for output changes.
12746 * gdb.trace/while-stepping.exp: Likewise.
12747
12748 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12749
12750 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12751 and r157645).
12752
12753 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12754
12755 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12756 New.
12757
12758 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12759
12760 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12761 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12762
12763 2010-03-19 Stan Shebs <stan@codesourcery.com>
12764
12765 * gdb.trace/ax.exp: New file.
12766
12767 2010-03-19 Doug Evans <dje@google.com>
12768
12769 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12770 output from gcc.
12771
12772 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12773 named /usr/sbin/prelink<foo>.
12774
12775 2010-03-18 Stan Shebs <stan@codesourcery.com>
12776
12777 * gdb.trace/circ.exp: Test circular-trace-buffer.
12778 * gdb.trace/tfile.exp: Update tstatus test.
12779
12780 2010-03-18 Joel Brobecker <brobecker@adacore.com>
12781
12782 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12783 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12784
12785 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12786
12787 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12788
12789 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12790
12791 * gdb.base/default.exp: Adjust the expected output of the finish
12792 and until commands when the inferior is not being run.
12793
12794 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12795
12796 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12797 * gdb.cp/nsusing.exp: Ditto.
12798
12799 2010-03-15 Tom Tromey <tromey@redhat.com>
12800
12801 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12802 * gdb.cp/userdef.cc (operator==): New function.
12803 (main): New locals mem1, mem2.
12804
12805 2010-03-15 Jie Zhang <jie@codesourcery.com>
12806
12807 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12808 Declare and use new loadtimeout variable.
12809
12810 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12811
12812 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12813 Use gdb_load later.
12814
12815 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12816
12817 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12818 literal. Add missing endlines to prints to stderr.
12819
12820 2010-03-12 Tom Tromey <tromey@redhat.com>
12821
12822 PR c++/9708:
12823 * gdb.cp/m-static.exp: Add regression test.
12824 * gdb.cp/m-static.cc (method): New method.
12825 (main): Call it.
12826
12827 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12828
12829 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12830 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12831
12832 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12833
12834 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12835
12836 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12837
12838 * lib/gdb.exp (skip_stl_tests): New.
12839 (gdb_compile): Symbian needs -ldl.
12840 (shlib_target_file): New.
12841 (shlib_symbol_file): New.
12842 (gdb_load_shlibs): Use shlib_target_file.
12843 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12844 * gdb.cp/exception.exp: Use skip_stl_tests.
12845 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12846 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12847 * gdb.cp/mb-templates.exp: Ditto.
12848 * gdb.base/commands.exp: Relax regexes.
12849 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12850 shlib_target_file and shlib_symbol_file.
12851 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12852 sections.
12853 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12854 * gdb.base/solib-disc.exp: Use
12855 shlib_target_file and shlib_symbol_file.
12856 * gdb.base/unload.exp: Don't skip on symbian. Use
12857 shlib_target_file and shlib_symbol_file.
12858 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12859
12860 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12861
12862 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12863 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12864 Issue a tfind end before looking for a tracepoint frame.
12865 * gdb.trace/tfind.exp: Adjust tstatus output.
12866 Adjust disassembly output.
12867 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12868
12869 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12870
12871 * gdb.base/break-interp.exp: Create new displacement parameter value
12872 for the test_ld calls.
12873 (reach): New parameter displacement, verify its content. New push of
12874 pf_prefix "reach-$func:". Import global expect_out.
12875 (test_core): New parameter displacement, verify its content. New push
12876 of pf_prefix "core:". New command "set verbose on". Import global
12877 expect_out.
12878 (test_attach): New parameter displacement, verify its content. New
12879 push of pf_prefix "attach:". New command "set verbose on". Import
12880 global expect_out.
12881 (test_ld): New parameter displacement, pass it to the reach, test_core
12882 and test_attach calls and verify its content in the "ld.so exit" test.
12883 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12884 (prelink): Update expected text, use gdb_test.
12885
12886 2010-03-10 Doug Evans <dje@google.com>
12887
12888 * gdb.base/checkpoint.exp: Fix comment.
12889 Lengthen timeout while doing >600 checkpoints test.
12890 Rename duplicate "kill all one" test to keep test names unique.
12891
12892 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12893
12894 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12895
12896 2010-03-08 Keith Seitz <keiths@redhat.com>
12897
12898 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12899 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12900 (dm_type_long): New function.
12901 (dm_type_unsigned_short): New function.
12902 (dm_type_unsigned_long): New function.
12903 (myint): New typedef.
12904 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12905 long, unsigned shor and long, operator char*, and typedef.
12906 (test_lookup_operator_functions): Add operator char* test.
12907 (test_paddr_operator_functions): Likewise.
12908 (test_paddr_overloaded_functions): Use probe values for
12909 short, long, and unsigned short and long.
12910 (test_paddr_hairy_functions): If the demangler probe detected
12911 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12912 demangler.
12913 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12914 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12915 and "print null_pmf".
12916 Add test "ptype a.*pmf".
12917 * gdb.cp/overload.exp: Allow optional "int" to appear with
12918 "short" and "long".
12919 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12920 long expect value for men_overload1arg.
12921 Allow "int" to appear with "short" and "long".
12922 When testing "info break", add argument for main (void).
12923 Also allow "int" to appear with "short" and "long".
12924 Ditto with "unsigned" and "long long".
12925 * gdb.java/jmain.exp: Do not enclose methods names in single
12926 quotes.
12927 * gdb.java/jmisc.exp: Likewise.
12928 * gdb.java/jprint.exp: Likewise.
12929 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12930
12931 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12932 * gdb.cp/exception.exp (backtrace after first throw)
12933 (backtrace after second throw): Allow a namespace before __cxa_throw.
12934 (backtrace after first catch, backtrace after second catch): Allow
12935 a namespace before __cxa_begin_catch.
12936
12937 * gdb.cp/cpexprs.exp: New file.
12938 * gdb.cp/cpexprs.cc: New file.
12939
12940 From Daniel Jacobowitz <dan@codesourcery.com>
12941 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12942 to use string_to_regexp.
12943 (ctor, dtor): New functions. Use them to match constructor
12944 and destructor function types.
12945 (Top level): Use runto_main.
12946
12947 2010-03-05 Tom Tromey <tromey@redhat.com>
12948
12949 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12950 gdb.target_charset.
12951 (pp_ns.to_string): Likewise.
12952
12953 2010-03-04 Keith Seitz <keiths@redhat.com>
12954
12955 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12956 can be quoted. Test that both the filename and function/line
12957 portions can be quoted at the same time.
12958
12959 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12960
12961 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12962
12963 2010-03-03 Doug Evans <dje@google.com>
12964
12965 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12966 libc contains libpthread.
12967
12968 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12969 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12970 of gdb_compile. Add another pattern to match android backtrace.
12971
12972 2010-03-03 Tom Tromey <tromey@redhat.com>
12973
12974 PR gdb/11345:
12975 * gdb.base/printcmds.exp (test_printf): Add test.
12976
12977 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 * gdb.arch/amd64-byte.exp: New.
12980 * gdb.arch/amd64-dword.exp: Likewise.
12981 * gdb.arch/amd64-pseudo.c: Likewise.
12982 * gdb.arch/amd64-word.exp: Likewise.
12983 * gdb.arch/i386-byte.exp: Likewise.
12984 * gdb.arch/i386-pseudo.c: Likewise.
12985 * gdb.arch/i386-word.exp: Likewise.
12986
12987 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12988
12989 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12990 types. Add structreg, bitfields, and flags registers.
12991 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12992 registers.
12993
12994 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12995
12996 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12997 (load_description): Set architecture if defined.
12998
12999 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
13000
13001 * gdb.python/py-frame.exp: Add read_var block tests.
13002 * gdb.python/py-frame.c (block): New function.
13003
13004 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13005 Daniel Jacobowitz <dan@codesourcery.com>
13006
13007 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
13008
13009 2010-02-25 David S. Miller <davem@davemloft.net>
13010
13011 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
13012 fix logic for setting all_syscalls_numbers.
13013
13014 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13015
13016 * Makefile.in: Add py-block and py-symbol.
13017 * gdb.python/py-symbol.exp: New File.
13018 * gdb.python/py-symtab.exp: New File.
13019 * gdb.python/py-block.exp: New File.
13020 * gdb.python/py-symbol.c: New File.
13021 * gdb.python/py-block.c: New File.
13022
13023 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13024
13025 PR python/11314
13026 * lib/gdb.exp (skip_python_tests): New function.
13027 * gdb.python/py-cmd.exp: Use skip_python_tests.
13028 * gdb.python/py-frame.exp: Likewise.
13029 * gdb.python/py-function.exp: Likewise.
13030 * gdb.python/py-prettyprint.exp: Likewise.
13031 * gdb.python/py-template.exp: Likewise.
13032 * gdb.python/py-type.exp: Likewise.
13033 * gdb.python/py-value.exp: Likewise.
13034
13035 2010-02-22 Pedro Alves <pedro@codesourcery.com>
13036
13037 PR9605
13038
13039 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
13040
13041 2010-02-19 Tom Tromey <tromey@redhat.com>
13042
13043 PR c++/8693, PR c++/9496:
13044 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
13045 regression tests.
13046
13047 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13048
13049 Fix compatibility with m68k as.
13050 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
13051 Use only /* comments */.
13052
13053 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13054
13055 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
13056 * configure: Regenerate.
13057
13058 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
13059
13060 * gdb.python/py-type.exp: Check for Python support.
13061
13062 2010-02-17 Pedro Alves <pedro@codesourcery.com>
13063
13064 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
13065 `regsub' syntax available.
13066
13067 2010-02-17 Pedro Alves <pedro@codesourcery.com>
13068
13069 * gdb.base/shmain.c (main): Remove printf call.
13070 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
13071 * gdb.base/unload.c (main): Make format of fprintf a string
13072 literal. Add missing endlines to prints to stderr.
13073 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
13074
13075 2010-02-17 Tom Tromey <tromey@redhat.com>
13076
13077 * gdb.java/jprint.java (jprint.props): New field.
13078 * gdb.java/jprint.exp (set_lang_java): Add regression test.
13079
13080 2010-02-17 Pedro Alves <pedro@codesourcery.com>
13081
13082 * gdb.base/charset.exp: Don't assume new `regsub' syntax
13083 available.
13084
13085 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13086
13087 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
13088 creation to support remote host testing.
13089
13090 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13091
13092 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
13093 Recognize "command not found".
13094
13095 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13096
13097 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
13098 single-stepping.
13099
13100 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13101
13102 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
13103 if arguments are not supported.
13104
13105 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13106
13107 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
13108 be const or non-const.
13109
13110 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13111
13112 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
13113 mi_send_resuming_command to send -exec-continue.
13114
13115 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13116
13117 * gdb.base/list.exp (test_list_filename_and_function): Add test
13118 with single quotes.
13119 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
13120 matching.
13121 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
13122 Add KFAIL'd tests for PR gdb/11289.
13123
13124 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13125
13126 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
13127
13128 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13129
13130 * gdb.base/comp-dir/subdir/dummy.txt: New file.
13131 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
13132 a temporary directory.
13133
13134 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13135
13136 * gdb.base/charset.exp: Use a single regular expression to match
13137 show host-charset and show target-charset output.
13138
13139 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13140
13141 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
13142 "Illegal process-id" expect string more exact.
13143 (attach to digits-starting nonsense is prohibited): New.
13144
13145 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13146
13147 * gdb.base/prelink.exp (set verbose on): New.
13148
13149 2010-02-12 Tomas Holmberg <th@virtutech.com>
13150
13151 * mi-reverse.exp: New file. Test for reverse option to the
13152 following MI commands: exec-continue, exec-finish, exec-next,
13153 exec-step, exec-next-instruction, exec-step-instruction.
13154
13155 2010-02-09 Joel Brobecker <brobecker@adacore.com>
13156
13157 * gdb.ada/ptype_tagged_param: New testcase.
13158
13159 2010-02-08 Tom Tromey <tromey@redhat.com>
13160
13161 PR c++/8017:
13162 * gdb.cp/overload.exp: Add tests.
13163 * gdb.cp/overload.cc (struct K): New.
13164 (namespace N): New.
13165 (main): Call new functions.
13166 (K::staticoverload): Define.
13167
13168 2010-02-08 Chris Moller <moller@mollerware.com>
13169
13170 PR gdb/10728
13171 * gdb.cp/pr10728-x.h: New file.
13172 * gdb.cp/pr10728-x.cc: New file.
13173 * gdb.cp/pr10728-y.cc: New file.
13174 * gdb.cp/pr10728.exp: New file.
13175 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
13176
13177 2010-02-08 Chris Moller <moller@mollerware.com>
13178
13179 PR gdb/9067
13180 * gdb.cp/pr9067.exp: New
13181 * gdb.cp/pr9067.cc: New
13182 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
13183
13184 2010-02-08 Joel Brobecker <brobecker@adacore.com>
13185
13186 * lib/gdb.exp (gdb_test_timeout): New global variable.
13187 Set it to timeout if not already set.
13188 (gdb_init): Reset the value of timeout to gdb_test_timeout.
13189
13190 2010-02-05 Doug Evans <dje@google.com>
13191
13192 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
13193 user.
13194
13195 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
13196
13197 PR c++/7935:
13198 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
13199
13200 2010-02-04 Tom Tromey <tromey@redhat.com>
13201
13202 * gdb.cp/virtbase.exp: Make test case names unique.
13203
13204 2010-02-02 Tom Tromey <tromey@redhat.com>
13205
13206 * gdb.cp/virtbase.exp: Add regression tests.
13207 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
13208 (main): Instantiate RHC.
13209
13210 2010-02-02 Tom Tromey <tromey@redhat.com>
13211
13212 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
13213 type-printing change.
13214
13215 2010-02-02 Tom Tromey <tromey@redhat.com>
13216
13217 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
13218 * gdb.cp/virtbase.cc: New file.
13219 * gdb.cp/virtbase.exp: New file.
13220 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
13221
13222 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13223
13224 PR libc/11214:
13225 * gdb.threads/current-lwp-dead.c: Include features.h.
13226 (HAS_NOMMU): New.
13227 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
13228
13229 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13230
13231 * gdb.base/symbol-without-target_section.exp,
13232 gdb.base/symbol-without-target_section.c: New.
13233
13234 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13235
13236 * gdb.base/bigcore.exp: Reset increased timeout.
13237 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
13238
13239 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13240
13241 * gdb.base/gcore.exp (capture_command_output): Use
13242 gdb_test_multiple.
13243
13244 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13245
13246 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
13247 * gdb.arch/thumb2-it.exp (test_it_break): New function.
13248 (Top level): Call it.
13249
13250 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13251
13252 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
13253
13254 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13255
13256 * gdb.base/call-strs.exp, gdb.base/default.exp,
13257 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
13258 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
13259 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
13260 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
13261 gdb.base/watchpoint-solib.exp: Save and restore timeout.
13262 * gdb.base/ending-run.exp: Correct restore of timeout.
13263 * gdb.base/page.exp: Remove unnecessary timeout setting.
13264
13265 2010-01-29 Joel Brobecker <brobecker@adacore.com>
13266
13267 * gdb.ada/rec_return: New testcase.
13268
13269 2010-01-29 Joel Brobecker <brobecker@adacore.com>
13270
13271 * gdb.ada/call_pn: New testcase.
13272
13273 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13274
13275 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
13276 (Top level): Use it to resume.
13277 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
13278 the Thumb mode displaced stepping error as unsupported.
13279
13280 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
13281
13282 * gdb.cp/nsusing.exp: Added more tests.
13283 * gdb.cp/nsrecurs.exp: Ditto.
13284 * gdb.cp/nsusing.cc: Added test functions.
13285 * gdb.cp/nsrecurs.cc: Ditto.
13286
13287 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13288
13289 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
13290 absolute directory pathnames in gdb.sum file.
13291
13292 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
13293
13294 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
13295 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
13296
13297 2010-01-26 Tom Tromey <tromey@redhat.com>
13298
13299 PR exp/7643:
13300 * gdb.base/printcmds.exp (test_print_string_constants): Remove
13301 setup_kfail.
13302
13303 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
13304
13305 * gdb.cp/nsrecurs.exp: New test.
13306 * gdb.cp/nsrecurs.cc: New test program.
13307 * gdb.cp/nsstress.exp: New test.
13308 * gdb.cp/nsstress.cc: New test program.
13309 * gdb.cp/nsdecl.exp: New test.
13310 * gdb.cp/nsdecl.cc: New test program.
13311
13312 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
13313
13314 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
13315 imported into file scope.
13316 Marked test as xfail.
13317 * gdb.cp/namespace-using.cc (marker5): New function.
13318 * gdb.cp/shadow.exp: New test.
13319 * gdb.cp/shadow.cc: New test program.
13320 * gdb.cp/nsimport.exp: New test.
13321 * gdb.cp/nsimport.cc: New test program.
13322
13323 2010-01-25 Tom Tromey <tromey@redhat.com>
13324
13325 PR gdb/11049:
13326 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13327 with "set print null-stop on".
13328
13329 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13330
13331 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13332 Adjust it for DISASSEMBLY_OMIT_FNAME.
13333
13334 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13335
13336 PR symtab/11199:
13337 * gdb.dwarf2/member-ptr-forwardref.exp,
13338 gdb.dwarf2/member-ptr-forwardref.S: New.
13339
13340 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13341
13342 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13343 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13344 thread1_tid_mutex. Remove gdbstop_mutex handling.
13345 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13346 thread2_tid_mutex. Remove gdbstop_mutex handling.
13347 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13348 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13349 pthread_cond_wait conditionalizations by while loops.
13350
13351 2010-01-20 Tom Tromey <tromey@redhat.com>
13352
13353 PR backtrace/10770:
13354 * gdb.dwarf2/pr10770.exp: New file.
13355 * gdb.dwarf2/pr10770.c: New file.
13356 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13357
13358 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13359
13360 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13361 that target was removed, and the test always runs native anyway.
13362
13363 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13364
13365 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13366 gdb.base/watchpoint-cond-gone-stripped.c: New.
13367
13368 2010-01-19 Tom Tromey <tromey@redhat.com>
13369
13370 PR c++/8000:
13371 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13372 existing tests.
13373 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13374 (main): Use AAA::SomeEnum.
13375
13376 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13377
13378 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13379 (test_ignore_count): Declare line_callme_body global.
13380 (run to breakpoint with ignore count): Use line_callme_body.
13381 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13382 (set line_main_hello, set line_main_return): Reindent.
13383 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13384 New.
13385 (continue to callee4): Use line_callee4_body.
13386 (check *stopped from CLI command): Use line_callee4_next.
13387 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13388 (set line_main_hello, set line_main_return): Reindent.
13389 (set line_callee4_head, set line_callee4_body): New.
13390 (continue to callee4): Use line_callee4_body.
13391
13392 2010-01-18 Tom Tromey <tromey@redhat.com>
13393
13394 PR c++/9680:
13395 * gdb.cp/casts.cc: Add new classes and variables.
13396 * gdb.cp/casts.exp: Test new operators.
13397
13398 2010-01-18 Tom Tromey <tromey@redhat.com>
13399 Thiago Jung Bauermann <bauerman@br.ibm.com>
13400
13401 * gdb.python/source2.py: New file.
13402 * gdb.python/source1: New file.
13403 * gdb.python/python.exp: Test "source" command.
13404
13405 2010-01-15 Stan Shebs <stan@codesourcery.com>
13406
13407 * gdb.trace/tfile.c: New file.
13408 * gdb.trace/tfile.exp: New file.
13409
13410 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13411
13412 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13413
13414 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13415
13416 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13417
13418 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13419
13420 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13421 (libfunc): New parameter action. Implement also selectable "sleep".
13422 * gdb.base/break-interp-main.c: Include assert.h.
13423 (libfunc): New parameter action.
13424 (main): New parameters argc and argv. Assert argc. Pass argv.
13425 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13426 (test_attach): New proc.
13427 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13428 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13429
13430 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13431
13432 * gdb.base/break-interp.exp (test_core): New proc.
13433 (test_ld): Call it.
13434
13435 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13436
13437 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13438 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13439 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13440 and gdb_compile_shlib. Use new -Wl compiler options.
13441 (dl bt, main bt): New tests.
13442
13443 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13444
13445 Support PIEs with no symfile_objfile.
13446 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13447 (test_ld): New parameter trynosym.
13448 (test_ld <$trynosym>): New block.
13449
13450 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13451
13452 * gdb.base/break-interp.exp: New file.
13453
13454 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13455
13456 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13457 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13458 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13459 test.
13460 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13461 * gdb.python/py-mi.exp: Add lazy string test.
13462
13463 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13464
13465 * lib/mi-support.exp (mi_check_thread_states): Handle
13466 core number in thread listing.
13467
13468 2010-01-12 Joel Brobecker <brobecker@adacore.com>
13469
13470 * gdb.base/maint.exp: Adjust the expected output for the
13471 "maint print type" test. Use gdb_test_multiple instead of
13472 gdb_sent/gdb_expect.
13473
13474 2010-01-11 Doug Evans <dje@google.com>
13475
13476 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13477 from gdbserver_download. All callers updated.
13478
13479 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13480
13481 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13482
13483 Implement binary numbers parsing.
13484 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13485 (test_integer_literals_rejected): New binary tests.
13486
13487 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13488
13489 * gdb.cell/configure: Regenerate.
13490
13491 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13492
13493 * gdb.base/corefile.exp: Move the core finding block out and call it as
13494 core_find, new variable $corefile, replace corefile by $corefile and
13495 [file tail $corefile] for usage vs. test names resp.
13496 * lib/gdb.exp (core_find): Move it as a new function here. New
13497 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13498 $destcore. Return "" on error.
13499
13500 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13501
13502 Workaround PR binutils/10802.
13503 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13504 (twice).
13505
13506 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13507
13508 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13509
13510 2010-01-08 Joel Brobecker <brobecker@adacore.com>
13511
13512 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13513 call, to avoid interruption.
13514
13515 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13516
13517 * gdb.stabs/weird.def (args93): New.
13518
13519 2010-01-07 Doug Evans <dje@google.com>
13520
13521 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13522
13523 2010-01-07 Tom Tromey <tromey@redhat.com>
13524
13525 * gdb.base/source.exp: Use correct line number.
13526
13527 2010-01-05 Stan Shebs <stan@codesourcery.com>
13528
13529 * gdb.trace/tracecmd.exp: Test ftrace.
13530
13531 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13532
13533 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13534
13535 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13536
13537 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13538 "uint_for_mi_testing".
13539
13540 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13541
13542 Test indented comment in file being sourced.
13543 * gdb.base/commands.exp: Test indented comment in file being sourced.
13544
13545 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13546
13547 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13548 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13549 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13550 notice.
13551
13552 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13553
13554 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13555 notice.
13556
13557 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13558
13559 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13560 missing $after_stopped and comma (,) expectation.
13561
13562 2009-12-31 Stan Shebs <stan@codesourcery.com>
13563
13564 * gdb.trace/actions.exp: Test teval action.
13565
13566 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13567
13568 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13569 (top level): Call test_watchpoint_in_big_blob.
13570 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13571 watchpoints.
13572 (func3): Write to buf.
13573
13574 2009-12-29 Stan Shebs <stan@codesourcery.com>
13575
13576 * gdb.trace/actions.exp: Test default-collect.
13577
13578 2009-12-28 Stan Shebs <stan@codesourcery.com>
13579
13580 * gdb.trace/tsv.exp: New file.
13581 * gdb.base/completion.exp: Update ambiguous info output.
13582
13583 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13584
13585 * gdb.base/find.c (main): Reference search buffers.
13586 * gdb.base/included.c (main): Reference integer.
13587 * gdb.base/ptype.c (charfoo): Declare.
13588 (intfoo): Call charfoo.
13589 * gdb.base/scope0.c (useitp): New function.
13590 (usestatics): Use useitp.
13591 (useit): Add a type for val.
13592 * gdb.base/scope1.c (useit1): Take a pointer argument.
13593 (usestatics1): Update calls to useit1.
13594 * gdb.cp/call-c.cc: Declare foo.
13595 (main): Call foo.
13596 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13597 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13598 (main): Call C::ensureRefs and ensureOtherRefs.
13599 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13600 variables.
13601 (ensureOtherRefs): New function.
13602 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13603 * gdb.cp/templates.cc (main): Call t5i.value.
13604
13605 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13606
13607 Fix compatibility with G++-4.5.
13608 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13609 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13610 (uncaught return): Remove.
13611
13612 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13613 Phil Muldoon <pmuldoon@redhat.com>
13614
13615 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13616 (bp_location13, bp_location14, bp_location17, bp_location18)
13617 (marker3_proto, marker4_proto): New variables.
13618 (breakpoint info): Update output.
13619 (run until breakpoint at marker3, run until breakpoint at marker4): New
13620 tests.
13621
13622 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13623
13624 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13625 Replace the printf call of Y by provided "y-set-1" label. New block
13626 for the second shared library.
13627 * gdb.base/unload.exp: Compile also the second library, call
13628 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13629 (single pending breakpoint info): Rename to ...
13630 (pending breakpoint info before run): ... this extended test.
13631 (libfile2, libname2, libsrcfile2, libsrc2)
13632 (lib_sl2): New variables.
13633 (exec_opts): Set also SHLIB_NAME2.
13634 (pending breakpoint info on first run at shrfunc1)
13635 (pending breakpoint info on second run at shrfunc1)
13636 (pending breakpoint info on second run at shrfunc2)
13637 (print y from libfile, print y from libfile2): New tests.
13638 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13639 * gdb.base/unloadshr2.c: New.
13640
13641 2009-12-22 Hui Zhu <teawater@gmail.com>
13642
13643 * gdb.reverse/sigall-reverse.exp: Adjust.
13644
13645 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13646
13647 PR gdb/10884
13648
13649 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13650 (main): Call do_bitfield_tests.
13651 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
13652
13653 2009-12-20 Joel Brobecker <brobecker@adacore.com>
13654
13655 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13656 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13657 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13658 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13659 gdb.modula2/unbounded1.c: Update copyright header.
13660
13661 2009-12-10 Chris Moller <moller@mollerware.com>
13662
13663 PR gdb/9399
13664 * gdb.cp/virtfunc2.exp: New tests
13665 * gdb.cp/virtfunc2.cc: New tests
13666 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13667
13668 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13669
13670 * gdb.reverse/i387-env-reverse.c: New file.
13671 * gdb.reverse/i387-env-reverse.exp: New file.
13672 * gdb.reverse/i387-stack-reverse.c: New file.
13673 * gdb.reverse/i387-stack-reverse.exp: New file.
13674
13675 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13676
13677 * gdb.python/py-type.exp (test_range): New test.
13678
13679 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13680
13681 PR python/10805
13682
13683 * gdb.python/py-type.exp: New file.
13684 * gdb.python/py-type.c: New file.
13685 * Makefile.in: Add py-type.
13686
13687 2009-12-03 Tom Tromey <tromey@redhat.com>
13688
13689 * gdb.python/py-value.exp (test_parse_and_eval): New
13690 function.
13691
13692 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13693
13694 PR gdb/11022
13695
13696 * gdb.base/pr11022.exp: New test.
13697 * gdb.base/pr11022.c: New test.
13698
13699 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13700
13701 Fix spurious false FAILs.
13702 * gdb.base/structs.c (chartest): New.
13703 (main): Fill-in chartest.
13704 * gdb.base/structs.exp (anychar_re, first): New.
13705 (start_structs_test): Import global anychar_re and first.
13706 New gdb_test call "set print elements 300; ${testfile}"
13707 (start_structs_test <$first>): New block.
13708 (any): Import global anychar_re. New variable ac. Use ${ac}.
13709
13710 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13711
13712 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13713
13714 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13715
13716 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13717 Force $srcfile file.
13718 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13719
13720 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13721
13722 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13723 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13724 * gdb.threads/watchthreads-reorder.exp: Likewise.
13725
13726 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13727
13728 PR gdb/8704
13729
13730 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13731 "if", and "thread". Correct matching in the previous test.
13732
13733 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13734
13735 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13736
13737 2009-11-23 Michael Snyder <msnyder@vmware.com>
13738
13739 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13740 * gdb.reverse-watch-precsave.exp: Ditto.
13741
13742 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13743
13744 * gdb.asm/asm-source.exp: Adjust.
13745 * gdb.base/help.exp: Adjust.
13746
13747 2009-11-22 Pedro Alves <pedro@codesourcery.com>
13748
13749 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13750 (do_syscall_tests_without_xml): Set data-directory to
13751 /the/path/to/nowhere.
13752
13753 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13754
13755 * gdb.threads/local-watch-wrong-thread.c,
13756 gdb.threads/local-watch-wrong-thread.exp: New files.
13757
13758 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13759
13760 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13761 assume new `regsub' syntax available.
13762
13763 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13764
13765 * gdb.base/watchpoint-hw-hit-once.exp,
13766 gdb.base/watchpoint-hw-hit-once.c: New.
13767
13768 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13769
13770 * gdb.threads/watchthreads-reorder.exp,
13771 gdb.threads/watchthreads-reorder.c: New.
13772
13773 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13774
13775 * gdb.xml/tdesc-regs.exp: Use for m68k.
13776
13777 2009-11-15 Pedro Alves <pedro@codesourcery.com>
13778
13779 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13780
13781 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13782
13783 * lib/gdb.exp (current_target_name): New procedure.
13784 (gdb_wrapper_target): New variable.
13785 (gdb_wrapper_init): Set gdb_wrapper_target.
13786 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13787 wrapper.
13788
13789 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13790
13791 * gdb.base/remote.exp: Delete the slowest load test.
13792 Do not load with fixed packet sizes.
13793
13794 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13795
13796 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13797
13798 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13799
13800 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13801 srcfile when setting a breakpoint.
13802
13803 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13804
13805 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13806 macros.
13807
13808 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13809
13810 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13811 to be in memory.
13812 * gdb.base/display.c (force_mem): New.
13813 (do_loops): Use it. Add breakpoint comments.
13814 (do_vars): Add a breakpoint comment.
13815 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13816 line numbers.
13817
13818 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13819
13820 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13821 instead of a bare "run".
13822
13823 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13824
13825 * gdb.python/py-prettyprint.exp: Adjust.
13826
13827 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13828
13829 * lib/cell.exp (skip_cell_tests): Clean up test files before
13830 returning.
13831
13832 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13833
13834 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13835 and the breakpoint menu. Do not call perror if a prompt is seen.
13836 Consume the following GDB prompt.
13837 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13838 * gdb.cp/namespace.exp: Use gdb_test.
13839 * gdb.cp/templates.exp: Use gdb_test.
13840 (test_template_breakpoints): Use gdb_test_multiple.
13841
13842 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13843
13844 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13845 (marker4): Reference values.
13846
13847 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13848
13849 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13850 is missing.
13851
13852 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13853
13854 * gdb.base/break.c (need_malloc): New.
13855 * gdb.base/constvars.c (main): Reference crass and crisp.
13856 * gdb.base/gdb1821.c (main): Reference bar.
13857 * gdb.cp/gdb1355.cc (main): Reference s1.
13858 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13859 (main): Call them.
13860 * gdb.cp/hang2.cc (dummy2): Define.
13861 * gdb.cp/hang3.cc (dummy3): Define.
13862 * gdb.cp/m-data.cc (main): Reference shadow.
13863
13864 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13865 Nathan Froyd <froydnj@codesourcery.com>
13866
13867 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13868 remote host.
13869
13870 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13871
13872 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13873 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13874 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13875 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13876 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13877 * gdb.dwarf2/dw2-producer.exp: Likewise.
13878 * gdb.dwarf2/mac-fileno.exp: Likewise.
13879 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13880 py-prettyprint.py to the remote host.
13881 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13882
13883 2009-11-11 Keith Seitz <keiths@redhat.com>
13884
13885 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13886 use it instead of "Foo".
13887 * gdb.cp/classes.exp (do_tests): Add a test to access
13888 a method through a typedef'd class name.
13889
13890 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13891
13892 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13893 exponents.
13894 * gdb.base/pointers.exp: Likewise.
13895 * gdb.cp/ref-types.exp: Likewise.
13896
13897 2009-11-11 Keith Seitz <keiths@redhat.com>
13898
13899 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13900 new[] and delete[].
13901 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13902 "void".
13903 (probe_demangler): Remove all single-quoting of
13904 method and variable names.
13905 (info_func_regexp): Remove the word "void" from any
13906 occurrence of "(void)".
13907 (print_addr_2): Remove all single-quoting of
13908 method names.
13909 (print_addr_2_kfail): Likewise.
13910 (print_addr): Single-quote C function names before
13911 passing to print_addr_2.
13912 (test_paddr_operator_functions): Remove single-quoting
13913 for method names.
13914 Add tests for operator new[] and operator delete[].
13915
13916 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13917
13918 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13919
13920 2009-11-09 Keith Seitz <keiths@redhat.com>
13921
13922 * gdb.cp/overload.exp: Add tests for resolving overloaded
13923 methods in expression parsing/evaluation.
13924
13925 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13926
13927 * lib/gdb.exp (default_gdb_version): Use --version instead of
13928 --command.
13929
13930 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13931
13932 * lib/gdb.exp (gdb_compile_test): New.
13933 (skip_ada_tests, skip_java_tests): New.
13934 (gdb_compile): Use gdb_compile_test for f77.
13935 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13936 * lib/java.exp (compile_java_from_source): Remove runtests check,
13937 use gdb_compile_test to record result.
13938 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13939 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13940 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13941 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13942 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13943 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13944 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13945 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13946 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13947 adjust gdb_compile invocations.
13948
13949 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13950
13951 * Makefile.in (abs_builddir): New.
13952 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13953 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13954 `$(abs_builddir)/site.exp'.
13955
13956 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13957
13958 * config/m68k-emc.exp, lib/emc-support.exp,
13959 gdb.trace/gdb_c_test.c: Delete.
13960 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13961 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13962 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13963 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13964 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13965 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13966 casing for m68k-*-elf.
13967
13968 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13969
13970 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13971 * gdb.arch/i386-prologue.exp: Likewise.
13972 * gdb.arch/i386-unwind.exp: Likewise.
13973
13974 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13975
13976 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13977
13978 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13979
13980 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13981
13982 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13983
13984 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13985
13986 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13987
13988 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13989
13990 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13991
13992 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13993 * gdb.base/sepdebug2.c: New file.
13994
13995 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13996
13997 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13998 the modified warnings for catch syscall. Verify if GDB was compiled
13999 with support for lib expat, and choose which tests to run depending
14000 on this.
14001
14002 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
14003
14004 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
14005 that composite commands are parsed OK. And also test
14006 that breakpoint commands do work.
14007
14008 2009-10-23 Michael Snyder <msnyder@vmware.com>
14009
14010 gdb.reverse/consecutive-precsave.exp: Change expect pattern
14011 to allow for new disassembly style.
14012
14013 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14014
14015 * gdb.asm/asm-source.exp: Adjust.
14016
14017 2009-10-22 Michael Snyder <msnyder@vmware.com>
14018
14019 * gdb.reverse/break-precsave.exp: New test.
14020 * gdb.reverse/consecutive-precsave.exp: Ditto.
14021 * gdb.reverse/finish-precsave.exp: Ditto.
14022 * gdb.reverse/i386-precsave.exp: Ditto.
14023 * gdb.reverse/machinestate-precsave.exp: Ditto.
14024 * gdb.reverse/sigall-precsave.exp: Ditto.
14025 * gdb.reverse/solilb-precsave.exp: Ditto.
14026 * gdb.reverse/step-precsave.exp: Ditto.
14027 * gdb.reverse/until-precsave.exp: Ditto.
14028 * gdb.reverse/watch-precsave.exp: Ditto.
14029
14030 2009-10-22 Michael Snyder <msnyder@vmware.com>
14031
14032 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
14033 for gdb_expect. Adjust one test's expect strings for the new
14034 format of disassemble.
14035 * gdb.reverse/finish-reverse.exp: Delete 'return'.
14036 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
14037 gdb_test_multiple.
14038 * gdb.reverse/step-reverse.exp: Delete 'return'.
14039 * gdb.reverse/until-reverse.exp: Delete blank lines.
14040 * gdb.reverse/watch-reverse.exp: Delete blank lines.
14041
14042 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
14043
14044 * gdb.base/consecutive.exp: Adjust.
14045 * gdb.base/display.exp: Likewise.
14046 * gdb.base/pc-fp.exp: Likewise.
14047 * gdb.base/sigbpt.exp: Likewise.
14048
14049 2009-10-19 Michael Snyder <msnyder@vmware.com>
14050
14051 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
14052 * gdb.reverse/finish-reverse.c: Ditto.
14053 * gdb.reverse/sigall-reverse.c: Ditto.
14054 * gdb.reverse/solib-reverse.c: Ditto.
14055 * gdb.reverse/step-reverse.c: Ditto.
14056 * gdb.reverse/watch-reverse.c: Ditto.
14057
14058 2009-10-19 Pedro Alves <pedro@codesourcery.com>
14059 Stan Shebs <stan@codesourcery.com>
14060
14061 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
14062 * gdb.base/foll-exec.exp: Adjust to expect a process id before
14063 "Executing new program".
14064 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
14065 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
14066 left listed after having been killed.
14067 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
14068 * gdb.base/maint.exp: Adjust test.
14069
14070 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
14071 * gdb.multi/Makefile.in: New.
14072 * gdb.multi/base.exp: New.
14073 * gdb.multi/goodbye.c: New.
14074 * gdb.multi/hangout.c: New.
14075 * gdb.multi/hello.c: New.
14076 * gdb.multi/bkpt-multi-exec.c: New.
14077 * gdb.multi/bkpt-multi-exec.exp: New.
14078 * gdb.multi/crashme.c: New.
14079
14080 2009-10-13 Tristan Gingold <gingold@adacore.com>
14081
14082 * gdb.base/sepdebug.exp: Check debug info are found.
14083
14084 2009-10-08 Pedro Alves <pedro@codesourcery.com>
14085
14086 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
14087 bits.
14088
14089 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14090
14091 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
14092
14093 2009-10-07 Joel Brobecker <brobecker@adacore.com>
14094
14095 * gdb.base/watchpoints.c: Add copyright header. Reformat one
14096 of the comments.
14097
14098 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
14099
14100 * gdb.base/annota1.exp: Remove obsolete match_max increase.
14101 * gdb.base/annota3.exp: Idem.
14102 * gdb.base/maint.exp: Idem.
14103
14104 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
14105
14106 * lib/gdb.exp (default_gdb_init): Set current value of match_max
14107 to default.
14108
14109 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14110
14111 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
14112 mingw and cygwin targets.
14113
14114 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14115 Pedro Alves <pedro@codesourcery.com>
14116
14117 * lib/gdb.exp (gdb_compile): Avoid adding
14118 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
14119
14120 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14121
14122 * gdb.base/shr1.c: Use %p in format string.
14123 * gdb.base/unload.c: Avoid warning in fprintf.
14124 * gdb.base/watchpoint-solib.c: Idem.
14125
14126 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14127
14128 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
14129 long type.
14130 (test_unlink): Correct printf string.
14131 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
14132 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
14133
14134 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14135
14136 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
14137 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
14138 * gdb.arch/ia64-breakpoint-shadow.S: New file.
14139
14140 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14141
14142 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
14143 * gdb.objc/nondebug.exp: Likewise.
14144
14145 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14146
14147 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
14148 target_info setting.
14149
14150 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
14151 that detect new threads during "info threads".
14152
14153 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14154
14155 * gdb.threads/manythreads.c (main): Increase thread stack size
14156 to 2*PTHREAD_STACK_MIN.
14157 * gdb.threads/multi-create.c (main): Likewise.
14158 (create_function): Likewise.
14159
14160 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14161
14162 * gdb.base/dump.exp: Pass difference of pointer types instead
14163 of integer types as offset to restore in intarr3.srec case.
14164
14165 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14166
14167 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
14168
14169 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14170
14171 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
14172
14173 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
14174
14175 New test for two watchpoints, with disabling of
14176 the first inserted.
14177 * testsuite/gdb.base/watchpoints.c: New file.
14178 * testsuite/gdb.base/watchpoints.exp: New file.
14179
14180 2009-09-25 Tom Tromey <tromey@redhat.com>
14181
14182 * gdb.base/charset.exp: Test utf-16 strings with Python.
14183
14184 2009-09-25 Tom Tromey <tromey@redhat.com>
14185
14186 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
14187 UCS-4.
14188 * gdb.base/charset.c (utf_32_string): Rename.
14189 (init_utf32): Rename.
14190 (main): Update.
14191
14192 2009-09-22 Tom Tromey <tromey@redhat.com>
14193
14194 * gdb.python/py-function.exp: Add regression tests.
14195
14196 2009-09-21 Keith Seitz <keiths@redhat.com>
14197
14198 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
14199 with invalid operator.
14200
14201 2009-09-21 Keith Seitz <keiths@redhat.com>
14202
14203 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
14204 and destructor using typedef name of class.
14205 * gdb.cp/classes.cc (class Base1): Add a destructor.
14206 (base1): New typedef.
14207 (use_methods): Instanitate an object of type base1.
14208 * gdb.cp/templates.exp (test_template_typedef): New procedure.
14209 (do_tests): Call test_template_typedef.
14210 * gdb.cp/templates.cc (Baz::~Baz): New method.
14211 (intBazOne): New typedef.
14212 (main): Instantiate intBazOne.
14213
14214 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14215
14216 PR python/10633
14217
14218 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
14219 Function.
14220 (run_lang_tests): Add print elements test.
14221
14222 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14223
14224 * gdb.python/py-value.exp (test_subscript_regression): New
14225 function. Test for invalid subscripts.
14226 * gdb.python/py-value.c (main): Add test array, and pointer to it.
14227 (ptr_ref): New function.
14228
14229 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14230
14231 * gdb.base/default.exp: Fix "show convenience".
14232
14233 2009-09-15 Tom Tromey <tromey@redhat.com>
14234
14235 * lib/mi-support.exp (mi_create_varobj): Update.
14236 (mi_create_floating_varobj): Likewise.
14237 (mi_create_dynamic_varobj): New proc.
14238 (mi_varobj_update): Update.
14239 (mi_varobj_update_with_type_change): Likewise.
14240 (mi_varobj_update_kv_helper): New proc.
14241 (mi_varobj_update_dynamic_helper): Rewrite.
14242 (mi_varobj_update_dynamic): New proc.
14243 (mi_list_varobj_children): Update.
14244 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
14245 * gdb.python/python-prettyprint.py (pp_outer): New class.
14246 (pp_nullstr): Likewise.
14247 (lookup_function): Register new printers.
14248 * gdb.python/python-prettyprint.c (struct substruct): New type.
14249 (struct outerstruct): Likewise.
14250 (substruct_test): New function.
14251 (struct nullstr): New type.
14252 (string_1, string_2): New globals.
14253 (main): Add new tests.
14254 * gdb.python/python-mi.exp: Added regression tests.
14255 * gdb.mi/mi2-var-display.exp: Update.
14256 * gdb.mi/mi2-var-cmd.exp: Update.
14257 * gdb.mi/mi2-var-child.exp: Update.
14258 * gdb.mi/mi2-var-block.exp: Update.
14259 * gdb.mi/mi-var-invalidate.exp: Update.
14260 * gdb.mi/mi-var-display.exp: Update.
14261 * gdb.mi/mi-var-cmd.exp: Update.
14262 * gdb.mi/mi-var-child.exp: Update.
14263 * gdb.mi/mi-var-block.exp: Update.
14264 * gdb.mi/mi-break.exp: Update.
14265 * gdb.mi/gdb701.exp: Update.
14266
14267 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14268
14269 * Makefile.in: Inclusion of catch-syscall object.
14270 * gdb.base/catch-syscall.c: New file.
14271 * gdb.base/catch-syscall.exp: New file.
14272
14273 2009-09-12 Michael Snyder <msnyder@vmware.com>
14274
14275 * gdb.reverse/step-reverse.exp: Explicitly check for targets
14276 that can support reverse debuggnig.
14277
14278 2009-09-11 Tom Tromey <tromey@redhat.com>
14279
14280 * gdb.dwarf2/valop.S: New file.
14281 * gdb.dwarf2/valop.exp: New file.
14282
14283 2009-09-11 Mark Kettenis <kettenis@gnu.org>
14284
14285 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
14286
14287 2009-09-10 Doug Evans <dje@google.com>
14288
14289 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
14290 Add $gdb_prompt to second breakpoint regexp.
14291
14292 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
14293
14294 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
14295 names, add missing ones.
14296 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
14297 * gdb.python/py-frame.c: Rename from python-frame.c.
14298 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
14299 testfile name.
14300 * gdb.python/py-function.exp: Rename from python-function.exp.
14301 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
14302 testfile name.
14303 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
14304 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
14305 Adjust testfile name.
14306 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
14307 * gdb.python/py-template.cc: Rename from python-template.cc.
14308 * gdb.python/py-template.exp: Rename from python-template.exp.
14309 Adjust testfile name.
14310 * gdb.python/py-value.c: Rename from python-value.c.
14311 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
14312 testfile name.
14313
14314 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14315
14316 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
14317 $bpt2address.
14318 (Second breakpoint address is valid on ia64)
14319 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14320
14321 2009-09-03 Joseph Myers <joseph@codesourcery.com>
14322
14323 * gdb.base/ending-run.exp: Restrict regular expression matching
14324 line number to require closing brace following.
14325
14326 2009-09-03 Doug Evans <dje@google.com>
14327
14328 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14329
14330 2009-09-02 Tom Tromey <tromey@redhat.com>
14331
14332 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14333
14334 2009-09-02 Tom Tromey <tromey@redhat.com>
14335
14336 * gdb.dwarf2/callframecfa.exp: New file.
14337 * gdb.dwarf2/callframecfa.S: New file.
14338
14339 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14340
14341 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14342 gdb.base/solib-overlap-main.c: New.
14343
14344 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14345
14346 PR gdb/10565
14347
14348 * gdb.base/bitfields.c (struct container, container): New.
14349 (main): Initialize it and call break5.
14350 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14351
14352 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14353
14354 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14355 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14356
14357 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14358
14359 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14360
14361 2009-08-26 Michael Snyder <msnyder@vmware.com>
14362
14363 * gdb.base/i386-reverse.c: New file.
14364 * gdb.base/i386-reverse.exp: New file.
14365 * gdb.base/Makefile.in: Add new files to be removed.
14366
14367 2009-08-26 Joseph Myers <joseph@codesourcery.com>
14368
14369 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14370 environment-pwd for remote host.
14371 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14372
14373 2009-08-24 Keith Seitz <keiths@redhat.com>
14374
14375 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14376 Add two new C++ completer tests which limit the output to a
14377 given class.
14378
14379 2009-08-24 Michael Snyder <msnyder@vmware.com>
14380
14381 * gdb.base/del.exp: Fix typo in comment.
14382 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14383
14384 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14385
14386 * configure: Regenerate.
14387 * gdb.hp/configure: Likewise.
14388 * gdb.hp/gdb.aCC/configure: Likewise.
14389 * gdb.hp/gdb.base-hp/configure: Likewise.
14390 * gdb.hp/gdb.compat/configure: Likewise.
14391 * gdb.hp/gdb.defects/configure: Likewise.
14392 * gdb.hp/gdb.objdbg/configure: Likewise.
14393 * gdb.stabs/configure: Likewise.
14394
14395 2009-08-19 Doug Evans <dje@google.com>
14396
14397 * gdb.base/gdbvars.c: New file.
14398 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14399
14400 2009-08-14 Pedro Alves <pedro@codesourcery.com>
14401
14402 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14403 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14404
14405 2009-08-13 Pedro Alves <pedro@codesourcery.com>
14406
14407 * gdb.base/default.exp: Adjust "set language test": it's now an
14408 enum command. Larger help string moved to "help set language".
14409 * gdb.base/help.exp: Adjust "help set language" expected output,
14410 now lists all known languages.
14411
14412 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14413
14414 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14415 all frame arguments.
14416 * gdb.arch/altivec-regs.exp: Likewise.
14417
14418 2009-08-07 Tom Tromey <tromey@redhat.com>
14419
14420 * gdb.base/setshow.exp: Add tests for changes to set language, set
14421 check range, and set check type.
14422
14423 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14424
14425 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14426 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
14427 Call it.
14428
14429 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14430
14431 * configure.ac: Run gdb.cell tests when appropriate.
14432 * configure: Regenerate.
14433 * lib/cell.exp: New file.
14434 * gdb.cell: New directory.
14435 * gdb.cell/configure.ac: New file.
14436 * gdb.cell/configure: New file.
14437 * gdb.cell/Makefile.in: New file.
14438 * gdb.cell/arch.exp: New file.
14439 * gdb.cell/break.c: New file.
14440 * gdb.cell/break.exp: New file.
14441 * gdb.cell/break-spu.c: New file.
14442 * gdb.cell/bt.c: New file.
14443 * gdb.cell/bt2-spu.c: New file.
14444 * gdb.cell/bt-spu.c: New file.
14445 * gdb.cell/bt.exp: New file.
14446 * gdb.cell/coremaker.c: New file.
14447 * gdb.cell/coremaker-spu.c: New file.
14448 * gdb.cell/core.exp: New file.
14449 * gdb.cell/gcore.exp: New file.
14450 * gdb.cell/data.c: New file.
14451 * gdb.cell/data.exp: New file.
14452 * gdb.cell/data-spu.c: New file.
14453 * gdb.cell/ea-cache.exp: New file.
14454 * gdb.cell/ea-cache.c: New file.
14455 * gdb.cell/ea-cache-spu.c: New file.
14456 * gdb.cell/ea-standalone.c: New file.
14457 * gdb.cell/ea-standalone.exp: New file.
14458 * gdb.cell/ea-test.c: New file.
14459 * gdb.cell/ea-test.exp: New file.
14460 * gdb.cell/f-regs.exp: New file.
14461 * gdb.cell/mem-access.c: New file.
14462 * gdb.cell/mem-access.exp: New file.
14463 * gdb.cell/mem-access-spu.c: New file.
14464 * gdb.cell/ptype.exp: New file.
14465 * gdb.cell/registers.exp: New file.
14466 * gdb.cell/size.c: New file.
14467 * gdb.cell/sizeof.exp: New file.
14468 * gdb.cell/size-spu.c: New file.
14469 * gdb.cell/solib.exp: New file.
14470 * gdb.cell/solib-symbol.exp: New file.
14471
14472 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14473
14474 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14475
14476 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14477
14478 * gdb.base/float.exp: Handle VFP registers.
14479
14480 2009-07-14 Michael Snyder <msnyder@vmware.com>
14481
14482 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14483 to bring gdb to the beginning of the calling line.
14484
14485 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14486 confusing the i386 epilogue unwinder.
14487
14488 2009-07-14 Stan Shebs <stan@codesourcery.com>
14489
14490 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14491
14492 2009-07-14 Michael Snyder <msnyder@vmware.com>
14493
14494 * gdb.reverse/step-reverse.exp (stepi into function call):
14495 Call instruction may not be first instruction in the line.
14496 (reverse stepi from a function call): Used wrong line number.
14497
14498 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14499
14500 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14501
14502 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14503
14504 Fix gdb.base/macscp.exp when using custom inputrc.
14505 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14506 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14507 env(TERM) set.
14508 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14509 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14510
14511 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14512
14513 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14514 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14515 Change the compilation target to match the testcase name.
14516 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14517 testcase name.
14518 * a2-run.exp: Use for setup prepare_for_testing. Change the
14519 compilation target to match the testcase name.
14520 * gdb.base/commands.exp: Likewise.
14521 * gdb.base/finish.exp: Likewise.
14522 * gdb.base/float.exp: Likewise.
14523 * gdb.base/info-target.exp: Likewise.
14524 * gdb.base/relational.exp: Likewise.
14525 * gdb.base/term.exp: Likewise.
14526 * gdb.base/until.exp: Likewise.
14527 * gdb.base/volatile.exp: Likewise.
14528 * gdb.base/whatis-exp.exp: Likewise.
14529
14530 2009-07-11 Hui Zhu <teawater@gmail.com>
14531
14532 * gdb.base/help.exp (disassemble): Update expected help text.
14533
14534 2009-07-09 Tom Tromey <tromey@redhat.com>
14535
14536 * lib/gdb.exp: Handle TRANSCRIPT.
14537 (remote_spawn, remote_close, send_gdb): New procs.
14538
14539 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14540
14541 * gdb.python/python-prettyprint.c: Add counted null string
14542 structure.
14543 * gdb.python/python-prettyprint.exp: Print null string. Test for
14544 embedded nulls.
14545 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14546 * gdb.python/python-value.exp (test_value_in_inferior): Add
14547 variable length string fetch tests.
14548 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14549
14550 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14551
14552 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14553
14554 2009-07-07 Tom Tromey <tromey@redhat.com>
14555
14556 * gdb.base/call-rt-st.exp: Update for change to escape output.
14557 * gdb.base/callfuncs.exp: Likewise.
14558 * gdb.base/charset.exp: Likewise.
14559 * gdb.base/constvars.exp: Likewise.
14560 * gdb.base/long_long.exp: Likewise.
14561 * gdb.base/pointers.exp: Likewise.
14562 * gdb.base/printcmds.exp: Likewise.
14563 * gdb.base/setvar.exp: Likewise.
14564 * gdb.base/store.exp: Likewise.
14565 * gdb.cp/ref-types.exp: Likewise.
14566 * gdb.mi/mi-var-child.exp: Likewise.
14567 * gdb.mi/mi-var-display.exp: Likewise.
14568 * gdb.mi/mi2-var-display.exp: Likewise.
14569 * gdb.base/charset.exp: Test octal escape sequence length.
14570 Update for change to escape output.
14571
14572 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14573
14574 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14575
14576 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14577
14578 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14579
14580 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14581
14582 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14583 gdbserver increasing $portnum if "Can't bind address" has been seen.
14584
14585 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14586
14587 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14588 mingw32ce.
14589
14590 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14591
14592 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14593 VFP format.
14594
14595 2009-07-02 Pedro Alves <pedro@codesourcery.com>
14596
14597 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14598 linux. Adjust to use "inferior", "info inferiors", "detach
14599 inferior" and "kill inferior" instead of "restart", "info fork",
14600 "detach fork" and "delete fork".
14601 * gdb.base/ending-run.exp: Spell out "info".
14602 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14603 the "kill" command.
14604
14605 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14606
14607 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14608 change to prefix TLS offset in hex with 0x.
14609
14610 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14611
14612 * gdb.base/default.exp: Update test case for "x" changes.
14613
14614 2009-07-01 Tristan Gingold <gingold@adacore.com>
14615
14616 * gdb.base/bigcore.exp: Make darwin untested.
14617
14618 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14619
14620 * gdb.base/completion.exp (directory completion): Create the directory.
14621 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14622 escapeuniquesub.
14623 (directory completion 2): Expect now ${escapeuniquesub}.
14624 (Glob remaining of directory test): Remove one excessive newline.
14625 Expect the real output.
14626
14627 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14628
14629 Fix `make check//%' target after `make check' has been ran.
14630 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14631 a mkdir call.
14632 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14633 (%/.dir): Remove.
14634
14635 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14636
14637 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14638 the expected result record.
14639
14640 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14641
14642 Remove racy FAILs relying just on the timeouts.
14643 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14644 (annotation_level 2): Remove racy FAILs.
14645
14646 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14647
14648 gdb/10275
14649 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14650
14651 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14652
14653 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14654
14655 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14656
14657 * gdb.mi/mi-stack.exp: Testing symbolic options
14658 to -stack-list-locals and -stack-list-arguments.
14659
14660 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14661
14662 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14663
14664 2009-06-29 Tom Tromey <tromey@redhat.com>
14665
14666 * dg-extract-results.sh: New file.
14667 * Makefile.in (FORCE_PARALLEL): New variable.
14668 (CHECK_TARGET): New conditional variable.
14669 (check): Use CHECK_TARGET.
14670 (DO_RUNTEST): New variable.
14671 (check-single): New target.
14672 (TEST_DIRS): New variable.
14673 (TEST_TARGETS): Likewise.
14674 (check-parallel): New target.
14675 (check-gdb.%): New pattern.
14676 (BASE1_FILES): New variable.
14677 (BASE2_FILES): Likewise.
14678 (check-gdb.base%): New pattern.
14679 (%/.dir): New pattern.
14680 * configure: Rebuild.
14681 * aclocal.m4 (AM_CONDITIONAL): New defun.
14682 * configure.ac: Check whether user is using GNU make.
14683 (GMAKE): New conditional.
14684
14685 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14686
14687 * gdb.cp/namespace-nested-import.cc: New test.
14688 * gdb.cp/namespace-nested-import.exp: New test.
14689
14690 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14691
14692 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14693 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14694 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14695 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14696 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14697 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14698 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14699 gdb.opt/inline-markers.c: New files.
14700 * lib/gdb.exp (skip_inline_frame_tests): New function.
14701 (skip_inline_var_tests): New function.
14702
14703 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14704
14705 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14706 backtrace.
14707
14708 2009-06-27 Michael Snyder <msnyder@vmware.com>
14709
14710 * gdb.reverse: New directory.
14711 * gdb.reverse/break-reverse.c: New test.
14712 * gdb.reverse/break-reverse.exp: New test.
14713 * gdb.reverse/consecutive-reverse.c: New test.
14714 * gdb.reverse/consecutive-reverse.exp: New test.
14715 * gdb.reverse/finish-reverse.c: New test.
14716 * gdb.reverse/finish-reverse.exp: New test.
14717 * gdb.reverse/machinestate.c: New test.
14718 * gdb.reverse/ms1.c: New test.
14719 * gdb.reverse/machinestate.exp: New test.
14720 * gdb.reverse/Makefile.in: New file.
14721 * gdb.reverse/shr2.c: New test.
14722 * gdb.reverse/solib-reverse.c: New test.
14723 * gdb.reverse/solib-reverse.exp: New test.
14724 * gdb.reverse/step-reverse.c: New test.
14725 * gdb.reverse/step-reverse.exp: New test.
14726 * gdb.reverse/until-reverse.c: New test.
14727 * gdb.reverse/ur1.c: New test.
14728 * gdb.reverse/until-reverse.exp: New test.
14729 * gdb.reverse/watch-reverse.c: New test.
14730 * gdb.reverse/watch-reverse.exp: New test.
14731 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14732 * configure: Regenerate.
14733
14734 2009-06-26 Doug Evans <dje@google.com>
14735
14736 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14737
14738 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14739
14740 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14741 windows problem for 'file delete $binfile'.
14742
14743 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14744
14745 * gdb.cp/namespace-using.exp: New test.
14746 * gdb.cp/namespace-using.cc: New test.
14747
14748 2009-05-20 Joel Brobecker <brobecker@adacore.com>
14749
14750 * gdb.ada/variant_record_packed_array: New testcase.
14751
14752 2009-06-23 Tom Tromey <tromey@redhat.com>
14753
14754 * gdb.base/charset.exp (test_combination): Regression test.
14755 * gdb.base/charset.c (my_wchar_t): New typedef.
14756 (myvar): New global.
14757 (main): Set myvar.
14758
14759 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14760
14761 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14762 target.
14763
14764 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14765
14766 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14767
14768 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14769
14770 * gdb.mi/gdb680.exp: Update test for error message.
14771
14772 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14773
14774 * gdb.base/annota1.exp: Allow multiple occurrences of the
14775 frames-invalid annotation.
14776 * gdb.cp/annota2.exp: Likewise.
14777
14778 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14779
14780 * gdb.cp/gdb2495.cc: New file.
14781 * gdb.cp/gdb2495.exp: New file.
14782
14783 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14784
14785 Report error on GDB crash during runto.
14786 * lib/gdb.exp (runto <eof>): New.
14787
14788 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14789
14790 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14791 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14792 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14793 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14794 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14795 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14796 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14797 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14798 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14799 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14800 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14801 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14802 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14803 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14804 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14805 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14806 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14807 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14808 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14809 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14810 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14811 gdb.trace/passcount.exp, gdb.trace/report.exp,
14812 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14813 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14814 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14815 executable.
14816
14817 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14818
14819 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14820 defined before referencing it.
14821
14822 2009-06-03 Doug Evans <dje@google.com>
14823
14824 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14825 * gdb.arch/i386-see.c: Ditto.
14826
14827 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14828
14829 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14830 (check_macro): Return 1 if undefined.
14831 If first test fails, check if macro debug information is available,
14832 and report unsupported test if no macro information is found.
14833
14834 2009-05-29 Doug Evans <dje@google.com>
14835
14836 * gdb.threads/hand-call-in-threads.exp: New.
14837 * gdb.threads/hand-call-in-threads.c: New.
14838
14839 2009-05-29 Michael Snyder <msnyder@vmware.com>
14840
14841 * gdb.base/break-always.exp: Change "1" to "on".
14842 Add confirmation check.
14843
14844 2009-05-28 Pedro Alves <pedro@codesourcery.com>
14845
14846 * gdb.threads/threxit-hop-specific.c: New.
14847 * gdb.threads/threxit-hop-specific.exp: New.
14848 * gdb.threads/thread-execl.c: New.
14849 * gdb.threads/thread-execl.exp: New.
14850
14851 2009-05-27 Tom Tromey <tromey@redhat.com>
14852 Thiago Jung Bauermann <bauerman@br.ibm.com>
14853
14854 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14855 (mi_child_regexp): Likewise.
14856 (mi_list_varobj_children_range): Likewise.
14857 (mi_get_features): Likewise.
14858 (mi_list_varobj_children): Rewrite.
14859 * gdb.python/python-mi.exp: New file.
14860
14861 2009-05-27 Tom Tromey <tromey@redhat.com>
14862 Thiago Jung Bauermann <bauerman@br.ibm.com>
14863 Phil Muldoon <pmuldoon@redhat.com>
14864 Paul Pluzhnikov <ppluzhnikov@google.com>
14865
14866 * gdb.python/python-prettyprint.exp: New file.
14867 * gdb.python/python-prettyprint.c: New file.
14868 * gdb.python/python-prettyprint.py: New file.
14869 * gdb.base/display.exp: print/r is now valid.
14870
14871 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14872 Tom Tromey <tromey@redhat.com>
14873 Pedro Alves <pedro@codesourcery.com>
14874 Paul Pluzhnikov <ppluzhnikov@google.com>
14875
14876 * gdb.python/python-template.exp: New file.
14877 * gdb.python/python-template.cc: New file.
14878 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14879 tests.
14880 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14881 Call it.
14882 (test_value_after_death): New proc.
14883 * gdb.python/python-value.c (PTR): New typedef.
14884 (main): New variable 'x'.
14885
14886 2009-05-27 Tom Tromey <tromey@redhat.com>
14887
14888 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14889 tests.
14890 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14891 Call it.
14892
14893 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14894
14895 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14896
14897 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14898
14899 * gdb.threads/fork-thread-pending.c: New.
14900 * gdb.threads/fork-thread-pending.exp: New.
14901
14902 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14903
14904 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14905 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14906
14907 2009-05-18 Jon Beniston <jon@beniston.com>
14908
14909 * gdb.asm/asm-source.exp: Add lm32 target.
14910
14911 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14912
14913 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14914 `gdb_get_line_number'. Call `callee' in both parent and child.
14915 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14916 `gdb_get_line_number' instead of hardcoding line numbers.
14917 (catch_fork_unpatch_child): New procedure to test detaching
14918 breakpoints from child fork.
14919 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14920 hardcoding line numbers.
14921 (do_fork_tests): Run `catch_fork_unpatch_child'.
14922
14923 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14924
14925 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14926 of structure type enters or leaves the scope, it
14927 is reported by -var-update.
14928
14929 2009-05-11 Doug Evans <dje@sebabeach.org>
14930
14931 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14932 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14933 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14934
14935 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14936
14937 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14938
14939 2009-04-30 Doug Evans <dje@google.com>
14940
14941 * gdb.threads/watchthreads2.exp: New testcase.
14942 * gdb.threads/watchthreads2.c: New testcase.
14943
14944 2009-04-29 Doug Evans <dje@google.com>
14945
14946 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14947 * gdb.cp/mb-ctor.cc: Ditto.
14948 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14949 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14950 * gdb.cp/mb-inline1.cc: Call it.
14951 * gdb.cp/mb-inline2.cc: Ditto.
14952 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14953 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14954
14955 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14956
14957 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14958 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14959 Replace all uses of `decimal' by `nonzero'.
14960 (info macro FROM_COMMANDLINE): New test.
14961
14962 2009-04-27 Tom Tromey <tromey@redhat.com>
14963
14964 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14965
14966 2009-04-27 Doug Evans <dje@google.com>
14967
14968 * gdb.threads/watchthreads.c (main): Initialize args before starting
14969 the threads. Plus formatting cleanup.
14970 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14971 biased scheduling of one thread.
14972
14973 2009-04-27 Jerome Guitton <guitton@adacore.com>
14974
14975 * gdb.cp/templates.cc (GetMax): New template.
14976 (main): Declare two instances of GetMax.
14977 * gdb.cp/templates.exp: Add new test.
14978
14979 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14980
14981 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14982
14983 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14984
14985 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14986
14987 2009-04-15 Tom Tromey <tromey@redhat.com>
14988
14989 * gdb.base/charset.exp: Add regression test.
14990
14991 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14992
14993 * gdb.base/exe-lock.exp: New testcase.
14994
14995 2009-04-13 Tom Tromey <tromey@redhat.com>
14996
14997 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14998 operator on Frame.
14999
15000 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15001
15002 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
15003 * gdb.server/ext-attach.exp: Likewise.
15004
15005 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
15006
15007 Eliminate some sleep usage.
15008
15009 * gdb.mi/basics.c (do_nothing): New.
15010 (main): Use do_nothing instead of printf, so that
15011 not to introduce race condition between output of
15012 inferiour and output of gdb. Do not use sleep as it
15013 is not generally available on embedded targets.
15014
15015 2009-04-02 Pedro Alves <pedro@codesourcery.com>
15016
15017 * gdb.server/ext-attach.exp: Expect an optional process id after
15018 "Detached from remote process".
15019
15020 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15021
15022 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
15023 gdb.dwarf2/dw2-unresolved.exp: New.
15024
15025 2009-04-02 Pedro Alves <pedro@codesourcery.com>
15026
15027 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
15028 mi_run_to_main.
15029
15030 2009-04-02 Pedro Alves <pedro@codesourcery.com>
15031
15032 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
15033 mi_run_to_main. Skip thread exit test on remote targets.
15034 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
15035 mi_run_to_main.
15036 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
15037 mi_run_to_main.
15038 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
15039 when expecting ^connected. Detect when the target doesn't support
15040 non-stop mode.
15041 (mi_run_cmd): Detect if non-stop mode was requested by isn't
15042 supported. Return -1 on error, 0 on success.
15043 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
15044 (mi_runto): Return mi_runto_helper's result explicitly.
15045
15046 2009-04-01 Pedro Alves <pedro@codesourcery.com>
15047
15048 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
15049
15050 2009-04-01 Tom Tromey <tromey@redhat.com>
15051
15052 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
15053 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
15054 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
15055 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
15056
15057 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
15058 Jan Kratochvil <jan.kratochvil@redhat.com>
15059
15060 PR gdb/931
15061 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
15062 output.
15063 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
15064 for gdb/931.
15065 * dw2-strp.S (DW_AT_language): Change to C++.
15066 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
15067
15068 2009-03-31 Joel Brobecker <brobecker@adacore.com>
15069
15070 * gdb.ada/tasks: New testcase.
15071
15072 2009-03-30 Stan Shebs <stan@codesourcery.com>
15073
15074 * gdb.trace/actions.exp: Update to match new info trace format.
15075 * gdb.trace/deltrace.exp: Ditto.
15076 * gdb.trace/infotrace.exp: Ditto.
15077 * gdb.trace/passcount.exp: Ditto.
15078 * gdb.trace/save-trace.exp: Ditto.
15079 * gdb.trace/while-stepping.exp: Ditto.
15080 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
15081
15082 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15083
15084 * gdb.python/python-frame.c: New file.
15085 * gdb.python/python-frame.exp: New file.
15086
15087 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
15088
15089 * gdb.python/python-value.exp: Add tests for the address
15090 attribute.
15091
15092 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
15093
15094 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
15095
15096 2009-03-26 Doug Evans <dje@google.com>
15097
15098 * gdb.mi/mi-nonstop-exit.exp: New file.
15099 * gdb.mi/non-stop-exit.c: New file.
15100
15101 2009-03-26 Tom Tromey <tromey@redhat.com>
15102
15103 Update for change to prologue skipping:
15104 * gdb.mi/mi2-simplerun.exp: Update.
15105 * gdb.mi/mi2-break.exp: Update.
15106 * gdb.mi/mi-simplerun.exp: Update.
15107 * gdb.mi/mi-break.exp: Update.
15108 * gdb.base/ending-run.exp: Update.
15109
15110 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
15111
15112 * gdb.python/python-value.exp (test_value_in_inferior): Test
15113 gdb.Value.is_optimized_out attribute.
15114
15115 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15116
15117 * gdb.dwarf2/dw2-noloc-main.c: New file.
15118 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
15119 (.text): Remove.
15120 (.data): New.
15121 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
15122 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
15123 (DW_TAG_subprogram func_cu1, noloc): Remove.
15124 (main): New.
15125 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
15126 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
15127 (file_symbols): New procedure.
15128
15129 2009-03-25 Tom Tromey <tromey@redhat.com>
15130
15131 * gdb.base/charset.exp (valid_target_charset): New proc.
15132 Use it to skip tests on invalid charsets.
15133
15134 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
15135
15136 * gdb.base/completion.exp: Add a test for directory completion.
15137
15138 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15139
15140 Fix a racy FAIL.
15141 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
15142 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
15143
15144 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
15145
15146 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
15147 * gdb.python/python-function.exp: Add test for function returning
15148 a GDB value.
15149
15150 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
15151
15152 * gdb.python/python-function.exp: New file.
15153
15154 2009-03-20 Tom Tromey <tromey@redhat.com>
15155
15156 * gdb.base/store.exp: Update for change to escape output.
15157 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
15158 to escape output.
15159 * gdb.base/pointers.exp: Update for change to escape output.
15160 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
15161 to escape output.
15162 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
15163 escape output.
15164 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
15165 to escape output.
15166 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
15167 escape output.
15168 * gdb.base/setvar.exp: Update for change to escape output.
15169 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
15170 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
15171 to escape output.
15172 (test_print_string_constants): Likewise.
15173 * gdb.base/charset.exp (valid_host_charset): Check size of
15174 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
15175 cases. Handle "auto"-related output.
15176 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
15177 (uvar, Uvar): New globals.
15178
15179 2009-03-19 Jerome Guitton <guitton@adacore.com>
15180
15181 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
15182 deltas.
15183 * gdb.ada/fixed_points.exp: Ditto.
15184
15185 2009-03-18 Pedro Alves <pedro@codesourcery.com>
15186
15187 * return-nodebug.c: Don't include stdio.h.
15188 (init): Delete.
15189 (func): Delete definition and provide extern declaration.
15190 (t): New.
15191 (main): Don't call printf. Call func and store its result in t.
15192 * return-nodebug1.c: New.
15193 * return-nodebug.exp: Don't expect stdio output. Instead, print
15194 the global variable t. Drop printf formatters and cast types from
15195 foreach loop. Don't use prepare_for_testing. Compile
15196 return-nodebug.c and return-nodebug1.c in separate steps. Don't
15197 define FORMAT or CAST.
15198
15199 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15200
15201 * gdb.base/solib-display.exp: Disable test for remote targers.
15202
15203 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15204
15205 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
15206
15207 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15208
15209 Fix a racy FAIL.
15210 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
15211 code from `follow parent, print pids'.
15212 (`follow child, print pids', `follow parent, print pids'): Call it.
15213 Replace `gdb_test "break..."' by gdb_breakpoint.
15214
15215 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
15216
15217 * gdb.mi/mi-cli.exp: Adjust for output difference in
15218 sync and async modes.
15219
15220 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15221
15222 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
15223 that was checked in by mistake. Remove loading of ada.exp, since
15224 this is not necessary in this case.
15225
15226 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15227
15228 * gdb.ada/ptype_arith_binop.exp: New testcase.
15229
15230 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15231
15232 * gdb.ada/mod_from_name: New testcase.
15233
15234 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15235
15236 * gdb.ada/tick_last_segv: New testcase.
15237
15238 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15239
15240 * gdb.mi/mi-cli.exp: Remove debug print.
15241
15242 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15243
15244 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
15245 include the token in ^running and frame info in *stopped.
15246
15247 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15248
15249 * solib-display.exp: New file.
15250 * solib-display-main.c: New file.
15251 * solib-display-lib.c: New file.
15252
15253 2009-03-05 Pedro Alves <pedro@codesourcery.com>
15254
15255 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
15256
15257 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15258
15259 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
15260 (list_and_check_macro): Use more specific test name.
15261 (next to definition): Make the test names unique.
15262
15263 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
15264
15265 * gdb.pascal/floats.exp: Accept approximate results everywhere.
15266
15267 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15268
15269 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
15270 notifications.
15271 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
15272 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
15273 * lib/mi-support.exp (library_loaded_re): New.
15274 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
15275
15276 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15277
15278 * gdb.gdb/observer.exp: Use test_notification observer, not
15279 normal_stop, everywhere.
15280 (test_normal_stop_notifications): Rename to...
15281 (test_notifications): ...this.
15282 (test_observer_normal_stop): Rename to...
15283 (test_observer): ...this.
15284
15285 2009-02-16 Doug Evans <dje@google.com>
15286
15287 * gdb.arch/amd64-disp-step.S (test_int3): New test.
15288 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
15289 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
15290 (test_prefixed_syscall,test_int3): New tests.
15291 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
15292 (test_prefixed_syscall,test_int3): New tests.
15293
15294 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
15295
15296 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
15297 (mi_expect_interrupt): Likewise.
15298 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
15299 response.
15300
15301 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15302
15303 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
15304 * gdb.base/pc-fp.exp (get_valueofx): Remove.
15305 Replace calls to get_valueofx by get_hexadecimal_valueof.
15306
15307 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15308
15309 * lib/gdb.exp (get_valueof): Accept anything as a return value.
15310 (get_integer_valueof): New procedure.
15311 (get_sizeof): Use new get_integer_value_of.
15312 * gdb.base/sizeof.exp: Replace all uses of get_valueof
15313 by get_integer_valueof.
15314
15315 2009-02-13 Tom Tromey <tromey@redhat.com>
15316
15317 * gdb.base/remote.exp (get_sizeof): Remove.
15318 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15319 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15320 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15321 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15322 (get_sizeof): Likewise.
15323
15324 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15325
15326 PR fortran/9806
15327 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15328
15329 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15330
15331 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15332
15333 2009-02-06 Pedro Alves <pedro@codesourcery.com>
15334
15335 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15336
15337 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15338
15339 * gdb.python/python-cmd.exp: New file.
15340
15341 2009-02-06 Tristan Gingold <gingold@adacore.com>
15342
15343 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15344
15345 2009-02-05 Tristan Gingold <gingold@adacore.com>
15346
15347 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15348 pointer is dereferenced and use this signal name in regexp.
15349 * gdb.base/signull.exp: Ditto.
15350 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15351 * gdb.base/signull.c (main): Ditto.
15352
15353 2009-02-04 Tom Tromey <tromey@redhat.com>
15354 Thiago Jung Bauermann <bauerman@br.ibm.com>
15355
15356 * gdb.python/python-value.exp: Use `gdb.history' instead of
15357 `gdb.value_from_history'.
15358 (test_value_numeric_ops): Add test for conversion of enum constant.
15359 * gdb.python/python-value.c (enum e): New type.
15360 (evalue): New global.
15361 (main): Use argv.
15362
15363 2009-02-04 Jerome Guitton <guitton@adacore.com>
15364
15365 * gdb.ada/uninitialized_vars: New test program.
15366 * gdb.ada/uninitialized_vars.exp: New testcase.
15367
15368 2009-02-02 Tom Tromey <tromey@redhat.com>
15369
15370 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15371 * gdb.cp/pr2489.cc: Rename...
15372 * gdb.cp/pr9594.cc: ... to this.
15373
15374 2009-02-02 Tom Tromey <tromey@redhat.com>
15375
15376 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15377 * gdb.cp/pr2489.cc: New file.
15378 * gdb.cp/cpcompletion.exp: New file.
15379
15380 2009-02-02 Tom Tromey <tromey@redhat.com>
15381
15382 PR exp/9059:
15383 * gdb.cp/call-c.exp: Add regression test.
15384 * gdb.cp/call-c.cc (FooHandle): New typedef.
15385 (main): New variable 'handle'.
15386
15387 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15388
15389 * lib/mi-support.exp (et_mi_thread_list)
15390 (check_mi_and_console_threads): Adjust for current thread in
15391 -thread-list-ids output.
15392
15393 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15394
15395 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15396 Call it.
15397
15398 2009-01-28 Doug Evans <dje@google.com>
15399
15400 * gdb.arch/amd64-disp-step.S: New file.
15401 * gdb.arch/amd64-disp-step.exp: New file.
15402 * gdb.arch/i386-disp-step.S: New file.
15403 * gdb.arch/i386-disp-step.exp: New file.
15404
15405 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15406
15407 * gdb.base/find.exp: Set newline variable
15408 using quotes instead of braces to fix cygwin failures.
15409
15410 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15411
15412 * gdb.base/radix.exp: Add tests to ensure that that set
15413 input-radix 0 and set output-radix 0 are really rejected.
15414
15415 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15416
15417 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15418 copyright years.
15419
15420 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15421
15422 PR gdb/9664:
15423 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15424
15425 2009-01-22 Pedro Alves <pedro@codesourcery.com>
15426
15427 PR c++/9631:
15428 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15429
15430 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15431
15432 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15433 binfile definition to fix Windows OS failure.
15434
15435 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15436
15437 PR gdb/9346
15438 * gdb.base/interrupt.c (sigint_handler): New.
15439 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15440 on error.
15441 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15442 Test "signal SIGINT".
15443
15444 2009-01-19 Doug Evans <dje@google.com>
15445
15446 * gdb.base/break.exp: Update expected gdb output.
15447 * gdb.base/sepdebug.exp: Ditto.
15448 * gdb.mi/mi-syn-frame.exp: Ditto.
15449 * gdb.mi/mi2-syn-frame.exp: Ditto.
15450 * gdb.base/call-signal-resume.exp: New file.
15451 * gdb.base/call-signals.c: New file.
15452 * gdb.base/unwindonsignal.exp: New file.
15453 * gdb.base/unwindonsignal.c: New file.
15454 * gdb.threads/interrupted-hand-call.exp: New file.
15455 * gdb.threads/interrupted-hand-call.c: New file.
15456 * gdb.threads/thread-unwindonsignal.exp: New file.
15457
15458 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15459
15460 * gdb.base/define.exp: Test defining and hooking prefix commands.
15461 * gdb.python/python.exp: Update test for "show user" output.
15462
15463 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15464
15465 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15466 now the output exactly, using less wildcards. Expect also the output
15467 of gfortran-4.3. Update for the f-valprint.c modification from
15468 2008-04-22.
15469 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15470 Remove gdb_test test names where matching the command.
15471
15472 2009-01-01 Pedro Alves <pedro@codesourcery.com>
15473
15474 PR breakpoints/9681:
15475 * gdb.base/watchpoint.exp: Add regression test.
15476
15477 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15478
15479 * gdb.threads/attach-into-signal.exp: Don't use
15480 gdb_suppress_entire_file.
15481 * gdb.threads/attach-stopped.exp: Ditto.
15482 * gdb.threads/attachstop-mt.exp: Ditto.
15483
15484 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15485
15486 PR gdb/8812:
15487 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15488
15489 2008-12-29 Pedro Alves <pedro@codesourcery.com>
15490
15491 PR gdb/7536:
15492 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15493 and unsupported output radices are really rejected.
15494
15495 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15496
15497 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15498
15499 2008-12-22 Tom Tromey <tromey@redhat.com>
15500
15501 * gdb.cp/punctuator.exp: New file.
15502
15503 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15504
15505 * gdb.base/completion.exp (Completing non-existing component): New test.
15506
15507 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15508
15509 Fix for PR gdb/8648.
15510 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15511 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15512 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15513 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15514
15515 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15516
15517 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15518
15519 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
15520
15521 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15522 compiler actually generate code at the expected line number.
15523
15524 2008-12-15 Jie Zhang <jie.zhang@analog.com>
15525
15526 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15527
15528 2008-12-12 Tom Tromey <tromey@redhat.com>
15529
15530 * gdb.base/commands.exp (redefine_hook_test): New proc.
15531 Call it.
15532
15533 2008-12-11 Tom Tromey <tromey@redhat.com>
15534
15535 * gdb.base/macscp.exp: New regression test.
15536
15537 2008-12-11 Tom Tromey <tromey@redhat.com>
15538
15539 * gdb.base/macscp.exp: Print "address.addr".
15540 * gdb.base/macscp1.c (struct outer): New struct.
15541 (address): New global.
15542
15543 2008-12-09 Tom Tromey <tromey@redhat.com>
15544
15545 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15546 Call it.
15547
15548 2008-12-04 Doug Evans <dje@google.com>
15549
15550 * gdb.server/ext-run.exp: Relax regexp for init program.
15551
15552 2008-12-03 Tristan Gingold <gingold@adacore.com>
15553
15554 * gdb.base/macscp.exp: Generate an object file during compilation
15555 to work around Darwin dsymutil limitations.
15556
15557 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15558
15559 Test resolving external references to TLS variables.
15560 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15561 FILE2_THREAD_LOCAL.
15562 (testfile2, srcfile2): New variables.
15563 * gdb.threads/tls.c (file2_thread_local)
15564 (function_referencing_file2_thread_local): New.
15565 * gdb.threads/tls2.c: New file.
15566
15567 2008-11-28 Joel Brobecker <brobecker@adacore.com>
15568
15569 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
15570 rather than integer, as integer might not be big enough when
15571 on 64bit targets.
15572
15573 2008-11-27 Jerome Guitton <guitton@adacore.com>
15574
15575 * gdb.cp/formatted-ref.exp: Add equality test.
15576 * gdb.ada/formatted_ref.exp: Ditto.
15577
15578 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15579
15580 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15581 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15582
15583 2008-11-20 Andreas Schwab <schwab@suse.de>
15584
15585 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15586 matching syscall entry point.
15587 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15588 (tcatch_vfork_then_child_follow): Likewise. Finish through
15589 vfork even if we stopped at the syscall trampoline.
15590
15591 2008-11-20 Doug Evans <dje@google.com>
15592
15593 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15594
15595 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15596
15597 * gdb.arch/ppc-dfp.exp: New file.
15598 * gdb.arch/ppc-dfp.c: New file.
15599
15600 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15601
15602 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
15603
15604 2008-11-17 Doug Evans <dje@google.com>
15605
15606 * gdb.mi/mi-syn-frame.exp: Update expected output.
15607 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15608
15609 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15610
15611 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
15612 "thread N" results in =thread-selected.
15613 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15614 (mi_send_resuming_command_raw): Be prepared for
15615 =thread-selected.
15616
15617 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15618
15619 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15620 * lib/mi-support.exp: Likewise.
15621
15622 2008-11-16 Joel Brobecker <brobecker@adacore.com>
15623
15624 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15625 commands from the expected output for "help catch".
15626
15627 2008-11-15 Joel Brobecker <brobecker@adacore.com>
15628
15629 * gdb.ada/int_deref.exp: New testcase.
15630
15631 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
15632
15633 * gdb.mi/gdb2549.exp: New file.
15634
15635 2008-11-11 Doug Evans <dje@google.com>
15636
15637 * gdb.base/callexit.exp: New file.
15638 * gdb.base/callexit.c: New file.
15639
15640 2008-11-10 Doug Evans <dje@google.com>
15641
15642 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15643 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15644 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15645 (default_gdb_start,default_gdb_exit): Ditto.
15646 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15647 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15648 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15649 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15650 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15651 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15652
15653 2008-11-03 Andreas Schwab <schwab@suse.de>
15654
15655 * gdb.base/hashline2.exp: Fix typo.
15656 * gdb.base/hashline3.exp: Likewise.
15657
15658 2008-10-30 Tom Tromey <tromey@redhat.com>
15659
15660 * gdb.base/pointers.exp: Add test.
15661 * gdb.base/pointers.c (k, S): New typedefs.
15662 (instance): New global.
15663
15664 2008-10-30 Andreas Schwab <schwab@suse.de>
15665
15666 * gdb.base/args.exp: Add tests for newlines.
15667
15668 2008-10-30 Joel Brobecker <brobecker@adacore.com>
15669
15670 gdb.base/foll-exec.exp: Update the expected output of a couple
15671 of "info breakpoints" tests.
15672
15673 2008-10-28 Tom Tromey <tromey@redhat.com>
15674
15675 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15676
15677 2008-10-24 Pedro Alves <pedro@codesourcery.com>
15678
15679 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15680 gdb_start_cmd.
15681 Use runto_main before any test that requires execution.
15682
15683 2008-10-23 Pedro Alves <pedro@codesourcery.com>
15684
15685 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15686 instead of SIGINT.
15687
15688 2008-10-22 Joel Brobecker <brobecker@adacore.com>
15689
15690 * gdb.base/completion.exp: Update expected output following
15691 the addition of the "info tasks" command.
15692
15693 2008-10-22 Tom Tromey <tromey@redhat.com>
15694
15695 * gdb.base/exprs.exp (test_expr): Add test for string
15696 concatenation.
15697
15698 2008-10-19 Pedro Alves <pedro@codesourcery.com>
15699
15700 * configure.ac: Output gdb.python/Makefile.
15701 * configure: Regenerate.
15702 * gdb.python/Makefile.in: New.
15703
15704 2008-10-16 Joel Brobecker <brobecker@adacore.com>
15705
15706 * gdb.base/foll-fork.exp: Adjust the expected output to match
15707 the new description for fork/vfork catchpoints in the "info
15708 breakpoints" output.
15709
15710 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15711
15712 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15713
15714 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15715
15716 * gdb.python/python-value.c: New file.
15717 * gdb.python/python-value.exp: New file.
15718
15719 2008-10-15 Pedro Alves <pedro@codesourcery.com>
15720
15721 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15722
15723 2008-10-15 Denis Pilat <denis.pilat@st.com>
15724
15725 * gdb.cp/mb-ctor.exp: Fix a typo.
15726
15727 2008-10-09 Tom Tromey <tromey@redhat.com>
15728
15729 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15730 'fprintf' and 'stderr'.
15731
15732 2008-10-07 Joel Brobecker <brobecker@adacore.com>
15733
15734 * gdb.ada/ref_tick_size.exp: New testcase.
15735
15736 2008-10-06 Doug Evans <dje@google.com>
15737
15738 * gdb.dwarf2/dw2-cu-size.exp: New file.
15739 * gdb.dwarf2/dw2-cu-size.S: New file.
15740
15741 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15742 .Ltype_int for clarity.
15743
15744 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15745
15746 PR gdb/2384:
15747 * gdb.cp/gdb2384.exp: Extended to test more cases.
15748 * gdb.cp/gdb2384.cc: Likewise.
15749 * gdb.cp/gdb2384-base.h: Likewise.
15750 * gdb.cp/gdb2384-base.cc: Likewise.
15751
15752 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15753
15754 * gdb.base/maint.exp (maint print type): Remove printing
15755 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15756
15757 2008-09-30 Tom Tromey <tromey@redhat.com>
15758
15759 * gdb.base/macscp.exp: Add completion tests.
15760 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15761 (TWENTY_THREE): Likewise.
15762 (FORTY_EIGHT): Likewise.
15763
15764 2008-09-30 Tom Tromey <tromey@redhat.com>
15765
15766 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15767 everywhere.
15768 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15769
15770 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15771
15772 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15773 testcase is derived from. Fix racy dependency on an expected PID
15774 number. No longer support the testcase on Linux kernel 2.4.x.
15775
15776 2008-09-27 Tom Tromey <tromey@redhat.com>
15777
15778 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15779 and varargs.
15780
15781 2008-09-22 Pedro Alves <pedro@codesourcery.com>
15782
15783 * lib/mi-support.exp (mi_expect_interrupt): New.
15784 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15785 from gdb.mi/mi-nonstop.exp.
15786 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15787 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15788 lib/mi-support.exp.
15789 Use mi_check_thread_states throughout. Avoid ".*" and do not
15790 require an anchor after -exec-run.
15791
15792 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15793
15794 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15795 stop is pending. Avoid ".*" when two stops are pending.
15796 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15797 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15798 newlines in fullnames.
15799 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15800 (mi_expect_stop): Update comments. Only anchor in sync mode.
15801 Do not match newlines.
15802 (mi_send_resuming_command_raw): Always return status.
15803 (mi_get_stop_line): Do not match more than one line by accident.
15804 Only anchor in sync mode.
15805 (mi_run_inline_test): If -exec-next fails, give up.
15806
15807 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15808
15809 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15810 on SPU.
15811
15812 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15813
15814 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15815
15816 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15817
15818 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15819 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15820 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15821 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15822 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15823 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15824 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15825 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15826 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15827 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15828 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15829 Include the "= " sequence in the expected output of print tests.
15830
15831 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15832
15833 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15834 description for boolean types.
15835
15836 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15837
15838 * gdb.base/hook-stop-continue.c: New.
15839 * gdb.base/hook-stop-continue.exp: New.
15840
15841 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15842
15843 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15844
15845 2008-09-08 Jerome Guitton <guitton@adacore.com>
15846
15847 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15848 (stack_check_probe_2, stack_check_probe_loop_1)
15849 (stack_check_probe_loop_2): New functions.
15850 (main): Add call to these new functions.
15851 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15852 functions, check that the breakpoint is inserted at the appropriate
15853 location.
15854 (insert_breakpoint): Slightly refine this procedure so that it can
15855 be called several times in the test.
15856
15857 2008-09-08 Jerome Guitton <guitton@adacore.com>
15858
15859 * gdb.base/stack-checking.c: New file.
15860 * gdb.base/stack-checking.exp: New file.
15861
15862 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15863
15864 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15865 * gdb.arch/altivec-regs.exp: Likewise.
15866 * gdb.arch/vsx-regs.exp: Likewise.
15867
15868 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15869
15870 * gdb.arch/ppc-fp.exp: New file.
15871 * gdb.arch/ppc-fp.c: New file.
15872
15873 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15874
15875 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15876 lest gcc-4.3.1 optimizes the whole thing away.
15877
15878 2008-09-04 Michael Snyder <msnyder@vmware.com>
15879
15880 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15881 as "at" (for non-debug functions such as _start).
15882
15883 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15884
15885 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15886 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15887 software watchpoints.
15888 * gdb.base/watch_thread_num.exp: Likewise.
15889
15890 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15891
15892 * gdb.arch/i386-bp_permanent.exp: New test.
15893
15894 2008-08-24 Tom Tromey <tromey@redhat.com>
15895
15896 * gdb.base/maint.exp: Update "maint print type".
15897
15898 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15899
15900 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15901 support. Adjust the order of "*running" notifications.
15902 * gdb.mi/non-stop.c: Don't cast from int to void* and
15903 back.
15904
15905 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15906
15907 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15908 expect to find it in the "info frame" output.
15909
15910 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15911
15912 * gdb.base/interp.exp: Always consume both prompts.
15913
15914 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15915
15916 * gdb.base/pending.exp: Test pending breakpoints without symbols
15917 loaded.
15918
15919 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15920
15921 * lib/mi-support.exp (mi_expect_stop): Produce
15922 more details on failures.
15923 * gdb.mi/mi-nonstop.exp: New.
15924 * gdb.mi/non-stop.c: New.
15925
15926 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15927
15928 * gdb.mi/mi-async.exp: Use 'set target-async'.
15929 * lib/mi-support.exp: Use 'set/show target-async'.
15930
15931 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15932
15933 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15934
15935 2008-08-17 Tom Tromey <tromey@redhat.com>
15936
15937 * gdb.base/help.exp (help catch): Rewrite.
15938
15939 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15940
15941 * gdb.base/define.exp: Test indented command documentation.
15942 * gdb.python/python.exp: Test indented multi-line command.
15943
15944 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15945
15946 * testsuite/gdb.arch/vsx-regs.c: New source file.
15947 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15948 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15949
15950 2008-08-14 Tom Tromey <tromey@redhat.com>
15951
15952 * gdb.base/macscp.exp: Add regression test for "macro define" or
15953 "macro undef" with no arguments.
15954
15955 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15956
15957 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15958
15959 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15960
15961 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15962
15963 2008-08-06 Tom Tromey <tromey@redhat.com>
15964
15965 * gdb.python/python.exp: New file.
15966
15967 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15968
15969 Fix for PR gdb/1543.
15970 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15971 $LOCATION.
15972 (location): New variable.
15973 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15974 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15975 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15976 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15977 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15978 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15979 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15980 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15981 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15982 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15983 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15984 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15985 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15986 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15987 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15988 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15989 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15990 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15991 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15992 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15993 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15994 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15995 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15996 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15997 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15998 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15999 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
16000 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
16001 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
16002 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
16003 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
16004 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
16005 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
16006 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
16007 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
16008 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
16009 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
16010 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16011 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
16012 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
16013 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
16014 gdb.base/type-opaque.exp, gdb.base/until.exp,
16015 gdb.base/value-double-free.c, gdb.base/varargs.exp,
16016 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
16017 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
16018 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
16019 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
16020 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
16021 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
16022 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
16023 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
16024 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
16025 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
16026 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
16027 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
16028 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
16029 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
16030 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
16031 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16032 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
16033 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
16034 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
16035 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16036 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
16037 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
16038 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
16039 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16040 gdb.pascal/types.exp, gdb.stabs/weird.exp,
16041 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
16042 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
16043 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
16044 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
16045 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
16046 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
16047 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16048 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
16049 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16050 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
16051 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16052 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16053 lib/mi-support.exp, lib/trace-support.exp: Remove reference
16054 to bug-gdb@prep.ai.mit.edu .
16055
16056 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
16057
16058 * lib/mi-support.exp (mi_load_shlibs): New.
16059 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
16060
16061 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
16062
16063 * lib/mi-support.exp (get_mi_thread_list)
16064 (check_mi_and_console_threads): New, moved from ...
16065 * gdb.mi/mi-pthread.exp: ...here.
16066 * gdb.mi/gdb669.exp (get_mi_thread_list)
16067 (check_mi_and_console_threads): Delete.
16068 * gdb.mi/mi2-pthread.exp: Likewise.
16069
16070 2008-07-28 Tom Tromey <tromey@redhat.com>
16071
16072 * Makefile.in (just-check): Remove. Move body to...
16073 (check): ... here.
16074
16075 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16076
16077 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
16078 Add a test for duplicated SIGINTs.
16079
16080 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16081
16082 * gdb.threads/schedlock.exp (get_args): Update to work for any
16083 value of NUM.
16084 (Top level): Report the number of threads that did not resume.
16085
16086 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16087
16088 * gdb.dwarf2/dw2-compressed.S: Also define __start.
16089
16090 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16091
16092 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
16093 non-MI prompt.
16094
16095 2008-07-26 Tom Tromey <tromey@redhat.com>
16096
16097 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
16098 (function_struct, function_struct_ptr): New globals.
16099 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
16100 function pointer in a struct.
16101
16102 2008-07-26 Tom Tromey <tromey@redhat.com>
16103
16104 * gdb.base/macscp.exp: Add test for macro lexing bug.
16105
16106 2008-07-18 Tom Tromey <tromey@redhat.com>
16107
16108 * gdb.base/macscp.exp: Add macro tests.
16109
16110 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16111
16112 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
16113
16114 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16115
16116 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
16117
16118 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
16119
16120 * gdb.cp/class2.exp: fix for failure on spu-elf
16121
16122 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
16123
16124 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
16125
16126 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16127
16128 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
16129
16130 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
16131
16132 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
16133
16134 2008-07-11 Kevin Buettner <kevinb@redhat.com>
16135
16136 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
16137 of regexp to account for changes made to GDB in the printing of
16138 byte vectors.
16139
16140 2008-07-11 Tom Tromey <tromey@redhat.com>
16141
16142 * gdb.base/completion.exp: Add 'help' completion test.
16143
16144 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16145
16146 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
16147
16148 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16149
16150 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
16151
16152 2008-07-09 Pedro Alves <pedro@codesourcery.com>
16153
16154 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
16155
16156 2008-07-09 Pedro Alves <pedro@codesourcery.com>
16157
16158 * gdb.base/fullname.exp: Restore pwd if compiling failed.
16159
16160 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16161
16162 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
16163
16164 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16165
16166 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
16167 previous commit. Add a comment.
16168
16169 2008-06-28 Pedro Alves <pedro@codesourcery.com>
16170
16171 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
16172
16173 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16174
16175 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
16176
16177 2008-06-27 Pedro Alves <pedro@codesourcery.com>
16178
16179 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
16180 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
16181 compiling an executable, link in an object that forces unbuffered
16182 output.
16183 * lib/set_unbuffered_mode.c: New file.
16184
16185 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16186
16187 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
16188
16189 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
16190
16191 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
16192 mi_expect_stop.
16193 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
16194 Demand that *running is output.
16195 (detect_async): Perform checking every time.
16196 (mi_send_resuming_command): Extract everything into...
16197 (mi_send_resuming_command_raw): ...this.
16198 (mi_expect_stop): Don't accept any output before *stopped.
16199
16200 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
16201
16202 Robustify mi-simplerun.
16203 * gdb.mi/basics.c (main): Add a call to sleep.
16204 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
16205 * gdb.mi/mi2-cli.exp: Likewise.
16206 * gdb.mi/mi-break.exp: Likewise.
16207
16208 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
16209
16210 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
16211
16212 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16213
16214 * gdb.mi/mi-console.exp: Adjust.
16215 * gdb.mi/mi-syn-frame.exp: Adjust.
16216 * gdb.mi/mi2-console.exp: Adjust.
16217 * gdb.mi/mi2-syn-frame.exp: Adjust.
16218 * lib/mi-support.exp (mi_run_cmd): Adjust.
16219 (mi_send_resuming_command): Adjust.
16220
16221 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16222
16223 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
16224 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
16225 testing of stopped.
16226 * gdb.mi/mi2-syn-frame.exp: Likewise.
16227 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
16228 (async, detect_async): New.
16229 (mi_expect_stop, mi_continue_to_line): Adjust expectation
16230 depending on if we're running in sync or async mode.
16231
16232 2008-06-09 Tom Tromey <tromey@redhat.com>
16233
16234 * gdb.base/completion.exp: New tests for field name completion
16235 with spaces, and field name completion with '->'.
16236
16237 2008-06-06 Tom Tromey <tromey@redhat.com>
16238
16239 * gdb.base/break1.c (struct some_struct): New struct.
16240 (values): New global.
16241 * gdb.base/completion.exp: Add field name completion test.
16242
16243 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16244
16245 * gdb.cp/call-c.exp: Test for incorrect handling of reference
16246 to pointer.
16247 * gdb.cp/call-c.cc: Likewise.
16248
16249 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
16250
16251 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
16252 annotation.
16253
16254 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16255 Pedro Alves <pedro@codesourcery.com>
16256
16257 * gdb.threads/execl.c, gdb.threads/execl1.c,
16258 gdb.threads/execl.exp: New tests.
16259
16260 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
16261 Daniel Jacobowitz <dan@codesourcery.com>
16262
16263 * gdb.cp/exception.exp: Activate test, make it work with pending
16264 catchpoints.
16265
16266 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
16267
16268 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
16269
16270 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
16271
16272 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
16273 now printed.
16274 * gdb.mi/mi2-var-cmd.exp: Likewise.
16275
16276 2008-05-27 Andreas Schwab <schwab@suse.de>
16277
16278 * gdb.base/frame-args.exp: Handle arguments that are optimized
16279 out.
16280
16281 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
16282
16283 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
16284 quiet for ppc32 and group options into a single variable.
16285
16286 2008-05-23 Joel Brobecker <brobecker@adacore.com>
16287
16288 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
16289 of zero-size elements.
16290 * gdb.ada/null_array.exp: Test printing this new array.
16291
16292 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16293
16294 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
16295
16296 2008-05-21 Joel Brobecker <brobecker@adacore.com>
16297
16298 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
16299 of the "finish" command.
16300
16301 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
16302
16303 * gdb.base/annota1.exp: Test for new annotation.
16304
16305 2008-05-16 Pedro Alves <pedro@codesourcery.com>
16306
16307 * gdb.base/fixsection.exp: New file.
16308 * gdb.base/fixsection0.c: New file.
16309 * gdb.base/fixsection1.c: New file.
16310
16311 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16312
16313 * gdb.base/annota1.exp: Accept printf@... in place of printf.
16314 * gdb.base/annota3.exp: Likewise.
16315
16316 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
16317
16318 * gdb.base/watch_thread_num.exp: Don't run tests that require
16319 watchpoints if the target doesn't support them.
16320
16321 2008-05-12 Doug Evans <dje@google.com>
16322
16323 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16324
16325 2008-05-09 Joel Brobecker <brobecker@adacore.com>
16326
16327 * gdb.ada/assign_1.exp: New testcase.
16328
16329 2008-05-09 Doug Evans <dje@google.com>
16330
16331 * gdb.base/find.exp: New file.
16332 * gdb.base/find.c: New file.
16333
16334 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16335
16336 * gdb.base/commands.exp (watchpoint_command_test): Handle
16337 gdb,no_hardware_watchpoints.
16338 * gdb.base/float.exp: Allow ARM targets without floating point.
16339 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16340
16341 2008-05-06 Jerome Guitton <guitton@adacore.com>
16342 Joel Brobecker <brobecker@adacore.com>
16343
16344 * gdb.ada/lang_switch: New test program.
16345 * gdb.ada/lang_switch.exp: New testcase.
16346
16347 2008-05-05 Doug Evans <dje@google.com>
16348
16349 * gdb.base/help.exp (disassemble): Update expected help text.
16350
16351 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16352
16353 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16354
16355 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16356
16357 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16358 different times.
16359
16360 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16361
16362 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16363 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16364 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16365 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16366
16367 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16368
16369 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16370 notification to appear.
16371
16372 2008-05-04 Daniel Jacobowitz <dan@debian.org>
16373
16374 * gdb.base/fullname.c: New file.
16375 * gdb.base/fullname.exp: New file.
16376 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16377
16378 2008-05-03 Pedro Alves <pedro@codesourcery.com>
16379
16380 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16381 expressions with macros.
16382
16383 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16384
16385 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16386
16387 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16388
16389 * gdb.base/completion.exp: Handle lack of other symbols beginning
16390 with "a".
16391
16392 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16393
16394 2008-05-02 Jim Blandy <jimb@codesourcery.com>
16395
16396 * gdb.asm/asmsrc1.s: Add scratch space.
16397
16398 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16399 Daniel Jacobowitz <dan@codesourcery.com>
16400
16401 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16402 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16403 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16404
16405 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16406
16407 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16408
16409 2008-05-01 Joel Brobecker <brobecker@adacore.com>
16410
16411 * gdb.base/info-target.exp: New testcase.
16412
16413 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16414
16415 * gdb.cp/hang.exp: Use .cc instead of .C.
16416 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16417 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16418
16419 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16420
16421 * gdb.base/gdb1250.exp: Remove perror.
16422 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16423
16424 2008-04-30 Pedro Alves <pedro@codesourcery.com>
16425
16426 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16427 .2byte.
16428
16429 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16430
16431 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16432 (maybe_kfail): New.
16433
16434 2008-04-25 Pedro Alves <pedro@codesourcery.com>
16435
16436 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16437
16438 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16439
16440 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16441 * gdb.mi/mi2-syn-frame.exp: Likewise.
16442 * lib/mi-support.exp: Likewise.
16443
16444 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16445
16446 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16447 to specify regexp for the location to stop at.
16448 * gdb.base/break-always.c: New.
16449 * gdb.base/break-always.exp: New.
16450
16451 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16452
16453 * lib/mi-support.exp (mi_runto_helper): Adjust
16454 for the original-location field.
16455 (mi_create_breakpoint, mi_list_breakpoints): New.
16456 * gdb.mi/mi-break.exp: Adjust.
16457 * gdb.mi/mi2-break.exp: Adjust.
16458 * gdb.mi/mi-pending.exp: Adjust.
16459 * gdb.mi/mi-simplerun.exp: Adjust.
16460 * gdb.mi/mi2-simplerun.exp: Adjust.
16461 * gdb.mi/mi-syn-frame.exp: Adjust.
16462 * gdb.mi/mi2-syn-frame.exp: Adjust.
16463 * gdb.mi/mi-until.exp: Adjust.
16464 * gdb.mi/mi2-until.exp: Adjust.
16465 * gdb.mi/mi-var-display.exp: Adjust.
16466 * gdb.mi/mi2-var-display.exp: Adjust.
16467 * gdb.mi/mi-watch.exp: Adjust.
16468 * gdb.mi/mi2-watch.exp: Adjust.
16469
16470 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
16471
16472 * aclocal.m4: Add override.m4.
16473 * configure: Regenerate.
16474
16475 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16476
16477 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16478 '-var-update --all-values' reports new value even the type
16479 of a variable object has changed.
16480
16481 2008-04-18 Craig Silverstein <csilvers@google.com>
16482
16483 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16484 files.
16485
16486 2008-04-18 Joel Brobecker <brobecker@adacore.com>
16487
16488 * gdb.ada/atomic_enum: New test program.
16489 * gdb.ada/atomic_enum.exp: New testcase.
16490
16491 2008-04-17 Doug Evans <dje@google.com>
16492
16493 * gdb.opt/Makefile.in: Fix whitespace.
16494
16495 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16496
16497 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16498
16499 2008-04-17 Doug Evans <dje@google.com>
16500
16501 * gdb.base/hashline1.exp: New testcase.
16502 * gdb.base/hashline2.exp: New testcase.
16503 * gdb.base/hashline2.exp: New testcase.
16504
16505 2008-04-17 Pedro Alves <pedro@codesourcery.com>
16506
16507 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16508
16509 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16510
16511 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16512 temporary breakpoint to match "Temporary breakpoint".
16513 * gdb.base/break.exp (delete_breakpoints): Likewise.
16514 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16515 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16516 * gdb.base/display.exp: Likewise.
16517 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16518 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16519 * gdb.base/restore.exp (restore_tests): Likewise.
16520 * gdb.base/sepdebug.exp: Likewise.
16521 * gdb.base/watchpoint.exp: Likewise.
16522 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16523 * gdb.mi/mi-pending.exp: Likewise.
16524 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16525 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16526 * gdb.mi/mi-var-cmd.exp: Likewise.
16527 * gdb.mi/mi-var-display.exp: Likewise.
16528 * gdb.mi/mi2-cli.exp: Likewise.
16529 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16530 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16531 * gdb.mi/mi2-var-display.exp: Likewise.
16532 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16533 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16534 new "disp" field.
16535 (mi_expect_stop): Move after_reason argument to be really after
16536 reason. This is to support fix for PR2424.
16537
16538 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16539
16540 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16541
16542 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16543
16544 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
16545 field. Add more floating varobj tests.
16546 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
16547 field.
16548 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16549 (main): Call do_at_tests.
16550 * lib/mi-support.exp (mi_create_floating_varobj)
16551 (mi_varobj_update_with_type_change): New.
16552
16553 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16554
16555 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16556 option of -var-evaluate-expression.
16557 * gdb.mi/mi2-var-display.exp: Likewise.
16558
16559 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16560
16561 Introduce test setup helpers.
16562 * lib/gdb.exp (build_executable, clean_restart)
16563 (prepare_for_testing): New.
16564 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16565 * gdb.base/return.exp: Likewise.
16566 * gdb.base/ending-run.exp: Likewise.
16567
16568 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
16569
16570 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16571 Interface (MI) responses.
16572
16573 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16574
16575 * gdb.cp/breakpoint.cc: New code to test conditions involving
16576 member variables.
16577 * gdb.cp/breakpoint.exp: Test condition involving member
16578 variables.
16579
16580 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16581
16582 * lib/mi-support.exp (mi_expect_stop): New.
16583 (mi_run_cmd): Change the
16584 token. Use mi_send_resuming_command, use
16585 mi_expect_stop.
16586 (mi_execute_to_helper): Rename to mi_execute_to.
16587 (mi_send_resuming_command): Add more error patterns.
16588 (mi_wait_for_stop): Renamed to...
16589 (mi_get_stop_line): ...this.
16590 (mi_run_inline_test): Adjust.
16591
16592 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16593 * gdb.mi/mi-console.exp: Likewise.
16594 * gdb.mi/mi-pending.exp: Likewise.
16595 * gdb.mi/mi-simplerun.exp: Likewise.
16596 * gdb.mi/mi-stack.exp: Likewise.
16597 * gdb.mi/mi-stepi.exp: Likewise.
16598 * gdb.mi/mi-syn-frame.exp: Add comment.
16599 * gdb.mi/mi-until.exp: Likewise.
16600 * gdb.mi/mi-var-display.exp: Likewise.
16601 * gdb.mi/mi-watch.exp: Likewise.
16602 * gdb.mi/mi2-cli.exp: Likewise.
16603 * gdb.mi/mi2-console.exp: Likewise.
16604 * gdb.mi/mi2-simplerun.exp: Likewise.
16605 * gdb.mi/mi2-stack.exp: Likewise.
16606 * gdb.mi/mi2-stepi.exp: Likewise.
16607 * gdb.mi/mi2-until.exp: Likewise.
16608 * gdb.mi/mi2-var-display.exp: Likewise.
16609 * gdb.mi/mi2-watch.exp: Likewise.
16610
16611 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16612
16613 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16614
16615 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16616
16617 2008-04-04 Pedro Alves <pedro@codesourcery.com>
16618
16619 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16620 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16621 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16622 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16623 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16624 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16625 expect an mi error duplicated in stderr.
16626
16627 2008-04-03 Joel Brobecker <brobecker@adacore.com>
16628
16629 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16630 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16631 Add a couple of tests that verify the behavior when the new setting
16632 is set to "cancel" and "all".
16633 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16634 "ask" before we start the testing.
16635
16636 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16637
16638 * gdb.cp/casts.cc: Add class reference variables.
16639 * gdb.cp/casts.exp: New test cases for up/down casting references.
16640
16641 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16642
16643 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16644 instead of beginning to make an extra test pass.
16645 * gdb.mi/mi2-var-display.exp: Likewise.
16646
16647 2008-03-31 Maciej W. Rozycki <macro@mips.com>
16648
16649 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16650
16651 2008-03-31 Markus Deuling <deuling@de.ibm.com>
16652 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16653
16654 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16655 value. Add xfail for older kernels.
16656
16657 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16658
16659 Bring mi-support in line with gdb.exp.
16660 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16661 (mi_gdb_start): New function.
16662
16663 2008-03-28 Maciej W. Rozycki <macro@mips.com>
16664
16665 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16666
16667 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16668
16669 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16670 * gdb.mi/mi2-var-display.exp: Likewise.
16671
16672 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16673
16674 * lib/mi-support.exp (mi_create_varobj_checked): New.
16675 (mi_list_varobj_children): Allow to check for a
16676 value.
16677 (mi_list_array_varobj_children): New.
16678
16679 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16680 and mi_list_varobj_children, as opposed to hardcoding
16681 expected strings.
16682 * gdb.mi/gdb701.exp: Likewise.
16683 * gdb.mi/gdb792.exp: Likewise.
16684 * gdb.mi/mi-var-block.exp: Likewise.
16685 * gdb.mi/mi-var-cmd.exp: Likewise.
16686 * gdb.mi/mi-var-invalidate.exp: Likewise.
16687 * gdb.mi/mi2-var-block.exp: Likewise.
16688 * gdb.mi/mi2-var-child.exp: Likewise.
16689 * gdb.mi/mi2-var-cmd.exp: Likewise.
16690 * gdb.mi/mi2-var-display.exp: Likewise.
16691
16692 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16693
16694 Fix random false FAILs on i386.
16695 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16696
16697 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16698
16699 PR gdb/544
16700 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16701
16702 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16703
16704 PR gdb/544
16705 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16706
16707 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16708
16709 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16710 fixed PR gdb/544.
16711
16712 2008-03-21 Pedro Alves <pedro@codesourcery.com>
16713
16714 * gdb.threads/fork-child-threads.exp: Test next over fork.
16715
16716 2008-03-21 Chris Demetriou <cgd@google.com>
16717
16718 * gdb.base/break.exp (rbreak junk): New test for rbreak
16719 "Junk at end of arguments" issue.
16720
16721 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16722
16723 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16724 *& to work on created array elements.
16725 (Top level): Test print $pc with a file. Test string operations
16726 without a target.
16727 * gdb.base/ptype.exp: Do not expect *& to work on created array
16728 elements.
16729
16730 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16731
16732 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16733 gdb.threads/staticthreads.exp: Update exit query.
16734
16735 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16736
16737 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16738
16739 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16740
16741 * gdb.base/watchpoint.c (global_ptr, func4): New.
16742 (main): Call func4.
16743 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16744 (test_inaccessible_watchpoint): New.
16745
16746 2008-02-29 Maciej W. Rozycki <macro@mips.com>
16747
16748 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16749 select the largest.
16750
16751 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16752
16753 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16754 frames-invalid annotations.
16755
16756 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16757
16758 * gdb.base/assign.exp: avoid same output for different tests.
16759
16760 2008-02-27 Doug Evans <dje@google.com>
16761
16762 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16763 for bug 1738.
16764 (breakpoint_to_handler_entry): Ditto.
16765
16766 2008-02-27 Joel Brobecker <brobecker@adacore.com>
16767
16768 * gdb.base/ending-run.exp: Use the first line of code inside
16769 function body to test breakpoints.
16770 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16771 location where the breakpoint is inserted when using the line
16772 where a function is declared. Fix typo in the description of
16773 one of the tests.
16774 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16775
16776 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16777
16778 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16779 tests.
16780
16781 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16782
16783 * gdb.base/args.exp: avoid same output for tests
16784 with single quotes.
16785
16786 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16787
16788 * gdb.base/annota1.exp: Adjust for 'info break'
16789 format changes.
16790 * gdb.base/annota3.exp: Likewise.
16791 * gdb.base/break.exp: Likewise.
16792 * gdb.base/condbreak.exp: Likewise.
16793 * gdb.base/pending.exp: Likewise.
16794 * gdb.base/sepdebug.exp: Likewise.
16795 * gdb.base/unload.exp: Likewise.
16796 * gdb.cp/ovldbreak.exp: Likewise.
16797 * gdb.mi/mi-pending.exp: Likewise.
16798
16799 2008-02-07 Doug Evans <dje@google.com>
16800
16801 * gdb.cp/mb-inline.exp: New.
16802 * gdb.cp/mb-inline.h: New.
16803 * gdb.cp/mb-inline1.cc: New.
16804 * gdb.cp/mb-inline2.cc: New.
16805
16806 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16807
16808 * gdb.pascal/floats.pas: New test program.
16809 * gdb.pascal/floats.exp: New testcase.
16810
16811 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16812
16813 * gdb.base/callfuncs.c (t_float_many_args): New function.
16814 (t_double_many_args): New function.
16815 * gdb.base/callfuncs.exp: Add tests for exceeding float
16816 and double parameters passed through the stack.
16817
16818 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16819
16820 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16821 gdb.ada/complete/foo.adb: New files.
16822 * gdb.ada/complete.exp: New testcase.
16823
16824 2008-02-03 Doug Evans <dje@google.com>
16825
16826 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16827
16828 * gdb.cp/gdb2384.exp: New file.
16829 * gdb.cp/gdb2384.cc: New file.
16830 * gdb.cp/gdb2384-base.h: New file.
16831 * gdb.cp/gdb2384-base.cc: New file.
16832
16833 2008-02-02 Doug Evans <dje@google.com>
16834
16835 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16836
16837 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16838
16839 * gdb.ada/sym_print_name: New test program.
16840 * gdb.ada/sym_print_name.exp: New testcase.
16841
16842 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16843
16844 * gdb.ada/nested/hello.adb: New file.
16845 * gdb.ada/nested.exp: New testcase.
16846 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16847
16848 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16849
16850 * gdb.mi/basic.c (return_1): New function.
16851 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16852 don't cause future evaluations of function to report
16853 creation of internal breakpoints.
16854
16855 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16856
16857 * gdb.mi/mi-break.exp (test_error): New.
16858 Call it.
16859
16860 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16861
16862 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16863 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16864
16865 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16866
16867 * gdb.pascal/integers.pas: New test program.
16868 * gdb.pascal/integers.exp: New testcase.
16869
16870 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16871
16872 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16873
16874 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16875
16876 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16877 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16878
16879 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16880
16881 * gdb.ada/formatted_ref: New test program.
16882 * gdb.ada/formatted_ref.exp: New testcase.
16883
16884 * gdb.cp/formatted-ref.cc: New file.
16885 * gdb.cp/formatted-ref.exp: New testcase.
16886
16887 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16888
16889 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16890
16891 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16892
16893 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16894 (test_file_list_exec_source_file): Update to new macro-info field.
16895
16896 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16897
16898 * gdb.ada/exprs: New test program.
16899 * gdb.ada/exprs.exp: New testcase.
16900
16901 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16902
16903 * dfp-test.c (DELTA, DELTA_B): New definitions.
16904 (double_val1, double_val2, double_val3, double_val4, double_val5,
16905 double_val6, double_val7, double_val8, double_val9, double_val10,
16906 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16907 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16908 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16909 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16910 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16911 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16912 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16913 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16914 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16915 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16916 dec128_val16): New global variables.
16917 (decimal_dec128_align): New function.
16918 (decimal_mixed): Likewise.
16919 (decimal_many_args_dec32): Likewise.
16920 (decimal_many_args_dec64): Likewise.
16921 (decimal_many_args_dec128): Likewise.
16922 (decimal_many_args_mixed): Likewise.
16923 * dfp-test.exp: Add tests calling new inferior functions.
16924
16925 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16926
16927 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16928 gdb.server/ext-run.exp: New files.
16929 * lib/gdbserver-support.exp (gdbserver_download): New.
16930 (gdbserver_start): New. Update gdbserver expected
16931 output.
16932 (gdbserver_spawn): Use them.
16933 (gdbserver_start_extended): New.
16934
16935 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16936
16937 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16938 Run on GNU/Linux.
16939 (do_exec_tests): Check for systems which do not support catchpoints.
16940 Do not match START.
16941 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16942 Run on GNU/Linux. Enable verbose output.
16943 (check_fork_catchpoints): New.
16944 (explicit_fork_child_follow, catch_fork_child_follow)
16945 (tcatch_fork_parent_follow): Update expected messages.
16946 (do_fork_tests): Use check_fork_catchpoints.
16947 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16948 Run on GNU/Linux. Enable verbose output.
16949 (check_vfork_catchpoints): New.
16950 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16951 expected messages.
16952 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16953
16954 2008-01-29 Jim Blandy <jimb@red-bean.com>
16955
16956 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16957 host' errors.
16958 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16959
16960 2008-01-29 Jim Blandy <jimb@red-bean.com>
16961
16962 * gdb.threads/sigthread.c: Use barriers to ensure that
16963 child_thread and child_thread_two are always initialized before we
16964 start to use them.
16965
16966 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16967
16968 * gdb.base/watchpoint-solib.exp: New.
16969 * gdb.base/watchpoint-solib.c: New.
16970 * gdb.base/watchpoint-solib-shr.c: New.
16971
16972 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16973
16974 * gdb.base/gdb1056.exp: Add unsigned integer test.
16975
16976 2008-01-28 Doug Evans <dje@google.com>
16977
16978 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16979
16980 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16981
16982 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16983
16984 * gdb.base/expand-psymtabs.exp: Doc fix.
16985
16986 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16987
16988 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16989
16990 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16991
16992 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16993 -var-set-format.
16994
16995 2008-01-23 Chris Demetriou <cgd@google.com>
16996
16997 * gdb.threads/thread_events.c: New testcase source file.
16998 * gdb.threads/thread_events.exp: New testcase expect file.
16999
17000 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
17001
17002 * lib/gdb.exp: Add the variable octal.
17003
17004 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
17005 -var-set-format.
17006
17007 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17008 Vladimir Prus <vladimir@codesourcery.com>
17009
17010 * gdb.base/float.exp: Allow missing floating point for m68k and
17011 PowerPC.
17012
17013 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
17014
17015 * gdb.mi/basics.c: Setup for testing breakpoints
17016 ignore count.
17017 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
17018 * gdb.mi/mi-cli.exp: Adjust.
17019 * gdb.mi/mi2-cli.exp: Adjust.
17020
17021 2008-01-17 Pedro Alves <pedro@codesourcery.com>
17022
17023 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
17024 and 'dummy_ptr' integer pointer. Initialize struct_declarations
17025 with dummy_ptr's address.
17026 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
17027 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
17028 all targets.
17029 * gdb.mi/mi2-var-child.exp: Likewise.
17030
17031 2008-01-09 Joel Brobecker <brobecker@adacore.com>
17032
17033 * gdb.ada/null_array: New test program.
17034 * gdb.ada/null_array.exp: New testcase.
17035
17036 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
17037
17038 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
17039 with required float modifiers.
17040
17041 2008-01-08 Joel Brobecker <brobecker@adacore.com>
17042
17043 * gdb.ada/funcall_param: New test program.
17044 * gdb.ada/funcall_param.exp: New testcase.
17045
17046 2008-01-08 Joel Brobecker <brobecker@adacore.com>
17047
17048 * gdb.ada/arrayparam: New test program.
17049 * gdb.ada/arrayparam.exp: New testcase.
17050
17051 2008-01-08 Joel Brobecker <brobecker@adacore.com>
17052
17053 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
17054 landed. Should also fix random failures in the test following it.
17055
17056 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
17057
17058 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
17059 for expressions with decimal float values.
17060 (test_dfp_conversions): New function to test casts to and from
17061 decimal float types.
17062 Call test_dfp_conversions.
17063 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
17064 elements.
17065 (main): Initialize ds.float4 and ds.double8 elements.
17066 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
17067 string to new error message.
17068 (d64_set_tests): Likewise.
17069 (d128_set_tests): Likewise.
17070 Add tests for expressions with decimal float variables. Add tests for
17071 conversions to and from decimal float types.
17072
17073 2008-01-05 Joel Brobecker <brobecker@adacore.com>
17074
17075 * gdb.ada/packed_tagged/comp_bug.adb: New file.
17076 * gdb.ada/packed_tagged.exp: New testcase.
17077
17078 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17079
17080 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
17081 gdb.ada/homonym/homonym_main.adb: New files.
17082 * gdb.ada/homonym.exp: New testcase.
17083
17084 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17085
17086 * gdb.ada/packed_array.exp: Add testing of references to
17087 a packed array.
17088
17089 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17090
17091 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
17092 New files.
17093 * gdb.ada/type_coercion.exp: New testcase.
17094
17095 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17096
17097 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
17098 gdb.ada/tagged/foo.adb: New file.
17099 * gdb.ada/tagged.exp: New testcase.
17100
17101 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17102
17103 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
17104 gdb.ada/ptype_field/foo.adb: New files.
17105 * gdb.ada/ptype_field.exp: New testcase.
17106
17107 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17108
17109 * gdb.ada/print_pc.exp: New testcase.
17110
17111 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17112
17113 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
17114 gdb.ada/taft_type/p.adb: New files.
17115 * gdb.ada/taft_type.exp: New testcase.
17116
17117 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17118
17119 * gdb.ada/array_bounds/bar.adb: New file.
17120 * gdb.ada/array_bounds.exp: New testcase.
17121
17122 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17123
17124 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
17125 gdb.ada/arrayptr/foo.adb: New files.
17126 * gdb.ada/arrayptr.exp: New testcase.
17127
17128 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17129
17130 * gdb.base/set-lang-auto.exp: New testcase.
17131
17132 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17133
17134 * gdb.ada/fun_addr/foo.adb: New file.
17135 * gdb.ada/fun_addr.exp: New testcase.
17136
17137 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17138
17139 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
17140 New files
17141
17142 2008-01-02 Joel Brobecker <brobecker@adacore.com>
17143
17144 * array_subscript_addr/p.adb: New file.
17145 * array_subscript_addr.exp: New testcase.
17146
17147 2008-01-02 Joel Brobecker <brobecker@adacore.com>
17148
17149 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
17150 New files.
17151 * gdb.ada/str_cmp_ref.exp: New testcase.
17152
17153 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17154
17155 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
17156 gdb.ada/fun_in_declare/foo.adb: New files.
17157 * gdb.ada/fun_in_declare.exp: New testcase.
17158
17159 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17160
17161 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
17162 gdb.ada/ref_param/pck.ads: New files.
17163 * gdb.ada/ref_param.exp: New testcase.
17164
17165 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17166
17167 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
17168 gdb.ada/interface/foo.adb: New files.
17169 * gdb.ada/interface.exp: New testcase.
17170
17171 2007-12-31 Jim Blandy <jimb@codesourcery.com>
17172
17173 * gdb.base/multi-forks.exp: Consume all output from child
17174 processes before proceeding to next test.
17175
17176 2007-12-29 Jim Blandy <jimb@codesourcery.com>
17177
17178 * configure: Regenerated.
17179
17180 2007-12-27 Joel Brobecker <brobecker@adacore.com>
17181
17182 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
17183 gdb.ada/fixed_cmp/fixed.adb: New files.
17184 * gdb.ada/fixed_cmp.exp: New testcase.
17185
17186 2007-12-27 Joel Brobecker <brobecker@adacore.com>
17187
17188 * gdb.ada/boolean_expr.exp: New testcase.
17189
17190 2007-12-26 Jim Blandy <jimb@codesourcery.com>
17191
17192 * gdb.base/multi-forks.exp: Doc fix.
17193
17194 2007-12-26 Joel Brobecker <brobecker@adacore.com>
17195
17196 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17197 * gdb.ada/char_param.exp: Do not compile our test program with
17198 -gnata, this is unnecessary.
17199 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
17200
17201 2007-12-24 Joel Brobecker <brobecker@adacore.com>
17202
17203 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
17204 gdb.ada/print_chars/foo.adb: New files.
17205 * gdb.ada/print_chars.exp: New testcase.
17206
17207 2007-12-24 Joel Brobecker <brobecker@adacore.com>
17208
17209 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
17210 gdb.ada/char_param/foo.adb: New files.
17211 * gdb.ada/char_param.exp: New testcase.
17212
17213 2007-12-22 Jim Blandy <jimb@codesourcery.com>
17214
17215 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
17216 hard-coding source line numbers into the test.
17217 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
17218 gdb_get_line_number to find.
17219
17220 2007-12-22 Joel Brobecker <brobecker@adacore.com>
17221
17222 * gdb.base/ptype.c (highest): New struct type.
17223 (the_highest): New variable of that type.
17224 (main): Add dummy assignment to a field of variable the_highest.
17225 * gdb.base/ptype.exp: Test type printing of our new variable.
17226
17227 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
17228
17229 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
17230 and record first explicitly generated thread number.
17231 Use that thread number for thread specific watchpoint test.
17232 Add iteration number to repetitive tests.
17233
17234 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17235 Jim Blandy <jimb@codesourcery.com>
17236
17237 * gdb.base/expand-psymtabs.c: New testcase
17238 source file.
17239 * gdb.base/expand-psymtabs.exp: New testcase
17240 expect file.
17241
17242 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
17243
17244 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
17245 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
17246
17247 2007-12-17 Joel Brobecker <brobecker@adacore.com>
17248
17249 * gdb.ada/frame_args/foo.adb: New file.
17250 * gdb.ada/frame_args/pck.ads: New file.
17251 * gdb.ada/frame_args/pck.adb: New file.
17252 * gdb.ada/frame_args.exp: New testcase.
17253
17254 2007-12-17 Joel Brobecker <brobecker@adacore.com>
17255
17256 * gdb.base/frame-args.c: New file.
17257 * gdb.base/frame-args.exp: New testcase.
17258
17259 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
17260 Joseph Myers <joseph@codesourcery.com>
17261
17262 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
17263
17264 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
17265
17266 * gdb.mi/mi-pending.exp: New.
17267 * gdb.mi/mi-pending.c: New.
17268 * gdb.mi/mi-pendshr.c: New.
17269
17270 2007-12-06 Jim Blandy <jimb@codesourcery.com>
17271
17272 * gdb.base/default.exp: Update expected output for 'info catch'.
17273
17274 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17275
17276 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
17277 must be set to binary.
17278
17279 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
17280
17281 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
17282
17283 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
17284
17285 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
17286 gdb.mi/mi-file-transfer.exp: New.
17287
17288 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17289
17290 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
17291
17292 2007-11-22 Maciej W. Rozycki <macro@mips.com>
17293
17294 * gdb.trace/backtrace.exp: Fix a typo.
17295 * gdb.trace/circ.exp: Likewise.
17296 * gdb.trace/collection.exp: Likewise.
17297 * gdb.trace/limits.exp: Likewise.
17298 * gdb.trace/report.exp: Likewise.
17299 * gdb.trace/tfind.exp: Likewise.
17300 * gdb.trace/while-dyn.exp: Likewise.
17301
17302 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
17303
17304 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
17305 objects of pointers that can't be dereferenced are now
17306 "noneditable".
17307
17308 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17309
17310 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
17311 (target_cpu): Remove.
17312
17313 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
17314
17315 * gdb.base/ending-run.exp: Expect the list of cleared
17316 breakpoint to come in natural order, not the reversed one.
17317
17318 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17319
17320 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17321 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
17322
17323 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
17324
17325 * gdb.base/printcmds.exp: New function
17326 test_printf_with_dfp.
17327
17328 2007-11-02 Doug Evans <dje@google.com>
17329
17330 * gdb.disasm/t01_mov.s: Remove carriage returns.
17331 * gdb.disasm/t02_mova.s: Ditto.
17332 * gdb.disasm/t03_add.s: Ditto.
17333 * gdb.disasm/t04_sub.s: Ditto.
17334 * gdb.disasm/t05_cmp.s: Ditto.
17335 * gdb.disasm/t06_ari2.s: Ditto.
17336 * gdb.disasm/t07_ari3.s: Ditto.
17337 * gdb.disasm/t08_or.s: Ditto.
17338 * gdb.disasm/t09_xor.s: Ditto.
17339 * gdb.disasm/t10_and.s: Ditto.
17340 * gdb.disasm/t11_logs.s: Ditto.
17341 * gdb.disasm/t12_bit.s: Ditto.
17342 * gdb.disasm/t13_otr.s: Ditto.
17343
17344 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17345
17346 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17347
17348 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17349
17350 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17351 provide DFP support.
17352
17353 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17354
17355 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17356 Test "set powerpc vector-abi". Skip auto-detection tests for old
17357 toolchains.
17358
17359 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17360
17361 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17362 with [string compare].
17363
17364 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17365
17366 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17367 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17368
17369 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
17370
17371 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17372 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17373 * gdb.opt/Makefile.in: New makefile.
17374 * Makefile.in: Create new directory "gdb.opt".
17375 * configure.ac: Add "gdb.opt" directory.
17376 * configure: Regenerated.
17377
17378 2007-10-25 Doug Evans <dje@google.com>
17379
17380 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17381 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17382
17383 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
17384 Thiago Jung Bauermann <bauerman@br.ibm.com>
17385
17386 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17387 Floating Point expressions.
17388 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17389 Floating Point variables.
17390 * gdb.base/dfp-test.c: new file containing program with Decimal
17391 Floating variables, used by gdb.base/dfp-test.exp.
17392
17393 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17394
17395 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17396
17397 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17398
17399 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17400 compiling test case with GCC.
17401 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17402
17403 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17404
17405 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17406 format changes.
17407
17408 2007-10-18 Michael Snyder <msnyder@specifix.com>
17409
17410 * gdb.base/dbx.exp: Add missing "-re " operator.
17411
17412 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17413
17414 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17415 * configure.ac: Removed trailing spaces after backslash.
17416 * gdb.modula2: New directory.
17417 * gdb.modula2/Makefile.in: New file.
17418 * gdb.modula2/unbounded-array.exp: New file.
17419 * gdb.modula2/unbounded1.c: New file.
17420
17421 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17422
17423 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17424
17425 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
17426
17427 * gdb.base/sigstep.c (main): Add checks for
17428 return values for setitimer call.
17429 Call setitimer again with itimer = ITIMER_REAL
17430 if first call to setitimer fails.
17431
17432 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
17433
17434 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17435 of $timeout.
17436
17437 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17438
17439 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17440
17441 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
17442
17443 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17444 of gdb_expect call, to avoid interruption.
17445
17446 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17447
17448 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17449 (v_unsigned_long_long, v_long_long_array)
17450 (v_signed_long_long_array, v_unsigned_long_long_array)
17451 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17452 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17453 [!NO_LONG_LONG]: New.
17454 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17455 v_long_long_member.
17456
17457 (v_long_long_func, v_signed_long_long_func)
17458 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17459 (main) [!NO_LONG_LONG]: Initialize long long variants.
17460
17461 * gdb.base/whatis.exp: If board file requests no_long_long, build
17462 test with NO_LONG_LONG defined. Test long long, signed long long,
17463 and unsigned long long variants but only if board file doesn't
17464 disable it.
17465
17466 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
17467 Daniel Jacobowitz <dan@codesourcery.com>
17468
17469 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17470 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17471 * configure: Regenerated.
17472 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17473 gdb.pascal/types.exp, lib/pascal.exp: New files.
17474
17475 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17476
17477 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17478 call.
17479 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17480 to return to the call.
17481 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17482 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17483 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17484 * gdb.mi/mi-until.exp (test_until): Likewise.
17485 * gdb.mi/mi2-until.exp (test_until): Likewise.
17486
17487 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17488
17489 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17490 two-char array.
17491 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17492
17493 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17494
17495 * gdb.threads/watchthreads.c (thread_function): Sleep between
17496 iterations.
17497 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17498 at once for S/390. Generate matching fails and passes.
17499
17500 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17501
17502 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17503 the 'struct_declarations' variable to zeros.
17504
17505 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17506
17507 * gdb.cp/mb-ctor.cc: New.
17508 * gdb.cp/mb-ctor.exp: New.
17509 * gdb.cp/mb-templates.cc: New.
17510 * gdb.cp/mb-templates.exp: New.
17511
17512 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17513
17514 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17515
17516 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17517
17518 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17519 targets.
17520 * configure: Regenerate.
17521
17522 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
17523
17524 * gdb.base/annota1.exp: Adjust for 'info break'
17525 format changes.
17526 * gdb.base/annota3.exp: Likewise.
17527 * gdb.base/break.exp: Likewise.
17528 * gdb.base/condbreak.exp: Likewise.
17529 * gdb.base/pending.exp: Likewise.
17530 * gdb.base/sepdebug.exp: Likewise.
17531 * gdb.base/unload.exp: Likewise.
17532 * gdb.base/ovldbreak.exp: Likewise.
17533
17534 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17535
17536 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17537 messages.
17538 * gdb.base/chng-syms.exp: Likewise.
17539 * gdb.base/unload.exp: Likewise.
17540
17541 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17542
17543 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17544
17545 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17546
17547 * schedlock.c (NUM): Change to 1.
17548 (main): Use args[0] for the main thread.
17549 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17550 regardless of the number of threads.
17551
17552 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17553
17554 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17555 type down.
17556 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17557 test.
17558 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17559 watchpoint type down.
17560 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17561 test.
17562
17563 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17564
17565 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17566 Move all the tests here and run them twice, once using software
17567 watchpoints and once using hardware watchpoints.
17568 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17569
17570 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17571
17572 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17573 test.
17574
17575 2007-09-10 Mark Kettenis <kettenis@gnu.org>
17576
17577 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17578 build-id.
17579
17580 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17581 know about $ORIGIN. Calculate output dir from $dest instead of
17582 using ${objdir}/{$subdir}.
17583
17584 2007-09-09 Mark Kettenis <kettenis@gnu.org>
17585
17586 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17587 gcore, before continuing with the test.
17588
17589 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17590
17591 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17592 * gdb.mi/mi-watch.exp: Likewise.
17593
17594 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17595 Jim Blandy <jimb@codesourcery.com>
17596
17597 * gdb.arch/i386-sse.exp: Do not expect character constants.
17598 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17599 * gdb.base/display.exp: Allow print/s.
17600 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17601 and unsigned char array changes.
17602
17603 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17604
17605 * gdb.base/display.exp: Add tests for printf %p.
17606
17607 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17608
17609 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17610 the dll name to unicode.
17611
17612 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17613
17614 * gdb.base/default.exp (show version): Update the version text.
17615 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17616
17617 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17618
17619 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17620 New files.
17621
17622 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17623
17624 * lib/gdb.exp (build_id_debug_filename_get): New function.
17625 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17626 Remove the generate DEBUG file for the future testcase runs.
17627 New testcase for the NT_GNU_BUILD_ID retrieval.
17628 Move the final testing step to ...
17629 (test_different_dir): ... a new function.
17630 New parameter XFAIL to XFAIL all the tests performed.
17631 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17632 New parameter TYPE to PF_PREFIX all the tests performed.
17633
17634 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17635
17636 * gdb.mi/mi-var-cp.cc (path_expression): New
17637 function.
17638 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17639
17640 2007-08-27 Markus Deuling <deuling@de.ibm.com>
17641
17642 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17643 to fit into SPU Local Store memory.
17644
17645 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17646
17647 * gdb.base/default.exp: Adjust the expected output of "info
17648 warranty" after the switch to GPLv3.
17649
17650 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17651
17652 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17653 to 30000 (from 20000).
17654
17655 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17656
17657 Switch the license of all .exp files to GPLv3.
17658 Switch the license of all .f and .f90 files to GPLv3.
17659 Switch the license of all .s and .S files to GPLv3.
17660
17661 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17662
17663 * configure.ac: Switch license to GPLv3.
17664
17665 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17666
17667 Switch the licensing to GPLv3 for all .ads and .adb files.
17668
17669 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17670
17671 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17672 and t_int_double.
17673 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17674
17675 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17676
17677 * gdb.base/step-line.c: Switch license to GPL version 3, and
17678 update copyright year.
17679 * gdb.base/step-line.inp: Likewise.
17680
17681 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17682
17683 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17684 changes inside gdb1555.c.
17685 * gdb.base/pending.exp: Likewise.
17686
17687 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17688
17689 * config/default.exp: New file.
17690
17691 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17692
17693 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17694 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17695
17696 2007-07-30 Maciej W. Rozycki <macro@mips.com>
17697
17698 * gdb.base/dump.exp: Force the correct endianness for binary
17699 formats not carrying this information.
17700
17701 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17702
17703 * gdb.threads/staticthreads.exp: Match .*sem_post.
17704
17705 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17706
17707 * gdb.base/readline.exp (operate_and_get_next): Match the final
17708 prompt.
17709
17710 2007-07-23 Kevin Buettner <kevinb@redhat.com>
17711
17712 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17713 to restarting SID.
17714
17715 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17716
17717 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17718 prior to `gdb_start'.
17719
17720 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17721
17722 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17723 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17724 Remove call to gdb_unload.
17725
17726 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17727 Daniel Jacobowitz <dan@codesourcery.com>
17728
17729 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17730 for __WIN32__.
17731 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17732 * gdb.base/unload.exp: Use shared library test routines.
17733
17734 2007-07-03 Markus Deuling <deuling@de.ibm.com>
17735
17736 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17737 * gdb.base/solib-symbol-lib.c: Likewise.
17738 * gdb.base/solib-symbol-main.c: Likewise.
17739
17740 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17741
17742 * config/gdbserver.exp (gdb_reconnect): New.
17743 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17744 gdb.base/solib-disc.exp: New files.
17745 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17746 remote debugging".
17747 (gdb_compile): Add shlib_load flag.
17748 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17749 port.
17750 (gdbserver_reconnect): New.
17751
17752 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
17753 Daniel Jacobowitz <dan@codesourcery.com>
17754
17755 * gdb.base/annota3.exp: Test for if construct.
17756
17757 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17758
17759 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17760
17761 2007-06-21 Chris Dearman <chris@mips.com>
17762 Maciej W. Rozycki <macro@mips.com>
17763
17764 * gdb.base/display.exp: Allow a newline after display/i.
17765 * gdb.base/pc-fp.exp: Likewise.
17766 * gdb.base/sigbpt.exp: Likewise.
17767
17768 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17769
17770 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17771 required features to be included.
17772
17773 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17774
17775 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17776 in info threads output.
17777
17778 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17779 Markus Deuling <deuling@de.ibm.com>
17780
17781 * gdb.arch/spu-info.exp: New testcase.
17782 * gdb.arch/spu-info.c: New file.
17783
17784 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17785
17786 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17787 tpcs_offset. Restore lr after the call.
17788 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17789
17790 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17791
17792 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17793 (gdbserver_run): Kill any running gdbserver.
17794 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17795
17796 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17797
17798 * gdb.base/sigbpt.exp: Preset segv_addr.
17799
17800 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17801
17802 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17803 (gdb_compile_shlib): Likewise.
17804 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17805 (default_gdb_init): Clear cleanfiles.
17806 (gdb_finish): Delete recorded cleanfiles.
17807 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17808
17809 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17810 Do not use isnative.
17811 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17812 gdb.base/so-impl-ld.exp: Likewise.
17813 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17814 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17815 gdb_compile.
17816
17817 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17818
17819 * config/unknown.exp: Remove.
17820
17821 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17822
17823 * gdb.base/info-proc.exp: Check is_remote.
17824
17825 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17826
17827 * gdb.base/gcore.exp: Initialize variable core_supported.
17828
17829 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17830
17831 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17832
17833 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17834
17835 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17836 * gdb.threads/print-threads.exp (test_all_threads): Allow
17837 negative and hexadecimal thread IDs.
17838
17839 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17840
17841 * gdb.java/jprint.java (public): Avoid invalid call to static
17842 method.
17843
17844 2007-05-14 Denis Pilat <denis.pilat@st.com>
17845
17846 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17847 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17848 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17849 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17850 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17851
17852 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17853
17854 * gdb.base/overlays.exp: Add support for targets with only code
17855 overlay support, not data overlay. Support spu-*-* target in
17856 this mode.
17857 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17858 * gdb.base/spu.ld: New file.
17859
17860 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17861
17862 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17863
17864 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17865
17866 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17867
17868 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17869
17870 * gdb.java/jmain.exp: Handle demangled names with and without method
17871 signatures.
17872
17873 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17874
17875 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17876 (have_a_very_merry_interrupt): Remove calls to puts.
17877 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17878 inferior output.
17879 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17880 test names.
17881
17882 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17883 Daniel Jacobowitz <dan@codesourcery.com>
17884
17885 * gdb.base/auxv.exp (core_works): Also check is_remote.
17886 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17887
17888 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17889
17890 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17891 message, not the undefined 'module' variable.
17892 * gdb.base/siginfo.exp: Likewise.
17893 * gdb.base/sigstep.exp: Likewise.
17894 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17895 serialport.
17896 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17897
17898 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17899
17900 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17901 target sim fails. Return 0 otherwise.
17902 (gdb_load): Return prematurely if gdb_target_sim fails.
17903
17904 2007-04-16 Denis Pilat <denis.pilat@st.com>
17905
17906 * gdb.base/setshow.exp: Reset height after having set it to 100.
17907
17908 2007-04-16 Denis Pilat <denis.pilat@st.com>
17909
17910 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17911
17912 2007-04-16 Denis Pilat <denis.pilat@st.com>
17913
17914 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17915
17916 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17917
17918 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17919 tests. Run the frozen varobjs test.
17920 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17921 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17922
17923 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17924
17925 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17926 gdb.base/type-opaque.exp: New files.
17927
17928 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17929
17930 * gdb.mi/mi-var-child.c
17931 (do_children_tests): User char[2] instead of
17932 char so that automatic printing of pointers to char
17933 don't give unpredicable result.
17934 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17935 local variables.
17936 * gdb.mi/mi-var-child.exp: Step to right line
17937 of do_children_tests.
17938 * gdb.mi/mi2-var-child.exp: Likewise.
17939 * gdb.mi/mi-var-cmd.exp: Step to right line of
17940 do_locals_tests.
17941 (do_children_tests): User char[2] instead of
17942 char so that automatic printing of pointers to char
17943 don't give unpredicable result.
17944 * gdb.mi/mi2-var-cmd.exp: Likewise.
17945 * lib/mi-support.exp (mi_continue_to_line):
17946 Pass test name to mi_wait_for_stop.
17947
17948 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17949
17950 * gdb.asm/asm-source.exp: Remove d10v case.
17951 * lib/gdb.exp (skip_cplus_tests): Likewise.
17952 * gdb.asm/d10v.inc: Deleted.
17953
17954 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17955
17956 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17957
17958 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17959
17960 * config/netware.exp: Delete file.
17961
17962 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17963
17964 * gdb.dwarf2/dw2-noloc.S: New file.
17965 * gdb.dwarf2/dw2-noloc.exp: New file.
17966
17967 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17968
17969 * gdb.cp/method2.cc: New test.
17970 * gdb.cp/method2.exp: New test.
17971 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17972
17973 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17974
17975 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17976
17977 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17978
17979 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17980
17981 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17982
17983 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17984 (gdb_load): Delete, replace with...
17985 (gdb_reload): ...this.
17986 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17987 * gdb.server/server-mon.exp: Likewise.
17988 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17989 (gdb_start_cmd): New.
17990 (gdb_file_cmd): Save the last loaded file.
17991 (gdb_reload): New.
17992 (gdb_gnu_strip_debug): Use transform.
17993 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17994 support here. Use new $last_loaded_file. Check mtime.
17995 (gdb_target_cmd): Handle ObjC failure case.
17996 (infer_host_exec): Delete.
17997 (gdbserver_load): Rename to...
17998 (gdbserver_run): ...this. Simplify.
17999 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
18000 (mi_gdb_load): Move most contents to a new function...
18001 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
18002 (mi_run_cmd): Use mi_gdb_target_load.
18003 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
18004 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
18005 Use gdb_run_cmd.
18006 * gdb.base/charsign.exp: Remove incorrect comment.
18007 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
18008 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
18009 gdb.base/start.exp: Use gdb_start_cmd.
18010
18011 2007-03-23 Nigel Stephens <nigel@mips.com>
18012 Maciej W. Rozycki <macro@mips.com>
18013
18014 * gdb.base/sigbpt.exp: Fix the message when skipping test.
18015 * gdb.base/signull.exp: Similarly.
18016
18017 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18018
18019 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
18020 messages available to test cases (like chng-sym.exp).
18021
18022 2007-03-14 Andreas Schwab <schwab@suse.de>
18023
18024 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18025 format changes.
18026
18027 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
18028
18029 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
18030 (optimized_1): New.
18031 (main): Call optimized_1.
18032 (gdb2029): Correct typos. Call gdb2029_marker.
18033 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
18034 for gdb2029.
18035
18036 2007-03-12 Mark Kettenis <kettenis@gnu.org>
18037
18038 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
18039 as tabs. Remove redundant test pattern.
18040
18041 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18042
18043 * gdb.base/long_long.exp: Accept optional symbol name in <...>
18044 for /a format output.
18045
18046 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
18047
18048 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
18049 collect output incrementally.
18050
18051 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18052
18053 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
18054 for -var-create lpcharacter test.
18055 * gdb.mi/mi2-var-cmd.exp: Likewise.
18056
18057 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18058
18059 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
18060 pass on targets where address zero is readable.
18061
18062 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18063
18064 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
18065 just a single architecture.
18066
18067 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18068
18069 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
18070 (fetch_all_registers): New function, uses gdb_test_multiple and
18071 exp_continue to fetch inferior output line-by-line.
18072 Replace all uses of do_get_all_registers by fetch_all_registers.
18073
18074 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18075
18076 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
18077 in target_info.
18078
18079 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18080
18081 * gdb.threads/manythreads.exp: Use $message string for
18082 consistancy; add a default (timeout) case.
18083
18084 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18085
18086 * gdb.base/watchpoint.exp: Fix truncated comment.
18087
18088 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18089
18090 * Makefile.in: Remove spurious single-quotes from sed command.
18091
18092 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
18093
18094 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
18095 func.
18096 * gdb.mi/mi2-var-cmd.exp: Likewise.
18097
18098 2007-02-27 Joel Brobecker <brobecker@adacore.com>
18099
18100 * gdb.dwarf2/dw2-producer.S: New file.
18101 * gdb.dwarf2/dw2-producer.exp: New testcase.
18102
18103 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
18104
18105 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18106 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18107 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18108 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18109 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18110 Revert tests to use mi_gdb_test and include value field in output
18111 of -var-create.
18112
18113 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18114
18115 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
18116
18117 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18118
18119 * gdb.base/maint.exp: Remove full paths from test names.
18120 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
18121 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
18122
18123 2007-02-27 Joel Brobecker <brobecker@adacore.com>
18124
18125 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
18126
18127 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18128
18129 * gdb.server/server-mon.exp: New test.
18130
18131 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18132
18133 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
18134
18135 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18136
18137 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
18138 register capitalization.
18139
18140 2007-02-13 Denis Pilat <denis.pilat@st.com>
18141
18142 * gdb.mi/mi-var-invalidate.exp: New file.
18143
18144 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18145
18146 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
18147
18148 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18149
18150 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
18151
18152 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18153
18154 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
18155 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
18156
18157 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
18158
18159 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18160 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18161 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18162 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18163 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18164 * gdb.mi/gdb792.exp, lib/mi-support.exp:
18165 Update tests to include value field in output of -var-create.
18166
18167 2007-02-08 Andreas Schwab <schwab@suse.de>
18168
18169 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
18170
18171 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
18172
18173 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
18174 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
18175
18176 2007-02-02 Denis Pilat <denis.pilat@st.com>
18177
18178 * gdb.threads/threadapply.exp: check that frame is not changed by
18179 the thread apply all command.
18180
18181 2007-01-31 Andreas Schwab <schwab@suse.de>
18182
18183 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18184
18185 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
18186 in the dwarf sections.
18187 * gdb.dwarf2/mac-fileno.S: Likewise.
18188
18189 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
18190 bspstore register on ia64.
18191
18192 2007-01-29 Andreas Schwab <schwab@suse.de>
18193
18194 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
18195 "frame-begin" annotation.
18196
18197 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
18198 number of "frames-invalid" annotations.
18199
18200 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18201
18202 * gdb.base/commands.exp: Call if_commands_test.
18203 (gdb_test_no_prompt, if_commands_test): New.
18204
18205 2007-01-28 Mark Kettenis <kettenis@gnu.org>
18206
18207 * gdb.threads/sigthread.c (NSIGS): Make bigger.
18208
18209 2007-01-27 Andreas Schwab <schwab@suse.de>
18210
18211 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
18212 .short/.int/.quad in the dwarf sections.
18213 * gdb.dwarf2/dw2-intercu.S: Likewise.
18214 * gdb.dwarf2/dw2-intermix.S: Likewise.
18215
18216 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18217
18218 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
18219 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
18220 array.
18221 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18222 * gdb.base/setvar.exp: Likewise.
18223
18224 2007-01-26 Andreas Schwab <schwab@suse.de>
18225
18226 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
18227 test.
18228
18229 * gdb.base/multi-forks.exp ("restart $i"): Also match
18230 __kernel_syscall_via_break.
18231
18232 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
18233
18234 * lib/mi-support.exp (mi_delete_varobj): New.
18235 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
18236 testcase.
18237 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
18238 (main): Call the above.
18239 (reference_update_test, base_in_reference_test)
18240 (reference_to_pointer): Delete the created varobjs.
18241
18242 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
18243
18244 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
18245 * configure: Regenerated.
18246 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
18247 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
18248 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
18249 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
18250 * lib/gdb.exp (gdb_skip_xml_test): New function.
18251
18252 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
18253
18254 * gdb.base/sigrepeat.exp: Correct error message.
18255
18256 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18257 Daniel Jacobowitz <dan@codesourcery.com>
18258
18259 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
18260 gdb.arch/i386-gnu-cfi-asm.S: New files.
18261
18262 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18263
18264 * lib/gdb.exp: Abort on missing `site.exp'.
18265
18266 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18267 Daniel Jacobowitz <dan@codesourcery.com>
18268
18269 * gdb.base/included.c, gdb.base/included.exp,
18270 gdb.base/included.h: New files.
18271
18272 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18273
18274 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
18275 (maximize_rlimit): Reduce limits on 64-bit systems.
18276
18277 2007-01-19 Mark Kettenis <kettenis@gnu.org>
18278
18279 From Marcus Deuling <deuling@de.ibm.com>:
18280 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
18281 every case.
18282
18283 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
18284
18285 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
18286 (test_path_specification): Use objdir instead of srcdir to always
18287 get an absolute filename.
18288
18289 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
18290
18291 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
18292
18293 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
18294
18295 * gdb.mi/mi-var-cp.cc (reference_update_tests):
18296 Make sure the variable we're using is in scope.
18297 (reference_to_pointer): Likewise.
18298
18299 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18300
18301 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
18302 has no debug information.
18303
18304 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18305
18306 * gdb.base/annota1.exp: Remove extra send_gdb.
18307
18308 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18309
18310 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
18311
18312 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18313
18314 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
18315
18316 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
18317 Daniel Jacobowitz <dan@codesourcery.com>
18318
18319 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18320 lcharacter or linteger change. Correct duplicated test name.
18321 * gdb.mi/mi2-var-cmd.exp: Likewise.
18322
18323 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18324
18325 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18326
18327 2007-01-05 Joel Brobecker <brobecker@adacore.com>
18328
18329 * gdb.base/nofield.c: New file.
18330 * gdb.base/nofield.exp: New testcase.
18331
18332 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
18333
18334 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18335
18336 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18337 test.
18338
18339 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18340
18341 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18342
18343 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18344
18345 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18346 when continuing.
18347
18348 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18349
18350 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18351 Expect ".exe" extension.
18352
18353 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18354
18355 * gdb.base/charset.exp: Add explicit filename to break.
18356 * gdb.base/dbx.exp: Add explicit filename to breaks.
18357
18358 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18359
18360 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18361 * gdb.mi/mi2-file.exp: Likewise.
18362
18363 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18364
18365 Implement specification of MI tests as comments
18366 in C and C++ sources.
18367 * lib/mi-support.exp (mi_autotest_data): New variable.
18368 (mi_autotest_source): New variable.
18369 (count_newlines, mi_prepare_inline_tests)
18370 (mi_get_inline_test, mi_continue_to_line)
18371 (mi_run_inline_test, mi_tbreak)
18372 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18373 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18374 Run inline tests.
18375 * gdb.mi/mi-var-cp.cc: Define tests here.
18376
18377 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18378
18379 Simplify usage of mi_continue_to.
18380 * lib/mi-support.exp (mi_runto_helper): Renamed
18381 from mi_runto, added new parameter 'run_or_continue'.
18382 (mi_runto): Use mi_runto_helper.
18383 (mi_continue_to): Accept just function name as parameter.
18384 Use mi_runto_helper.
18385 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18386 * gdb.mi/mi2-var-cmd.exp: Likewise.
18387
18388 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18389
18390 Make this testcase a bit more realistic. The current code
18391 is too simplistic, and allows the compiler to optimize out
18392 some of the entities we need for this testcase.
18393 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18394 (Do_Nothing): Add extra parameter.
18395 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18396 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18397 by using a variable of type Void_Star.
18398
18399 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18400
18401 * gdb.ada/catch_ex/foo.adb: New file.
18402 * gdb.ada/catch_ex.exp: New testcase.
18403
18404 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18405
18406 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18407 pass --image-base to linker.
18408
18409 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18410 Daniel Jacobowitz <dan@codesourcery.com>
18411
18412 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18413 secondary prompts.
18414
18415 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18416
18417 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18418 output. Test the types of members and member pointers.
18419 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18420 gdb/2092.
18421 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18422 statement. Enable for GCC. Update expected output for some tests
18423 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18424 layout.
18425 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18426 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18427 (Diamond::vget_base): New.
18428 (main): Add new tests.
18429 * gdb.cp/printmethod.exp: Update expected output for member functions.
18430 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18431 print pEe->D::vg().
18432
18433 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18434
18435 * gdb.threads/tls.exp: Allow stops in sem_post.
18436
18437 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18438
18439 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18440 * gdb.base/annota3.exp: Likewise.
18441 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18442 again (instead of timing out).
18443 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18444 GCC bug 26475.
18445 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18446 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18447 test from jmisc1.exp.
18448 * gdb.java/jmisc1.exp: Delete.
18449 * gdb.java/jprint.exp: Adjust to work with method signatures including
18450 return types.
18451 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18452 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18453 * lib/java.exp (compile_java_from_source): Pass the correct type
18454 to target_compile.
18455
18456 2006-12-31 Joel Brobecker <brobecker@adacore.com>
18457
18458 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18459 (stack_align_edx): New function.
18460 (stack_align_eax): New function.
18461 (main): Add calls to stack_align_edx and stack_align_eax.
18462 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18463 Add testing for the cases where the register used during a stack
18464 realignment is edx. Same for eax.
18465
18466 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18467
18468 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18469 and generic PE targets.
18470
18471 2006-12-29 Joel Brobecker <brobecker@adacore.com>
18472
18473 * gdb.ada/array_return.exp: Update copyright date list.
18474
18475 2006-12-27 Joel Brobecker <brobecker@adacore.com>
18476
18477 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18478 (Create_Small_Float_Vector): New function.
18479 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18480 function body.
18481 * gdb.ada/array_return/p.adb: Use new type and function from
18482 package Pck.
18483 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18484 able to print the value returned by a function returning an
18485 array of float.
18486
18487 2006-12-20 Joel Brobecker <brobecker@adacore.com>
18488
18489 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18490 The associated tests should be PASSing.
18491
18492 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18493
18494 Test for base in references.
18495 * gdb.mi/mi-var-cp.cc: Add test code.
18496 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18497 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18498 * gdb.mi/mi2-watch.exp: Likewise.
18499 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18500 (mi_list_varobj_children): New function.
18501
18502 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18503
18504 * lib/mi-support.exp
18505 (mi_runto): Accept "()" after function name.
18506 (mi_create_varobj): New function.
18507 (mi_varobj_update): New function.
18508 (mi_Check_varobj_value): New function.
18509 * gdb.mi/mi-var-cp.exp: New file.
18510 * gdb.mi/mi-var-cp.cc: New file.
18511
18512 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18513
18514 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18515 gdb.base/weaklib2.c: New files.
18516
18517 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
18518
18519 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18520 info. Adjust test names.
18521
18522 * gdb.base/break.c (main): Move position of malloc.
18523 * gdb.base/break.exp: Revert mistaken checkin.
18524
18525 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18526
18527 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18528 assignement of arrays and function pointers.
18529 * gdb.mi/var-cmd.c: Add declaration necessary for above
18530 tests.
18531
18532 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18533
18534 * gdb.base/break.c (main): Call malloc.
18535
18536 * gdb.threads/linux-dp.exp: Read thread table before and after
18537 creating each philosopher and verify it.
18538
18539 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18540 Paul Brook <paul@codesourcery.com>
18541 Daniel Jacobowitz <dan@codesourcery.com>
18542
18543 * gdb.base/ending-run.exp: Flatten expect script stepping out of
18544 main to remove duplication. Add start function of the form
18545 '_*start[1-9]*'. Add RVDS start function.
18546
18547 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18548
18549 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18550
18551 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18552
18553 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18554 * gdb.asm/spu.inc: New file.
18555 * gdb.base/term.exp: Disable if [target_info exists noargs].
18556 * gdb.gdb/complaints.exp: Disable if ![isnative].
18557 * gdb.gdb/selftest.exp: Likewise.
18558 * gdb.gdb/observer.exp: Likewise.
18559 * gdb.gdb/xfullpath.exp: Likewise.
18560 * gdb.base/attach.exp: Disable on SPU target.
18561 * gdb.cp/bs145503.exp: Likewise.
18562 * gdb.cp/exception.exp: Likewise.
18563 * gdb.cp/userdef.exp: Likewise.
18564
18565 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18566
18567 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18568
18569 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18570
18571 * gdb.base/completion.exp: Fix completion tests for
18572 'info' and 'info '.
18573 * gdb.base/help.exp (help_test_raw, test_class_help)
18574 (test_prefix_command_help): Move...
18575 * lib/gdb.exp: Here.
18576 * gdb.base/main.exp: Adjust.
18577 * gdb.cp/maint.exp: Adjust.
18578 * gdb.trace/tracecmd.exp: Use test_help_class.
18579
18580 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18581
18582 * gdb.stabs/weird.exp (print_weird_var): Use
18583 gdb_test_multiple instead of gdb_expect.
18584
18585 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18586
18587 * gdb.base/help.exp (help_test_raw): New.
18588 (test_class_help): New.
18589 (test_prefix_command_help): New.
18590 Adjust testcases.
18591
18592 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
18593
18594 * gdb.base/constvars.c (main): Write to crass and crips, so that
18595 they are allocated by the compiler.
18596
18597 2006-10-27 Andreas Schwab <schwab@suse.de>
18598
18599 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18600 "detach-fork".
18601
18602 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18603
18604 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18605 of patterns.
18606
18607 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18608
18609 * gdb.base/sepdebug.exp: Remove debug format test.
18610 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18611 Handle no-symtab.
18612 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18613
18614 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18615
18616 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18617 int to pointer or pointer to int.
18618 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18619
18620 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18621
18622 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18623
18624 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18625
18626 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18627
18628 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18629
18630 PR c++/2116
18631 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18632
18633 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18634
18635 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18636 the corresponding bug has been fixed in GDB (PR/2018).
18637
18638 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18639
18640 * gdb.base/subst.exp: New testcase.
18641
18642 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18643
18644 * gdb.ada/array_return/pck.ads: Add copyright notice.
18645 * gdb.ada/array_return/pck.adb: Likewise.
18646 * gdb.ada/array_return/p.adb: Likewise.
18647 * gdb.ada/exec_changed/first.adb: Likewise.
18648 * gdb.ada/exec_changed/second.adb: Likewise.
18649
18650 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18651
18652 * gdb.ada/watch_arg/watch.adb: New file.
18653 * gdb.ada/watch_arg.exp: New testcase.
18654
18655 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18656
18657 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
18658 via string_to_regexp.
18659 * gdb.mi/mi2-basics.exp: Likewise.
18660
18661 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
18662
18663 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18664 Remove unused / obsolete files.
18665
18666 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
18667
18668 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18669
18670 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18671
18672 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18673 HIGH_FRAME argument to -stack-list-arguments can be larger than
18674 the number of frames.
18675
18676 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18677
18678 * gdb.base/args.c (main): Add breakpoint marker.
18679 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18680 really test empty arguments.
18681 (args_load): Delete.
18682 (args_test): New.
18683
18684 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
18685
18686 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
18687 check for one file.
18688
18689 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18690
18691 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18692 HIGH_FRAME argument to -stack-list-locals can be larger than
18693 the number of frames.
18694
18695 2006-08-18 Fred Fish <fnf@specifix.com>
18696
18697 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18698 '$' in front of skip_vmx_tests_saved when setting that.
18699
18700 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18701
18702 * gdb.base/trace-commands.exp: New file.
18703
18704 2006-08-10 Joel Brobecker <brobecker@adacore.com>
18705 Daniel Jacobowitz <dan@codesourcery.com>
18706
18707 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18708 expected output of the backtrace commands.
18709
18710 2006-08-09 Joel Brobecker <brobecker@adacore.com>
18711
18712 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18713 untested followed by return combination.
18714 * gdb.arch/altivec-regs.exp: Likewise.
18715 * gdb.arch/e500-abi.exp: Likewise.
18716 * gdb.arch/e500-regs.exp: Likewise.
18717 * gdb.arch/gdb1291.exp: Likewise.
18718 * gdb.arch/gdb1431.exp: Likewise.
18719 * gdb.arch/gdb1558.exp: Likewise.
18720 * gdb.arch/i386-prologue.exp: Likewise.
18721 * gdb.arch/i386-unwind.exp: Likewise.
18722 * gdb.asm/asm-source.exp: Likewise.
18723 * gdb.base/a2-run.exp: Likewise.
18724 * gdb.base/advance.exp: Likewise.
18725 * gdb.base/all-bin.exp: Likewise.
18726 * gdb.base/annota1.exp: Likewise.
18727 * gdb.base/annota3.exp: Likewise.
18728 * gdb.base/args.exp: Likewise.
18729 * gdb.base/arithmet.exp: Likewise.
18730 * gdb.base/assign.exp: Likewise.
18731 * gdb.base/async.exp: Likewise.
18732 * gdb.base/attach.exp: Likewise.
18733 * gdb.base/bang.exp: Likewise.
18734 * gdb.base/bigcore.exp: Likewise.
18735 * gdb.base/bitfields.exp: Likewise.
18736 * gdb.base/bitfields2.exp: Likewise.
18737 * gdb.base/break.exp: Likewise.
18738 * gdb.base/call-sc.exp: Likewise.
18739 * gdb.base/call-strs.exp: Likewise.
18740 * gdb.base/callfuncs.exp: Likewise.
18741 * gdb.base/checkpoint.exp: Likewise.
18742 * gdb.base/chng-syms.exp: Likewise.
18743 * gdb.base/code-expr.exp: Likewise.
18744 * gdb.base/commands.exp: Likewise.
18745 * gdb.base/completion.exp: Likewise.
18746 * gdb.base/cond-expr.exp: Likewise.
18747 * gdb.base/condbreak.exp: Likewise.
18748 * gdb.base/consecutive.exp: Likewise.
18749 * gdb.base/constvars.exp: Likewise.
18750 * gdb.base/corefile.exp: Likewise.
18751 * gdb.base/cvexpr.exp: Likewise.
18752 * gdb.base/dbx.exp: Likewise.
18753 * gdb.base/define.exp: Likewise.
18754 * gdb.base/detach.exp: Likewise.
18755 * gdb.base/display.exp: Likewise.
18756 * gdb.base/dump.exp: Likewise.
18757 * gdb.base/ena-dis-br.exp: Likewise.
18758 * gdb.base/ending-run.exp: Likewise.
18759 * gdb.base/environ.exp: Likewise.
18760 * gdb.base/eval-skip.exp: Likewise.
18761 * gdb.base/exprs.exp: Likewise.
18762 * gdb.base/fileio.exp: Likewise.
18763 * gdb.base/finish.exp: Likewise.
18764 * gdb.base/float.exp: Likewise.
18765 * gdb.base/foll-exec.exp: Likewise.
18766 * gdb.base/foll-fork.exp: Likewise.
18767 * gdb.base/foll-vfork.exp: Likewise.
18768 * gdb.base/freebpcmd.exp: Likewise.
18769 * gdb.base/funcargs.exp: Likewise.
18770 * gdb.base/gcore.exp: Likewise.
18771 * gdb.base/gdb1090.exp: Likewise.
18772 * gdb.base/gdb1250.exp: Likewise.
18773 * gdb.base/huge.exp: Likewise.
18774 * gdb.base/info-proc.exp: Likewise.
18775 * gdb.base/interrupt.exp: Likewise.
18776 * gdb.base/jump.exp: Likewise.
18777 * gdb.base/langs.exp: Likewise.
18778 * gdb.base/lineinc.exp: Likewise.
18779 * gdb.base/list.exp: Likewise.
18780 * gdb.base/logical.exp: Likewise.
18781 * gdb.base/long_long.exp: Likewise.
18782 * gdb.base/macscp.exp: Likewise.
18783 * gdb.base/maint.exp: Likewise.
18784 * gdb.base/mips_pro.exp: Likewise.
18785 * gdb.base/miscexprs.exp: Likewise.
18786 * gdb.base/multi-forks.exp: Likewise.
18787 * gdb.base/opaque.exp: Likewise.
18788 * gdb.base/overlays.exp: Likewise.
18789 * gdb.base/pc-fp.exp: Likewise.
18790 * gdb.base/pointers.exp: Likewise.
18791 * gdb.base/printcmds.exp: Likewise.
18792 * gdb.base/psymtab.exp: Likewise.
18793 * gdb.base/ptype.exp: Likewise.
18794 * gdb.base/recurse.exp: Likewise.
18795 * gdb.base/relational.exp: Likewise.
18796 * gdb.base/relocate.exp: Likewise.
18797 * gdb.base/remote.exp: Likewise.
18798 * gdb.base/reread.exp: Likewise.
18799 * gdb.base/restore.exp: Likewise.
18800 * gdb.base/return.exp: Likewise.
18801 * gdb.base/return2.exp: Likewise.
18802 * gdb.base/scope.exp: Likewise.
18803 * gdb.base/sect-cmd.exp: Likewise.
18804 * gdb.base/sep.exp: Likewise.
18805 * gdb.base/sepdebug.exp: Likewise.
18806 * gdb.base/setshow.exp: Likewise.
18807 * gdb.base/setvar.exp: Likewise.
18808 * gdb.base/sigall.exp: Likewise.
18809 * gdb.base/sigbpt.exp: Likewise.
18810 * gdb.base/signals.exp: Likewise.
18811 * gdb.base/signull.exp: Likewise.
18812 * gdb.base/sizeof.exp: Likewise.
18813 * gdb.base/solib.exp: Likewise.
18814 * gdb.base/step-line.exp: Likewise.
18815 * gdb.base/step-test.exp: Likewise.
18816 * gdb.base/structs.exp: Likewise.
18817 * gdb.base/structs2.exp: Likewise.
18818 * gdb.base/term.exp: Likewise.
18819 * gdb.base/twice.exp: Likewise.
18820 * gdb.base/until.exp: Likewise.
18821 * gdb.base/varargs.exp: Likewise.
18822 * gdb.base/volatile.exp: Likewise.
18823 * gdb.base/watchpoint.exp: Likewise.
18824 * gdb.base/whatis-exp.exp: Likewise.
18825 * gdb.base/whatis.exp: Likewise.
18826 * gdb.cp/ambiguous.exp: Likewise.
18827 * gdb.cp/annota2.exp: Likewise.
18828 * gdb.cp/annota3.exp: Likewise.
18829 * gdb.cp/bool.exp: Likewise.
18830 * gdb.cp/breakpoint.exp: Likewise.
18831 * gdb.cp/casts.exp: Likewise.
18832 * gdb.cp/class2.exp: Likewise.
18833 * gdb.cp/classes.exp: Likewise.
18834 * gdb.cp/cplusfuncs.exp: Likewise.
18835 * gdb.cp/ctti.exp: Likewise.
18836 * gdb.cp/derivation.exp: Likewise.
18837 * gdb.cp/exception.exp: Likewise.
18838 * gdb.cp/gdb1355.exp: Likewise.
18839 * gdb.cp/hang.exp: Likewise.
18840 * gdb.cp/inherit.exp: Likewise.
18841 * gdb.cp/local.exp: Likewise.
18842 * gdb.cp/m-data.exp: Likewise.
18843 * gdb.cp/m-static.exp: Likewise.
18844 * gdb.cp/member-ptr.exp: Likewise.
18845 * gdb.cp/method.exp: Likewise.
18846 * gdb.cp/misc.exp: Likewise.
18847 * gdb.cp/namespace.exp: Likewise.
18848 * gdb.cp/overload.exp: Likewise.
18849 * gdb.cp/ovldbreak.exp: Likewise.
18850 * gdb.cp/pr-1023.exp: Likewise.
18851 * gdb.cp/pr-1210.exp: Likewise.
18852 * gdb.cp/pr-574.exp: Likewise.
18853 * gdb.cp/printmethod.exp: Likewise.
18854 * gdb.cp/psmang.exp: Likewise.
18855 * gdb.cp/ref-params.exp: Likewise.
18856 * gdb.cp/ref-types.exp: Likewise.
18857 * gdb.cp/rtti.exp: Likewise.
18858 * gdb.cp/templates.exp: Likewise.
18859 * gdb.cp/try_catch.exp: Likewise.
18860 * gdb.cp/userdef.exp: Likewise.
18861 * gdb.cp/virtfunc.exp: Likewise.
18862 * gdb.disasm/am33.exp: Likewise.
18863 * gdb.disasm/h8300s.exp: Likewise.
18864 * gdb.disasm/mn10300.exp: Likewise.
18865 * gdb.disasm/sh3.exp: Likewise.
18866 * gdb.disasm/t01_mov.exp: Likewise.
18867 * gdb.disasm/t02_mova.exp: Likewise.
18868 * gdb.disasm/t03_add.exp: Likewise.
18869 * gdb.disasm/t04_sub.exp: Likewise.
18870 * gdb.disasm/t05_cmp.exp: Likewise.
18871 * gdb.disasm/t06_ari2.exp: Likewise.
18872 * gdb.disasm/t07_ari3.exp: Likewise.
18873 * gdb.disasm/t08_or.exp: Likewise.
18874 * gdb.disasm/t09_xor.exp: Likewise.
18875 * gdb.disasm/t10_and.exp: Likewise.
18876 * gdb.disasm/t11_logs.exp: Likewise.
18877 * gdb.disasm/t12_bit.exp: Likewise.
18878 * gdb.disasm/t13_otr.exp: Likewise.
18879 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18880 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18881 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18882 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18883 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18884 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18885 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18886 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18887 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18888 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18889 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18890 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18891 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18892 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18893 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18894 * gdb.mi/gdb701.exp: Likewise.
18895 * gdb.mi/gdb792.exp: Likewise.
18896 * gdb.mi/mi-basics.exp: Likewise.
18897 * gdb.mi/mi-break.exp: Likewise.
18898 * gdb.mi/mi-cli.exp: Likewise.
18899 * gdb.mi/mi-console.exp: Likewise.
18900 * gdb.mi/mi-disassemble.exp: Likewise.
18901 * gdb.mi/mi-eval.exp: Likewise.
18902 * gdb.mi/mi-file.exp: Likewise.
18903 * gdb.mi/mi-read-memory.exp: Likewise.
18904 * gdb.mi/mi-regs.exp: Likewise.
18905 * gdb.mi/mi-return.exp: Likewise.
18906 * gdb.mi/mi-simplerun.exp: Likewise.
18907 * gdb.mi/mi-stack.exp: Likewise.
18908 * gdb.mi/mi-stepi.exp: Likewise.
18909 * gdb.mi/mi-syn-frame.exp: Likewise.
18910 * gdb.mi/mi-until.exp: Likewise.
18911 * gdb.mi/mi-var-block.exp: Likewise.
18912 * gdb.mi/mi-var-child.exp: Likewise.
18913 * gdb.mi/mi-var-cmd.exp: Likewise.
18914 * gdb.mi/mi-var-display.exp: Likewise.
18915 * gdb.mi/mi-watch.exp: Likewise.
18916 * gdb.mi/mi2-basics.exp: Likewise.
18917 * gdb.mi/mi2-break.exp: Likewise.
18918 * gdb.mi/mi2-cli.exp: Likewise.
18919 * gdb.mi/mi2-console.exp: Likewise.
18920 * gdb.mi/mi2-disassemble.exp: Likewise.
18921 * gdb.mi/mi2-eval.exp: Likewise.
18922 * gdb.mi/mi2-file.exp: Likewise.
18923 * gdb.mi/mi2-read-memory.exp: Likewise.
18924 * gdb.mi/mi2-regs.exp: Likewise.
18925 * gdb.mi/mi2-return.exp: Likewise.
18926 * gdb.mi/mi2-simplerun.exp: Likewise.
18927 * gdb.mi/mi2-stack.exp: Likewise.
18928 * gdb.mi/mi2-stepi.exp: Likewise.
18929 * gdb.mi/mi2-syn-frame.exp: Likewise.
18930 * gdb.mi/mi2-until.exp: Likewise.
18931 * gdb.mi/mi2-var-block.exp: Likewise.
18932 * gdb.mi/mi2-var-child.exp: Likewise.
18933 * gdb.mi/mi2-var-cmd.exp: Likewise.
18934 * gdb.mi/mi2-var-display.exp: Likewise.
18935 * gdb.mi/mi2-watch.exp: Likewise.
18936 * gdb.stabs/exclfwd.exp: Likewise.
18937 * gdb.stabs/weird.exp: Likewise.
18938 * gdb.threads/gcore-thread.exp: Likewise.
18939 * gdb.trace/actions.exp: Likewise.
18940 * gdb.trace/backtrace.exp: Likewise.
18941 * gdb.trace/circ.exp: Likewise.
18942 * gdb.trace/collection.exp: Likewise.
18943 * gdb.trace/deltrace.exp: Likewise.
18944 * gdb.trace/infotrace.exp: Likewise.
18945 * gdb.trace/limits.exp: Likewise.
18946 * gdb.trace/packetlen.exp: Likewise.
18947 * gdb.trace/passc-dyn.exp: Likewise.
18948 * gdb.trace/passcount.exp: Likewise.
18949 * gdb.trace/report.exp: Likewise.
18950 * gdb.trace/save-trace.exp: Likewise.
18951 * gdb.trace/tfind.exp: Likewise.
18952 * gdb.trace/tracecmd.exp: Likewise.
18953 * gdb.trace/while-dyn.exp: Likewise.
18954 * gdb.trace/while-stepping.exp: Likewise.
18955
18956 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18957
18958 * gdb.base/step-bt.c: New file.
18959 * gdb.base/step-bt.exp: New testcase.
18960
18961 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18962
18963 * config/monitor.exp (gdb_load): Remove support for obsolete
18964 download-write-size.
18965 * gdb.base/remote.exp: Likewise. Update all callers of
18966 gdb_timed_load.
18967
18968 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18969
18970 * cursal.exp: Pass binfile to gdb_load.
18971
18972 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18973
18974 * gdb.base/cursal.exp: Add "" to gdb_load call.
18975
18976 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18977
18978 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18979 NetBSD/ELF targets.
18980
18981 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18982
18983 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18984 operator*.
18985
18986 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18987
18988 * gdb.base/completion.exp: Update for change in "file" behavior.
18989 * gdb.stabs/weird.exp: Likewise.
18990 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18991 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18992
18993 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18994
18995 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18996 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18997
18998 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18999
19000 * gdb.base/default.exp: Update source command error message.
19001 * gdb.base/help.exp: Update 'help source' message.
19002
19003 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
19004
19005 * gdb.cp/bs15503.exp: Update comment for no longer crashing
19006 test.
19007
19008 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
19009
19010 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
19011
19012 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19013
19014 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
19015
19016 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19017
19018 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
19019
19020 2006-07-17 Mark Kettenis <kettenis@gnu.org>
19021
19022 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
19023 *-*-openbsd* from targets for wich we expect ARM FPA floating
19024 point format.
19025
19026 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
19027
19028 * gdb.cp/annota3.exp: Expect frame-begin annotation.
19029
19030 2006-07-17 Mark Kettenis <kettenis@gnu.org>
19031
19032 * gdb.base/annota3.exp: Expect frame-begin annotation.
19033
19034 2006-07-14 Joel Brobecker <brobecker@adacore.com>
19035
19036 * gdb.base/help.exp: Adjust "help unset" test to accept
19037 any list of unset commands.
19038
19039 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
19040 Daniel Jacobowitz <dan@codesourcery.com>
19041
19042 * gdb.cp/ref-params.exp: New test.
19043 * gdb.cp/ref-params.cc: New source file.
19044 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
19045
19046 2006-07-08 Mark Kettenis <kettenis@gnu.org>
19047
19048 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
19049 spaces/tabs in regular expressions since they might not be there.
19050
19051 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
19052
19053 * gdb.base/ifelse.exp: New file.
19054
19055 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
19056
19057 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
19058 line.
19059 * gdb.base/huge.exp: Loop over compilation to find a size that
19060 is acceptable.
19061 * gdb.base/remote.exp: Correct expected strings.
19062 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
19063
19064 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19065
19066 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
19067
19068 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19069
19070 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
19071 native.
19072
19073 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19074
19075 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
19076 enable stabs testing.
19077
19078 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19079
19080 * gdb.base/auxv.exp: Intercept undefined command messages before
19081 gdb_test_multiple does.
19082
19083 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19084
19085 * Makefile.in (host_alias): Remove.
19086 (target_alias): Use @target_noncanonical@.
19087 (site.exp): Don't set host_alias.
19088 * aclocal.m4: Remove contents. Include acx.m4.
19089 * configure: Regenerated.
19090 * configure.ac: Use ACX_NONCANONICAL_TARGET.
19091
19092 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
19093
19094 * lib/gdb.exp (gdb_load_cmd): New.
19095
19096 * gdb.base/fileio.c: Add system(NULL) test.
19097 * gdb.base/fileio.exp: Check it.
19098
19099 * gdb.base/break.c: Add 10a breakpoint at }
19100 * gdb.base/break.exp: Add test for breakpoint at }
19101 * gdb.cp/anon-union.cc: Add code at end of function.
19102 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
19103 * gdb.mi/var-cmd.c: Add code at end of function.
19104 * gdb.mi/mi-var-display.exp: Adjust end of next.
19105 * gdb.mi/mi2-var-display.exp: Likewise.
19106 * gdb.base/fileio.c: Add stop function and insert calls at
19107 stopping places.
19108 * gdb.base/fileio.exp: Breakpoint stop function and remove
19109 explicit line number references.
19110
19111 2006-05-19 Joel Brobecker <brobecker@adacore.com>
19112
19113 * gdb.base/del.exp (test_delete_alias): New function.
19114 Now check that both "del" and "d" work as aliases for "delete".
19115
19116 2006-05-18 Fred Fish <fnf@specifix.com>
19117
19118 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
19119 required. Check for spurious output after program exits normally.
19120
19121 2006-05-17 Fred Fish <fnf@specifix.com>
19122
19123 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
19124 gdb_load, so it works in the simulator.
19125
19126 2006-05-11 Fred Fish <fnf@specifix.com>
19127
19128 * gdb.base/bang.exp: Ignore unexpected output between the
19129 "program exited normally" and the gdb prompt, as many other
19130 tests do.
19131
19132 2006-05-07 Mark Kettenis <kettenis@gnu.org>
19133
19134 * gdb.base/help.exp: Make "delete checkpoint" part option for
19135 "help d" and "help delete" tests.
19136
19137 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19138
19139 * gdb.mi/mi-basics.exp: Add missing serial number to
19140 expected output in some mi_gdb_test statements.
19141 * gdb.mi/mi2-basics.exp: Likewise.
19142
19143 2006-05-05 Joel Brobecker <brobecker@adacore.com>
19144
19145 * gdb.base/del.c: New file.
19146 * gdb.base/del.exp: New testcase.
19147
19148 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
19149
19150 * gdb.base/break.exp: Do not assume a breakpoint on
19151 main will actually be in $srcfile when optimizing.
19152 * gdb.base/savedregs.exp: Do not require that the dummy
19153 frame location match up to a symbol and source file location.
19154 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
19155 will get printed without a mi_cmd_data_list_register_values prefix.
19156 (*-data-list-register-*): Correct regular expressions to expect the new
19157 pseudo d? floating point registers.
19158 * gdb.mi/mi2-regs.exp: Likewise.
19159
19160 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
19161
19162 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
19163 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
19164 is allocated by the compiler.
19165 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
19166 anons, e, anone to force their allocation by the compiler.
19167
19168 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
19169
19170 * gdb.base/help.exp: Update expected text for help d and
19171 help delete.
19172
19173 2006-05-02 Mark Kettenis <kettenis@gnu.org>
19174
19175 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
19176 NetBSD/ELF targets.
19177
19178 2006-04-30 Mark Kettenis <kettenis@gnu.org>
19179
19180 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
19181 single-step breakpoint fails; make this a KFAIL on
19182 sparc*-*-openbsd*.
19183 * gdb.base/siginfo.exp: Likewise.
19184 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19185
19186 2006-04-26 Michael Snyder <msnyder@redhat.com>
19187
19188 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
19189 which may have to consume output from other forks.
19190 Add tests to make sure that "delete fork" succeeded.
19191
19192 2006-04-20 Michael Snyder <msnyder@redhat.com>
19193
19194 * 2006-03-22 Jim Blandy <jimb@redhat.com>
19195 Add support for the Renesas M32C and M16C.
19196
19197 * gdb.asm/asm-source.exp: Add m32c target.
19198 * gdb.asm/m32c.inc: Support for m32c target.
19199
19200 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
19201
19202 * gdb.base/commands.exp (recursive_source_test): New test.
19203
19204 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
19205
19206 * gdb.base/float.exp: Add pattern for sparc targets.
19207
19208 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19209
19210 * gdb.base/commands.exp (stray_arg0_test): New test.
19211
19212 2006-03-30 Paul Brook <paul@codesourcery.com>
19213
19214 * gdb.mi/mi-until.exp: kfail broken until command.
19215 * gdb.mi/mi2-until.exp: Ditto.
19216
19217 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
19218
19219 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
19220
19221 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
19222
19223 * gdb.base/prelink.exp: Anchor tested-for regular expression
19224 on gdb prompt.
19225
19226 2006-03-07 Paul Brook <paul@codesourcery.com>
19227
19228 * gdb.base/assign.exp: Correct fail message.
19229
19230 2006-03-07 Paul Brook <paul@codesourcery.com>
19231
19232 * lib/compiler.c: Extract armcc version number.
19233 * lib/compiler.cc: Ditto.
19234
19235 2006-03-07 Paul Brook <paul@codesourcery.com>
19236
19237 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
19238 additional_flags=-w.
19239 * gdb.arch/altivec-regs.exp: Ditto.
19240 * gdb.arch/e500-abi.exp: Ditto.
19241 * gdb.arch/e500-regs.exp: Ditto.
19242 * gdb.base/all-bin.exp: Ditto.
19243 * gdb.base/annota1.exp: Ditto.
19244 * gdb.base/annota3.exp: Ditto.
19245 * gdb.base/args.exp: Ditto.
19246 * gdb.base/arithmet.exp: Ditto.
19247 * gdb.base/assign.exp: Ditto.
19248 * gdb.base/async.exp: Ditto.
19249 * gdb.base/bang.exp: Ditto.
19250 * gdb.base/break.exp: Ditto.
19251 * gdb.base/call-rt-st.exp: Ditto.
19252 * gdb.base/completion.exp: Ditto.
19253 * gdb.base/cond-expr.exp: Ditto.
19254 * gdb.base/condbreak.exp: Ditto.
19255 * gdb.base/consecutive.exp: Ditto.
19256 * gdb.base/define.exp: Ditto.
19257 * gdb.base/display.exp: Ditto.
19258 * gdb.base/ena-dis-br.exp: Ditto.
19259 * gdb.base/environ.exp: Ditto.
19260 * gdb.base/eval-skip.exp: Ditto.
19261 * gdb.base/info-proc.exp: Ditto.
19262 * gdb.base/jump.exp: Ditto.
19263 * gdb.base/logical.exp: Ditto.
19264 * gdb.base/long_long.exp: Ditto.
19265 * gdb.base/maint.exp: Ditto.
19266 * gdb.base/miscexprs.exp: Ditto.
19267 * gdb.base/pc-fp.exp: Ditto.
19268 * gdb.base/pointers.exp: Ditto.
19269 * gdb.base/relational.exp: Ditto.
19270 * gdb.base/reread.exp: Ditto.
19271 * gdb.base/sect-cmd.exp: Ditto.
19272 * gdb.base/sep.exp: Ditto.
19273 * gdb.base/sepdebug.exp: Ditto.
19274 * gdb.base/until.exp: Ditto.
19275 * gdb.base/whatis-exp.exp: Ditto.
19276 * gdb.cp/annota2.exp: Ditto.
19277 * gdb.cp/annota3.exp: Ditto.
19278 * gdb.trace/actions.exp: Ditto.
19279 * gdb.trace/backtrace.exp: Ditto.
19280 * gdb.trace/circ.exp: Ditto.
19281 * gdb.trace/collection.exp: Ditto.
19282 * gdb.trace/deltrace.exp: Ditto.
19283 * gdb.trace/infotrace.exp: Ditto.
19284 * gdb.trace/limits.exp: Ditto.
19285 * gdb.trace/packetlen.exp: Ditto.
19286 * gdb.trace/passc-dyn.exp: Ditto.
19287 * gdb.trace/passcount.exp: Ditto.
19288 * gdb.trace/report.exp: Ditto.
19289 * gdb.trace/save-trace.exp: Ditto.
19290 * gdb.trace/tfind.exp: Ditto.
19291 * gdb.trace/tracecmd.exp: Ditto.
19292 * gdb.trace/while-dyn.exp: Ditto.
19293 * gdb.trace/while-stepping.exp: Ditto.
19294 * lib/gdb.exp: Ditto.
19295 (gdb_compile): Handle nowarning option.
19296
19297 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
19298
19299 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
19300 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
19301 Rename executable to prelinkt. Don't re-prelink if we didn't
19302 get a core file. Test prelink -u exit status to tell whether
19303 prelinking failed. Use gdb_test_multiple.
19304
19305 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
19306
19307 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
19308 (do_tests): Call it.
19309
19310 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
19311
19312 * gdb.base/prelink.exp: New test.
19313 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
19314
19315 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
19316
19317 * gdb.fortran/derived-type.f90: New file.
19318 * gdb.fortran/derived-type.exp: New testcase.
19319
19320 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19321
19322 * gdb.base/default.exp: Allow ';' as a directory separator.
19323
19324 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19325
19326 * gdb.base/help.exp (help add-symbol-file): Update.
19327
19328 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19329
19330 * gdb.base/help.exp (help load): Update expected results.
19331
19332 2006-02-19 Fred Fish <fnf@specifix.com>
19333
19334 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19335 specifix hex value as part of results.
19336 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
19337
19338 2006-02-16 Fred Fish <fnf@specifix.com>
19339
19340 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19341 ushort_addr, and slong_addr, so the typedefs are not optimized
19342 away.
19343 * gdb.base/whatis.exp: Add tests using type name for struct type,
19344 union type, enum type, and typedef.
19345
19346 2006-02-13 Mark Kettenis <kettenis@gnu.org>
19347
19348 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19349
19350 2006-02-13 Jim Blandy <jimb@redhat.com>
19351
19352 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19353 case where it takes two "next" commands to skip past the init
19354 call.
19355
19356 2006-02-12 Fred Fish <fnf@specifix.com>
19357
19358 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19359 to handle cases where it takes two "next" commands to skip
19360 past the init call.
19361
19362 2006-02-07 Joel Brobecker <brobecker@adacore.com>
19363
19364 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19365 on hppa32 targets.
19366
19367 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
19368
19369 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19370 field.
19371
19372 2006-01-29 Mark Kettenis <kettenis@gnu.org>
19373
19374 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19375
19376 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19377
19378 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19379 files.
19380
19381 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19382
19383 * gdb.cp/maint.exp: Set complaints to a positive value.
19384
19385 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19386
19387 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19388 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19389 function name.
19390
19391 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19392
19393 * gdb.base/checkpoint.c: Update copyright notice. Include
19394 <stdlib.h>.
19395
19396 2006-01-04 Jim Blandy <jimb@redhat.com>
19397
19398 * gdb.asm/asm-source.exp: Independently provide default values for
19399 asm-flags and debug-flags. Use 'string equal' to do the
19400 comparison, not the implicit expr's '==' operator. Remove
19401 now-unneeded assignments to asm-flags. In h8300 case, place
19402 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19403
19404 2006-01-04 Michael Snyder <msnyder@redhat.com>
19405
19406 * gdb.base/checkpoint.c: New file.
19407 * gdb.base/checkpoint.exp: New file.
19408 * gdb.base/multi-fork.c: New file.
19409 * gdb.base/multi-fork.exp: New file.
19410 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19411
19412 2006-01-04 Fred Fish <fnf@specifix.com>
19413
19414 * gdb.base/ptype.c (foo): Add typedef.
19415 (intfoo): Add function.
19416 * gdb.base/ptype1.c: New file.
19417 * gdb.base/ptype.exp: Handle compilation and linking with two
19418 source files. Test that proper type for "foo" is found based
19419 on source context rather than first match found in symtabs.
19420
19421 2005-12-28 Mark Kettenis <kettenis@gnu.org>
19422
19423 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19424 * gdb.asm/openbsd.inc: Indent commands.
19425
19426 2005-12-26 Mark Kettenis <kettenis@gnu.org>
19427
19428 * gdb.base/freebpcmd.exp: Increase timeout.
19429
19430 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19431
19432 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19433
19434 * gdb.base/default.exp: Update check for "show version".
19435
19436 2005-12-09 Randolph Chung <tausq@debian.org>
19437
19438 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19439 * gdb.asm/pa64.inc: New file.
19440
19441 2005-12-09 Randolph Chung <tausq@debian.org>
19442
19443 * gdb.asm/common.inc: Indent commands.
19444 * gdb.asm/asmsrc1.s: Likewise.
19445 * gdb.asm/asmsrc2.s: Likewise.
19446
19447 2005-12-09 Randolph Chung <tausq@debian.org>
19448
19449 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19450 (get_addr_of_sym): Remove duplicate print.
19451 (gen_core): xfail hppa*-*-hpux*, update expected output.
19452 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19453 * gdb.arch/pa64-nullify.s: New file.
19454
19455 2005-12-09 Randolph Chung <tausq@debian.org>
19456
19457 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19458
19459 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
19460
19461 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19462 code generation for these functions.
19463 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19464 error message.
19465
19466 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19467
19468 * gdb.base/help.exp (help b, help br, help bre, help brea)
19469 (help break): Update the expected message.
19470
19471 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19472
19473 * gdb.asm/m68hc11.inc: Setup the data section.
19474 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19475 script for this test.
19476 (m6812-*-*): Likewise.
19477
19478 2005-11-09 Randolph Chung <tausq@debian.org>
19479
19480 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19481
19482 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19483
19484 * gdb.base/break.exp: Fix a comment typo.
19485
19486 2005-11-03 Jim Blandy <jimb@redhat.com>
19487
19488 Checked in by Elena Zannoni <ezannoni@redhat.com>
19489
19490 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
19491
19492 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
19493
19494 * gdb.arch/gdb1558.c: Include stdio.h.
19495
19496 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19497
19498 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19499
19500 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19501
19502 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19503
19504 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19505
19506 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19507 vscr" tests to better match output.
19508
19509 2005-10-12 Jim Blandy <jimb@redhat.com>
19510
19511 * gdb.base/structs.exp (any): New function.
19512 (test_struct_returns): Don't make any assumptions at all about
19513 what value the function returns when GDB can't set the return
19514 value.
19515
19516 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19517
19518 * gdb.ada/arrayidx/p.adb: New file.
19519 * gdb.ada/arrayidx.exp: New testcase
19520
19521 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19522
19523 * gdb.ada/array_return/pck.ads: New file.
19524 * gdb.ada/array_return/pck.adb: New file.
19525 * gdb.ada/array_return/p.adb: New file.
19526 * gdb.ada/array_return.exp: New testcase.
19527
19528 2005-10-03 Joel Brobecker <brobecker@adacore.com>
19529
19530 * gdb.base/arrayidx.c: New file.
19531 * gdb.base/arrayidx.exp: New testcase.
19532
19533 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
19534
19535 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19536 frames-invalid and breakpoints-invalid are no longer generated
19537 with level 3 so don't expect them in the output.
19538
19539 2005-09-27 Bob Rossi <bob@brasko.net>
19540
19541 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
19542 from test. Escape the | in mi_gdb_test call.
19543 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19544 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19545 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19546 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19547 expected regex's in mi_gdb_test calls.
19548 * lib/mi-support.exp: Remove arbitrary .* from tests.
19549 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19550 Fully anchor GDB/MI expected results in mi_gdb_test.
19551 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19552 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19553
19554 2005-09-26 Paul Brook <paul@codesourcery.com>
19555
19556 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19557
19558 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19559
19560 * bfp-test.c: New file.
19561 * bfp-test.exp: New testcase.
19562
19563 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19564
19565 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19566 of subarray and substring variable.
19567 * gdb.fortran/subarray.f: New source file for the test of subarray
19568 and substring variable evaluation.
19569 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19570 of string constant.
19571
19572 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19573
19574 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19575 copyright dates.
19576
19577 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19578
19579 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19580 powerpc altivec' test with an almost identical 'info vector' test.
19581
19582 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19583
19584 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19585 vscr" tests to match output.
19586
19587 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19588
19589 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19590 output.
19591
19592 2005-09-11 Bob Rossi <bob@brasko.net>
19593
19594 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19595 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19596 commands that return an MI output command and an asyncronous MI output
19597 command.
19598 * gdb.mi/mi-console.exp: Ditto.
19599
19600 2005-09-11 Bob Rossi <bob@brasko.net>
19601
19602 * gdb.mi/mi-var-child.c: Include <string.h>.
19603
19604 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19605
19606 * killed.exp: Correct gdb_expect syntax.
19607
19608 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
19609
19610 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19611
19612 2005-08-02 Bob Rossi <bob@brasko.net>
19613
19614 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19615 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19616 Change tests to inferior-tty-set/show.
19617 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19618 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19619 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19620 inferior. Use mi_gdb_test to get GDB and Inferior output.
19621 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19622 descriptor.
19623 (mi_inferior_tty_name): Add inferior PTY file name.
19624 (mi_gdb_start): Add INFERIOR_PTY parameter.
19625 (mi_gdb_test): Add IPATTERN parameter.
19626
19627 2005-08-02 Bob Rossi <bob@brasko.net>
19628
19629 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19630 parameter to mi_gdb_test.
19631 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19632
19633 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19634
19635 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19636 struct_declarations.
19637 * gdb.mi/mi-var-child.exp: Step over the initialization of
19638 struct_declarations.
19639
19640 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19641
19642 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19643 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19644 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19645 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19646 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19647 file.
19648
19649 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
19650
19651 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19652 (do_children_tests): Assign values to the extra elements.
19653
19654 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19655 them for tests for "-var-update --no-values" and
19656 "-var-update --all-values".
19657 Add test for "-var-list-children --simple-values".
19658
19659 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19660
19661 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19662 "-stack-list-locals --simple-values" Improve doc strings and
19663 comments.
19664
19665 2005-07-18 Mark Kettenis <kettenis@gnu.org>
19666
19667 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19668 *-*-openbsd*.
19669 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19670
19671 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19672 sigaltsatck'.
19673
19674 2005-07-14 Bob Rossi <bob@brasko.net>
19675
19676 * gdb.base/default.exp (tty): Changed output of command.
19677 * gdb.base/help.exp (help tty): Ditto.
19678
19679 2005-07-12 Mark Kettenis <kettenis@gnu.org>
19680
19681 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19682
19683 2005-07-10 Mark Kettenis <kettenis@gnu.org>
19684
19685 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19686 -stack-select-frame without arguments.
19687 (test_stack_frame_listing): Add test for newly implemented command
19688 -stack-info-frame.
19689
19690 2005-07-06 Bob Rossi <bob@brasko.net>
19691
19692 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19693 command.
19694 (Copyright): Update copyright.
19695
19696 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19697
19698 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19699 tests to evaluate exponentiation expression.
19700
19701 2005-06-29 Andreas Schwab <schwab@suse.de>
19702
19703 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19704 main to avoid warnings.
19705
19706 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19707
19708 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
19709
19710 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19711 -stack-select-frame without arguments.
19712 (test_stack_frame_listing): Add test for newly implemented command
19713 -stack-info-frame.
19714
19715 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19716
19717 * gdb.fortran/array-element.f: New file.
19718 * gdb.fortran/array-element.exp: New testcase.
19719
19720 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19721
19722 * gdb.base/bigcore.exp: Correct checks for systems which can
19723 not dump a large core file.
19724
19725 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19726
19727 * gdb.base/relocate.c: Add a copyright notice.
19728 (dummy): Remove.
19729 * gdb.base/relocate.exp: Test printing the values of variables
19730 from a relocatable file.
19731
19732 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19733
19734 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19735 excess MI output after an error.
19736
19737 2005-05-29 Joel Brobecker <brobecker@adacore.com>
19738
19739 * gdb.arch/alpha-step.c: New file.
19740 * gdb.arch/alpha-step.exp: New testcase.
19741
19742 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19743 Dennis Brueni <dennis@slickedit.com>
19744
19745 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19746 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19747 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19748 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19749 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19750 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19751 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19752
19753 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19754 Wu Zhou <woodzltc@cn.ibm.com>
19755
19756 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19757 IBM's xlc compiler.
19758 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19759 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19760
19761 2005-05-13 Jim Blandy <jimb@redhat.com>
19762
19763 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19764 calling gdb_suppress_entire_file.
19765 * gdb.base/charset.exp: Same.
19766 * gdb.base/call-rt-st.exp: Same.
19767
19768 2005-05-05 Bob Rossi <bob_rossi@cox.net>
19769
19770 * lib/gdb.exp (fullname_syntax): Added global regex.
19771 (fullname_syntax_POSIX): Ditto.
19772 (fullname_syntax_UNC): Ditto.
19773 (fullname_syntax_DOS_CASE): Ditto.
19774 (fullname_syntax_DOS): Ditto.
19775 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19776 fullname_syntax variable to scope and use it.
19777 (test_file_list_exec_source_files): Ditto.
19778 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19779
19780 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19781
19782 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19783
19784 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19785
19786 * lib/gdb.exp (skip_altivec_tests): New function, based on
19787 check_vmx_hw_available from the GCC testsuite.
19788 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19789 * lib/gdb.arch/altivec-regs.exp: Likewise.
19790
19791 2005-05-02 Jim Blandy <jimb@redhat.com>
19792
19793 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19794 calling gdb_suppress_entire_file.
19795
19796 2005-04-30 Randolph Chung <tausq@debian.org>
19797
19798 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19799 Slightly relax "sem_post" name checking.
19800
19801 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19802
19803 * gdb.base/unload.exp: Use new shared library infrastructure.
19804
19805 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19806
19807 * gdb.base/so-impl-ld.exp: Use new shared library
19808 infrastructure.
19809
19810 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19811
19812 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19813 * gdb.asm/h8300.inc: New file.
19814
19815 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19816
19817 * gdb.base/shlib-call.exp: Change to use new shared library
19818 infrastructure.
19819
19820 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19821
19822 * gdb.base/pending.exp: Change to use new shared library
19823 infrastructure.
19824
19825 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19826
19827 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19828 use test_compiler_info instead of gcc_compiled, and update copyright.
19829
19830 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19831
19832 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19833 shared objects being adjusted and update copyright years.
19834
19835 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19836
19837 * ChangeLog: Correct some 2003-01-13 dates.
19838 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19839 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19840 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19841 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19842 gdb.trace/tfind.exp: Update copyright years.
19843
19844 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19845 Daniel Jacobowitz <dan@codesourcery.com>
19846
19847 * lib/gdb.exp (gdb_compile): Handle shlib=.
19848 (gdb_compile_shlib): New function.
19849
19850 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19851
19852 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19853
19854 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19855
19856 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19857 gdb.server.
19858 * configure.ac: Likewise.
19859 * configure: Regenerated.
19860 * gdb.gdbserver/Makefile.in: Moved to...
19861 * gdb.server/Makefile.in: ... here.
19862 * gdb.gdbserver/server.c: Moved to...
19863 * gdb.server/server.c: ... here.
19864 * gdb.gdbserver/server-run.exp: Moved to...
19865 * gdb.server/server-run.exp: ... here.
19866
19867 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19868
19869 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19870 * configure.ac: Create gdb.gdbserver/Makefile.
19871 * configure: Regenerated.
19872 * lib/gdbserver-support.exp: New file, derived from
19873 config/gdbserver.exp.
19874 * config/gdbserver.exp: Use gdbserver-support.exp.
19875 * gdb.gdbserver/Makefile.in: New file.
19876 * gdb.gdbserver/server.c: New file.
19877 * gdb.gdbserver/server-run.exp: New file.
19878
19879 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19880
19881 * lib/gdb.exp (test_compiler_info): Return compiler_info
19882 if no arguments are given.
19883
19884 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19885
19886 * gdb.arch/altivec-abi.exp: Check for compiler and set
19887 use altivec' flag accordingly.
19888 * gdb.arch/altivec-regs.exp: Likewise.
19889
19890 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19891
19892 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19893
19894 2005-03-27 Andreas Schwab <schwab@suse.de>
19895
19896 * gdb.base/bigcore.c (main): Add missing mode argument in open
19897 call.
19898
19899 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19900
19901 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19902 downloads.
19903 * config/gdbserver.exp (gdb_load): Likewise.
19904
19905 2005-03-14 Paul Brook <paul@codesourcery.com>
19906
19907 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19908 targets.
19909
19910 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19911
19912 * gdb.dwarf2/dup-psym.S: New file.
19913 * gdb.dwarf2/dup-psym.exp: New testcase.
19914
19915 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19916
19917 * gdb.ada/exec_changed/first.adb: New file.
19918 * gdb.ada/exec_changed/second.adb: New file.
19919 * gdb.ada/exec_changed.exp: New testcase.
19920
19921 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19922
19923 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19924 (A2): New class.
19925 (main): Test operator+.
19926 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19927 breakpoint test.
19928
19929 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19930 * gdb.base/signull.exp: Disable if gdb,nosignals.
19931 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19932 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19933 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19934 * gdb.mi/mi2-console.exp: Likewise.
19935 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19936 continue output at start.
19937 (gdb_collect_locals_test): Robustify regexp.
19938 * gdb.trace/passc-dyn.exp: Fix comment typo.
19939 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19940
19941 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19942
19943 * gdb.asm/asm-source.exp: Add iq2000 case.
19944 * gdb.asm/iq2000.inc: New file.
19945
19946 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19947
19948 * gdb.base/command.exp: Change hardcoded value to regular expression.
19949 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19950
19951 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19952
19953 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19954 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19955 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19956 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19957 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19958
19959 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19960
19961 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19962 changes.
19963
19964 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19965
19966 * lib/compiler.c: Add test for IBM's xlc compiler.
19967 * lib/compiler.cc: Likewise.
19968
19969 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19970
19971 * gdb.ada/fixed_points.exp: Create compilation object directory
19972 before running the test.
19973 * gdb.ada/null_record.exp: Likewise.
19974 * gdb.ada/packed_array.exp: Likewise.
19975 * gdb.ada/start.exp: Likewise.
19976
19977 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19978
19979 * gdb.ada/packed_array/pa.adb: New file.
19980 * gdb.ada/packed_array.exp: New testcase.
19981
19982 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19983
19984 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19985 files.
19986
19987 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19988 on *-*-openbsd*. Correctly match whitespace in regukar
19989 expressions.
19990
19991 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19992
19993 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19994 PR exp/1821
19995 * gdb.base/gdb1821.c: New test file.
19996 * gdb.base/gdb1821.exp: New test file.
19997
19998 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19999
20000 * gdb.base/start.c: New file.
20001 * gdb.base/start.exp: New testcase.
20002
20003 2005-02-09 Joel Brobecker <brobecker@adacore.com>
20004
20005 * gdb.ada/start/dummy.adb: New file.
20006 * gdb.ada/start.exp: New testcase.
20007
20008 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
20009
20010 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
20011 for printing symbols and statistics.
20012 Add test for using relative pathnames in "maint print msymbols" test.
20013 Mark "maint info sections DATA" XFAIL on Cygwin.
20014 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
20015 tests.
20016
20017 2005-02-09 Andreas Schwab <schwab@suse.de>
20018
20019 Committed by Andrew Cagney <cagney@gnu.org>
20020 * gdb.base/remotetimeout.exp: New file.
20021
20022 2005-02-07 Mark Kettenis <kettenis@gnu.org>
20023
20024 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
20025
20026 2005-02-03 Joel Brobecker <brobecker@adacore.com>
20027
20028 * gdb.ada/gnat_ada.gpr: New file.
20029 * gdb.ada/gnat_ada.gin: Delete, no longer used.
20030 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
20031 * configure.ac: No longer generate gnat_ada.gpr.
20032 * configure: Regenerate.
20033 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
20034 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
20035 * gdb.ada/null_record/bar.ads: Likewise.
20036 * gdb.ada/null_record/bar.adb: Likewise.
20037 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
20038 * gdb.ada/null_record.exp (testdir): New variable.
20039 (testfile): executable is now in testdir subdirectory.
20040 (srcfile): Use full path to the main compilation unit.
20041 * gdb.ada/fixed_points.exp: Same changes as above.
20042
20043 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
20044
20045 * gdb.base/interp.exp: New test.
20046
20047 2005-01-24 Andrew Cagney <cagney@gnu.org>
20048
20049 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
20050
20051 2005-01-19 Andrew Cagney <cagney@gnu.org>
20052
20053 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
20054 configure.ac not configure.in.
20055
20056 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
20057 of powerpc*-*-*.
20058 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
20059 * gdb.base/list.exp (test_list_function)
20060 (test_list_filename_and_function): Ditto.
20061 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
20062
20063 2005-01-16 Andrew Cagney <cagney@gnu.org>
20064
20065 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
20066
20067 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
20068
20069 2005-01-14 Andrew Cagney <cagney@gnu.org>
20070
20071 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
20072 * gdb.mi/mi2-var-cmd.exp: Ditto.
20073
20074 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
20075
20076 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
20077
20078 2005-01-07 Andrew Cagney <cagney@gnu.org>
20079
20080 * configure.ac: Rename configure.in, require autoconf 2.59.
20081 * configure: Re-generate.
20082 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
20083 * gdb.stabs/configure: Re-generate.
20084 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
20085 * gdb.hp/configure: Re-generate.
20086 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
20087 autoconf 2.59.
20088 * gdb.hp/gdb.objdbg/configure: Re-generate.
20089 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
20090 autoconf 2.59.
20091 * gdb.hp/gdb.defects/configure: Re-generate.
20092 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
20093 autoconf 2.59.
20094 * gdb.hp/gdb.compat/configure: Re-generate.
20095 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
20096 autoconf 2.59.
20097 * gdb.hp/gdb.base-hp/configure: Re-generate.
20098 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
20099 autoconf 2.59.
20100 * gdb.hp/gdb.aCC/configure: Re-generate.
20101
20102 2004-12-15 Jim Blandy <jimb@redhat.com>
20103
20104 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
20105 under NPTL when there is debugging info available for libpthread.
20106
20107 2004-12-13 Jerome Guitton <guitton@gnat.com>
20108
20109 * gdb.ada/fixed_points.c: New file.
20110 * gdb.ada/fixed_points.exp: New file.
20111
20112 2004-12-03 Randolph Chung <tausq@debian.org>
20113
20114 * gdb.arch/pa-nullify.exp: New file.
20115 * gdb.arch/pa-nullify.s: New file.
20116
20117 2004-11-30 Randolph Chung <tausq@debian.org>
20118
20119 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
20120 instead of "tbug". Fix regexp to work properly with gdb_test.
20121
20122 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
20123
20124 * gdb.base/bitfields2.exp: New test.
20125 * gdb.base/bitfields2.c: New file.
20126
20127 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
20128
20129 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
20130
20131 2004-11-16 Randolph Chung <tausq@debian.org>
20132
20133 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
20134
20135 2004-11-14 Daniel Jacobowitz <dan@debian.org>
20136
20137 * gdb.threads/threadapply.exp: Correct "macro details" test.
20138
20139 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
20140
20141 * gdb.threads/threadapply.exp: New test.
20142 * gdb.threads/threadapply.c: New file.
20143
20144 2004-11-07 Mark Kettenis <kettenis@gnu.org>
20145
20146 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
20147 frames.
20148
20149 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
20150
20151 * gdb.base/cursal.exp: New file.
20152 * gdb.base/cursal.c: New file.
20153
20154 2004-11-03 Andrew Cagney <cagney@gnu.org>
20155
20156 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
20157
20158 2004-10-30 Mark Kettenis <kettenis@gnu.org>
20159
20160 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
20161 NetBSD/ELF targets.
20162
20163 2004-10-29 Joel Brobecker <brobecker@gnat.com>
20164
20165 * gdb.threads/bp_in_thread.c: New file, copied from
20166 pthread_cond_wait.c.
20167 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
20168 file, rather than reusing the .c file from another testcase.
20169
20170 2004-10-20 Joel Brobecker <brobecker@gnat.com>
20171
20172 * gdb.ada/null_record.exp: Check where we stopped after
20173 sending the start command, instead of where the associated
20174 temporary breakpoint was inserted.
20175
20176 2004-10-14 Andrew Cagney <cagney@gnu.org>
20177
20178 * gdb.mi/gdb701.c (main): Return 0.
20179
20180 2004-10-13 Daniel Jacobowitz <dan@debian.org>
20181
20182 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
20183
20184 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
20185
20186 * gdb.threads/schedlock.c: Add comment markers to use to find
20187 line numbers.
20188 * gdb.threads/schedlock.exp: Adjust regex to handle the new
20189 comments.
20190 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20191 breakpoint lines.
20192
20193 2004-10-12 Daniel Jacobowitz <dan@debian.org>
20194
20195 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
20196
20197 2004-10-12 Daniel Jacobowitz <dan@debian.org>
20198
20199 * configure.in: Add gdb.dwarf2.
20200 * configure: Regenerated.
20201 * Makefile.in: Add gdb.dwarf2.
20202 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
20203 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
20204 gdb.dwarf2/file1.txt: New files.
20205
20206 2004-10-11 Orjan Friberg <orjanf@axis.com>
20207
20208 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
20209 of "run", since the latter doesn't work with remote targets. Adjust
20210 the breakpoint numbering accordingly.
20211 * gdb.threads/pthread_cond_wait.exp: Ditto.
20212
20213 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
20214
20215 * gdb.base/overlays.exp: Update copyright years.
20216
20217 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
20218
20219 * gdb.base/overlays.exp: Disable if target is Linux.
20220
20221 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
20222
20223 * config/gdbserver.exp (gdb_load): Use right filename on remote.
20224
20225 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
20226
20227 * gdb.asm/asm-source.exp: Add m32r-linux target.
20228 * gdb.asm/m32r-linux.inc: New file.
20229
20230 2004-09-24 Andrew Cagney <cagney@redhat.com>
20231 David Anderson <anderson@redhat.com>
20232
20233 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
20234 command fails, assume things will work.
20235 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
20236 (_GNU_SOURCE): Define.
20237 (print_unsigned, print_hex): Change parameter to "long long".
20238 (print_byte_count): New function, use to print byte counts.
20239 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
20240 O_LARGEFILE.
20241 (main): Compute an upper bound on a corefile in max_core_size.
20242 Limit memory chunk size to max_core_size. Limit total memory
20243 allocated to max_core_size.
20244
20245 2004-09-23 Andrew Cagney <cagney@gnu.org>
20246
20247 * gdb.base/bigcore.exp: Replace the code that creates a corefile
20248 from a separate process with code that creates a corefile by
20249 making the inferior dump core.
20250
20251 2004-09-23 Mark Kettenis <kettenis@gnu.org>
20252
20253 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
20254 block.
20255
20256 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
20257
20258 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
20259 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
20260 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
20261 Likewise.
20262
20263 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
20264
20265 * gdb.java/jprint.exp: New test case for java inferior call.
20266 * gdb.java/jprint.java: Ditto.
20267
20268 2004-09-15 Joel Brobecker <brobecker@gnat.com>
20269
20270 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
20271
20272 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20273
20274 * gdb.threads/killed.c: Include <stdlib.h>.
20275 * gdb.threads/pthreads.c: Likewise.
20276
20277 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20278
20279 * gdb.threads/killed.c: Add copyright notice.
20280
20281 2004-09-10 Jason Molenda (jmolenda@apple.com)
20282
20283 * gdb.base/define.exp: Two new tests to verify zero space chars
20284 after 'if' and 'while' commands in a user-defined command is correctly
20285 parsed.
20286
20287 2004-09-08 Andrew Cagney <cagney@gnu.org>
20288
20289 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
20290 delivery test with duplicate at end of file.
20291
20292 2004-09-06 Mark Kettenis <kettenis@jive.nl>
20293
20294 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
20295
20296 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20297
20298 * config/hppro.exp: Removed.
20299
20300 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20301
20302 * config/sparclet.exp: Removed.
20303
20304 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20305
20306 * config/udi.exp: Removed.
20307
20308 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
20309
20310 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20311 of "exp_continue".
20312 (advancei): Likewise.
20313
20314 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20315
20316 * gdb.base/unload.exp: Fix so messages aren't duplicated.
20317
20318 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20319
20320 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
20321 to check for nodebug in executable.
20322 * gdb.gdb/observer.exp (setup_test): Likewise.
20323 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20324 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20325
20326 2004-09-01 Andrew Cagney <cagney@gnu.org>
20327
20328 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20329 files.
20330
20331 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20332
20333 * gdb.base/unload.exp: Fix expected warning message to match
20334 latest format.
20335
20336 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
20337
20338 * gdb.base/call-rt-st.exp: Fix typos.
20339
20340 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20341
20342 * gdb.threads/thread_check.exp: New testcase.
20343 * gdb.threads/thread_check.c: New testcase.
20344
20345 2004-08-31 Andrew Cagney <cagney@gnu.org>
20346
20347 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20348 (skip_to_handler_entry): New procedures. Test stepping into a
20349 handler when the breakpoint is at the handler's entry point.
20350
20351 2004-08-30 Andrew Cagney <cagney@gnu.org>
20352
20353 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20354 gdb/1757.
20355
20356 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20357
20358 With code from Manoj Iyer <manjo@austin.ibm.com>:
20359 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20360 return value. Add an arm for "no debugging symbols found".
20361 Change a stray "error" to "perror".
20362 (gdb_run_cmd): Adapt to new return value.
20363 * gdb.base/remote.exp: Adapt to new return value.
20364 * gdb.gdb/complaints.exp: Likewise.
20365 * gdb.gdb/observer.exp: Likewise.
20366 * gdb.gdb/selftest.exp: Likewise.
20367 * gdb.gdb/xfullpath.exp: Likewise.
20368
20369 2004-08-27 Joel Brobecker <brobecker@gnat.com>
20370
20371 * gdb.threads/bp_in_thread.exp: New testcase.
20372
20373 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20374
20375 Fix PR testsuite/1735.
20376 * gdb.threads/schedlock.c (thread_function): Add a cast
20377 to suppress a gcc warning.
20378 * gdb.threads/thread-specific.c (thread_function): Likewise.
20379
20380 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20381
20382 * gdb.base/unload.c: Include <stdlib.h>.
20383
20384 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20385
20386 From Paul Gilliam <pgilliam@us.ibm.com>:
20387 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20388 synchronized after the "return".
20389
20390 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20391
20392 * gdb.mi/basics.c: Include <stdio.h>.
20393 * gdb.mi/pthreads.c: Include <stdlib.h>.
20394 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20395
20396 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20397
20398 * gdb.threads/schedlock.c: Add copyright notice.
20399
20400 2004-08-25 Andrew Cagney <cagney@gnu.org>
20401
20402 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20403 (skip_over_handler, breakpoint_over_hander): New test procedures.
20404 (advance, advancei): Add a proper prefix, do not use
20405 rerun_to_main.
20406 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20407
20408 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20409
20410 * gdb.mi/basics.c: Add copyright notice.
20411 * gdb.mi/var-cmd.c: Add copyright notice.
20412
20413 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20414
20415 * lib/gdb.exp: Remove signed_keyword_not_used.
20416 * lib/compiler.c: Likewise.
20417 * lib/compiler.cc: Likewise.
20418
20419 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20420
20421 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20422 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20423
20424 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20425
20426 * gdb.base/whatis.c: Add copyright notice.
20427
20428 2004-08-20 Mark Kettenis <kettenis@gnu.org>
20429
20430 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20431 it to skip the breakpoints encoded in the inline assembly.
20432
20433 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20434
20435 * Makefile.in: Add gdb.fortran.
20436
20437 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20438
20439 * gdb.base/call-sc.exp (test_scalar_returns):
20440 Fix cut-and-paste glitch in "Make fun return now".
20441
20442 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20443
20444 * configure.in: Add gdb.fortran.
20445 * configure: Regenerate.
20446 * gdb.fortran/Makefile.in: New file.
20447 * lib/gdb.exp (skip_fortran_tests): New procedure.
20448
20449 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20450
20451 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20452 reference to bug-gnu@prep.ai.mit.edu.
20453 * gdb.mi/mi-var-child.exp: Likewise.
20454 * gdb.mi/mi-var-cmd.exp: Likewise.
20455 * gdb.mi/mi-var-display.exp: Likewise.
20456 * gdb.mi/mi2-var-block.exp: Likewise.
20457 * gdb.mi/mi2-var-child.exp: Likewise.
20458 * gdb.mi/mi2-var-cmd.exp: Likewise.
20459 * gdb.mi/mi2-var-display.exp: Likewise.
20460
20461 2004-08-15 Mark Kettenis <kettenis@gnu.org>
20462
20463 * gdb.base/unload.c (main): Make local variable msg const.
20464
20465 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20466
20467 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20468 to bug-gnu@prep.ai.mit.edu.
20469 * gdb.mi/mi-disassemble.exp: Likewise.
20470 * gdb.mi/mi-eval.exp: Likewise.
20471 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20472 default line number.
20473 * gdb.mi/mi-return.exp: Likewise.
20474 * gdb.mi/mi-simplerun.exp: Likewise.
20475 * gdb.mi/mi-stack.exp: Likewise.
20476 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20477 number with explicit range test.
20478 * gdb.mi/mi-watch.exp: Likewise.
20479 * gdb.mi/mi2-break.exp: Likewise.
20480 * gdb.mi/mi2-cli.exp: Likewise.
20481 * gdb.mi/mi2-disassemble.exp: Likewise.
20482 * gdb.mi/mi2-eval.exp: Likewise.
20483 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20484 default line number.
20485 * gdb.mi/mi2-return.exp: Likewise.
20486 * gdb.mi/mi2-simplerun.exp: Likewise.
20487 * gdb.mi/mi2-stack.exp: Likewise.
20488 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20489 number with explicit range test.
20490 * gdb.mi/mi2-watch.exp: Likewise.
20491
20492 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20493
20494 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20495 * gdb.cp/m-static.exp: Likewise.
20496 * gdb.cp/rtti.exp: Likewise.
20497
20498 2004-08-14 Mark Kettenis <kettenis@gnu.org>
20499
20500 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20501
20502 2004-08-14 Eli Zaretskii <eliz@gnu.org>
20503
20504 * ChangeLog: Prefix Local Variables with semi-colons and indent
20505 the reference to older ChangeLog files, to fix fontification in
20506 Emacs.
20507
20508 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20509
20510 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20511 * gdb.mi/mi2-break.exp: Likewise.
20512
20513 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20514
20515 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20516
20517 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20518
20519 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20520
20521 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20522
20523 * gdb.cp/classes.exp: Remove unused declarations. Just let
20524 test names default instead of providing special names. Remove
20525 extraneous demangler test.
20526
20527 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20528
20529 * gdb.base/unload.exp: New test for breakpoints in dynamically
20530 loaded libraries.
20531 * gdb.base/unload.c: Ditto.
20532 * gdb.base/unloadshr.c: Ditto.
20533
20534 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20535
20536 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20537 cp_test_ptype_class.
20538 (test_enums): Likewise.
20539
20540 2004-08-10 Andrew Cagney <cagney@gnu.org>
20541
20542 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20543 files.
20544
20545 2004-08-10 Andrew Cagney <cagney@gnu.org>
20546
20547 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20548 init_malloc call.
20549
20550 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20551
20552 * ChangeLog: Add copyright notice. The notice is copied
20553 from emacs 21.3 top level ChangeLog.
20554
20555 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20556
20557 * lib/cp-support.exp: New file.
20558 * lib/cp-support.exp (cp_test_type_class): New function.
20559 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20560 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20561 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20562 cp_test_ptype_class.
20563
20564 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20565
20566 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20567 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20568 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20569 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20570 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20571 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20572 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20573 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20574 gdb.mi/mi2-watch.exp: Update copyright years.
20575
20576 2004-08-09 Mark Kettenis <kettenis@gnu.org>
20577
20578 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20579
20580 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20581
20582 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20583 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20584 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20585 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20586 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20587 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20588 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20589 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20590 gdb.mi/mi-watch.exp: Update copyright years.
20591
20592 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20593
20594 PR gdb/1738
20595 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20596 from a breakpoint with a pending signal.
20597
20598 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20599
20600 PR gdb/1736
20601 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20602 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20603 the prompt.
20604 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20605
20606 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20607
20608 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20609
20610 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20611
20612 PR gdb/1736
20613 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20614 for i?86-*-linux*.
20615
20616 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20617
20618 * gdb.arch/i386-prologue.exp: Compile without debug information.
20619
20620 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20621
20622 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20623 rather than asking gdb to search.
20624
20625 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20626
20627 * gdb.base/gcore.c: Include <string.h>.
20628
20629 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20630
20631 * gdb.base/gcore.c: Add copyright notice.
20632
20633 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20634
20635 * gdb.base/freebpcmd.c: Include <stdio.h>.
20636 * gdb.base/long_long.c: Include <string.h>.
20637 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20638 * gdb.base/siginfo.c: Include <string.h>.
20639 * gdb.base/sigstep.c: Include <string.h>.
20640
20641 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20642
20643 * gdb.base/complex.c: Include <stdlib.h>.
20644
20645 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20646
20647 * gdb.base/complex.c: Add copyright notice.
20648
20649 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20650
20651 * gdb.base/charset.c: Include <stdlib.h>.
20652
20653 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20654
20655 * gdb.base/auxv.c: Include <stdlib.h>.
20656
20657 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20658
20659 * gdb.base/auxv.c: Add copyright notice.
20660
20661 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20662
20663 * gdb.base/coremaker.c: Add copyright notice.
20664 * gdb.base/coremaker2.c: Add copyright notice.
20665
20666 2004-08-04 Andrew Cagney <cagney@gnu.org>
20667
20668 * gdb.base/store.exp: Update copyright.
20669 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20670 names, do not import gdb_prompt.
20671
20672 2004-08-01 Andrew Cagney <cagney@gnu.org>
20673
20674 Fix PR testsuite/1729.
20675 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20676 not use capture_value with value 4.
20677 (capture_value): Add optional test name parameter.
20678 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20679 the prefix, pass to capture_value.
20680
20681 2004-08-01 Mark Kettenis <kettenis@gnu.org>
20682
20683 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20684 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20685 (main): Call new function.
20686
20687 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20688
20689 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20690
20691 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20692
20693 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20694
20695 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20696
20697 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
20698 Accept more values of vtbl pointer. Remove some messages
20699 about "obsolete gcc or gdb".
20700
20701 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20702
20703 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20704
20705 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20706
20707 * gdb.base/asm-source.exp: Properly convert target board
20708 debug flags from gcc format to binutils format.
20709
20710 2004-07-28 Mark Kettenis <kettenis@gnu.org>
20711
20712 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20713 gdb1718". PR backtrace/1718 partially fixed.
20714
20715 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20716
20717 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20718
20719 2004-07-26 Nick Clifton <nickc@redhat.com>
20720
20721 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20722 good default value for a specific architecture is available then
20723 set it to that value. Otherwise default to the -gstabs switch.
20724 Remove the -g... switches from the asm-flags variable. Allow the
20725 target board info to override the value if it wants to. Pass the
20726 switch on the assembler command line.
20727
20728 2004-07-23 Mark Kettenis <kettenis@gnu.org>
20729
20730 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20731 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20732 (main): Call new function.
20733
20734 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20735
20736 Test for PR exp/1715.
20737 * gdb.base/radix.exp: Refactor common procedures. Make all
20738 test names unique. Change XFAIL to KFAIL.
20739
20740 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20741
20742 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20743 * gdb.ada/gnat_ada.gin: ... to here.
20744 * configure.in: Use gnat_ada.gin.
20745 * configure: Regenerate.
20746
20747 2004-07-20 Andrew Cagney <cagney@gnu.org>
20748
20749 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20750 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20751 XFAILs. Clean up test messages and comments. Check backtraces.
20752 Delete re-sync code.
20753
20754 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20755
20756 Fix PR cli/740.
20757 * gdb.base/annota1.exp: Honor gdb,nosignals.
20758 * gdb.base/annota3.exp: Likewise.
20759
20760 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20761
20762 * lib/java.exp: Update copyright notice.
20763
20764 2004-07-19 Andrew Cagney <cagney@gnu.org>
20765
20766 * gdb.base/selftest.exp: Copy file from here ...
20767 * gdb.gdb/selftest.exp: ... to here.
20768
20769 2004-07-16 Andrew Cagney <cagney@redhat.com>
20770
20771 * lib/insight-support.exp: Delete file.
20772 * lib/java.exp (java_init): Fix copyright.
20773
20774 2004-07-16 Andrew Cagney <cagney@gnu.org>
20775
20776 * gdb.base/restore.c: Append "prologue" to comments marking the a
20777 function's prologue.
20778 * gdb.base/restore.exp: Update copyright, re-indent.
20779 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20780 callerN" prefix where needed. Update patterns that match a
20781 function's prologue.
20782
20783 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20784
20785 * gdb.base/restore.c: Add copyright notice.
20786
20787 2004-07-16 Andrew Cagney <cagney@gnu.org>
20788
20789 * gdb.base/logical.exp: Update copyright.
20790 (evaluate): New procedure. Use to re-implement tests using
20791 several tables.
20792
20793 2004-07-14 Martin Hunt <hunt@redhat.com>
20794
20795 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20796 which fixes some problems where init.tcl was not found.
20797
20798 2004-07-13 Andrew Cagney <cagney@gnu.org>
20799
20800 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20801 (check_sizeof, check_valueof): Do not include the output in the
20802 test name. Use gdb_test.
20803 (get_valueof): Use gdb_test_multiple.
20804
20805 * gdb.base/step-test.exp: Update copyright. Use
20806 gdb_test_multiple. Ensure that test names do not include
20807 architecture dependent output.
20808
20809 * gdb.gdb/observer.exp: Update copyright.
20810 (setup_test): Use gdb_test_multiple.
20811 (attach_first_observer, attach_second_observer)
20812 (attach_third_observer, detach_first_observer)
20813 (detach_second_observer, detach_third_observer)
20814 (reset_counters, check_counters): Make $message a prefix.
20815 (test_normal_stop_notifications): Add "args" parameter - a list of
20816 init functions to be called. Make $message a prefix,
20817 (test_observer_normal_stop): Change the message prefixes so that
20818 they are unique, pass the attach / detach procedures to
20819 test_normal_stop_notifications.
20820
20821 * gdb.base/signull.exp (test_segv): Prefix all tests with
20822 "${name}". Clean up test messages.
20823
20824 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20825
20826 * gdb.base/ena-dis-br.exp: Update copyright.
20827 (break_at): New function. Replace send_gdb with gdb_test,
20828 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20829 ignore count, not stopped at bpt", with KFAIL.
20830
20831 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20832
20833 * gdb.base/attach.exp: Remove cleanupfile handling.
20834
20835 2004-07-12 Andrew Cagney <cagney@gnu.org>
20836
20837 * gdb.base/annota1.exp: Cleanup corefile test name.
20838 * gdb.base/annota3.exp: Ditto.
20839
20840 2004-07-12 Andrew Cagney <cagney@gnu.org>
20841
20842 * gdb.base/signals.exp: Clean up copyright, re-indent.
20843
20844 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20845 gdb_test and gdb_test_multiple.
20846
20847 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20848
20849 * gdb.java/jmain.exp: Fix expected line number for main to
20850 break at. Set XFAIL for break at main test since gcj does not
20851 provide line number info for first statement in main.
20852
20853 2004-07-08 Andrew Cagney <cagney@gnu.org>
20854
20855 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20856
20857 * gdb.base/sigbpt.exp: Make the common part of each test name a
20858 prefix instead of suffix.
20859
20860 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20861
20862 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20863 test from test_tbreak_creation_and_listing to
20864 test_file_list_exec_source_file
20865 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20866 Changed name of test from test_tbreak_creation_and_listing to
20867 test_file_list_exec_source_file
20868
20869 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20870
20871 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20872 the jmisc() constructor instead of <init>.
20873 * gdb.java/jmisc1.exp: Ditto.
20874
20875 2004-07-07 Andrew Cagney <cagney@gnu.org>
20876
20877 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20878 corrupting the PC.
20879
20880 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20881
20882 * gdb.cp/templates.exp: Accept whitespace change in demangler
20883 output.
20884
20885 2004-07-06 Andrew Cagney <cagney@gnu.org>
20886
20887 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20888
20889 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20890
20891 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20892 * lib/compiler.cc: Likewise.
20893
20894 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20895
20896 * lib/compiler.cc: Work around string preprocessing problem
20897 with old hp c++ compiler.
20898 * lib/compiler.c: Likewise.
20899
20900 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20901
20902 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20903 directives to conditionalize symbol prefixing.
20904 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20905 additional_flags handling. Add underscore prefix for Cygwin.
20906 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20907 conditionalize symbol prefixing.
20908 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20909 additional_flags handling. Add underscore prefix for Cygwin.
20910
20911 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20912
20913 * gdb.base/bigcore.exp: Skip test on Cygwin.
20914
20915 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20916
20917 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20918 formats for "info register". Use gdb_test_multiple. Fix
20919 the "invalid register" test.
20920
20921 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20922
20923 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20924 PID for Cygwin. Add Cygwin specific strings to check for in some
20925 tests.
20926 (do_attach_tests): Add a test for user interaction when attaching
20927 to a process with no matching symbol table already loaded.
20928
20929 2004-06-26 Andrew Cagney <cagney@gnu.org>
20930
20931 Test PR java/1567 and PR java/1565.
20932 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20933 * gdb.java/jmisc2.exp: Delete file.
20934
20935 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20936
20937 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20938
20939 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20940
20941 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20942 attach process.
20943
20944 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20945
20946 * gdb.cp/pr-1553.exp: Remove.
20947
20948 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20949
20950 * gdb.cp/pr-1553.cc: Remove.
20951 * gdb.cp/pr-1553.exp: Disable this test.
20952
20953 2004-06-20 Jim Blandy <jimb@redhat.com>
20954
20955 Fix PR testsuite/1680.
20956 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20957 regular expressions.
20958
20959 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20960
20961 Fix PR testsuite/1679.
20962 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20963 Issue an UNSUPPORTED result instead.
20964
20965 2004-06-18 Jim Blandy <jimb@redhat.com>
20966
20967 * gdb.base/charset.exp: Only send a control-C if we see a new
20968 prompt and incomplete command.
20969
20970 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20971
20972 * gdb.cp/pr-574.cc: Add copyright notice.
20973
20974 2004-06-17 Jim Blandy <jimb@redhat.com>
20975
20976 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20977 cases where the regexp has no groups; this grabs random text from
20978 the previous test suite, whatever that was.
20979
20980 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20981
20982 * gdb.cp/printmethod.cc: Add copyright notice.
20983
20984 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20985
20986 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20987
20988 2004-06-16 Andrew Cagney <cagney@gnu.org>
20989
20990 * gdb.base/signull.c: Update copyright. Include <string.h>.
20991 (bowler): Replace data_pointer with data_read
20992 and data_write cases. Add code_descriptor case.
20993 (zero, desc): New array and pointer.
20994 (data, code): Change to simple pointers.
20995 * gdb.base/signull.exp: Fix probe pattern matching a function
20996 descriptor SIGSEGV. Replace data_pointer with data_read and
20997 data_write tests.
20998
20999 2004-06-16 Andrew Cagney <cagney@gnu.org>
21000
21001 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
21002
21003 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21004
21005 * gdb.base/long_long.c: Add copyright notice.
21006
21007 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21008
21009 * gdb.base/long_long.exp: Remove reference to
21010 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
21011 to gdb_breakpoint and gdb_continue_to_breakpoint.
21012
21013 2004-06-14 Jim Blandy <jimb@redhat.com>
21014
21015 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
21016 endian case.
21017
21018 2004-06-14 Andrew Cagney <cagney@gnu.org>
21019
21020 * gdb.base/gcore.exp (capture_command_output): Delete the always
21021 passing tests containing inferior values.
21022 * gdb.base/ending-run.exp: Do not include the breakpoint address
21023 in the test message. Update copyright.
21024 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
21025 size in the test name, use gdb_test_multiple. Update copyright.
21026
21027 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21028
21029 * gdb.cp/ref-types.cc: Add copyright notice.
21030
21031 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21032
21033 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
21034 hp_aCC_compiler.
21035 * lib/compiler.cc: Likewise.
21036 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
21037 'set' commands. Log diagnostics for other lines. Set
21038 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
21039
21040 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
21041
21042 * gdb.cp/try_catch.cc: Add copyright notice.
21043
21044 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
21045
21046 * gdb.cp/userdef.cc: Add copyright notice.
21047
21048 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
21049
21050 * gdb.cp/virtfunc.cc: Add copyright notice.
21051
21052 2004-06-11 Randolph Chung <tausq@debian.org>
21053
21054 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
21055 problem.
21056
21057 2004-06-10 Andrew Cagney <cagney@gnu.org>
21058
21059 * lib/compiler.cc, lib/compiler.c: Append either
21060 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
21061 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
21062 instead of gcc-3-3.
21063
21064 2004-06-09 Andrew Cagney <cagney@gnu.org>
21065
21066 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
21067 gdb/1455, bug is specific to "long long" and "double".
21068
21069 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
21070 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
21071 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
21072 fixed.
21073
21074 2004-06-09 Andrew Cagney <cagney@gnu.org>
21075
21076 * gdb.base/structs.exp (test_struct_returns): Replace
21077 "return_value_unknown" and "finish_value_unknown" by
21078 "return_value_known" and "finish_value_known". Instead of
21079 "return_value_unknown" iff "finish_value_unknown", check
21080 "return_value_known" implies "finish_value_known".
21081
21082 2004-06-08 Martin Hunt <hunt@redhat.com>
21083
21084 * gdb.base/float.exp: Add pattern for mips targets.
21085
21086 2004-06-08 Randolph Chung <tausq@debian.org>
21087
21088 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
21089 message for unknown architectures more clear.
21090
21091 2004-06-08 Joel Brobecker <brobecker@gnat.com>
21092
21093 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
21094 start the execution of the program.
21095
21096 2004-06-07 Jim Blandy <jimb@redhat.com>
21097
21098 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
21099 * gdb.arch/i386-cpuid.h: New helper file.
21100
21101 2004-06-07 Randolph Chung <tausq@debian.org>
21102
21103 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
21104 has started.
21105
21106 2004-06-04 Roland McGrath <roland@redhat.com>
21107
21108 Fix PR gdb/1647.
21109 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
21110 differently to be robust to output buffering differences.
21111
21112 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
21113
21114 * gdb.threads/pthreads.exp: Update copyright years.
21115 (check_control_c): Change asynchronous 'after' to synchronous.
21116
21117 2004-06-04 Roland McGrath <roland@redhat.com>
21118
21119 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
21120 next gdb prompt.
21121
21122 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
21123
21124 Fix PR gdb/1636.
21125 * gdb.threads/manythreads.exp: Change asynchronous 'after'
21126 calls to synchronous.
21127
21128 2004-05-26 Jim Blandy <jimb@redhat.com>
21129
21130 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
21131
21132 2004-05-24 Randolph Chung <tausq@debian.org>
21133
21134 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
21135 * gdb.asm/pa.inc: New file.
21136
21137 2004-05-22 Mark Kettenis <kettenis@gnu.org>
21138
21139 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
21140
21141 2004-05-21 Joel Brobecker <brobecker@gnat.com>
21142 Daniel Jacobowitz <drow@mvista.com>
21143
21144 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
21145 GDB prompt.
21146
21147 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21148
21149 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
21150 setjmp/longjmp. Use sigaction instead of signal.
21151
21152 2004-05-19 J. Brobecker <brobecker@gnat.com>
21153 Michael Snyder <msnyder@redhat.com>
21154
21155 * gdb.threads/pthread_cond_wait.c: New file.
21156 * gdb.threads/pthread_cond_wait.exp: New testcase.
21157
21158 2004-05-13 Andrew Cagney <cagney@redhat.com>
21159
21160 * gdb.base/signull.exp, gdb.base/signull.c: New files.
21161 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
21162
21163 2004-05-11 Andrew Cagney <cagney@redhat.com>
21164
21165 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
21166 fixed but revealed gdb/1639.
21167
21168 2004-05-10 Andrew Cagney <cagney@redhat.com>
21169
21170 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
21171 func1" and "next to 2nd alarm", kernel bug avoided.
21172
21173 2004-05-10 Daniel Jacobowitz <dan@debian.org>
21174
21175 PR external/1568
21176 * gdb.base/bigcore.exp: Check the size of the dumped core file.
21177 XFAIL if it is smaller than bytes_allocated.
21178 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
21179 (main): Make chunks_allocated unsigned. Correct comment.
21180
21181 2004-05-07 Joel Brobecker <brobecker@gnat.com>
21182
21183 * gdb.arch/powerpc-aix-prologue.c: New file.
21184 * gdb.arch/powerpc-aix-prologue.exp: New file.
21185
21186 2004-05-07 Jim Blandy <jimb@redhat.com>
21187
21188 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
21189 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
21190
21191 2004-05-06 Joel Brobecker <brobecker@gnat.com>
21192
21193 * gdb.base/sep.exp: No longer setup_kfail when the program was
21194 built with dwarf2.
21195
21196 2004-05-05 Jim Ingham <jingham@apple.com>
21197
21198 * gdb.base/pending.exp: Make sure pending breakpoints
21199 preserve the ignore count.
21200
21201 2004-04-27 Jerome Guitton <guitton@gnat.com>
21202
21203 * i386-prologue.exp: Add testcase for jump instruction as first
21204 instruction of the real code.
21205 * i386-prologue.c (jump_at_beginning): New function.
21206
21207 2004-04-28 Mark Kettenis <kettenis@gnu.org>
21208
21209 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
21210 x86_64-*-*.
21211
21212 2004-04-28 Mark Kettenis <kettenis@gnu.org>
21213
21214 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
21215 i*86-*-*.
21216
21217 2004-04-25 Mark Kettenis <kettenis@gnu.org>
21218
21219 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
21220 expression that checks the return type.
21221
21222 2004-04-23 Andrew Cagney <cagney@redhat.com>
21223
21224 * gdb.base/call-sc.exp: New test of scalar call/return values.
21225 * gdb.base/call-sc.c: Ditto.
21226
21227 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21228
21229 * gdb.threads/manythreads.c: Reduce thread stack size.
21230
21231 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
21232
21233 * gdb.threads/manythreads.c: Add copyright notice.
21234
21235 2004-04-23 Andrew Cagney <cagney@redhat.com>
21236
21237 * gdb.base/siginfo.exp: Better handle step out of signal.
21238 * gdb.base/sigstep.exp: Ditto.
21239
21240 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
21241 Daniel Jacobowitz <drow@mvista.com>
21242
21243 * gdb.threads/manythreads.c: New testcase.
21244 * gdb.threads/manythreads.exp: Ditto.
21245
21246 2004-04-22 Jim Blandy <jimb@redhat.com>
21247
21248 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
21249 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
21250
21251 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
21252
21253 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
21254
21255 2004-04-21 Andrew Cagney <cagney@redhat.com>
21256
21257 * gdb.base/sigstep.c: New file.
21258 * gdb.base/sigstep.exp: New file.
21259
21260 2004-04-16 Joel Brobecker <brobecker@gnat.com>
21261
21262 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
21263 call to observer_notify_normal_stop.
21264
21265 2004-04-15 Andrew Cagney <cagney@redhat.com>
21266
21267 * gdb.base/siginfo.c: New file.
21268 * gdb.base/siginfo.exp: New file.
21269
21270 2004-04-12 J. Brobecker <brobecker@gnat.com>
21271
21272 * gdb.base/sep.exp: Fix typo in comment.
21273
21274 2004-04-12 J. Brobecker <brobecker@gnat.com>
21275
21276 * gdb.base/sep.c: New file.
21277 * gdb.base/sep-proc.c: New file.
21278 * gdb.base/sep.exp: New testcase.
21279
21280 2004-04-09 Mark Kettenis <kettenis@gnu.org>
21281
21282 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
21283 support.
21284
21285 2004-04-05 Andrew Cagney <cagney@redhat.com>
21286
21287 * gdb.base/sigaltstack.c: New file.
21288 * gdb.base/sigaltstack.exp: New file.
21289
21290 2004-04-04 Joel Brobecker <brobecker@gnat.com>
21291
21292 * gdb.base/foll-fork.exp: Update the expected output for
21293 "help set follow-fork-mode", to match a change that was made
21294 to the help of this variable on 2004-01-13.
21295
21296 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21297
21298 * lib/ada.exp: Add copyright notice.
21299 * bar.ads: Likewise.
21300 * bar.adb: Likewise.
21301 * null_record.adb: Likewise.
21302 * null_record.exp: Likewise.
21303 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
21304
21305 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21306
21307 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
21308 * configure: Regenerate.
21309
21310 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21311
21312 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
21313 to build the application. Remove the message printed when in
21314 verbose mode, redundant with the UNSUPPORTED message above.
21315
21316 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21317
21318 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21319 * gdb.ada (null_record.exp): New testcase.
21320
21321 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21322
21323 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21324
21325 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21326
21327 * gdb.ada: New subdirectory.
21328 * gdb.ada/Makefile.in: New file.
21329 * gdb.ada/gnat_ada.gpr.in: New file.
21330
21331 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21332
21333 * lib/ada.exp: New file.
21334
21335 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
21336
21337 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21338 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21339
21340 2004-03-22 Andrew Cagney <cagney@redhat.com>
21341
21342 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21343 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21344 Problem identified by Ulrich Weigand.
21345
21346 2004-03-17 David Carlton <carlton@kealia.com>
21347
21348 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21349 PR c++/826.
21350
21351 2004-03-16 Roland McGrath <roland@redhat.com>
21352
21353 * gdb.base/auxv.exp: New file.
21354 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21355
21356 2004-03-12 David Carlton <carlton@kealia.com>
21357
21358 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21359 * gdb.cp/pr-1553.cc: Ditto.
21360 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21361 pass branch.
21362
21363 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21364
21365 * gdb.cp/templates.exp: Accept more template types.
21366
21367 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21368
21369 From Corinna Vinschen with modifications.
21370 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21371 local variable obj_with_enum.
21372 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21373 results with obj_with_enum.
21374
21375 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21376
21377 * gdb.cp/classes.cc: New file, copied from misc.cc.
21378 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21379
21380 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21381
21382 * gdb.cp/misc.cc: Add copyright notice.
21383
21384 2004-03-05 David Carlton <carlton@kealia.com>
21385
21386 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21387 * gdb.cp/rtti.h: Update copyright.
21388 (namespace n2::n3): New.
21389 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21390 (n2::n3::func3): New.
21391 (main): Call n2::n3::func3.
21392 * gdb.cp/rtti2.cc: Update copyright.
21393 (n2::create3): New.
21394
21395 2004-03-04 Mark Kettenis <kettenis@gnu.org>
21396
21397 * gdb.asm/openbsd.inc: Fix typo.
21398
21399 2004-03-03 Fred Fish <fnf@redhat.com>
21400
21401 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21402 "val" instead of unused "size". Update copyright year.
21403
21404 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21405
21406 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21407 to use unsigned char.
21408 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21409 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21410
21411 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21412
21413 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21414 line of output.
21415
21416 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21417
21418 * gdb.base/relocate.c (dummy): Initialize.
21419
21420 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21421
21422 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21423 a breakpoint at exit.
21424
21425 2004-02-27 Fred Fish <fnf@redhat.com>
21426
21427 * gdb.base/chng-syms.exp: Add expect condition to match failing
21428 case that isn't a timeout.
21429
21430 2004-02-27 Andrew Cagney <cagney@redhat.com>
21431
21432 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21433 support.
21434
21435 2004-02-26 Fred Fish <fnf@redhat.com>
21436
21437 * gdb.arch/gdb1431.c: Remove.
21438 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21439 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21440 of "until" incorrectly.
21441
21442 2004-02-26 J. Brobecker <brobecker@gnat.com>
21443
21444 * gdb.cp/class2.cc (empty): New class.
21445 (refer): New function.
21446 (main): Declare an object of type empty and use it.
21447 * gdb.cp/class2.exp: Print the value of an object of type empty.
21448
21449 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21450
21451 * gdb.base/langs.exp: Update query string to match the
21452 new nquery format used for pending breakpoints.
21453
21454 2004-02-26 Andrew Cagney <cagney@redhat.com>
21455
21456 Fix PR i18n/1570.
21457 * gdb.base/charset.c: Update copyright notice.
21458 (main, init_string): Remove the escape character '\e' tests.
21459 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21460 * gdb.base/charset.exp (valid_host_charset): Ditto.
21461 * gdb.base/setvar.exp: Ditto.
21462
21463 2004-02-24 Andrew Cagney <cagney@redhat.com>
21464
21465 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21466 mmapped data in core file" PASS and FAIL messages consistent.
21467
21468 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21469 setting a breakpoint. Work around PR java/1565.
21470
21471 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21472
21473 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21474 new nquery format.
21475 * gdb.base/pending.exp: Ditto.
21476
21477 2004-02-22 Mark Kettenis <kettenis@gnu.org>
21478
21479 * configure.in: Run stabs tests on *BSD.
21480 * configure: Regenerated.
21481
21482 2004-02-21 Mark Kettenis <kettenis@gnu.org>
21483
21484 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21485
21486 2004-02-20 Fred Fish <fnf@redhat.com>
21487
21488 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21489 blank in test for "returns short", for consistency with other
21490 "returns xxx" tests. Update copyright year.
21491
21492 2004-02-19 Fred Fish <fnf@redhat.com>
21493
21494 New testcase for PR breakpoint/1558.
21495 * gdb.arch/gdb1558.exp: New file.
21496 * gdb.arch/gdb1558.c: New file.
21497
21498 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
21499
21500 * gdb.base/nodebug.exp: Fix typo.
21501
21502 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21503
21504 Committed by Jim Blandy <jimb@redhat.com>.
21505
21506 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21507
21508 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21509
21510 * gdb.base/float.exp: Support s390*-*-* targets.
21511
21512 2004-02-17 Adam Fedor <fedor@gnu.org>
21513
21514 * gdb.base/gdb1555.exp: New file.
21515 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21516
21517 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
21518
21519 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21520
21521 2004-02-16 Fred Fish <fnf@redhat.com>
21522
21523 * gdb.arch/gdb1291.c: Remove
21524 * gdb.arch/gdb1291.s: New test input file.
21525 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21526 fail. Test for correct result, known incorrect result, other
21527 failures and timeouts.
21528
21529 2004-02-16 Andrew Cagney <cagney@redhat.com>
21530
21531 * gdb.base/bigcore.exp: New file.
21532 * gdb.base/bigcore.c: New file.
21533
21534 2004-02-13 Andrew Cagney <cagney@redhat.com>
21535
21536 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21537 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21538 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21539 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21540 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21541 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21542 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21543 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21544 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21545 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21546
21547 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21548
21549 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21550 executed is an alloc instruction.
21551
21552 2004-02-11 David Carlton <carlton@kealia.com>
21553
21554 * gdb.cp/breakpoint.exp: New.
21555 * gdb.cp/breakpoint.cc: New.
21556
21557 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21558
21559 Partial fix for PR gdb/1543.
21560 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21561 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21562 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21563 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21564 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21565 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21566 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21567 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21568 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21569 to bug-gdb@prep.ai.mit.edu .
21570 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21571 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21572 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21573 Likewise.
21574
21575 2004-02-10 Andrew Cagney <cagney@redhat.com>
21576
21577 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21578 using gdb_internal_error_resync.
21579
21580 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
21581
21582 * gdb.threads/thread-specific.exp: Stop early if no threads are
21583 found.
21584
21585 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21586
21587 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21588
21589 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
21590
21591 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21592 breakpoints.
21593
21594 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
21595
21596 * config/sim.exp (gdb_load): Handle $arg == "".
21597 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21598 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21599
21600 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
21601
21602 * gdb.base/maint.exp: Update test to reflect
21603 obstack changes.
21604
21605 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21606
21607 * gdb.base/pendshr.c (pendfunc): New function that calls
21608 pendfunc1.
21609 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21610
21611 2004-02-04 Fred Fish <fnf@redhat.com>
21612
21613 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21614 function symbols and update copyright years.
21615 * gdb.arch/gdb1291.c: Ditto.
21616
21617 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21618
21619 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21620
21621 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21622
21623 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21624
21625 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21626
21627 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21628
21629 2004-02-02 Fred Fish <fnf@redhat.com>
21630
21631 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21632 remote targets. Update copyright years.
21633
21634 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21635
21636 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21637 support.
21638 * gdb.base/langs.exp: Fix test which attempts to create
21639 breakpoint on non-existent function to handle new pending
21640 support.
21641 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21642 a breakpoint.
21643 * gdb.base/pending.exp: New test.
21644 * gdb.base/pending.c: New file.
21645 * gdb.base/pendshr.c: Ditto.
21646
21647 2004-02-02 David Carlton <carlton@kealia.com>
21648
21649 * gdb.cp/overload.exp: Add overloadNamespace tests.
21650 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21651 (overloadNamespace, XXX): New.
21652 (main): Call XXX::marker2.
21653
21654 2004-02-01 Fred Fish <fnf@redhat.com>
21655
21656 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21657 * gdb.base/finish.exp: Ditto.
21658 * gdb.base/gcore.exp: Ditto.
21659 * gdb.base/huge.exp: Ditto.
21660 * gdb.base/info-proc.exp: Ditto.
21661 * gdb.base/return2.exp: Ditto.
21662 * gdb.threads/gcore-thread.exp: Ditto.
21663
21664 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21665
21666 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21667
21668 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21669
21670 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21671 that opening the file succeeds on OpenBSD.
21672
21673 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21674
21675 * gdb.threads/thread-specific.c: New file.
21676 * gdb.threads/threads-specific.exp: New test script.
21677 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21678 to expect_out.
21679
21680 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21681
21682 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21683 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21684 only on the "print_small_structs from print_long_arg_list" test.
21685
21686 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21687
21688 * gdb.base/completion.exp: Kill a stray backslash.
21689
21690 From Jim Ingham <jingham@apple.com>:
21691 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21692 agrees with the result from sending a tab.
21693
21694 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
21695
21696 * gdb.base/chng-syms.exp: Remove stray newline.
21697
21698 2004-01-31 Mark Kettenis <kettenis@gnu.org>
21699
21700 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21701 *-*-openbsd*.
21702 * gdb.asm/openbsd.inc: New file.
21703
21704 2004-01-30 Mark Kettenis <kettenis@gnu.org>
21705
21706 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21707 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21708 *-*solaris2*. Remove commented out default settings for
21709 asm-flags. Replace gdb_compile with target_link.
21710
21711 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21712
21713 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21714 for all tests. Remove old hp-ux and cygnus xfail cases.
21715
21716 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21717
21718 * gdb.base/chng-syms.exp: New file.
21719 * gdb.base/chng-syms.c: New file.
21720
21721 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21722
21723 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21724 Provide arms for current output in all my configurations.
21725
21726 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21727
21728 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21729 * lib/compiler.cc: Likewise.
21730 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21731 get the right preprocessor. Eval the output directly. Remove
21732 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21733 hp_f77_compiler and hp_f90_compiler completely.
21734 (gdb_preprocess): Delete.
21735 (get_compiler): Delete.
21736
21737 2004-01-24 Mark Kettenis <kettenis@gnu.org>
21738
21739 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21740 <string.h>.
21741
21742 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
21743
21744 * gdb.mi/mi-stack.exp: Update copyright.
21745
21746 2004-01-23 David Carlton <carlton@kealia.com>
21747
21748 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21749 test for cp_lookup_transparent_type.
21750 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21751 call them.
21752
21753 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
21754
21755 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21756 after -var-update.
21757
21758 2004-01-23 David Carlton <carlton@kealia.com>
21759
21760 * gdb.cp/namespace.cc (C::ensureRefs): New.
21761 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21762
21763 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
21764
21765 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21766 case "-stack-list-locals 2".
21767 * gdb.mi/mi-var-child.exp: Test for case
21768 "-var-list-children --all-values NAME".
21769
21770 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21771
21772 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21773
21774 2004-01-18 Mark Kettenis <kettenis@gnu.org>
21775
21776 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21777 used with gdb_test_multiple.
21778
21779 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21780 read at address 0. This fixes PR testsuite/1504.
21781
21782 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
21783
21784 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21785 Remove downloading, guessing the host executable, the calls to
21786 gdb_file_cmd and gdb_target_cmd, and "load" support.
21787 (infer_host_exec): New function broken out from gdb_load.
21788 (gdb_load): New wrapper for gdbserver_gdb_load.
21789 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21790 gdb_target_cmd. Use -target-select.
21791 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21792 Download binaries to the host. Clear last_mi_remote_file when
21793 we load a new binary.
21794 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21795 call gdbserver_gdb_load and mi_gdb_target_cmd.
21796
21797 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21798
21799 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21800 type patterns.
21801
21802 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21803
21804 * gdb.cp/templates.exp: Fix typo in test name of
21805 "print Foo<volatile char*>::foo".
21806
21807 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21808
21809 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21810
21811 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21812
21813 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21814 (clean mostlyclean): Remove empty rm.
21815
21816 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21817
21818 * gdb.base/setvar.exp: Add copyright years.
21819
21820 2004-01-14 David Carlton <carlton@bactrian.org>
21821
21822 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21823 PR c++/1511 and update coment.
21824 * gdb.cp/templates.exp: Update patterns to match current output.
21825 If changes involve something other than whitespace, KFAIL
21826 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21827
21828 2004-01-14 David Carlton <carlton@kealia.com>
21829
21830 * gdb.cp/namespace.exp: Add tests involving classes defined within
21831 namespaces.
21832 * gdb.cp/namespace.cc (C::CClass): New.
21833 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21834
21835 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21836
21837 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21838 what debug info we have. Print a better message if something goes
21839 wrong while producing the separate debug info file.
21840
21841 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21842
21843 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21844
21845 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21846
21847 * gdb.base/callfuncs.c: Add copyright notice.
21848
21849 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21850
21851 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21852 inheritance. PR gdb/1498, PR gcc/13539.
21853
21854 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
21855
21856 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21857 test specific name.
21858 * gdb.mi/gdb669.exp: Ditto.
21859 * gdb.mi/mi-pthreads.exp: Ditto.
21860 * gdb.mi/mi1-pthreads.exp: Ditto.
21861 * gdb.mi/mi2-pthreads.exp: Ditto.
21862
21863 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21864
21865 * gdb.cp/member-ptr.cc: Add copyright notice.
21866
21867 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21868
21869 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21870 some patterns for recent versions of gcc and hpacc. Delete
21871 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21872 Delete tests that access a NULL pointer-to-member-data. This
21873 script is still disabled for gcc.
21874
21875 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21876
21877 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21878 escaped correctly.
21879
21880 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21881
21882 * gdb.base/sepdebug.exp: New file.
21883 * gdb.base/sepdebug.c: New file.
21884 * lib/gdb.exp (separate_debug_filename): New procedure.
21885 (gdb_gnu_strip_debug): New procedure.
21886
21887 2004-01-12 Andrew Cagney <cagney@redhat.com>
21888
21889 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21890 * gdb.mi/ChangeLog-1999-2003: New file.
21891
21892 2004-01-12 Andrew Cagney <cagney@redhat.com>
21893
21894 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21895 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21896 or EEXIST", treat EBUSY as an XFAIL.
21897
21898 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21899
21900 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21901 hp_cc_compiler.
21902
21903 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21904
21905 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21906 decorations.
21907
21908 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21909
21910 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21911 and "(aCC)" decorations. Remove obsolete doco about old
21912 test results.
21913
21914 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21915
21916 * gdb.cp/exception.exp: Fix typo in doco.
21917
21918 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21919
21920 * gdb.base/gdb1476.exp: Fix typo.
21921
21922 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21923
21924 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21925 file.
21926
21927 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21928
21929 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21930 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21931 Use gdb_compile. Remove restriction on gcc. Add some patterns
21932 for recent version of gdb. Delete second half, which was a copy
21933 of the first half with different build flags. This test is
21934 still disabled because it is still not ready for production.
21935
21936 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21937
21938 * gdb.cp/exception.cc: Add copyright notice.
21939 * gdb.cp/exception.exp: Add a notice that this file is broken
21940 because of line number changes caused by addition of copyright
21941 notice.
21942
21943 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21944
21945 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21946 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21947
21948 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21949
21950 * gdb.cp/classes.exp: Accept gnu abi 2.
21951 * gdb.cp/derivation.exp: Likewise.
21952 * gdb.cp/overload.exp: Likewise.
21953 * gdb.cp/virtfunc.exp: Likewise.
21954
21955 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21956
21957 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21958 semicolon after end of function.
21959
21960 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21961
21962 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21963 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21964 boilerplate code for compiling and running the program under
21965 test. Add some string method tests.
21966
21967 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21968
21969 * gdb.cp/bs15503.cc: Add copyright notice.
21970 * gdb.cp/bs15503.exp: Adjust line number.
21971
21972 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21973
21974 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21975 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21976
21977 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21978
21979 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21980 hp_cc_compiler.
21981
21982 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21983
21984 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21985 * gdb.cp/ctti.exp: Use the marker instead of "next".
21986 With gcc, run further before bailing.
21987
21988 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21989
21990 * gdb.cp/cttiadd.cc: Add copyright notice.
21991 * gdb.cp/cttiadd1.cc: Likewise.
21992 * gdb.cp/cttiadd2.cc: Likewise.
21993 * gdb.cp/cttiadd3.cc: Likewise.
21994
21995 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21996
21997 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21998 Use gdb_test, gdb_test_multiple. Use floating-point values that
21999 have exact representations in IEEE-ish formats.
22000
22001 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22002
22003 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
22004 compilers. Delete duplicate call to get_compiler_info.
22005 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
22006 * gdb.base/volatile.exp: Likewise.
22007
22008 2004-01-07 Mark Kettenis <kettenis@gnu.org>
22009
22010 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
22011 memory at address 0.
22012
22013 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22014
22015 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
22016 to test for hp-ux assembler. Fix copyright years.
22017
22018 2004-01-07 Andrew Cagney <cagney@redhat.com>
22019
22020 * gdb.base/fileio.c (strerrno): Add "EBUSY".
22021
22022 2004-01-07 Andrew Cagney <cagney@redhat.com>
22023
22024 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
22025 when creating the read-only file. From analysis by Roland McGrath
22026 and Elena Zannoni.
22027
22028 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22029
22030 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
22031
22032 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22033
22034 * gdb.base/cvexpr.c: Be type-safe with function pointers and
22035 data pointers.
22036
22037 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22038
22039 * gdb.cp/m-static.exp: Compile one source file at a time.
22040 Delete unused call to get_compiler_info.
22041
22042 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22043
22044 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
22045 * gdb.base/call-rt-st.exp: Likewise.
22046 * gdb.base/nodebug.exp: Likewise.
22047 * gdb.base/volatile.exp: Likewise.
22048 * gdb.cp/ref-types.exp: Likewise.
22049 * gdb.cp/templates.exp: Likewise.
22050
22051 2004-01-05 Mark Kettenis <kettenis@gnu.org>
22052
22053 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
22054
22055 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
22056
22057 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
22058 hppa*-hp-hpux*.
22059
22060 2004-01-04 Mark Kettenis <kettenis@gnu.org>
22061
22062 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22063 x86_64-*-*.
22064
22065 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22066 sparc64-*-* and sparc*-solaris2*.
22067
22068 2004-01-04 Mark Kettenis <kettenis@gnu.org>
22069
22070 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
22071 return ${tests}" test. The ${tests} already mentions the
22072 filename.
22073
22074 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22075
22076 * gdb.cp/local.exp: Accept gcc abi 2.
22077
22078 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22079
22080 * gdb.cp/templates.exp: Accept gcc abi 2.
22081
22082 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22083
22084 * lib/compiler.cc: Remove supports_template_debugging.
22085 * gdb.cp/templates.exp: Do not test supports_template_debugging.
22086
22087 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22088
22089 * gdb.cp/namespace.exp: Accept gcc abi 2.
22090
22091 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22092
22093 * gdb.cp/method.exp: Accept gcc abi 2.
22094
22095 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22096
22097 * gdb.cp/classes.exp: Generate identical results as old version.
22098 * gdb.cp/derivation.exp: Likewise.
22099 * gdb.cp/overload.exp: Likewise.
22100 * gdb.cp/virtfunc.exp: Likewise.
22101
22102 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22103
22104 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
22105 mysterious bug with sourceware version of expect.
22106
22107 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22108
22109 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
22110 current versions of gcc, including gcc abi 2. Remove gratuitous
22111 restart of test program. Use gdb_test_multiple and gdb_test for
22112 all tests. Add patterns to xfail missing "const" in "const char *"
22113 and kfail PR gdb/1155.
22114
22115 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22116
22117 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
22118 current versions of gcc, including gcc abi 2. Remove gratuitous
22119 restart of test program. Use gdb_test_multiple and gdb_test for
22120 all tests. Add patterns to kfail PR gdb/1498.
22121
22122 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22123
22124 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
22125 current versions of gcc, including gcc abi 2. Use "breakpoint"
22126 and "continue" instead of restarting the target program. Use
22127 gdb_test_multiple and gdb_test for all tests.
22128
22129 2004-01-01 Mark Kettenis <kettenis@gnu.org>
22130
22131 * gdb.asm/asm-source.exp: Update copyright year. Link statically
22132 for *-*-solaris2*.
22133
22134 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22135
22136 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
22137 current versions of gcc, including gcc abi 2. Use "breakpoint"
22138 and "continue" instead of restarting the target program several
22139 times. Use gdb_test_multiple and gdb_test for all tests.
22140
22141 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
22142
22143 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
22144 source files.
22145
22146 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22147
22148 * gdb.base/environ.exp: Handle compiling test case from multiple
22149 source files.
22150
22151 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22152
22153 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
22154
22155 2003-12-17 Jim Blandy <jimb@redhat.com>
22156
22157 * gdb.base/freebpcmd.c: Add copyright notice.
22158
22159 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
22160
22161 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22162
22163 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
22164
22165 2003-12-13 Jim Blandy <jimb@redhat.com>
22166
22167 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
22168
22169 2003-12-12 Kevin Buettner <kevinb@redhat.com>
22170
22171 * gdb.asm/frv.inc: New file.
22172 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
22173
22174 2003-12-09 Fred Fish <fnf@redhat.com>
22175
22176 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
22177 functions to break1.c and leave prototypes behind. Add more
22178 "set breakpoint NN here" comments.
22179 * gdb.base/break1.c: New file.
22180
22181 * gdb.base/break.exp: Handle compiling test case from multiple
22182 source files and change source file references as needed.
22183 * gdb.base/completion.exp: Ditto.
22184 * gdb.base/condbreak.exp: Ditto.
22185 * gdb.base/define.exp: Ditto.
22186 * gdb.base/ena-dis-br.exp: Ditto.
22187 * gdb.base/info-proc.exp: Ditto.
22188 * gdb.base/maint.exp: Ditto.
22189 * gdb.base/until.exp: Ditto.
22190
22191 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
22192 hardcoded line numbers.
22193 * gdb.base/define.exp: Ditto.
22194 * gdb.base/ena-dis-br.exp: Ditto.
22195 * gdb.base/maint.exp: Ditto.
22196 * gdb.base/until.exp: Ditto.
22197
22198 * gdb.base/completion.exp: Use "break1" for completion tests since
22199 "break" is no longer a unique prefix.
22200
22201 2003-12-06 Andrew Cagney <cagney@redhat.com>
22202
22203 * gdb.base/structs.exp (test_struct_returns): When applicable, set
22204 "return_value_unimplemented". When an unimplemented struct return
22205 architecture, report incorrect values as a KFAIL
22206
22207 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22208
22209 * gdb.cp/rtti.exp: Accept new wording of warning from
22210 cp_lookup_rtti_type.
22211
22212 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22213
22214 Partial fix for PR testsuite/1456.
22215 * gdb.base/scope.exp (test_at_main): Replace references to
22216 gcc_compiled with calls to test_compiler_info.
22217 (test_at_foo): Likewise.
22218 (test_at_bar): Likewise.
22219
22220 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
22221
22222 Partial fix for PR testsuite/1456.
22223 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
22224 to test_compiler_info.
22225
22226 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
22227
22228 * gdb.base/so-impl-ld.exp: Update copyright notice.
22229
22230 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
22231
22232 Partial fix for PR testsuite/1456.
22233 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
22234 to test_compiler_info.
22235
22236 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22237
22238 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
22239 from current versions of gdb. Clean up regular expressions.
22240 Delete redundant timeout case.
22241
22242 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22243
22244 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
22245 from current versions of gdb. Clean up regular expressions.
22246 Delete redundant timeout case.
22247
22248 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
22249
22250 Partial fix for PR testsuite/1456.
22251 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
22252 gcc_compiled with call to test_compiler_info.
22253
22254 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
22255
22256 Partial fix for PR testsuite/1456.
22257 * gdb.base/list.exp (test_list_function): Delete unused declaration
22258 of gcc_compiled.
22259
22260 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
22261
22262 Partial fix for PR testsuite/1456.
22263 * gdb.base/complex.exp: Replace reference to gcc_compiled with
22264 call to test_compiler_info.
22265
22266 2003-11-29 Mark Kettenis <kettenis@gnu.org>
22267
22268 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
22269 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
22270 it to create the appropriate note.inc.
22271 * gdb.asm/asmsrc1.s: Include "note.inc".
22272 * gdb.asm/netbsd.inc: New file.
22273 * gdb.asm/empty.inc: New file.
22274
22275 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22276
22277 Partial fix for PR testsuite/1456.
22278 * gdb.base/constvars.exp: Replace references to gcc_compiled with
22279 calls to test_compiler_info.
22280
22281 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
22282
22283 Partial fix for PR testsuite/1456.
22284 * gdb.base/volatile.exp: Replace references to gcc_compiled with
22285 calls to test_compiler_info.
22286
22287 2003-11-27 Mark Kettenis <kettenis@gnu.org>
22288
22289 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
22290 pattern for the KFAILs.
22291
22292 2003-11-25 Adam Fedor <fedor@gnu.org>
22293
22294 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
22295 * gdb.objc/objcdecode.m: New file.
22296
22297 2003-11-25 Adam Fedor <fedor@gnu.org>
22298
22299 * gdb.objc/nondebug.exp: Test for PR objc/1236.
22300 * gdb.objc/nondebug.m: New file.
22301
22302 2003-11-26 Ben Elliston <bje@wasabisystems.com>
22303
22304 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22305 NetBSD as it does on FreeBSD. Modelled on a similar change by
22306 Mark Kettenis on 2003-05-30.
22307 (link-flags): Set to "--entry _start" regardless of target.
22308 Special linker flags are to be appended to $link-flags.
22309 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
22310
22311 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22312
22313 * gdb.cp/method.exp: Accept output of new demangler.
22314
22315 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22316
22317 * gdb/class2.exp: New file.
22318 * gdb/class2.cc: New file.
22319
22320 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22321
22322 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22323 of new demangler.
22324
22325 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22326
22327 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22328 of gdb_test "run".
22329
22330 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22331
22332 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22333 "continue" into "run".
22334
22335 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22336
22337 Partial fix for PR testsuite/1456.
22338 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22339 call to test_compiler_info.
22340 * gdb.cp/ctti.exp: Likewise.
22341 * gdb.cp/derivation.exp: Likewise.
22342 * gdb.cp/member-ptr.exp: Likewise.
22343 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22344 reference to gcc_compiled.
22345
22346 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22347
22348 Fix PR testsuite/1463.
22349 * gdb.base/structs.exp (start_structs_test): Call
22350 get_debug_format before using the debug format.
22351
22352 2003-11-22 Andrew Cagney <cagney@redhat.com>
22353
22354 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22355 * gdb.base/structs.exp: Use gdb_test_multiple.
22356
22357 2003-11-20 Andrew Cagney <cagney@redhat.com>
22358
22359 * gdb.base/structs.exp: Handle and recover from internal errors.
22360 Replace "foo${n}" with "foo<n>" in test messages.
22361
22362 * gdb.base/structs.exp: Update copyright. Rewrite.
22363 * gdb.base/structs.c: Update copyright. Rewrite.
22364
22365 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22366 resync count exceeded.
22367
22368 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22369 from the internal error.
22370 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22371 Original from Jim Blandy.
22372 (gdb_test_multiple): Use gdb_internal_error_resync.
22373
22374 2003-11-19 Andrew Cagney <cagney@redhat.com>
22375
22376 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22377 KFAIL.
22378
22379 2003-11-17 Mark Kettenis <kettenis@gnu.org>
22380
22381 New testcase for PR backtrace/1435.
22382 * gdb.arch/i386-unwind.exp: New file.
22383 * gdb.arch/i386-unwind.c: New file.
22384
22385 2003-11-17 Andrew Cagney <cagney@redhat.com>
22386
22387 * lib/gdb.exp (compiler_info): New global.
22388 (test_compiler_info): New function.
22389 (get_compiler_info): Set compiler_info.
22390 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22391 "compiler_info" to gcc-<major>-<minor>.
22392
22393 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22394
22395 * gdb.trace/configure: Remove.
22396
22397 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
22398
22399 * gdb.base/break.c: Add comments to aid finding line numbers for
22400 breakpoints.
22401 * gdb.base/break.exp: Remove all references to explicit line
22402 numbers.
22403
22404 2003-11-11 Nick Clifton <nickc@redhat.com>
22405
22406 * gdb.base/shreloc.exp: Do not run for targets which do not
22407 support shared objects.
22408
22409 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
22410
22411 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22412 Don't run tests if nofileio flag is given.
22413
22414 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
22415
22416 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
22417 as well as 'Watchpoint'.
22418
22419 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22420
22421 Reported by Jim Ingham <jingham@apple.com>:
22422 * gdb.base/annota1.exp: Match at least one occurrence of the
22423 signal handler annotation.
22424
22425 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22426
22427 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22428 as well as 'Watchpoint'.
22429
22430 2003-11-05 Michael Chastain <mec@shout.net>
22431
22432 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22433
22434 2003-11-03 Kris Warkentin <kewarken@qnx.com>
22435
22436 * gdb.arch/gdb1291.c: New test file.
22437 * gdb.arch/gdb1291.exp: New test script.
22438 * gdb.arch/gdb1431.c: New test file.
22439 * gdb.arch/gdb1431.exp: New test script.
22440
22441 2003-10-22 Michael Chastain <mec@shout.net>
22442
22443 * gdb.mi/pthreads.c: Add copyright notice.
22444
22445 2003-10-22 Michael Chastain <mec@shout.net>
22446
22447 * gdb.threads/pthreads.c: Add copyright notice.
22448
22449 2003-10-20 Michael Chastain <mec@shout.net>
22450
22451 * gdb.base/gdb1056.exp: New test script.
22452
22453 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22454
22455 * gdb.threads/killed.exp: Use gdb_run_cmd.
22456
22457 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22458
22459 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22460 create a core file.
22461 * gdb.threads/gcore-thread.exp: Likewise.
22462
22463 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
22464
22465 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22466 type, based on char type.
22467 (struct bit_flags_short_t): New bitfield type, based on short type.
22468 (init_bit_flags_char): New fuction.
22469 (init_bit_flags_short): Ditto.
22470 (print_bit_flags_char): Ditto.
22471 (print_bit_flags_short): Ditto.
22472 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22473
22474 2003-10-11 Michael Chastain <mec@shout.net>
22475
22476 * gdb.base/call-rt-st.exp: Update copyright year.
22477
22478 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22479
22480 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22481 * gdb.disasm/sh3.s: Ditto.
22482
22483 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
22484
22485 * gdb.threads/switch-threads.exp: New test.
22486 * gdb.threads/switch-threads.c: New source file.
22487
22488 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
22489
22490 * gdb.base/ending-run.exp: Add sh specific case.
22491
22492 2003-10-06 Andrew Cagney <cagney@redhat.com>
22493
22494 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22495 * gdb.disasm/mn10200.exp: Delete obsolete file.
22496
22497 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
22498
22499 * ChangeLog: Correct an entry command.exp -> commands.exp.
22500 * gdb.base/commands.exp (bp_deleted_in_command_test)
22501 (temporary_breakpoint_commands): Check noargs.
22502
22503 2003-09-25 David Carlton <carlton@kealia.com>
22504
22505 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22506 of some print tests, where appropriate. Add tests for C::D::cd,
22507 E::ce, F::cXfX, G::XgX.
22508 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22509
22510 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
22511
22512 * lib/java.exp (java_init): Import target_alias before using it.
22513
22514 2003-09-25 David Carlton <carlton@kealia.com>
22515
22516 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22517
22518 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
22519
22520 * gdb.base/selftest.exp: Accomodate more instruction reordering
22521 weirdness.
22522
22523 2003-09-17 Michael Chastain <mec@shout.net>
22524
22525 * gdb.cp/gdb1355.exp: New file.
22526 * gdb.cp/gdb1355.c: New file.
22527
22528 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
22529
22530 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22531 * gdb.asm/sh.inc: New file.
22532
22533 2003-09-11 David Carlton <carlton@kealia.com>
22534
22535 * gdb.cp/namespace.exp: Add tests for namespace types.
22536 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
22537 (test_namespace): New.
22538
22539 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
22540
22541 * gdb.base/relocate.exp: Handle new gdb output at startup.
22542 * gdb.stabs/weird.exp: Ditto.
22543
22544 2003-09-08 Michael Chastain <mec@shout.net>
22545
22546 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22547
22548 2003-09-07 Michael Chastain <mec@shout.net>
22549
22550 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22551 'parse error'.
22552
22553 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22554
22555 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22556
22557 2003-08-30 Michael Chastain <mec@shout.net>
22558
22559 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22560 * gdb.gdb/observer.exp: Ditto.
22561 * gdb.gdb/xfullpath.exp: Ditto.
22562
22563 2003-08-29 Mark Kettenis <kettenis@gnu.org>
22564
22565 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22566 *-*-*bsd*.
22567
22568 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22569
22570 * gdb.base/dump.exp: Skip for ia64.
22571
22572 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22573
22574 * gdb.asm/asm-source.exp: Add ia64 support.
22575 * gdb.asm/ia64.inc: New file.
22576
22577 2003-08-22 Michael Chastain <mec@shout.net>
22578
22579 * gdb.cp: New directory.
22580 * gdb.cp/*: Copy from gdb.c++/*.
22581 * gdb.c++/*: Remove.
22582 * Makefile.in: Change gdb.c++ to gdb.cp.
22583 * configure.in: Ditto.
22584 * configure: Regnerate.
22585
22586 2003-08-18 Mark Kettenis <kettenis@gnu.org>
22587
22588 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22589 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22590
22591 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22592
22593 * mi-var-display.exp (-var-list-children weird): Accept function
22594 pointers with argument types.
22595 * mi1-var-display.exp (-var-list-children weird): Likewise.
22596 * mi2-var-display.exp (-var-list-children weird): Likewise.
22597
22598 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22599
22600 * gdb.base/annota3.exp: Add missing newline.
22601
22602 2003-08-06 Michael Chastain <mec@shout.net>
22603
22604 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22605
22606 2003-08-12 Michael Snyder <msnyder@redhat.com>
22607
22608 * gdb.base/float.exp: Add test for SH.
22609
22610 2003-08-10 Mark Kettenis <kettenis@gnu.org>
22611
22612 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22613
22614 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22615
22616 * gdb.base/completion.exp: Remove reduntant completion test
22617 on filename.
22618
22619 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22620
22621 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22622 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22623 gdb.trace/save-trace.exp: Make sure that full pathnames are
22624 escaped correctly.
22625
22626 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22627
22628 * configure.in: Don't generate config.h from config.hin.
22629 * configure: Regenerate.
22630 * config.hin: Remove file.
22631 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22632 * gdb.threads/pthreads.c: Ditto.
22633
22634 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
22635
22636 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22637 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22638 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22639 Replace ld24 with seth/add3.
22640
22641 2003-08-02 Andrew Cagney <cagney@redhat.com>
22642
22643 * gdb.base/annota3.exp: New file.
22644 * gdb.base/annota3.c: New file.
22645 * gdb.c++/annota3.exp: New file.
22646 * gdb.c++/annota3.cc: New file.
22647
22648 2003-07-29 Michael Chastain <mec@shout.net>
22649
22650 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22651 actually failed.
22652 (do_pass): Likewise.
22653 * gdb.threads/tls.exp: Always initialize no_of_threads.
22654
22655 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
22656
22657 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22658 pattern.
22659 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22660 * gdb.threads/tls.exp: Recognize one case of the host library not
22661 supporting TLS.
22662
22663 2003-07-27 Andrew Cagney <cagney@redhat.com>
22664
22665 * gdb.base/fileio.exp: Use SH when running commands using
22666 remote_exec.
22667
22668 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
22669
22670 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22671 * gdb.base/relocate.c (dummy): New padding array.
22672
22673 2003-07-22 Michael Snyder <msnyder@redhat.com>
22674
22675 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
22676
22677 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22678 patterns to be more general, accepting old and new output.
22679 Some output chars (such as '+') also must be quoted.
22680 Some addresses are displayed numerically instead of
22681 symbolically.
22682
22683 2003-07-23 Michael Snyder <msnyder@redhat.com>
22684
22685 * gdb.base/return2.exp: Don't test long-long return.
22686
22687 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22688 * gdb.disasm/t01_mov.exp: Ditto.
22689 * gdb.disasm/t02_mova.s: Ditto.
22690 * gdb.disasm/t02_mova.exp: Ditto.
22691 * gdb.disasm/t03_add.s: Ditto.
22692 * gdb.disasm/t03_add.exp: Ditto.
22693 * gdb.disasm/t04_sub.s: Ditto.
22694 * gdb.disasm/t04_sub.exp: Ditto.
22695 * gdb.disasm/t05_cmp.s: Ditto.
22696 * gdb.disasm/t05_cmp.exp: Ditto.
22697 * gdb.disasm/t06_ari2.s: Ditto.
22698 * gdb.disasm/t06_ari2.exp: Ditto.
22699 * gdb.disasm/t07_ari3.s: Ditto.
22700 * gdb.disasm/t07_ari3.exp: Ditto.
22701 * gdb.disasm/t08_or.s: Ditto.
22702 * gdb.disasm/t08_or.exp: Ditto.
22703 * gdb.disasm/t09_xor.s: Ditto.
22704 * gdb.disasm/t09_xor.exp: Ditto.
22705 * gdb.disasm/t10_and.s: Ditto.
22706 * gdb.disasm/t10_and.exp: Ditto.
22707 * gdb.disasm/t11_logs.s: Ditto.
22708 * gdb.disasm/t11_logs.exp: Ditto.
22709 * gdb.disasm/t12_bit.s: Ditto.
22710 * gdb.disasm/t12_bit.exp: Ditto.
22711 * gdb.disasm/t13_otr.s: Ditto.
22712 * gdb.disasm/t13_otr.exp: Ditto.
22713
22714 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22715
22716 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22717
22718 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22719
22720 * gdb.threads/tls.c : New file.
22721 * gdb.threads/tls.exp : New file.
22722 * gdb.threads/tls-main.c : New file.
22723 * gdb.threads/tls-shared.c : New file.
22724 * gdb.threads/tls-shared.exp : New file.
22725
22726 2003-07-22 Andreas Schwab <schwab@suse.de>
22727
22728 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22729
22730 2003-07-20 Andreas Schwab <schwab@suse.de>
22731
22732 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22733 due to insn reordering.
22734
22735 2003-07-15 Andrew Cagney <cagney@redhat.com>
22736
22737 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22738
22739 2003-07-15 Michael Chastain <mec@shout.net>
22740
22741 * gdb.base/gdb1250.exp: New file.
22742 * gdb.base/gdb1250.c: New file.
22743
22744 2003-07-09 Michal Ludvig <mludvig@suse.cz>
22745
22746 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22747 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22748
22749 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22750
22751 * gdb.threads/tls.c: New file.
22752 * gdb.threads/tls.exp: New file.
22753 * gdb.threads/tls-main.c: New file.
22754 * gdb.threads/tls-shared.c: New file.
22755 * gdb.threads/tls-shared.exp: New file.
22756
22757 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22758
22759 * gdb.base/annota1.exp: Make sure that we properly escape the
22760 full path of the source file. Xfail more permissive patterns,
22761 due to a compiler debug info problem.
22762
22763 2003-07-07 Andreas Schwab <schwab@suse.de>
22764
22765 * gdb.asm/m68k.inc: New file.
22766 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22767
22768 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22769 arguments"): Also match negative number.
22770
22771 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22772
22773 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
22774
22775 * gdb.base/store.c (charest): New typedef.
22776 (add_char): Rename to add_charest, update.
22777 (wack_char): Rename to wack_charest, update types. Return l + r
22778 to keep r live across the call.
22779 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22780 (wack_double, wack_doublest): Return l + r to keep r live across
22781 the call.
22782 * gdb.base/store.exp: Accomodate store.c changes.
22783
22784 2003-06-30 David Carlton <carlton@kealia.com>
22785
22786 * gdb.c++/maint.exp (test_invalid_name): New.
22787 (test_first_component): Add tests for invalid names.
22788
22789 2003-06-29 Michael Chastain <mec@shout.net>
22790
22791 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22792 output of '<VTT for class>' for virtual base classes.
22793
22794 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22795
22796 * gdb.base/completion.exp: Tab-complete "complet" instead of
22797 "compl".
22798 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22799
22800 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22801
22802 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22803 * gdb.base/volatile.exp: Likewise.
22804
22805 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22806
22807 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22808 gdb/1265.
22809
22810 2003-06-28 Michael Chastain <mec@shout.net>
22811 Daniel Jacobowitz <drow@mvista.com>
22812
22813 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22814 initial line count of 'captured_main' from 26 to 32.
22815 (test_with_self): Allow xmalloc call to be interleaved with the
22816 preceding two lines.
22817
22818 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22819
22820 * gdb.base/bang.exp: New testcase.
22821
22822 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22823
22824 * gdb.base/langs.exp: Add some tests for the "minimal" language
22825 support.
22826
22827 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22828
22829 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22830 the testcase.
22831
22832 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22833
22834 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22835 offset.
22836
22837 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22838
22839 * gdb.c++/pr-1210.cc: New file.
22840 * gdb.c++/pr-1210.exp: New file.
22841
22842 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
22843
22844 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22845 000-exec-continue.
22846
22847 2003-06-15 Mark Kettenis <kettenis@gnu.org>
22848
22849 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22850 on *-*-*bsd* instead of *-*-freebsd*.
22851
22852 2003-06-14 Andrew Cagney <cagney@redhat.com>
22853
22854 * gdb.base/store.exp: Test longest and doublest. Test all
22855 parameters. Weaken return statement match.
22856 * gdb.base/store.c: Add longest and doublest - aka long long and
22857 long double functions. Put all parameters into local register
22858 variables. Use negative values.
22859
22860 2003-06-14 Andrew Cagney <cagney@redhat.com>
22861
22862 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22863 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22864 exit status.
22865 * gdb.base/fileio.exp: Disable target when nointerrupts and
22866 noinferiorio, instead of limiting it to remote. Use remote_exec
22867 instead of system.
22868
22869 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22870
22871 * gdb.base/float.exp: Add ia64 support.
22872
22873 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22874
22875 * gdb.base/fileio.exp: Run only on remote targets.
22876
22877 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22878
22879 * gdb.base/fileio.c: New file, testing File-I/O.
22880 * gdb.base/fileio.exp: Ditto.
22881
22882 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22883
22884 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22885 shared objects after relocation at load time (gdb PR/1132).
22886 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22887 as above, part of the shared object relocation test.
22888
22889 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22890
22891 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22892 fully filled history list.
22893 * gdb.base/gdb_history: New file.
22894
22895 * gdb.base/signals.exp: XFAIL "continue to func1" on
22896 i*86-*-freebsd*.
22897
22898 * gdb.base/attach.exp: When trying to attach to a nonexistent
22899 process, make it possible to specify the PID based on the target,
22900 and do so for *-*-freebsd*.
22901
22902 2003-06-02 Richard Henderson <rth@redhat.com>
22903
22904 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22905
22906 2003-06-02 Richard Henderson <rth@redhat.com>
22907
22908 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22909
22910 2003-06-02 Richard Henderson <rth@redhat.com>
22911
22912 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22913
22914 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22915
22916 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22917 of globalvar.
22918
22919 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22920
22921 * gdb.asm/asm-source.exp: Check for memory read errors in
22922 disassembler test on *BSD too.
22923
22924 2003-06-01 Richard Henderson <rth@redhat.com>
22925
22926 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22927 for .frame.
22928 (gdbasm_call): Lose ldgp.
22929 (gdbasm_startup): Add frame information.
22930 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22931
22932 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22933
22934 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22935 i?86-*-*.
22936
22937 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22938
22939 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22940 FreeBSD.
22941
22942 2003-05-29 Richard Henderson <rth@redhat.com>
22943
22944 * gdb.asm/alpha.inc: New file.
22945 * gdb.asm/asm-source.exp: Use it.
22946
22947 2003-05-29 Jim Blandy <jimb@redhat.com>
22948
22949 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22950 'core.PID'.
22951
22952 2003-05-22 Jim Blandy <jimb@redhat.com>
22953
22954 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22955 backtrace.
22956
22957 2003-05-20 David Carlton <carlton@math.stanford.edu>
22958
22959 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22960 this time.
22961
22962 2003-05-19 David Carlton <carlton@bactrian.org>
22963
22964 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22965 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22966
22967 2003-05-19 David Carlton <carlton@bactrian.org>
22968
22969 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22970 namespace tests.
22971 Bump copyright date.
22972 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22973 (main): Call C::D::marker2.
22974 * gdb.c++/namespace1.cc: New file.
22975
22976 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22977
22978 Roland McGrath <roland@redhat.com>
22979 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22980 there is no manager thread.
22981
22982 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22983
22984 * gdb.threads/schedlock.exp: Remove assumption that all threads
22985 will run in a particular small time slice. Also ensure we break
22986 in one of the child threads rather than the main thread.
22987
22988 2003-05-07 Jim Blandy <jimb@redhat.com>
22989
22990 Add support for assembly source testing on the s390x.
22991 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22992 architecture.
22993 * gdb.asm/s390x.inc: New file.
22994
22995 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22996 succession of 'if' statements.
22997
22998 2003-05-05 Andrew Cagney <cagney@redhat.com>
22999
23000 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
23001
23002 2003-05-05 Andrew Cagney <cagney@redhat.com>
23003
23004 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
23005 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
23006
23007 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
23008
23009 * gdb.base/charset.exp: Update based on new behavior of set/show
23010 charset commands.
23011
23012 2003-05-01 Andrew Cagney <cagney@redhat.com>
23013
23014 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
23015 variable do not give memory errors.
23016
23017 2003-04-30 Adam Fedor <fedor@gnu.org>
23018
23019 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
23020 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
23021 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
23022 gdb.objc/basicclass.m: : New files
23023
23024 * lib/gdb.exp (gdb_compile_objc): New procedure.
23025
23026 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
23027
23028 * gdb.base/signals.exp: Make backtrace tests more specific.
23029
23030 2003-04-23 David Carlton <carlton@bactrian.org>
23031
23032 * gdb.c++/maint.exp (test_first_component): Add tests for
23033 'operator' in more locations.
23034
23035 2003-04-16 Kevin Buettner <kevinb@redhat.com>
23036
23037 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
23038
23039 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
23040
23041 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
23042 func marke' instead. Update test name.
23043
23044 2003-04-15 David Carlton <carlton@math.stanford.edu>
23045
23046 * gdb.c++/maint.exp: New file.
23047
23048 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
23049
23050 * gdb.threads/schedlock.c: Change type of thread function argument
23051 to long, to avoid warnings on 64-bit platforms.
23052
23053 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
23054
23055 * gdb.base/attach.exp: Add new message from ptrace in case of
23056 attaching to nonexistent process.
23057
23058 2003-04-11 Jim Blandy <jimb@redhat.com>
23059
23060 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23061 gdb.c++/userdef.cc: Place comments on the lines to which the
23062 marker function might return.
23063 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23064 gdb.c++/userdef.exp: Look for those comments to check that we've
23065 returned to the right place, instead of checking line numbers.
23066
23067 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
23068
23069 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
23070 match on sourcefile name, instead of directory name.
23071
23072 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
23073
23074 * gdb.base/completion.exp: Use string_to_regexp to match the
23075 working directory name.
23076
23077 2003-04-09 Jim Blandy <jimb@redhat.com>
23078
23079 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23080 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
23081 after an inferior function call, report the failure, but allow the
23082 test to continue.
23083
23084 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23085
23086 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23087 with -DPROTOTYPES.
23088
23089 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23090
23091 * gdb.base/break.exp: Revert last patch.
23092
23093 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
23094
23095 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23096 with -DPROTOTYPES.
23097
23098 2003-04-02 Andrew Cagney <cagney@redhat.com>
23099
23100 * gdb.base/callfuncs.exp: Make "print add" messages unique.
23101 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
23102 matching directories by the name breakpoint.
23103 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
23104 Make "continue to marker1" consistent.
23105 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
23106 message consistent.
23107 * lib/gdb.exp: Put "the program is no longer running", and "the
23108 program exited" in parenthesis.
23109 * lib/mi-support.exp: Ditto.
23110
23111 2003-04-02 Bob Rossi <bob_rossi@cox.net>
23112
23113 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
23114
23115 2003-03-29 Andrew Cagney <cagney@redhat.com>
23116
23117 * gdb.base/sizeof.c (main): Print the value of '\377'.
23118 * gdb.base/sizeof.exp: Check the sign of '\377'.
23119
23120 2003-03-27 Michael Chastain <mec@shout.net>
23121
23122 * gdb.base/gdb1090.exp: New file.
23123 * gdb.base/gdb1090.cc: New file.
23124
23125 2003-03-27 J. Brobecker <brobecker@gnat.com>
23126
23127 * gdb.gdb/observer.exp: New regression test.
23128
23129 2003-03-27 Michael Chastain <mec@shout.net>
23130
23131 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
23132 * gdb.base/ptype.exp: Likewise.
23133
23134 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
23135
23136 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
23137
23138 2003-03-26 Michael Chastain <mec@shout.net>
23139
23140 * gdb.base/ptype.exp: Actually use some typedef'd types.
23141
23142 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
23143
23144 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
23145 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
23146
23147 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23148
23149 * gdb.base/default.exp: Fix regular expression.
23150
23151 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23152
23153 * gdb.base/args.exp: Fix regular expression.
23154
23155 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23156
23157 * gdb.base/help.exp: Allow Win32 child process.
23158
23159 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23160
23161 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
23162 when stepping out of main().
23163
23164 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23165
23166 * gdb.base/default.exp: Check for win32 specific message when calling
23167 "run" without executable.
23168
23169 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23170
23171 * gdb.base/args.exp: Expect .exe in output.
23172
23173 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23174
23175 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
23176 Cygwin native.
23177
23178 2003-03-17 Andrew Cagney <cagney@redhat.com>
23179
23180 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
23181 vector registes.
23182 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
23183 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
23184
23185 2003-03-17 David Carlton <carlton@math.stanford.edu>
23186
23187 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
23188 test, for PR breakpoints/38.
23189 Call test_watchpoint_and_breakpoint.
23190 * gdb.base/watchpoint.c (func3): New function.
23191 (main): Call func3.
23192
23193 2003-03-04 David Carlton <carlton@math.stanford.edu>
23194
23195 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
23196 Garply<Garply<char> >:: garply".
23197 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
23198 with respect to PR c++/1111; note also PR c++/1113.
23199 (test_template_breakpoints): KFAIL "constructor breakpoint" with
23200 respect to PR c++/1062.
23201 KFAIL "destructor breakpoint" with respect to PR c++/1112.
23202
23203 2003-03-03 David Carlton <carlton@math.stanford.edu>
23204
23205 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
23206 with respect to PR c++/57.
23207 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
23208 c++/826.
23209 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
23210 respect to PR c++/57.
23211
23212 2003-03-03 David Carlton <carlton@math.stanford.edu>
23213
23214 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23215 respect to PR c++/33 into FAILs.
23216
23217 2003-03-03 Michael Chastain <mec@shout.net>
23218
23219 * configure.in: Update copyright years.
23220
23221 2003-03-03 Michael Chastain <mec@shout.net>
23222
23223 * Makefile.in: Update copyright years.
23224
23225 2003-02-28 David Carlton <carlton@math.stanford.edu>
23226
23227 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
23228 print class instead of struct and/or superfluous protection
23229 specifiers, as long as the resulting output is equivalent to the
23230 source code.
23231 Delete FIXME from end of messages on tests that don't need
23232 fixing.
23233
23234 2003-02-28 David Carlton <carlton@math.stanford.edu>
23235
23236 * gdb.c++/templates.exp (do_tests): Allow const in the two
23237 Foo<volatile char *>::foo tests.
23238
23239 2003-02-27 Michael Snyder <msnyder@redhat.com>
23240
23241 * gdb.base/restore.c (main): Return zero, so exit code
23242 will be consistant.
23243
23244 2003-02-26 David Carlton <carlton@math.stanford.edu>
23245
23246 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
23247 char *>::foo" test with respect to PR c++/33. Create a new test
23248 which is identical to that one except that it doesn't put the
23249 space between the "char" and the "*"; KFAIL it, too.
23250
23251 2003-02-26 David Carlton <carlton@math.stanford.edu>
23252
23253 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
23254 template types into either PASSes or KFAILs (corresponding to PR
23255 c++/57). Tweak indentation. Update copyright.
23256
23257 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
23258
23259 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
23260
23261 2003-02-13 Michael Chastain <mec@shout.net>
23262
23263 * gdb.base/exprs.exp: Remove i960 remnants.
23264 * gdb.base/funcargs.exp: Likewise.
23265 * gdb.base/list.exp: Likewise.
23266 * gdb.base/ptype.exp: Likewise.
23267
23268 2003-02-14 David Carlton <carlton@math.stanford.edu>
23269
23270 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
23271 pEe->D::vg()" from XFAIL to KFAIL.
23272
23273 2003-02-13 Jason Molenda (jmolenda@apple.com)
23274
23275 * gdb.base/maint.exp: Update maint print statistics regexp to include
23276 new entries.
23277
23278 2003-02-13 Michael Chastain <mec@shout.net>
23279
23280 * gdb.c++/inherit.exp: Remove call to get_debug_format.
23281
23282 2003-02-12 Michael Chastain <mec@shout.net>
23283
23284 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
23285 * gdb.c++/inherit.exp: Likewise.
23286 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
23287 * gdb.c++/templates.exp: Likewise.
23288 * gdb.c++/virtfunc.exp: Likewise.
23289
23290 2003-02-06 Jason Molenda (jason-cl@molenda.com)
23291
23292 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
23293 why the code is written that way.
23294
23295 2003-02-05 Michael Chastain <mec@shout.net>
23296
23297 * gdb.base/dump.exp: Add missing copyright line.
23298
23299 2003-02-05 Jason Molenda (jason-cl@molenda.com)
23300
23301 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
23302 at the beginning so the breakpoint doesn't get set on the loop.
23303
23304 2003-02-05 Michael Chastain <mec@shout.net>
23305
23306 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
23307 output for configurations with gcc 2.95.3.
23308
23309 2003-02-05 Keith Seitz <keiths@redhat.com>
23310 Andrew Cagney <ac131313@redhat.com>
23311
23312 * gdb.mi/mi-cli.exp: New file.
23313
23314 2003-02-04 Michael Chastain <mec@shout.net>
23315
23316 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
23317 Call perror and then continue.
23318
23319 2003-02-03 Michael Chastain <mec@shout.net>
23320
23321 * gdb.c++/pr-1023.cc: New file.
23322 * gdb.c++/pr-1023.exp: New file.
23323
23324 2003-02-05 Jim Blandy <jimb@redhat.com>
23325
23326 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23327 it's local to foobar. Check for it there, and check that it's not
23328 present in main.
23329 * gdb.c++/local.cc (marker2): New function.
23330 (foobar): Call marker1.
23331 (main): Call marker2 instead of marker1.
23332
23333 2003-02-04 Andrew Cagney <ac131313@redhat.com>
23334
23335 * gdb.disasm/mn10200.exp: Obsolete file.
23336 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23337 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23338 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23339
23340 2003-02-04 David Carlton <carlton@math.stanford.edu>
23341
23342 * gdb.c++/overload.exp: Test intToChar(1).
23343 * gdb.c++/overload.cc (intToChar): New.
23344 (main): Call intToChar.
23345
23346 2003-02-03 David Carlton <carlton@math.stanford.edu>
23347
23348 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23349 'might_kfail' arg.
23350 KFAIL some of the continue_to_bp_overloaded calls, according to
23351 PR c++/1025.
23352
23353 2003-02-01 Michael Chastain <mec@shout.net>
23354
23355 * gdb.base/advance.c (marker1): New marker function.
23356 * gdb.base/advance.exp: When the 'advance' command lands on the
23357 return breakpoint, it can legitimately stop on either the
23358 current line or the next line. Accommodate both outcomes.
23359 * gdb.base/until.exp: Likewise.
23360
23361 2003-02-02 Andrew Cagney <ac131313@redhat.com>
23362
23363 2002-11-10 Jason Molenda (jason-cl@molenda.com):
23364 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23365 now a list, not a tuple.
23366 * gdb.mi/mi-var-display.exp: Ditto.
23367 * gdb.mi/gdb792.exp: Ditto.
23368
23369 2003-02-01 Andrew Cagney <ac131313@redhat.com>
23370
23371 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
23372 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23373 stack backtraces.
23374 * gdb.mi/mi-syn-frame.c: Part of same.
23375
23376 2003-02-01 Mark Kettenis <kettenis@gnu.org>
23377
23378 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23379 gdb.mi/mi1-pthreads.exp: Return instead of calling
23380 gdb_suppress_entire_file.
23381
23382 2003-02-01 Mark Salter <msalter@redhat.com>
23383
23384 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23385
23386 2003-01-31 Mark Salter <msalter@redhat.com>
23387
23388 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23389 Support empty arg.
23390
23391 2003-01-30 Michael Chastain <mec@shout.net>
23392
23393 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23394 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23395 has been fixed in gdb/readline on 2003-01-09.
23396
23397 2003-01-29 Michael Snyder <msnyder@redhat.com>
23398
23399 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23400 * gdb.base/display.exp: Allow for leading underscore in symbol.
23401 * gdb.base/args.exp: Skip if target does not support args passing.
23402
23403 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
23404
23405 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
23406 gdb_test. Accept a list of expect arguments as the third
23407 parameter.
23408 (gdb_test): Use it.
23409
23410 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
23411
23412 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23413 allow for different test tree configurations. Update some
23414 tescases accordingly.
23415 * gdb.arch/altivec-regs.exp: Ditto.
23416 * gdb.asm/asm-source.exp: Ditto.
23417 * gdb.base/advance.exp: Ditto.
23418 * gdb.base/display.exp: Ditto.
23419 * gdb.base/long_long.exp: Ditto.
23420 * gdb.base/mips_pro.exp: Ditto.
23421 * gdb.base/overlays.exp: Ditto.
23422 * gdb.base/relocate.exp: Ditto.
23423 * gdb.base/setshow.exp: Ditto.
23424 * gdb.base/step-line.exp: Ditto.
23425 * gdb.base/step-test.exp: Ditto.
23426 * gdb.base/until.exp: Ditto.
23427 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23428
23429 2003-01-17 David Carlton <carlton@math.stanford.edu>
23430
23431 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23432 corresponding to PR c++/945.
23433 Update copyright.
23434
23435 2003-01-17 David Carlton <carlton@math.stanford.edu>
23436
23437 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23438 corresponding to PR c++/68.
23439
23440 2003-01-17 David Carlton <carlton@math.stanford.edu>
23441
23442 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23443 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23444 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23445
23446 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23447
23448 * gdb.base/break.exp: Fix change of default location, because of
23449 removal of until tests.
23450 * gdb.base/help.exp: Update test for new 'until' help message.
23451 Add test for help on 'advance'.
23452 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
23453
23454 2003-01-15 Mark Kettenis <kettenis@gnu.org>
23455
23456 * gdb.base/default.exp: Adapt "info float" test for recent changes
23457 to that command. Add test for "info vector".
23458 * gdb.base/float.exp: New file. Add test for "info float" that
23459 resembles the old test in gdb.base/default.exp.
23460
23461 2003-01-15 David Carlton <carlton@math.stanford.edu>
23462
23463 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23464
23465 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23466
23467 * gdb.base/break.exp: Move the tests of until command from here...
23468 * gdb.base/until.exp: ... to here. New file. Add other tests.
23469 * gdb.base/advance.c: New file.
23470 * gdb.base/advance.exp: New file.
23471
23472 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
23473
23474 * gdb.base/args.c: New file.
23475 * gdb.base/args.exp: New file.
23476
23477 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23478
23479 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23480
23481 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23482
23483 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23484
23485 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23486
23487 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23488 dates.
23489
23490 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23491
23492 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23493
23494 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23495
23496 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23497 (ptype &*"foo").
23498 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23499
23500 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23501
23502 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23503 * gdb.mi/mi1-console.exp: Likewise.
23504
23505 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23506
23507 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23508 * gdb.mi/mi1-console.exp: Likewise.
23509
23510 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23511
23512 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23513
23514 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23515
23516 * gdb.base/detach.exp: New test.
23517
23518 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23519
23520 * Makefile.in (ALL_SUBDIRS): New variable.
23521 (subdirs, clean, distclean): Use it.
23522 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23523 regenerating Makefile, since it is generated from the top level.
23524 * gdb.asm/Makefile.in: Likewise.
23525 * gdb.base/Makefile.in: Likewise.
23526 * gdb.c++/Makefile.in: Likewise.
23527 * gdb.disasm/Makefile.in: Likewise.
23528 * gdb.java/Makefile.in: Likewise.
23529 * gdb.mi/Makefile.in: Likewise.
23530 * gdb.threads/Makefile.in: Likewise.
23531 * gdb.trace/Makefile.in: Likewise.
23532
23533 2003-01-09 David Carlton <carlton@math.stanford.edu>
23534
23535 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23536 Add copyright year 2003.
23537
23538 2003-01-06 Michael Chastain <mec@shout.net>
23539
23540 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23541 When selecting a thread, 'line' and 'file' are optional.
23542 * gdb.mi/mi1-pthreads.exp: Likewise.
23543
23544 2003-01-06 Andreas Schwab <schwab@suse.de>
23545
23546 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23547 failures.
23548
23549 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23550
23551 Fix PR gdb/844
23552 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23553 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23554
23555 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23556 instead of calling gdb_suppress_entire_file.
23557 * gdb.threads/print-threads.exp: Likewise.
23558 * gdb.threads/schedlock.exp: Likewise.
23559
23560 * gdb.threads/killed.exp: Return instead of calling
23561 gdb_suppress_entire_file.
23562 * gdb.threads/linux-dp.exp: Likewise.
23563 * gdb.threads/pthreads.exp: Likewise.
23564
23565 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23566
23567 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23568 stabs.
23569 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23570 * gdb.base/whatis.exp: Always allow (void) after function names.
23571
23572 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23573
23574 * gdb.c++/casts.exp: Correct regexp.
23575
23576 2003-01-04 Mark Kettenis <kettenis@gnu.org>
23577
23578 * configure.in: Call AC_CONFIG_HEADER. Don't call
23579 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23580 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23581 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23582 aforementioned directories in the AC_OUPUT call.
23583 * config.hin: New file.
23584 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23585 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23586 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23587 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23588 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23589 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23590 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23591 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23592 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23593 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23594 gdb.threads/configure.in, gdb.threads/configure,
23595 gdb.threads/config.in, gdb.trace/configure.in,
23596 gdb.trace/configure: Removed.
23597
23598 2003-01-03 Michael Chastain <mec@shout.net>
23599
23600 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23601 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23602
23603 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
23604
23605 * gdb.base/store.exp: Fix regular expressions.
23606
23607 2002-12-28 Mark Kettenis <kettenis@gnu.org>
23608
23609 * configure.in: Rewrite.
23610 * configure: Regenerated.
23611
23612 2003-01-03 David Carlton <carlton@math.stanford.edu>
23613
23614 * gdb.base/psymtab.exp: New file.
23615 * gdb.base/psymtab1.c: Ditto.
23616 * gdb.base/psymtab2.c: Ditto.
23617
23618 2002-12-23 Adam Fedor <fedor@gnu.org>
23619
23620 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23621
23622 2002-12-23 David Carlton <carlton@math.stanford.edu>
23623
23624 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23625 and current_directory initialization.
23626
23627 2002-12-22 Jim Blandy <jimb@redhat.com>
23628
23629 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23630 rather than as part of the output file name.
23631
23632 * gdb.base/attach.exp: There's no need to copy the test program to
23633 /tmp; that was only ever necessary on HP/UX, and this test is
23634 entirely disabled there anyway.
23635
23636 2002-12-21 Jim Blandy <jimb@redhat.com>
23637
23638 * gdb.c++/psmang.exp: Doc fix.
23639
23640 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23641 test.
23642
23643 2002-12-20 David Carlton <carlton@math.stanford.edu>
23644
23645 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23646
23647 2002-12-18 Michael Chastain <mec@shout.net>
23648
23649 * gdb.c++/annota2.exp: Add copyright year 2002.
23650
23651 2002-12-17 David Carlton <carlton@math.stanford.edu>
23652
23653 * gdb.c++/try_catch.cc: Add marker comments.
23654 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23655 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23656 * gdb.c++/m-static.cc: Ditto.
23657 * gdb.c++/m-static1.cc: Ditto.
23658 * gdb.c++/try_catch.cc: Ditto.
23659
23660 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23661
23662 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23663 to see whether we are using the new -environment-directory
23664 command which resets via -r or the old version of the command
23665 which may prompt the user. Part of fix for gdb/741.
23666
23667 2002-12-13 Andrew Cagney <ac131313@redhat.com>
23668
23669 * gdb.fortran/types.exp: Update obsolete comment.
23670 * gdb.fortran/exprs.exp: Ditto.
23671 * lib/gdb.exp: Delete obsolete code.
23672 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23673 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23674 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23675 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23676 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23677 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23678 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23679 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23680 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23681 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23682 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23683 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23684 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23685 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23686 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23687 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23688 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23689 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23690 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23691 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23692 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23693 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23694 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23695 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23696 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23697 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23698 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23699 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23700 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23701 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23702 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23703 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23704 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23705 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23706 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23707 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23708 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23709
23710 2002-12-11 David Carlton <carlton@math.stanford.edu>
23711
23712 * gdb.c++/m-data.exp: Add test for members that shadow global
23713 variables: see PR gdb/804.
23714 * gdb.c++/m-data.cc: Ditto.
23715
23716 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
23717
23718 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23719
23720 2002-12-06 David Carlton <carlton@math.stanford.edu>
23721
23722 * gdb.base/store.c: Don't declare functions static.
23723
23724 2002-12-04 Andrew Cagney <ac131313@redhat.com>
23725
23726 * gdb.base/store.exp, gdb.base/store.c: New files.
23727
23728 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23729
23730 * gdb.base/selftest.exp: Update for current gdb.
23731
23732 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23733
23734 * gdb.base/maint.exp: Only dump symbols from one source file
23735 or objfile.
23736
23737 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23738
23739 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23740 function call.
23741
23742 2002-11-25 Jim Blandy <jimb@redhat.com>
23743
23744 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23745 function appearing in error message.
23746
23747 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
23748
23749 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23750
23751 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23752
23753 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23754 for mi1 and current mi is in correct format. New mi startup message
23755 should be in mi console format. This is part of fix for PR gdb/604.
23756
23757 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23758
23759 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23760 which explicitly prints the zero offset as "+0".
23761
23762 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
23763
23764 * gdb.threads/schedlock.c (args): Make unsigned.
23765
23766 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
23767
23768 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23769 numbers. Allow "foo2|selected stack frame".
23770 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23771 * gdb.asm/asmsrc2.s: Likewise.
23772 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23773 comments.
23774 * gdb.asm/mips.inc: New file.
23775
23776 2002-10-18 Adam Fedor <fedor@gnu.org>
23777
23778 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23779 * gdb.base/help.exp: Likewise.
23780
23781 2002-10-17 Kevin Buettner <kevinb@redhat.com>
23782
23783 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23784 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23785
23786 2002-10-02 Jim Blandy <jimb@redhat.com>
23787
23788 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23789
23790 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23791
23792 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23793 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23794 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23795 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23796 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23797 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23798 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23799
23800 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23801
23802 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23803 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23804 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23805 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23806 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23807 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23808 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23809
23810 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23811
23812 * gdb.base/annota1.exp (info break): Make directory components of
23813 path optional since not all compilers emit this debug information.
23814
23815 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23816 step ends up stepping out of the function instead of stopping on
23817 the epilogue.
23818
23819 2002-09-26 Keith Seitz <keiths@redhat.com>
23820
23821 * lib/insight-support.exp (gdbtk_start): Figure out where
23822 the insight executable is based on where gdb is. Use this
23823 executable to start insight instead of gdb.
23824
23825 2002-09-25 Andrew Cagney <cagney@redhat.com>
23826
23827 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23828
23829 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23830
23831 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23832 test_isolated_complaints.
23833 (test_empty_complaint): New function.
23834 (test_empty_complaints): New function. Check no output when no
23835 complaints.
23836
23837 2002-09-19 Jim Blandy <jimb@redhat.com>
23838
23839 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23840
23841 2002-09-19 Andrew Cagney <ac131313@redhat.com>
23842
23843 * gdb.gdb/complaints.exp: New file.
23844
23845 2002-09-18 Andrew Cagney <ac131313@redhat.com>
23846
23847 * gdb.base/maint.exp: Check `help maint internal-warning'.
23848
23849 2002-09-18 David Carlton <carlton@math.stanford.edu>
23850
23851 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23852 numbers, and replace them by a single breakpoint after the
23853 constructors are all finished.
23854 Add test 4.
23855 * gdb.c++/m-static.cc: Add test 4.
23856 * gdb.c++/m-static.h: New file.
23857 * gdb.c++/m-static1.cc: New file.
23858
23859 * gdb.c++/printmethod.exp: New file.
23860 * gdb.c++/printmethod.cc: New file.
23861
23862 * gdb.c++/pr-574.exp: New file.
23863 * gdb.c++/pr-574.cc: New file.
23864
23865 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23866
23867 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23868 embedded targets which never actually exit.
23869
23870 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23871
23872 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23873 "don't step after run" as unresolved or unsupported, instead of xfail.
23874
23875 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23876
23877 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23878 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23879 Add newline to expected string in "step out of main (status wrapper)"
23880 case.
23881
23882 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23883
23884 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23885 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23886
23887 2002-09-17 Tom Tromey <tromey@redhat.com>
23888
23889 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23890 \000, not \0, in double-quoted string.
23891
23892 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23893
23894 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23895 string after running the commands execution on breakpoint tests.
23896
23897 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23898
23899 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23900
23901 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23902
23903 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23904
23905 2002-09-10 Keith Seitz <keiths@redhat.com>
23906
23907 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23908 runto proc.
23909 (mi_run_to_main): Use mi_runto.
23910 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23911
23912 2002-09-10 Keith Seitz <keiths@redhat.com>
23913
23914 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23915 regexp for stopping at main. Could have multiple event notifications.
23916 Don't assume that main was declared with no parameters.
23917 (mi_next): Use mi_step_to.
23918 (mi_step): Use mi_next_to.
23919
23920 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23921
23922 * gdb.base/default.exp: Fix expected string in `info float' test.
23923
23924 2002-09-09 Ben Elliston <bje@redhat.com>
23925
23926 * config/mips.exp: Update comments.
23927 * config/mips-idt.exp: Likewise.
23928 * config/nind.exp: Likewise.
23929 * config/slite.exp: Likewise.
23930 * config/sparclet.exp: Likewise.
23931 * config/udi.exp: Likewise.
23932 * config/vx.exp: Likewise.
23933 * config/vxworks29k.exp: Likewise.
23934
23935 2002-09-05 Jim Blandy <jimb@redhat.com>
23936
23937 * gdb.threads/killed.exp: Fix test failure message.
23938
23939 2002-09-04 Keith Seitz <keiths@redhat.com>
23940
23941 * lib/mi-support.exp: Update copyright.
23942 (mi_gdb_test): Increase the priority of the expected pattern
23943 so that it matches gdb_test.
23944
23945 2002-09-03 Keith Seitz <keiths@redhat.com>
23946
23947 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23948 Use integer comparison instead of string comparison for testing
23949 whether binary was built.
23950
23951 2002-09-03 Jim Blandy <jimb@redhat.com>
23952
23953 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23954
23955 2002-08-29 Jim Blandy <jimb@redhat.com>
23956
23957 * gdb.threads/pthreads.exp: Move the portable thread compilation
23958 code into a function in lib/gdb.exp, and call that from here.
23959 * lib/gdb.exp (gdb_compile_pthreads): New function.
23960
23961 2002-08-29 Keith Seitz <keiths@redhat.com>
23962
23963 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23964 expect_out so that callers can get at it.
23965
23966 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23967
23968 * gdb.threads/print-threads.c: New file.
23969 * gdb.threads/print-threads.exp: New file.
23970 * gdb.threads/schedlock.c: New file.
23971 * gdb.threads/schedlock.exp: New file.
23972
23973 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23974
23975 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23976 not altivec.c.
23977
23978 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23979
23980 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23981 targets. The problem should be fixed now.
23982
23983 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23984
23985 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23986 2002-07-24 change that removes final dots from error messages.
23987
23988 2002-08-13 Tom Tromey <tromey@redhat.com>
23989
23990 * gdb.base/readline.exp: New file.
23991
23992 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23993
23994 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23995 supress message.
23996
23997 2002-08-01 Andrew Cagney <cagney@redhat.com>
23998
23999 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
24000 CHILL_FOR_TARGET and CHILL_LIB.
24001 * configure.in (configdirs): Remove gdb.chill.
24002 * configure: Regenerate.
24003 * lib/gdb.exp: Obsolete references to chill.
24004 * gdb.fortran/types.exp: Ditto.
24005 * gdb.fortran/exprs.exp: Ditto.
24006
24007 2002-07-30 Kevin Buettner <kevinb@redhat.com>
24008
24009 * gdb.base/shlib-call.exp (additional_flags): Conditionally
24010 set Irix-specific compile and link flags.
24011
24012 2002-07-29 Kevin Buettner <kevinb@redhat.com>
24013
24014 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
24015 source files. The ``-o'' option doesn't work with the ``-E'' option
24016 when using the Irix compiler.
24017
24018 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
24019
24020 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
24021 Improve support for reusing an exec file. Copy exec file
24022 to target, and run gdbserver on the target instead of on the host.
24023
24024 2002-07-18 Jim Blandy <jimb@redhat.com>
24025
24026 * gdb.base/ending-run.exp: Don't expect to see the program end in
24027 some orderly fashion when we're running on a real stand-alone
24028 board.
24029
24030 * gdb.base/interrupt.exp: Correct logic for skipping tests on
24031 targets that don't support interrupts.
24032
24033 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
24034
24035 * gdb.base/attach.exp: Add patterns to match output from /proc-based
24036 systems.
24037 Move comments in expect statements to inside the actions, so that they
24038 don't get matched against.
24039
24040 2002-07-10 Mark Kettenis <kettenis@gnu.org>
24041
24042 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
24043 function when asleep" test.
24044
24045 2002-07-10 Andrew Cagney <ac131313@redhat.com>
24046
24047 * gdb.base/page.exp: Rewrite to handle problems with very long
24048 `info set' output. Update copyright.
24049
24050 2002-06-26 Andrew Cagney <ac131313@redhat.com>
24051
24052 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
24053 gdb.threads-hp.
24054 * gdb.hp/configure: Regenerate.
24055 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
24056 * gdb.hp/gdb.threads-hp/configure: Delete file.
24057 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
24058
24059 2002-06-22 Andrew Cagney <ac131313@redhat.com>
24060
24061 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
24062 setlocale, bindtextdomain and textdomain.
24063
24064 2002-06-11 Jim Blandy <jimb@redhat.com>
24065
24066 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
24067 preprocessor macro information is present.
24068
24069 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
24070 tests.
24071
24072 2002-06-06 Michael Snyder <msnyder@redhat.com>
24073
24074 * gdb.base/overlays.exp: Record addresses of overlay
24075 functions in TCL variables rather than in GDB variables,
24076 to avoid having GDB convert them to pointers (with loss
24077 of information).
24078
24079 * gdb.base/d10v.ld: Merge in several years worth of
24080 default linker script changes.
24081 * gdb.base/long_long.exp: Add check for sizeof (long double).
24082
24083 2002-06-06 Michal Ludvig <mludvig@suse.cz>
24084
24085 * gdb.asm/asm-source.exp: Add x86-64 target.
24086 * gdb.asm/x86_64.inc: New.
24087
24088 2002-05-30 Michael Chastain <mec@shout.net>
24089
24090 From Benjamin Kosnik <bkoz@redhat.com>:
24091 * gdb.c++/m-static.cc: New file.
24092 * gdb.c++/m-static.exp: New file.
24093
24094 2002-05-28 Michael Snyder <msnyder@redhat.com>
24095
24096 * gdb.base/call-ar-st.exp: Allow for reduced floating point
24097 precision.
24098
24099 2002-05-27 Michael Chastain <mec@shout.net>
24100
24101 From Benjamin Kosnik <bkoz@redhat.com>:
24102 * gdb.c++/m-data.cc: New file.
24103 * gdb.c++/m-data.exp: New file.
24104
24105 2002-05-27 Michael Chastain <mec@shout.net>
24106
24107 From Benjamin Kosnik <bkoz@redhat.com>:
24108 * gdb.c++/try_catch.cc: New file.
24109 * gdb.c++/try_catch.exp: New file.
24110
24111 2002-05-27 Michael Chastain <mec@shout.net>
24112
24113 * gdb.c++/local.exp: Accept more nested types in output.
24114
24115 2002-05-26 Michael Chastain <mec@shout.net>
24116
24117 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
24118
24119 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
24120
24121 * lib/gdb.exp (gdb_wrapper_init): Just because
24122 gdb_wrapper_file exists, this does not mean that the file
24123 should not be rebuilt. That is what gdb_wrapper_initialized
24124 is for.
24125 (default_gdb_init): Reset gdb_wrapper_initialized.
24126
24127 2002-05-23 Michael Snyder <msnyder@redhat.com>
24128
24129 * gdb.base/all-bin.exp: Revise previous patch by just reducing
24130 the precision of the floating point test results.
24131 * gdb.base/call-rt-st.exp: Ditto.
24132
24133 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
24134 * gdb.base/call-rt-st.exp: Ditto.
24135
24136 2002-05-19 Michael Chastain <mec@shout.net>
24137
24138 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
24139
24140 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
24141
24142 * configure.in (configdirs): Add gdb.arch.
24143 * configure: Regenerate.
24144
24145 2002-05-17 Jim Blandy <jimb@redhat.com>
24146
24147 * gdb.base/completion.exp: Recognize the more detailed error
24148 messages produced by the macro expander's lexical analyzer.
24149
24150 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
24151
24152 * gdb.arch/altivec-abi.c: New file.
24153 * gdb.arch/altivec-abi.exp: New file.
24154 * gdb.arch/altivec-regs.c: New file.
24155 * gdb.arch/altivec-regs.exp: New file.
24156
24157 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
24158
24159 * gdb.base/maint.exp (maint print type): Update for new type
24160 structure.
24161
24162 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
24163
24164 * gdb.arch: New directory.
24165 * gdb.arch/configure.in: New file.
24166 * gdb.arch/configure: New file.
24167 * gdb.arch/Makefile.in: New file.
24168
24169 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
24170
24171 * gdb.asm/asm-source.exp: Add v850 as supported target.
24172 * gdb.asm/v850.inc: New file.
24173
24174 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
24175
24176 * gdb.c++/annota2.exp (annotate-quit): Add comment.
24177
24178 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
24179
24180 * gdb.base/break.exp: Check 'break "marker2"'.
24181
24182 2002-05-10 Michael Snyder <msnyder@redhat.com>
24183
24184 * gdb.base/long_long.exp: Fix typo.
24185
24186 2002-05-10 Jim Blandy <jimb@redhat.com>
24187
24188 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
24189 a bug.
24190
24191 * gdb.base/printcmds.exp (test_integer_literals_rejected):
24192 Recognize more detailed error message produced by the macro
24193 expander's lexical analyzer.
24194 * lib/gdb.exp (test_print_reject): Same.
24195
24196 2002-05-09 Mark Kettenis <kettenis@gnu.org>
24197
24198 * gdb.c++/method.exp: Fix typo.
24199
24200 2002-05-08 Michael Snyder <msnyder@redhat.com>
24201
24202 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
24203 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
24204 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
24205 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
24206 Add iftarget clause for strongarm.
24207
24208 2002-05-06 Michael Snyder <msnyder@redhat.com>
24209
24210 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
24211 (gdb_continue_to_end): Accept output from status wrapper.
24212 * gdb.base/ending-run.exp: Add case for output from status wrapper.
24213 Clean up fail messages to match pass messages.
24214
24215 Enable the "needs_status_wrapper" testsuite feature.
24216 * lib/gdb.exp (gdb_wrapper_init): New procedure.
24217 (gdb_compile): Conditionally call gdb_wrapper_init.
24218 * gdb.base/a2-run.exp: Recognize output from status wrapper.
24219 * gdb.c++/method.exp: Recognize output from status wrapper.
24220
24221 2002-05-06 Ben Elliston <bje@redhat.com>
24222 From Graydon Hoare <graydon@redhat.com>
24223
24224 * config/sid.exp: Include support for "rawsid" protocol.
24225
24226 2002-05-03 Jim Blandy <jimb@redhat.com>
24227
24228 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
24229 * gdb.c++/hang3.C: New file.
24230
24231 2002-05-04 Andrew Cagney <ac131313@redhat.com>
24232
24233 * gdb.base/default.exp: Remove obsolete code.
24234 * gdb.c++/misc.exp: Ditto. Update copyright.
24235 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
24236 * gdb.base/whatis.exp: Ditto. Update copyright.
24237 * gdb.base/scope.exp: Ditto. Update copyright.
24238 * gdb.base/ptype.exp: Ditto. Update copyright.
24239 * gdb.base/printcmds.exp: Ditto. Update copyright.
24240 * gdb.base/opaque.exp: Ditto. Update copyright.
24241 * gdb.base/list.exp: Ditto.
24242 * gdb.base/funcargs.exp: Ditto. Update copyright.
24243 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
24244 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
24245 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
24246 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
24247 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
24248 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
24249
24250 2002-05-02 Michael Snyder <msnyder@redhat.com>
24251
24252 * gdb.base/watchpoint.exp: Add xscale target.
24253 * gdb.base/long_long.exp: Add xscale target.
24254 * gdb.base/default.exp: Add xscale target.
24255
24256 2002-05-01 Jim Blandy <jimb@redhat.com>
24257
24258 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
24259 gdb.c++/hang.exp: New test.
24260
24261 2002-05-01 Fred Fish <fnf@redhat.com>
24262
24263 * gdb.base/completion.exp: Handle completions of "./Make" for
24264 more than one completion possibility, as is the case when we
24265 build and test in the source tree.
24266
24267 2002-04-29 Anthony Green <green@redhat.com>
24268
24269 * gdb.java/jmisc1.exp: New file.
24270 * gdb.java/jmisc2.exp: New file.
24271
24272 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
24273
24274 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
24275
24276 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
24277
24278 * gdb.base/help.exp: Change 'help status' to allow for target
24279 dependent output differences.
24280
24281 2002-04-22 Michael Chastain <mec@shout.net>
24282
24283 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
24284
24285 2002-04-22 Michael Chastain <mec@shout.net>
24286
24287 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
24288
24289 2002-04-17 David S. Miller <davem@redhat.com>
24290
24291 * gdb.asm/sparc64.inc: New file.
24292 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
24293
24294 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
24295
24296 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
24297 instruction file directly into the build tree. Clean up at end of
24298 test.
24299
24300 2002-04-18 David S. Miller <davem@redhat.com>
24301
24302 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
24303 handle 64-bit platforms correctly.
24304 * gdb.base/maint.exp: Likewise.
24305
24306 2002-04-18 Kevin Buettner <kevinb@redhat.com>
24307
24308 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
24309 ``-fpic'' when compiling files comprising a shared library, but
24310 it does need additional linker flags in order to find shared
24311 libraries at run time.
24312
24313 2002-04-18 Kevin Buettner <kevinb@redhat.com>
24314
24315 * gdb.base/cvexpr.c (use): New function.
24316 (main): Invoke use() on all global variables to prevent
24317 some linkers from deleting these otherwise unused symbols.
24318
24319 2002-04-17 Michael Chastain <mec@shout.net>
24320 From David S. Miller <davem@redhat.com>
24321
24322 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24323 handle 64-bit platforms correctly.
24324
24325 2002-04-12 Michael Snyder <msnyder@redhat.com>
24326 From Jim Blandy <jimb@redhat.com>
24327 * gdb.base/foo.c (foox): Remove section attribute; the linker
24328 script can handle this instead.
24329 * gdb.base/bar.c (barx): Same.
24330 * gdb.base/baz.c (bazx): Same.
24331 * gdb.base/grbx.c (grbxx): Same.
24332
24333 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24334 manager doesn't automatically unmap overlays unnecessarily.
24335
24336 2002-04-10 Martin M. Hunt <hunt@redhat.com>
24337
24338 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24339 stepping out of main.
24340
24341 2002-04-09 Michael Chastain <mec@shout.net>
24342
24343 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24344 scope so that the nested scope tests will make sense.
24345 * gdb.c++/local.exp: Write patterns that actually work with gcc
24346 (the HP patterns "were never known to work with gcc").
24347 Keep the old aCC patterns too.
24348
24349 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
24350
24351 * gdb.base/attach.exp: Correct target board test.
24352
24353 2002-04-08 Michael Chastain <mec@shout.net>
24354
24355 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24356 in a const method. Add some xfail and fail cases for configurations
24357 that do not emit the "const ...".
24358
24359 2002-04-07 Michael Chastain <mec@shout.net>
24360
24361 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24362 Accept "A * const" and "const A * const" as type of "this".
24363 Fix spelling of getFunky throughout. Make messages uniform.
24364
24365 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24366
24367 Work around for PR gdb/285:
24368 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24369
24370 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24371
24372 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24373 instructions file at run time instead of configure time.
24374 Sometimes we run the test in a directory that is not the one we
24375 configured in.
24376 * gdb.asm/configure.in: Delete creation of symlink.
24377 * gdb.asm/configure: Regenerate.
24378
24379 2002-04-05 J. Brobecker <brobecker@gnat.com>
24380
24381 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24382 xfullpath () function.
24383
24384 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24385
24386 * gdb.asm/Makefile.in: Correct dependencies.
24387
24388 * gdb.asm/powerpc.inc: New file.
24389 * gdb.asm/asm-source.exp: Add PowerPC.
24390 * gdb.asm/configure.in: Likewise.
24391 * gdb.asm/configure: Regenerated.
24392
24393 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24394
24395 * gdb.base/relocate.exp: New file.
24396 * gdb.base/relocate.c: New file.
24397
24398 2002-04-04 Fred Fish <fnf@redhat.com>
24399
24400 * gdb.base/step-test.exp: Update comment regarding stopping in
24401 memcpy/bcopy calls inserted as part of the compiler runtime.
24402
24403 2002-04-04 Michael Snyder <msnyder@redhat.com>
24404
24405 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24406
24407 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
24408
24409 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24410 (gdb_expect): Remove $notransfer hack.
24411
24412 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
24413
24414 * gdb.c++/classes.exp ("calling method for small class"): Match
24415 updated register output.
24416
24417 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24418
24419 Fix PR gdb/452
24420 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24421 when finished. Make gdb_file_cmd send "exec-file" when
24422 appropriate.
24423
24424 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24425
24426 * gdb.base/attach.exp: Remove extra setup_xfail.
24427
24428 2002-03-26 Michael Snyder <msnyder@redhat.com>
24429
24430 * gdb.base/default.exp: Add tests for dump, append, and restore.
24431 * gdb.base/help.exp: Add tests for dump, append, and restore.
24432 * gdb.base/dump.exp: New file, test dump, append and restore.
24433 * gdb.base/dump.c: New file.
24434
24435 2002-03-27 Michael Snyder <msnyder@redhat.com>
24436
24437 * gdb.base/help.exp: Modify expect strings to reflect
24438 clean-ups in help messages.
24439
24440 2002-03-26 Fred Fish <fnf@redhat.com>
24441
24442 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24443 have debugging info for those functions and the compiler uses them
24444 internally to copy structs around.
24445
24446 2002-03-26 Fred Fish <fnf@redhat.com>
24447
24448 * gdb.base/list.exp: Revert the change made yesterday and add note
24449 about why we don't list the default lines for remote targets.
24450
24451 2002-03-25 Michael Snyder <msnyder@redhat.com>
24452
24453 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24454
24455 2002-03-25 Fred Fish <fnf@redhat.com>
24456
24457 * gdb.base/list.exp: This test works on remote targets so remove
24458 the short circuit for remote targets. Update copyright.
24459
24460 2002-03-25 Fred Fish <fnf@redhat.com>
24461
24462 * gdb.base/attach.exp: Fix logic error that was suppressing this
24463 test for all non hppa*-*-hpux* targets, instead of the hp target.
24464 Move comments closer to the suppression point. Also now need to
24465 check that we are running natively.
24466
24467 2002-03-22 Michael Snyder <msnyder@redhat.com>
24468
24469 * gdb.base/default.exp: Add test for gcore. Update copyright.
24470 * gdb.base/help.exp: Add test for gcore. Update copyright.
24471
24472 2002-03-06 Fred Fish <fnf@redhat.com>
24473
24474 * gdb.base/funcargs.c: Remove extraneous ';' character.
24475 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24476
24477 2002-03-04 Michael Chastain <mec@shout.net>
24478
24479 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24480 accommodate gcc v3 function signature.
24481 * gdb.mi/mi0-var-cmd-exp: Ditto.
24482
24483 2002-02-24 Andrew Cagney <ac131313@redhat.com>
24484
24485 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24486 ``GNU/Linux'' or ``Linux kernel''
24487 * testsuite/gdb.threads/pthreads.c: Ditto.
24488
24489 2002-02-24 Michael Chastain <mec@shout.net>
24490
24491 * gdb.threads/pthreads.c (thread1): Add a return statement.
24492 (thread2): Likewise.
24493 (foo): Likewise.
24494
24495 2002-02-23 Michael Chastain <mec@shout.net>
24496
24497 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24498 to placate gcc.
24499
24500 2002-02-23 Michael Chastain <mec@shout.net>
24501
24502 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24503 test "ptype bint". The test passes on all my stabs configurations.
24504
24505 2002-02-21 Jim Blandy <jimb@redhat.com>
24506
24507 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24508 filename at a time, and watch for the ones we want to see.
24509
24510 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24511 types of pointers to prototyped functions.
24512
24513 2002-02-20 Andrew Cagney <ac131313@redhat.com>
24514
24515 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24516 signed, unsigned and straight char.
24517 (padding_char, padding_short, padding_int, padding_long,
24518 padding_long_long, padding_float, padding_double,
24519 padding_long_double): New global variables.
24520 (fill, fill_structs): New functions.
24521
24522 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24523 for correctly sized writes. Update copyright.
24524 (get_valueof): New procedure.
24525 (get_sizeof): Call get_valueof.
24526 (check_valueof): New procedure.
24527 (check_padding): New procedure.
24528
24529 2002-02-20 Michael Chastain <mec@shout.net>
24530
24531 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24532 to setup_xfail. Document some of the remaining calls.
24533
24534 2002-02-18 Michael Chastain <mec@shout.net>
24535
24536 * gdb.c++/userdef.exp: Update copyright year.
24537
24538 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
24539
24540 * gdb.c++/userdef.exp: Test overloaded operators properly.
24541 Remove xfails.
24542
24543 2002-02-14 Michael Snyder <msnyder@redhat.com>
24544
24545 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24546
24547 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
24548
24549 * gdb.base/a2-run.exp: Check for a remote target properly.
24550 * gdb.base/annota1.exp: Likewise.
24551 * gdb.base/list.exp: Likewise.
24552 * gdb.base/reread.exp: Likewise.
24553 * gdb.base/scope.exp: Likewise.
24554 * gdb.base/shlib-call.exp: Likewise.
24555 * gdb.base/term.exp: Likewise.
24556 * gdb.c++/annota2.exp: Likewise.
24557
24558 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
24559
24560 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24561
24562 2002-02-10 Michael Chastain <mec@shout.net>
24563
24564 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24565 (call_after_alloca): Ditto.
24566
24567 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
24568
24569 * gdb.base/ending-run.exp: Guard "cont" test with
24570 gdb_skip_stdio_test.
24571
24572 2002-02-06 Jim Blandy <jimb@redhat.com>
24573
24574 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24575 from here...
24576 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24577 To here. Disable this test on non-HP platforms. Add big comment.
24578
24579 2002-02-04 Michael Snyder <msnyder@redhat.com>
24580
24581 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24582 other than d10v and m32r.
24583
24584 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
24585
24586 * gdb.base/default.exp: Rewrite test patterns to reduce time
24587 taken to match them.
24588
24589 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24590
24591 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24592 Allow a start function above main.
24593 * gdb.threads/linux-dp.exp: Fix copyright date.
24594
24595 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24596
24597 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24598 (check_philosopher_stack): Check for manager thread before checking
24599 for a just-starting thread.
24600
24601 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24602
24603 From Neil Booth <neil@daikokuya.demon.co.uk>:
24604 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24605 warnings.
24606
24607 2002-01-21 Fred Fish <fnf@redhat.com>
24608
24609 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24610 not caller.
24611
24612 2002-01-21 Jim Blandy <jimb@redhat.com>
24613
24614 * gdb.base/reread.exp: Check that GDB properly re-reads the
24615 executable file when it changes while no inferior is running.
24616
24617 2002-01-21 Fred Fish <fnf@redhat.com>
24618
24619 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24620 optionally accept the "shlib events" variation.
24621
24622 2002-01-21 Jim Blandy <jimb@redhat.com>
24623
24624 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24625 call `fflush' after every `printf', so that the output is produced
24626 at predictable points, regardless of whatever buffering does (or
24627 doesn't) take place.
24628 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24629 at different points.
24630
24631 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24632
24633 * gdb.c++/inherit.exp: Update copyright years.
24634 * gdb.c++/method.exp: Likewise.
24635
24636 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24637
24638 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24639 artificial methods/arguments.
24640 * gdb.c++/derivation.exp: Likewise.
24641 * gdb.c++/inherit.exp: Likewise.
24642 * gdb.c++/method.exp: Likewise.
24643 * gdb.c++/virtfunc.exp: Likewise.
24644
24645 2002-01-18 Andrew Cagney <ac131313@redhat.com>
24646
24647 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24648 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24649 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24650 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24651 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24652 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24653
24654 2002-01-17 Jim Blandy <jimb@redhat.com>
24655
24656 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24657 anchoring the pattern matching the entry point symbol's name.
24658
24659 2002-01-17 Andrew Cagney <ac131313@redhat.com>
24660
24661 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24662 continue/quit query. Update copyright.
24663
24664 2002-01-14 Michael Snyder <msnyder@redhat.com>
24665
24666 * gdb.base/gcore.exp: Remove extra debugging output.
24667
24668 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24669
24670 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24671 for slightly dubious v2 mangled string.
24672
24673 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24674
24675 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24676
24677 2002-01-10 Jason Merrill <jason@redhat.com>
24678
24679 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
24680
24681 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24682 constructors.
24683 * gdb.c++/derivation.exp: Likewise.
24684 * gdb.c++/templates.exp: Likewise.
24685 * gdb.c++/virtfunc.exp: Likewise.
24686
24687 2002-01-10 Michael Snyder <msnyder@redhat.com>
24688
24689 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
24690
24691 2002-01-08 Michael Snyder <msnyder@redhat.com>
24692
24693 * gdb.base/gcore.exp: New test for generate-core-file command.
24694 * gdb.base/gcore.c: Testcase for above.
24695 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24696
24697 2002-01-08 Jason Merrill <jason@redhat.com>
24698
24699 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24700
24701 2002-01-07 Fred Fish <fnf@redhat.com>
24702
24703 * gdb.c++/overload.exp: Remove unconditional xfails for:
24704 print foo_instance1.overloadargs(1)
24705 print foo_instance1.overloadargs(1, 2)
24706 print foo_instance1.overloadargs(1, 2, 3)
24707 print foo_instance1.overloadargs(1, 2, 3, 4)
24708 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24709 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24710 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24711 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24712 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24713 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24714 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24715 print foo_instance1.overload1arg()
24716 print foo_instance1.overload1arg((char)arg2)
24717 print foo_instance1.overload1arg((signed char)arg3)
24718 print foo_instance1.overload1arg((unsigned char)arg4)
24719 print foo_instance1.overload1arg((int)arg7)
24720 print foo_instance1.overload1arg((unsigned int)arg8)
24721 print foo_instance1.overload1arg((float)arg11)
24722 print foo_instance1.overload1arg((double)arg12)
24723
24724 2002-01-07 Michael Snyder <msnyder@redhat.com>
24725
24726 * gdb.base/huge.exp: New test. Print a very large target data object.
24727 (skip_huge_test): New test variable. Define if you want to skip this
24728 test. The test reads an 8 megabyte data object from the target, so it
24729 might be very time consuming on remote targets with a slow connection.
24730 * gdb.base/huge.c: New file. Test case for above.
24731
24732 2002-01-07 Fred Fish <fnf@redhat.com>
24733
24734 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24735 g_instance.bfoo, and g_instance.cfoo.
24736
24737 2002-01-07 Jeffrey A Law <law@redhat.com>
24738
24739 * gdb.base/break.c (multi_line_if_conditional): New function.
24740 (multi_ilne_while_conditional): Likewise.
24741 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24742 IF or WHILE condition puts the breakpoint at the start of
24743 the condition.
24744
24745 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24746 hppa*-*-hpux* expected failure.
24747 * gdb.base/structs.exp (do_function_calls): Similarly.
24748
24749 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24750 watchpoints.
24751
24752 2002-01-06 Andrew Cagney <ac131313@redhat.com>
24753
24754 Fix PR gdb/66.
24755 * gdb.base/structs.exp: Replace skip for a29k with skip for
24756 gdb,cannot_call_functions.
24757 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24758 * gdb.base/callfuncs.exp: Ditto.
24759 * gdb.base/call-rt-st.exp: Ditto.
24760 * gdb.base/call-strs.exp: Ditto.
24761 * gdb.base/callfwmall.exp: Ditto.
24762 * gdb.base/scope.exp: Obsolete xfail a29k.
24763 * gdb.c++/misc.exp: Ditto.
24764 * gdb.c++/cplusfuncs.exp: Ditto.
24765 * gdb.base/ptype.exp: Ditto.
24766 * gdb.base/printcmds.exp: Ditto.
24767 * gdb.base/opaque.exp: Ditto.
24768 * gdb.base/list.exp: Ditto.
24769 * gdb.base/funcargs.exp: Ditto.
24770 * gdb.base/default.exp: Ditto.
24771
24772 2002-01-04 Michael Snyder <msnyder@redhat.com>
24773
24774 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24775 * gdb.base/maint.exp: Add tests for maint info sections options.
24776
24777 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24778
24779 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24780
24781 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
24782
24783 * gdb.asm/arm.inc: New file.
24784 * gdb.asm/asm-source.exp: Add arm targets.
24785 * gdb.asm/configure.in: Ditto.
24786 * gdb.asm/configure: Recreated from configure.in.
24787
24788 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24789
24790 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24791 with HP's compiler.
24792 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24793 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24794 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24795 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24796
24797 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24798 either HP's compilers or GCC.
24799
24800 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24801 a SIGBUS or SIGSEGV.
24802
24803 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24804
24805 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24806 can be compiled with either HP's compiler or GCC.
24807
24808 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24809 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24810 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24811
24812 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24813 to match current gdb output. Update due to using auto-solib-limit
24814 for limiting instead of overloading auto-solib-add.
24815 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24816 test program.
24817
24818 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24819 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24820 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24821 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24822 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24823 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24824 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24825 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24826 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24827 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24828 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24829 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24830 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24831
24832 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24833 a SIGTRAP to the inferior.
24834
24835 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24836
24837 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24838 Substitute call to target_link by call to gdb_compile.
24839
24840 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24841
24842 * gdb.base/break.exp: Fix HP specific search string when testing
24843 backtracing in a called function.
24844
24845 * gdb.base/constvars.exp: Only set lang to C++ if we're
24846 compiling the test with HP's compilers.
24847 * gdb.base/volatile.exp: Similarly.
24848
24849 2001-12-19 Jim Blandy <jimb@redhat.com>
24850
24851 * gdb.base/printcmds.exp: Expect the null character to be printed
24852 as '\0', and the '\013' to be printed as '\v'.
24853 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24854 * gdb.base/setvar.exp: Same.
24855
24856 2001-12-17 Jim Blandy <jimb@redhat.com>
24857
24858 * gdb.base/completion.exp: Rather than completing very long
24859 filenames, which can make the readline library produce output we
24860 don't recognize, cd to the directory first, and then complete
24861 using nice, short relative paths.
24862
24863 * gdb.base/completion.exp: On some systems, there is, in fact, a
24864 variable named `b' in scope, since GDB treats all static
24865 variables as being in scope. So use `no_var_named_this'
24866 instead of `b'.
24867
24868 * gdb.base/corefile.exp: Recognize the message saying that GDB
24869 can't find the core file's registers as a failure.
24870
24871 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24872
24873 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24874 test expect string more specific.
24875
24876 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24877
24878 * gdb.asm/asm-source.exp: Add support for xstormy16.
24879 * gdb.asm/configure.in: Ditto.
24880 * gdb.asm/configure: Rebuild.
24881 * gdb.asm/xstormy16.inc: New file.
24882
24883 2001-12-10 Fred Fish <fnf@redhat.com>
24884
24885 * gdb.base/maint.exp: Update to match changes in type dumping code.
24886
24887 2001-12-10 Jim Blandy <jimb@redhat.com>
24888
24889 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24890 matching the entry point symbol's name at the beginning of the
24891 line.
24892
24893 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24894
24895 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24896 gdb.c++/inherit.exp, gdb.c++/method.exp,
24897 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24898 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24899 and class layout support.
24900
24901 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24902
24903 * gdb.c++/classes.exp: Add test for static member function.
24904 * gdb.c++/misc.cc: Add class with static member function.
24905
24906 2001-12-07 Jim Blandy <jimb@redhat.com>
24907
24908 If GDB says it can't find the struct the function returned, report
24909 those tests as `unsupported'.
24910 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24911 Rewrite subsequent tests to use it.
24912
24913 If GDB says it can't find the struct the function returned, report
24914 those tests as `unsupported'.
24915 * gdb.base/structs.exp (call_struct_func): New function.
24916 (do_function_calls): Use call_struct_func to call the functions
24917 returning structs.
24918
24919 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24920 whether functions are prototyped or not, so we can't possibly pass
24921 arguments to t_float_values2 properly.
24922
24923 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24924 value of `timeout' for targets other than the mips*tx39-*.
24925
24926 2001-12-06 Michael Snyder <msnyder@redhat.com>
24927
24928 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24929 and detect whether the start symbol has a leading underscore.
24930
24931 2001-12-04 Jim Blandy <jimb@redhat.com>
24932
24933 * gdb.base/completion.exp: Clarify indentation.
24934
24935 2001-12-03 Jim Blandy <jimb@redhat.com>
24936
24937 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24938 variables on the S/390, not `.word'.
24939
24940 2001-11-30 Jim Blandy <jimb@redhat.com>
24941
24942 Add assembly-source tests for s390-ibm-linux.
24943 * gdb.asm/s390.inc: New file.
24944 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24945 the S/390 architecture.
24946 * gdb.asm/configure: Regenerated.
24947
24948 2001-11-30 Michael Snyder <msnyder@redhat.com>
24949
24950 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24951 next, info source, info sources, info line, global and static
24952 variables, and static functions.
24953 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24954 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24955 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24956 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24957 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24958 (gdbasm_leave): Restore frame pointer.
24959 (gdbasm_startup): Copy stack set-up from crt0.S.
24960
24961 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24962
24963 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24964 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24965 to a local (non-static) variable. Copy tstruct.a to a static buffer
24966 and return a pointer to that buffer.
24967 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24968
24969 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24970
24971 * gdb.asm/configure.in: Fix recognition of ix86 target.
24972 * gdb.asm/configure: Regenerate.
24973
24974 2001-11-21 Michael Snyder <msnyder@redhat.com>
24975
24976 * gdb.asm/sparc.inc: New file.
24977 * gdb.asm/asm-source.exp: Recognize sparc target.
24978 * gdb.asm/configure.in: Recognize sparc target.
24979 * gdb.asm/configure: Regenerate.
24980
24981 2001-11-21 Michael Snyder <msnyder@redhat.com>
24982
24983 * gdb.asm/m32r.inc: New file.
24984 * gdb.asm/asm-source.exp: Recognize m32r target.
24985 * gdb.asm/configure.in: Recognize m32r target.
24986 * gdb.asm/configure: Regenerate.
24987
24988 2001-11-20 Michael Snyder <msnyder@redhat.com>
24989
24990 * gdb.asm/i386.inc: New file.
24991 * gdb.asm/asm-source.exp: Recognize ix86 target.
24992 * gdb.asm/configure.in: Recognize ix86 target.
24993 * gdb.asm/configure: Regenerate.
24994
24995 * gdb.c++/namespace.exp: Fix quotes in output messages.
24996
24997 2001-11-14 Michael Snyder <msnyder@redhat.com>
24998
24999 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
25000 qualifier in a type cast expression, to designate an address
25001 in the instruction space (Harvard architecture).
25002
25003 2001-11-13 Michael Snyder <msnyder@redhat.com>
25004
25005 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
25006 Tests for expressions using 'const' and 'volatile'.
25007
25008 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
25009
25010 * gdb.asm/asm-sources.exp: Allow defining linker flags.
25011
25012 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
25013
25014 * lib/mi-support.exp (mi_run_to_helper): Move comments
25015 outside of gdb_expect.
25016
25017 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
25018
25019 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
25020 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
25021 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
25022 mi0_run_to): New functions.
25023 * gdb.mi/mi-simplerun.exp: Use them.
25024 * gdb.mi/mi0-simplerun.exp: Likewise.
25025 * gdb.mi/mi-var-cmd.exp: Likewise.
25026 * gdb.mi/mi0-var-cmd.exp: Likewise.
25027
25028 2001-11-10 Andrew Cagney <ac131313@redhat.com>
25029
25030 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
25031 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
25032
25033 2001-11-09 Andrew Cagney <ac131313@redhat.com>
25034
25035 * gdb.base/restore.exp: Include $expected value in restored test
25036 message.
25037
25038 2001-11-09 Andrew Cagney <ac131313@redhat.com>
25039
25040 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
25041 implemented.
25042
25043 2001-11-08 Michael Snyder <msnyder@redhat.com>
25044
25045 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
25046 Add pass/fail message for stop at breakpoint in call dummy function.
25047
25048 2001-11-07 Michael Snyder <msnyder@redhat.com>
25049
25050 * gdb.c++/templates.exp (test_template_breakpoints):
25051 If we get an overload menu, but it does not match what
25052 we expect, we still need to issue the "cancel" command.
25053 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
25054 making the whitespace optional. Argument for "new" may be
25055 "unsigned" as well as "unsigned int/long".
25056 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
25057 making the whitespace optional. Also replace "(void) with
25058 "((void|)), making the keyword "void" optional.
25059 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
25060 making the whitespace optional. Also replace "(void) with
25061 "((void|)), making the keyword "void" optional.
25062 * gdb.base/callfuncs.c (t_float_values): This function must
25063 _not_ be prototyped, and the following function (t_float_values2)
25064 must be prototyped (if the compiler supports it), so that GDB
25065 can be tested against both cases. Usually one case involves
25066 promotion of float to double, while the other does not.
25067 * gdb.base/callfwmall.c: Ditto.
25068 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
25069 includes a stack frame for "start".
25070
25071 2001-11-05 Jim Blandy <jimb@redhat.com>
25072
25073 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
25074 pointers are 32 bits long, and that offsets of relocs are always
25075 stored in the data (REL-style), and not in the reloc entry itself
25076 (RELA-style).
25077 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
25078 stabs.
25079
25080 2001-11-01 Michael Snyder <msnyder@redhat.com>
25081
25082 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
25083 and regular expression operators by using quoting.
25084
25085 2001-10-31 Michael Snyder <msnyder@redhat.com>
25086
25087 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
25088 depending on what the symbol table contains.
25089 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
25090 the output of the ptype command. Similarly, accept both "const &"
25091 and "const&".
25092
25093 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
25094
25095 * gdb.base/miscexprs.c (main): Add usage of preprocessor
25096 symbol `STORAGE' to allow to choose the storage class of
25097 the local datastructures.
25098 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
25099 compiler directive.
25100
25101 2001-10-30 Michael Snyder <msnyder@redhat.com>
25102
25103 * gdb.base/jump.exp: Allow it to run for all targets.
25104
25105 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
25106
25107 * gdb.base/call-ar-st.c (print_double_array): Match for loop
25108 with new double_array size.
25109 (main): Change storage class of all local variables to static.
25110 Reduce size of double_array to 9.
25111 * gdb.base/call-ar-st.exp: Increase timeout value.
25112 Change expected output for double array to match new size in
25113 call-ar-st.c.
25114
25115 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
25116
25117 * gdb.base/ending-run.exp: Create identical output when passing
25118 `step to end of run' case. Add regular expression branch satisfying
25119 Stormy16 target.
25120
25121 2001-10-28 Mark Kettenis <kettenis@gnu.org>
25122
25123 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
25124 that we catch the expected failure under Linux/x86.
25125
25126 2001-10-29 Orjan Friberg <orjanf@axis.com>
25127
25128 * gdb.base/setvar.exp: Escape curly braces.
25129 * gdb.stabs/weird.exp: Ditto.
25130
25131 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
25132
25133 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
25134 * gdm.mi/mi0-hack-cli.exp: Likewise.
25135
25136 2001-10-25 Andrew Cagney <ac131313@redhat.com>
25137
25138 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
25139 messages.
25140
25141 2001-10-21 Andrew Cagney <ac131313@redhat.com>
25142
25143 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
25144 checking MI enabled.
25145
25146 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
25147
25148 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
25149
25150 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
25151
25152 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
25153 if gdb child process crashes, just signal an error.
25154
25155 2001-10-02 Jim Blandy <jimb@redhat.com>
25156
25157 * lib/gdb.exp (test_xfail_format): Simplify.
25158
25159 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
25160 front of the variable name `format'. Simplify `if'.
25161
25162 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
25163
25164 * gdb.threads/pthreads.exp: Wait for output and delay
25165 before sending ^C.
25166
25167 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
25168
25169 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
25170 some incorrect output instead of timing out.
25171 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
25172
25173 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
25174
25175 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
25176 check to allow additional `int'.
25177
25178 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
25179
25180 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
25181 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
25182
25183 2001-09-27 Michael Snyder <msnyder@redhat.com>
25184
25185 * lib/gdb.exp (test_debug_format): New proc.
25186 (setup_xfail_format): Use new proc test_debug_format.
25187 * gdb.base/constvars.exp (local_compiler_xfail_check): New
25188 proc; use new service proc test_debug_format.
25189 Replace all other "gcc_compiled" tests with this test.
25190 * gdb.base/volatile.exp (local_compiler_xfail_check): New
25191 proc; use new service proc test_debug_format.
25192 Replace all other "gcc_compiled" tests with this test.
25193
25194 2001-09-27 Michael Snyder <msnyder@redhat.com>
25195
25196 * gdb.base/cvexpr.exp: New file.
25197 * gdb.base/cvexpr.c: New file
25198 Test for expressions using const and volatile keywords.
25199
25200 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
25201
25202 * gdb.base/constvars.exp: Check for different orders of keywords
25203 and additional "int" strings in output.
25204
25205 2001-09-22 Andrew Cagney <ac131313@redhat.com>
25206
25207 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
25208 responses from "help maint".
25209
25210 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
25211
25212 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
25213 to localhost:NNN instead of :NNN, in case Xvfb is listening
25214 only on TCP.
25215
25216 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
25217
25218 * gdb.base/recurse.exp: When checking leaving the watchpoint
25219 scope, recognize when gdb is in function's epilogue and pass.
25220
25221 2001-09-18 Keith Seitz <keiths@redhat.com>
25222
25223 * lib/insight-support.exp (_gdbtk_export_target_info): Add
25224 support for running tests against sid targets.
25225 (gdbtk_done): Ditto.
25226
25227 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
25228
25229 * gdb.base/ending-run.c (main): Set stdout buffersize
25230 to the same reasonable value for any target.
25231 * gdb.base/ending-run.exp: Add a regular expression
25232 to make testsuite happy on Sanyo Stormy16 target.
25233
25234 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
25235
25236 * gdb.base/display.c (do_loops): Add float variable `f'.
25237 Increment f in loop.
25238 * gdb.base/display.exp: Increment timeout by 60 seconds.
25239 Change float display test to use variable `f'.
25240
25241 2001-09-17 Jim Blandy <jimb@redhat.com>
25242
25243 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
25244 overflowing the limited breakpoint tables on some ROM monitors
25245 (like the ROM68K).
25246
25247 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
25248
25249 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
25250 the "-ac" (disable access control) flag.
25251
25252 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
25253
25254 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
25255 ints.
25256
25257 2001-08-30 Keith Seitz <keiths@redhat.com>
25258
25259 * lib/gdb.exp: Move all insight-related functionality into
25260 separate file.
25261 * lib/insight-support.exp: New file.
25262
25263 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
25264
25265 * config/sid.exp (sid_start): Never set sid verbosity; disable
25266 expect_background {} that consumed its stdout; tolerate </dev/null.
25267 Attempt to set endianness override in "sid" protocol mode. Cleanup.
25268
25269 2001-08-18 Andrew Cagney <ac131313@redhat.com>
25270
25271 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
25272 CLI jump command to start it.
25273 (mi_run_to_main): Fail immediatly when unexpected output.
25274
25275 2001-08-18 Andrew Cagney <ac131313@redhat.com>
25276
25277 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
25278 beginning of function. Fix PR gdb/191.
25279
25280 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
25281
25282 * config/sid.exp (sid_start): Don't warn if we cannot figure out
25283 what to force sid endianness to.
25284
25285 2001-08-15 Keith Seitz <keiths@redhat.com>
25286
25287 * lib/gdb.exp (gdbtk_start): Don't set environment
25288 variables for TCL_LIBRARY and friends. Insight will
25289 now figure these out for itself.
25290
25291 2001-08-02 Michael Snyder <msnyder@redhat.com>
25292
25293 * gdb.base/completion.exp: Remove the symbol "a64l" from
25294 the expect string; this is target-specific, and not related
25295 to what is being tested.
25296
25297 2001-08-02 Dave Brolley <brolley@redhat.com>
25298
25299 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
25300
25301 2001-07-25 Michael Snyder <msnyder@redhat.com>
25302
25303 * gdb.base/consecutive.exp: New file. Test stepping over
25304 breakpoints on consecutive instructions.
25305 * gdb.base/consecutive.c: New file.
25306
25307 * gdb.base/call-rt-st.exp: Use double-backslash to quote
25308 curly braces in regular expressions.
25309
25310 2001-07-25 Michael Snyder <msnyder@redhat.com>
25311
25312 * gdb.base/ending-run.exp: Accept "Program exited normally" as
25313 legitimate output from stepping out of main.
25314
25315 2001-07-22 Keith Seitz <keiths@redhat.com>
25316
25317 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
25318 the empty string, do not run the tests.
25319
25320 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25321
25322 * gdb.base/long_long.exp: Detect size of pointer. Take into
25323 account 2-byte pointers when testing for p/a results.
25324
25325 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25326
25327 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
25328 and defined to 1K for m68hc11.
25329 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25330 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25331 (sizeof_random_data): New variable to tell the size of the data table;
25332 don't test past this size; always run to main.
25333
25334 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25335
25336 * gdb.base/return2.exp: return of long long and double fails for
25337 68HC11; don't execute these tests on that platform.
25338 * gdb.base/return.exp: Return of a double fails for 68hc11.
25339
25340 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25341
25342 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25343 tests that print a float.
25344 * call-rt-st.exp: Likewise.
25345
25346 2001-07-12 Mark Kettenis <kettenis@gnu.org>
25347
25348 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25349 running this test on Linux.
25350
25351 2001-06-24 Michael Chastain <chastain@redhat.com>
25352
25353 * gdb.base/arithmet.exp: Remove some tests to make all test names
25354 unique.
25355
25356 2001-07-03 Michael Snyder <msnyder@redhat.com>
25357
25358 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25359 the output of the ptype command.
25360
25361 2001-07-02 Michael Snyder <msnyder@redhat.com>
25362
25363 * gdb.base/completion.exp: Don't assume that break.c is the only
25364 source file that may contain functions named "marker".
25365 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25366
25367 2001-06-28 Andrew Cagney <ac131313@redhat.com>
25368
25369 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25370 of files to delete.
25371
25372 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25373 * gdb.disasm/h8300s.exp: New file.
25374 gdb.disasm/h8300s.s: Likewise.
25375
25376 2001-06-27 Andrew Cagney <ac131313@redhat.com>
25377
25378 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25379 empty breakpoint tables.
25380
25381 2001-06-25 Andrew Cagney <ac131313@redhat.com>
25382
25383 * lib/mi-support.exp: Update args=... part of stop-reason
25384 patterns. Accept either a list or a tuple.
25385
25386 2001-06-23 Andrew Cagney <ac131313@redhat.com>
25387
25388 * lib/mi-support.exp: Remove local emacs variable defining
25389 change-log-default-name.
25390
25391 2001-06-22 Michael Chastain <chastain@redhat.com>
25392
25393 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25394 This is operationally compatible with the previous version.
25395
25396 2001-06-13 Jim Blandy <jimb@redhat.com>
25397
25398 * lib/gdb.exp (gdb_test): Doc fix.
25399
25400 2001-06-10 Michael Chastain <chastain@redhat.com>
25401
25402 * gdb.base/exprs.exp: Remove a duplicate test.
25403
25404 2001-06-06 Jim Blandy <jimb@redhat.com>
25405
25406 * gdb.base/return2.exp (main): Use values to test float and double
25407 returns that are not NaN's, to avoid being confused by IEEE
25408 comparison rules.
25409
25410 2001-06-04 Michael Snyder <msnyder@redhat.com>
25411
25412 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
25413 non-zero if control_c fails. Terminate the test on failure,
25414 rather than wait for 12 more tests to time out.
25415
25416 2001-06-06 Jim Blandy <jimb@redhat.com>
25417
25418 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
25419 Don't forget to match the GDB prompt.
25420
25421 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25422
25423 2001-06-04 Jim Blandy <jimb@redhat.com>
25424
25425 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25426 command.
25427
25428 2001-05-31 Kevin Buettner <kevinb@redhat.com>
25429
25430 * gdb.base/annota1.exp (info break): Match four or more spaces
25431 after "Address".
25432
25433 2001-05-31 Michael Chastain <chastain@redhat.com>
25434
25435 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25436 (dm_type_int_star): Likewise.
25437 (dm_type_long_star): Likewise.
25438 (dm_type_void_star): Likewise.
25439
25440 2001-05-29 Kevin Buettner <kevinb@redhat.com>
25441
25442 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25443 to a known value in order to get consistent results regardless
25444 of the setting of INPUTRC or the presence or contents of .inputrc.
25445
25446 2001-05-24 Michael Snyder <msnyder@redhat.com>
25447
25448 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25449 Don't require that the main thread and the manager thread are the
25450 first in the list.
25451
25452 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25453 debugging. If test fails, issue an "unsupported" not a "fail".
25454
25455 2001-05-24 Jim Blandy <jimb@redhat.com>
25456
25457 Don't assume that short is shorter than int.
25458 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25459 assume that shorts are smaller than ints. On a 16-bit machine,
25460 this isn't true.
25461 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25462 an int, is not equal to ~0 stored in an unsigned char. This tests
25463 the same thing that the previous test meant to, but works on
25464 16-bit machines, too.
25465 ("print unsigned char != (~0)"): Same test, complemented.
25466
25467 2001-05-24 Michael Snyder <msnyder@redhat.com>
25468
25469 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
25470 test for (full_coverage == 0). This makes the test run faster,
25471 and prevents dejagnu getting out of step.
25472
25473 2001-05-23 Kevin Buettner <kevinb@redhat.com>
25474
25475 * gdb.base/finish.exp (finish_void): Revise pattern for
25476 stopping on the call statement to not permit stopping at
25477 the start of the instructions comprising the call sequence.
25478
25479 2001-05-19 Michael Chastain <chastain@redhat.com>
25480
25481 * gdb.base/callfuncs.exp: Make all test names unique.
25482 * gdb.base/commands.exp: Make all test names unique.
25483 * gdb.base/condbreak.exp: Make all test names unique.
25484 * gdb.base/dbx.exp: Make all test names unique.
25485 * gdb.base/default.exp: Make all test names unique.
25486 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25487 and TIMEOUT messages to their corresponding PASS message.
25488 * gdb.base/ending-run.exp: Make all test names unique.
25489 * gdb.base/long_long.exp: Remove duplicate test.
25490
25491 2001-05-21 Kevin Buettner <kevinb@redhat.com>
25492
25493 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25494 stop on the call statement as well as the statement after the
25495 call.
25496
25497 2001-05-21 Michael Snyder <msnyder@redhat.com>
25498
25499 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25500
25501 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25502
25503 * gdb.base/completion.exp: Revamp test. Make it execute on all
25504 platforms.
25505
25506 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25507
25508 * config/gdbserver.exp (gdb_load): Handle the case
25509 in which the arguments to gdbserver are given in the
25510 baseboard configuration file.
25511 Also handle the case in which the server needs to do a
25512 load.
25513
25514 2001-05-07 Keith Seitz <keiths@cygnus.com>
25515
25516 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25517 set up the display for testing.
25518 (gdbtk_start): Convert all paths to paths that tcl will like.
25519 Export target information to environment.
25520 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25521 necessary.
25522 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25523 (to_tcl_path): New proc to convert a given pathname into
25524 a path acceptible as an argument to a tcl command.
25525 (_gdbtk_export_target_info): New proc to export target info
25526 into the environment for gdbtk testing.
25527 (gdbtk_done): New proc to signal end-of-test.
25528
25529 2001-05-06 Jim Blandy <jimb@redhat.com>
25530
25531 * restore.c: Make the code of caller0 correspond to its comment.
25532
25533 2001-05-03 Michael Snyder <msnyder@redhat.com>
25534
25535 * config/sid.exp (gdb_target_sid): Check for error messages.
25536 On error or timeout, don't make expect exit (which will terminate
25537 all subsequent tests); instead just make gdb exit.
25538 (gdb_load): Check for error messages. On error or timeout,
25539 return a negative value.
25540
25541 2001-04-24 Jim Blandy <jimb@redhat.com>
25542
25543 * gdb.c++/templates.exp: If we see the prompt for the overload
25544 list, but we haven't recognized any of the longer patterns,
25545 arrange for this test to fail, not hang.
25546
25547 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25548 variations.
25549
25550 2001-04-22 Michael Chastain <chastain@redhat.com>
25551
25552 * gdb.c++/local.exp: Use the 'runto' library function.
25553 * gdb.c++/namespace.exp: Likewise.
25554 * gdb.c++/overload.exp: Likewise.
25555
25556 2001-03-26 Kevin Buettner <kevinb@redhat.com>
25557
25558 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25559 * gdb.base/step-line.exp: New file. Test step/next in presence of
25560 #line directives.
25561 * gdb.base/step-line.c: New file. Test program for the above.
25562 * gdb.base/step-line.inp: New file. We pretend that this file has
25563 been transformed by some other tool into step-line.c.
25564
25565 2001-03-21 Jim Blandy <jimb@redhat.com>
25566
25567 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25568 unmangled operator names.
25569
25570 2001-03-20 Jim Blandy <jimb@redhat.com>
25571
25572 * gdb.threads/linux-dp.exp: Recognize an additional message
25573 generated by GDB when it doesn't understand how to debug threads
25574 on the target system.
25575
25576 2001-03-19 Andrew Cagney <ac131313@redhat.com>
25577
25578 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25579
25580 2001-03-12 Michael Chastain <chastain@redhat.com>
25581
25582 * gdb.c++/derivation.exp: Use the 'runto' library function.
25583
25584 2001-03-12 Michael Chastain <chastain@redhat.com>
25585
25586 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25587
25588 2001-02-24 Michael Chastain <chastain@redhat.com>
25589
25590 * gdb.c++/ref-types.exp: Change handwritten code to library
25591 function 'runto'.
25592
25593 2001-03-16 Orjan Friberg <orjanf@axis.com>
25594
25595 * gdb.base/signals.exp: Set count to 0 explicitly.
25596
25597 2001-03-15 Mark Salter <msalter@redhat.com>
25598
25599 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25600 (gdb_target_monitor): Add check of gdb_target_cmd return value.
25601 (gdb_load): Add support for additional target_info: gdb_download_size
25602 and gdb_load_timeout.
25603
25604 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25605
25606 * gdb.base/annota1.exp: Move test of isnative to earlier in the
25607 file -- to prevent failing when the compile fails but we have no
25608 intention of running the tests anyway.
25609
25610 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25611 tests if set.
25612
25613 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
25614 integers.
25615
25616 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25617 * gdb.c++/namespace.exp: Ditto.
25618
25619 2001-03-07 Orjan Friberg <orjanf@axis.com>
25620
25621 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25622 * gdb.base/pointers.exp: Relax pattern match of decimals.
25623
25624 2001-03-06 Kevin Buettner <kevinb@redhat.com>
25625
25626 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25627 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25628 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25629 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25630 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25631 config/sh.exp, config/sid.exp, config/slite.exp,
25632 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25633 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25634 config/vxworks.exp, config/vxworks29k.exp,
25635 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25636 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25637 gdb.base/arithmet.exp, gdb.base/assign.exp,
25638 gdb.base/async.exp, gdb.base/attach.exp,
25639 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25640 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25641 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25642 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25643 gdb.base/commands.exp, gdb.base/completion.exp,
25644 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25645 gdb.base/constvars.exp, gdb.base/corefile.exp,
25646 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25647 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25648 gdb.base/ending-run.exp, gdb.base/environ.exp,
25649 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25650 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25651 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25652 gdb.base/funcargs.exp, gdb.base/help.exp,
25653 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25654 gdb.base/logical.exp, gdb.base/long_long.exp,
25655 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25656 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25657 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25658 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25659 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25660 gdb.base/regs.exp, gdb.base/relational.exp,
25661 gdb.base/remote.exp, gdb.base/reread.exp,
25662 gdb.base/restore.exp, gdb.base/return2.exp,
25663 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25664 gdb.base/selftest.exp, gdb.base/setshow.exp,
25665 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25666 gdb.base/sigall.exp, gdb.base/signals.exp,
25667 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25668 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25669 gdb.base/step-test.exp, gdb.base/structs.c,
25670 gdb.base/structs.exp, gdb.base/structs2.exp,
25671 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25672 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25673 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25674 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25675 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25676 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25677 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25678 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25679 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25680 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25681 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25682 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25683 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25684 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25685 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25686 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25687 gdb.trace/circ.exp, gdb.trace/collection.exp,
25688 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25689 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25690 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25691 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25692 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25693 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25694 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25695 notices.
25696
25697 2001-02-27 Michael Snyder <msnyder@cygnus.com>
25698
25699 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25700 first arg is int not float.
25701
25702 2001-02-22 Michael Snyder <msnyder@cygnus.com>
25703
25704 * gdb.base/reread.exp: Unsupported for non-native targets;
25705 doesn't work for remote debugging.
25706
25707 2001-02-19 Fernando Nasser <fnasser@redhat.com>
25708
25709 From Drew Moseley <dmoseley@redhat.com>
25710 * gdb.base/ending-run.exp: Properly handle the BSP state when
25711 stepping past the end of main.
25712
25713 2001-02-19 John Moore <jmoore@redhat.com>
25714
25715 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25716 Converted HPUX fix for non-expected items following multiple
25717 step commands into general solution for all platforms.
25718
25719 2001-02-18 Michael Chastain <chastain@redhat.com>
25720
25721 * gdb.c++/classes.exp (do_tests): Change runto statements
25722 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25723 statements demangler agnostic.
25724 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25725 (gdb_virtfunc_restart): Likewise.
25726
25727 2001-02-14 Michael Chastain <chastain@redhat.com>
25728
25729 * gdb.c++/inherit.exp (do_tests): Change runto statements
25730 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25731 statements demangler agnostic.
25732
25733 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25734
25735 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25736 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25737 before calling common_routine 15 times'' tests.
25738
25739 2001-02-11 Michael Chastain <chastain@redhat.com>
25740
25741 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25742 Helps the test script figure out which demangler is in use.
25743 (dm_type_foo_ref): Ditto.
25744 (dm_type_int_star): Ditto.
25745 (dm_type_long_star): Ditto.
25746 (dm_type_unsigned_int): Ditto.
25747 (dm_type_void): Ditto.
25748 (dm_type_void_star): Ditto.
25749 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25750 Probe the gdb demangler and set variables to accommodate
25751 formatting differences.
25752 (info_func_regexp): New function. Same as info_func, but
25753 matches against a regexp.
25754 (info_func): Match against a literal string.
25755 (print_addr_2): New function. Match against a literal string,
25756 which can be different from the input to gdb.
25757 (print_addr): Simply call print_addr_2 with the same argument twice.
25758 (test_lookup_operator_functions): Use demangler formatting variables.
25759 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25760 the tests in the same order as the C++ class declaration.
25761 (test_paddr_operator_functions): Ditto.
25762 (test_paddr_overloaded_functions): Ditto.
25763 (test_paddr_hairy_functions): Use demangler formatting variables.
25764 Add reference to gdb/19 for related tests.
25765 (do_tests): Call probe_demangler.
25766
25767 2001-01-30 Kevin Buettner <kevinb@redhat.com>
25768
25769 * gdb.c++/templates.cc (printf): Remove unused function definition.
25770
25771 2001-01-26 Felix Lee <flee@redhat.com>
25772
25773 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25774
25775 2001-01-25 matthew green <mrg@redhat.com>
25776
25777 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25778 up sid.
25779 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25780
25781 2001-01-25 matthew green <mrg@redhat.com>
25782
25783 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25784 Deprecate $sid_spawn_id.
25785 (sid_exit): Remove code necessary only for `spawn.'
25786
25787 2001-01-25 matthew green <mrg@redhat.com>
25788
25789 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25790
25791 2001-01-28 Michael Chastain <chastain@redhat.com>
25792
25793 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25794 to call when tests fail. It takes gdb out of the overloaded
25795 function choice menu back to the main prompt, so that the test
25796 program stays synchronized.
25797 (set_bp_overloaded): New proc to collect all the common
25798 code for setting a breakpoint on an overloaded name. Calls
25799 take_gdb_out_of_choice_menu when needed.
25800 (menu_overload1arg): New variable to collect the repeated
25801 instances of the expected menu for an overloaded name. Change
25802 the regular expression to handle changes in g++ type encoding:
25803 "void" can be either "void" or "", and "unsigned int" can be
25804 either "unsigned int" or "unsigned".
25805 (continue_to_bp_overloaded): Change regular expressions to handle
25806 changes in g++ type encoding.
25807 (no proc): Call take_gdb_out_of_choice_menu when needed.
25808 Remove redundant calls to "info break". Accept either "canceled"
25809 or "cancelled". Change regular expressions in "info break"
25810 calls to handle changes in g++ type encoding. Give all tests
25811 unique strings.
25812
25813 2001-01-17 Ben Elliston <bje@redhat.com>
25814
25815 * config/sid.exp: New file.
25816
25817 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25818
25819 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25820
25821 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25822
25823 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25824 Add a RE to accept a non-ascii char if one is ever presented.
25825
25826 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25827
25828 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25829
25830 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25831
25832 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25833 in regexp. One '\' does not suffice on Linux.
25834
25835 2000-12-09 Michael Chastain <chastain@redhat.com>
25836
25837 * gdb.base/break.exp (test_clear_command): Use a marker function
25838 rather than 'main' for the test function. Also move this
25839 test to an execution point where the marker function names are
25840 guaranteed to be bound to functions. (Executing tests after a
25841 'finish' from main runs into name conflicts with local names
25842 in __libc_start_main).
25843
25844 2000-12-07 Michael Snyder <msnyder@cygnus.com>
25845
25846 * gdb.base/finish.exp: New test for gdb's "finish" command.
25847 * gdb.base/return2.exp: New test for gdb's "return" command.
25848 * gdb.base/return2.c: New source file for above.
25849
25850 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25851
25852 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25853 * gdb.base/miscexprs.exp: Ditto.
25854 * gdb.base/pointers.exp: Ditto.
25855 * gdb.c++/derivation.exp: Ditto.
25856 * gdb.c++/local.exp: Ditto.
25857 * gdb.c++/namespace.exp: Ditto.
25858 * gdb.c++/overload.exp: Ditto.
25859 * gdb.c++/ref-types.exp: Ditto.
25860
25861 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25862
25863 * gdb.base/constvars.exp: Test result of "up" command.
25864 * gdb.base/miscexprs.exp: Ditto.
25865 * gdb.base/pointers.exp: Ditto.
25866 * gdb.base/scope.exp: Ditto.
25867 * gdb.c++/derivation.exp: Ditto.
25868 * gdb.c++/local.exp: Ditto.
25869 * gdb.c++/namespace.exp: Ditto.
25870 * gdb.c++/overload.exp: Ditto.
25871 * gdb.c++/ref-types.exp: Ditto.
25872
25873 2000-11-22 Michael Chastain <chastain@redhat.com>
25874
25875 * mips_pro.exp: Accept either "middle -> top -> main" or
25876 "middle -> main" in the backtrace, because gcc can optimize
25877 tail calls to jumps. Remove setup_xfail for the hppa case.
25878 Add a comment with the original warning messages from PR 3016,
25879 which was filed in 1993, to preserve them for posterity.
25880
25881 2000-11-17 Nick Duffek <nsd@redhat.com>
25882
25883 * lib/gdb.exp (gdb_test): Override timeout with board info.
25884
25885 2000-11-17 Nick Duffek <nsd@redhat.com>
25886
25887 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25888 the second kill and detach messages.
25889
25890 2000-11-17 Nick Duffek <nsd@redhat.com>
25891
25892 * configure.in: Add AC_EXEEXT.
25893 * configure: Regenerate.
25894 * Makefile.in (just-check): Export EXEEXT.
25895 * lib/gdb.exp ($EXEEXT): Import from environment.
25896 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25897 expect "maint dump-me" on Cygwin.
25898 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25899 $EXEEXT.
25900
25901 2000-11-17 Nick Duffek <nsd@redhat.com>
25902
25903 * gdb.base/break.exp: Test backtrace and finish from called
25904 function on all platforms, not just HP-UX.
25905
25906 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25907
25908 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25909 code from gdb_target_monitor, so it can be used independantly
25910 for gdbserver. Also comment out an unnecessary PUTS.
25911
25912 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25913
25914 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25915 * gdb.base/corefile.exp: Expect the message "Program is being
25916 debugged already" when we send the "corefile" command, since
25917 the preceeding gdb_load may have connected gdb to a remote target.
25918 * gdb.base/display.exp: Disable hardware watchpoints if new
25919 board info variable "no_hardware_watchpoints" is true.
25920 Replace single-letter commands with more readable ones.
25921 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25922 if new board info variable "no_hardware_watchpoints" is true.
25923 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25924 to see if stdio (printf) testing is possible.
25925 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25926 board info variable "no_hardware_watchpoints" is true. Use new
25927 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25928
25929 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25930
25931 From Orjan Friberg <orjanf@axis.com>:
25932 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25933 in array print pattern match.
25934
25935 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25936
25937 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25938 spelling "cancelled" to U.S. spelling "canceled" to match changes
25939 made to gdb.
25940 * gdb.c++/ovldbreak.exp: Ditto.
25941
25942 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25943
25944 * gdb.base/callfuncs.c (main): Moved to end of file, call
25945 t_double_values to initialize the FPU before inferior calls are made.
25946 * gdb.base/callfuncs.exp: Test for register preservation after calling
25947 inferior functions. Add tests for continuining, finishing and
25948 returning from a stop in a call dummy.
25949
25950 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25951
25952 * gdb.base/commands.exp: Break up long lines, and re-indent.
25953
25954 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25955
25956 * config/gdbserver.exp: Rewritten from the ground up, to make it
25957 compatible with the current dejagnu tree, and to make it work with
25958 the new "gdbserver" in libremote.
25959
25960 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25961
25962 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25963 * gdb.base/varargs.exp: Skip entire test if no printf support.
25964 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25965 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25966
25967 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25968
25969 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25970 no floating point support.
25971 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25972 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25973 * gdb.base/call-rt-st.exp: Ditto.
25974 * gdb.base/call-strs.exp: Ditto.
25975
25976 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25977
25978 * gdb.base/sizeof.c: include <stdio.h>.
25979
25980 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25981 'finish', otherwise uncaptured gdb_prompt would potentially
25982 throw remaining test points out of sync.
25983
25984 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25985
25986 * gdb.base/recurse.exp: Run tests for all targets.
25987 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25988 gnu-oldld case on ARM.
25989 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25990 for ARM targets.
25991
25992 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25993
25994 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25995 * gdb.java/configure: Rebuild.
25996
25997 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25998
25999 * gdb.java/jv-exp.exp: New file.
26000
26001 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
26002
26003 * configure: Rebuilt.
26004 * configure.in (configdirs): Add gdb.java.
26005 * gdb.java/jmisc.java: New file.
26006 * gdb.java/jmisc.exp: New file.
26007 * gdb.java/Makefile.in: New file.
26008 * gdb.java/configure: Rebuilt.
26009 * gdb.java/configure.in: New file.
26010 * lib/java.exp: New file.
26011
26012 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
26013
26014 * gdb.base/exprs.exp: Test casts to a pointer including over and
26015 underflow.
26016
26017 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
26018
26019 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
26020 and the compilers sizes.
26021
26022 2000-07-09 Nick Duffek <nsd@redhat.com>
26023
26024 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
26025 (use_methods): New function.
26026 (main): Call use_methods().
26027 * gdb.c++/classes.exp (test_method_param_class): New procedure.
26028 (do_tests): Call test_method_param_class.
26029
26030 2000-07-09 Nick Duffek <nsd@redhat.com>
26031
26032 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
26033 spelling.
26034 (test_enums): New procedure. Move enum tests from end of script
26035 to here. Set breakpoint on function name instead of line number.
26036 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
26037 (enums2): New marker function.
26038 (enums1): New function.
26039 (main): Call enums1(). Move enum tests to enums1().
26040
26041 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
26042
26043 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
26044 compile/link program. Update line numbers.
26045 * gdb.asm/d10v.inc: Define ``startup''.
26046 * gdb.asm/asmsrc1.s: Add definition of _start.
26047
26048 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
26049
26050 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
26051
26052 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26053
26054 * gdb.base/maint.exp: Add 'maint print architecture' item to output
26055 of 'help maint print' command.
26056
26057 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
26058
26059 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
26060 they use gdb_expect_list.
26061
26062 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
26063
26064 * gdb.base/commands.exp: Use ``set remote
26065 memory-read-packet-size'' instead of ``set endian big'' to test
26066 long commands.
26067
26068 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
26069
26070 * gdb.c++/templates.exp (do_tests): Make all of these work under
26071 g++, and stop skipping them.
26072
26073 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
26074 work under g++.
26075
26076 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
26077 initialization.
26078
26079 2000-06-02 Michael Snyder <msnyder@cygnus.com>
26080
26081 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
26082 the regular expression: accept an (almost) arbitrary sequence of
26083 "frames-invalid" and "breakpoints-invalid" messages both before
26084 and after the "starting" message.
26085
26086 2000-06-02 Michael Snyder <msnyder@cygnus.com>
26087
26088 * gdb.c++/local.exp: This test has never been known to work with g++.
26089
26090 2000-05-18 Michael Snyder <msnyder@cygnus.com>
26091
26092 * gdb.base/annota1.exp (annotate-signal-handler-caller):
26093 Relax the regular expression a little, make it pass on Solaris 8.
26094
26095 2000-05-12 Kevin Buettner <kevinb@redhat.com>
26096
26097 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
26098 a call, do not require that gdb stop on the line after the call.
26099 Instead, it is permissible for gdb to stop on the line of the
26100 call itself.
26101
26102 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
26103
26104 * gdb.base/break.exp (bp on small function, optimized file):
26105 Add a second pass pattern. The behavior differs here between stabs
26106 and dwarf for one-line functions. Stabs preserves two line symbols
26107 (one before the prologue and one after) with the same line number,
26108 but dwarf regards these as duplicates and discards one of them.
26109 Therefore the address after the prologue (where the breakpoint is)
26110 has no exactly matching line symbol, and GDB reports the breakpoint
26111 as if it were in the middle of a line rather than at the beginning.
26112
26113 2000-05-08 Michael Snyder <msnyder@cygnus.com>
26114
26115 * gdb.base/interrupt.exp: Make "pass" message say "send"
26116 rather than "send_gdb" (for consistancy).
26117
26118 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
26119
26120 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
26121 * gdb.c++/templates.cc: Properly check for GCC version number.
26122 * lib/compiler.cc: Likewise
26123
26124 2000-04-28 Michael Snyder <msnyder@cygnus.com>
26125
26126 * gdb.base/break.exp: When compiled with -O2 optimization,
26127 gdb may not stop at the first line of main, due to code motion.
26128
26129 2000-04-26 Michael Snyder <msnyder@cygnus.com>
26130
26131 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
26132 This test depends on parsing the printf output from the target.
26133 Since the sparclet stub doesn't do stdio, this will never work.
26134 * gdb.base/call-rt-st.exp: ditto.
26135 * gdb.base/call-strs: ditto.
26136
26137 2000-04-24 Michael Snyder <msnyder@cygnus.com>
26138
26139 * gdb.base/miscexprs.exp: make sizeof long array test portable.
26140
26141 * gdb.base/ending-run.exp: After connecting to a remote target,
26142 but before running, the target will appear to be in a random
26143 location. Specify both a file and a line for breakpoints.
26144 Also, the function that calls main may be called 'init'
26145 rather than 'start'.
26146
26147 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26148
26149 * gdb.base/help.exp: Update output for add-symbol-file command.
26150
26151 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
26152
26153 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26154 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
26155
26156 2000-04-07 J.T. Conklin <jtc@redback.com>
26157
26158 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
26159
26160 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
26161
26162 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
26163
26164 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
26165 values that can be represented exactly.
26166 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
26167 above change, and to not check against the directory part of the source
26168 file name.
26169 (step into print_long_arg_list): Likewise.
26170 (print print_small_structs from print_long_arg_list): Likewise.
26171 (print print_long_arg_list): Likewise.
26172
26173 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26174
26175 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
26176
26177 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
26178
26179 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
26180
26181 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
26182
26183 * gdb.base/commands.exp (deprecated_command_test): Add test for
26184 deprecate with no arguments.
26185
26186 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
26187
26188 * gdb.base/break.exp: Add new test for setting breakpoints on
26189 optimized code so we can test breakpoints work even when function
26190 prologues may be optimized away
26191
26192 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
26193
26194 From David Whedon <dwhedon@gordian.com>
26195 * gdb.base/commands.exp : Added command deprecator tests.
26196
26197 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
26198
26199 * gdb.base/help.exp: Added test for new apropos command.
26200
26201 2000-03-21 Kevin Buettner <kevinb@redhat.com>
26202
26203 * gdb.base/pointers.c (usevar): New function.
26204 (main): Make sure that global variables v_int_pointer2, rptr,
26205 and y are all referenced someplace in the program by calling
26206 usevar() on them. [Some linkers delete symbols which are
26207 never referenced. The space remains, but there's no way to
26208 get a (symbolic) handle on the variable from the debugger.]
26209
26210 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26211
26212 * gdb.base/printcmds.c: Add typedeffed arrays.
26213
26214 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
26215 procedure to test arrays that are typedef'd.
26216
26217 2000-03-13 James Ingham <jingham@leda.cygnus.com>
26218
26219 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
26220 the library directories.
26221
26222 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
26223
26224 * configure.in (configdirs): Add sub directory gdb.mi.
26225 * configure: Re-generate.
26226
26227 * gdb.mi: New directory.
26228
26229 2000-02-25 Scott Bambrough <scottb@netwinder.org>
26230
26231 * gdb.base/long_long.exp: Correct test suite failure when printing
26232 a long long value as a double on ARM platforms.
26233
26234 2000-02-16 Jim Blandy <jimb@redhat.com>
26235
26236 * gdb.base/break.exp ("breakpoint line number"): Make sure the
26237 default source file is set properly before running this test.
26238
26239 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26240
26241 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
26242 gdbtk/library directory, not in gdbtcl2.
26243
26244 2000-02-04 Jim Blandy <jimb@redhat.com>
26245
26246 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
26247 backslash from regexp pattern.
26248
26249 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
26250 procedure. Use it to run all the "continue to bp overloaded"
26251 tests. Note that this changes the names of the tests slightly.
26252 If the breakpoint hit message includes a hex PC value, because
26253 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
26254 from the real source code, still consider that a pass.
26255
26256 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
26257 XFAIL here if the breakpoint message contains a hex address. Note
26258 similar change on 1999-11-02.
26259
26260 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
26261
26262 * gdb.base/ptype.exp: Establish a default source file before
26263 calling get_debug_format.
26264
26265 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
26266
26267 * gdb.base/watchpoint.exp: Remove duplication of test messages.
26268
26269 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26270
26271 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
26272 of successive stepi commands -- while in the prologue we should see
26273 the function entry bracket.
26274
26275 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26276
26277 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
26278 reach __change_mode() when stepping through the end of main().
26279
26280 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
26281
26282 * gdb.base/default.exp: Fix expected pattern.
26283 * gdb.base/help.exp: Same.
26284
26285 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26286
26287 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
26288 Don't use xfail's because that affects only the following test.
26289
26290 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
26291 solaris or linux.
26292
26293 * gdb.base/selftest.exp: Update to reflect changes to main.c.
26294
26295 2000-01-07 Michael Snyder <msnyder@cygnus.com>
26296
26297 * gdb.base/display.exp: Some yacc parsers like to say
26298 "A syntax error" rather than "A parse error". Accept both.
26299
26300 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
26301
26302 * gdb.base/default.exp: Remove OS dependent string from "target
26303 remote" test.
26304 * gdb.base/help.exp: Same for "help target remote" test.
26305
26306 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26307
26308 From Jim Kingdon <kingdon@redhat.com>:
26309
26310 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
26311 prompt (cleanup rather than necessity, but still might keep output
26312 from spilling to next test).
26313
26314 2000-01-02 Fred Fish <fnf@cygnus.com>
26315
26316 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
26317 AIX, which defines them in <sys/types.h>.
26318
26319 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
26320
26321 * gdb.base/default.exp: Match arm* etc instead of arm in "info
26322 float" test.
26323
26324 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
26325
26326 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
26327
26328 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26329 outermost frame disallowed".
26330
26331 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26332
26333 * gdb.base/setvar.exp: New tests for setting the value of a struct
26334 with a constant list.
26335
26336 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26337
26338 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26339 require the user to type a cast before setting the value of a struct.
26340
26341 1999-12-06 Jim Blandy <jimb@cygnus.com>
26342
26343 * gdb.base/default.exp: Expect the new 'info float' command on
26344 all i386 platforms.
26345
26346 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26347 LinuxThreads libraries that don't support debugging.
26348
26349 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26350
26351 * gdb.base/remote.c: Fill the buffer with truely random data.
26352 Change the buffer type to ``unsigned char'' to simplify size
26353 arithmetic.
26354
26355 * gdb.base/remote.exp: Reduce download numbers by one. Typical
26356 stub only handles 400-1 byte packets. Verify that the download
26357 worked.
26358
26359 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26360
26361 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26362 tests, using UNRESOLVED for the untested cases. Also, does not wait
26363 for a timeout if the prompt was received before a recognizable pattern.
26364
26365 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26366
26367 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26368
26369 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26370
26371 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
26372 watchpoints.
26373
26374 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
26375
26376 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26377
26378 * gdb.c++/local.exp: Be more flexible in recognizing local class
26379 name mangling. Don't allow horribly truncated method names.
26380 * gdb.c++/derivation.exp: Expect protected inheritance.
26381 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26382 * gdb.c++/virtfunc.exp: Likewise.
26383 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26384 when printing a nested enum.
26385
26386 1999-11-22 Jim Blandy <jimb@cygnus.com>
26387
26388 * gdb.base/step-test.exp: Properly await GDB's response to setting
26389 a breakpoint on the call to large_struct_by_value.
26390
26391 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26392 just because we have debug info for the `start' function.
26393
26394 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26395
26396 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26397 "Unknown signal" messages, which indicate (on LinuxThreads) that
26398 GDB doesn't know how to debug threads on this system. This is
26399 better than hanging while philosopher 0 dumps chatter into gdb.log.
26400
26401 1999-11-18 Tom Tromey <tromey@cygnus.com>
26402
26403 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26404
26405 1999-11-18 Fred Fish <fnf@cygnus.com>
26406
26407 * gdb.base/coremaker2.c: Add sample program for generating
26408 cores that is more self contained than coremaker.c. Eventually
26409 I'll add more code to this and tie it into the testsuite.
26410
26411 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26412
26413 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26414
26415 1999-11-10 Jimmy Guo <guo@cup.hp.com>
26416
26417 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
26418 from $srcdir/lib/.
26419 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
26420 and gdb.c++/.
26421
26422 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26423
26424 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
26425 'continue with watch' test point.
26426
26427 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26428
26429 Merged from p2linux-990323-branch:
26430
26431 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26432
26433 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26434
26435 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
26436 {limit,fixed}''. Test ``set download-write-size''.
26437
26438 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26439
26440 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
26441 gdb_expect_list.
26442
26443 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26444
26445 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26446
26447 1999-11-03 Mark Salter <msalter@cygnus.com>
26448
26449 * gdb.base/break.exp: Fix "stub continue" pattern.
26450
26451 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26452
26453 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26454
26455 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26456
26457 * gdb.base/display.exp ("finish"): Add timeout clause.
26458
26459 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26460 plain prompt clause, so this doesn't have to time out in order to
26461 fail.
26462
26463 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
26464 breakpoint hit messages include an address.
26465
26466 * gdb.base/display.exp: Don't forget to escape parens in regular
26467 expressions. Unix regexp notatation sucks.
26468
26469 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26470
26471 * gdb.base/annota1.exp: Test for annotate-signalled: change output
26472 order for 'signalled' message.
26473
26474 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26475
26476 From Jimmy Guo <guo@cup.hp.com>:
26477 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26478 * gdb.base/annota1.c: Add code for tests to work with.
26479
26480 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26481
26482 * gdb.base/remote.exp: New test for remote downloading settings.
26483 * gdb.base/remote.c: New file with large .data.
26484
26485 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26486
26487 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26488 for LinuxThreads support, merged from the Code Fusion branch.
26489
26490 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26491
26492 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
26493 containing exp_continue into a while within an expect. Don't
26494 attempt a start more than three times. Check return value from
26495 gdb_load.
26496
26497 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26498
26499 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
26500 a pass case.
26501
26502 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
26503
26504 * gdb.base/break.c (main): Added a statement that we can step
26505 off of.
26506 * gdb.base/break.exp: Added tests for setting a breakpoint
26507 at an offset and stepping onto a breakpoint.
26508
26509 1999-10-01 Fred Fish <fnf@cygnus.com>
26510
26511 * gdb.base/help.exp (help add-symbol-file): Update to match current
26512 gdb output.
26513
26514 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26515
26516 * gdb.base/break.exp: Code locations are in hex, don't forget!
26517 (For HP-UX.)
26518
26519 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26520
26521 * condbreak.exp: Use break.c as test program.
26522 * condbreak.c: Remove, redundant with break.c.
26523
26524 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26525
26526 * config/monitor.exp (gdb_target_monitor): Disable X- and
26527 Z-packets if the target needs it.
26528
26529 1999-09-13 James Ingham <jingham@leda.cygnus.com>
26530
26531 * gdb.c++/overload.exp: Added tests for listing overloaded
26532 functions with function pointers in the arg, explicitly calling
26533 out the version you want.
26534
26535 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26536
26537 * long_long.exp: Add variations of test cases that work for
26538 targets with 16-bit ints and 32-bit doubles.
26539
26540 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26541
26542 * break.c (main): Compare a possibly-uninitialized argc with an
26543 unlikely value that fits in 16 bits.
26544
26545 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26546
26547 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26548 0xfeeb, don't want negative numbers if ints are 16 bits.
26549
26550 * lib/gdb.exp (skip_cplus_tests): New proc.
26551 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26552 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26553 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26554 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26555 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26556 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26557 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26558 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
26559
26560 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26561
26562 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26563
26564 * gdb.base/corefile.exp (up): Allow a parameter to appear
26565 in the frame that we're going up to.
26566
26567 From Jim Blandy <jimb@cygnus.com>:
26568
26569 * gdb.base/default.exp (info float): Expect some output now.
26570
26571 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26572 returning floating-point values to fail on the x86.
26573 * gdb.base/callfwmall.exp (do_function_calls): Same.
26574
26575 * gdb.base/list.exp (test_listsize): Correct expectations for
26576 listing line 1 with listsize 2. Also, listing a single line
26577 works now, as does listing three lines. [Kevin's note: There
26578 were a number of other cases fixed too where the expectations
26579 differed...]
26580
26581 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26582
26583 * gdb.base/selftest.exp: Add case for when version prints as
26584 constant string instead of char pointer.
26585
26586 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26587
26588 * gdb.base/ending-run.exp: Add Solaris case for what happens when
26589 stepping out of main.
26590
26591 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26592 G++ used.
26593
26594 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
26595 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
26596
26597 * gdb.c++/ovldbreak.exp: Update match string in test that
26598 includes a warning of multiple breakpoints.
26599
26600 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26601
26602 * gdb.base/display.exp: Improve precision of step-after-finish
26603 added yesterday.
26604
26605 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
26606 test.
26607
26608 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26609 configs when using G++, not just hppa*.
26610
26611 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26612
26613 * gdb.base/async.c: New file.
26614 * gdb.base/async.exp: New file.
26615
26616 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26617
26618 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26619 PA64.
26620
26621 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26622
26623 * gdb.base/display.exp: "finish" can leave us mid-line on many
26624 targets, deal with it. Add a small constant to main, instead of
26625 1000 since main+1000 may not be a valid address in the target.
26626
26627 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26628 on hpux11.
26629
26630 * gdb.base/attach.exp: Handle another hpux11 error message variant
26631 when attaching to a process that does not exist.
26632
26633 1999-08-19 J.T. Conklin <jtc@redback.com>
26634
26635 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
26636 characters in 'continue to 1241' test.
26637
26638 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26639
26640 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26641 stop in print_long_arg_list, define and use a whitespace
26642 variable in print_small_structs test, add an XFAIL for Solaris.
26643 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26644 interested enough to fix.
26645
26646 1999-08-13 Keith Seitz <keiths@cygnus.com>
26647
26648 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26649 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26650 proc knows about targets other than the natives.
26651 (test_assign): Use "gdb_run_cmd" to "run" the target.
26652 Check that we've actually hit the breakpoint at main.
26653 When we attempt to assign a value to a local variable, check
26654 that the variable is in the current scope, i.e., don't use
26655 a test with an empty result.
26656
26657 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26658
26659 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
26660 command.
26661
26662 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26663
26664 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26665 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26666 gdb.compat, gdb.threads-hp.
26667 gdb.hp/configure, gdb.hp/configure.in: New files.
26668 gdb.hp/Makefile.in: Recurse into new subdirs.
26669 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26670 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26671 in object files.
26672 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26673
26674 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26675
26676 * gdb.base/display.exp: Help expect by putting a newline in the
26677 funky printf, remove a bogus p/a test.
26678
26679 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26680
26681 * gdb.base/display.exp: Make sure that when we say 'run', we are
26682 connected to the target. This is necessary when running not
26683 natively.
26684
26685 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26686
26687 * gdb.base/step-test.exp: Removed some extraneous messages.
26688
26689 * gdb.base/long_long.exp: Don't run memory examination tests
26690 on little-endian targets (they will need a different set of
26691 results to match).
26692
26693 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26694
26695 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26696 until somebody decides to fix GDB.
26697
26698 * gdb.base/long_long.c: Stop compiler complaint by specifying long
26699 constant as "ULL".
26700 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26701 matches for a couple x/2 commands.
26702
26703 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26704
26705 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26706 by merging in ref-types2 tests.
26707 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26708
26709 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26710 * gdb.c++/Makefile.in: Add standard actions.
26711 (EXECUTABLES): Rename from PROGS, update list.
26712 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26713 from gdb.hp.
26714 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26715 foo and bar locals.
26716 * gdb.c++/anon-union.exp: Fix tests to match.
26717 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26718 expect matches to handle output variations.
26719 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26720 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
26721 output, add HP alternatives for new and delete prints.
26722 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
26723 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
26724 * gdb.c++/demangle.exp: Use $style when reporting failure.
26725 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26726 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26727 match alternatives.
26728 * gdb.c++/local.exp: Add match alternatives or xfails for HP
26729 compilers.
26730 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26731 * gdb.c++/method.exp: Add match alternatives.
26732 * gdb.c++/misc.cc: Add bool types.
26733 * gdb.c++/misc.exp: Add tests for bool types.
26734 * gdb.c++/overload.exp: Add xfails.
26735 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26736 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26737 add some more template parameter tests (only for HP currently).
26738 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26739 * gdb.c++/virtfunc.cc: Add return type and value for main.
26740 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26741 match alternatives.
26742
26743 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26744
26745 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26746
26747 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26748
26749 * gdb.base/signals.exp: Don't expect getting a backtrace from
26750 within a signal handler to fail on Linux.
26751
26752 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26753
26754 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26755 * lib/gdb.exp: Remove some gratuitious semicolons.
26756 (delete_breakpoints): Increase timeout.
26757 (gdb_expect): Add -notransfer option.
26758 (gdb_test): Use -notransfer option.
26759 (get_compiler_info): Add f77 case.
26760 (get_compiler): New proc, split out from gdb_preprocess, add f77
26761 case.
26762 (gdb_preprocess): Call get_compiler.
26763
26764 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26765 * gdb.base/attach.exp, gdb.base/display.exp,
26766 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26767 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26768 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26769 third arg to gdb_test.
26770 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26771 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26772 HP-UX xfails, add others.
26773 * gdb.base/completion.exp: Reflect name change of self-test.
26774 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26775 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26776 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26777 HP failure number.
26778 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26779 useless HP-UX 10.30 references.
26780 * gdb.base/maint.exp: Loosen matches.
26781 * gdb.base/pointers.c (main): Declare more_code.
26782 * gdb.base/pointers.exp: Match on output of a `next'.
26783 * gdb.base/structs.c: Add prototypes.
26784 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26785 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26786
26787 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26788
26789 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26790 command.
26791
26792 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26793
26794 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26795 Fix run to main failures. Watchpoint can be hardware watchpoint.
26796
26797 * gdb.base/annota1.exp: Clean up some more, in case printf has
26798 debug info. Deal with lack of signal hanlder info in stack.
26799
26800 From Jim Kingdon <kingdon@redhat.com>:
26801 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26802
26803 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26804
26805 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26806 gdb.base/foll-vfork.exp: Don't run for crosses.
26807
26808 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26809
26810 * gdb.base/configure.in: Check for gdbvars.exp instead of
26811 a1-selftest.exp.
26812 * gdb.base/configure: Re-generate.
26813
26814 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26815
26816 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26817 in trying to run first and name is too long.
26818
26819 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26820 pointers2.c and pointers2.exp, respectively.
26821 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26822 doschk happier.
26823
26824 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26825
26826 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26827 callfuncs2.c and callfuncs2.exp.
26828
26829 * gdb.base/list.exp: Remove mistaken xfails.
26830 * gdb.base/list0.h: Add optional prototypes.
26831
26832 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26833
26834 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26835 calling malloc.
26836 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26837 * ptype.exp: Move test for get_debug_format to before its first
26838 use.
26839
26840 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26841
26842 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26843 * gdb.base/annota2.cc, annota2.exp: Move from here.
26844 * gdb.c++/annota2.cc, annota2.exp: To here.
26845 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26846
26847 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26848
26849 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26850 a consistent format.
26851
26852 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26853
26854 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26855 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26856 HP compilers, also set the globals $true and $false.
26857
26858 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26859 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26860 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26861 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26862 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26863 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26864 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26865 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26866 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26867 whatis.c} Add C++ compatible function definitions and return
26868 types, add includes for library functions.
26869 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26870 * gdb.base/step-test.c (myglob): Rename from glob.
26871 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26872 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26873 files, move here from gdb.hp.
26874 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26875 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26876 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26877 Adjust line numbers in regexps.
26878
26879 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26880 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26881 instead of 0/1.
26882
26883 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26884 foll-vfork.exp: New files, move here from gdb.hp.
26885 * gdb.base/page.exp: New file, test of pagination command.
26886
26887 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26888 recursion test.
26889 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26890
26891 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26892 gdb.base/solib.exp: Fix compiler invocation process.
26893
26894 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26895 HP-UX 11, turn off overload resolution explicitly.
26896 * gdb.base/commands.exp: Set argument list explicitly, add
26897 watchpoint test.
26898 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26899 them work.
26900 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26901 expressions properly.
26902 * gdb.base/corefile.exp: Loosen the match slightly.
26903 * gdb.base/default.exp: Allow "Error accessing memory" message
26904 also.
26905 * gdb.base/display.exp: Skip over x/0 j if PA64.
26906 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26907 * gdb.base/interrupt.exp: Ditto.
26908 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26909 in use.
26910 * gdb.base/list.exp: Add xfails for HP-UX.
26911 * gdb.base/long_long.exp: Refine some of the numeric matches.
26912 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26913 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26914 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26915 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26916 * gdb.base/ptype.exp: Succeed on more varieties of output.
26917 * gdb.base/scope.exp: Add xfails for HP-UX.
26918 * gdb.base/sect-cmd.exp: Add more cases.
26919 * gdb.base/setvar.exp: Add xfails for HP-UX.
26920 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26921 * gdb.base/signals.exp: Match on void symbolically.
26922 * gdb.base/step-test.exp: Add case for PA64.
26923 * gdb.base/term.exp: Add exit and restart.
26924 * gdb.base/twice.exp: Clean up after self.
26925 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26926 * gdb.base/whatis.exp: Allow more ways to pass tests.
26927
26928 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26929 no longer useful.
26930
26931 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26932
26933 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26934 list of patterns.
26935 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26936 print_double_array(double_array)", "continuing to breakpoint
26937 1018", "print print_double_array(array_d)" and "continuing to
26938 1034" tests.
26939
26940 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26941
26942 * Makefile.in: Add empty html and install-html targets.
26943
26944 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26945
26946 * config/mt-*: Remove, these haven't been used since 1996.
26947
26948 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26949
26950 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26951 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26952 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26953
26954 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26955
26956 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26957 simpler match case for the ptype of the big class.
26958
26959 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26960
26961 * gdb.exp: Fix test for gdb_prompt existence.
26962
26963 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26964
26965 * gdb.exp (gdb_test): Add fail after calls to perror.
26966
26967 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26968
26969 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26970
26971 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26972
26973 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26974
26975 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26976
26977 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26978 malloc() is linked in.
26979
26980 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26981
26982 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26983 step at end.
26984
26985 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26986
26987 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26988
26989 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26990
26991 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26992
26993 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26994 * gdb.base/mips_pro.exp: Likewise.
26995
26996 1999-06-02 Keith Seitz <keiths@cygnus.com>
26997
26998 * gdb.c++/templates.cc: Change all "new" operators to throw
26999 an exception.
27000 * gdb.c++/cplusfuncs.cc: Likewise.
27001
27002 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
27003
27004 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
27005
27006 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
27007 * gdb.base/ending-run.exp: When stepping out of main, accept a
27008 step into an arbitrary assembler file.
27009
27010 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27011
27012 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
27013 "breakpoint-invalid" to be printed.
27014 * gdb.base/annota2.exp: Revise line number for main
27015 breakpoint. Allow any number of "frames-invalid" and
27016 "breakpoint-invalid" to be printed.
27017 * gdb.base/annota2.cc: Initialize a.x to 0.
27018
27019 1999-05-17 Keith Seitz <keiths@cygnus.com>
27020
27021 * gdb.base/call-ar-st.exp: Skip
27022 "print print_double_array (double_array)" when "skip_float_tests" set.
27023 Ditto for "print print_double_array(array_d)",
27024 "print print_small_structs", "print print_ten_doubles", and
27025 "step into print_long_arg_list".
27026 Don't assume we can step into "print_long_arg_list": we could step
27027 into memcpy.
27028 * gdb.base/call-rt-st.exp: Don't run float-related tests when
27029 "skip_float_tests" is set: "print print_one_double(*d1)"
27030 and "print print_two_floats(*f3)".
27031 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
27032 "skip_float_tests" is set.
27033 * gdb.base/varargs.exp: Skip
27034 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
27035 "skip_float_tests" set.
27036
27037 1999-05-06 Keith Seitz <keiths@cygnus.com>
27038
27039 * gdb.base/annota2.cc: Include stdio.h.
27040
27041 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
27042
27043 * gdb.base/crossload.exp: Remove, this has been disabled ever
27044 since BFD stopped including all targets, and cross-GDB gets
27045 plenty of testing anyway.
27046 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
27047 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
27048 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
27049 * gdb.base/README: Remove, was doc for this.
27050 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
27051 needed.
27052
27053 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27054
27055 * gdb.base/call-ar-st.exp: Fix one regular expression in test
27056 output.
27057
27058 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
27059 * gdb.base/annota2.exp: New file. More annotation tests.
27060 * gdb.base/annota1.c: New file. Source file for annota1.exp.
27061 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
27062
27063 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
27064
27065 * config/cfdbug.exp: New file.
27066
27067 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
27068
27069 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
27070 Marcus Daniel's and Dale Hawkins's demangler crashes.
27071
27072 * gdb.c++/demangle.exp (test_gnu_style_demangling,
27073 test_lucid_style_demangling, test_arm_style_demangling,
27074 test_hp_style_demangling): Try Tom Tromey's core-dumping
27075 identifier under each demangling style.
27076
27077 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
27078
27079 * gdb.c++/demangle.exp: Include the current demangling style
27080 in all test names.
27081 (current_demangling_style): New global variable.
27082 (set_demangling_style, test_demangling_core, test_demangling,
27083 test_demangling_exact): New functions.
27084 (test_gnu_style_demangling, test_lucid_style_demangling,
27085 test_arm_style_demangling, test_hp_style_demangling): Use those,
27086 instead of calling gdb_test and gdb_test_exact directly.
27087 (catch_demangling_errors): New function, which reports errors
27088 signalled by the demangling test functions in an orderly way.
27089 (do_tests): Use catch_demangling_errors.
27090
27091 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
27092
27093 * gdb.base/signals.exp (test_handle_all_print): Use () for
27094 grouping in expressions, not {}.
27095
27096 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
27097 initialized yet.
27098
27099 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
27100
27101 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
27102 are listed.
27103
27104 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
27105
27106 * gdb.stabs/weird.exp: Test for CC being defined before
27107 looking at its value.
27108
27109 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
27110
27111 * gdb.base/call-ar-st.exp: Remove stray '#'.
27112 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
27113 "short int" and "long int".
27114 * gdb.c++/overload.cc: Cast the string added in the previous
27115 change, to mollify finicky HP compiler.
27116 * gdb.hp/reg-test.exp (testfile): Fix file name.
27117 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
27118
27119 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
27120 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
27121 alternate form of enum ptype.
27122
27123 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
27124
27125 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
27126 * gdb.hp/*.exp: Change all to run compiler probe only after
27127 passing skip_hp_tests, so as not to waste time on guaranteed
27128 failure.
27129
27130 * gdb.c++/overload.cc: Pass string instead of char addr, always
27131 init ccpfoo.
27132 * gdb.c++/templates.cc: Fix syntax error.
27133
27134 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27135
27136 * gdb.base/commands.exp: Add test for correct position of '>'
27137 when issuing the 'commands' command after a 'while' or 'if'
27138 command.
27139
27140 1999-03-18 James Ingham <jingham@cygnus.com>
27141
27142 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
27143
27144 * gdb.c++/method.exp: It was testing an uninitialized int on the
27145 stack and assuming it was positive.
27146
27147 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
27148
27149 * gdb.base/step-test.exp: Catch a case where finish is broken and
27150 keep it from killing the rest of the tests.
27151 Use gdb_continue_to_end.
27152
27153 * gdb.base/sigall.exp: use gdb_continue_to_end.
27154
27155 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
27156
27157 * gdb.base/display.exp: use runto_main, not run.
27158
27159 * gdb.base/default.exp: Check for the current error message in the
27160 r abbreviation test.
27161 Add strongarm to the targets that know info float.
27162
27163 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
27164 run which doesn't work with monitors.
27165
27166 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
27167 1034 test.
27168
27169 * gdb.base/break.exp: use the gdb_continue_to_end proc.
27170
27171 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
27172 end of a program. Traps the case (in Cygmon) when the program
27173 never really exits. Same as Mark's continue_to_exit, but I had
27174 put it in a lot more places, so I used my name. Sorry Mark...
27175
27176 * config/monitor.exp (gdb_target_monitor): added another
27177 target_info parameter: remotebinarydownload. This will set the
27178 remotebinarydownload flag if this is causing some boards trouble.
27179
27180 1999-03-18 Mark Salter <msalter@cygnus.com>
27181
27182 * lib/gdb.exp (continue_to_exit): New function.
27183
27184 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
27185 * gdb.base/ending-run.exp: Ditto.
27186 * gdb.base/step-test.exp: Ditto.
27187
27188 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
27189
27190 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
27191 (suggested by Art Haas <ahaas@neosoft.com>).
27192
27193 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
27194
27195 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
27196
27197 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
27198
27199 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
27200 descriptions of types (short unsigned int vs unsigned short, etc).
27201
27202 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
27203
27204 * gdb.base/call-strs.exp: Don't assume that `step' will step over
27205 a call to strlen; sometimes we do have sources.
27206
27207 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27208
27209 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
27210 character, so GDB won't print garbage after its end.
27211
27212 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
27213 breakpoint there instead. Sometimes GCC emits memcpy to handle
27214 the large structures being passed by value, so we step into that
27215 instead of sum_array_print, which obscures what we're really testing.
27216 * gdb.base/step-test.exp: However, we do want a test that notices
27217 the bizarre steps into memcpy, so do that here. Add check for
27218 stepping into function calls that pass large structures by value.
27219 ("Is that a noun clause, or are you just happy to see me?")
27220 Remove all references to specific line numbers.
27221 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
27222 New type and function.
27223 (main): Call large_struct_by_value, passing it a large struct by value.
27224 * lib/gdb.exp (gdb_get_line_number): New function.
27225
27226 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27227 more portable.
27228
27229 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27230
27231 * lib/gdb.exp: Doc fixes.
27232
27233 1999-03-05 Nick Clifton <nickc@cygnus.com>
27234
27235 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
27236
27237 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
27238
27239 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
27240 commands. They're not germane to this test, and they don't work
27241 that way on remote targets.
27242
27243 1999-03-01 James Ingham <jingham@cygnus.com>
27244
27245 * Changelog entries merged over from gdb development branch.
27246
27247 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
27248
27249 * lib/gdb.exp (gdbtk_analyze_results): Generic function
27250 for outputting results of test run.
27251
27252 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
27253
27254 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
27255
27256 1999-02-25 Felix Lee <flee@cygnus.com>
27257
27258 * lib/gdb.exp (debug_format): initialize
27259
27260 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
27261
27262 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
27263 * gdb.base/call-rt-st.c: Ditto.
27264
27265 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
27266
27267 * gdb.threads/pthreads.exp (horiz): New variable.
27268 (test_startup): Fix regexps that capture thread numbers.
27269
27270 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
27271
27272 * gdb.base/smoke.exp: Disambiguate two test case names (both
27273 called ``print'').
27274
27275 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27276
27277 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
27278 compilation.
27279
27280 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27281
27282 * gdb.base/miscexprs.exp: Change patterns to match GDB's
27283 actual output formatting.
27284 * gdb.base/smoke.exp: GDB removes leading 0's.
27285 * gdb.base/volatile.exp: Don't check type of remuneration;
27286 that variable is no longer defined in constvars.c.
27287 * gdb.base/step-test.c (main): Exit with explicit exit code.
27288 * gdb.base/step-test.exp: Remove two nexti checks--they are
27289 not portable.
27290
27291 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27292
27293 * gdb.base/help.exp ("help delete display"): Fix test to match
27294 gdb's output.
27295
27296 * gdb.base/long_long.c (known_types): Initialize values to zero.
27297 * gdb.base/long_long.exp: Step one more line
27298 so 'dec' is initialized in "get to known place". GDB removes
27299 leading zeros. Explicitly ask for hex formatting. Use
27300 unique test case names.
27301
27302 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27303
27304 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
27305
27306 * gdb.c++/method.exp: Add missing close brace.
27307
27308 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
27309
27310 * gdb.base/maint.exp: Use 'set height 0' to disable page
27311 prompting, not 'set height 400'.
27312
27313 Fix a bunch of timeouts.
27314 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
27315 four separate tests, so expect doesn't take forever to match a ton
27316 of text against a regexp with lots of .* forms.
27317 ("maint print psymbols", "maint print symbols"): Make some of
27318 these greps more selective, so that expect doesn't try to wade
27319 through huge piles of output and time out.
27320
27321 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27322
27323 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
27324 tests: one which doesn't expect shlib events to be reported, and
27325 another which does, but is XFAIL for all platforms other than
27326 HP/UX.
27327
27328 * gdb.base/break.exp: Teach the test suite that the `catch
27329 fork', `catch vfork', and `catch exec' commands produce error
27330 messages on platforms that don't provide these features.
27331
27332 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27333
27334 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
27335 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27336 (shortening names from solib_threshold.exp etc), won't run on
27337 anything but HP-UX for the foreseeable future.
27338 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
27339 reflect move.
27340
27341 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27342
27343 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27344 gdb.trace/Makefile.in (clean): Remove all test executables.
27345
27346 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27347
27348 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27349 successfully re-sets breakpoints in shared libraries.
27350 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27351
27352 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27353
27354 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27355 and compiled w/o GCC.
27356
27357 * gdb.hp/watch-cmd.exp: ditto.
27358
27359 * gdb.hp/watch-hp.exp: ditto.
27360
27361 * gdb.hp/xdb1.exp: ditto.
27362
27363 * gdb.hp/xdb2.exp: ditto.
27364
27365 * gdb.hp/dbx.exp: ditto.
27366
27367 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27368
27369 * constvars.c: Remove C++-isms.
27370 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
27371 with GCC.
27372
27373 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27374
27375 The following changes are part of the HP merge.
27376
27377 * gdb.base/break.exp: new tests to verify that catchpoints for
27378 fork, vfork, and exec don't trigger inappropriately.
27379
27380 * gdb.base/opaque.exp: compile one file at a time, then link.
27381
27382 * gdb.base/signals.exp: be more restrictive about which hppa
27383 systems receive a setup_xfail. new tests.
27384
27385 * gdb.base/solib_threshold.build: new file.
27386 * gdb.base/solib_threshold.exp: new file.
27387 * gdb.base/solib_threshold.link_opts: new file.
27388 * gdb.base/solib_threshold.mk: new file.
27389 * gdb.base/gen_solib_threshold.c: new file.
27390
27391 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27392 tests. New tests for enums inside classes.
27393
27394 * gdb.c++/compiler.cc: indicate support of template debugging.
27395
27396 * gdb.c++/demangle.exp: run hp style demangling tests.
27397
27398 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27399 tests.
27400
27401 * gdb.c++/misc.cc: changes to support new tests.
27402
27403 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27404 to support new tests.
27405
27406 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27407 gcc, then skip these tests.
27408
27409 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27410
27411 The following files are part of the HP merge; some had longer
27412 names at HP, but have been renamed to be no more than 14
27413 characters in length.
27414
27415 * gdb.hp/ambiguous.cc: new file.
27416 * gdb.hp/ambiguous.exp: new file.
27417 * gdb.hp/attach.exp: new file.
27418 * gdb.hp/attach2.exp: new file.
27419 * gdb.hp/classes-hp.exp: new file.
27420 * gdb.hp/ctti.exp: new file.
27421 * gdb.hp/ctti-add.cc: new file.
27422 * gdb.hp/ctti-add1.cc: new file.
27423 * gdb.hp/ctti-add2.cc: new file.
27424 * gdb.hp/ctti-add3.cc: new file.
27425 * gdb.hp/dbx.exp: new file.
27426 * gdb.hp/exception.cc: new file.
27427 * gdb.hp/exception.exp: new file.
27428 * gdb.hp/foll-exec.c: new file.
27429 * gdb.hp/foll-exec.exp: new file.
27430 * gdb.hp/foll-fork.c: new file.
27431 * gdb.hp/foll-fork.exp: new file.
27432 * gdb.hp/foll-vfork.c: new file.
27433 * gdb.hp/foll-vfork.exp: new file.
27434 * gdb.hp/inherit-hp.exp: new file.
27435 * gdb.hp/more-steps.exp: new file.
27436 * gdb.hp/namespace.cc: new file.
27437 * gdb.hp/namespace.exp: new file.
27438 * gdb.hp/optimize.exp: new file.
27439 * gdb.hp/pxdb.c: new file.
27440 * gdb.hp/pxdb.exp: new file.
27441 * gdb.hp/quicksort.exp: new file.
27442 * gdb.hp/reg-test.exp: new file.
27443 * gdb.hp/reg-test.s: new file.
27444 * gdb.hp/sized-enum.c: new file.
27445 * gdb.hp/sized-enum.exp: new file.
27446 * gdb.hp/start-stop.exp: new file.
27447 * gdb.hp/templ-hp.cc: new file.
27448 * gdb.hp/templ-hp.exp: new file.
27449 * gdb.hp/thr-lib.c: new file.
27450 * gdb.hp/thr-lib.exp: new file.
27451 * gdb.hp/thr-lib.h: new file.
27452 * gdb.hp/thr-liblib.c: new file.
27453 * gdb.hp/virtfun-hp.c: new file.
27454 * gdb.hp/virtfun-hp.exp: new file.
27455 * gdb.hp/watch-cmd.exp: new file.
27456 * gdb.hp/watch-hp.exp: new file.
27457 * gdb.hp/xdb1.exp: new file.
27458 * gdb.hp/xdb2.exp: new file.
27459 * gdb.hp/xdb3.exp: new file.
27460
27461 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27462
27463 The following files are part of the HP merge; some had longer
27464 names at HP, but have been renamed to be no more than 14
27465 characters in length.
27466
27467 * gdb.base/ss.h: new file.
27468 * gdb.base/call-ar-st.c: new file.
27469 * gdb.base/call-ar-st.exp: new file.
27470 * gdb.base/call-rt-st.c: new file.
27471 * gdb.base/call-rt-st-exp: new file.
27472 * gdb.base/call-strs.exp: new file.
27473 * gdb.base/ena-dis-br.exp: new file.
27474 * gdb.base/environ.exp: new file.
27475 * gdb.base/long_long.exp: new file.
27476 * gdb.base/sect-cmd.exp: new file.
27477 * gdb.base/shlib-cl2.exp: new file.
27478 * gdb.base/smoke.exp: new file.
27479 * gdb.base/so-impl-ld.c: new file.
27480 * gdb.base/so-impl-ld.exp: new file.
27481 * gdb.base/so-indr-cl.c: new file.
27482 * gdb.base/so-indr-cl.exp: new file.
27483 * gdb.base/varargs.exp: new file.
27484 * gdb.base/volatile.exp: new file.
27485 * gdb.base/whatis-exp.exp: new file.
27486 * gdb.base/display.exp: new file.
27487 * gdb.c++/derivation.exp: new file.
27488 * gdb.c++/local.exp: new file.
27489 * gdb.c++/member-ptr.exp: new file.
27490 * gdb.c++/overload.exp: new file.
27491 * gdb.c++/ovldbreak.exp: new file.
27492 * gdb.c++/ref-types.exp: new file.
27493 * gdb.c++/ref-types2.exp: new file.
27494 * gdb.c++/userdef.exp: new file.
27495
27496 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27497
27498 * gdb.base/default.exp: Reflect wording change in remote.c.
27499
27500 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
27501
27502 * gdb.base/help.exp: Update to reflect current text.
27503
27504 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27505
27506 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27507 they're stack variables and contain garbage.
27508 * gdb.c++/anon-union.exp: new file.
27509
27510 The following changes were made by David Taylor
27511 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27512 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27513 in changes by HP.
27514
27515 * gdb.base/bitops.exp: new file.
27516 * gdb.base/default.exp: change expected messages for catch and
27517 info catch tests to reflect HP merge changes.
27518 * gdb.base/enable-disable-break.exp
27519 * gdb.base/ending-run.c: new file.
27520 * gdb.base/long_long.c: new file.
27521 * gdb.base/maint.exp: new file.
27522 * gdb.base/pointers2.exp: new file.
27523 * gdb.base/shlib-call2.exp: new file.
27524 * gdb.base/solib.exp: new file.
27525 * gdb.base/step-test.c: new file.
27526 * gdb.c++/anon-union.cc: new file.
27527 * gdb.c++/local.cc: new file.
27528 * gdb.c++/member-pointer.cc: new file.
27529 * gdb.c++/method.cc: new file.
27530 * gdb.c++/ref-types.cc: new file.
27531 * gdb.c++/ref-types2.cc: new file.
27532 * gdb.c++/userdef.cc: new file.
27533
27534 * gdb.base/scope.exp: compile one file at a time, then link.
27535 * gdb.base/langs.exp: ditto.
27536 * gdb.base/list.exp: ditto.
27537
27538 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
27539
27540 The following changes were made by David Taylor
27541 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27542 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27543 in changes by HP.
27544
27545 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27546 skip tests. When compiling pass c++ flag to gdb_compile.
27547 * gdb.c++/
27548
27549 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27550 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27551 (skip_hp_tests): new function.
27552 (gdb_preprocess): new function.
27553
27554 * configure.in (hpdir): decide whether to configure gdb.hp.
27555 * configure: regenerated.
27556
27557 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27558 to delete on clean.
27559 (EXECUTABLES): update to reflect new additions.
27560 * gdb.base/commands.exp: update message expected.
27561 * gdb.base/default.exp: add copyright notice.
27562 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27563 * gdb.base/help.exp: update messages to reflect current text.
27564 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27565 targets for recurse tests.
27566 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27567 skip this file.
27568
27569 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27570 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27571 compilation.
27572 * gdb.c++/misc.exp: ditto.
27573 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27574 run the tests. tell gdb_compile that it's a c++ compilation.
27575
27576 * gdb.threads/pthreads.exp: fix typo in message.
27577
27578 * gdb.base/all-bin.exp: new file.
27579 * gdb.base/arithmet.exp: new file.
27580 * gdb.base/assign.exp: new file.
27581 * gdb.base/completion.exp: new file.
27582 * gdb.base/cond-expr.exp: new file.
27583 * gdb.base/condbreak.exp: new file.
27584 * gdb.base/define.exp: new file.
27585 * gdb.base/dollar.exp: new file.
27586 * gdb.base/environment.exp: new file.
27587 * gdb.base/eval-skip.exp: new file.
27588 * gdb.base/jump.exp: new file.
27589 * gdb.base/logical.exp: new file.
27590 * gdb.base/pointers.exp: new file.
27591 * gdb.base/relational.exp: new file.
27592 * gdb.base/section_command.exp: new file.
27593 * gdb.base/whatis-expr.exp: new file.
27594
27595 * gdb.base/all-types.c: new file.
27596 * gdb.base/call-array-struct.c: new file.
27597 * gdb.base/call-return-struct.c: new file.
27598 * gdb.base/call-strings.c: new file.
27599 * gdb.base/callfuncs2.c: new file.
27600 * gdb.base/condbreak.c: new file.
27601 * gdb.base/constvars.c: new file.
27602 * gdb.base/display.c: new file.
27603 * gdb.base/int-type.c: new file.
27604 * gdb.base/jump.c: new file.
27605 * gdb.base/miscexprs.c: new file.
27606 * gdb.base/pointers.c: new file.
27607 * gdb.base/pointers2.c: new file.
27608 * gdb.base/shmain.c: new file.
27609 * gdb.base/shr1.c: new file.
27610 * gdb.base/shr2.c: new file.
27611 * gdb.base/solib.c: new file.
27612 * gdb.base/solib1.c: new file.
27613 * gdb.base/solib2.c: new file.
27614 * gdb.base/varargs.c: new file.
27615 * gdb.c++/derivation.cc: new file.
27616 * gdb.c++/overload.cc: new file.
27617 * gdb.c++/ovldbreak.cc: new file.
27618 * gdb.hp/attach.c: new file.
27619 * gdb.hp/attach2.c: new file.
27620 * gdb.hp/average.c: new file.
27621 * gdb.hp/compiler.c: new file.
27622 * gdb.hp/compiler.cc: new file.
27623 * gdb.hp/execd-program.c: new file.
27624 * gdb.hp/follow-exec.c: new file.
27625 * gdb.hp/follow-fork.c: new file.
27626 * gdb.hp/follow-vfork-and-exec.c: new file.
27627 * gdb.hp/misc-hp.cc: new file.
27628 * gdb.hp/more-steps.c: new file.
27629 * gdb.hp/optimize.c: new file.
27630 * gdb.hp/quicksort.c: new file.
27631 * gdb.hp/run-hp.c: new file.
27632 * gdb.hp/start-stop.c: new file.
27633 * gdb.hp/sum.c: new file.
27634 * gdb.hp/templates-hp.cc: new file.
27635 * gdb.hp/thread-local-in-lib.c: new file.
27636 * gdb.hp/thread-local-in-lib.h: new file.
27637 * gdb.hp/thread-local-in-lib.lib.c: new file.
27638 * gdb.hp/vforked-program.c: new file.
27639 * gdb.hp/virtfunc-hp.cc: new file.
27640 * gdb.hp/watchpoint-hp.c: new file.
27641 * gdb.hp/xdb.c: new file.
27642 * gdb.hp/xdb0.c: new file.
27643 * gdb.hp/xdb0.h: new file.
27644 * gdb.hp/xdb1.c: new file.
27645
27646 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27647
27648 The following change was made by Edith Epstein
27649 <eepstein@cygnus.com> as part of a project to merge in changes
27650 originally made by HP; HP did not create ChangeLog entries.
27651
27652 * gdb.c++/demangle.exp: changed the expected output for some
27653 ARM-style mangling -- removed second reference to datatype.
27654 For example, maint demangle __dt__11T1__pt__2_cFv
27655 T1<char>::~T1<char>(void)
27656 becomes,
27657 maint demangle __dt__11T1__pt__2_cFv
27658 T1<char>::~T1(void)
27659
27660 (test_hp_style_demangling): new hp specific demangling test cases.
27661
27662 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27663
27664 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27665 * gdb.trace/backtrace.exp: Likewise.
27666 * gdb.trace/circ.exp: Likewise.
27667 * gdb.trace/collection.exp: Likewise.
27668 * gdb.trace/deltrace.exp: Likewise.
27669 * gdb.trace/infotrace.exp: Likewise.
27670 * gdb.trace/limits.exp: Likewise.
27671 * gdb.trace/packetlen.exp: Likewise.
27672 * gdb.trace/passc-dyn.exp: Likewise.
27673 * gdb.trace/passcount.exp: Likewise.
27674 * gdb.trace/report.exp: Likewise.
27675 * gdb.trace/save-trace.exp: Likewise.
27676 * gdb.trace/tfind.exp: Likewise.
27677 * gdb.trace/tracecmd.exp: Likewise.
27678 * gdb.trace/while-dyn.exp: Likewise.
27679 * gdb.trace/while-stepping.exp: Likewise.
27680
27681 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27682
27683 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27684
27685 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27686
27687 From Brendan Kehoe:
27688 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27689 int return types.
27690
27691 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27692
27693 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
27694 remote dos host testing right.
27695
27696 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27697
27698 * gdb.base/corefile.exp: remove some xfails.
27699
27700 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27701
27702 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
27703 have different timestamps.
27704
27705 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27706
27707 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
27708 gdb.base/default.exp: Replace "exec" with "executable".
27709
27710 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27711
27712 * gdb.base/default.exp: Change else if to elseif from previous
27713 delta.
27714
27715 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27716
27717 * gdb.base/default.exp: Add brace missing from previous delta.
27718
27719 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27720
27721 * gdb.base/default.exp: Support test for info float for all
27722 varieties of arm toolchain.
27723
27724 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
27725
27726 * gdb.trace/*.exp: remove "remote_download" command.
27727
27728 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
27729
27730 * gdb.trace/*.exp: remove -gdwarf from compile.
27731
27732 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27733
27734 * gdb.trace/configure.in(AC_INIT): typo
27735 * gdb.trace/configure: regenerated
27736
27737 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27738
27739 * config/m68k-emc.exp: New file.
27740 * lib/<emc-support.exp trace-support.exp}: New files.
27741 * configure.in: add new test directory gdb.trace.
27742 * gdb.trace/{configure configure.in Makefile.in}: New files.
27743 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27744 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27745 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27746 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27747 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27748 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27749 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27750
27751 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27752
27753 * gdb.c++/classes.exp: Change all regular expressions to match
27754 arbitrary combinations of newline/carriage-return, so that they
27755 will work equally well on Unix and Windows.
27756 * gdb.c++/inherit.exp: ditto.
27757 * gdb.c++/virtfunc.exp: ditto.
27758
27759 1998-08-11 Dawn Perchik <dawn@cygnus.com>
27760
27761 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27762
27763 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27764
27765 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27766 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27767 to use a0-a3/d0-d3 as needed.
27768
27769 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27770
27771 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27772 * gdb.disasm/am33.exp: Corresponding changes.
27773
27774 1998-07-11 Felix Lee <flee@cygnus.com>
27775
27776 * gdb.base/callfuncs.exp: add cmp10 test.
27777 * gdb.base/callfuncs.c (cmp10): new function.
27778
27779 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27780
27781 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27782 into two parts to get around a synchronization problem in expect.
27783
27784 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27785
27786 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27787
27788 * configure.in: Add options for gdbtk testsuite.
27789
27790 * configure: Regenerate.
27791
27792 * gdb.gdbtk: New directory to hold gdbtk tests.
27793
27794 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27795
27796 * gdb.fortran/types.exp: Escape brackets in expect patterns
27797 for test_float_literal_types_accepted tests.
27798 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27799 before run test.
27800
27801 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27802
27803 * am33.exp: Just compile, do not link the testcase.
27804 * am33.s: Add ".am33" pseudoop to force am33 mode.
27805
27806 1998-06-25 Felix Lee <flee@cygnus.com>
27807
27808 * gdb.base/setshow.exp: make sure $pc is sane.
27809
27810 * gdb.stabs/weird.exp: split expect patterns properly.
27811
27812 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27813
27814 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27815 * gdb.disasm/am33.exp: Run it.
27816
27817 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27818
27819 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27820 match processing (and eliminate spurious timeouts when running).
27821
27822 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27823
27824 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27825 exception test, but conditionalize it on target [mach | gnu].
27826
27827 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27828
27829 * gdb.base/overlays.exp: fixup compile line for linker script.
27830
27831 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27832
27833 * gdb.fortran/types.exp: don't guess at float size.
27834
27835 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27836
27837 * gdb.base/exprs.exp: delete test that depends on int size.
27838
27839 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27840
27841 * config/sim.exp: Removed checks for target triplets.
27842 (gdb_target_sim): Use gdb,target_sim_options.
27843
27844 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27845
27846 * gdb.base/reread.exp: New file.
27847 * gdb.base/reread1.c: New file.
27848 * gdb.base/reread2.c: New file.
27849
27850 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27851
27852 * config/sim.exp: Use 'target sim -sparclite' when running
27853 SPARClite programs.
27854
27855 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27856
27857 * gdb.base/structs2.exp: New file.
27858 * gdb.base/structs2.c: New file.
27859
27860 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27861
27862 * gdb.asm/common.inc: New file.
27863 * gdb.asm/d10v.inc: New file.
27864 * asm-source.exp: Pass -I's to gas to find .inc files.
27865 Update line numbers in expected output.
27866 * asmsrc1.s: Rewrite.
27867 * asmsrc2.s: Rewrite.
27868 * configure.in: Create arch.inc symlink.
27869 * configure: Regenerate.
27870 * Makefile.in (distclean): Delete arch.inc.
27871
27872 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27873
27874 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27875 (t_enum_value2): ditto
27876 (t_enum_value3): ditto
27877 (main): ditto
27878 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27879
27880 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27881 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27882 change.
27883 Use gdb_test instead of send_gdb/gdb_expect sequences.
27884
27885 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27886
27887 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27888 not void.
27889
27890 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27891
27892 * gdb.base/branches.c: Code with lots of loops and
27893 subroutines. Used to test gdbs ability to single step through PC
27894 changes, especially to test mips-tdep.c:mips_next_pc
27895
27896 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27897
27898 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27899 more rigorous EGCS C++ error checking.
27900
27901 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27902
27903 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27904 tests.
27905 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27906 function when asleep.
27907 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27908 for i*86 Linux and SVR4 signal handling problems.
27909 Remove linux xfail for `next to handler in signals_tests_1', fixed
27910 by recent infrun.c change.
27911 Limit backtrace to 10 frames to avoid timeout problems with infinite
27912 stack backtraces.
27913 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27914 target.[ch] change.
27915
27916 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27917
27918 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27919 for a newline from gdb before continuing.
27920 (default_gdb_exit): Just look for y or n.
27921 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27922 it does, fail the rests of the tests in the file.
27923
27924 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27925
27926 * config/cygmon.exp: New file.
27927
27928 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27929
27930 * gdb.base/list.exp: Fix problem with "list default lines around
27931 main" test on remote targets.
27932
27933 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27934 run test on remote targets.
27935
27936 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27937
27938 * gdb.asm: New directory.
27939 * configure.in: Configure it.
27940 * configure: Regenerate.
27941 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27942 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27943
27944 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27945
27946 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27947
27948 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27949
27950 * gdb.base/overlays (several files): Merge the two overlay
27951 managers into one. Change variables (foox, barx, bazx, grbxx)
27952 back into ints but force them to load in their proper sections.
27953
27954 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27955
27956 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27957 on-chip insn memory and IMAP1 to upper 128k.
27958 (D10VCopy): Handle memory regions crossing 16k boundaries.
27959 (D10VCopy): Transfer data in 32 bit chunks.
27960
27961 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27962
27963 * gdb.base/overlays.c (main): Exit normally when result is
27964 correct.
27965
27966 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27967 map. Include space for printf in .text segment.
27968
27969 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27970 updated d10v memory VMA/LMA map.
27971 (D10VCopy): Call D10VTranslate.
27972
27973 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27974
27975 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27976
27977 * gdb.base/bar.c (barx, bar): Change variable to small array so
27978 that it won't be put into the .sdata - small data -
27979 section. Update reference.
27980 * gdb.base/baz.c (bazx, baz): Ditto.
27981 * gdb.base/foo.c (foox, foo): Ditto.
27982 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27983
27984 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27985 to be arrays.
27986
27987 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27988
27989 * gdb.base/overlays.exp: fix up and get working again.
27990 Add tests for backtraces from an overlay function.
27991
27992 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27993
27994 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27995 "calling function with watchpoint enabled".
27996
27997 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27998
27999 * gdb.base/break.exp (test_next_with_recursion): Remove
28000 gdb_suppress_tests for d10v-*-*.
28001 * lib/gdb.exp (gdb_suppress_tests): Disable this function
28002 pending review of whether it is useful or not.
28003
28004 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
28005
28006 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
28007
28008 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
28009
28010 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
28011 * config/dve.exp: New file to support Densan boards.
28012
28013 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
28014
28015 * gdb.base/interrupt.exp: Document problem of simulators, signals,
28016 reads and BSD.
28017
28018 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
28019
28020 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
28021 response.
28022
28023 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
28024
28025 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
28026
28027 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
28028 test.
28029
28030 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
28031 target_sizeof_long and target_bigendian_p.
28032 (structs_by_value, structs_by_reference): Check values according
28033 to targets word size and endianess.
28034
28035 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
28036
28037 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
28038 output.
28039
28040 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
28041
28042 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
28043 Update test of set args help to match source change.
28044
28045 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
28046
28047 * gdb.base/default.exp: Expect help system output to be in
28048 alphabetical order.
28049 * gdb.base/help.exp: Ditto.
28050
28051 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
28052
28053 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
28054 "i*86-pc-linux-gnu*".
28055 * gdb.base/interrupt.exp: Ditto.
28056 * gdb.base/corefile.exp: Ditto.
28057
28058 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
28059 define vxworks when building the testcase.
28060
28061 * gdb.base/ptype.exp: Fix testnames to be unique.
28062 * gdb.base/radix.exp: Ditto.
28063 * gdb.base/term.exp: Ditto.
28064 * gdb.base/whatis.exp: Ditto.
28065 * gdb.c++/classes.exp: Ditto.
28066
28067 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
28068
28069 * gdb.base/callfuncs.exp: Fix indentation.
28070
28071 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
28072 suppress_flag has been set.
28073 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
28074 target feature.
28075
28076 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
28077
28078 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
28079 the testcase.
28080
28081 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
28082 set_debug_traps() and breakpoint().
28083 * gdb.c++/misc.cc (main): Ditto.
28084 * gdb.c++/templates.cc (main): Ditto.
28085 * gdb.c++/virtfunc.cc (main): Ditto.
28086
28087 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
28088
28089 * lib/gdb.exp(gdb_step_for_stub): New function.
28090 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
28091 exists, reload the executable and do a "continue" instead of
28092 doing a jump.
28093 (runto_main): Use gdb_step_for_stub.
28094
28095 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
28096 tests to have unique names.
28097 * gdb.base/callfuncs.exp: Ditto.
28098 * gdb.base/commands.exp: Ditto.
28099 * gdb.base/default.exp: Ditto.
28100 * gdb.base/help.exp: Ditto.
28101 * gdb.base/list.exp: Ditto.
28102 * gdb.base/opaque.exp: Ditto.
28103 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
28104 similar tests.
28105
28106 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
28107 * gdb.c++/cplusfuncs.cc: Ditto.
28108 * gdb.c++/virtfunc.cc: Ditto.
28109
28110 * config/monitor.exp: Keep track of the last file we saw, rather
28111 than trying to get the info from gdb.
28112
28113 * gdb.fortran/types.exp: Move comment to previous line.
28114
28115 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
28116
28117 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
28118 target mode.
28119
28120 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
28121
28122 From Bob Manson:
28123 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
28124 string from GDB when it connects.
28125
28126 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
28127
28128 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
28129
28130 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
28131 if we can't get a debug format from GDB (we may be testing an
28132 older GDB). Use a 10 second timeout when checking for the format.
28133
28134 * gdb.stabs/weird.exp: Fix quoting.
28135
28136 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
28137
28138 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
28139
28140 * config/arm-ice.exp: New file.
28141
28142 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
28143
28144 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
28145 until it has been modified to work with the new testsuite.
28146
28147 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
28148 testcase won't compile, cause all of the testcases in the file to
28149 fail instead.
28150
28151 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
28152 (gdb_clear_suppressed): New procedure.
28153 (gdb_stop_suppressing_tests): Only clear suppress_flag if
28154 it contains a positive value.
28155
28156 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
28157
28158 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
28159
28160 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
28161
28162 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
28163
28164 * lib/gdb.exp (setup_xfail_format): New function.
28165 (get_debug_format): New function to get debug format.
28166 (debug_format): New global variable to hold last value set
28167 by get_debug_format.
28168 * gdb.base/list.exp: Call get_debug_format and expect some
28169 tests to fail for DWARF 1 and COFF formats.
28170 * gdb.c++/ptype.exp: Ditto.
28171 * gdb.c++/classes.exp: Ditto.
28172 * gdb.c++/cplusfuncs.exp: Ditto.
28173 * gdb.c++/inherit.exp: Ditto.
28174 * gdb.c++/templates.exp: Ditto.
28175 * gdb.c++/virtfunc.exp: Ditto.
28176
28177 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
28178
28179 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
28180 host doesn't have a currently-open connection.
28181
28182 * config/sparclet.exp: Cleanups and fixes to make it generic for
28183 any gdb stub target. Handle cases where gdb doesn't respond when
28184 interrupted in a sane fashion.
28185
28186 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
28187 same thing in a totally different way.
28188
28189 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
28190 setting "timeout".
28191 (gdb_start): We set the global gdb_prompt variable in
28192 default_gdb_init now.
28193
28194 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
28195
28196 * gdb.base/printcmds.exp: Fix "check for floating addition"
28197 regexp to accept results within approx +/- .01 of exact value.
28198 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
28199
28200 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
28201
28202 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
28203 properly.
28204 (gdb_expect): Add optional timeout parameter, and add timeout
28205 value to various calls.
28206 (gdb_suppress_tests): Only give one warning message per group.
28207
28208 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
28209
28210 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
28211 global variables. Handle getting a value for $timeout more
28212 gracefully.
28213
28214 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28215
28216 * lib/gdb.exp: Close connection to remote host if gdb doesn't
28217 initialize.
28218 (default_gdb_init): New procedure; allow gdb_init to be overridden
28219 by a target configuration file.
28220 (gdb_expect): Pass the timeout to remote_expect.
28221
28222 * config/monitor.exp(gdb_load): Fix typo in regexp.
28223
28224 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
28225
28226 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
28227
28228 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
28229
28230 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
28231 here. Call gdb_target_exec before rebooting the target, to make
28232 sure the connection to the target is closed.
28233 (gdb_load): Pass the name of the executable to gdb_target_monitor.
28234 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
28235 Also detect "Timeout reading from remote" error.
28236
28237 * config/gdbserver.exp: Pass the executable being loaded to
28238 gdb_target_monitor. Don't call gdb_file_cmd here; let
28239 gdb_target_monitor do it.
28240
28241 * gdb.disasm/hppa.exp: Don't use exec_output.
28242
28243 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
28244
28245 * gdb.base/list.exp: If we're debugging a non-native target,
28246 try to set the pc register to point to the start of the
28247 program before doing the first list command.
28248
28249 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
28250 test_calls after restarting.
28251
28252 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
28253 reloading.
28254
28255 * gdb.base/watchpoint.exp: Fix typo.
28256
28257 * gdb.base/setshow.exp: Check for use_gdb_stub.
28258
28259 * gdb.base/break.exp: Fix continue until exit test for the gdb
28260 stub case.
28261 * gdb.base/langs.exp: Ditto.
28262
28263 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
28264 gdb_load_offset. If we weren't given a file to load, figure out
28265 what the current file is and use it.
28266
28267 * config/i386-bozo.exp: New file.
28268
28269 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
28270
28271 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
28272 feature.
28273
28274 * config/proelf.exp: New entry.
28275
28276 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
28277
28278 * lib/gdb.exp: Remove spurious .* patterns at the beginning
28279 of regexps.
28280
28281 * gdb.base/watchpoint.exp: Don't run the test_stepping
28282 tests if gdb can't call functions on the target.
28283
28284 * gdb.base/setshow.exp: Don't run the set prompt tests if
28285 the board has gdb_prompt set.
28286
28287 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
28288
28289 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
28290 * gdb.base/commands.exp: Likewise.
28291 * gdb.base/setshow.exp: Likewise.
28292
28293 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
28294
28295 * config/monitor.exp(gdb_start): Look for gdb_prompt target
28296 feature.
28297
28298 * config/i960.exp: New file.
28299
28300 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
28301
28302 * gdb.base/funcargs.exp: Check for gdb,short_int target
28303 feature instead of looking for explicit target triplets.
28304
28305 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
28306
28307 * gdb.base/printcmds.exp: add a couple more tests a la
28308 "p 123DEADBEEF", to check parse_number.
28309 * top.c: change "to enable to enable" to "to enable" in a couple
28310 of help strings.
28311
28312 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
28313
28314 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
28315 on the mn10300.
28316
28317 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
28318
28319 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28320 where the test executable is run with explicit args.
28321 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28322
28323 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28324
28325 * gdb.base/run.c: Use FAKEARGV to build test executable that
28326 does not require a command line arg, since most simulators
28327 don't currently support passing such an arg into the simulated
28328 program.
28329 * gdb.base/commands.exp: Change tests to insert the proper
28330 value as the arg to the first recursive factorial call. Change
28331 compilation line to define FAKEARGV at compile time.
28332
28333 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28334
28335 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28336 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28337 function with watchpoint enabled" test.
28338
28339 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28340
28341 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
28342 Don't call gdb_test when the command doesn't return to a gdb prompt.
28343
28344 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
28345 "Tests restarted" messages.
28346
28347 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28348
28349 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28350
28351 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
28352
28353 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28354 for INFO SYMBOL; add help tests for OVERLAY commands.
28355 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28356 add tests for OVERLAY commands
28357 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28358 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28359 * gdb.base/sigall.c: add usestubs code frag
28360 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
28361
28362 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28363
28364 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28365 failures.
28366 (gdb_stop_suppressing_tests): Note that tests have restarted.
28367
28368 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28369
28370 * config/h8300.exp: New file.
28371
28372 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28373
28374 * gdb.base/setshow.exp: Check for the existence of a
28375 feature, not its value.
28376
28377 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28378
28379 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28380
28381 * gdb.base/scope.exp: It's now init0(), not init().
28382
28383 * gdb.base/scope0.c: For now, change init() to be init0().
28384
28385 * config/monitor.exp: Use gdb_serial in preference to serial
28386 or netport.
28387
28388 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
28389 and it's not already set.
28390
28391 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28392
28393 * gdb.base/setshow.exp: Only test the run command if the target
28394 isn't using a stub and if it supports argument passing.
28395
28396 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28397
28398 * config/udi.exp(gdb_start): Make sure UDICONF is set
28399 properly before starting gdb.
28400
28401 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28402
28403 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28404 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28405 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28406
28407 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28408
28409 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
28410 specialized code to reboot the board, use remote_reboot instead.
28411
28412 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28413
28414 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28415
28416 * config/monitor.exp: Make sure we disconnect from the target.
28417 Also, try a reboot/reload cycle instead of failing if the
28418 load fails.
28419
28420 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28421
28422 * gdb.base/default.exp: Don't set match_max.
28423 * gdb.base/help.exp: Ditto.
28424 * gdb.base/list.exp: Ditto.
28425 * gdb.base/signals.exp: Ditto.
28426
28427 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28428 set, use remote_ld to download the testcase instead of
28429 the GDB loader.
28430
28431 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28432
28433 * config/vr5000.exp: New file.
28434
28435 * config/monitor.exp(gdb_target_monitor): Add pattern for
28436 "Ending remote" to detect errors in connecting.
28437
28438 * gdb.base/setshow.exp: Add .* within auto language test.
28439
28440 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28441 target feature.
28442
28443 * config/monitor.exp(gdb_load): Check for a failure when loading,
28444 and reboot the board if necessary.
28445
28446 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28447 a set of tests. Remove print.* from the patterns being checked.
28448
28449 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28450
28451 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28452 refer to gdb_spawn_id.
28453
28454 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28455 longer used.
28456 * config/sparclet.exp: Ditto.
28457 * config/sparclet-old.exp: Ditto.
28458 * config/slite.exp: Ditto.
28459 * config/sim.exp: Ditto.
28460 * gdb.base/funcargs.exp: Ditto.
28461
28462 * lib/gdb.exp:Remove references to gdb_spawn_id.
28463 (gdb_expect): Move to remote.exp.
28464
28465 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28466
28467 * config/monitor.exp: Detect the "Couldn't establish connection"
28468 message from GDB.
28469
28470 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28471
28472 * gdb.base/bitfields.exp: Use runto instead of explicit
28473 gdb_run_cmd/gdb_expect sequences.
28474
28475 * gdb.base/break.exp(text_next_with_recursion): Add match for
28476 gdb_expect call.
28477
28478 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28479 We also need to handle the "A program is being debugged already"
28480 prompt from gdb. Use gdb_test to set the baud rate.
28481
28482 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28483 to 20000. Really. I mean it.
28484
28485 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28486
28487 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
28488 fails. If suppress_flag is set, skip perror message about not
28489 being able to send to GDB.
28490 (send_gdb): If suppress_flag is set, don't try to send commands to
28491 GDB.
28492 (gdb_expect): If suppress_flag is set, always fail immediately.
28493 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28494 (gdb_init): Call gdb_stop_suppressing_tests.
28495 (default_gdb_exit): Ditto.
28496 (default_gdb_start): Ditto.
28497
28498 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
28499 gdb_stop_suppressing_tests as appropriate.
28500 * gdb.base/break.exp: Ditto.
28501 * gdb.base/callfuncs.exp: Ditto.
28502 * gdb.base/commands.exp: Ditto.
28503 * gdb.base/exprs.exp: Ditto.
28504 * gdb.base/funcargs.exp: Ditto.
28505 * gdb.base/list.exp: Ditto.
28506 * gdb.base/recurse.exp: Ditto.
28507 * gdb.base/scope.exp: Ditto.
28508 * gdb.base/structs.exp: Ditto.
28509 * gdb.c++/inherit.exp: Ditto.
28510
28511 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28512
28513 * config/vr4300.exp: New file.
28514
28515 * gdb.*/*.exp: Call gdb_expect instead of expect.
28516
28517 * lib/gdb.exp(gdb_expect): New function.
28518
28519 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28520
28521 * lib/gdb.exp(gdb_init): New function.
28522
28523 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
28524 for each individual variable set.
28525
28526 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28527 name.
28528
28529 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28530
28531 * gdb.base/scope.exp: Use gdb_test.
28532
28533 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28534 aborting; the testsuite driver will do that for us (see
28535 gdb_finish). Also, use gdb_test in a few more places.
28536
28537 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28538
28539 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28540
28541 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28542
28543 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28544 and "add_tests" are not at the same address.
28545
28546 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28547
28548 * gdb.base/ptype.exp: Use gdb_test.
28549
28550 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28551
28552 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28553 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28554 left in. No longer expect them to fail.
28555
28556 * gdb.stabs/*.mt; Deleted, no longer used.
28557 * gdb.stabs/configure.in: Remove references to target makefile
28558 frags.
28559 * gdb.stabs/configure: Rebuilt.
28560
28561 * gdb.disasm/*.mt: Deleted, no longer used.
28562 * gdb.disasm/configure.in: Remove references to target makefile
28563 frags. Use "sh3.s" as the unique filename for this directory.
28564 * gdb.disasm/configure: Rebuilt.
28565
28566 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28567 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28568 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28569
28570 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28571
28572 * config/udi.exp: Use mondfe,name instead of remote_host.
28573
28574 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28575
28576 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28577 a function with a watchpoint enabled on the mn10200.
28578
28579 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28580 before trying to create it!
28581
28582 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28583
28584 * config/vx.exp: Use hostname instead of netport.
28585
28586 * config/vxworks.exp: New file.
28587
28588 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28589
28590 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
28591 gdb before assuming everything worked. Send a ^C if a timeout
28592 occurs.
28593
28594 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28595 $gdb_spawn_id directly.
28596 (gdb_run_cmd): Try _start as well as start. Use the target feature
28597 gdb,start_symbol as the symbol to start from when jumping.
28598
28599 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28600
28601 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28602 redundant) test.
28603
28604 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28605 it doesn't lose for 16bit integer systems.
28606
28607 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28608
28609 * gdb.fortran/types.exp: If the target doesn't support "double"
28610 data types, then expect "real" types to only be 4 bytes.
28611
28612 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28613 call tests if the target doesn't support inferior function calls.
28614
28615 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28616 in printf tests.
28617
28618 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28619
28620 * gdb.base/help.exp: Disable "help set", "help show", and
28621 "help support". Simplify regexp for "help stack".
28622
28623 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28624 to 60 seconds. Temporarily set match_max to 15000 around the
28625 "info copying" test.
28626
28627 * gdb.base/nodebug.exp: Don't try to do an inferior function
28628 call if the target doesn't support them.
28629 * gdb.base/printcmds.exp: Likewise.
28630 * gdb.base/setvar.exp: Likewise.
28631 * gdb.base/structs.exp: Likewise.
28632 * gdb.c++/templates.exp: Likewise.
28633 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28634
28635 * gdb.base/recurse.exp: Enable for the mn10200.
28636
28637 * configure.in: Do configure gdb.stabs directory for *-*-elf
28638 targets.
28639 * configure: Rebuilt.
28640
28641 * gdb.base/break.exp: Check for gdb,noresults before testing
28642 exit status and/or results from the target.
28643 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28644 * lib/gdb.exp: Remove old (now bogus) initialization of
28645 noinferior, noargs, noresults and nosignals.
28646
28647 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28648
28649 * config/sh.exp: New file.
28650
28651 * config/slite.exp: Try to connect multiple times to the board
28652 before rebooting. Only send a "monitor run" if need_monitor_run
28653 is set.
28654
28655 * gdb.base/break.exp: Don't do the "stub continue" test if
28656 the target has gdb_stub set.
28657
28658 * gdb.base/callfuncs.exp: Increase the timeout.
28659
28660 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28661 if the target has gdb,noinferiorio set.
28662
28663 * gdb.base/list.exp: Increase match_max to 10000 characters.
28664
28665 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28666
28667 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28668 target.
28669
28670 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28671
28672 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28673
28674 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
28675 trying to delete the copy of gdb. Catch the file delete so we
28676 don't die if the delete fails; also, the file should be copied to
28677 the host, not to the build.
28678
28679 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28680
28681 * lib/gdb.exp(gdb_test): Surround the result pattern with
28682 parenthesis in case it contains multiple regexps separated
28683 with |.
28684
28685 * gdb.base/watchpoint.exp: Use gdb_test.
28686 * gdb.base/default.exp: Ditto.
28687
28688 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28689
28690 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
28691
28692 * gdb.base/scope.exp: Use gdb_test.
28693 * gdb.c++/classes.exp: Ditto.
28694 * gdb.c++/inherit.exp: Ditto.
28695
28696 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28697
28698 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28699 remote_exec instead.
28700 * gdb.base/corefile.exp: Don't be ridiculous.
28701 * gdb.base/*.c: Add missing stub invocations.
28702
28703 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28704
28705 * config/slite.exp: Miscellaneous fixes.
28706
28707 * lib/gdb.exp: Fix runto.
28708
28709 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28710 the target.
28711
28712 * gdb.base/watchpoint.exp: Fix regexp.
28713
28714 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28715 close and wait commands, as the descriptor may now be
28716 invalid. Always call "remote_close host".
28717
28718 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28719
28720 Major rewrite for testsuite revision.
28721
28722 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28723 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28724 instead of relying on spawn_id to always contain a valid
28725 spawn id.
28726 (get_compiler_info): New procedure to build the ${binfile}.ci
28727 file, instead of replicating this in N different places.
28728 (gdb_compile): New procedure.
28729
28730 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
28731 appropriate arguments) instead of compile. Use gdb_test in a lot
28732 more places. Use send_gdb instead of send. Always run gdb_start
28733 at the start of a testcase, as this is no longer done magically.
28734
28735 config/*-gdb.exp: Rename without the -gdb suffix.
28736
28737 config/mips.exp: Use remote_close instead of exit_remote_shell.
28738 config/monitor.exp: Use target_info instead of looking at
28739 baud, timeout, etc.
28740 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28741
28742 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28743
28744 * gdb.c++/templates.exp (test_ptype_of_templates),
28745 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28746 Update expect patterns for destructors and assignment operators
28747 to match corresponding c-typeprint.c changes.
28748 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28749 to destructor breakpoint test, GDB should be able to set the
28750 destructor breakpoint without specifying arguments.
28751
28752 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28753
28754 * gdb.threads/pthreads.exp: Change result for failure to compile due
28755 to lack of pthreads runtime support from an error to simply an
28756 unsupported test, per dejagnu standards.
28757
28758 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28759
28760 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28761 where GDB exits to reduce pattern match time.
28762 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28763
28764 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28765
28766 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28767
28768 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28769 * gdb.base/default.exp: ditto.
28770 * gdb.base/nodebug.exp: ditto.
28771 * gdb.base/printcmds.exp: ditto.
28772 * gdb.base/ptype.exp: ditto.
28773 * gdb.base/setvar.exp: ditto.
28774 * gdb.base/structs.exp: ditto.
28775 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28776
28777 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28778
28779 * configure, */configure: Rebuild with autoconf 2.12.
28780
28781 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28782
28783 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28784 use new i*86-pc-linux*-gnu quads.
28785 * gdb.base/corefile.exp: Ditto.
28786 * gdb.base/signals.exp: Ditto.
28787 * gdb.base/sigall.exp: Ditto.
28788 * gdb.base/interrupt.exp: Ditto.
28789
28790 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28791 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28792 RedHat 4.0.
28793
28794 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28795 linux. This allows the test case to at least compile on latest
28796 linux, but still not run due to missing the threads runtime library.
28797
28798 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28799
28800 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28801 directory to search gdb directory. Accept and step over conditional
28802 stack alignment code. Consume $prompt in failure cases.
28803 Reset timeout to $oldtimeout instead of some arbitrary value.
28804 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28805 timeout problems with infinite stack backtraces.
28806 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28807 Accept function parameters for linkfunc member.
28808
28809 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28810
28811 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28812 (CXXFLAGS): Remove, unreferenced.
28813 (B_OPTIONS): Add for -B options and add code to initialize with
28814 previous -B options and also add -B option to pick up cross compiled
28815 runtime.
28816 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28817 doing cross compiles.
28818 (target_alias): Declare global.
28819 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28820 to verify that gcc exists in build tree, and if so set CC to that
28821 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28822
28823 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28824
28825 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28826 ptype test for anonymous union. Fixup testcase to match
28827 current gcc debug output.
28828
28829 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28830
28831 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28832 force argument to an unsigned long type.
28833
28834 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28835
28836 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28837 tests and anonymous union print/ptype tests.
28838 * gdb.base/list.exp (test_forward-search): Increase timeout by
28839 5 minutes for the "search extremely long line" case.
28840 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28841 completely optional and that the pass/fail messages use the command as
28842 the message if that third arg is a null string.
28843 (gdb_test_exact): Arrange that a null string pattern means match a
28844 null string output rather than any output, which might include random
28845 errors.
28846 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28847 backtrace test.
28848 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28849 always failing and failure is now exposed by gdb.exp changes.
28850
28851 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28852
28853 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28854 weren't being noted.
28855
28856 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28857
28858 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28859 * gdb.stabs/weird.exp: Remove v_comb xfails.
28860
28861 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28862
28863 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28864 list.exp scope.exp watchpoint.exp]
28865 Make all timeout error msgs explicitly say "(timeout)".
28866
28867 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28868
28869 * config/monitor.exp: Increase download timeout to 1000 seconds.
28870
28871 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28872
28873 * config/m32r.exp: Increase timeout to 120 seconds.
28874
28875 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28876
28877 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28878 and accept older ordering as obsolescent gcc or gdb.
28879 * gdb.c++/templates.exp: Ditto.
28880 * gdb.c++/virtfunc.exp: Ditto.
28881
28882 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28883
28884 * gdb.base/coremaker.c: Add code to mmap some data so we
28885 can check that it ends up in the core file.
28886 * gdb.base/corefile.exp: Add test to read mmapped data
28887 from core file.
28888
28889 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28890
28891 * config/m32r.exp: New file.
28892
28893 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28894
28895 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28896 that cflags can contains -gstabs, and work correctly for other tests.
28897
28898 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28899
28900 * gdb.base/setshow.exp: New file, tests show and set.
28901 * gdb.base/setshow.c: New file, tests show and set.
28902 * gdb.base/help.exp: Add test for help set|show annotate.
28903 * gdb.base/default.exp: Add test for set|show annotate.
28904
28905 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28906
28907 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28908 errors unique.
28909 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28910 explicitly.
28911
28912 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28913
28914 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28915 and width commands. This is done elsewhere.
28916 * (gdb_start): Don't call gdb_start_sim here. That's already
28917 done in gdb_load. This fixes lots of failures in default.exp.
28918
28919 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28920
28921 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28922 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28923 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28924 in the same we we treat other failures (since it may be an expected
28925 condition), rather than as an error.
28926 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28927 old test format.
28928
28929 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28930
28931 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28932 (distclean maintainer-clean realclean): No need to remove files
28933 twice. Nuke the duplicates.
28934 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28935 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28936 Remove config.h along with other config files.
28937
28938 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28939
28940 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28941 "p func1 ()" and note that rests of tests are skipped.
28942 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28943 setup_xfails for "print func2::coremaker_local".
28944 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28945 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28946 affected by the previous run test.
28947 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28948 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28949 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28950 "pass int powerset tuple" and "pass modeless int powerset tuple".
28951 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28952 "real write 4" and "real write 8".
28953 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28954 setup_xfails for "print vs1 after tuple assign 2",
28955 "print \$i after tuple assign 2", and
28956 "print vs2 after tuple assign 2".
28957 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28958 meaningful error message and return -1 so the caller can
28959 suppress further tests and avoid a cascade of errors.
28960
28961 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28962
28963 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28964 format for printing version.
28965 * gdb.base/default.exp: Ditto.
28966 * gdb.base/interrupt.exp: Fix problem with cascade of
28967 errors if child process dies while calling a function.
28968
28969 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28970
28971 * Makefile.in (VPATH): Add
28972 * Makefile.in (Makefile, config.status): Fix rules so things get
28973 remade when necessary.
28974
28975 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28976
28977 * Makefile.in (just-check): Add path to sibling expect dir
28978 to environment variable specified by RPATH_ENVVAR.
28979
28980 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28981
28982 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28983 (just-check): Add shared library paths for libstdc++, tk,
28984 tcl, bfd, and opcodes to the environment variable specified
28985 in RPATH_ENVVAR.
28986 * configure.in: Add support to recognize --enable-shared flag
28987 and generate correct value for RPATH_ENVVAR.
28988 * configure: Regenerated with autoconf.
28989
28990 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28991
28992 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28993 include all osf versions.
28994 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28995 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28996 when target is linux. When failing to build pthreads test
28997 executable, give more meaningful message.
28998 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28999 arg for pthread_create.
29000
29001 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
29002
29003 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
29004 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
29005 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
29006 and -lpthreads (everybody else).
29007 (test_startup): Fail gracefully if threads are not supported.
29008 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
29009 "p/c array_index("abcdef",2)" when not gcc compiled.
29010 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
29011 "print func2::coremaker_local" when not gcc compiled.
29012 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
29013 "ptype on opaque struct tagname (statically)",
29014 "ptype on opaque struct tagname (dynamically) 1", and
29015 "ptype on opaque struct tagname (dynamically) 2"
29016 for not compiled with gcc.
29017 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
29018 backtrace when compiled with gcc.
29019 * lib/gdb.exp (runto_main): Return result of "runto main" rather
29020 than always return success.
29021
29022 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
29023
29024 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
29025
29026 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
29027
29028 * gdb.base/structs.exp: Undo last change.
29029
29030 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
29031
29032 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
29033 encapsulate all the steps/nexts done during self test, starting
29034 at main, and makes them less sensitive to optimization issues.
29035 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
29036 signal handler" test.
29037 * gdb.threads/pthreads.exp: Only run this for native configs.
29038 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
29039 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
29040 tests.
29041 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
29042 for "runto test_calls(void)" test.
29043
29044 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
29045
29046 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
29047 and don't expect address info in breakpoint confirmations.
29048
29049 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
29050
29051 * gdb.base/list.exp (test_forward_search): Increase timeout
29052 temporarily by 60 seconds for searching extremely long line,
29053 and then reset to old value when done. Increase expect input
29054 buffer to 10000.
29055
29056 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
29057
29058 * gdb.base/list.exp (test_forward_search): Fix to handle very
29059 long source line without overflowing expect's input buffer.
29060
29061 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
29062
29063 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
29064 "buffer_full".
29065
29066 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
29067 "buffer_full".
29068
29069 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
29070 "buffer_full".
29071
29072 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
29073 "buffer_full".
29074
29075 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
29076
29077 * configure.in (configdirs): Add gdb.threads.
29078 * configure: Regenerated with autoconf.
29079 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
29080 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
29081 * gdb.threads/configure: New, generated with autoconf.
29082
29083 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
29084
29085 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
29086
29087 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
29088
29089 * gdb.base/signals.exp (test_handle_all_print): Test separately for
29090 each signal's status in the output of "handle all print".
29091 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
29092 the \r\n sequence that immediately precedes the gdb prompt.
29093 * gdb.base/a1-selftest.exp: Save original timeout and restore
29094 after test.
29095
29096 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
29097
29098 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
29099 symbol.
29100
29101 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
29102
29103 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
29104
29105 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
29106
29107 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
29108 timeout by 60 seconds.
29109
29110 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
29111
29112 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
29113 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
29114 error return.
29115
29116 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
29117
29118 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
29119 gdb initialization, also report how long dejagnu waited. Restore
29120 old timeout before doing error return. Temporarily increase timeout
29121 by 3 minutes to allow for slow startups over heavy NFS use.
29122
29123 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
29124
29125 * lib/gdb.exp: Report timeout value for verbosity level 2.
29126 * config/gdbserver.exp: Ditto.
29127 * config/hppro.exp: Ditto.
29128 * config/mips-gdb.exp: Ditto.
29129 * config/monitor.exp: Ditto.
29130 * config/netware.exp: Ditto.
29131 * config/sim-gdb.exp: Ditto.
29132 * config/slite-gdb.exp: Ditto.
29133 * config/udi-gdb.exp: Ditto.
29134 * config/unix-gdb.exp: Ditto.
29135 * config/vx-gdb.exp: Ditto.
29136 * gdb.base/a1-selftest.exp: Ditto.
29137 * gdb.base/a2-run.exp: Ditto.
29138 * gdb.base/break.exp: Ditto.
29139 * gdb.base/corefile.exp: Ditto.
29140 * gdb.base/list.exp: Ditto.
29141 * gdb.base/recurse.exp: Ditto.
29142 * gdb.base/scope.exp: Ditto.
29143 * gdb.base/signals.exp: Ditto.
29144
29145 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29146
29147 * gdb.threads/Makefile.in (docdir): Removed.
29148
29149 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29150
29151 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
29152 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
29153 @srcdir@.
29154 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
29155 autoconf 2.5 or higher.
29156 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
29157
29158 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
29159
29160 * configure: Regenerated.
29161 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
29162 avoid name clashes with SunOS headers.
29163
29164 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
29165
29166 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
29167
29168 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
29169
29170 * gdb.base/callfuncs.exp: Finish last change -- make sure the
29171 prototype information ends up in the compiler info file.
29172
29173 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
29174
29175 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
29176 attempting to regenerate it. Eliminate use of a temporary file
29177 and just generate the info file directly. Source it immediately,
29178 for consistency of use.
29179 * gdb.base/corefile.exp: Ditto
29180 * gdb.base/exprs.exp: Ditto.
29181 * gdb.base/funcargs.exp: Ditto.
29182 * gdb.base/langs.exp: Ditto.
29183 * gdb.base/list.exp: Ditto.
29184 * gdb.base/mips_pro.exp: Ditto.
29185 * gdb.base/nodebug.exp: Ditto.
29186 * gdb.base/opaque.exp: Ditto.
29187 * gdb.base/ptype.exp: Ditto.
29188 * gdb.base/scope.exp: Ditto.
29189 * gdb.base/setvar.exp: Ditto.
29190 * gdb.base/signals.exp: Ditto.
29191 * gdb.base/whatis.exp: Ditto.
29192 * gdb.c++/templates.exp: Ditto.
29193 * gdb.c++/virtfunc.exp: Ditto.
29194 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
29195 whether or not to add -lstdc++ to the compile command line args.
29196
29197 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29198
29199 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
29200 it got fixed by the recent lookup_minimal_symbol_by_pc change.
29201 Increase timeout, a lot of single stepping might be needed if the
29202 target has no hardware watchpoints.
29203
29204 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
29205
29206 * gdb.base/break.exp: Ignore compiler warnings when compiling
29207 break.c.
29208 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
29209 * gdb.base/default.exp: Add h8300 xfails. Handle messages
29210 from remote-sim.
29211 * gdb.base/exprs.exp: Add h8300 xfails.
29212 * gdb.base/funcargs.exp: Likewise.
29213 * gdb.base/nodebug.exp: Likewise.
29214 * gdb.base/printcmds.exp: Likewise.
29215 * gdb.base/ptype.exp: Likewise.
29216 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
29217 h8300 xfails.
29218 * gdb.base/return.exp: Handle float/double precision problems
29219 on the h8300.
29220 * gdb.base/funcargs.c: Explicitly make last constant argument to
29221 call_after_alloca_subr an unsigned long type.
29222 * gdb.base/return.c: Include stdio.h.
29223
29224 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
29225
29226 * config/abug.exp: New file for the older Motorola Bug monitor
29227 that runs on the mvme13x series VME boards.
29228 * config/monitor.exp: Use the new config array for target settings
29229 if they exist.
29230
29231 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
29232
29233 * sim-gdb.exp: Make the SH simulator allocate less space when
29234 it is targeted.
29235
29236 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
29237
29238 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
29239 test.
29240
29241 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
29242
29243 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
29244 "rs6000-*-*" for "list function in include file" when gcc compiled.
29245 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
29246 for "p ctable1[120]".
29247 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
29248 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
29249 Remove setup_xfail for "rs6000-*-*" for
29250 "print 'scope0.c'::filelocal before run".
29251 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
29252 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
29253 since some compilers don't allow both options to be given
29254 on the same command line. Create object file and move it.
29255
29256 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
29257
29258 * gdb.base/corefile.exp: Always regenerate the core file, since
29259 we always regenerate the coremaker program. Detect special case
29260 where registers cannot be read from core file.
29261
29262 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
29263
29264 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
29265 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
29266 * gdb.c++/templates.exp: Only match on basename of file since
29267 some formats like xcoff don't encode directory information.
29268 * gdb.stabs/weird.exp: Use the right sed script for powerpc
29269 and rs6000 AIX xcoff targets.
29270 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
29271 * configure: Regenerate.
29272 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
29273 here, rather than in distclean.
29274
29275 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
29276
29277 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
29278 defined, and use it to compile the test case with -O2. The
29279 native compilation still uses no optimization.
29280 * gdb.base/mips_pro.c: Remove inline assembly code since
29281 it is compiled PIC by default, which results in assembler
29282 warnings that make the testsuite think the compilation
29283 was unsuccessful.
29284
29285 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
29286
29287 * gdb.c++/misc.exp: Add note to message for
29288 "print s.a for foo struct" that this is a known gcc 2.7.2
29289 and earlier bug.
29290
29291 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
29292
29293 * gdb.base/break.exp: Fix pattern for matching "Delete all
29294 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
29295 setup_xfail for deleting all breakpoints test. Fix various
29296 timeout messages to include "(timeout)".
29297 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
29298 for "p t_float_values2(3.14159,float_val2)".
29299 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
29300 for "continue to call2g" when gcc compiled.
29301 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
29302 "up to foo in langs.exp", "show language at foo in langs.exp",
29303 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
29304 and "show language at fsub in langs.exp".
29305 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
29306 "list line 1 in include file", "list message for lines past EOF",
29307 "list function in include file", "list list0.h:foo", and
29308 "list filename:function; nonexistant function".
29309 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
29310 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
29311 and "ptype t_char_array" to be for native cc only.
29312
29313 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
29314
29315 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
29316 setup_xfail for "print coremaker_bss", "print coremaker_ro",
29317 "print func2::coremaker_local", and "backtrace in corefile.exp".
29318
29319 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29320
29321 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29322 "bt in signals.exp". This problem only appears when running
29323 the testsuite, and then only intermittently.
29324
29325 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29326
29327 * gdb.base/return.exp (return_tests): Differentiate between
29328 two tests of continuing.
29329
29330 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29331
29332 * */Makefile.in (maintainer-clean): Remove config.log.
29333 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29334 * gdb.c++/Makefile.in (PROGS): Add inherit.
29335 (clean): Remove *.ci.
29336
29337 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29338
29339 * gdb.c++/misc.cc: Add test code from Mike Stump.
29340 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29341
29342 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29343
29344 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29345 to "alpha-*-osf2*" and add comment.
29346 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
29347 setup_xfail for "step over execarg initialization" and
29348 "step over corearg initialization".
29349 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29350 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29351 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
29352 gcc compiled for "print coremaker_bss", "print coremaker_ro",
29353 "print func2::coremaker_local", and "backtrace in corefile.exp".
29354 * gdb.base/signals.exp: Build and source signals.ci.
29355 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29356 to be for gcc only.
29357 * lib/gdb.exp: Move verbose statements outside conditionals.
29358
29359 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29360
29361 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29362 Feb 3 procfs.c change.
29363
29364 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29365
29366 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29367
29368 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29369
29370 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29371 from dejagnu's apparent default of 10 seconds, which gives random
29372 results when running the tests over NFS on moderately loaded systems.
29373 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29374
29375 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29376
29377 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29378 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
29379 result reports.
29380
29381 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29382
29383 * configure.in (CY_AC_PATH_TCLH): Remove.
29384 * configure: Regenerate.
29385
29386 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29387
29388 * gdb.c++/Makefile.in (clean): Add missing '{'.
29389
29390 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29391
29392 * lib/gdb.exp: Provide a default value for noinferior.
29393
29394 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29395 Load libgloss.exp.
29396
29397 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29398
29399 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29400 the executable, not the .o to run the tests from.
29401
29402 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29403
29404 * gdb.base/break.exp: Don't test for program exit or exit status
29405 if $noresults if nonzero.
29406 * gdb.base/langs.exp: Likewise.
29407 * gdb.base/watchpoint.exp: Likewise.
29408
29409 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29410 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29411 trying to compile the testcase.
29412
29413 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29414
29415 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29416 * gdb.base/signals.exp (continue to handler): Likewise.
29417
29418 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29419
29420 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29421
29422 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29423
29424 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29425
29426 * gdb.base/corefile.exp: Recognize "not found" as failure
29427 when trying to determine if a core file was generated.
29428 If no core file was generate the first time, try again without
29429 the ulimit -c to work around braindamaged shells.
29430
29431 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29432
29433 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29434 [] tests with "test" and enclose string in quotes.
29435 * gdb.stabs/configure: Rebuild
29436
29437 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29438
29439 Changes in sync with expect:
29440 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29441 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29442 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29443 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29444 argument to AC_REQUIRE.
29445 * configure: Regenerated.
29446
29447 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29448
29449 * gdb.base/corefile.exp: When generating a core, discard any
29450 error messages about ulimit not found and the "core dumped"
29451 message from the shell that runs the coredumper.
29452
29453 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29454
29455 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29456
29457 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29458 which sed script to run. Expect failure for v_comb test
29459 on PA targets too.
29460
29461 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29462
29463 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
29464 "print func2::coremaker_local" and for "backtrace in corefile.exp"
29465
29466 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29467
29468 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29469 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
29470 "sparc-sun-solaris*" xfails for "p v_comb".
29471 * lib/gdb.exp (default_gdb_start): Fix typo.
29472 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29473 messages to not include the full program name that caused
29474 the core dump since some systems (such as solaris) apparently
29475 truncate this path to about 80 characters.
29476 When generating a core file first try increasing the core file
29477 size limit to unlimited since some systems may default it to
29478 zero, and it is harmless to try it. Move the test for failing
29479 to generate a core file to where it will actually get executed.
29480 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29481 new gdb result from g++ debug info improvements and make old
29482 pattern obsolescent. Also account for size_t differences
29483 (may be int or long).
29484 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29485 initialization before function call is placed in the delay slot
29486 and thus appears to be skipped over by commands such as "next".
29487
29488 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29489
29490 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29491
29492 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29493
29494 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29495 input source file; fix code to compile test to deal with this
29496 convention.
29497 * gdb.c++/*.exp: Likewise.
29498
29499 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29500
29501 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29502 "bt in signals.exp".
29503
29504 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29505
29506 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29507 "step over execarg initialization" and
29508 "step over corearg initialization".
29509
29510 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29511
29512 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29513 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29514
29515 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29516
29517 From Rob Savoye (rob@poseidon.cygnus.com)
29518 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29519 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
29520 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29521 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29522 configure.in}: Major reworking for autoconfig.
29523 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29524 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
29525 New files.
29526 * config/unix-gdb.exp: Make GDB global.
29527 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
29528 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29529 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29530 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29531 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29532 term.exp, twice.exp, watchpoint.exp, whatis.exp},
29533 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
29534 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29535 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29536 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29537 pr-8136.exp, result.exp, string.exp, tuples.exp},
29538 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
29539 to returns as necessary, arrange for test to compile own testcase
29540 executable.
29541 * lib/gdb.exp: Changes for testsuite to compile own test cases.
29542
29543 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29544
29545 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
29546 clear_xfail at end of test which might not call either pass or fail.
29547 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29548 "backtrace through signal handler".
29549
29550 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29551
29552 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29553 continuing from a job control stop signal.
29554 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29555
29556 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29557
29558 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29559 * gdb.base/corefile.exp: Likewise.
29560 * gdb.base/funcargs.exp: Likewise.
29561
29562 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29563
29564 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29565 * config/monitor.exp: Add support for setting baud rate.
29566
29567 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29568
29569 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29570 i*86-*-linux* xfails for "backtrace through signal handler".
29571 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29572 "print func2::coremaker_local".
29573 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
29574 alpha-dec-osf2* xfail for
29575 "delete all breakpoints when none".
29576
29577 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29578
29579 * gdb.base/break.exp: Change test that deletes all breakpoints
29580 when no user breakpoints are installed. A post 4.15 change
29581 causes gdb to no longer prompt in this case.
29582
29583 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29584
29585 * gdb.base/return.exp (return_tests): Change xfail for test
29586 "correct value returned double test" to stop xfailing at
29587 Solaris 2.5. Apparently the bug has been fixed.
29588
29589 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29590
29591 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29592 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29593
29594 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29595
29596 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29597 * gdb.disasm/hppa.s: Corresponding changes.
29598
29599 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29600
29601 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29602 makefile fragment.
29603 * config/mt-hpux: Deleted.
29604
29605 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29606
29607 * Many files: When warning about suppressed tests due to a
29608 nonexistant test binary, avoid incrementing the warning count.
29609
29610 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29611
29612 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
29613
29614 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29615
29616 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29617 "sparc-*-solaris2*".
29618
29619 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29620
29621 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29622 Add global and local variables and initialize them.
29623 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29624 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29625 extracts the file name and terminating signal from the core file.
29626 * TODO: Remove note about tests for correct mapping of corefile.
29627 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29628 from optimizing it away.
29629 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29630 handles common blocks.
29631
29632 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29633
29634 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29635 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29636
29637 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29638
29639 * Makefile.in (maintainer-clean): New target, synonym for
29640 realclean.
29641 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29642 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29643 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29644 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29645 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29646 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29647
29648 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29649
29650 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29651 xfails when not gcc compiled for "print foo::funclocal".
29652 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29653 "print foo::funclocal at foo",
29654 "print 'scope1.c'::foo::funclocal at foo",
29655 "print foo::funclocal_bss at foo",
29656 "print 'scope1.c'::foo::funclocal_bss at foo",
29657 "print foo::funclocal_ro at foo",
29658 "print 'scope1.c'::foo::funclocal_ro at foo",
29659 "print bar::funclocal at foo" and
29660 "print 'scope1.c'::bar::funclocal at foo".
29661 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29662 gcc compiled for "print foo::funclocal at bar".
29663 Expand all messages to ensure that they identify that
29664 the test is at bar().
29665 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29666 gcc compiled for:
29667 "ptype on opaque struct pointer (statically)",
29668 "ptype on opaque struct tagname (statically)",
29669 "ptype on opaque struct pointer (dynamically) 1",
29670 "ptype on opaque struct tagname (dynamically) 1",
29671 "ptype on opaque struct pointer (dynamically) 2" and
29672 "ptype on opaque struct tagname (dynamically) 2
29673 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29674 gcc compiled for:
29675 "p datalocal"
29676 "whatis datalocal",
29677 "ptype datalocal",
29678 "p bsslocal",
29679 "whatis bsslocal", and
29680 "ptype bsslocal".
29681 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29682 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29683 when not gcc compiled.
29684 * gdb.base/funcargs.exp (float_and_integral_args): Add
29685 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29686 compiled.
29687 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29688 "backtrace from call6a" when not gcc compiled.
29689 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29690 "backtrace from call7a" when not gcc compiled.
29691 * gdb.base/callfuncs.exp (do_function_calls):
29692 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29693 "p t_char_array_values(char_array_val2,char_array_val1)",
29694 "p t_char_array_values(char_array_val1,char_array_val2)",
29695 "p t_char_array_values("carray 1","carray 2")",
29696 "p t_char_array_values("carray 1",char_array_val2)",
29697 "p t_char_array_values(char_array_val1,"carray 2")",
29698 "p sum_args(1,{2})",
29699 "p sum_args(2,{2,3})",
29700 "p sum_args(3,{2,3,4})",
29701 "p sum_args(4,{2,3,4,5})"
29702 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29703 "backtrace in corefile.exp" when not gcc compiled.
29704
29705 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29706
29707 * gdb.base/signals.exp: Rewrite `handle all print' test as
29708 a procedure. Accept blanks or TABs as whitespace, increase
29709 timeout and expect input buffer size for the large output
29710 from the command. Remove "i*86-*-bsdi2.0" xfail.
29711
29712 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29713
29714 * gdb.base/setvar.exp: Add new testcases for truncation when
29715 assigning invalid values to bitfields.
29716
29717 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29718
29719 * gdb.base/callfuncs.exp (do_function_calls): Remove
29720 mips-sgi-irix* xfail for
29721 "call inferior func with struct - returns char *"
29722 and fix test so that an optional (unsigned char *) cast is
29723 accepted in the result.
29724
29725 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29726
29727 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29728 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29729 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29730 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29731 that accidentally got checked in.
29732
29733 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29734
29735 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29736 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29737 compiled test.
29738 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29739 Add mips-sgi-irix5* xfail for not gcc compiled.
29740 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29741 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29742 compiled for "p top", "whatis top", "p middle", and "whatis
29743 middle".
29744 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29745 "whatis signed char" for not gcc compiled.
29746 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29747 "set variable signed char=-1 (-1)" and
29748 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29749 * gdb.base/funcargs.exp (float_and_integral_args):
29750 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29751 Add mips-sgi-irix* xfail when not gcc compiled for
29752 "continue to call2b".
29753 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29754 "continue to call2g".
29755 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29756 compiled for "backtrace from call6a"
29757 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29758 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29759 when not gcc compiled for "backtrace from call7a".
29760 (localvars_after_alloca): Fix gdb_test cmds for
29761 "print * after runto ...".
29762 Remove rs6000-*-* xfails for
29763 "print i after runto localvars_after_alloca" and
29764 "print l after runto localvars_after_alloca"
29765 for all compilers.
29766 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29767 when not compiled with gcc, for:
29768 "print signed char == (minus)",
29769 "print signed char != (minus)",
29770 "print signed char < (minus)",
29771 "print signed char > (minus)".
29772 * gdb.base/callfuncs.exp (do_function_calls):
29773 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29774 "call inferior func with struct - returns char *".
29775 * gdb.base/return.exp (return_tests): Change xfail for
29776 "correct value returned double test" to include Solaris 2.4.
29777 * gdb.base/funcargs.exp (float_and_integral_args):
29778 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29779
29780 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29781
29782 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29783 enumeration bitfields if compiling with GNU C.
29784 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29785 to empty' prompt.
29786
29787 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29788
29789 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29790 test for PRO targets.
29791
29792 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29793 breakpoints in the inferior at any given time by making
29794 two groups of breakpoints for call2*, call6* and call7*
29795 tests.
29796
29797 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29798
29799 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29800 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29801 from optimizing it away.
29802 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29803 "call inferior func with struct".
29804
29805 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29806
29807 * configure.in: Only configure gdb.chill for particular targets.
29808
29809 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29810
29811 * gdb.base/Makefile.in: Add action to .c.o transformation
29812 rule that generates a .ci file for each .o file and remove
29813 explicit .c.o rules except for callfuncs.o.
29814 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29815 generates a .ci file for each .o file and remove explicit
29816 .cc.o rules.
29817 (clean): Remove *.tmp *.ci files.
29818 (EXECUTABLES): Remove templ-info.exp.
29819 * gdb.base/compiler.c: New file.
29820 * gdb.c++/compiler.cc: New file
29821 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29822 Change rs6000-*-* xfail for
29823 "print 'scope0.c'::filelocal_ro" and
29824 "print 'scope1.c'::filelocal" and
29825 "print 'scope1.c'::filelocal_bss" and
29826 "print 'scope1.c'::filelocal_ro" and
29827 "print 'scope1.c'::foo::funclocal" and
29828 "print 'scope1.c'::foo::funclocal_ro" and
29829 "print 'scope1.c'::bar::funclocal" and
29830 "print 'scope0.c'::filelocal_ro" and
29831 "print 'scope1.c'::filelocal at foo" and
29832 "print 'scope1.c'::filelocal_bss at foo" and
29833 "print 'scope1.c'::filelocal_ro at foo" and
29834 "print 'scope1.c'::foo::funclocal at foo" and
29835 "print 'scope1.c'::foo::funclocal_bss at foo" and
29836 "print 'scope1.c'::foo::funclocal_ro at foo" and
29837 "print 'scope1.c'::bar::funclocal at foo" and
29838 "print 'scope0.c'::filelocal_ro" and
29839 "print 'scope1.c'::filelocal" and
29840 "print 'scope1.c'::filelocal_bss" and
29841 "print 'scope1.c'::filelocal_ro" and
29842 "print 'scope1.c'::foo::funclocal" and
29843 "print 'scope1.c'::foo::funclocal_bss" and
29844 "print 'scope1.c'::foo::funclocal_ro" and
29845 "print 'scope1.c'::bar::funclocal" and
29846 "print 'scope1.c'::bar::funclocal_bss"
29847 to only be xfail'd when not compiled with gcc.
29848 Add rs6000-*-* xfail for
29849 "print 'scope0.c'::filelocal_bss before run"
29850 when compiled with gcc.
29851 (test_at_main): Add rs6000-*-* xfail for
29852 "print filelocal_ro in test_at_main"
29853 when compiled with gcc.
29854 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29855 Add rs6000-*-aix* xfail for
29856 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29857 "ptype t_char_array", not compiled with gcc.
29858 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29859 xfail for "list foo (in include file)" when gcc compiled.
29860 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29861 (integral_args): Add rs6000-*-* xfail for
29862 "run to call0a" if not compiled with gcc.
29863 (unsigned_integral_args): Add rs6000-*-* xfail for
29864 "run to call1a" if not compiled with gcc.
29865 (float_and_integral_args): Add rs6000-*-* xfail for
29866 "run to call2a" if not compiled with gcc and for
29867 "continue to call2b" for any compiler.
29868 Add rs6000-*-* xfail to
29869 "print f1 after run to call2a" for gcc compiled.
29870 (discard_and_shuffle): Add rs6000-*-* xfail for
29871 "run to call6a".
29872 (shuffle_round_robin): Add rs6000-*-* xfail for
29873 "backtrace from call7a" if not compiled with gcc.
29874 Add rs6000-*-* xfail for
29875 "backtrace from call7b" if compiled with gcc.
29876 (call_after_alloca): Add rs6000-*-* xfail for
29877 "print c in call_after_alloca" and
29878 "print s in call_after_alloca" and
29879 "backtrace from call_after_alloca_subr"
29880 if not compiled with gcc.
29881 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29882 "print c in localvars_in_indirect_call" and
29883 "print c in localvars_in_indirect_call" and
29884 "backtrace in indirectly called function" and
29885 "stepping into indirectly called function"
29886 if not compiled with gcc.
29887 (localvars_after_alloca): Add rs6000-*-* xfail for
29888 "print c after runto localvars_after_alloca" and
29889 "print s after runto localvars_after_alloca" and
29890 "print i after runto localvars_after_alloca" and
29891 "print l after runto localvars_after_alloca"
29892 for all compilers.
29893 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29894 than whatis-info.exp.
29895 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29896 than opaque-info.exp.
29897 Setup rs6000-*-* xfail for
29898 "ptype on opaque struct pointer (statically)" and
29899 "ptype on opaque struct pointer (dynamically)" when
29900 not compiled with gcc.
29901 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29902 rather than callf-info.exp.
29903 (do_function_calls): Add clear_xfail for rs6000-*-* for
29904 "p t_float_values2(3.14159,float_val2)". Seems to work
29905 fine there, both with xlc and gcc. Need to find out what
29906 it is doing right and fix other platforms.
29907 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29908 "call inferior func with struct - returns int",
29909 "call inferior func with struct - returns long",
29910 "call inferior func with struct - returns float",
29911 "call inferior func with struct - returns double",
29912 "call inferior func with struct - returns char *",
29913 but only if not gcc compiled (presumes xlc compiled).
29914 Change rs6000-*-* xfails for
29915 "call inferior func with struct - returns char" and
29916 " call inferior func with struct - returns short" to only
29917 xfail if not using gcc.
29918 (clean mostlyclean): Remove *.ci and *.tmp files.
29919 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29920 than templ-info.exp.
29921 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29922 Add rs6000-*-* xfail for "up to foo in langs.exp"
29923 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29924 when not gcc compiled.
29925
29926 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29927
29928 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29929 * gdb.base/corefile.exp: Likewise.
29930 * gdb.base/list.exp: Likewise.
29931 * gdb.base/scope.exp: Likewise.
29932 * gdb.base/siganls.exp: Likewise.
29933
29934 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29935 compiler output.
29936 * gdb.base/whatis.exp: Likewise.
29937
29938 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29939
29940 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29941 failure (opcode table has been fixed to match reality).
29942
29943 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29944
29945 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29946 "call inferior func with struct - returns char",
29947 "call inferior func with struct - returns short"
29948
29949 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29950 "print 'scope0.c'::filelocal at main",
29951 "print 'scope0.c'::filelocal_bss in test_at_main",
29952 "print 'scope0.c'::filelocal at foo",
29953 "print 'scope0.c'::filelocal_bss in test_at_foo",
29954 "print 'scope0.c'::filelocal at bar",
29955 "print 'scope0.c'::filelocal_bss in test_at_bar"
29956
29957 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29958 in source file 1". This bug seems to have been fixed with both
29959 gcc and native cc (was native assembler bug?).
29960
29961 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29962
29963 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29964 "backtrace through signal handler" to "i*86-*-sysv4*".
29965 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29966 continue" case. Add "known SVR4 bug" to fail message.
29967 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29968 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29969 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29970 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29971 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29972 "up to foo in langs.exp", "show language at foo in
29973 langs.exp", "up to cppsub_ in langs.exp", "show
29974 language at cppsub_ in langs.exp", "up to fsub in
29975 langs.exp", and "show language at fsub in langs.exp".
29976 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29977 "bactrace in corefile.exp".
29978 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29979 "call inferior function with struct - returns float" and
29980 "call inferior function with struct - returns double".
29981
29982 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29983
29984 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29985 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29986 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29987 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29988
29989 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29990
29991 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29992 (or overriden) "CHILL" macro rather then bare "gcc".
29993 Also look for ../../gcc/xgcc since that is what we will
29994 actually need, not "Makefile". Remove following assignment
29995 of CHILL to CHILL_FOR_TARGET because that results in
29996 recursive definition.
29997
29998 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29999
30000 * gdb.base/corefile.exp: Change xfail for backtrace in
30001 corefile.exp from linuxaout to all linux.
30002 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
30003 cases where we miss the breakpoint at the signal handler
30004 for some reason. Setup xfail for linuxoldld/linuxaout and
30005 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
30006 hitting SIGURG breakpoint.
30007 * gdb.base/signals.exp: Setup xfail for "next" acting like
30008 continue to add linuxoldld. Setup xfail for all linux for
30009 "next to handler in signals_tests_1", "backtrace in
30010 signals_tests_1", "continue to func1", "pass SIGUSR1",
30011 and continue to handler".
30012
30013 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
30014
30015 * Update all FSF addresses except those in COPYING* files.
30016
30017 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
30018
30019 * gdb.base/a2-run.exp: Change messages to be more explicit about
30020 the status of args, and quote binfile in results.
30021
30022 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
30023
30024 * gdb.base/callfuncs.exp: Add tests for passing structs to
30025 inferior functions and return various types.
30026 * gdb.base/callfuncs.c: Add functions to receive a struct
30027 and return a member of the struct, in various types.
30028
30029 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30030
30031 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
30032
30033 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
30034
30035 * config/vxworks29k.exp: New file, sources vxworks.exp.
30036
30037 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30038
30039 * config/gdbremote.exp: New file. Testing framework using
30040 gdbserver.
30041
30042 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
30043
30044 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
30045 "call function when asleep" and "send end of file".
30046 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
30047 for "backtrace in corefile.exp".
30048 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
30049 for "backtrace through signal handler".
30050 * gdb.base/corefile.exp: Make sure we actually generate a core file
30051 before trying the core tests. Some systems allow the user to suppress
30052 generation of core files and default to that (linux for example).
30053 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
30054 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
30055
30056 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30057
30058 * gdb.threads: New directory with some crude multi-threaded
30059 gdb tests (step.exp and step2.exp).
30060 * config/mt-lynx (STEP_EXECUTABLE): Define.
30061 (THREADFLAGS): Define.
30062
30063 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
30064
30065 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
30066
30067 * gdb.base/signals.exp: Disable whole file for lynx until
30068 further notice.
30069
30070 * gdb.base/signals.exp: xfail test where "next" acts like
30071 "continue" for lynx.
30072
30073 * gdb.base/interrupt.exp: xfail test for calling function while
30074 inferior is asleep for lynx.
30075
30076 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
30077 than one cr-lf after each command.
30078
30079 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30080
30081 * configure.in: Reinstate setting of stabsdirs variable, fix
30082 typo in setting up configdirs for native builds.
30083
30084 * gdb.base/return.exp: Fix typo in return double test.
30085 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
30086 compiler from optimizing them away.
30087
30088 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
30089
30090 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
30091 sequences to be echo'd by gdb when using gdb_test.
30092 * gdb.chill/chexp.exp: Likewise.
30093 * gdb.fortran/exprs.exp: Likewise
30094
30095 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30096
30097 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
30098 after the inferior gdb has started.
30099
30100 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
30101 after each command.
30102 * gdb.base/funcargs.exp: Likewise.
30103 * gdb.base/gdbvars.exp: Likewise.
30104 * gdb.base/interrupt.exp: Likewise.
30105 * gdb.base/list.exp: Likewise.
30106 * gdb.base/watchpoint.exp: Likewise.
30107 * gdb.c++/demangle.exp: Likewise.
30108 * gdb.c++/inherit.exp: Likewise.
30109 * gdb.chill/chexp.exp: Likewise.
30110 * gdb.fortran/exprs.exp: Likewise.
30111
30112 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
30113 test if we can't handle IO to/from the inferior.
30114
30115 * gdb.c++/misc.exp: Always check for a program already being
30116 started after sending a "run" command to gdb.
30117
30118 * gdb.base/twice.exp: Start with a fresh gdb.
30119
30120 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
30121 only depend on gdb's expression code, not the chill runtime.
30122
30123 * gdb.base/return.c: Put return values into variables so we
30124 can have gdb print them rather than depending on the program
30125 to print them.
30126 * gdb.base/return.exp: Corresponding changes.
30127
30128 * lib/gdb.exp: Provide default value for noinferiorio.
30129 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
30130 the inferior.
30131
30132 * gdb.base/break.exp: Always check for a program already being
30133 started after sending a "run" command to gdb.
30134 (text_next_with_recursion): Don't check the output from the
30135 program's printf statement. Instead just make sure the program
30136 exited.
30137
30138 * gdb.base/commands.exp: Protect tests which need arguments with
30139 $noargs conditionals.
30140
30141 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30142
30143 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
30144 of structure member arrays to match gdb/valops.c:value_addr change.
30145
30146 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
30147
30148 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
30149 cases.
30150
30151 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
30152
30153 * configure.in (configdirs): Remove gdb.chill from default list
30154 of subdirs and then add it back in only if doing a native build.
30155 The current chill compiler does not yet work in any cross build.
30156 * Revert all signal changes from Jul 6.
30157 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
30158 for sh-hms targets, allowing these tests to link, with no other
30159 changes. Testing is suppressed by setting "nosignals" in site.exp.
30160
30161 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
30162
30163 * configure.in (signaldirs): Define and add to configdirs for all
30164 targets except some specific ones that are known to not support signals.
30165 Also clean up formatting.
30166 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
30167 (signals, sigall): Remove rules to build.
30168 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
30169 Moved to new gdb.signals directory.
30170 * gdb.signals: New test directory.
30171 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
30172 signals.c signals.exp}: New or moved files.
30173
30174 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
30175
30176 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
30177
30178 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30179
30180 * gdb.base/return.exp: Xfail `return double' test failure
30181 on at least Solaris 2.3 and handle future/past versions on
30182 a case by case basis as appropriate. Also update message
30183 to include i*86 failures.
30184
30185 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30186
30187 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
30188
30189 * lib/gdb.exp: Fix comment which erroneously identified
30190 gdb_file_cmd as gdb_load (the 19 May change was in fact to
30191 gdb_file_cmd not gdb_load).
30192 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
30193
30194 * gdb.base/setvar.exp: Make test names consistent between pass and
30195 fail cases. Use gdb_test more.
30196
30197 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30198
30199 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
30200
30201 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30202
30203 * gdb.base/help.exp: Fix expected help string for `show commands'.
30204
30205 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
30206
30207 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
30208
30209 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
30210 of a text section.
30211
30212 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
30213
30214 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
30215 that loop eventually terminates. Fix Connection refused logic so
30216 that testsuite will expire nicely.
30217
30218 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
30219
30220 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
30221 config/rom68k.exp: New tcl glue for the appropriate monitors.
30222 These all just end up calling monitor.exp.
30223 * config/monitor.exp (gdb_target_monitor): Handle `Connection
30224 refused' by retrying. Cleanup some timeout issues.
30225 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
30226 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
30227 callers don't have to set/restore global timeout variable.
30228
30229 * The following set of changes centralizes management of the global
30230 timeout variable. This way, it can be set in one target dependent
30231 place instead of dozens of places scattered throughout the test suite.
30232 If you need to lengthen a timeout, then you should either set timeout
30233 in one of the config/{target}.exp files, or multiply it by a factor.
30234 Setting it to an absolute value is always going to lose for some
30235 targets.
30236 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
30237 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
30238 * gdb.base/funcargs.exp: Don't set timeout.
30239 * gdb.base/list.exp (test_forward_search): Only use local timeout.
30240 * gdb.base/printcmds.exp (test_print_string_constants
30241 test_print_array_constants): Don't set timeout.
30242 * gdb.base/ptype.exp: Don't set timeout.
30243 * gdb.base/recurse.exp: Don't set timeout.
30244 * gdb.base/return.exp: Don't set timeout.
30245 * gdb.base/watchpoint.exp: Don't set timeout.
30246 * gdb.c++/classes.exp (do_tests): Don't set timeout.
30247 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
30248
30249 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
30250
30251 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
30252
30253 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30254
30255 * lib/gdb.exp: Disable chill tests for irix5.
30256
30257 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30258
30259 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
30260 each test pass or fail.
30261
30262 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30263
30264 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
30265 xlc not gcc.
30266
30267 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
30268
30269 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
30270
30271 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
30272
30273 * config/est.exp: Fix copyright and comments. Remove dead code.
30274 Use targetname, serialport and baud variables instead of fixed
30275 constants.
30276 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
30277 * config/cpu32bug.exp: New file to support cpu32bug monitors.
30278
30279 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30280
30281 * gdb.base/watchpoint.exp: Don't run
30282 test_watchpoint_triggered_in_syscall for sunos.
30283
30284 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30285
30286 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
30287 they don't seem to exist. Do include stdio.h.
30288
30289 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30290
30291 * gdb.base/a1-selftest.exp: Add alpha xfail.
30292
30293 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30294
30295 * gdb.base/watchpoint.c (main): Prompt before calling read().
30296 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30297 Revise accordingly. Remove cruft about sending "123" several
30298 times, until it gets noticed. Clean up the "print buf[0]" stuff
30299 so that it passes or fails, and waits for prompts in the usual way.
30300
30301 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30302
30303 * gdb.base/recurse.exp: Fix comment.
30304
30305 * TODO: Remove item about printing variables in nodebug.exp. Add
30306 item about enabling tests which are only run on some targets.
30307
30308 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
30309 fail, make test names unique, use new gdb_test convention
30310 regarding pattern, use gdb_test more, etc.).
30311
30312 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
30313 fail, make test names unique, etc.).
30314
30315 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30316
30317 * gdb.base/nodebug.c: Change return type of top and middle to
30318 short.
30319 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30320 are fixed by the recent mdebugread.c changes. Allow `short ()'
30321 as type for top and middle.
30322
30323 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30324
30325 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30326 nearly as I can tell, the whole thing was an accident in Stu's
30327 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30328 to replace a send/expect pair with gdb_test, but ended up only
30329 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30330 of 30 Mar 1995 took care of it, but left this vestigial comment
30331 which I am now nuking.
30332
30333 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30334
30335 * gdb.base/break.exp: Look for different line number for
30336 breakpoint at main depending on usestubs.
30337
30338 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30339
30340 * gdb.base/list.exp: Adjust some alternate expect patterns to
30341 match recent list0.c change. Add alternate expect pattern for
30342 output from `list default lines around main' for optimizing
30343 compilers.
30344
30345 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30346
30347 * lib/gdb.exp: If nosignals is not set, set it to 0.
30348
30349 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30350
30351 * config/slite-gdb.exp: Responds to load symbol table prompt.
30352 * gdb.base/break.exp: Adjust line number, fix rerun.
30353 * gdb.base/langs0.c: Add #ifdef usestubs.
30354
30355 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30356
30357 * gdb.base/list.exp: Adjust line contents after adding new lines in
30358 list0.c. Also fix a syntax error.
30359
30360 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30361 * gdb.base/break.exp: ditto.
30362 * gdb.base/list.exp: ditto.
30363 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30364 * gdb.base/run.c: ditto.
30365 * gdb.base/list0.c: ditto.
30366 * gdb.base/funcargs.c: ditto.
30367
30368 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30369
30370 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30371 $targetname, $serialport and $baud instead of hardwired variables.
30372 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30373 target doesn't support signals.
30374
30375 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30376
30377 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30378
30379 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30380
30381 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30382 Don't rely on the value of an auto variable before it has been
30383 initialized. Use gdb_test more.
30384
30385 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30386
30387 * lib/gdb.exp (default_gdb_version): A version number must start
30388 with a digit, but other than that contains all characters up to
30389 the first whitespace character.
30390
30391 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30392
30393 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30394
30395 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30396
30397 * gdb.c++/*.exp: Warn if executable does not exist. The original
30398 reason for skipping the warning was that configure.in sometimes
30399 intentionally skipped building the executables but the tcl code
30400 had no way of knowing. That (a) was always bogus with respect to
30401 error handling, (b) is no longer true (right now there is no way
30402 to skip C++ tests).
30403
30404 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30405
30406 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30407
30408 * gdb.base/list.exp: Add expect patterns for output from
30409 SunPRO compiled executables.
30410 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30411 types.
30412
30413 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30414
30415 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30416 number (we are already testing that the correct source line text
30417 gets printed).
30418
30419 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30420 that is what is intended, but something needed to be done to get
30421 sunos4 native working again.
30422
30423 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30424
30425 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30426 apparently went with a (very) old xfail.
30427
30428 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30429
30430 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30431 runto_main is a proc in gdb.exp that will do 'step' for target use
30432 stubs.
30433 * gdb.base/exprs.exp: ditto.
30434 * gdb.base/interrupt.exp: ditto.
30435 * gdb.base/opaque.exp: ditto.
30436 * gdb.base/printcmds.exp: ditto.
30437 * gdb.base/ptype.exp: ditto.
30438 * gdb.base/scope.exp: ditto.
30439 * gdb.base/setvar.exp: ditto.
30440 * gdb.base/signals.exp: ditto.
30441 * gdb.base/twice.exp: ditto.
30442 * gdb.c++/classes.exp: ditto.
30443 * gdb.c++/inherit.exp: ditto.
30444 * gdb.c++/templates.exp: ditto.
30445 * gdb.base/break.exp: no run and hit main for stubs. Change line
30446 numbers for breakpoints and info breakpoint.
30447 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30448 breakpoint().
30449 * gdb.base/callfuncs.c: ditto.
30450 * gdb.base/exprs: ditto.
30451 * gdb.base/interrupt.c: ditto.
30452 * gdb.base/opaque0.c: ditto.
30453 * gdb.base/printcmds.c: ditto.
30454 * gdb.base/ptype.c: ditto.
30455 * gdb.base/scope0.c: ditto.
30456 * gdb.base/setvar.c: ditto.
30457 * gdb.base/signals.c: ditto.
30458 * gdb.base/twice.c: ditto.
30459 * gdb.c++/misc.cc: ditto.
30460 * gdb.c++/templates.cc: ditto.
30461
30462 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30463
30464 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30465
30466 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30467 somewhere between `read' and `main.c'. I'm pretty sure the
30468 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30469 and it isn't particularly useful.
30470
30471 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30472
30473 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30474
30475 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30476
30477 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30478
30479 * config/mt-slite: add LIBS and -nostdlib.
30480 * config/slite-gdb.exp: add this new file to support sparclite target.
30481
30482 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30483
30484 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30485
30486 * gdb.base/a2-run.exp: Change argument to istarget from
30487 "*-*-vxworks" to "*-*-vxworks*".
30488 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30489
30490 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30491
30492 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30493 will not runto main but do a 'step' to step out of breakpoint().
30494 * config/mt-slite: add -Dusestubs.
30495
30496 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30497
30498 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30499 instead of just @.
30500
30501 * gdb.base/signals.exp: Add test for "handle all print".
30502 * TODO: Remove "handle all print". Also remove item about
30503 checking copyright date (I don't like the idea of a spurious FAIL
30504 based on when we run the tests).
30505
30506 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30507 for SunOS4 (reason for failure not investigated). Remove
30508 redundant test for $binfile.
30509
30510 * gdb.base/nodebug.c (array_index): Call malloc.
30511
30512 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30513
30514 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30515
30516 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30517 conventions and slightly simplify the matching regexp.
30518
30519 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30520
30521 * gdb.base/break.exp: Update gdb_test invocation to use new
30522 convention.
30523
30524 * lib/gdb.exp: If noargs is not set, set it to 0.
30525
30526 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30527 tests unique.
30528
30529 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30530
30531 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30532
30533 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30534 one argument of type "<non-float parameter>".
30535
30536 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30537
30538 * config/rom68k.exp: New file to support Motorola IDP board.
30539 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30540 * gdb.base/break.c: Change things around so that this program
30541 doesn't depend upon args. This is necessary to make remote
30542 targets work (in general, they can't take args).
30543 * gdb.base/break.exp: Don't try to send args to program. Don't
30544 expect output. Also, replace lots of code with gdb_test.
30545
30546 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30547
30548 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30549 printing of '\'' (which is what the comment says we are testing,
30550 even though we were not), not '''.
30551 (test_integer_literals_rejected): Test that printing ''' is an error.
30552
30553 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30554 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30555 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30556 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30557 Use gdb_test not test_print_accept.
30558 * lib/gdb.exp: Remove test_print_accept.
30559
30560 * gdb.base/signals.exp (signal_tests_1): Make pass message
30561 consistent with fail message.
30562
30563 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30564 unsigned char; the bug (PR 1821) is fixed.
30565
30566 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30567
30568 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30569 successful tests--makes xfailing them work right.
30570
30571 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30572
30573 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30574 only \r\n, not .*. The test can pass .* as the last thing in
30575 $pattern if that is what it wants. In addition to providing this
30576 flexibility, this change should speed up pattern matching in cases
30577 where the pattern already ended with .* (there were a number of
30578 them). This change also helps catch bad patterns--in the old
30579 scheme the typo "char \*" instead of "char \\*" would pass. Now
30580 it is caught.
30581 * Many .exp files: Update callers.
30582
30583 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30584 clearer and does not spuriously match multiple ('s. Likewise for
30585 ) and *.
30586
30587 * gdb.base/nodebug.exp: Test ability to call a function and pass
30588 it a string (even with no debugging info).
30589
30590 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30591 "p '\'", which is the same as "p ''" once tcl gets done with
30592 quoting, to "p '\\'", which I suspect is what is intended (one
30593 backslash gets sent to GDB).
30594
30595 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30596
30597 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30598
30599 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30600 1817) was fixed literally years ago.
30601
30602 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30603
30604 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30605 test, it causes stepping out of call_after_alloca_subr with
30606 optimizing compilers.
30607 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30608 fails.
30609
30610 * gdb.c++/templates.exp: Source templ-info.exp only if
30611 the templates executable exists.
30612
30613 * gdb.c++/misc.cc (class Contains_static_instance,
30614 class Contains_nested_static_instance),
30615 gdb.c++/classes.exp (test_static_members): Test printing of
30616 a class that contains a static instance of the class.
30617
30618 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30619
30620 * gdb.base/langs2.c (cppsub_): Don't prototype.
30621 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30622 only, I believe).
30623
30624 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30625
30626 * lib/gdb.exp (skip_chill_tests): New procedure.
30627
30628 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30629
30630 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30631
30632 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30633 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30634
30635 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30636
30637 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30638
30639 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30640 disassemble 8, not 16, instructions for part 4.
30641
30642 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30643 support the latter anymore.
30644
30645 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30646 -DNO_PROTOTYPES.
30647 * gdb.base/callfuncs.c: Control use of prototypes based on
30648 NO_PROTOTYPES, not __STDC__.
30649 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30650 t_float_values2 tests if prototypes in use.
30651
30652 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30653 t_double_values): When checking differences against DELTA, check
30654 that difference is within the range (-DELTA,DELTA), not just
30655 (-infinity,DELTA).
30656
30657 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30658
30659 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30660 'file' command firts, then 'target', then 'load', this is due to gdb
30661 target set up.
30662 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30663
30664 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30665
30666 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30667 FP load/store variants.
30668 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30669
30670 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30671
30672 * gdb.base/term.exp: Do not give a warning if not native, it is
30673 not an abnormal condition.
30674
30675 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30676
30677 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30678 t_char_array".
30679
30680 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30681
30682 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30683 are getting the version number.
30684
30685 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30686 if not native, it is not an abnormal condition.
30687
30688 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30689
30690 * lib/gdb.exp: Just use "file exists", rather than undocumented
30691 dejagnu procedure "findfile".
30692
30693 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30694
30695 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30696 (LDFLAGS): Set to -Xlinker -Ur.
30697
30698 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30699 Removed, these values are set by lib/gdb.exp.
30700
30701 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30702
30703 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30704
30705 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30706 of replicating gdb startup code.
30707
30708 * config/mt-vxworks (LDFLAGS): Set to -r.
30709 (CFLAGS_FOR_TARGET): Removed.
30710
30711 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30712 (gdb) and gdb for vxworks uses (vxgdb).
30713
30714 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30715 executable is not in the tree and host != target, use sed and
30716 program_transform_name to determine the gdb name used by the
30717 target.
30718
30719 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30720 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30721
30722 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30723
30724 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30725 floats, chars, and shorts where there are ANSI-style function
30726 definitions.
30727
30728 * gdb.base/langs.exp, gdb.base/langs*: New test.
30729 * gdb.base/Makefile.in: Build it.
30730 * TODO: Remove item about checking that C names don't get C++
30731 demangling applied; this test tests it.
30732
30733 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30734
30735 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30736 went with the const70 xfail. The xfail went away a year ago.
30737
30738 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30739
30740 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30741 for hp300.
30742
30743 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30744
30745 * gdb.base/a1-selftest.exp: Don't run on hp300.
30746
30747 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30748
30749 * Makefile.in (site.exp): Set host_alias and target_alias as well
30750 as host_triplet and target_triplet.
30751
30752 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30753
30754 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30755
30756 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30757 places as other ecoff systems).
30758
30759 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30760 ultrix.
30761
30762 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30763
30764 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30765 remove them.
30766 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30767 variable and "variable" in addition to "data variable".
30768 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30769
30770 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30771 2.
30772 * gdb.base/list1.c (long_line): Add additional statement at start
30773 of function.
30774 * gdb.base/list.exp (test_forward_search): Update line number to
30775 reflect new statement.
30776
30777 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30778
30779 * gdb.base/signals.exp: Reinitialize searched source directories
30780 after gdb_start call.
30781
30782 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30783
30784 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30785 * gdb.stabs/Makefile.in: Likewise.
30786
30787 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30788 change. Instead split the tests into smaller pieces.
30789 * gdb.disasm/hppa.s: Corresponding changes.
30790
30791 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30792
30793 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30794 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30795
30796 * gdb.base/funcargs.exp: Modify many tests so that every test
30797 either passes or fails. Make some test names unique.
30798
30799 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30800
30801 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30802 Call stty to set interrupt character.
30803
30804 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30805 for HP assembler versus GNU assembler based on actual behavior of
30806 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30807
30808 * TODO: Suggest a few more stepping tests.
30809
30810 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30811
30812 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30813 restart GDB for h8300 after a continue.
30814 (return): Add pattern to match a29k-udi behavior.
30815 * gdb.base/nodebug.exp: Remove obsolete comment.
30816 * gdb.base/regs.exp: New file, testing of register displays.
30817 * gdb.base/return.exp: Fix typo in reference to $objdir.
30818 * gdb.base/whatis.exp: Always start with a fresh GDB.
30819
30820 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30821
30822 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30823 higher, these tests generate a lot of output.
30824
30825 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30826
30827 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30828 code following the catch silently ignored some errors; without the
30829 catch they should be thrown like any other tcl error. Also, the
30830 catch used "" instead of {} which meant all the callers who wanted
30831 to include one of the characters "[]$ had to quote it an extra time.
30832 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30833 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30834 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30835 Remove extra quoting.
30836
30837 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30838
30839 * gdb.base/commands.exp: Make test names unique; every test either
30840 passes or fails. Update some comments.
30841
30842 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30843
30844 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30845
30846 The following fixes a FAIL caused by the fact that the alpha stabs
30847 configuration didn't use the ".if alpha" code in weird.def.
30848 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30849 bit pointer, so the 32 bit version works even on the alpha.
30850 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30851 Remove the stuff which allowed us to have separate versions for
30852 alpha and everything else.
30853
30854 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30855 regexp which "info func operator\[\](" is supposed to match. Fix
30856 string to send to GDB. Note that GDB still doesn't work right. Add a
30857 new test for "info func .perator\[\](" which GDB does handle correctly.
30858
30859 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30860
30861 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30862
30863 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30864 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30865 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30866 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30867 it makes the tests harder to understand and confuses test-o-matic.
30868 The preferred style is that each test provides a PASS or a FAIL,
30869 and has a unique message (e.g. "continue #54" not just "continue")
30870 which is the same for the pass and the fail.
30871 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30872 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30873 to lib/gdb.exp.
30874 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30875 prt_accept which was basically the same thing. Likewise for
30876 test_print_reject and prt_reject.
30877 * lib/gdb.exp (test_print_reject): Add some more error message
30878 patterns to match from the former printcmds.exp (prt_reject).
30879 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30880 One defect of the passcount stuff is that some of it failed to
30881 report XPASS where appropriate.
30882 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30883 stuff before and after arg in expected pattern.
30884 (test_paddr_operator_functions): Re-do test without print_addr_of;
30885 this is the only test which seems to want extra stuff there.
30886
30887 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30888
30889 * gdb.base/nodebug.exp: Update new tests to reflect improved
30890 wording of gdb output.
30891
30892 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30893 and "ptype" work on variables in files compiled without -g.
30894 Replaces commented out "maint print msymbol" tests.
30895
30896 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30897
30898 * gdb.base/setvar.c (dummy): Call malloc.
30899
30900 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30901 losing with the irix4 sed.
30902
30903 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30904 ALRM" on irix4.
30905
30906 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30907
30908 * TODO: Remove items about corefile.exp testing new exec-file and
30909 backtrace; both are now done. Add items about printing enums.
30910
30911 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30912
30913 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30914 "get signal $thissig" test fails.
30915
30916 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30917
30918 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30919
30920 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30921 compiler warning with dec alpha compiler.
30922
30923 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30924 extra \n from gdb_test call (this explains why the prompt test
30925 that I removed yesterday was there).
30926 (user_defined_command_test): Remove extra \n and prompt test.
30927
30928 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30929 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30930 doesn't exist.
30931 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30932 Also remove alpha workaround, which turns out to be because
30933 SIGABRT == SIGLOST.
30934
30935 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30936
30937 * gdb.base/help.exp: Don't test "help show".
30938
30939 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30940
30941 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30942 "set print address" is on.
30943 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30944 pass prompt to gdb_test; gdb_test already looks for the prompt.
30945
30946 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30947
30948 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30949 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30950 was to make sure that gdb can read a core file. But (a) the "read
30951 the corefile" part didn't make it to a1-selftest.exp, we just
30952 delete the corefile after creating it, and (b) we test reading
30953 corefiles in corefile.exp anyway. Also, this test left around a
30954 xgdb process on Solaris.
30955
30956 * gdb.base/corefile.exp: Also test backtrace.
30957
30958 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30959
30960 * gdb.base/commands.exp: Test a simple user defined command with
30961 arguments and if/while statements; verify the full user command is
30962 printed by "show user".
30963
30964 * gdb.base/commands.exp: Test if/while commands as part of a
30965 breakpoint command list; verify they appear in breakpoint
30966 information.
30967
30968 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30969
30970 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30971 than by dividing by zero.
30972
30973 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30974
30975 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30976 performing an inferior call with watchpoints enabled.
30977 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30978 call.
30979
30980 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30981
30982 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30983 of "file" command.
30984
30985 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30986 Add additional pattern for when "int operator int(void);" appears
30987 in a different order.
30988
30989 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30990
30991 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30992
30993 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30994 and "signal" with ".*".
30995
30996 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30997
30998 * TODO: Add note about "handle all nostop".
30999
31000 * gdb.base/{sigall.c, sigall.exp}: New test.
31001 * gdb.base/Makefile.in: Add it.
31002
31003 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
31004
31005 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
31006 when invoking GDB, suppresses any windowing interface.
31007
31008 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
31009
31010 * config/sim-gdb: New file, simulator testing support.
31011
31012 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
31013
31014 * gdb.base/interrupt.exp: Test calling func1 twice.
31015
31016 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
31017
31018 * gdb.base/list.exp (test_forward_search): Set timeout higher
31019 when we'll be getting lots of output from gdb.
31020
31021 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
31022 "init_malloc" to after the expect statement. Run it if that
31023 regexp is taken, but also for two others which happen if source
31024 cannot be found.
31025
31026 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31027
31028 * gdb.base/printcmds.exp: New test, for printing register before
31029 program is running.
31030
31031 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31032
31033 * gdb.base/list.exp: Correct some alternate expect patterns
31034 to reflect changes in list1.c.
31035
31036 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31037
31038 * TODO: Add item regarding large frames.
31039
31040 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
31041
31042 * TODO: Remove item about enabling return.exp; it
31043 is enabled. Suggest a few more "return" tests.
31044
31045 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31046
31047 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
31048 anonymous unions.
31049
31050 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31051
31052 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
31053 and pr-5646.o, so "make" is the same as "make all", not "make
31054 pr-4975.o".
31055
31056 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
31057
31058 * gdb.base/list.exp: Adjust expectations to reflect changes in
31059 list1.c.
31060 (test_forward_search): New test proc.
31061 * gdb.base/list1.c (long_line): New function, has long source line.
31062
31063 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
31064
31065 * gdb.base/a1-selftest.exp: Change initial stepping to know about
31066 additional line of code that was added.
31067
31068 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
31069
31070 * gdb.disasm/hppa.s: Break the large branching tests into smaller
31071 tests so as not to overflow expect's input buffers.
31072 * gdb.disasm/hppa.exp: Corresponding changes.
31073
31074 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31075
31076 Beginnings of template debugging tests.
31077 * gdb.c++/templ-info.cc: New file to test for template
31078 debugging capability of the compiler.
31079 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
31080 templ-info.cc.
31081 * gdb.c++/templates.cc: Add explicit template instantiations
31082 to enable compiling with -fno-implicit-templates. Add destructor
31083 and 'value' method to T5 class for template tests.
31084 * gdb.c++/templates.exp: Add testcases for printing of template
31085 types, setting breakpoints on template methods and calling a
31086 template method.
31087
31088 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
31089
31090 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
31091 branch target since some assemblers (gas-2.5) may emit a
31092 relocation for the branch instead of resolving it in the
31093 assembler.
31094
31095 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31096
31097 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
31098 through signal handler.
31099
31100 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31101
31102 * configure.in (*-*-netware): Use config/mt-netware.
31103
31104 * config/mt-netware: New file.
31105 * config/mt-i386-netware: Removed, separate configs for different
31106 netware architectures are no longer needed now that we have
31107 --with-headers.
31108
31109 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31110
31111 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
31112 by the recent changes to use ANSI C arithmetic conversions.
31113
31114 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31115
31116 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
31117 bug involving using inferior_pid to figure out whether to select a
31118 frame.
31119
31120 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
31121
31122 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
31123 match the current disassembler output.
31124
31125 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
31126
31127 * gdb.fortran/exprs.exp: Expect VOID instead of void.
31128 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
31129 types, expect "int" as type of integer values (for now).
31130
31131 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
31132
31133 * gdb.base/commands.exp: New tests for if/while commands.
31134
31135 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
31136
31137 * lib/gdb.exp (runto): Replace sub-pattern for hex value
31138 by .*, since hex values have different syntax in Chill mode.
31139
31140 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31141
31142 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
31143 linefeed from expect pattern for repeated types with indices > 9.
31144
31145 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
31146
31147 First part of Fortran test suite.
31148 * gdb.fortran: New directory.
31149 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
31150
31151 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31152
31153 * gdb.base/default.exp: Update expect pattern for load command
31154 without arguments.
31155
31156 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
31157
31158 * configure.in: Change i386 to i[345]86.
31159 * gdb.base/configure.in: Likewise.
31160 * gdb.c++/configure.in: Likewise.
31161 * gdb.chill/configure.in: Likewise.
31162
31163 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
31164
31165 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
31166 patterns, since that is not a valid context for comments.
31167
31168 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
31169
31170 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
31171 repeated types and repeated types with indices > 9.
31172
31173 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
31174
31175 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
31176 2417; old bug has been fixed.
31177
31178 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
31179
31180 * gdb.base/interrupt.exp: When trying to wake up the inferior,
31181 send the newline ourselves instead of assuming gdb_test will do
31182 so when passed an empty input string.
31183
31184 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
31185 stabs testcode.
31186
31187 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31188
31189 * lib/gdb.exp (gdb_test): Don't send anything if the first
31190 argument is an empty string. This makes cases where we want to
31191 match output that is already in expect's buffers (for example,
31192 matching a breakpoint after gdb_run_cmd has been called) work
31193 reliably.
31194
31195 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31196
31197 * config/netware.exp: New file.
31198
31199 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31200
31201 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
31202 the -B and -L prefixes so we can find the debugging stub.
31203
31204 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
31205 there and we are using the gcc from the tree.
31206
31207 * gdb.base/types.c: Removed.
31208
31209 * gdb.base/configure.in: Look for makefile fragments in ../config.
31210 Recognize i386-*-netware.
31211 * gdb.c++/configure.in: Likewise.
31212
31213 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31214
31215 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
31216 the correct TCL syntax.
31217
31218 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31219
31220 * gdb.base/opaque.exp: use runto instead of messing around with
31221 breakpoints. Simplify by using gdb_test.
31222
31223 * gdb.base/bitfields.exp: restart between tests on netware targets
31224 because breakpoints aren't relocated after target death. Run
31225 processes to completion.
31226
31227 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
31228
31229 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
31230
31231 * Makefile.in: Remove extra tabs that confuse some versions
31232 of "make". Use the newly built gdb to test with by default,
31233 rather than the first one in the tester's search path.
31234
31235 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
31236
31237 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
31238
31239 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
31240 condition help.
31241
31242 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31243
31244 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
31245
31246 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
31247 running.
31248 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
31249 * gdb.base/funcargs.exp: Likewise.
31250
31251 * gdb.base/bitfields.exp: Simplify by using gdb_test.
31252 * gdb.base/funcargs.exp: Likewise.
31253
31254 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
31255 message is "".
31256
31257 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31258
31259 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
31260 return,signals,twice}.exp: Handle non-existant binaries
31261 consistantly.
31262
31263 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
31264 * gdb.base/Makefile.in: Don't try to generate a core dump, we
31265 might testing a cross development system.
31266
31267 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31268
31269 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
31270 runtest script is relative to ${srcdir}, not ${rootdir}.
31271
31272 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
31273
31274 * gdb.base/signals.exp: Allow for optionality of breakpoint
31275 address.
31276
31277 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31278
31279 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
31280
31281 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31282
31283 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
31284 for size_t definition.
31285 * gdb.c++/templates.cc: Likewise
31286
31287 * config/mt-i386-netware: New file.
31288
31289 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
31290 defined.
31291
31292 * gdb.base/Makefile.in: Added support for systems that name core
31293 files by appending "core" to the program name.
31294 * gdb.base/a1-selftest.exp: Likewise.
31295
31296 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31297
31298 * gdb.base/return.exp: Add comment and message for `return double'
31299 test failure on Sparc Solaris.
31300
31301 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
31302
31303 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
31304
31305 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31306
31307 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
31308 from optimizing them away.
31309 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
31310 patterns to include default constructors and assignment operators,
31311 to match gcc versions beyond 2.5.8. Accept any cplus demangling
31312 character in the output of the virtual base pointer.
31313
31314 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31315
31316 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
31317 expression match in print_addr_of to avoid unintented matches.
31318 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31319 versions up to 2.5.8.
31320
31321 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31322
31323 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31324 included file to run under newer versions of expect.
31325 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31326 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31327 Remove xfail for the virtual table of BDDHookV.
31328
31329 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31330
31331 * lib/gdb.exp (string_to_regexp): Set a default result.
31332 (default_gdb_start): Fix misleading message.
31333
31334 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31335
31336 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31337 Remove all CC, etc definitions.
31338 * config/mt-hpux: New file.
31339 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31340 (CFLAGS, LDFLAGS): Define.
31341 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31342
31343 * Makefile.in (site.exp): Don't insert host_os, etc.
31344 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31345 (distclean): Check existence of subdir.
31346 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31347 * gdb.base/Makefile.in: General cleanup and simplification.
31348 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31349 to build executables. Use default rule to build .o files.
31350 (EXPECT, RUNTEST, CC): Fix relative pathname.
31351 (site.exp): Don't insert host_os, etc.
31352 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31353 and/or SIGUSR1 defined.
31354 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31355 * gdb.c++/Makefile.in: General cleanup and simplification.
31356 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31357 (CFLAGS): Remove.
31358 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31359
31360 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31361
31362 * gdb.base/recurse.exp: Misc changes to get tests running again
31363 after Kung's changes to the watchpoint code.
31364 * gdb.base/watchpoint.exp: Likewise.
31365
31366 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31367
31368 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31369
31370 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31371
31372 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31373 * lib/gdb.exp (default_gdb_start): Define.
31374 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31375 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31376 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31377 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31378 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31379 Don't call gdb_target_udi in between tests.
31380
31381 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31382
31383 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31384 (which was basically just a local version of the same thing). In
31385 addition to avoiding duplication, gdb_test_exact is faster.
31386 * lib/gdb.exp (gdb_test_exact): Fix typo.
31387
31388 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31389 don't give an error.
31390
31391 * gdb.base/term.exp: Call delete_breakpoints before starting.
31392
31393 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31394 (t10): Add comment.
31395
31396 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31397
31398 Reorganization of the GDB Test Suite.
31399
31400 * gdb.base: New directory, contains all the basic tests.
31401 * gdb.c++: New directory, tests specific to C++.
31402 * gdb.chill: New directory, tests specific to Chill.
31403 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31404 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31405 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31406 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31407 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31408 t30-31 to chill).
31409 * */gdbme.*: Rename to match appropriate expect scripts.
31410 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31411 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31412 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31413 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31414 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31415 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31416 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31417 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31418 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31419 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31420 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31421 gdb.c++/virtfunc.cc: New names of C++ files.
31422 * gdb.chill/chillvars.ch: New name of Chill file.
31423 * gdb.base/configure.in, gdb.c++/configure.in,
31424 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31425 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31426 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31427 * configure.in (configdirs): Update to reflect directory changes.
31428 (target_abbrev): No longer define for any configuration.
31429 * Makefile.in: Cosmetic improvements to header comments.
31430
31431 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31432
31433 Various changes to gdb.t31:
31434
31435 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31436 * gdbme.ch: Make all key-words and predefineds be upper-case.
31437 * chillvars.exp: Expect key-words and predefinds in upper-case.
31438
31439 * chillvars.exp: Use gdb_test_exact many places.
31440 Change expected output for arrays (which now includes index labels).
31441
31442 * pr-5020.exp, gdme.ch (module PR_5020):
31443 New test, for PR-5020.
31444
31445 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31446
31447 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31448 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31449
31450 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31451
31452 * Makefile.in: Fix bit-rot in definitions of CHILL,
31453 CHILL_FOR_TARGET and Chill_LIB.
31454 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31455 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31456 CHILL, and CHILL_LIB.
31457
31458 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31459
31460 * Revert the previous changes. Please see Rob's directory
31461 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31462
31463 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31464
31465 * Makefile.in, configure.in, config/mips-gdb.exp,
31466 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31467 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31468 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
31469 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31470 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31471 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31472 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31473 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31474 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31475 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31476 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31477 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31478 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31479 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31480 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31481 changes from 94Q1.
31482
31483 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31484
31485 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31486 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31487 Rob's new testing fragments.
31488
31489 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31490
31491 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
31492 lib/gdb.exp: Replace error proc calls with perror.
31493
31494 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31495
31496 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31497 version also, match on casted version strings, and match on
31498 gdb startup case where the line numbers might be messed up.
31499
31500 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31501
31502 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
31503 (CFLAGS): Delete it from here.
31504
31505 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31506
31507 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31508
31509 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31510
31511 * Makefile.in (RUNTEST): Default to just "runtest".
31512
31513 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31514
31515 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31516 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31517 the code has been restructured.
31518
31519 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31520
31521 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31522 \n, not just one of each.
31523
31524 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31525 /bin/cc gives a warning if you do.
31526
31527 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31528
31529 * gdb.t24/demangle.exp: change expect pattern of
31530 __t10ListS_link1ZUiRCUiPT0
31531
31532 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31533
31534 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31535 on local variables in recursive functions.
31536
31537 * gdb.t07/Makefile.in: Build the new test.
31538
31539 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31540
31541 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31542 directly. Instead compare the return values from actual calls.
31543
31544 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31545
31546 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31547
31548 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31549
31550 * From Peter Schauer with minor modifications.
31551 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31552 stops in mid-line in the caller. Add xfail for returning a float
31553 value on X86 targets.
31554
31555 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31556
31557 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31558 to avoid expect lossage.
31559 (fmem_LRbug_tests): Likewise.
31560 * gdb.disasm/hppa.s: Corresponding changes.
31561
31562 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31563 conditions to work with latest dejagnu/expect.
31564
31565 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31566 expected to fail on the PA.
31567 (backtrace in call with trampolines): Explicitly require main
31568 to be frame #1 (no trampolines should show up in backtrace).
31569
31570 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31571 "continue -expect".
31572 * gdb.t06/break.exp: Likewise.
31573 * gdb.t07/watchpoint.exp: Likewise.
31574 * gdb.t13/bitfields.exp: Likewise.
31575 * gdb.t15/{funcargs,return}.exp: Likewise.
31576 * gdb.stabs/weird.exp: Likewise.
31577 * config/{mips,udi}-gdb.exp: Likewise.
31578
31579 * hppa.sed: Enclose comments within a sed command to avoid
31580 losing with the old OSF1 sed.
31581
31582 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31583
31584 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31585 sequent dynix.
31586 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31587 * gdb.t15/funcargs.exp: Conditionally step again to really
31588 finish from marker_call_with_trampolines. Handle the case where
31589 the first step from within call_with_trampolines already steps
31590 us back to main.
31591 * gdb.t15/gdbme.c: Add comment to closing brace of
31592 call_with_trampolines for funcargs.exp.
31593
31594 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31595
31596 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31597 Fix typo(s).
31598
31599 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31600
31601 * gdb.t07/gdbme.c: More code for watchpoint testing.
31602
31603 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31604 "Hardware watchpoint" throughout file.
31605 (test_watchpoint_triggered_in_syscall): New test.
31606 (test_complex_watchpoint): New test.
31607
31608 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31609
31610 * gdbme.c (call_with_trampolines): New function to try and step
31611 into. Tests trampoline problems on the PA.
31612
31613 * funcargs.exp (localvars_in_indirect_call): No longer expect
31614 stepping into indirect call to fail on PAs.
31615 (test_stepping_over_trampolines): New test.
31616
31617 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31618
31619 * TODO: Add suggestions for static member function tests, and
31620 completion tests.
31621
31622 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31623
31624 * TODO: Add suggestions for "p/a" tests.
31625
31626 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31627 (default_gdb_exit): Replace all the hair with sending "quit" to
31628 the process with a simple close.
31629
31630 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31631
31632 * TODO: Add suggestions for shared library tests.
31633
31634 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31635
31636 * TODO: Add suggestions for x/s tests.
31637
31638 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31639
31640 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31641 "enable once", and "enable breakpoints once" with ".*".
31642
31643 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31644
31645 * TODO: Add suggestions about structure passing tests.
31646
31647 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31648
31649 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31650 the primary1 test, use work around if __GNUC__ < 2.
31651 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31652 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31653 Test for bad output rather than waiting for timeout. Issue
31654 second continue only if first continue failed.
31655
31656 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31657
31658 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31659 operator[] test with gdb_test because the old code didn't seem to
31660 be getting the quoting right with the new dejagnu.
31661
31662 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31663
31664 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31665 one from the path.
31666 * Makefile.in: Use a fresh expect if there is one, use runtest
31667 from the src tree if there is one.
31668
31669 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31670
31671 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31672 next over recursive call. Revise the tests from that point on
31673 (which had been skipped) to match GDB's actual (correct) output.
31674
31675 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31676 with next over a breakpoint whose condition is false.
31677
31678 * gdb.t00/help.exp: Comment out "help set print" tests just like
31679 (and for same reason as) "help set" test.
31680
31681 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31682
31683 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31684 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31685
31686 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31687
31688 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31689 necessary gdb_target_udi.
31690
31691 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31692
31693 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31694 1838 and 2417; they are fixed.
31695
31696 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31697 gdb.t03/ptype.exp (ptype structure, ptype union):
31698 Remove xfails; the test is looser than when the xfails were added.
31699
31700 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31701 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31702
31703 * gdb.t01/run.exp: Only run shell test if isnative.
31704
31705 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31706 since "run" automatically loads if necessary. Call gdb_target_udi
31707 after the "file" since "file" kills any execution target.
31708
31709 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31710 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31711 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31712 argument for UDI.
31713
31714 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31715
31716 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31717
31718 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31719
31720 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31721
31722 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31723 properly quoting regexps. This makes the second argument to
31724 demangle a fixed string, which matches the callers, instead of a
31725 shell-style pattern which is what the previous implementation
31726 used. Update some of the callers.
31727
31728 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31729
31730 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31731 (comib_nullified_tests): Fix typo.
31732 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31733 strings. No longer expected to fail.
31734
31735 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31736 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31737 strings. No longer expected to fail.
31738
31739 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31740 string. No longer expected to fail.
31741
31742 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31743
31744 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31745 No longer expected to fail.
31746
31747 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31748 string. No longer expected to fail.
31749
31750 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31751
31752 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31753 only in the names (I probably got most of them). I was even
31754 generous with some which differed in underscores in names, and
31755 probably missed a few, and I *still* was able to remove almost a
31756 third of the file with almost no impact on testsuite coverage.
31757
31758 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31759
31760 * gdb.t00/default.exp: Match udi_attach error message as well as
31761 the one from child_attach.
31762
31763 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31764
31765 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31766
31767 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31768 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31769
31770 * Move test with enums and partial symbols back to
31771 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31772 Reverts the change of 26 May 93. Per today's change to
31773 stabs.texinfo, the behavior that weird.exp was expecting was
31774 unreasonable; what is important is that the compiler+gdb get
31775 things right, which happens with a recent gcc. Also fix the test
31776 to deal with native compilers which put out the stab gdb can't
31777 deal with.
31778
31779 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31780
31781 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31782 in the names. The main thing these accomplish is to slow things down.
31783 Many more such duplicates surely remain.
31784
31785 * gdb.t00/help.exp: Comment out "help support" test just like
31786 (and for same reason as) "help set" test.
31787
31788 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31789
31790 * gdb.t06/break.exp: Remove setup_xfails for
31791 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31792 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31793 about known bug in gcc to include up through 2.5.8.
31794 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31795 well as "_vb$".
31796 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31797 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31798 with latest gcc and gdb.
31799 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31800 well as "_vb$".
31801
31802 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31803
31804 * configure.in (hppa*-*-*): Also configure and build stabs-only
31805 tests.
31806
31807 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31808
31809 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31810 * gdb.t10/configure.in (hppa*-*-*): Use it.
31811
31812 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31813
31814 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31815
31816 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31817
31818 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31819 versions prior to 1.13.5.
31820
31821 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31822
31823 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31824 the prompt is at the start of a line.
31825
31826 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31827
31828 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31829 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31830 in the copr tests now.
31831 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31832 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31833 expected to fail.
31834
31835 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31836
31837 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31838 gdb.t31/chillvars.exp, lib/gdb.exp:
31839 Tweak to run under either version of expect.
31840 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31841 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31842 * gdb.t11/list.exp: Remove extraneous whitespace.
31843
31844 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31845
31846 * gdb.t16/printcmds.exp (test_print_strings): Accept
31847 "(unsigned char *) " before the string.
31848
31849 * TODO: Add notes about printing of fancy types and GDB expressions.
31850
31851 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31852
31853 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31854 * gdb.t06/configure.in: Don't try to compile signals test program
31855 if doing mips-idt-ecoff.
31856
31857 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31858
31859 * Most .exp files: Tweak to run under either version of expect.
31860
31861 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31862
31863 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31864 xfails; I'm not sure why they are failing, but not because of PR 1806.
31865
31866 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31867
31868 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31869 defined in lib/gdb.exp.
31870
31871 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31872
31873 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31874 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31875 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31876 have to be typeless.
31877
31878 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31879
31880 * TODO: Add suggestion for copyright year test.
31881
31882 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31883
31884 * configure.in (*-*-lynxos*): Add stabs tests.
31885
31886 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31887
31888 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31889 so insert a tab before any assembler directive in column zero.
31890
31891 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31892 stores.
31893 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31894 stores.
31895 (fpu_short_memory_tests): Likewise.
31896
31897 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31898
31899 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31900 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31901 .stabs directives in comments.
31902
31903 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31904
31905 * TODO: New file, describing tests we could write.
31906 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31907
31908 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31909
31910 * gdb.t06/signals.exp: Add kludge to force re-sync.
31911
31912 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31913 to xgdb instead of gdb, get out of gdb.
31914
31915 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31916
31917 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31918 for info.
31919
31920 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31921
31922 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31923 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31924 * gdb.stabs/hppa.sed: New sed script for the PA.
31925
31926 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31927
31928 * gdb.stabs: Re-write weird.def and configuration to use sed
31929 instead of cpp. sed is portable and POSIX; cpp is neither.
31930
31931 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31932
31933 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31934
31935 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31936
31937 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31938
31939 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31940
31941 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31942 "_vb$".
31943 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31944 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31945
31946 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31947
31948 * lib/gdb.exp: Comment out code which depends on non-existent
31949 `transform' procedure.
31950
31951 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31952
31953 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31954 * lib/gdb.exp: Transform tool name.
31955 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31956 1.1's new error handling system.
31957
31958 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31959
31960 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31961
31962 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31963
31964 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31965 They made pattern matching so slow that timeouts happened on
31966 heavily loaded systems. Now any output from "show print" which
31967 gets us back to the GDB prompt is a PASS.
31968
31969 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31970
31971 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31972
31973 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31974
31975 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31976
31977 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31978 It is not from PR 3220.
31979
31980 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31981
31982 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31983 just started failing because they depended on the order the
31984 subcommands are presented, or exact docstring text. This kind of
31985 test is a pain and has minimal benefit.
31986
31987 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31988
31989 * gdb.t09/corefile.exp: At end of test, use "core" command with
31990 no arguments.
31991
31992 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31993
31994 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31995 17}/Makefile.in: Make it possible to run the testsuite with Sun
31996 make and CC = cross gcc by adding explicit build rules for .o
31997 files.
31998
31999 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32000
32001 * gdb.t15/funcargs.exp: Don't put comments on same line as
32002 setup_xfail (@#$*%& tcl braindamage!).
32003
32004 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32005
32006 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
32007
32008 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
32009
32010 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
32011 * gdb.t20/inherit.exp: remove three dumplicate entries.
32012
32013 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32014
32015 * gdb.t06/break.exp: For "next over recursive call", fail on any
32016 incorrect output, not just on "factorial (value=2)".
32017
32018 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32019
32020 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
32021 working now. Add an xfail if accesing a bss variable causes
32022 a memory error if the target is not yet run.
32023
32024 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32025
32026 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
32027 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
32028 name of __st* demangling (2 strings). Did Kung really get the
32029 more than 95 others right without testing them?
32030
32031 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
32032
32033 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
32034
32035 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
32036
32037 * configure.in (configdirs): Add gdb.disasm
32038 * gdb.disasm: New directory for GDB disassembler tests.
32039 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
32040
32041 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32042
32043 * gdb.t00/help.exp: Don't test "help set".
32044
32045 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
32046 from within expect statements. None of these happen anymore and
32047 they cause regressions to be silently unnoticed.
32048
32049 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
32050 messages) about known failures with gcc cygnus-2.4.5-930417.
32051
32052 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
32053 comp-info.exp so it gets built if it doesn't exist.
32054
32055 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
32056 it is no longer used.
32057 * gdb.t13/comp-info.c: Removed.
32058
32059 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32060
32061 * gdb.t06/signals.exp: Add xfail for sun3.
32062
32063 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32064
32065 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
32066 relevant because ^C doesn't get sent but failure can be reproduced
32067 interactively).
32068
32069 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32070
32071 * gdb.stabs/alpha.mt: New configuration file for alpha.
32072 * gdb.stabs/configure.in: Use it.
32073 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
32074 sharing with alpha.mt, redefine long to word via preprocessor.
32075 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
32076 for alpha.
32077 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
32078 native cc.
32079 * gdb.t00/teststrategy.exp: Change expect string so that we
32080 consume the `(xgdb)' from the command echo and from the gdb prompt.
32081 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
32082 gdb currently compares all values as long, so this failure probably
32083 applies to any configuration where LONGEST is bigger than a target int.
32084 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
32085 with gcc.
32086 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
32087 to handle opaque pointers, gcc is.
32088 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
32089 as first argument. Include <sys/types.h> and change all operator
32090 new definitions to use size_t.
32091 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
32092 now that we use size_t.
32093
32094 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32095
32096 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
32097 a long or float array cast all array members to the same type.
32098 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
32099 with 64 bit longs.
32100 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
32101 on alpha.
32102 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
32103
32104 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32105
32106 * gdb.t24 (demangle.exp): Constructors of templates have names like
32107 vector<int>::vector(int) not vector<int>::vector<int>(int). See
32108 section 14.6 of the ARM.
32109
32110 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
32111 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
32112 accomplish little and slow down the testsuite.
32113
32114 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
32115 Accept spaces various places.
32116
32117 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32118
32119 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
32120 with watchpoint enabled.
32121
32122 * Makefile.in: Remove definition of CC and remove the second
32123 definition of CXX (the "CXX = gcc" one remains). These definitions
32124 were causing backquotes to be expanded within backquotes, which
32125 doesn't work.
32126
32127 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
32128
32129 * gdb.t17/callfuncs.exp: Add "return 0" to end.
32130
32131 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32132
32133 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
32134 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
32135 by mips cc and contains no stabs entries.
32136
32137 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
32138
32139 * config/vx-gdb.exp: Use fake device to load files rather than
32140 NFS.
32141 * lib/gdb.exp: New proc to do "file" command.
32142 * config/unix-gdb.exp: Use new "file" proc.
32143
32144 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
32145
32146 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
32147 Rework board rebooting slightly.
32148 (gdb_exit): Don't exit from the remote shell; there isn't one.
32149 * gdb.stabs/weird.exp: If a program is being debugged already,
32150 kill it.
32151 * gdb.t04/setvar.exp: Stop and restart gdb.
32152 * gdb.t05/expr.exp: Likewise.
32153 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
32154 restart gdb and reload the program.
32155 * gdb.t08/opaque.exp: Likewise.
32156 * gdb.t12/scope.exp: Likewise.
32157 * gdb.t13/bitfields.exp: Likewise.
32158 * gdb.t15/funcargs.exp: Likewise.
32159 * gdb.t20/classes.exp: Likewise.
32160 * gdb.t03/ptype.exp: Increase timeout.
32161 * gdb.t16/printcmds.exp (test_print_string_constants,
32162 test_print_array_constants): Likewise.
32163 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
32164 * gdb.t20/classes.exp (do_tests): Likewise.
32165 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
32166
32167 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
32168
32169 * gdb.stabs: Renamed *wierd* to *weird*.
32170
32171 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32172
32173 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
32174 for timeout. Add "known gcc 2.4.5 bug" to failure message.
32175
32176 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32177
32178 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
32179 (do_tests): Remove xfail for whatis on one_var and two_var.
32180
32181 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
32182
32183 * Makefile.in: Made cross building work better by adding
32184 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
32185
32186 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32187
32188 * gdb.t15/{return.c,return.exp,Makefile.in}:
32189 New test, currently commented out.
32190
32191 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
32192
32193 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
32194 still running and removes the leftover named socket so GDb can do
32195 clean restarts.
32196
32197 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
32198
32199 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
32200 console, not GDB.
32201 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
32202 cross testing works better with "make check"
32203 * config/unix-gdb: Use default procedures for exit and version.
32204 * config/vx-gdb.exp: Cleaned up and massaged back to working order
32205 with the newest VxWorks.
32206
32207 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32208
32209 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
32210 old form.
32211
32212 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
32213 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
32214
32215 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
32216
32217 * config/unix-gdb.exp: Remove this version of gdb_exit
32218 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
32219 Rob says he'll look at it when he gets back to testing boards.
32220
32221 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
32222
32223 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
32224 an expected fail for certain ptype commands.
32225
32226 * gdb.t20/classes.exp: Update expected results of "ptype class
32227 Base1" to account for the constructor that now appears in the type.
32228
32229 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
32230
32231 * configure.in (configdirs): Restore gdb.t04, which mysteriously
32232 disappeared from list.
32233 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
32234 "alldone" proc with call to cleanup and exit.
32235 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
32236 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
32237 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
32238 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
32239 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
32240 "alldone" proc with simple returns that suppress remaining
32241 tests. The alldone proc went away many months ago.
32242
32243 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32244
32245 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
32246
32247 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
32248
32249 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32250
32251 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
32252 as vax gdb will display them.
32253
32254 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32255
32256 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
32257 optimizers.
32258
32259 * scope.exp: Change "bad value for localval" messages so each one
32260 is unique.
32261
32262 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
32263 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
32264
32265 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
32266
32267 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32268
32269 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
32270 doesn't exist (due to optimization).
32271
32272 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32273
32274 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
32275 contains \r because the filename is long.
32276
32277 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
32278 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
32279
32280 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32281
32282 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
32283 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
32284 Ultrix.
32285 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
32286 int tests.
32287 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
32288
32289 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
32290
32291 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
32292
32293 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
32294 to match does not match the passing case but still matches the
32295 failing case.
32296
32297 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32298
32299 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
32300
32301 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
32302
32303 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
32304 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
32305 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
32306 Remove various versions of gdb_exit.
32307 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
32308 gdb_exit.
32309 * config/unix-gdb.exp: gdb_exit remains here, and should override
32310 the generic version, since it's doing a lot of wierd stuff that
32311 the other versions aren't. FIXME, fold it in, or abandon this
32312 version.
32313
32314 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32315
32316 * gdb.t24/demangle.exp: Add tests for PR 3220.
32317
32318 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32319
32320 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32321
32322 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32323
32324 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32325 "i386-*-*". Works for i486 as well.
32326
32327 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32328 bug, and expand domain of xfail to all SVR4 systems, since the
32329 actual problem is likely to be in generic SVR4 /proc support.
32330
32331 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32332
32333 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32334
32335 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32336
32337 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32338 xfails for other systems. Match a missing 'Continuing.' as an
32339 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32340
32341 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32342 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32343 Only issue warning for missing executables if -all option is used.
32344
32345 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32346 file if -all option is used. It's like an unpredictable XFAIL.
32347
32348 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32349
32350 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32351 for dynamically linked binaries.
32352
32353 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32354
32355 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32356
32357 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32358 to state that this is a known bug in old versions of g++.
32359
32360 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32361
32362 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32363 while waiting for `Continuing'.
32364
32365 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32366
32367 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32368 in text, data, and bss.
32369 * gdb.t10/nodebug.c: Add local and global test variables for
32370 initialized and uninitialized data.
32371
32372 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32373
32374 * config/unix-gdb.exp (gdb_exit): Add "wait".
32375
32376 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32377
32378 * gdb.t06/signals.exp: xfail the continue from the handler for all
32379 targets.
32380
32381 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32382 function with watchpoints enabled, the i386 call dummy starts with
32383 a call.
32384
32385 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32386 386 bsd names its corefiles.
32387
32388 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32389
32390 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32391 compilers don't grok it.
32392 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32393 with small octal ints rather than character constants, which
32394 are signed and might not fit if first promoted to int.
32395
32396 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32397
32398 * gdb.t09/Makefile.in (clean): Remove corefile.
32399
32400 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32401
32402 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32403
32404 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32405 and Jim Kingdon (kingdon@cygnus.com)
32406
32407 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32408 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32409 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32410
32411 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32412
32413 * gdb.t17/interrupt.exp: Add xfail for hppa.
32414
32415 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32416
32417 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32418 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32419 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32420 to determine signed-ness of bitfields and use the result to setup
32421 the xfail.
32422 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32423 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32424 call line is reached if necessary.
32425
32426 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32427
32428 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32429
32430 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32431
32432 * gdb.t06/break.exp: Also test `clear' command.
32433
32434 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32435
32436 * gdb.t00/teststrategy.exp: Remove extra quote.
32437
32438 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32439 watchpoint enabled to be for all non-68k machines.
32440
32441 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32442
32443 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32444
32445 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32446 targets use aout.mt instead of ecoff.mt as gas understands
32447 standard aout format.
32448
32449 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32450
32451 * lib/gdb.exp (runto): Don't insist that function we are running to
32452 was compiled with -g.
32453
32454 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32455
32456 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32457 to get back into the read system call.
32458 Accept leading newline in case where we woke it up.
32459
32460 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32461
32462 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32463 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32464 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32465 enable ecoff configuration.
32466
32467 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32468
32469 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32470
32471 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32472
32473 * gdb.t16/printcmds.exp: Add another printf test.
32474
32475 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32476
32477 * configure.in: If configured -with-stabs on any target, add
32478 stabsdirs to configdirs.
32479
32480 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32481
32482 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32483 fun" so pattern does not match the command itself.
32484
32485 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32486
32487 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32488
32489 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32490
32491 * gdb.t17/interrupt.exp: Test for more things.
32492
32493 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32494
32495 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32496 compiler arranges the code and line numbers.
32497
32498 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32499
32500 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32501
32502 * gdb.t00/help.exp: Increase expect input buffer size.
32503
32504 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32505
32506 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32507
32508 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32509
32510 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32511
32512 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32513 [0-9]*, not just [0-9].
32514
32515 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32516
32517 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32518
32519 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32520
32521 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32522
32523 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32524
32525 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32526
32527 * gdb.t06/signals.c: Add xfails for sun3.
32528
32529 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32530
32531 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32532 test_stepping tests.
32533
32534 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32535
32536 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32537
32538 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32539
32540 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32541 rather than actually putting it through cpp twice.
32542
32543 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32544
32545 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32546
32547 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32548 no longer needed.
32549
32550 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32551
32552 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32553
32554 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32555 C++ features prints as "struct", make it a pass, not an xfail.
32556
32557 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32558
32559 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32560 Don't require VA to print as "class" rather than "struct".
32561
32562 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32563
32564 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32565
32566 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32567
32568 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32569
32570 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32571
32572 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32573 order.
32574
32575 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32576
32577 * gdb.t16/printcmds.exp: Add printf tests.
32578
32579 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32580
32581 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32582
32583 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32584
32585 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32586 pass counts, to counteract any existing or future setup_xfails.
32587
32588 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32589
32590 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32591 {BEGIN,END}_COMMON for common block instead of STAB.
32592 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32593
32594 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32595 intp_var should be N_GSYM not N_LSYM.
32596 wierd-aout.S: Use a label for the value of the N_SO.
32597 wierd.def: Remove all backslashes.
32598 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32599
32600 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32601
32602 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32603 get the expected next to inheritance3.
32604
32605 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32606
32607 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32608 now that gcc-2.4 gets it right.
32609
32610 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32611
32612 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32613
32614 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32615 generating comp-info.exp which works for cross-compilation.
32616
32617 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32618
32619 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32620 "*-*-sysv4.*".
32621
32622 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32623
32624 * gdb.t01/run.exp: Start with a fresh gdb.
32625 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32626 SVR4.x.
32627
32628 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32629
32630 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32631 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32632 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32633 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32634 things to remove.
32635
32636 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32637
32638 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32639 test cases from bug reports.
32640
32641 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32642
32643 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32644 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32645 avoid spurious xfails.
32646 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32647 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32648 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32649
32650 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32651
32652 * gdb.t00/teststrategy.exp: Rework to provide more useful
32653 description of each test, fix problem with systems that define
32654 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32655 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32656 results for "next over recursive call" so timeouts aren't taken
32657 by error.
32658
32659 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32660
32661 * gdb.t12/scope.exp: Test printing of variables before run.
32662
32663 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32664 printed in wrong order due to sorting.
32665
32666 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32667
32668 * gdb.t00/teststrategy.exp: Fix expected results for printing
32669 user entered string constant. Is array of char, prints with no
32670 address.
32671
32672 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32673 commands.
32674 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32675 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32676 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32677 of struct of char arrays.
32678 * gdb.t00/radix.exp: New tests for radix commands.
32679
32680 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32681
32682 * gdb.t16/printcmd.exp: Print a variable before running program
32683 (with xfail for AIX).
32684
32685 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32686
32687 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32688
32689 * gdb.t16/printcmd.exp: Don't print variables before running program.
32690
32691 * gdb.t06/break.exp: Don't require envp argument to main.
32692
32693 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32694
32695 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32696 Add xfails for rs6000.
32697
32698 * gdb.t02/whatis.exp: Change other tests not to re-test something
32699 we already tested.
32700
32701 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32702 each type used has a variable of that type.
32703
32704 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32705
32706 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32707
32708 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32709
32710 * configure.in: change srctrigger to be a file, not a directory
32711
32712 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32713
32714 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32715
32716 * gdb.t11/list.exp: Fixed a couple of typos.
32717
32718 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32719
32720 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32721 is fixed and PR is closed.
32722 * gdb.t16 (gdbme.c): Add simple test string variable.
32723 * gdb.t16 (printcmds.exp): Add tests with simple test string
32724 variable, primarily for boundaries on "set print elements".
32725
32726 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32727
32728 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32729 Make leading 0's optional and don't expect a tab in the middle
32730 of the number.
32731
32732 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32733
32734 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32735 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32736 don't end command passed to gdb_test with newline.
32737
32738 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32739 signed keyword away, don't expect signed bitfields to be signed.
32740
32741 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32742 printing with only as many 1's as are in the field as well as printing
32743 with 32 1's (see comment).
32744
32745 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32746
32747 * gdb.t00/default.exp: Start with a fresh gdb.
32748 * configure.in (configdirs): Remove gdb.t31 until the chill
32749 compiler works again. It no longer is able to find chillrt0
32750 since it isn't in libchill.a anymore.
32751 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32752 wierd.o, make more modular.
32753 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32754 spurious newlines that caused problems.
32755
32756 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32757
32758 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32759 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32760 gdb.stabs/wierd.{exp,def}: Many new tests.
32761
32762 * gdb.t00/default.exp: update info line for new message.
32763
32764 * gdb.t02/{whatis.exp,gdbme.c}:
32765 Test that "char *" doesn't print as "caddr_t".
32766
32767 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32768
32769 * gdb.t00/help.exp: Use .* in place of some help messages which
32770 just changed.
32771 gdb.t00/default.exp: Update "info frame" test for new message.
32772 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32773 Remove some xfails
32774
32775 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32776
32777 * gdb.t03/{gdbme.c,ptype.exp}:
32778 Add tests for typedef'd struct and union without tags.
32779 Also check "whatis" on a variable of a typedef'd enum without a tag.
32780
32781 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32782 PRMS 1823; the bug still exists but isn't reproduced by this test
32783 anymore), and remove rs6000 XFAIL (the bug is fixed).
32784
32785 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32786 duplicated from whatis.exp. For those that are left, accept
32787 "long", "long int", or "int" for long variables (whatis.exp already
32788 has an XFAIL for "int", so no need to fail it here).
32789
32790 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32791 Deal with GCC's names for types now that GDB uses the compiler's names.
32792
32793 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32794 setup_xfail's for sunos4. If we #defined the signed keyword away,
32795 don't expect GDB to know that char it is signed.
32796
32797 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32798
32799 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32800
32801 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32802 should work on any system, regardless of debugging format.
32803 * gdb.t21/demangle.exp: Move to gdb.t24.
32804 * gdb.t24/demangle.exp: Move from gdb.t21.
32805 * gdb.t24/{Makefile.in, configure.in}: New files.
32806
32807 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32808
32809 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32810 * gdb.stabs: New directory.
32811
32812 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32813
32814 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32815 not just "Quit anyway?".
32816
32817 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32818
32819 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32820 that all setup_xfails are immediately followed by clear_xfails.
32821
32822 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32823
32824 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32825 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32826 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32827 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32828 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32829 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32830 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32831 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32832 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32833 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32834 gdb.t31/chillvars.exp, lib/gdb.exp:
32835 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32836 bug-gdb@prep.ai.mit.edu.
32837
32838 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32839
32840 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32841 with 0.0, not integer 0.
32842
32843 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32844
32845 * gdb.t06/break.exp: Update for "Kill the program" message change.
32846
32847 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32848
32849 * Makefile.in (GDBFLAGS): Set to -nx.
32850 * Makefile.in (site.exp): Use GDBFLAGS.
32851
32852 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32853
32854 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32855 Makefiles.
32856 (check): depend on just-check.
32857 (just-check): added so that tests can be run without a noop
32858 build pass.
32859
32860 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32861
32862 Switch to using configure's configdirs.
32863 * Makefile.in (Makefile): add configure.in dependency.
32864 (SUBDIRS): removed redundant assignment.
32865 * configure.in: switch subdirs assignment to configdirs.
32866 * gdb.t*/configure.in: new files.
32867
32868 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32869
32870 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32871 works.
32872
32873 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32874
32875 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32876 in explicit rules. Apparently this is not supported by some makes.
32877
32878 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32879
32880 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32881
32882 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32883
32884 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32885 disappeared.
32886
32887 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32888
32889 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32890
32891 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32892
32893 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32894 watchpoint problem that is now fixed.
32895 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32896 uninitialized convenience variables.
32897 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32898 structures.
32899
32900 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32901
32902 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32903 which causes expect to get out of sync with gdb on long output
32904 from help set.
32905 * gdb.t09/corefile.exp: Make expected pattern for core file
32906 failing signal and frame output format less sun specific.
32907
32908 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32909
32910 * gdb.t31/chillvars.exp: Add and remove initial dummy
32911 breakpoint, so that symbol table is forced in.
32912 (Needed at least on Sunos4, though it seems not SVR4.)
32913 * gdb.t31/chillvars.exp: Update for changed output format.
32914
32915 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32916
32917 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32918
32919 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32920
32921 * Makefile.in: Added --srcdir when invoking runtest, removed the
32922 need for a local config file. (optional now)
32923
32924 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32925
32926 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32927 failure count used to force early termination. Add some more
32928 expected failures for gnu style demangling.
32929
32930 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32931
32932 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32933 pmi variable from gdb.t20/gdbme to get optimized away.
32934 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32935 Check for written corefile upon timeout _and_ eof.
32936
32937 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32938
32939 * config/unix-gdb.exp: Add missing return 0.
32940
32941 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32942
32943 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32944 test termination.
32945
32946 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32947
32948 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32949 disappeared.
32950
32951 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32952
32953 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32954 time as i860 support works.
32955
32956 * gdb.t15/funcargs.exp: Fix expected outputs to include
32957 "backtrace 100\r" rather than just "backtrace\r", to match last
32958 change.
32959
32960 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32961
32962 * config/udi-gdb.exp (gdb_exit): Remove close command.
32963 (gdb_target_udi): New procedure to set the UDI target.
32964 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32965 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32966 Added waits for prompts after several question responses. Added
32967 some more responses used by a29k-amd-udi-gdb.
32968 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32969 pass different arguments, restart UDI connection after program
32970 completion.
32971 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32972 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32973 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32974 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32975 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32976 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32977 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32978 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32979 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32980 after program completion.
32981 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32982 compiled with a SELECT_VECS setting.
32983 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32984 infinite recursion.
32985
32986 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32987 Added checks for COFF results, and made them expected failures for
32988 all targets. It would be better to make them expected failures
32989 for COFF targets only.
32990
32991 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32992
32993 * Makefile.in: add null dvi target, don't bother to recurse
32994 through test directories for info and install-info; rename
32995 $(datadir) to be dejagnu instead of deja-gnu
32996
32997 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32998
32999 * gdb.t31/gdbme.ch: Re-enable code that previously caused
33000 compiler to coredump.
33001 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
33002 code.
33003
33004 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
33005
33006 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
33007 coredump.
33008 * gdb.t31/chillvars.exp: Comment out tests that depend on that
33009 code.
33010
33011 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
33012
33013 * gdb.t03/ptype.exp: tests for return code from gdb_test.
33014 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
33015 which in a shell. Deletes xgdb when done.
33016 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
33017 Tests the return from the "set height" or "set width" commands.
33018 Added a few return codes where needed.
33019
33020 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
33021
33022 * Makefile.in (SUBDIRS): Add gdb.t17.
33023 * configure.in (subdirs): Add gdb.t17.
33024 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
33025 files to test gdb's calling of functions in the inferior with
33026 the correct arguments and gdb's ability to retrieve any
33027 result returned.
33028
33029 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
33030
33031 * config/unix-gdb.exp (gdb_exit): Remove close commands that
33032 may be called after gdb goes away. Previous versions of expect
33033 needed these to avoid file descriptor leaks, but they cause
33034 errors with the current revision of expect.
33035 * gdb.t00/gdbvars.exp: Use -re on expected output after
33036 setting sevenbit-strings.
33037 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
33038 to set sevenbit-strings consistent across tests.
33039 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
33040 set sevenbit-strings consistent across tests.
33041
33042 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
33043
33044 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
33045 expected output to match current "expect" expectations.
33046
33047 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
33048
33049 * gdb.t00/default.exp: Change expected output for default "source"
33050 command, to match new gdb behavior which requires a filename to
33051 source.
33052
33053 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
33054
33055 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
33056 expected fail for i486-*-* that misses the marker2 function.
33057 * gdb.t10/crossload.exp (bfddefault): Allow successful
33058 recognition of a format to pass even if no symbols are found.
33059 Explicitly catch failures where the format is not recognized
33060 or is ambiguous, and add the reason to the fail message.
33061 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
33062 the cause is and invalid target and add reason to failure message.
33063 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
33064 elf32-i386, elf32-sparc, and elf32-i860.
33065 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
33066 Set up expected failure for 'filename'::variable scope resolution,
33067 which is now apparently broken on all targets.
33068 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
33069 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
33070 gdb.t23/templates.exp: Change failure for missing binfile into
33071 just a warning.
33072 gdb.t21/demangle.exp: Change all cfront references to 'arm'
33073 references.
33074
33075 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
33076
33077 * gdb.t00/default.exp: Add expected output for default "source"
33078 command, to match new gdb behavior.
33079 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
33080
33081 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
33082
33083 * config/*-gdb.exp: returns an error, rather than exiting on
33084 internal errors.
33085
33086 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
33087
33088 * gdb.t03/gdbme.c: Add pointer to struct variable.
33089 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
33090 referencing struct members.
33091
33092 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
33093
33094 * configure.in (mips-idt-ecoff): New target.
33095 * config/mips-gdb.exp: New file for remote board using MIPS remote
33096 debugging protocol.
33097
33098 * Redid configuration scheme. Removed gdb.t*/configure.in.
33099 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
33100 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
33101 distclean targets. Built executables via .o files. Adjusted
33102 tests to account for source files in $(srcdir) rather than
33103 $(objdir).
33104 * lib/gdb.exp (runto): Don't expect () after the function name,
33105 because it may have arguments.
33106
33107 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
33108
33109 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
33110 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
33111 expected failures for mips-idt-* and mips-sgi-*.
33112 * gdb.t00/default.exp (attach): Kill process if requested.
33113 * gdb.t00/help.exp (help target core, help target): Accept a gdb
33114 that does not read core files.
33115 * gdb.t01/run.exp: Removed checks for exit status code.
33116 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
33117 it is linked in.
33118 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
33119 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
33120 appropriate, rather than doing it by hand.
33121 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
33122 execution.
33123 * gdb.t10/crossload.exp: Kill existing program if needed.
33124 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
33125 appropriate, rather than doing it by hand. Always increase
33126 timeout for this test, not just for VxWorks.
33127
33128 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
33129
33130 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
33131 of Chill STRUCT types and STRUCT values.
33132 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
33133 than "char".
33134 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
33135 struct2): New struct definitions and initializations to test
33136 simple Chill STRUCT types.
33137
33138 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
33139
33140 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
33141 the null byte at the end of strings.
33142 * gdb.t00/default.exp: Make show version insensitive to copyright
33143 date.
33144 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
33145 to avoid dependencies on target char signedness.
33146 * gdb.t16/printcmds.exp: Update expected results for explicitly
33147 unsigned char.
33148 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
33149 now work.
33150 * gdb.t21/demangle.exp: Add many more patterns for template
33151 demangling, most of them being expected failures.
33152 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
33153 string we are matching for, to match on the whole string.
33154 * gdb.t21/demangle.exp: Add many new test strings to demangle,
33155 and fix a whole bunch that had incorrect expected output but were
33156 passing anyway because of the bug in "proc demangle".
33157 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
33158 type.
33159 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
33160
33161 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
33162
33163 * gdb/testsuite: made modifications to testcases, etc., to allow
33164 them to work properly given the reorganization of deja-gnu and the
33165 relocation of the testcases from deja-gnu to a "tool" subdirectory.
33166
33167 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
33168
33169 * gdb/testsuite: Initial creation of gdb/testsuite.
33170 Migrated dejagnu testcases and support files for testing nm to
33171 gdb/testsuite from deja-gnu. These files were moved "as is"
33172 with no modifications. This migration is part of a major overhaul
33173 of dejagnu. The modifications to these testcases, etc., which
33174 will allow them to work with the new version of dejagnu will be
33175 made in a future update.
33176
33177 For additional changes see gdb.mi/ChangeLog-1999-2003.
33178 \f
33179 ;; Local Variables:
33180 ;; mode: change-log
33181 ;; left-margin: 8
33182 ;; fill-column: 74
33183 ;; version-control: never
33184 ;; End:
33185
33186 Copyright 1993-2013 Free Software Foundation, Inc.
33187 Copying and distribution of this file, with or without modification,
33188 are permitted provided the copyright notice and this notice are preserved.
This page took 0.689546 seconds and 5 git commands to generate.