* gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-10-14 Tom Tromey <tromey@redhat.com>
2
3 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
4 name to gdb_test_no_output.
5
6 2013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7
8 Canonicalize directories for EXEC_FILENAME.
9 * gdb.base/argv0-symlink.exp
10 (kept file symbolic link name for info inferiors): New.
11 (kept directory symbolic link name): Setup kfail.
12 (kept directory symbolic link name for info inferiors): New.
13
14 2013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
15
16 * gdb.arch/s390-multiarch.exp: New file.
17 * gdb.arch/s390-multiarch.c: New file.
18
19 2013-10-11 Joel Brobecker <brobecker@adacore.com>
20
21 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
22 use the appropriate GDB/MI command instead, and verify
23 the test output.
24
25 2013-10-11 Joel Brobecker <brobecker@adacore.com>
26
27 * gdb.base/source-nofile.gdb: New file.
28 * gdb.base/source.exp: Add two tests verifying the behavior when
29 the "source" command is given a non-existant filename.
30
31 2013-10-11 Yao Qi <yao@codesourcery.com>
32
33 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
34 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
35 and 'dlclose'.
36 [!__WIN32__]: Include "dlfcn.h".
37 * gdb.mi/mi-catch-load.exp: Set up kfail.
38
39 2013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
40
41 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
42 generated corefile" by argument "$test".
43
44 2013-10-09 Pedro Alves <palves@redhat.com>
45
46 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
47 output.
48
49 2013-10-09 Pedro Alves <palves@redhat.com>
50
51 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
52 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
53 (test_catch_syscall_with_wrong_args)
54 (test_catch_syscall_restarting_inferior)
55 (test_catch_syscall_fail_nodatadir)
56 (test_catch_syscall_without_args_noxml)
57 (test_catch_syscall_with_args_noxml)
58 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
59
60 2013-10-08 Tom Tromey <tromey@redhat.com>
61
62 * gdb.dwarf2/dwzbuildid.exp: New file.
63 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
64 parameters.
65 (Dwarf::_defer_output): Change "section" parameter to
66 "section_spec"; update.
67 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
68 procs.
69
70 2013-10-08 Joel Brobecker <brobecker@adacore.com>
71
72 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
73
74 2013-10-07 Tom Tromey <tromey@redhat.com>
75
76 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
77 to 0.
78
79 2013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
80
81 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
82 $_exitcode is void when opening a corefile.
83 * gdb.base/exitsignal.exp: New file.
84 * gdb.base/segv.c: Likewise.
85 * gdb.base/normal.c: Likewise.
86
87 2013-10-04 Joel Brobecker <brobecker@adacore.com>
88
89 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
90
91 2013-10-02 Vidya Praveen <vidyapraveen@arm.com>
92
93 * gdb.trace/entry-values.exp: Modify regular expression to scan for
94 'bl' instruction instead of 'call' for ARM and AArch64 targets.
95
96 2013-10-02 Pedro Alves <palves@redhat.com>
97
98 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
99 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
100 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
101 (not_saved_pattern): New.
102 Replace use of the former with the latter.
103
104 2013-10-02 Pedro Alves <palves@redhat.com>
105
106 * README (Board Settings): Document "exit_is_reliable".
107 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
108 running to exit reliably reports program exits.
109 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
110 info.
111 * boards/native-stdio-gdbserver.exp: Likewise.
112
113 2013-10-01 Doug Evans <dje@google.com>
114
115 * gdb.python/python.exp: Remove redundant print-stack tests.
116 Make all print-stack test names unique. Fix spelling of print-stack.
117
118 2013-09-29 Yao Qi <yao@codesourcery.com>
119
120 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
121 is remote.
122
123 2013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
124
125 PR shlibs/8882
126 * gdb.base/corefile.exp: Add a check to assure warning-free
127 core-file load.
128
129 2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
130
131 * gdb.dwarf2/dwp-symlink.c: New file.
132 * gdb.dwarf2/dwp-symlink.exp: New file.
133
134 2013-09-20 Doug Evans <dje@google.com>
135
136 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
137 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
138 file.
139 * gdb.dwarf2/fission-loclists.S: Ditto.
140 * gdb.dwarf2/fission-reread.S: Ditto.
141 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
142 build_executable_from_fission_assembler.
143 * gdb.dwarf2/fission-loclists.exp: Ditto.
144 * gdb.dwarf2/fission-reread.exp: Ditto.
145
146 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
147 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
148 (gdb_gnu_strip_debug): Ditto.
149 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
150 * gdb.arch/altivec-abi.exp: Ditto.
151 * gdb.base/attach-pie-misread.exp: Ditto.
152 * gdb.base/comprdebug.exp: Ditto.
153 * gdb.base/dup-sect.exp: Ditto.
154 * gdb.base/gnu-debugdata.exp: Ditto.
155 * gdb.base/step-symless.exp: Ditto.
156 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
157 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
158 * gdb.dwarf2/gdb-index.exp: Ditto.
159
160 2013-09-18 Andrew Burgess <aburgess@broadcom.com>
161
162 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
163 register to "<optimized out>", and also print the registers.
164
165 2013-09-18 Pedro Alves <palves@redhat.com>
166
167 PR server/15967
168 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
169 change text.
170
171 2013-09-18 Yao Qi <yao@codesourcery.com>
172
173 * gdb.server/wrapper.c: New.
174 * gdb.server/wrapper.exp: New.
175
176 2013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
177 Jan Kratochvil <jan.kartochvil@redhat.com>
178 Pedro Alves <palves@redhat.com>
179
180 PR gdb/11568
181 * gdb.thread/thread-specific-bp.c: New file.
182 * gdb.thread/thread-specific-bp.exp: New file.
183
184 2013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
185
186 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
187 convenience function.
188
189 2013-09-17 Pedro Alves <palves@redhat.com>
190
191 PR gdb/15911
192 * gdb.threads/info-threads-cur-sal-2.c: New file.
193 * gdb.threads/info-threads-cur-sal.c: New file.
194 * gdb.threads/info-threads-cur-sal.exp: New file.
195
196 2013-09-17 Yao Qi <yao@codesourcery.com>
197
198 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
199 [__WIN32__]: Include "windows.h" and define macro dlopen
200 and dlclose.
201 [!__WIN32__]: Include "dlfcn.h".
202 * gdb.base/catch-load.exp (one_catch_load_test): Match
203 directory separator.
204
205 2013-09-16 Doug Evans <dje@google.com>
206
207 * lib/gdb.exp (using_fission): New proc.
208 * gdb.base/info-macros.exp: Skip test if using Fission.
209
210 * gdb.base/break-interp.exp: Fix indentation.
211
212 2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
213
214 * gdb.base/gdbvars.c (foo_void): New function.
215 (foo_int): Likewise.
216 * gdb.base/gdbvars.exp (test_convenience_functions): New
217 function. Call it.
218
219 2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
220
221 * gdb.arch/s390-tdbregs.c: New file.
222 * gdb.arch/s390-tdbregs.exp: New file.
223
224 2013-09-12 Stan Shebs <stan@codesourcery.com>
225
226 * README: New file.
227
228 2013-09-12 Doug Evans <dje@google.com>
229
230 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
231 added code to print event.inferior.
232
233 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
234
235 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
236 debug part of the binary.
237
238 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
239
240 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
241 (addlink): Add comment.
242
243 2013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
244
245 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
246 canonical pathname.
247
248 2013-09-04 Doug Evans <dje@google.com>
249
250 * gdb.python/py-events.py (exit_handler): Verify we get the expected
251 event.
252 (continue_handler, new_objfile_handler): Ditto.
253 (test_events): Rename command to "test-events".
254 (test_newobj_events): Rename command to "test-objfile-events".
255 * gdb.python/py-events.exp: Update.
256 * gdb.python/py-evsignal.exp: Update.
257 * gdb.python/py-evthreads.exp: Update.
258
259 * gdb.base/enumval.c (ZERO): New enum value.
260 (main): Use it
261 * gdb.base/enumval.exp: Test ability to print ZERO.
262
263 2013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
264 Pedro Alves <palves@redhat.com>
265
266 * gdb.base/relocate.exp: Check that invalid options are
267 rejected.
268
269 2013-08-30 Andrew Burgess <aburgess@broadcom.com>
270
271 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
272 (my_static_symbol): Add comment.
273 (main): Reference my_bss_symbol.
274
275 2013-08-30 Phil Muldoon <pmuldoon@redhat.com>
276
277 * gdb.python/py-arch.exp: Tests for invalid architecture.
278
279 2013-08-29 Sterling Augustine <saugustine@google.com>
280
281 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
282 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
283 said conditional.
284
285 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
286
287 * gdb.python/py-arch.exp: Load gdb-python.exp.
288
289 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
290
291 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
292 itertools for imap attribute. Otherwise use map().
293 (ElidingIterator): Define wrapper function __next__.
294 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
295 use exec (open (read ())) instead.
296 * gdb.python/py-framefilter.exp: Ditto.
297 * gdb.python/py-arch.exp: Update print based test to Python 3.x
298 compliance.
299 * gdb.python/py-frame.exp: Ditto.
300 * gdb.python/py-type.exp: Ditto.
301
302 2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
303
304 PR gdb/15415
305 * gdb.base/argv0-symlink.c: New file.
306 * gdb.base/argv0-symlink.exp: New file.
307
308 2013-08-28 Tom Tromey <tromey@redhat.com>
309
310 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
311 when saving index.
312
313 2013-08-27 Yao Qi <yao@codesourcery.com>
314
315 * gdb.trace/entry-values.exp: Test unavailable entry value is
316 not shown when option '--skip-unavailable' is specified.
317 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
318 Add tests for new option '--skip-unavailable'.
319
320 2013-08-27 Yao Qi <yao@codesourcery.com>
321
322 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
323 remote_download if it is empty.
324
325 2013-08-26 Doug Evans <dje@google.com>
326
327 PR symtab/15885
328 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
329 (clean): rm -f *.gdb-index *.with-index.
330 * gdb.dwarf2/gdb-index.exp: New testcase.
331
332 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
333 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
334 run_on_host. All callers updated.
335
336 2013-08-24 Yao Qi <yao@codesourcery.com>
337
338 * gdb.trace/entry-values.c (end): New
339 (main): Call end.
340 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
341 tracepoint and collect data. Test entry value is unavailable.
342
343 2013-08-24 Yao Qi <yao@codesourcery.com>
344
345 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
346 * gdb.trace/entry-values.c: New.
347 * gdb.trace/entry-values.exp: New.
348
349 2013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
350
351 PR gdb/15501
352 * gdb.base/ena-dis-br.exp: Add test to verify
353 enable/disable commands work correctly with
354 multiple arguments that include multiple locations.
355
356 2013-08-22 Samuel Bronson <naesten@gmail.com>
357
358 ARM Linux support for `catch syscall'.
359 * gdb.base/catch-syscall.exp: Test this on ARM now.
360 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
361
362 2013-08-22 Tom Tromey <tromey@redhat.com>
363
364 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
365 default addr_size.
366 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
367
368 2013-08-22 Tom Tromey <tromey@redhat.com>
369
370 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
371 standard_temp_file.
372
373 2013-08-22 Tom Tromey <tromey@redhat.com>
374
375 * gdb.arch/amd64-byte.exp: Use standard_testfile,
376 clean_restart.
377 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
378 * gdb.arch/amd64-dword.exp: Use standard_testfile,
379 clean_restart.
380 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
381 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
382 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
383 * gdb.arch/amd64-word.exp: Use standard_testfile,
384 clean_restart.
385 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
386 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
387 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
388 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
389 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
390 * gdb.arch/i386-signal.exp: Use standard_testfile.
391 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
392 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
393 * gdb.arch/i386-unwind.exp: Use standard_testfile.
394 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
395
396 2013-08-22 Tom Tromey <tromey@redhat.com>
397
398 * gdb.python/py-error.exp: Use gdb_remote_download.
399 * gdb.python/py-mi.exp: Use gdb_remote_download.
400 * gdb.python/py-objfile-script.exp: Use standard_output_file.
401 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
402 (run_lang_tests): Likewise.
403 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
404 filename.
405 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
406 compiling. Use gdb_remote_download. Update some tests.
407 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
408 standard_output_file.
409 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
410 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
411 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
412 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
413 standard_output_file.
414
415 2013-08-22 Tom Tromey <tromey@redhat.com>
416
417 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
418
419 2013-08-22 Tom Tromey <tromey@redhat.com>
420
421 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
422 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
423 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
424 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
425 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
426 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
427 * lib/gdb.exp (gdb_remote_download): New proc.
428
429 2013-08-22 Tom Tromey <tromey@redhat.com>
430
431 * gdb.dwarf2/clztest.exp: Use standard_testfile.
432 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
433 * gdb.dwarf2/fission-base.S: Remove directory from
434 DW_AT_GNU_dwo_name.
435 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
436 debug-file-directory.
437 * gdb.dwarf2/fission-reread.S: Remove directory from
438 DW_AT_GNU_dwo_name.
439 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
440 debug-file-directory.
441
442 2013-08-16 Doug Evans <dje@google.com>
443
444 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
445 prelink complains about an unhandled DWARF version.
446
447 2013-08-14 Cary Coutant <ccoutant@google.com>
448
449 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
450
451 2013-08-13 Tom Tromey <tromey@redhat.com>
452 Yao Qi <yao@codesourcery.com>
453
454 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
455 * lib/gdb.exp: Handle GDB_PARALLEL.
456 (default_gdb_version): Kill inotify_pid if it exists.
457 (default_gdb_exit): Emit warning if the inotify log is not
458 empty.
459 (standard_output_file): Respect GDB_PARALLEL.
460 (standard_temp_file): Likewise.
461 (gdb_init): Start inotifywait if requested.
462
463 2013-08-13 Andrew Burgess <aburgess@broadcom.com>
464
465 * gdb.base/printcmds.exp (test_printf): Add test for printf of
466 pointer with various flags.
467
468 2013-08-13 Tom Tromey <tromey@redhat.com>
469
470 * lib/cache.exp: New file.
471 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
472 * lib/gdb.exp: Load cache.exp.
473 (support_complex_tests, is_ilp32_target, is_lp64_target)
474 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
475 (gdb_skip_xml_test): Use gdb_caching_proc.
476 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
477
478 2013-08-13 Tom Tromey <tromey@redhat.com>
479
480 * lib/gdb.exp (standard_temp_file): New proc.
481 (support_complex_tests, is_ilp32_target, is_lp64_target)
482 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
483 standard_temp_file.
484
485 2013-08-13 Tom Tromey <tromey@redhat.com>
486
487 * lib/gdb.exp (build_id_debug_filename_get): Use
488 standard_output_file.
489 * lib/prelink-support.exp (section_get)
490 (build_executable_own_libs): Use standard_output_file.
491
492 2013-08-12 Tom Tromey <tromey@redhat.com>
493
494 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
495
496 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
497
498 * gdb.base/break.exp: Test break via convenience variable
499 with file name.
500
501 2013-08-09 Doug Evans <dje@google.com>
502
503 * lib/future.exp (gdb_find_ldd): New proc.
504 * lib/prelink-support.exp (build_executable_own_libs): Call it.
505 Make "/usr/sbin/" in prelink path optional.
506
507 2013-08-09 Yao Qi <yao@codesourcery.com>
508
509 * gdb.trace/collection.exp (gdb_collect_args_test): Set
510 "only" and "both" to 'print entry-values' before selecting
511 trace frame.
512
513 2013-08-08 Yao Qi <yao@codesourcery.com>
514
515 * gdb.trace/mi-trace-unavailable.exp: Don't set
516 "print entry-values" to "no".
517 (test_trace_unavailable): Set various values to
518 "print entry-values" to test that the output of
519 '-stack-list-locals' is not affected, and then set
520 set "print entry-values" to "no".
521
522 2013-08-07 Doug Evans <dje@google.com>
523
524 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
525 * gdb.python/py-value-cc.exp: Update.
526 * gdb.python/py-value.exp: Use different names for .o files for
527 C and C++. Only perform C++ tests if !skip_cplus_tests.
528
529 2013-08-07 Tom Tromey <tromey@redhat.com>
530
531 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
532
533 2013-08-07 Tom Tromey <tromey@redhat.com>
534
535 * gdb.dwarf2/dwz.exp: New file.
536
537 2013-08-02 Tom Tromey <tromey@redhat.com>
538
539 * gdb.base/watchpoint.c (struct foo5): New.
540 (nullptr): New global.
541 * gdb.base/watchpoint.exp (test_watch_location): Add test.
542
543 2013-08-01 Doug Evans <dje@google.com>
544
545 PR symtab/15691
546 * gdb.dwarf2/fission-mix.exp: New file.
547 * gdb.dwarf2/fission-mix.h: New file.
548 * gdb.dwarf2/fission-mix.c: New file.
549 * gdb.dwarf2/fission-mix2.c: New file.
550
551 PR symtab/15695
552 * gdb.base/func-ptr.exp: New file.
553 * gdb.base/func-ptr.c: New file.
554
555 2013-08-01 Yao Qi <yao@codesourcery.com>
556
557 * gdb.python/py-sync-interp.c: New.
558 * gdb.python/py-sync-interp.exp: New.
559
560 2013-07-31 Yao Qi <yao@codesourcery.com>
561
562 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
563 'tdump' on stack frame 0 and 1 respectively.
564
565 2013-07-31 Yao Qi <yao@codesourcery.com>
566
567 PR gdb/13443
568 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
569 'traceframe'. Wrap test with with_test_prefix.
570 (top level): Update.
571
572 2013-07-31 Yao Qi <yao@codesourcery.com>
573
574 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
575 'gdb_start'.
576 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
577 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
578
579 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
580
581 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
582 when printing an optimized out value. Expect an error when using
583 an optimized out value in an expression.
584
585 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
586
587 * gdb.dwarf2/pieces-optimized-out.exp: New file.
588 * gdb.dwarf2/pieces-optimized-out.c: New file.
589 * gdb.dwarf2/pieces-optimized-out.S: New file.
590
591 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
592
593 PR gdb/15715
594 * gdb.base/setshow.exp: Test that relative paths passed to
595 'set history filename' are converted to absolute paths.
596
597 2013-07-26 Keith Seitz <keiths@redhat.com>
598
599 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
600 of f77.
601 Allow for compiler variations of integer types.
602 Use mi_create_varobj.
603 Use mi_list_varobj_children for the immediate children of `array'.
604 Add "has_more" attribute for grandchildren test.
605
606 2013-07-26 Pedro Alves <palves@redhat.com>
607
608 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
609 files.
610
611 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
612
613 * gdb.mi/mi-reg-undefined.exp: New file.
614 * gdb.mi/mi-reg-undefined.c: Likewise.
615 * gdb.mi/mi-reg-undefined.S: Likewise.
616
617 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
618
619 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
620 z, o, and t output formats.
621 * gdb.base/display.exp: Use 'k' as an undefined format now that
622 'z' is defined.
623
624 2013-07-24 Doug Evans <dje@google.com>
625
626 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
627 "--" to switch.
628
629 2013-07-24 Yao Qi <yao@codesourcery.com>
630
631 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
632 host.
633 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
634 Likewise. If host is remote, copy ${binfile} to host.
635
636 2013-07-23 Yao Qi <yao@codesourcery.com>
637
638 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
639 message.
640
641 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
642
643 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
644 instructions and enable disp-step-syscall for arm targets.
645
646 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
647
648 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
649 assembler errors on arm.
650 * gdb.dwarf2/mac-fileno.S: Likewise.
651 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
652 * gdb.dwarf2/pr13961.S: Likewise.
653
654 2013-07-19 Hui Zhu <hui@codesourcery.com>
655
656 PR gdb/15692
657 * gdb.mi/mi-dprintf.exp: Add double quotes test.
658
659 2013-07-19 Yao Qi <yao@codesourcery.com>
660
661 * gdb.trace/read-memory.exp (test_from_remote): Update test.
662 (teset_from_exec): Likewise.
663
664 2013-07-19 Yao Qi <yao@codesourcery.com>
665
666 * gdb.trace/read-memory.c: New.
667 * gdb.trace/read-memory.exp: New.
668
669 2013-07-19 Yao Qi <yao@codesourcery.com>
670
671 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
672 $dest to link options if host is remote. Move the
673 generated file to $dest.a on host if host is remote.
674
675 2013-07-18 Will Newton <will.newton@linaro.org>
676
677 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
678 to ensure the test is linked against pthreads.
679 * gdb.threads/tls-var-main.c: Likewise.
680 * gdb.threads/tls-shared.c: Likewise.
681
682 2013-07-18 Yao Qi <yao@codesourcery.com>
683
684 * lib/future.exp (gdb_default_target_compile): Use tail name
685 of $destfile as the output name of compile. Move the
686 generated file to $destfile on build.
687
688 2013-07-18 Yao Qi <yao@codesourcery.com>
689
690 * lib/gdb.exp (gdb_compile): Set
691 gdb_saved_set_unbuffered_mode_obj to
692 set_unbuffered_mode_saved.o if host is remote. Invoke
693 remote_download to copy $unbuf_obj to host.
694
695 2013-07-17 Doug Evans <dje@google.com>
696
697 * gdb.python/py-frame-args.c: New file.
698 * gdb.python/py-frame-args.py: New file.
699 * gdb.python/py-frame-args.exp New file.
700
701 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
702
703 * gdb.base/printcmds.exp (test_printf): Add tests for format
704 strings with missing format specifier.
705
706 2013-07-16 Tom Tromey <tromey@redhat.com>
707
708 * gdb.ada/info_types.exp: Use standard_testfile.
709
710 2013-07-16 Tom Tromey <tromey@redhat.com>
711
712 * gdb.mi/mi-basics.exp: Use standard_output_file.
713 (test_dir_specification, test_cwd_specification)
714 (test_path_specification): Use testsubdir, not subdir and objdir.
715
716 2013-07-16 Tom Tromey <tromey@redhat.com>
717
718 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
719
720 2013-07-09 Joel Brobecker <brobecker@adacore.com>
721
722 * gdb.ada/small_reg_param.exp: Accept optional entry value
723 for parameter "w".
724
725 2013-07-09 Joel Brobecker <brobecker@adacore.com>
726
727 * gdb.ada/small_reg_param.exp: Remove trailing space.
728
729 2013-07-09 Doug Evans <dje@google.com>
730
731 * gdb.base/default.exp: Update expected output of "show print array"
732 and "show print pretty".
733
734 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
735
736 * gdb.threads/wp-replication.exp: Stop counting available hardware
737 watchpoints after NR_THREADS iterations.
738
739 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
740
741 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
742
743 2013-07-07 Yao Qi <yao@codesourcery.com>
744
745 * boards/native-gdbserver.exp: Move invoke of
746 process_multilib_options to gdbserver-base.exp.
747 Move set_board_info 'compiler', 'gdb,noinferiorio',
748 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
749 gdbserver-base.exp.
750 Move proc ${board}_download, ${board}_upload and
751 ${board}_file to gdbserver-base.exp.
752 * boards/native-extended-gdbserver.exp: Likewise.
753 * boards/native-stdio-gdbserver.exp: Likewise.
754 * boards/gdbserver-base.exp: New file.
755
756 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
757
758 * gdb.base/dump.exp: Remove arch-specific tests and do a
759 generic data address check to set is64bitonly correctly.
760
761 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
762
763 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
764 the register number instead of expecting only 0.
765
766 2013-07-05 Will Newton <will.newton@linaro.org>
767
768 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
769 in asm syntax to allow building on ARM.
770
771 2013-07-05 Yao Qi <yao@codesourcery.com>
772
773 * boards/local-remote-host.exp: Remove obsolete comments.
774 * boards/native-extended-gdbserver.exp: Likewise.
775 * boards/native-gdbserver.exp: Likewise.
776 * boards/native-stdio-gdbserver.exp: Likewise.
777
778 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
779
780 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
781 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
782 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
783
784 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
785
786 * gdb.base/break-on-linker-gcd-function.exp: Replace
787 prepare_for_testing by build_executable_from_specs and clean_restart.
788
789 2013-06-27 Tom Tromey <tromey@redhat.com>
790
791 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
792 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
793 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
794 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
795 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
796 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
797 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
798 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
799 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
800 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
801 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
802 Use standard_testfile, standard_output_file, prepare_for_testing,
803 clean_restart.
804
805 2013-06-27 Tom Tromey <tromey@redhat.com>
806
807 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
808 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
809 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
810 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
811 gdb.base/shreloc.exp, gdb.base/sigall.exp,
812 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
813 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
814 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
815 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
816 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
817 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
818 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
819 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
820 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
821 gdb.base/solib-weak.exp, gdb.base/source.exp,
822 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
823 gdb.base/stap-probe.exp, gdb.base/start.exp,
824 gdb.base/step-break.exp, gdb.base/step-bt.exp,
825 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
826 gdb.base/step-test.exp, gdb.base/structs.exp,
827 gdb.base/structs2.exp, gdb.base/structs3.exp,
828 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
829 standard_output_file, prepare_for_testing, clean_restart.
830
831 2013-06-27 Tom Tromey <tromey@redhat.com>
832
833 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
834 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
835 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
836 gdb.base/pending.exp, gdb.base/permissions.exp,
837 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
838 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
839 gdb.base/printcmds.exp, gdb.base/prologue.exp,
840 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
841 gdb.base/ptype.exp, gdb.base/randomize.exp,
842 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
843 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
844 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
845 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
846 standard_testfile, standard_output_file, prepare_for_testing,
847 clean_restart.
848
849 2013-06-27 Tom Tromey <tromey@redhat.com>
850
851 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
852 gdb.base/huge.exp, gdb.base/included.exp,
853 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
854 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
855 gdb.base/info-os.exp, gdb.base/info-proc.exp,
856 gdb.base/info-target.exp, gdb.base/infoline.exp,
857 gdb.base/interp.exp, gdb.base/interrupt.exp,
858 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
859 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
860 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
861 gdb.base/logical.exp, gdb.base/long_long.exp,
862 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
863 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
864 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
865 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
866 standard_testfile, standard_output_file, prepare_for_testing,
867 clean_restart.
868
869 2013-06-27 Tom Tromey <tromey@redhat.com>
870
871 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
872 gdb.base/enumval.exp, gdb.base/environ.exp,
873 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
874 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
875 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
876 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
877 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
878 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
879 gdb.base/fullname.exp, gdb.base/funcargs.exp,
880 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
881 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
882 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
883 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
884 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
885 gdb.base/gnu_vector.exp: Use standard_testfile,
886 standard_output_file, prepare_for_testing, clean_restart.
887
888 2013-06-27 Tom Tromey <tromey@redhat.com>
889
890 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
891 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
892 gdb.base/call-strs.exp, gdb.base/callexit.exp,
893 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
894 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
895 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
896 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
897 gdb.base/commands.exp, gdb.base/completion.exp,
898 gdb.base/complex.exp, gdb.base/cond-expr.exp,
899 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
900 gdb.base/constvars.exp, gdb.base/corefile.exp,
901 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
902 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
903 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
904 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
905 gdb.base/dup-sect.exp: Use standard_testfile,
906 standard_output_file, prepare_for_testing, clean_restart.
907
908 2013-06-27 Tom Tromey <tromey@redhat.com>
909
910 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
911 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
912 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
913 gdb.base/async-shell.exp, gdb.base/async.exp,
914 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
915 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
916 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
917 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
918 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
919 gdb.base/break-on-linker-gcd-function.exp,
920 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
921 standard_output_file, prepare_for_testing, clean_restart.
922
923 2013-06-26 Yao Qi <yao@codesourcery.com>
924
925 * gdb.trace/mi-trace-frame-collected.exp: New.
926
927 2013-06-25 Yao Qi <yao@codesourcery.com>
928
929 * boards/native-extended-gdbserver.exp: Set board_info
930 'gdb,predefined_tsv'.
931 * boards/native-gdbserver.exp: Likewise.
932 * boards/native-stdio-gdbserver.exp: Likewise.
933 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
934 uploaded TSVs if target supports tracing.
935 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
936 tracing and target has predefined tsv.
937
938 2013-06-25 Yao Qi <yao@codesourcery.com>
939 Hui Zhu <hui@codesourcery.com>
940 Pedro Alves <palves@redhat.com>
941
942 PR breakpoints/15075
943 PR breakpoints/15434
944 * gdb.base/dprintf-next.c: New file.
945 * gdb.base/dprintf-next.exp: New file.
946 * gdb.base/dprintf-non-stop.c: New file.
947 * gdb.base/dprintf-non-stop.exp: New file.
948 * gdb.base/dprintf.exp: Don't check "continue" in the output
949 of "info breakpoints".
950 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
951 Don't check "continue" in script field.
952
953 2013-06-21 Tom Tromey <tromey@redhat.com>
954
955 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
956 name in a test name.
957
958 2013-06-20 Yao Qi <yao@codesourcery.com>
959
960 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
961 and set an action.
962 (test_trace_unavailable): Test command -data-list-register-values
963 in the context of traceframe and with option --skip-unavailable.
964 * gdb.trace/trace-unavailable.c (foo): New.
965 (main): Call it.
966 * gdb.mi/gdb2549.exp: Update matching pattern.
967
968 2013-06-19 Mike Frysinger <vapier@gentoo.org>
969
970 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
971 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
972 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
973 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
974 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
975
976 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
977
978 * gdb.base/subst.exp: Delete default rules before further
979 tests.
980
981 2013-06-19 Yao Qi <yao@codesourcery.com>
982
983 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
984 unsupported if it is not registered.
985
986 2013-06-18 Tom Tromey <tromey@redhat.com>
987
988 * gdb.base/random-signal.c: New file.
989 * gdb.base/random-signal.exp: New file.
990
991 2013-06-18 Will Newton <will.newton@linaro.org>
992
993 * gdb.base/skip.c: Use comma to evaluate results of foo()
994 and bar() before passing to baz().
995 * gdb.base/skip.c: baz() now takes one argument instead of
996 two.
997
998 2013-06-18 Tom Tromey <tromey@redhat.com>
999
1000 * gdb.dwarf2/implptrpiece.exp: New file.
1001 * gdb.dwarf2/implptrconst.exp (d): New variable.
1002 Print d.
1003 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
1004
1005 2013-06-18 Tom Tromey <tromey@redhat.com>
1006
1007 * lib/selftest-support.exp (do_self_tests): Reject remote or
1008 non-native targets.
1009 * gdb.gdb/complaints.exp: Remove check.
1010 * gdb.gdb/observer.exp: Remove check.
1011 * gdb.gdb/xfullpath.exp: Remove check.
1012 * gdb.gdb/complaints.exp: Remove check.
1013
1014 2013-06-07 Pedro Alves <palves@redhat.com>
1015
1016 * boards/native-extended-gdbserver.exp: Remove semicolon.
1017 * config/arm-ice.exp: Likewise.
1018 * config/bfin.exp: Likewise.
1019 * config/cygmon.exp: Likewise.
1020 * config/h8300.exp: Likewise.
1021 * config/monitor.exp: Likewise.
1022 * config/sid.exp: Likewise.
1023 * config/sim.exp: Likewise.
1024 * config/slite.exp: Likewise.
1025 * config/vx.exp: Likewise.
1026 * gdb.arch/i386-bp_permanent.exp: Likewise.
1027 * gdb.asm/asm-source.exp: Likewise.
1028 * gdb.base/args.exp: Likewise.
1029 * gdb.base/attach-pie-misread.exp: Likewise.
1030 * gdb.base/auxv.exp: Likewise.
1031 * gdb.base/bigcore.exp: Likewise.
1032 * gdb.base/bitfields2.exp: Likewise.
1033 * gdb.base/bitfields.exp: Likewise.
1034 * gdb.base/break.exp: Likewise.
1035 * gdb.base/break-interp.exp: Likewise.
1036 * gdb.base/callfuncs.exp: Likewise.
1037 * gdb.base/call-sc.exp: Likewise.
1038 * gdb.base/commands.exp: Likewise.
1039 * gdb.base/corefile.exp: Likewise.
1040 * gdb.base/dbx.exp: Likewise.
1041 * gdb.base/ending-run.exp: Likewise.
1042 * gdb.base/exprs.exp: Likewise.
1043 * gdb.base/funcargs.exp: Likewise.
1044 * gdb.base/hbreak2.exp: Likewise.
1045 * gdb.base/huge.exp: Likewise.
1046 * gdb.base/list.exp: Likewise.
1047 * gdb.base/memattr.exp: Likewise.
1048 * gdb.base/overlays.exp: Likewise.
1049 * gdb.base/printcmds.exp: Likewise.
1050 * gdb.base/recurse.exp: Likewise.
1051 * gdb.base/remotetimeout.exp: Likewise.
1052 * gdb.base/reread.exp: Likewise.
1053 * gdb.base/savedregs.exp: Likewise.
1054 * gdb.base/scope.exp: Likewise.
1055 * gdb.base/sepdebug.exp: Likewise.
1056 * gdb.base/setshow.exp: Likewise.
1057 * gdb.base/setvar.exp: Likewise.
1058 * gdb.base/sigaltstack.exp: Likewise.
1059 * gdb.base/siginfo-addr.exp: Likewise.
1060 * gdb.base/siginfo.exp: Likewise.
1061 * gdb.base/siginfo-obj.exp: Likewise.
1062 * gdb.base/sigrepeat.exp: Likewise.
1063 * gdb.base/sigstep.exp: Likewise.
1064 * gdb.base/structs.exp: Likewise.
1065 * gdb.base/testenv.exp: Likewise.
1066 * gdb.base/twice.exp: Likewise.
1067 * gdb.base/valgrind-db-attach.exp: Likewise.
1068 * gdb.base/valgrind-infcall.exp: Likewise.
1069 * gdb.base/varargs.exp: Likewise.
1070 * gdb.base/watchpoint.exp: Likewise.
1071 * gdb.cp/gdb1355.exp: Likewise.
1072 * gdb.cp/misc.exp: Likewise.
1073 * gdb.disasm/hppa.exp: Likewise.
1074 * gdb.disasm/t01_mov.exp: Likewise.
1075 * gdb.disasm/t02_mova.exp: Likewise.
1076 * gdb.disasm/t03_add.exp: Likewise.
1077 * gdb.disasm/t04_sub.exp: Likewise.
1078 * gdb.disasm/t05_cmp.exp: Likewise.
1079 * gdb.disasm/t06_ari2.exp: Likewise.
1080 * gdb.disasm/t07_ari3.exp: Likewise.
1081 * gdb.disasm/t08_or.exp: Likewise.
1082 * gdb.disasm/t09_xor.exp: Likewise.
1083 * gdb.disasm/t10_and.exp: Likewise.
1084 * gdb.disasm/t11_logs.exp: Likewise.
1085 * gdb.disasm/t12_bit.exp: Likewise.
1086 * gdb.disasm/t13_otr.exp: Likewise.
1087 * gdb.gdb/selftest.exp: Likewise.
1088 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1089 * gdb.mi/mi-reverse.exp: Likewise.
1090 * gdb.pascal/floats.exp: Likewise.
1091 * gdb.python/py-inferior.exp: Likewise.
1092 * gdb.threads/attach-into-signal.exp: Likewise.
1093 * gdb.threads/pthreads.exp: Likewise.
1094 * gdb.threads/thread_events.exp: Likewise.
1095 * gdb.threads/watchthreads.exp: Likewise.
1096 * gdb.trace/actions-changed.exp: Likewise.
1097 * gdb.trace/actions.exp: Likewise.
1098 * gdb.trace/ax.exp: Likewise.
1099 * gdb.trace/backtrace.exp: Likewise.
1100 * gdb.trace/change-loc.exp: Likewise.
1101 * gdb.trace/deltrace.exp: Likewise.
1102 * gdb.trace/disconnected-tracing.exp: Likewise.
1103 * gdb.trace/ftrace.exp: Likewise.
1104 * gdb.trace/infotrace.exp: Likewise.
1105 * gdb.trace/passc-dyn.exp: Likewise.
1106 * gdb.trace/passcount.exp: Likewise.
1107 * gdb.trace/pending.exp: Likewise.
1108 * gdb.trace/qtro.exp: Likewise.
1109 * gdb.trace/range-stepping.exp: Likewise.
1110 * gdb.trace/report.exp: Likewise.
1111 * gdb.trace/save-trace.exp: Likewise.
1112 * gdb.trace/status-stop.exp: Likewise.
1113 * gdb.trace/strace.exp: Likewise.
1114 * gdb.trace/tfile.exp: Likewise.
1115 * gdb.trace/tfind.exp: Likewise.
1116 * gdb.trace/trace-break.exp: Likewise.
1117 * gdb.trace/tracecmd.exp: Likewise.
1118 * gdb.trace/trace-mt.exp: Likewise.
1119 * gdb.trace/tspeed.exp: Likewise.
1120 * gdb.trace/tsv.exp: Likewise.
1121 * gdb.trace/while-stepping.exp: Likewise.
1122 * lib/gdb.exp: Likewise.
1123 * lib/gdbserver-support.exp: Likewise.
1124 * lib/java.exp: Likewise.
1125 * lib/mi-support.exp: Likewise.
1126 * lib/pascal.exp: Likewise.
1127 * lib/prompt.exp: Likewise.
1128 * lib/trace-support.exp: Likewise.
1129
1130 2013-06-07 Pedro Alves <palves@redhat.com>
1131
1132 * gdb.ada/info_types.c: Fix formating in copyright header.
1133 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1134 * gdb.base/float.c: Likewise.
1135 * gdb.base/inferior-died.c: Likewise.
1136 * gdb.base/interp.c: Likewise.
1137 * gdb.base/jit-main.c: Likewise.
1138 * gdb.base/jit-solib.c: Likewise.
1139 * gdb.base/long_long.c: Likewise.
1140 * gdb.base/longjmp.c: Likewise.
1141 * gdb.base/nextoverexit.c: Likewise.
1142 * gdb.base/pr11022.c: Likewise.
1143 * gdb.base/prelink-lib.c: Likewise.
1144 * gdb.base/prelink.c: Likewise.
1145 * gdb.base/prologue.c: Likewise.
1146 * gdb.base/restore.c: Likewise.
1147 * gdb.base/sigchld.c: Likewise.
1148 * gdb.base/solib-search-lib1.c: Likewise.
1149 * gdb.base/solib-search-lib2.c: Likewise.
1150 * gdb.base/solib-search.c: Likewise.
1151 * gdb.base/solib-search.h: Likewise.
1152 * gdb.base/whatis.c: Likewise.
1153 * gdb.cp/abstract-origin.cc: Likewise.
1154 * gdb.cp/anon-struct.cc: Likewise.
1155 * gdb.cp/baseenum.cc: Likewise.
1156 * gdb.cp/bs15503.cc: Likewise.
1157 * gdb.cp/call-c-1.c: Likewise.
1158 * gdb.cp/call-c.cc: Likewise.
1159 * gdb.cp/class2.cc: Likewise.
1160 * gdb.cp/classes.cc: Likewise.
1161 * gdb.cp/cttiadd.cc: Likewise.
1162 * gdb.cp/cttiadd1.cc: Likewise.
1163 * gdb.cp/cttiadd2.cc: Likewise.
1164 * gdb.cp/cttiadd3.cc: Likewise.
1165 * gdb.cp/derivation.cc: Likewise.
1166 * gdb.cp/derivation2.cc: Likewise.
1167 * gdb.cp/dispcxx.cc: Likewise.
1168 * gdb.cp/exception.cc: Likewise.
1169 * gdb.cp/gdb2384-base.cc: Likewise.
1170 * gdb.cp/gdb2384-base.h: Likewise.
1171 * gdb.cp/gdb2384.cc: Likewise.
1172 * gdb.cp/gdb2495.cc: Likewise.
1173 * gdb.cp/mb-inline.h: Likewise.
1174 * gdb.cp/mb-inline1.cc: Likewise.
1175 * gdb.cp/mb-inline2.cc: Likewise.
1176 * gdb.cp/member-name.cc: Likewise.
1177 * gdb.cp/member-ptr.cc: Likewise.
1178 * gdb.cp/misc.cc: Likewise.
1179 * gdb.cp/namespace1.cc: Likewise.
1180 * gdb.cp/nextoverthrow.cc: Likewise.
1181 * gdb.cp/pr-574.cc: Likewise.
1182 * gdb.cp/pr9631.cc: Likewise.
1183 * gdb.cp/printmethod.cc: Likewise.
1184 * gdb.cp/psmang1.cc: Likewise.
1185 * gdb.cp/psmang2.cc: Likewise.
1186 * gdb.cp/psymtab-parameter.cc: Likewise.
1187 * gdb.cp/ptype-flags.cc: Likewise.
1188 * gdb.cp/ref-params.cc: Likewise.
1189 * gdb.cp/ref-types.cc: Likewise.
1190 * gdb.cp/smartp.cc: Likewise.
1191 * gdb.cp/try_catch.cc: Likewise.
1192 * gdb.cp/userdef.cc: Likewise.
1193 * gdb.cp/using-crash.cc: Likewise.
1194 * gdb.cp/virtfunc.cc: Likewise.
1195 * gdb.cp/virtfunc2.cc: Likewise.
1196 * gdb.dwarf2/callframecfa.S: Likewise.
1197 * gdb.dwarf2/dw2-ranges.c: Likewise.
1198 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1199 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1200 * gdb.dwarf2/dw2-restore.S: Likewise.
1201 * gdb.dwarf2/pieces.S: Likewise.
1202 * gdb.dwarf2/valop.S: Likewise.
1203 * gdb.java/jnpe.java: Likewise.
1204 * gdb.mi/mi-stepn.c: Likewise.
1205 * gdb.mi/mi-var-cp.cc: Likewise.
1206 * gdb.mi/mi-var-rtti.cc: Likewise.
1207 * gdb.mi/ns-stale-regcache.c: Likewise.
1208 * gdb.mi/pr11022.c: Likewise.
1209 * gdb.mi/solib-lib.c: Likewise.
1210 * gdb.mi/solib-main.c: Likewise.
1211 * gdb.python/py-arch.c: Likewise.
1212 * gdb.python/py-block.c: Likewise.
1213 * gdb.python/py-breakpoint.c: Likewise.
1214 * gdb.python/py-events.c: Likewise.
1215 * gdb.python/py-evthreads.c: Likewise.
1216 * gdb.python/py-explore.c: Likewise.
1217 * gdb.python/py-explore.cc: Likewise.
1218 * gdb.python/py-finish-breakpoint.c: Likewise.
1219 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1220 * gdb.python/py-symbol.c: Likewise.
1221 * gdb.threads/execl.c: Likewise.
1222 * gdb.threads/execl1.c: Likewise.
1223
1224 2013-06-07 Will Newton <will.newton@linaro.org>
1225
1226 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1227
1228 2013-06-07 Will Newton <will.newton@linaro.org>
1229
1230 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1231 and "starting".
1232
1233 2013-06-07 Will Newton <will.newton@linaro.org>
1234
1235 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1236 destructor prototypes for ARM ABI.
1237 * gdb.cp/m-static.exp: Likewise.
1238
1239 2013-06-07 Yao Qi <yao@codesourcery.com>
1240
1241 * gdb.trace/mi-trace-unavailable.exp: New.
1242 * gdb.trace/trace-unavailable.c: New.
1243
1244 2013-06-06 Doug Evans <dje@google.com>
1245
1246 * gdb.cp/derivation.exp: Make tests have unique names.
1247
1248 2013-06-06 Tom Tromey <tromey@redhat.com>
1249
1250 * gdb.base/dump.exp (capture_value): Don't put expression into
1251 test name if arguments passed in.
1252 Rename a couple more tests to make them unique.
1253
1254 2013-06-06 Tom Tromey <tromey@redhat.com>
1255
1256 * gdb.base/break-always.exp: Explicitly specify test name.
1257
1258 2013-06-05 Doug Evans <dje@google.com>
1259 Keith Seitz <keiths@redhat.com>
1260
1261 * gdb.cp/derivation2.cc: New file.
1262 * gdb.cp/derivation.cc (main): Call foo2.
1263 * gdb.cp/derivation.exp: Add tests for typedefs in another
1264 file, and when there's an active block.
1265
1266 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
1267
1268 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1269 from targets that use function descriptors in the virtual tables.
1270 Handle presence of dot symbols.
1271
1272 2013-06-04 Gary Benson <gbenson@redhat.com>
1273
1274 * gdb.base/break-probes.exp: New file.
1275 * gdb.base/break-probes.c: Likewise.
1276 * gdb.base/break-probes-solib.c: Likewise.
1277 * gdb.base/info-shared.exp: New file.
1278 * gdb.base/info-shared.c: Likewise.
1279 * gdb.base/info-shared-solib1.c: Likewise.
1280 * gdb.base/info-shared-solib2.c: Likewise.
1281
1282 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1283 Gary Benson <gbenson@redhat.com>
1284
1285 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1286 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1287 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1288 to be set to "no" to indicate that no ld.so copy should be made.
1289 * gdb.base/break-interp.exp (solib_bp): New constant.
1290 (reach_1): Use the above instead of "_dl_debug_state".
1291 (test_attach): Likewise.
1292 (test_ld): Likewise.
1293 * gdb.threads/dlopen-libpthread.exp: New file.
1294 * gdb.threads/dlopen-libpthread.c: Likewise.
1295 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1296 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1297
1298 2013-05-30 Yao Qi <yao@codesourcery.com>
1299
1300 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1301 Add a test that no MI notification is emitted when executing
1302 -exec-arguments.
1303
1304 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1305
1306 PR testsuite/12649
1307 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1308 $mi_gdb_prompt expectation by mi_expect_stop.
1309 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1310 (mi info dprintf second time): Replace them by mi_send_resuming_command
1311 and mi_expect_stop.
1312
1313 2013-05-24 Gary Benson <gbenson@redhat.com>
1314
1315 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1316 backslash.
1317 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1318 backslashes.
1319 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1320 backslash.
1321
1322 2013-05-24 Yao Qi <yao@codesourcery.com>
1323
1324 * gdb.trace/tfile.exp: Test inferior and thread.
1325
1326 2013-05-24 Yao Qi <yao@codesourcery.com>
1327 Pedro Alves <palves@redhat.com>
1328
1329 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1330 test fails.
1331 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1332 Return 0 if the test passes, otherwise return 1.
1333
1334 2013-05-23 Doug Evans <dje@google.com>
1335
1336 * boards/fission-dwp.exp: New file.
1337
1338 2013-05-23 Yao Qi <yao@codesourcery.com>
1339 Pedro Alves <palves@redhat.com>
1340
1341 * gdb.base/range-stepping.c: New file.
1342 * gdb.base/range-stepping.exp: New file.
1343 * gdb.trace/range-stepping.c: New file.
1344 * gdb.trace/range-stepping.exp: New file.
1345 * lib/range-stepping-support.exp: New file.
1346
1347 2013-05-22 Tom Tromey <tromey@redhat.com>
1348
1349 * gdb.cp/class2.cc (main): New local 'aref'.
1350 * gdb.cp/class2.exp: Check printing of 'aref'.
1351
1352 2013-05-22 Doug Evans <dje@google.com>
1353
1354 * gdb.threads/wp-replication.c (main): Insert some code at the start
1355 to ensure the breakpoint on main is only hit once. Fix comment.
1356
1357 2013-05-21 Keith Seitz <keiths@redhat.com>
1358 Pedro Alves <palves@redhat.com>
1359
1360 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1361 gdb_expect.
1362 Add test to flush the remaining input buffer so that this
1363 file passes testsuite/12649.
1364
1365 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1366
1367 * gdb.base/catch-signal-fork.exp: New file.
1368 * gdb.base/catch-signal-fork.c: New file.
1369
1370 2013-05-21 Sterling Augustine <saugustine@google.com>
1371
1372 * boards/remote-stdio-gdbserver.exp: New file.
1373
1374 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1375
1376 PR testsuite/12649
1377 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1378 racy matches.
1379
1380 2013-05-21 Christian Groessler <chris@groessler.org>
1381
1382 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1383 since it's not supported in all shells.
1384
1385 2013-05-21 Hui Zhu <hui@codesourcery.com>
1386
1387 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1388 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1389
1390 2013-05-20 Doug Evans <dje@google.com>
1391
1392 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1393 (_handle_DW_TAG): Use it.
1394 (cu, tu): Replace parameters is_64, version, addr_size with options.
1395 All callers updated. Add Fission support.
1396 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1397 * gdb.dwarf2/method-ptr.exp: Ditto.
1398 * gdb.dwarf2/nostaticblock.exp: Ditto.
1399 * gdb.dwarf2/subrange.exp: Ditto.
1400 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1401
1402 2013-05-20 Tom Tromey <tromey@redhat.com>
1403
1404 * gdb.gdb/python-selftest.exp: New file.
1405
1406 2013-05-20 Doug Evans <dje@google.com>
1407
1408 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1409 -fdebug-types-section.
1410
1411 2013-05-20 Joel Brobecker <brobecker@adacore.com>
1412
1413 * gdb.ada/float_param: New testcase.
1414
1415 2013-05-17 Doug Evans <dje@google.com>
1416
1417 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1418 Add tests for "maint check-symtabs", "maint expand-symtabs".
1419
1420 * gdb.base/maint.exp: Remove testing of individual maint command
1421 help output.
1422
1423 2013-05-16 Pedro Alves <palves@redhat.com>
1424
1425 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1426 comment. Use gdb_test_no_output.
1427
1428 2013-05-16 Joel Brobecker <brobecker@adacore.com>
1429
1430 * gdb.ada/complete.exp: Add test verifying completion using
1431 the "tab" key.
1432
1433 2013-05-15 Keith Seitz <keiths@redhat.com>
1434
1435 * gdb.base/filesym.exp: New completer test.
1436 * gdb.base/filesym.c: New file.
1437
1438 2013-05-15 Pedro Alves <palves@redhat.com>
1439
1440 * gdb.base/fixsection.c: Remove attribution.
1441 * gdb.base/watch-read.exp: Ditto.
1442
1443 2013-05-13 Tom Tromey <tromey@redhat.com>
1444
1445 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1446 size and change type sizes to 4 bytes.
1447
1448 2013-05-13 Tom Tromey <tromey@redhat.com>
1449
1450 * gdb.base/exprs.exp (test_expr): Add regression test.
1451 * gdb.base/exprs.c (null_t_struct): New global.
1452
1453 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1454
1455 * gdb.base/default.exp: Disable history saving.
1456 * gdb.base/setshow.exp: Likewise.
1457
1458 2013-05-10 Pedro Alves <palves@redhat.com>
1459
1460 PR remote/15455
1461
1462 * gdb.trace/qtro.c: New file.
1463 * gdb.trace/qtro.exp: New file.
1464
1465 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1466
1467 * gdb.python/py-framefilter.py: New File.
1468 * gdb.python/py-framefilter-mi.exp: Ditto.
1469 * gdb.python/py-framefilter.c: Ditto.
1470 * gdb.python/py-framefilter-mi.exp: Ditto.
1471 * gdb.python/py-framefilter-mi.c: Ditto,
1472 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1473
1474 2013-05-08 Tom Tromey <tromey@redhat.com>
1475
1476 * gdb.base/solib-search.exp: Set test name for "set
1477 solib-search-path" test.
1478
1479 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1480
1481 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1482 (set_a_tracepoint): Set tracepoint before prologue.
1483 (run_trace_experiment): Test setup_tracepoints and 'break end'
1484 in it.
1485 (trace_buffer_normal): Remove.
1486 (gdb_trace_circular_tests): Remove. Move tests to...
1487 (top level): ...here. Call 'runto_main' before checking for
1488 trace support. Use commands to check the support for circular
1489 trace buffer and changing of trace buffer size. Add test
1490 to calculate size of single frame. Use this size to
1491 calculate the size of trace buffer. Use 'tfind pc func9'
1492 instead of 'tfind 9'. Use 'with_test_prefix'.
1493
1494 2013-05-07 Tom Tromey <tromey@redhat.com>
1495
1496 * lib/selftest-support.exp: New file.
1497 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1498 do_self_tests.
1499 (setup_test, find_gdb): Remove.
1500 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1501 do_self_tests.
1502 (setup_test, find_gdb): Remove.
1503 (test_observer): Don't call setup_test. Remove argument.
1504 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1505 (find_gdb): Remove.
1506 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1507 do_self_tests.
1508 (setup_test, find_gdb): Remove.
1509 (test_with_self): Don't call setup_test. Remove argument.
1510
1511 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1512
1513 * gdb.arch/system-gcore.exp: Remove.
1514 * gdb.arch/gcore.c: Remove.
1515 * gdb.base/gcore.exp: Add "info reg system".
1516
1517 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1518
1519 PR breakpoints/15413:
1520 * gdb.base/pending.exp: Add test for completion of the "condition"
1521 command for pending breakpoints.
1522 * gdb.linespec/linespec.ex: Add test for completion of the
1523 "condition" command when dealing with multiple locations.
1524
1525 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1526
1527 * gdb.threads/wp-replication.c: New file.
1528 * gdb.threads/wp-replication.exp: New file.
1529
1530 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1531
1532 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1533
1534 2013-05-06 Doug Evans <dje@google.com>
1535
1536 * gdb.base/solib-search-lib1.c: New file.
1537 * gdb.base/solib-search-lib2.c: New file.
1538 * gdb.base/solib-search.c: New file.
1539 * gdb.base/solib-search.h: New file.
1540 * gdb.base/solib-search.exp: New file.
1541
1542 * lib/gdb.exp (gdb_core_cmd): New function.
1543 * gdb.arch/system-gcore.exp: Use it.
1544 * gdb.arch/vsx-regs.exp: Ditto.
1545 * gdb.base/gcore.exp: Ditto.
1546 * gdb.threads/gcore-thread.exp: Ditto.
1547
1548 * gdb.reverse/shr.h: New file.
1549 * gdb.reverse/shr1.c: New file.
1550 * gdb.reverse/shr2.c: #include "shr.h".
1551 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1552 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1553 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1554 Update tests using sleep/printf to use shr2.sl instead.
1555 * gdb.reverse/solib-reverse.exp: Ditto.
1556
1557 2013-05-06 Tom Tromey <tromey@redhat.com>
1558
1559 * gdb.dwarf2/implptrconst.c: New file.
1560 * gdb.dwarf2/implptrconst.exp: New file.
1561 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1562 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1563 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1564
1565 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1566
1567 * gdb.base/catch-sig.c (main): Raise SIGINT.
1568 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1569
1570 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1571
1572 * status-stop.exp (test_tstart_tstart): Check for error
1573 returned by the second 'tstart' command.
1574
1575 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1576
1577 * gdb.xml/maint_print_struct.exp: New file.
1578 * gdb.xml/maint_print_struct.xml: New file.
1579
1580 2013-04-25 Tom Tromey <tromey@redhat.com>
1581
1582 * gdb.dwarf2/nostaticblock.exp: New file.
1583
1584 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1585
1586 PR gdb/10462
1587 * gdb.base/setshow.exp: Add test case.
1588
1589 2013-04-23 Hui Zhu <hui@codesourcery.com>
1590
1591 PR gdb/15293
1592 * gdb.base/dprintf.exp: Add ignore command.
1593
1594 2013-04-23 Hui Zhu <hui@codesourcery.com>
1595
1596 PR gdb/15165
1597 * gdb.base/save-bp.exp: Add test for dprintf.
1598
1599 2013-04-22 Tom Tromey <tromey@redhat.com>
1600
1601 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1602 notice_open_fds.
1603
1604 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1605
1606 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1607 ldflags.
1608
1609 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1610
1611 * gdb.arch/arm-bl-branch-dest.c: New file.
1612 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1613
1614 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1615 Pedro Alves <palves@redhat.com>
1616
1617 * gdb.arch/i386-float.S: New file.
1618 * gdb.arch/i386-float.exp: New file.
1619
1620 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1621
1622 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1623 type void *.
1624
1625 2013-04-17 Doug Evans <dje@google.com>
1626
1627 * lib/dwarf.exp (Dwarf): New proc "tu".
1628 * gdb.dwarf2/missing-sig-type.exp: New file.
1629
1630 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1631
1632 Add option to link testcases with Pthreads library when
1633 using 'prepare_for_testing' in tests.
1634
1635 * lib/gdb.exp (build_executable_from_specs): Use
1636 gdb_compile_pthreads to compile if option "pthreads" is
1637 specified.
1638
1639 2013-04-15 Tom Tromey <tromey@redhat.com>
1640
1641 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1642
1643 2013-04-15 Tom Tromey <tromey@redhat.com>
1644
1645 * gdb.base/default.exp: Update for $_exception.
1646 * gdb.cp/exceptprint.cc: New file.
1647 * gdb.cp/exceptprint.exp: New file.
1648 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1649
1650 2013-04-15 Tom Tromey <tromey@redhat.com>
1651
1652 * gdb.cp/typeid.cc: New file.
1653 * gdb.cp/typeid.exp: New file.
1654
1655 2013-04-15 Tom Tromey <tromey@redhat.com>
1656
1657 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1658
1659 2013-04-13 Yao Qi <yao@codesourcery.com>
1660
1661 * gdb.base/completion.exp: Test completion of command
1662 'target ctf' if target ctf is supported.
1663
1664 2013-04-10 Pedro Alves <palves@redhat.com>
1665
1666 * gdb.base/completion.exp: Test "set height", "set listsize" and
1667 "set trace-buffer-size" completion.
1668 * gdb.base/setshow.exp: Test "set height unlimited".
1669 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1670 unlimited".
1671
1672 2013-04-10 Yao Qi <yao@codesourcery.com>
1673
1674 * gdb.trace/actions.exp: Save trace data to CTF.
1675 Change to ctf target if GDB supports, read CTF data in ctf
1676 target, and check the actions of tracepoints.
1677 * gdb.trace/while-stepping.exp: Likewise.
1678 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1679 format and read CTF trace file if GDB supports.
1680 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1681 target is supported, change to ctf target, read trace data and
1682 check output of command "tstatus".
1683 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1684 read CTF data by target ctf and call check_tsv.
1685
1686 2013-04-10 Yao Qi <yao@codesourcery.com>
1687
1688 * gdb.trace/actions.exp (check_tracepoint): New.
1689 (top level): Start the tracing and check the actions of
1690 tracepoints. Save trace data to tfile format. Restart GDB
1691 and read trace file in tfile target. Check the actions of
1692 tracepoints again.
1693 * gdb.trace/while-stepping.exp: Likewise.
1694
1695 2013-04-10 Yao Qi <yao@codesourcery.com>
1696
1697 * gdb.trace/report.exp: Use standard_output_file for saved
1698 trace file.
1699
1700 2013-04-10 Hui Zhu <hui@codesourcery.com>
1701
1702 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1703 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1704 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1705
1706 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1709 response.
1710
1711 2013-04-08 Pedro Alves <palves@redhat.com>
1712
1713 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1714 the location.
1715
1716 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1717
1718 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1719 for breakpoint location.
1720
1721 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1722
1723 * gdb.linespec/linespec.exp: Make dir/file:line tests
1724 conditional for non-remote hosts only.
1725
1726 2013-04-04 Stan Shebs <stan@codesourcery.com>
1727 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1730 * gdb.trace/actions-changed.c: New file.
1731 * gdb.trace/actions-changed.exp: New file.
1732 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1733 (gdb_trace_setactions_command): ... this. Add "actions_command"
1734 parameter, and handle it.
1735 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1736
1737 2013-04-04 Yao Qi <yao@codesourcery.com>
1738
1739 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1740 'step'.
1741
1742 2013-04-03 Yao Qi <yao@codesourcery.com>
1743
1744 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1745 "tfile-basic.tf".
1746 (test_tfind_tfile): Likewise.
1747
1748 2013-04-03 Yao Qi <yao@codesourcery.com>
1749
1750 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1751 "tfile-basic.tf" instead of "basic.tf".
1752 (write_error_trace_file): Pass argument "tfile-error.tf"
1753 instead of "error.tf".
1754 * gdb.trace/tfile.exp: Update tfile names to
1755 "tfile-basic.tf" and "tfile-error.tf".
1756
1757 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1758
1759 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1760 empty directory in file for breakpoint hit.
1761
1762 2013-03-29 Yao Qi <yao@codesourcery.com>
1763
1764 * gdb.base/completion.exp: Test completion of commands
1765 "target core", "target tfile" and "target exec".
1766 * gdb.trace/tfile.exp: Test completion of command
1767 "target tfile".
1768
1769 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1770
1771 * gdb.ada/win_fu_syms: New testcase.
1772
1773 2013-03-28 Doug Evans <dje@google.com>
1774
1775 * gdb.base/maint.exp (maint print statistics): Update expected output.
1776
1777 2013-03-28 Pedro Alves <palves@redhat.com>
1778
1779 PR gdb/15294
1780
1781 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1782 mean unlimited instead of $arg < 0.
1783 (test_listsize): Remove "listsize of 0 suppresses output" test.
1784 Test that "set listsize 0" ends up with an unlimited listsize.
1785
1786 2013-03-28 Pedro Alves <palves@redhat.com>
1787
1788 * gdb.base/list.exp (last_line): New global.
1789 (last_line_re): New global.
1790 (test_listsize, test_list_function, test_list_forward)
1791 (test_repeat_list_command, test_list_range)
1792 (test_list_filename_and_function): Use them.
1793 * gdb.base/list0.c: Comment the last line of the file with "last
1794 line".
1795
1796 2013-03-28 Pedro Alves <palves@redhat.com>
1797
1798 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1799 list the whole file.
1800
1801 2013-03-28 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1804 "set listsize".
1805
1806 2013-03-26 Keith Seitz <keiths@redhat.com>
1807
1808 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1809 from passing.
1810
1811 2013-03-26 Pedro Alves <palves@redhat.com>
1812
1813 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1814 until after GDB has run.
1815
1816 2013-03-26 Yao Qi <yao@codesourcery.com>
1817
1818 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1819 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1820
1821 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1822
1823 * gdb.btrace/enable.exp: Add regression test.
1824
1825 2013-03-25 Tom Tromey <tromey@redhat.com>
1826
1827 * gdb.cp/m-static.exp: Add destructor-printing tests.
1828
1829 2013-03-25 Tom Tromey <tromey@redhat.com>
1830
1831 * gdb.cp/m-static.exp: Add constructor ptype tests.
1832 * gdb.cp/m-static.cc (single_constructor): New class.
1833 (main): Make instance of single_constructor.
1834
1835 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1836 Pedro Alves <palves@redhat.com>
1837
1838 * gdb.server/server-kill.c: New file.
1839 * gdb.server/server-kill.exp: New file.
1840
1841 2013-03-21 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1844 Expect $gdb_prompt in gdb_test_multiple.
1845
1846 2013-03-21 Doug Evans <dje@google.com>
1847
1848 * gdb.base/maint.exp: Update tests for per-command stats.
1849
1850 2013-03-21 Tom Tromey <tromey@redhat.com>
1851
1852 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1853 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1854
1855 2013-03-20 Pedro Alves <palves@redhat.com>
1856
1857 PR gdb/15289
1858
1859 * gdb.base/remote.exp: Test
1860 "set remote hardware-watchpoint-limit -1",
1861 "set remote hardware-breakpoint-limit -1",
1862 "set remote hardware-watchpoint-limit 2147483647" and
1863 "set remote hardware-breakpoint-limit 2147483647".
1864
1865 2013-03-20 Pedro Alves <palves@redhat.com>
1866 Yao Qi <yao@codesourcery.com>
1867
1868 * gdb.trace/tfile.c: Add comments.
1869 (nonconstglob): New global.
1870 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1871 global that is not covered by the trace frame. Test
1872 disassembling.
1873
1874 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1875
1876 * gdb.base/valgrind-infcall.exp
1877 (continue #$continue_count) <remote connection closed>
1878 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1879 $valgrind_pid.
1880
1881 2013-03-15 Tom Tromey <tromey@redhat.com>
1882
1883 * gdb.cp/overload.cc (intintfunc): New.
1884 * gdb.cp/overload.exp: Add regression test.
1885
1886 2013-03-15 Yao Qi <yao@codesourcery.com>
1887
1888 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1889 using with_test_prefix.
1890 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1891 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1892 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1893 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1894 * gdb.base/break-interp.exp (test_core): Likewise.
1895 (test_attach_gdb): Likewise.
1896 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1897 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1898 Likewise.
1899 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1900 * gdb.base/jit.exp (one_jit_test): Likewise.
1901 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1902 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1903 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1904 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1905 Likewise.
1906 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1907 Likewise.
1908 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1909 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1910 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1911 (tracepoint_change_loc_2): Likewise.
1912 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1913 Likewise.
1914 (disconnected_tfind): Likewise.
1915 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1916 Likewise.
1917 (test_tfind_remote): Likewise.
1918 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1919 Likewise.
1920 (test_pending_resolved): Likewise.
1921 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1922 Likewise.
1923 (test_upload_tsv): Likewise.
1924 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1925 Likewise.
1926 (pending_tracepoint_works): Likewise.
1927 * gdb.trace/report.exp (use_collected_data): Likewise.
1928 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1929 Likewise.
1930 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1931 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1932 (strace_trace_on_same_addr): Likewise.
1933 (strace_trace_on_diff_addr): Likewise.
1934 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1935 (gdb_collect_locals_test): Likewise.
1936 (gdb_unavailable_registers_test): Likewise.
1937 (gdb_collect_globals_test): Likewise.
1938
1939 2013-03-15 Yao Qi <yao@codesourcery.com>
1940
1941 * gdb.base/condbreak.exp: Add semicolon back which was removed
1942 by my previous commit.
1943
1944 2013-03-14 Yao Qi <yao@codesourcery.com>
1945
1946 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1947 'return'.
1948 (gdb_target_monitor, gdb_load): Likewise.
1949 * config/sid.exp (gdb_load): Likewise.
1950 * config/slite.exp (gdb_load): Likewise.
1951 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1952 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1953 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1954 (single_step_until): Likewise.
1955 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1956 * gdb.arch/system-gcore.exp: Likewise.
1957 * gdb.base/bigcore.exp (extract_heap): Likewise.
1958 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1959 * gdb.base/call-ar-st.exp: Likewise.
1960 * gdb.base/call-rt-st.exp: Likewise.
1961 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1962 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1963 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1964 * gdb.base/corefile.exp: Likewise.
1965 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1966 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1967 * gdb.base/fixsection.exp: Likewise.
1968 * gdb.base/funcargs.exp: Likewise.
1969 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1970 * gdb.base/gcore-relro.exp: Likewise.
1971 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1972 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1973 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1974 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1975 * gdb.base/list.exp: Likewise.
1976 (set_listsize): Likewise.
1977 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1978 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1979 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1980 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1981 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1982 * gdb.base/setvar.exp: Likewise.
1983 (test_set): Likewise.
1984 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1985 * gdb.base/solib-overlap.exp: Likewise.
1986 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1987 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1988 * gdb.base/watchpoint.exp (initialize): Likewise.
1989 (test_simple_watchpoint): Likewise.
1990 (test_disabling_watchpoints): Likewise.
1991 (test_watchpoint_triggered_in_syscall): Likewise.
1992 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1993 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1994 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1995 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1996 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1997 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1998 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1999 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2000 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2001 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
2002 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2003 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
2004 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
2005 * gdb.mi/gdb792.exp: Likewise.
2006 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
2007 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
2008 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
2009 * gdb.threads/gcore-thread.exp: Likewise.
2010 (load_core): Likewise.
2011 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
2012 (test_startup, check_control_c): Likewise.
2013 * gdb.threads/sigstep-threads.exp: Likewise.
2014 * gdb.threads/thread_check.exp: Likewise.
2015 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
2016 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
2017 (set_a_tracepoint, trace_buffer_normal): Likewise.
2018 (gdb_trace_circular_tests): Likewise.
2019 * gdb.trace/collection.exp: Likewise.
2020 * gdb.trace/disconnected-tracing.exp: Likewise.
2021 * gdb.trace/infotrace.exp: Likewise.
2022 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2023 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2024 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
2025 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
2026 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
2027 * gdb.trace/stap-trace.exp: Likewise.
2028 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
2029 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2030 * gdb.trace/trace-buffer-size.exp: Likewise.
2031 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2032 * gdb.trace/unavailable.exp: Likewise.
2033 * gdb.trace/while-dyn.exp: Likewise.
2034 * lib/fortran.exp (set_lang_fortran): Likewise.
2035 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2036 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2037 (default_gdb_start, get_compiler_info): Likewise.
2038 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2039 (get_debug_format, setup_xfail_format): Likewise.
2040 (rerun_to_main, gdb_skip_float_test): Likewise.
2041 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2042 * lib/java.exp (set_lang_java): Likewise.
2043 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2044 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2045 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2046 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2047 * lib/objc.exp (set_lang_objc): Likewise.
2048 * lib/pascal.exp (set_lang_pascal): Likewise.
2049 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2050 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2051 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2052
2053 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2054
2055 PR c++/15203
2056 PR c++/15210
2057 * gdb.cp/m-static.cc (keepalive_int): New function.
2058 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2059 * gdb.cp/m-static.exp: New test for `sintvar'.
2060
2061 2013-03-14 Yao Qi <yao@codesourcery.com>
2062
2063 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2064 of 'tstatus' into tstatus_output.
2065 (top level): Save the trace data to tfile. Read trace file in
2066 tfile target. Check the trace status.
2067
2068 2013-03-13 Yao Qi <yao@codesourcery.com>
2069
2070 * gdb.trace/tsv.exp (check_tsv): New.
2071 (top level): Save a tfile on current trace session. Call
2072 check_tsv on live target. Load the tfile with target tfile
2073 and call check_tsv again.
2074
2075 2013-03-13 Yao Qi <yao@codesourcery.com>
2076
2077 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2078 Replace some "gdb_test" with "gdb_test_no_output".
2079
2080 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2081
2082 * gdb.ada/expr_delims.exp: New file.
2083 * gdb.ada/expr_delims/foo.adb: New file.
2084 * gdb.ada/expr_delims/pck.ads: New file.
2085 * gdb.ada/expr_delims/pck.adb: New file.
2086
2087 2013-03-11 Keith Seitz <keiths@redhat.com>
2088
2089 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2090 both condition and thread. Then delete the watchpoint.
2091
2092 2013-03-11 Christian Himpel <christian.himpel@intel.com>
2093
2094 * Makefile.in: Add btrace testsuite.
2095 * configure: Regenerated.
2096 * configure.ac: Add btrace testsuite.
2097 * gdb.btrace/Makefile.in: New file.
2098 * gdb.btrace/enable.c: New file.
2099 * gdb.btrace/enable.exp: New file.
2100 * gdb.btrace/function_call_history.c: New file.
2101 * gdb.btrace/function_call_history.exp: New file.
2102 * gdb.btrace/instruction_history.c: New file.
2103 * gdb.btrace/instruction_history.exp: New file.
2104 * gdb.btrace/instruction_history.S: New file.
2105 * lib/gdb.exp: Add btrace skip proc.
2106
2107 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2108
2109 Fix entry-values if the callee called a noreturn function.
2110 * gdb.arch/amd64-tailcall-noret.S: New file.
2111 * gdb.arch/amd64-tailcall-noret.c: New file.
2112 * gdb.arch/amd64-tailcall-noret.exp: New file.
2113
2114 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2115
2116 Fix entry-values in C++ across CUs.
2117 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2118 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2119 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2120 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2121 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2122
2123 2013-03-08 Stan Shebs <stan@codesourcery.com>
2124 Hafiz Abid Qadeer <abidh@codesourcery.com>
2125
2126 gdb/testsuite/
2127 * gdb.trace/trace-buffer-size.exp: New file.
2128 * gdb.trace/trace-buffer-size.c: New file.
2129
2130 2013-03-06 Pedro Alves <palves@redhat.com>
2131
2132 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2133 doesn't support the tested optional feature, call "unsupported"
2134 with the same test message as the "pass" case, instead of calling
2135 "pass" with a different message. Use the same text for the "fail"
2136 cases too.
2137
2138 2013-03-06 Yao Qi <yao@codesourcery.com>
2139
2140 * gdb.trace/tstatus.exp: Remove the invocation of
2141 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2142 (test_tracepoints): Don't set fast tracepoint.
2143 (top level): Don't check agent library is loaded or not.
2144
2145 2013-03-06 Yao Qi <yao@codesourcery.com>
2146
2147 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2148 parentheses by "\\".
2149
2150 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2151
2152 * gdb.linespec/base/one/thefile.cc (twodup): New.
2153 (m): Call it.
2154 * gdb.linespec/base/two/thefile.cc (dupname): New.
2155 (n): Call it.
2156 * gdb.linespec/break-ask.exp: New file.
2157 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2158
2159 2013-02-28 Yao Qi <yao@codesourcery.com>
2160
2161 * gdb.trace/report.exp: Move some code to ...
2162 (use_collected_data): New.
2163 (top level): Call use_collected_data once on the live target.
2164 Save at file of the current trace session, load it with target
2165 tfile, and call use_collected_data again.
2166
2167 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2168
2169 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2170
2171 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2172
2173 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2174 Add final kill of ${valgrind_pid}.
2175
2176 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2177
2178 * gdb.python/py-arch.c: New test case
2179 * gdb.python/py-arch.exp: New tests to test
2180 gdb.Architecture.disassemble
2181 * gdb.python/Makefile.in: Add py-arch to the list of
2182 EXECUTABLES.
2183
2184 2013-02-18 Tom Tromey <tromey@redhat.com>
2185
2186 * gdb.dwarf2/subrange.exp: New file.
2187
2188 2013-02-15 Pedro Alves <pedro@codesourcery.com>
2189 Hafiz Abid Qadeer <abidh@codesourcery.com>
2190
2191 * gdb.trace/tfile.exp: Add test for -trace-status command.
2192
2193 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2194
2195 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2196 nanosleep by sleep.
2197
2198 2013-02-14 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2201
2202 2013-02-14 Pedro Alves <pedro@codesourcery.com>
2203 Hafiz Abid Qadeer <abidh@codesourcery.com>
2204
2205 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2206
2207 2013-02-12 Tom Tromey <tromey@redhat.com>
2208
2209 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2210 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2211
2212 2013-02-12 Pedro Alves <palves@redhat.com>
2213
2214 * gdb.base/catch-signal.c: Update copyright years.
2215 * gdb.base/catch-signal.exp: Update copyright years.
2216 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2217 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2218 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2219 * gdb.dwarf2/dw2-error.S: Update copyright years.
2220 * gdb.dwarf2/dw2-error.c: Update copyright years.
2221 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2222 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2223 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2224
2225 2013-02-12 Pedro Alves <palves@redhat.com>
2226
2227 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2228 message.
2229 * gdb.base/sigaltstack.exp: Ditto.
2230 * gdb.base/siginfo.exp: Ditto.
2231 * gdb.base/sizeof.exp: Ditto.
2232
2233 2013-02-12 Pedro Alves <palves@redhat.com>
2234
2235 * gdb.mi/mi-basics.exp: Tweak intro comment.
2236 * gdb.mi/mi-break.exp: Tweak intro comment.
2237 * gdb.mi/mi-console.exp: Tweak intro comment.
2238 * gdb.mi/mi-file.exp: Tweak intro comment.
2239 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2240 * gdb.mi/mi-return.exp: Tweak intro comment.
2241 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2242 * gdb.mi/mi-until.exp: Tweak intro comment.
2243 * gdb.mi/mi-watch.exp: Tweak intro comment.
2244
2245 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2246
2247 * gdb.server/no-thread-db.exp: New file.
2248 * gdb.server/no-thread-db.c: New file.
2249 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2250
2251 2013-02-11 Doug Evans <dje@google.com>
2252
2253 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2254 two decfloats.
2255
2256 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2257
2258 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2259 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2260
2261 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2262
2263 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2264
2265 2013-02-06 Yao Qi <yao@codesourcery.com>
2266
2267 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2268 to ...
2269 (test_create_delete_modify_tsv): ... here. New test on modifying
2270 the initial value of a tsv.
2271
2272 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2273
2274 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2275 (cd .../rdir): ... here.
2276
2277 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2278
2279 * gdb.linespec/base/one/header.h: New file.
2280 * gdb.linespec/base/two/header.h: New file.
2281 * gdb.linespec/macro-relative.c: New file.
2282 * gdb.linespec/macro-relative.exp: New file.
2283
2284 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2285
2286 * gdb.base/fullpath-expand-func.c: New file.
2287 * gdb.base/fullpath-expand.c: New file.
2288 * gdb.base/fullpath-expand.exp: New file.
2289 * gdb.base/realname-expand-real.c: New file.
2290 * gdb.base/realname-expand.c: New file.
2291 * gdb.base/realname-expand.exp: New file.
2292
2293 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2294
2295 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2296 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2297
2298 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2299
2300 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2301 (compare_filenames_for_search does not match)
2302 (compare_filenames_for_search does match): New tests.
2303
2304 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2305
2306 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2307
2308 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2309
2310 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2311
2312 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2313
2314 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2315 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2316 ${binfile}.mini_debuginfo-debuglink and
2317 ${binfile}.mini_debuginfo-debuglink.xz.
2318
2319 2013-02-01 Tom Tromey <tromey@redhat.com>
2320
2321 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2322 attributes.
2323
2324 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2325 Tom Tromey <tromey@redhat.com>
2326
2327 * gdb.dwarf2/method-ptr.exp: Link with c++.
2328 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2329
2330 2013-01-31 Tom Tromey <tromey@redhat.com>
2331
2332 * gdb.base/jit.exp (compile_jit_test): New proc.
2333 Add PIE tests.
2334
2335 2013-01-31 Tom Tromey <tromey@redhat.com>
2336
2337 * gdb.dwarf2/method-ptr.cc: New file.
2338 * gdb.dwarf2/method-ptr.exp: New file.
2339
2340 2013-01-31 Tom Tromey <tromey@redhat.com>
2341
2342 * lib/dwarf.exp (namespace Dwarf): New.
2343
2344 2013-01-29 Tom Tromey <tromey@redhat.com>
2345
2346 * gdb.dwarf2/fission-reread.exp: Add unload test.
2347
2348 2013-01-28 Doug Evans <dje@google.com>
2349
2350 * gdb.dwarf2/fission-loclists.exp: New file.
2351 * gdb.dwarf2/fission-loclists.S: New file.
2352
2353 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2354
2355 Code cleanup.
2356 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2357 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2358 and prepare_for_testing.
2359 * gdb.base/store.exp: Likewise.
2360
2361 2013-01-25 Tom Tromey <tromey@redhat.com>
2362
2363 * gdb.python/py-explore.exp: Expect the gdb prompt.
2364
2365 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
2366
2367 * gdb.base/gnu_vector.c: New variable for use in tests.
2368 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2369 changes in scalar to vector casting and widening.
2370 * gdb.python/py-type.c: New variables for use in tests.
2371 * gdb.python/py-type.exp: Update vector related tests to reflect
2372 changes in scalar to vector casting and widening.
2373
2374 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2375
2376 * gdb.base/prologue-include.c: New file.
2377 * gdb.base/prologue-include.exp: New file.
2378 * gdb.base/prologue-include.h: New file.
2379
2380 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2381
2382 PR gdb/13443
2383 * gdb.mi/mi-var-block.exp: Make test messages unique.
2384
2385 2013-01-23 Tom Tromey <tromey@redhat.com>
2386
2387 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2388
2389 2013-01-23 Tom Tromey <tromey@redhat.com>
2390
2391 * gdb.cp/converts.cc (main): Initialize 'a'.
2392
2393 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2394
2395 * testsuite/gdb.python/frame.exp: Add a test for
2396 gdb.Frame.architecture() method.
2397
2398 2013-01-22 Pedro Alves <palves@redhat.com>
2399
2400 * gdb.base/annota1.exp (signal sent): No longer expect
2401 breakpoints-invalid.
2402 * gdb.cp/annota2.exp (continue until exit)
2403 (watch triggered on a.x): Ditto.
2404
2405 2013-01-22 Pedro Alves <palves@redhat.com>
2406
2407 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2408 Adjust tests to breakpoints-invalid changes.
2409 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2410 variables.
2411 Adjust tests to breakpoints-invalid changes.
2412
2413 2013-01-22 Pedro Alves <palves@redhat.com>
2414
2415 * gdb.base/annota1.exp (annotate ignore count change): Add
2416 expected output for failure case.
2417
2418 2013-01-22 Tom Tromey <tromey@redhat.com>
2419
2420 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2421 call.
2422
2423 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2424
2425 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
2426 * gdb.mi/mi-catch-load.exp: Ditto.
2427 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2428 Also handle 'thread' field.
2429 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2430 * gdb.mi/mi-watch.exp: Ditto.
2431 * lib/mi-support.exp: Ditto.
2432
2433 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2434
2435 * gdb.python/py-explore.exp: Improve a test
2436
2437 2013-01-18  David Blaikie  <dblaikie@gmail.com>
2438
2439 * gdb.base/label.c (main): Correct the type of the second
2440 parameter.
2441
2442 2013-01-18 Tom Tromey <tromey@redhat.com>
2443
2444 * gdb.dwarf2/trace-crash.s: New file.
2445 * gdb.dwarf2/trace-crash.exp: New file.
2446
2447 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2448
2449 PR gdb/13443
2450 * gdb.base/checkpoint.exp: Update test messages to make them
2451 unique.
2452
2453 2013-01-18 Yao Qi <yao@codesourcery.com>
2454
2455 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2456 output of 'info tracepoints'.
2457 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2458 Likewise.
2459 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2460 * gdb.trace/disconnected-tracing.c (struct foo): New.
2461
2462 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2463
2464 * gdb.dwarf2/dw2-dos-drive.S: New file.
2465 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2466
2467 2013-01-17 Doug Evans <dje@google.com>
2468
2469 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2470 CXX_FOR_TARGET.
2471
2472 * boards/cc-with-tweaks.exp: New file.
2473
2474 2013-01-17 Tom Tromey <tromey@redhat.com>
2475
2476 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2477
2478 2013-01-17 Pedro Alves <palves@redhat.com>
2479
2480 Merge dg-extract-results.sh from upstream (svn 195224).
2481
2482 2013-01-15 David Blaikie <dblaikie@gmail.com>
2483 * dg-extract-results.sh: Fix order of summary counts.
2484
2485 2013-01-15 David Blaikie <dblaikie@gmail.com>
2486 * dg-extract-results.sh: Constrain the start-of-log pattern.
2487
2488 2013-01-15 David Blaikie <dblaikie@gmail.com>
2489 * dg-extract-results.sh: Handle KPASSes.
2490
2491 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2492 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2493 of grep -q.
2494
2495 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2496
2497 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2498 interface.
2499 * gdb.base/jithost.c: New file.
2500 * gdb.base/jithost.h: New file.
2501 * gdb.base/jitreader.c : New file.
2502 * gdb.base/jit-protocol.h: New file.
2503
2504 2013-01-16 Tom Tromey <tromey@redhat.com>
2505
2506 * gdb.base/catch-signal.c: New file.
2507 * gdb.base/catch-signal.exp: New file.
2508
2509 2013-01-16 Tom Tromey <tromey@redhat.com>
2510
2511 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2512
2513 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2514
2515 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2516
2517 2013-01-14 Tom Tromey <tromey@redhat.com>
2518
2519 * gdb.base/completion.exp: Add "set gnutarget" test.
2520
2521 2013-01-14 Tom Tromey <tromey@redhat.com>
2522
2523 * gdb.dwarf2/dw2-restrict.S: New file.
2524 * gdb.dwarf2/dw2-restrict.c: New file.
2525 * gdb.dwarf2/dw2-restrict.exp: New file.
2526
2527 2013-01-14 Tom Tromey <tromey@redhat.com>
2528
2529 * gdb.dwarf2/dw2-error.exp: New file.
2530 * gdb.dwarf2/dw2-error.c: New file.
2531 * gdb.dwarf2/dw2-error.S: New file.
2532
2533 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2534
2535 * gdb.cp/parse-lang.cc: New file.
2536 * gdb.cp/parse-lang.exp: New file.
2537
2538 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2539
2540 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2541 (set substitute-path): New test.
2542 (fullname present): Remove content.
2543 (substituted fullname): New test.
2544
2545 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2546
2547 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2548 check. Move $gdb_py_is_py24 value check right after.
2549
2550 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2551
2552 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2553 targets.
2554
2555 2013-01-11 Yao Qi <yao@codesourcery.com>
2556
2557 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2558 for dprintf.
2559 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2560 Check the fields in "=breakpoint-created" for dprintf.
2561
2562 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2563
2564 * gdb.mi/mi-fullname-deleted.exp: New file.
2565
2566 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2567
2568 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2569 expected output.
2570 (info skip with pending file): Remove.
2571 (ignoring function in solib, info skip for function multiply): Update
2572 the expected output.
2573 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2574 (info skip (delete 1), info skip after disabling all)
2575 (info skip after enabling all, info skip after disabling 4 2-3)
2576 (info skip after enabling 2-3, info skip 2-3)
2577 (info skip after deleting 2 3): Update the expected output.
2578 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2579 statement to its initialization and return.
2580 * gdb.linespec/skip-two.exp: New file.
2581
2582 2012-12-19 Doug Evans <dje@google.com>
2583
2584 * gdb.base/maint.exp: Handle testing with .gdb_index.
2585
2586 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2587
2588 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2589 Cavium to FSF.
2590
2591 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2592
2593 * dg-extract-results.sh: Update contact info in copyright notice.
2594 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2595 GPL v3 or later. Update contact info.
2596 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2597 gdb.threads/watchpoint-fork-mt.c,
2598 gdb.threads/watchpoint-fork-parent.c,
2599 gdb.threads/watchpoint-fork-st.c,
2600 gdb.threads/watchpoint-fork.h: Likewise.
2601
2602 2012-12-15 Yao Qi <yao@codesourcery.com>
2603
2604 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2605 'installed' field in '=breakpoint-modified'.
2606 (test_reconnect): Check 'installed' field in
2607 '=breakpoint-modified' and '=breakpoint-created'.
2608
2609 * gdb.trace/actions.exp: Update test for 'installed' field.
2610 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2611 (tracepoint_change_loc_2): Likewise.
2612 Check 'info tracepoint' display nothing else.
2613 * gdb.trace/deltrace.exp: Likewise.
2614 * gdb.trace/infotrace.exp: Likewise.
2615 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2616 Likewise.
2617 * gdb.trace/passcount.exp: Likewise.
2618 * gdb.trace/tracecmd.exp: Likewise.
2619 * gdb.trace/while-stepping.exp: Likewise.
2620
2621 2012-12-14 Tom Tromey <tromey@redhat.com>
2622
2623 * gdb.cp/member-name.exp: New file.
2624 * gdb.cp/member-name.cc: New file.
2625
2626 2012-12-14 Tom Tromey <tromey@redhat.com>
2627
2628 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2629
2630 2012-12-14 Doug Evans <dje@google.com>
2631
2632 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2633 DW_OP_GNU_implicit_pointer is section-relative.
2634
2635 2012-12-14 Tom Tromey <tromey@redhat.com>
2636
2637 * gdb.base/info-proc.exp: Add core file tests.
2638
2639 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2640
2641 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2642
2643 2012-12-13 Doug Evans <dje@google.com>
2644
2645 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2646 * gdb.multi/multi-arch.exp: Ditto.
2647
2648 2012-12-12 Keven Boell <keven.boell@intel.com>
2649
2650 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2651 catch load test library source file.
2652 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2653 load test source file.
2654 * gdb.mi/mi-catch-load.exp: New. Test file for
2655 basic MI -catch-load and -catch-unload tests.
2656
2657 2012-12-11 Paul Koning <paul_koning@dell.com>
2658
2659 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2660 exception.
2661 (_iterator_except): New function.
2662 (ArrayPrinter): Use _iterator function instead of local _iterator
2663 class for Python 3 compatibility.
2664 (NoStringContainerPrinter): Use _iterator_except instead of
2665 _iterator.
2666 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2667 execfile for Python 3 compatibility.
2668 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2669 format in error_prompt test.
2670
2671 2012-12-10 Paul Koning <paul_koning@dell.com>
2672
2673 * gdb.base/charset.exp: Change print syntax for Python 3
2674 compatibility.
2675 * gdb.python/py-block.exp: Ditto.
2676 * gdb.python/py-breakpoint.exp: Ditto.
2677 * gdb.python/py-cmd.exp: Ditto.
2678 * gdb.python/py-events.py: Ditto.
2679 * gdb.python/py-finish-breakpoint.py: Ditto.
2680 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2681 * gdb.python/py-finish-breakpoint2.py: Ditto.
2682 * gdb.python/py-frame-inline.exp: Ditto.
2683 * gdb.python/py-frame.exp: Ditto.
2684 * gdb.python/py-infthread.exp: Ditto.
2685 * gdb.python/py-objfile.exp: Ditto.
2686 * gdb.python/py-parameter.exp: Ditto.
2687 * gdb.python/py-progspace.exp: Ditto.
2688 * gdb.python/py-prompt.exp: Ditto.
2689 * gdb.python/py-symbol.exp: Ditto.
2690 * gdb.python/py-symtab.exp: Ditto.
2691 * gdb.python/py-template.exp: Ditto.
2692 * gdb.python/py-value-cc.exp: Ditto.
2693 * gdb.python/python.exp: Ditto.
2694 * gdb.python/source2.py: Ditto.
2695 * gdb.python/lib-types.exp: Change print syntax for Python 3
2696 compatibility.
2697 Use sorted() function rather than sort() method.
2698 Accept either int or long values for enum values.
2699 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2700 execfile for Python 3 compatibility.
2701 * gdb.python/py-evsignal.exp: Ditto.
2702 * gdb.python/py-evthreads.exp: Ditto.
2703 * gdb.python/py-mi.exp: Ditto.
2704 * gdb.python/py-pp-maint.exp: Ditto.
2705 * gdb.python/py-prettyprint.exp: Ditto.
2706 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2707 Python 3 compatibility.
2708 Skip tests for Python 2.4.
2709 * gdb.python/py-inferior.exp: Change print syntax for
2710 Python 3 compatibility.
2711 Use byte string rather than character string in memory write test
2712 if Python 3.
2713 * gdb.python/py-pp-maint.py: Change class declarations to "new
2714 class" syntax.
2715 * gdb.python/py-prettyprint.py: Change iterator class to generator
2716 function for Python 3 compatibility.
2717 Make all classes "new style".
2718 Fix indentation issue and stray semicolon.
2719 * gdb.python/py-shared.expChange print syntax for Python 3
2720 compatibility.
2721 Define "long" if Python 3.
2722 * gdb.python/py-type.exp: Change print syntax for Python 3
2723 compatibility.
2724 Accept either int or long values for enum values.
2725 * gdb.python/py-value.exp: Change print syntax for Python 3
2726 compatibility.
2727 Skip "long" and "unicode" tests if Python 3.
2728 Accept either "type" or "class" in type checks.
2729 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2730 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2731
2732 2012-12-10 Tom Tromey <tromey@redhat.com>
2733
2734 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2735 (test): Add "two_cu" argument.
2736 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2737 for types; allow two CUs.
2738
2739 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2740
2741 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2742 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2743
2744 2012-12-08 Yao Qi <yao@codesourcery.com>
2745 Pedro Alves <palves@redhat.com>
2746
2747 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2748 '=breakpoint-created' when GDB merges the tracepoints of both
2749 sides.
2750
2751 2012-12-07 Tom Tromey <tromey@redhat.com>
2752
2753 * gdb.base/break1.c (enum some_enum, union some_union): New.
2754 (some_enum_global, some_union_global, some_value): New globals.
2755 * gdb.base/completion.exp: Add tag completion tests.
2756
2757 2012-12-07 Tom Tromey <tromey@redhat.com>
2758
2759 * gdb.base/completion.exp: Add tests for ptype and whatis
2760 completion.
2761
2762 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2763
2764 * gdb.base/stale-infcall.exp: Fix copyright line.
2765
2766 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2767
2768 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2769
2770 2012-12-06 Pedro Alves <palves@redhat.com>
2771 Tom Tromey <tromey@redhat.com>
2772
2773 * gdb.base/exprs.exp: Add tests for cast to void.
2774
2775 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2776
2777 * gdb.python/py-mi.exp: Correct expected results for attribute
2778 "dynamic" returned by -var-update.
2779 Add test case for correct handling of "diplayhint" for children
2780 of dynamic varobjs.
2781 * gdb.python/py-prettyprint.c (set_itme): New function.
2782 (bug_14741) New function.
2783 (main) Add call to bug_14741().
2784 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2785
2786 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2787
2788 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2789 ${binfile}.funcsyms list.
2790
2791 2012-12-04 Yao Qi <yao@codesourcery.com>
2792
2793 PR gdb/13443
2794 * gdb.trace/actions.exp: Make test messages unique.
2795
2796 2012-11-29 Tom Tromey <tromey@redhat.com>
2797
2798 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2799
2800 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2801
2802 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2803 * gdb.opencl/datatypes.exp: Likewise.
2804 * gdb.opencl/operators.exp: Likewise.
2805 * gdb.opencl/vec_comps.exp: Likewise.
2806
2807 2012-11-29 Jerome Guitton <guitton@adacore.com>
2808
2809 * gdb.ada/iwide: New testcase.
2810
2811 2012-11-29 Jerome Guitton <guitton@adacore.com>
2812
2813 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2814 ptype test.
2815
2816 2012-11-29 Jerome Guitton <guitton@adacore.com>
2817
2818 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2819 form {VARIANT_TYPE}ADDRESS.
2820
2821 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2822
2823 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2824 (func): New function.
2825 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2826 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2827 pointers to members with pointer-to-function type.
2828
2829 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2830 Tom Tromey <tromey@redhat.com>
2831
2832 * gdb.base/gnu-debugdata.exp: New file.
2833 * gdb.base/gnu-debugdata.c: New file.
2834 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2835 (gdb_unload): Return 0 on success.
2836
2837 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2838
2839 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2840
2841 2012-11-26 Joel Brobecker <brobecker@adacore.com>
2842
2843 * gdb.base/empty_exe.exp: New testcase.
2844
2845 2012-11-20 Mike Frysinger <vapier@gentoo.org>
2846
2847 * gdb.base/completion.exp: Add test for help aliases completion.
2848
2849 2012-11-20 Yao Qi <yao@codesourcery.com>
2850
2851 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2852 Don't test 'maint set show-debug-regs'.
2853 Use command 'set remotecache' instead of
2854 'set circular-trace-buffer'.
2855
2856 2012-11-16 Keith Seitz <keiths@redhat.com>
2857
2858 PR c++/13615
2859 * gdb.cp/baseenum.cc: New file.
2860 * gdb.cp/baseenum.exp: New file.
2861 * gdb.cp/derivation.cc (A): Add copyright.
2862 Add a typedef.
2863 (B): Use A::value_type instead of int. Change all references.
2864 (D): Use value_type instead of int. Change all references.
2865 (E): Likewise.
2866 (F); Likewise.
2867 (Z): New class.
2868 (ZZ): New class.
2869 (N, Base, Derived): New namespace and classes.
2870 (main): Add instances of Z and ZZ.
2871 Make sure all symbols from N are kept.
2872 * gdb.cp/derivation.exp: Update typedef changes in tests.
2873 Add tests for class typedefs both before and after starting
2874 the inferior.
2875 Add tests for searching for a typedef while stopped in a
2876 method.
2877
2878 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2879
2880 * gdb.mi/mi-var-create-rtti.c: New file.
2881 * gdb.mi/mi-var-create-rtti.exp: New file.
2882
2883 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2884
2885 * gdb.base/structs3.exp: Run to main before doing any tests.
2886
2887 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
2888
2889 * gdb.python/py-type.exp: Uniquify test names.
2890
2891 2012-11-14 Yao Qi <yao@codesourcery.com>
2892
2893 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2894 (thread_function) [DEBUG]: Call 'printf'.
2895 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2896 command line if 'DEBUG=1' is passed to test.
2897 Remove a pattern to match inferior's output.
2898
2899 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2900
2901 * gdb.mi/mi-fill-memory.exp: New test.
2902
2903 2012-11-12 Tom Tromey <tromey@redhat.com>
2904
2905 * gdb.base/completion.exp: Update for "info type-printers".
2906 * gdb.python/py-typeprint.cc: New file.
2907 * gdb.python/py-typeprint.exp: New file.
2908 * gdb.python/py-typeprint.py: New file.
2909
2910 2012-11-12 Tom Tromey <tromey@redhat.com>
2911
2912 * gdb.base/call-sc.exp: Use "ptype/r".
2913 * gdb.base/volatile.exp: Don't expect "int".
2914 * gdb.cp/ptype-flags.cc: New file.
2915 * gdb.cp/ptype-flags.exp: New file.
2916 * gdb.cp/templates.exp: Use ptype/r.
2917 (test_ptype_of_templates, test_template_typedef): Likewise.
2918 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2919 argument. Handle template names and template parameters.
2920 * gdb.mi/mi-var-cmd.exp: Accept "long".
2921 * gdb.mi/mi-var-child.exp: Accept "long".
2922 * gdb.mi/mi-var-display.exp: Accept "long".
2923 * gdb.mi/mi2-var-child.exp: Accept "long".
2924
2925 2012-11-12 Tom Tromey <tromey@redhat.com>
2926
2927 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2928 "ptype" from calls to cp_test_ptype_class.
2929 (test_enums): Likewise.
2930 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2931 cp_test_ptype_class.
2932 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2933 calls to cp_test_ptype_class.
2934 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2935 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2936 from calls to cp_test_ptype_class.
2937 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2938 command here. Change "in_command" argument to "in_exp".
2939
2940 2012-11-10 Keith Seitz <keiths@redhat.com>
2941
2942 PR gdb/14288
2943 * gdb.base/printcmds.c: Add invalid_XXX globals
2944 for repeated byte tests.
2945 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2946 * gdb.base/wchar.c (main): Add and construct a wchar_t
2947 array with repeated characters.
2948 * gdb.base/wchar.exp: Add repeated character tests.
2949
2950 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
2951
2952 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2953 disassembly output.
2954
2955 2012-11-09 Pedro Alves <palves@redhat.com>
2956
2957 PR gdb/14306
2958
2959 * gdb.multi/multi-arch-exec.c: New file.
2960 * gdb.multi/multi-arch-exec.exp: New file.
2961
2962 2012-11-09 Yao Qi <yao@codesourcery.com>
2963
2964 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2965 (top level): Call it.
2966
2967 2012-11-09 Yao Qi <yao@codesourcery.com>
2968
2969 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2970 typo.
2971
2972 2012-11-09 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.multi/multi-arch.exp: New.
2975
2976 2012-11-08 Tom Tromey <tromey@redhat.com>
2977
2978 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2979 core files, if possible.
2980 * gdb.base/siginfo-thread.c: New file
2981 * gdb.base/siginfo-thread.exp: New file
2982
2983 2012-11-08 Tom Tromey <tromey@redhat.com>
2984
2985 * gdb.base/comprdebug.exp: New file.
2986
2987 2012-11-06 Pedro Alves <palves@redhat.com>
2988
2989 PR gdb/14810
2990
2991 * gdb.base/disabled-location.c: New file.
2992 * gdb.base/disabled-location.exp: New file.
2993
2994 2012-11-06 Tom Tromey <tromey@redhat.com>
2995
2996 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2997 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2998 gdb_gcore_cmd.
2999 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
3000 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
3001 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
3002 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
3003 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
3004 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
3005 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
3006 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
3007 * lib/gdb.exp (gdb_gcore_cmd): New proc.
3008
3009 2012-11-05 Pedro Alves <palves@redhat.com>
3010
3011 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
3012 procedure.
3013 (do_vfork_and_follow_child_tests_exec)
3014 (do_vfork_and_follow_child_tests_exit): Call it.
3015
3016 2012-11-05 Pedro Alves <palves@redhat.com>
3017
3018 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
3019 fails.
3020
3021 2012-11-03 Yao Qi <yao@codesourcery.com>
3022
3023 Fix PR gdb/14617.
3024 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3025 Remove setup_kfail, and update test.
3026
3027 2012-11-02 Tom Tromey <tromey@redhat.com>
3028
3029 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3030 test.
3031
3032 2012-11-02 Pedro Alves <palves@redhat.com>
3033
3034 PR gdb/14766
3035
3036 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3037 setup_kfail.
3038 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3039 get registers".
3040
3041 2012-11-02 Pedro Alves <palves@redhat.com>
3042
3043 * gdb.base/foll-vfork-exit.c: New file.
3044 * gdb.base/foll-vfork.exp (top level): New file-describing
3045 comment.
3046 (vfork_child_follow_to_exit): New procedure.
3047 (tcatch_vfork_then_child_follow): Rename as ...
3048 (tcatch_vfork_then_child_follow_exec): ... this.
3049 (tcatch_vfork_then_child_follow_exit): New procedure.
3050 (do_vfork_and_follow_parent_tests): New procedure, factored out
3051 from do_vfork_and_exec_tests.
3052 (do_vfork_and_follow_child_tests_exec): Ditto.
3053 (do_vfork_and_exec_tests): Delete.
3054 (do_vfork_and_follow_child_tests_exit): New procedure.
3055 (top level): Run tests with both the program that has the vfork
3056 child execing, and the program has the vfork child exiting.
3057
3058 2012-11-02 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3061 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3062 (vfork_parent_follow_to_bp): Call it.
3063 (kill_child): Delete.
3064 (vfork_and_exec_child_follow_to_main_bp)
3065 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3066 longer call kill_child.
3067 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3068 (do_vfork_and_exec_tests): Don't runto_main before calling each
3069 test procedure.
3070 (top level): Don't clean restart and set verbose before running
3071 each test procedure.
3072
3073 2012-11-02 Pedro Alves <palves@redhat.com>
3074
3075 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3076 (vfork_parent_follow_to_bp)
3077 (vfork_and_exec_child_follow_to_main_bp)
3078 (vfork_and_exec_child_follow_through_step)
3079 (tcatch_vfork_then_parent_follow)
3080 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3081 Use with_test_prefix.
3082
3083 2012-11-02 Pedro Alves <palves@redhat.com>
3084
3085 * gdb.base/foll-vfork.c: Add copyright header.
3086 * gdb.base/vforked-prog.c: Add copyright header.
3087
3088 2012-11-02 Pedro Alves <palves@redhat.com>
3089
3090 * gdb.base/foll-vfork.exp
3091 (vfork_and_exec_child_follow_through_step): Don't skip on
3092 non-HP/UX targets. Expect the next to only step one line on
3093 non-HP/UX targets, rather than stopping only after the exec.
3094
3095 2012-11-02 Pedro Alves <palves@redhat.com>
3096
3097 Don't hard code line numbers.
3098
3099 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3100 Expect text from the sources instead of a line number.
3101 (vfork_parent_follow_to_bp)
3102 (vfork_and_exec_child_follow_to_main_bp)
3103 (vfork_and_exec_child_follow_through_step)
3104 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3105 Use gdb_get_line_number.
3106
3107 2012-11-02 Pedro Alves <palves@redhat.com>
3108
3109 Modernize.
3110
3111 * gdb.base/foll-vfork.exp: Use standard_testfile and
3112 build_executable. Pass descriptive string to untested.
3113 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3114 (vfork_and_exec_child_follow_to_main_bp)
3115 (vfork_and_exec_child_follow_through_step)
3116 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3117 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3118 of send_gdb/gdb_expect.
3119
3120 (kill_child): New procedure.
3121 (vfork_and_exec_child_follow_to_main_bp)
3122 (vfork_and_exec_child_follow_through_step): Use it.
3123
3124 2012-11-02 Yao Qi <yao@codesourcery.com>
3125
3126 * gdb.base/setvar.exp: Test setting nested struct.
3127 * gdb.base/setvar.c (v_struct3): New.
3128
3129 2012-11-01 Doug Evans <dje@google.com>
3130
3131 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3132 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3133 use them.
3134
3135 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
3136
3137 PR cli/14772
3138 * gdb.base/gnu_vector.c (union_with_vector_1)
3139 (struct_with_vector_1): Add new struct and union for testing
3140 ptype.
3141 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3142 structs / unions containing vectors.
3143
3144 2012-10-25 Yao Qi <yao@codesourcery.com>
3145
3146 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3147 'setup_kfail' instead of 'setup_kfail_for_target'.
3148 * gdb.base/varargs.exp: Likewise.
3149 * lib/gdb.exp (setup_kfail_for_target): Remove.
3150
3151 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3152
3153 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3154
3155 2012-10-25 Mark Kettenis <kettenis@gnu.org>
3156
3157 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3158
3159 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3160
3161 * gdb.ada/set_wstr: New testcase.
3162
3163 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3164
3165 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3166
3167 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3168
3169 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3170
3171 2012-10-24 Mark Kettenis <kettenis@gnu.org>
3172
3173 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3174
3175 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3176
3177 * gdb.base/callfuncs.exp (do_function_calls): Fix
3178 setup_kfail_for_target for -m32 mode.
3179
3180 2012-10-23 Mark Kettenis <kettenis@gnu.org>
3181
3182 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3183 are now fixed.
3184
3185 2012-10-23 Yao Qi <yao@codesourcery.com>
3186
3187 * gdb.base/info-os.exp: Resume the inferior until it exits.
3188
3189 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3190
3191 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3192 * gdb.base/print-file-var.exp: Likewise.
3193 * gdb.base/type-opaque.exp: Likewise.
3194
3195 2012-10-17 Yao Qi <yao@codesourcery.com>
3196
3197 * gdb.mi/mi-memory-changed.exp: New.
3198
3199 2012-10-16 Yao Qi <yao@codesourcery.com>
3200
3201 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3202 returns true.
3203 Call gdb_load_shlibs.
3204 * gdb.reverse/solib-reverse.exp: Likewise.
3205
3206 2012-10-15 Keith Seitz <keiths@redhat.com>
3207
3208 * lib/cp-support.exp (cp_test_ptype_class): Add support
3209 for class typedefs.
3210
3211 * gdb.cp/derivation.exp: Add tests for g_instance.
3212
3213 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3214
3215 Fix entry values resolving in inlined frames.
3216 * gdb.arch/amd64-entry-value-inline.S: New file.
3217 * gdb.arch/amd64-entry-value-inline.c: New file.
3218 * gdb.arch/amd64-entry-value-inline.exp: New file.
3219
3220 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3221 Doug Evans <dje@google.com>
3222
3223 Fix recent gdb_breakpoint regression.
3224 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3225 braces from the parameter.
3226 * gdb.java/jprint.exp: Likewise.
3227
3228 2012-10-15 Doug Evans <dje@google.com>
3229
3230 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3231
3232 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3233
3234 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3235
3236 2012-10-15 Tom Tromey <tromey@redhat.com>
3237
3238 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3239
3240 2012-10-15 Tom Tromey <tromey@redhat.com>
3241
3242 * gdb.python/py-symbol.exp: Test symbol destructor.
3243
3244 2012-10-14 Yao Qi <yao@codesourcery.com>
3245
3246 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3247 * gdb.mi/mi-cli.exp: New.
3248
3249 * gdb.mi/mi2-basics.exp: Remove.
3250 * gdb.mi/mi2-break.exp: Remove.
3251 * gdb.mi/mi2-console.exp: Remove.
3252 * gdb.mi/mi2-disassemble.exp: Remove.
3253 * gdb.mi/mi2-eval.exp: Remove.
3254 * gdb.mi/mi2-file.exp: Remove.
3255 * gdb.mi/mi2-hack-cli.exp: Remove.
3256 * gdb.mi/mi2-pthreads.exp: Remove.
3257 * gdb.mi/mi2-read-memory.exp: Remove.
3258 * gdb.mi/mi2-regs.exp: Remove.
3259 * gdb.mi/mi2-return.exp: Remove.
3260 * gdb.mi/mi2-simplerun.exp: Remove.
3261 * gdb.mi/mi2-stack.exp: Remove.
3262 * gdb.mi/mi2-stepi.exp: Remove.
3263 * gdb.mi/mi2-syn-frame.exp: Remove.
3264 * gdb.mi/mi2-until.exp: Remove.
3265 * gdb.mi/mi2-watch.exp: Remove.
3266 * gdb.mi/mi2-var-block.exp: Remove.
3267 * gdb.mi/mi2-var-cmd.exp: Remove.
3268 * gdb.mi/mi2-var-display.exp: Remove.
3269
3270 2012-10-12 Yao Qi <yao@codesourcery.com>
3271
3272 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3273 trail '.*' on matching patterns.
3274
3275 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3276
3277 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3278 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3279 * gdb.arch/i386-disp-step.exp: Likewise.
3280 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3281 * gdb.arch/i386-prologue.exp: Likewise.
3282 * gdb.arch/i386-size-overlap.exp: Likewise.
3283 * gdb.arch/i386-size.exp: Likewise.
3284 * gdb.arch/i386-unwind.exp: Likewise.
3285
3286 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3289 * gdb.arch/i386-word.exp: Likewise.
3290
3291 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3292
3293 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3294 is_ilp32_target to set nr_regs.
3295 * gdb.arch/i386-sse.exp: Likewise.
3296
3297 2012-10-11 Doug Evans <dje@google.com>
3298
3299 PR breakpoints/14643.
3300 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3301 * gdb.linespec/thread.c: New file.
3302 * gdb.linespec/thread.exp: New file.
3303
3304 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3305 Recognize "message" -> print pass and fail. Add eof case.
3306 (runto): Recognize message, no-message. Print pass/fail if requested,
3307 with same treatment as gdb_breakpoint.
3308 (runto_main): Pass no-message to runto.
3309 (gdb_internal_error_resync): Add log message.
3310 (gdb_file_cmd): Tweak internal error fail text for consistency.
3311
3312 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3313
3314 Fix crash during stepping on ppc32.
3315 * gdb.base/step-symless.c: New file.
3316 * gdb.base/step-symless.exp: New file.
3317
3318 2012-10-03 Doug Evans <dje@google.com>
3319
3320 PR symtab/14601
3321 * gdb.cp/using-crash.exp: New file.
3322 * gdb.cp/using-crash.cc: New file.
3323
3324 2012-10-02 Doug Evans <dje@google.com>
3325
3326 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3327 more consistent.
3328 (runto,gdb_debug_format): Ditto.
3329 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3330 Clean up logging and error messages.
3331
3332 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
3333
3334 Test find command on unmapped memory.
3335 * gdb.base/find-unmapped.c: New file.
3336 * gdb.base/find-unmapped.exp: New file.
3337
3338 2012-09-29 Yao Qi <yao@codesourcery.com>
3339
3340 * gdb.trace/mi-tracepoint-changed.exp: New.
3341 * gdb.mi/mi-breakpoint-changed.exp: New.
3342 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3343 * gdb.mi/pendshr2.c: New.
3344
3345 2012-09-28 Yao Qi <yao@codesourcery.com>
3346
3347 * gdb.mi/pr11022.exp: New.
3348 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3349
3350 2012-09-27 Tom Tromey <tromey@redhat.com>
3351
3352 * gdb.cp/derivation.exp: Add regression test.
3353 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3354 V_derived): New.
3355 (vderived): New global.
3356
3357 2012-09-26 Tom Tromey <tromey@redhat.com>
3358
3359 * gdb.dwarf2/dw2-common-block.S: New file.
3360 * gdb.dwarf2/dw2-common-block.exp: New file.
3361
3362 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3363
3364 * gdb.fortran/common-block.exp: New file.
3365 * gdb.fortran/common-block.f90: New file.
3366
3367 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
3368
3369 * gdb.base/duplicate-bp.c: New file.
3370 * gdb.base/duplicate-bp.exp: New file.
3371
3372 2012-09-26 Yao Qi <yao@codesourcery.com>
3373
3374 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3375
3376 Revert:
3377 2012-09-21 Yao Qi <yao@codesourcery.com>
3378
3379 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3380
3381 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3382
3383 * gdb.base/longest-types.c: New test case.
3384 * gdb.base/longest-types.exp: New test case.
3385
3386 2012-09-25 Yao Qi <yao@codesourcery.com>
3387
3388 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3389
3390 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3391
3392 Fix internal error on canonicalization of clang types.
3393 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3394 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3395 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3396
3397 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 Fix disassemble without parameters in tailcall frame.
3400 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3401
3402 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
3403
3404 * gdb.dwarf2/dw2-op-out-param.S: New file.
3405 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3406
3407 2012-09-21 Yao Qi <yao@codesourcery.com>
3408
3409 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3410
3411 2012-09-21 Yao Qi <yao@codesourcery.com>
3412
3413 * gdb.mi/mi-cli.exp: Remove.
3414 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3415
3416 2012-09-21 Yao Qi <yao@codesourcery.com>
3417
3418 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3419 "=record-started" notification.
3420
3421 2012-09-21 Yao Qi <yao@codesourcery.com>
3422
3423 * gdb.mi/mi-record-changed.exp: New.
3424 * gdb.mi/mi-reverse.exp: Adjust expected output.
3425
3426 2012-09-20 Tom Tromey <tromey@redhat.com>
3427
3428 * gdb.python/python.exp: Test atexit.register.
3429
3430 2012-09-20 Doug Evans <dje@google.com>
3431
3432 * boards/dwarf4-gdb-index.exp: New file.
3433
3434 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3435 while running the tests.
3436
3437 2012-09-18 Joel Brobecker <brobecker@adacore.com>
3438
3439 * gdb.ada/bp_reset: New testcase.
3440
3441 2012-09-18 Yao Qi <yao@codesourcery.com>
3442
3443 * gdb.trace/mi-tsv-changed.exp: New.
3444
3445 2012-09-18 Yao Qi <yao@codesourcery.com>
3446
3447 * gdb.trace/mi-traceframe-changed.exp: New.
3448
3449 2012-09-17 Yao Qi <yao@codesourcery.com>
3450
3451 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3452 when it is less than 0.
3453
3454 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3455
3456 PR 14119
3457 * gdb.arch/amd64-tailcall-ret.S: New file.
3458 * gdb.arch/amd64-tailcall-ret.c: New file.
3459 * gdb.arch/amd64-tailcall-ret.exp: New file.
3460 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3461 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3462 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3463
3464 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3465
3466 PR 14548
3467 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3468 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3469 * gdb.reverse/singlejmp-reverse.S: New file.
3470 * gdb.reverse/singlejmp-reverse.c: New file.
3471 * gdb.reverse/singlejmp-reverse.exp: New file.
3472
3473 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3474
3475 Fix compatibility with old GCC (~4.1).
3476 * gdb.cp/converts.cc (my_enum_var): New variable.
3477
3478 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
3479
3480 * gdb.xml/tdesc-regs.exp: Update expected output for new
3481 vector_size syntax of vector types.
3482
3483 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3484
3485 Refactor Python "gdb" module into a proper Python package, by
3486 introducing a new "_gdb" module for code implemented in C, and
3487 using reload/__import__ instead of exec.
3488 * gdb.python/python.exp (Test stderr location): Update module
3489 location of GDB-specific sys.stderr.
3490 (Test stdout location): Ditto for sys.stdout.
3491
3492 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3493
3494 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3495
3496 2012-09-12 Keith Seitz <keiths@redhat.com>
3497
3498 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3499 conversion statement.
3500
3501 2012-09-12 Doug Evans <dje@google.com>
3502
3503 * gdb.base/help.exp: Remove testing of individual command help text,
3504 too much of a maintenance burden. Instead, test the functionality
3505 of "help" itself.
3506
3507 2012-09-11 Doug Evans <dje@google.com>
3508
3509 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3510 breakpoint.
3511
3512 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3513 * gdb.dwarf2/fission-reread.S: Ditto.
3514 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3515 * gdb.dwarf2/fission-reread.exp: Ditto.
3516
3517 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3518
3519 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3520
3521 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3522
3523 * gdb.ada/optim_drec: New testcase.
3524
3525 2012-09-10 Doug Evans <dje@google.com>
3526
3527 * boards/fission.exp: Explicitly mark "board" as not remote.
3528
3529 2012-09-10 Keith Seitz <keiths@redhat.com>
3530
3531 PR gdb/13483
3532 * gdb.cp/converts.cc (A::A): Add ctor.
3533 (A::member_): Add member.
3534 (enum my_enum): New enumeration.
3535 (main): Add calls to foo1_7 with various
3536 permitted arguments.
3537 * gdb.cp/converts.exp: Add tests for boolean
3538 conversions permitted by the standard.
3539
3540 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3541
3542 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3543 avoid spurious results due to ~/.gdbinit.
3544 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3545 $INTERNAL_GDBFLAGS in run command.
3546 * gdb.gdb/observer.exp (setup_test): Ditto.
3547 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3548 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3549
3550 2012-09-06 Doug Evans <dje@google.com>
3551
3552 * boards/fission.exp: New file.
3553
3554 * gdb.python/py-value.exp: Use clean_restart.
3555
3556 2012-09-05 Doug Evans <dje@google.com>
3557
3558 * gdb.base/info-macros.c: Fix whitespace.
3559
3560 2012-08-28 Pedro Alves <palves@redhat.com>
3561
3562 PR gdb/14428
3563
3564 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3565
3566 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3567
3568 * gdb.base/break-caller-line.c: New file.
3569 * gdb.base/break-caller-line.exp: New file.
3570
3571 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3572
3573 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3574 * gdb.arch/i386-cfi-notcurrent.S: New file.
3575 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3576
3577 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3578 Yao Qi <yao@codesourcery.com>
3579 Pedro Alves <palves@redhat.com>
3580
3581 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3582 New procedures.
3583 (top level): Add overlap checking tests.
3584
3585 2012-08-24 Tom Tromey <tromey@redhat.com>
3586
3587 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3588 gdb_test_multiple fails for other reasons.
3589
3590 2012-08-24 Yao Qi <yao@codesourcery.com>
3591
3592 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3593
3594 2012-08-23 Pedro Alves <palves@redhat.com>
3595
3596 * gdb.base/help.exp: Adjust to "handle" help text change.
3597
3598 2012-08-23 Yao Qi <yao@codesourcery.com>
3599
3600 * gdb.trace/disconnected-tracing.c (start, end): New.
3601 (main): Call start and end.
3602 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3603 existing tests into this proc.
3604 (disconnected_tfind): New.
3605
3606 2012-08-23 Yao Qi <yao@codesourcery.com>
3607
3608 * boards/native-gdbserver.exp (${board}_upload): New.
3609 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3610 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3611 Execute tfile on remote target.
3612 Copy trace file from target to host.
3613
3614 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3615
3616 * gdb.arch/thumb-bx-pc.S: New file.
3617 * gdb.arch/thumb-bx-pc.exp: New file.
3618
3619 2012-08-22 Tom Tromey <tromey@redhat.com>
3620
3621 * gdb.base/maint.exp: Update.
3622
3623 2012-08-22 Tom Tromey <tromey@redhat.com>
3624
3625 * lib/gdb.exp (skip_unwinder_tests): New proc.
3626 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3627 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3628
3629 2012-08-21 Tom Tromey <tromey@redhat.com>
3630
3631 * gdb.hp/gdb.aCC/exception.exp: Remove.
3632
3633 012-08-19 Andrew Pinski <apinski@cavium.com>
3634
3635 * gdb.arch/mips-octeon-bbit.c: New file.
3636 * gdb.arch/mips-octeon-bbit.exp: New Test.
3637
3638 012-08-19 Keith Seitz <keiths@redhat.com>
3639
3640 PR c++/14365
3641 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3642 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3643
3644 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3645
3646 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3647 verbose -log by more specific untested call.
3648
3649 2012-08-18 Yao Qi <yao@codesourcery.com>
3650
3651 * gdb.trace/tfind.exp: Move tests on various command help before
3652 checking target supports trace.
3653 Fix the expected output of 'help tfind end'.
3654
3655 2012-08-17 Keith Seitz <keiths@redhat.com>
3656
3657 PR c++/13356
3658 * gdb.base/default.exp: Update all "check type" tests.
3659 * gdb.base/help.exp: Likewise.
3660 * gdb.base/setshow.exp: Likewise.
3661 * gdb.cp/converts.cc (foo1_type_check): New function.
3662 (foo2_type_check): New function.
3663 (foo3_type_check): New function.
3664 (main): Call new functions.
3665 * converts.exp: Add tests for integer-to-pointer conversions
3666 with/without strict type-checking.
3667
3668 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3669
3670 * gdb.base/help.exp: Update expected output.
3671
3672 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3673
3674 * gdb.ada/rdv_wait: New testcase.
3675
3676 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3677
3678 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3679
3680 2012-08-13 Doug Evans <dje@google.com>
3681
3682 * gdb.base/help.exp: Update expected output.
3683 * gdb.base/default.exp: Update expected output of "show convenience".
3684
3685 2012-08-10 Doug Evans <dje@google.com>
3686
3687 * gdb.python/py-strfns.c: New file.
3688 * gdb.python/py-strfns.exp: New file.
3689 * gdb.python/py-type.exp (test_fields): Add vector tests.
3690
3691 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3692
3693 PR cli/10436:
3694 * gdb.base/completion.exp: Add tests for handle completion.
3695
3696 2012-08-09 Yao Qi <yao@codesourcery.com>
3697
3698 * gdb.mi/mi-cmd-param-changed.exp: New.
3699 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3700 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3701 * gdb.mi/mi2-prompt.exp: Likewise.
3702
3703 2012-08-08 Doug Evans <dje@google.com>
3704
3705 * gdb.base/debug-expr.c: New file.
3706 * gdb.base/debug-expr.exp: New file.
3707 * gdb.base/exprs.exp: Test {type} casts.
3708 * gdb.cp/debug-expr.exp: New file.
3709
3710 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3711
3712 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3713 global variable loop, not a 'break'. Add loop count limit to 100.
3714 Add new fail case for terminated vgdb.
3715
3716 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3717 Jean-Marc Saffroy <saffroy@gmail.com>
3718
3719 PR 11804
3720 * gdb.base/gcore-relro.exp: New file.
3721 * gdb.base/gcore-relro-main.c: New file.
3722 * gdb.base/gcore-relro-lib.c: New file.
3723
3724 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3725
3726 Do not false FAIL with old GCCs.
3727 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3728 GCC < 4.5 in $no_hw mode.
3729
3730 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3731
3732 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3733
3734 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3735
3736 * gdb.base/list.exp (test_only_end): New function.
3737 Call it.
3738
3739 2012-08-06 Tom Tromey <tromey@redhat.com>
3740
3741 * gdb.python/py-mi.exp: Add test for printer whose children
3742 are a list.
3743 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3744 (main): New variable children_as_list.
3745 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3746 New.
3747 (register_pretty_printers): Register new printer.
3748
3749 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3750
3751 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3752 symbols. Abort if vgdb remote connection is closed.
3753
3754 2012-08-02 Doug Evans <dje@google.com>
3755
3756 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3757
3758 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3759
3760 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3761 s390x, PowerPC 64 and m68k-linux.
3762
3763 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3764
3765 * gdb.base/annota1.exp: Accept no frames-invalid notification
3766 when starting up the program.
3767 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3768 show a symbolic value as well.
3769 * gdb.server/server-exec-info.exp: Skip test when skipping
3770 gdbserver test and/or when skipping shared library tests.
3771 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3772 avoid name conflicts with other tests.
3773
3774 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3775
3776 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3777 Fix wrong output on big-endian systems.
3778 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3779 4-byte pointer types on 64-bit s390x.
3780
3781 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3782
3783 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3784 marker comment at the beginning (after intialization).
3785 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3786 breakpoint on marker comment instead of function begin.
3787 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3788 PowerPC.
3789 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3790 or 64-bit PowerPC.
3791 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3792 gdb,no_hardware_watchpoints flag is set.
3793 (initialize): Remove now redundant can-use-hw-watchpoints change.
3794
3795 2012-08-02 Yao Qi <yao@codesourcery.com>
3796 Pedro Alves <palves@redhat.com>
3797
3798 * boards/local-remote-host.exp: New.
3799
3800 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3801
3802 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3803 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3804 * gdb.base/print-file-var.exp: Likewise.
3805 * gdb.server/solib-list.exp: Skip on remote targets.
3806
3807 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3808
3809 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3810 watchpoints on ARM. When expecting software watchpoints, tolerate
3811 (remote) targets that report unsupported hardware watchpoint only
3812 at continue time.
3813 (test_wide_location_2): Likewise.
3814
3815 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3816
3817 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3818 valgrind versions.
3819
3820 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3821
3822 * gdb.base/valgrind-infcall.c: New file.
3823 * gdb.base/valgrind-infcall.exp: New file.
3824
3825 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3826
3827 2012-07-30 Keith Seitz <keiths@redhat.com>
3828
3829 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3830 linespecs.
3831
3832 2012-07-30 Doug Evans <dje@google.com>
3833
3834 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3835 * gdb.dwarf2/pr13961.S: Ditto.
3836
3837 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3838
3839 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
3840
3841 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3842 change its format immediately after reloading the binary.
3843
3844 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3845
3846 Fix testsuite regression after --use-deprecated-index-sections removal.
3847 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3848 string.
3849 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3850
3851 2012-07-27 Yao Qi <yao@codesourcery.com>
3852
3853 KFAIL for PR remote/14161.
3854 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3855 Cleanup socket files.
3856 (strace_info_marker): Detach inferior.
3857
3858 2012-07-26 Tom Tromey <tromey@redhat.com>
3859
3860 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3861
3862 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3863
3864 * gdb.python/py-inferior.c (thread): New function.
3865 (check_threads): New function.
3866 (test_threads): New function.
3867 * gdb.python/py-inferior.exp: Added test.
3868 Replaced runto with continue to breakpoint.
3869
3870 2012-07-26 Tom Tromey <tromey@redhat.com>
3871
3872 * lib/ada.exp (standard_ada_testfile): New proc.
3873 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3874 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3875 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3876 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3877 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3878 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3879 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3880 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3881 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3882 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3883 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3884 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3885 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3886 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3887 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3888 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3889 * gdb.ada/complete.exp: Use standard_ada_testfile.
3890 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3891 standard_output_file.
3892 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3893 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3894 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3895 standard_output_file.
3896 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3897 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3898 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3899 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3900 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3901 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3902 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3903 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3904 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3905 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3906 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3907 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3908 * gdb.ada/interface.exp: Use standard_ada_testfile.
3909 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3910 standard_output_file
3911 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3912 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3913 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3914 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3915 * gdb.ada/nested.exp: Use standard_ada_testfile.
3916 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3917 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3918 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3919 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3920 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3921 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3922 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3923 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3924 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3925 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3926 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3927 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3928 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3929 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3930 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3931 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3932 * gdb.ada/start.exp: Use standard_ada_testfile.
3933 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3934 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3935 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3936 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3937 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3938 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3939 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3940 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3941 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3942 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3943 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3944 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3945 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3946 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3947
3948 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3949
3950 Fix testsuite regression after --use-deprecated-index-sections removal.
3951 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3952
3953 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3954
3955 Fix compatibility with Tcl before 7.5.
3956 * lib/future.exp (lreverse): New function if it does not exist.
3957
3958 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3959
3960 * gdb.mi/mi-pending.c: New method to set a second pending
3961 breakpoint.
3962 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3963 condition.
3964
3965 2012-07-20 Pedro Alves <palves@redhat.com>
3966
3967 PR threads/11692
3968 PR gdb/12203
3969
3970 * gdb.threads/create-fail.c: New file.
3971 * gdb.threads/create-fail.exp: New file.
3972
3973 2012-07-19 Pedro Alves <palves@redhat.com>
3974
3975 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3976 * config/vx.exp (gdb_start): Likewise.
3977 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3978 * gdb.base/setvar.exp (test_set): Likewise.
3979 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3980 * gdb.reverse/sigall-precsave.exp: Likewise.
3981 * gdb.reverse/sigall-reverse.exp: Likewise.
3982
3983 2012-07-19 Pedro Alves <palves@redhat.com>
3984
3985 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3986 handler before recording.
3987
3988 2012-07-19 Tom Tromey <tromey@redhat.com>
3989
3990 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3991 * gdb.cp/casts.cc (decltype): New function.
3992 (main): Use it.
3993
3994 2012-07-19 Pedro Alves <palves@redhat.com>
3995
3996 * gdb.base/sigall.exp (signals): New list.
3997 <top level>: Loop over signals in the $signals list instead of
3998 calling a test function once per signal.
3999 * gdb.reverse/sigall-precsave.exp (signals): New list.
4000 <top level>: Loop over signals in the $signals list instead of
4001 calling a test function once per signal.
4002 * gdb.reverse/sigall-reverse.exp (signals): New list.
4003 <top level>: Loop over signals in the $signals list instead of
4004 calling a test function once per signal.
4005
4006 2012-07-19 Yao Qi <yao@codesourcery.com>
4007
4008 * gdb.base/setshow.exp: Test 'set args ~'.
4009
4010 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4011
4012 * gdb.base/store.exp (check_set): Import gdb_prompt.
4013 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
4014 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
4015
4016 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4017
4018 PR 11914
4019 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
4020 (main): Call eval_sub.
4021 * gdb.python/py-prettyprint.exp:
4022 (python execfile ('py-prettyprint.py')): Move it earlier.
4023 New breakpoint for eval-break.
4024 (continue to breakpoint: eval-break, info locals): New test.
4025 (python execfile ('py-prettyprint.py')): Move it from here.
4026 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
4027 (register_pretty_printers): Register pp_eval_type.
4028
4029 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4030
4031 Fix a testcase regression by me.
4032 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4033 DW_FORM_data4.
4034
4035 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4036 Doug Evans <dje@google.com>
4037
4038 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4039 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4040
4041 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4042
4043 Fix gdbserver run regression.
4044 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4045
4046 2012-07-12 Tom Tromey <tromey@redhat.com>
4047
4048 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4049 (clean_restart): Likewise.
4050 (core_find): Use standard_output_file.
4051
4052 2012-07-12 Tom Tromey <tromey@redhat.com>
4053
4054 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4055 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4056 prepare_for_testing_full.
4057 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4058 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4059 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4060 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4061 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4062 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4063 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4064 prepare_for_testing_full.
4065 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4066 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4067 prepare_for_testing_full.
4068 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4069 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4070 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4071
4072 2012-07-12 Tom Tromey <tromey@redhat.com>
4073
4074 * lib/gdb.exp (build_executable_from_specs): New proc, from
4075 build_executable.
4076 (build_executable): Use it.
4077 (prepare_for_testing_full): New proc.
4078
4079 2012-07-11 Tom Tromey <tromey@redhat.com>
4080
4081 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4082 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4083 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4084 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4085 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4086 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4087 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4088 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4089 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4090 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4091
4092 2012-07-10 Tom Tromey <tromey@redhat.com>
4093
4094 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4095 standard_output_file.
4096 * gdb.mi/gdb2549.exp: Use standard_testfile.
4097 * gdb.mi/gdb669.exp: Use standard_testfile.
4098 * gdb.mi/gdb701.exp: Use standard_testfile.
4099 * gdb.mi/gdb792.exp: Use standard_testfile.
4100 * gdb.mi/mi-async.exp: Use standard_testfile.
4101 * gdb.mi/mi-basics.exp: Use standard_testfile.
4102 * gdb.mi/mi-break.exp: Use standard_testfile.
4103 * gdb.mi/mi-cli.exp: Use standard_testfile.
4104 * gdb.mi/mi-console.exp: Use standard_testfile.
4105 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4106 * gdb.mi/mi-eval.exp: Use standard_testfile.
4107 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4108 * gdb.mi/mi-file.exp: Use standard_testfile.
4109 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4110 * gdb.mi/mi-logging.exp: Use standard_testfile.
4111 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4112 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4113 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4114 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4115 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4116 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4117 * gdb.mi/mi-pending.exp: Use standard_testfile,
4118 standard_output_file.
4119 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4120 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4121 * gdb.mi/mi-regs.exp: Use standard_testfile.
4122 * gdb.mi/mi-return.exp: Use standard_testfile.
4123 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4124 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4125 * gdb.mi/mi-solib.exp: Use standard_testfile,
4126 standard_output_file.
4127 * gdb.mi/mi-stack.exp: Use standard_testfile.
4128 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4129 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4130 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4131 * gdb.mi/mi-until.exp: Use standard_testfile.
4132 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4133 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4134 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4135 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4136 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4137 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4138 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4139 standard_output_file.
4140 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4141 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4142 * gdb.mi/mi-watch.exp: Use standard_testfile.
4143 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4144 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4145 * gdb.mi/mi2-break.exp: Use standard_testfile.
4146 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4147 * gdb.mi/mi2-console.exp: Use standard_testfile.
4148 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4149 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4150 * gdb.mi/mi2-file.exp: Use standard_testfile.
4151 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4152 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4153 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4154 * gdb.mi/mi2-return.exp: Use standard_testfile.
4155 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4156 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4157 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4158 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4159 * gdb.mi/mi2-until.exp: Use standard_testfile.
4160 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4161 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4162 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4163 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4164 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4165
4166 2012-07-10 Tom Tromey <tromey@redhat.com>
4167
4168 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4169 * gdb.cp/ambiguous.exp: Use standard_testfile,
4170 prepare_for_testing.
4171 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4172 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4173 * gdb.cp/anon-ns.exp: Use standard_testfile.
4174 * gdb.cp/anon-struct.exp: Use standard_testfile.
4175 * gdb.cp/anon-union.exp: Use standard_testfile,
4176 prepare_for_testing.
4177 * gdb.cp/arg-reference.exp: Use standard_testfile,
4178 prepare_for_testing.
4179 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4180 * gdb.cp/breakpoint.exp: Use standard_testfile,
4181 prepare_for_testing.
4182 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4183 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4184 standard_output_file.
4185 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4186 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4187 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4188 (test_static_members): Update.
4189 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4190 * gdb.cp/converts.exp: Use standard_testfile.
4191 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4192 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4193 prepare_for_testing.
4194 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4195 * gdb.cp/cplabel.exp: Use standard_testfile.
4196 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4197 prepare_for_testing.
4198 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4199 * gdb.cp/derivation.exp: Use standard_testfile,
4200 prepare_for_testing.
4201 * gdb.cp/destrprint.exp: Use standard_testfile.
4202 * gdb.cp/dispcxx.exp: Use standard_testfile.
4203 * gdb.cp/exception.exp: Use standard_testfile,
4204 prepare_for_testing.
4205 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4206 * gdb.cp/extern-c.exp: Use standard_testfile,
4207 prepare_for_testing.
4208 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4209 prepare_for_testing.
4210 * gdb.cp/fpointer.exp: Use standard_testfile.
4211 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4212 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4213 standard_output_file.
4214 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4215 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4216 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4217 standard_output_file.
4218 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4219 (do_tests): Update.
4220 * gdb.cp/koenig.exp: Use standard_testfile.
4221 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4222 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4223 * gdb.cp/m-static.exp: Use standard_testfile,
4224 prepare_for_testing.
4225 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4226 * gdb.cp/mb-inline.exp: Use standard_testfile,
4227 prepare_for_testing.
4228 * gdb.cp/mb-templates.exp: Use standard_testfile,
4229 prepare_for_testing.
4230 * gdb.cp/member-ptr.exp: Use standard_testfile,
4231 prepare_for_testing.
4232 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4233 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4234 * gdb.cp/method2.exp: Use standard_testfile.
4235 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4236 standard_output_file.
4237 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4238 (do_tests): Update.
4239 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4240 prepare_for_testing.
4241 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4242 prepare_for_testing.
4243 * gdb.cp/namespace.exp: Use standard_testfile,
4244 prepare_for_testing.
4245 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4246 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4247 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4248 * gdb.cp/nsimport.exp: Use standard_testfile,
4249 prepare_for_testing.
4250 * gdb.cp/nsnested.exp: Use standard_testfile.
4251 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4252 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4253 prepare_for_testing.
4254 * gdb.cp/nsstress.exp: Use standard_testfile,
4255 prepare_for_testing.
4256 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4257 * gdb.cp/operator.exp: Use standard_testfile.
4258 * gdb.cp/oranking.exp: Use standard_testfile.
4259 * gdb.cp/overload-const.exp: Use standard_testfile.
4260 * gdb.cp/overload.exp: Use standard_testfile,
4261 prepare_for_testing.
4262 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4263 * gdb.cp/ovsrch.exp: Use standard_testfile.
4264 * gdb.cp/paren-type.exp: Use standard_testfile.
4265 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4266 prepare_for_testing.
4267 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4268 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4269 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4270 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4271 * gdb.cp/pr10728.exp: Use standard_testfile,
4272 standard_output_file.
4273 * gdb.cp/pr12028.exp: Use standard_testfile.
4274 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4275 * gdb.cp/pr9167.exp: Use standard_testfile.
4276 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4277 * gdb.cp/printmethod.exp: Use standard_testfile,
4278 prepare_for_testing.
4279 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4280 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4281 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4282 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4283 standard_output_file.
4284 * gdb.cp/readnow-language.exp: Use standard_testfile.
4285 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4286 (gdb_start_again): Use clean_restart.
4287 * gdb.cp/ref-types.exp: Use standard_testfile,
4288 prepare_for_testing.
4289 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4290 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4291 * gdb.cp/smartp.exp: Use standard_testfile.
4292 * gdb.cp/static-method.exp: Use standard_testfile.
4293 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4294 * gdb.cp/temargs.exp: Use standard_testfile.
4295 * gdb.cp/templates.exp: Use standard_testfile,
4296 prepare_for_testing.
4297 (do_tests): Update.
4298 * gdb.cp/try_catch.exp: Use standard_testfile,
4299 prepare_for_testing.
4300 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4301 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4302 * gdb.cp/virtbase.exp: Use standard_testfile,
4303 prepare_for_testing.
4304 * gdb.cp/virtfunc.exp: Use standard_testfile,
4305 prepare_for_testing.
4306 (do_tests): Update.
4307 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4308 prepare_for_testing.
4309
4310 2012-07-10 Tom Tromey <tromey@redhat.com>
4311
4312 * lib/gdb.exp (standard_testfile): Unset output variables from
4313 earlier invocations.
4314
4315 2012-07-10 Yao Qi <yao@codesourcery.com>
4316
4317 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4318 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4319 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4320 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4321 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4322 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4323 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4324 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4325 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4326 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4327 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4328 * gdb.mi/mi-var-display.exp: Likewise.
4329 * gdb.mi/mi-var-invalidate.exp: Likewise.
4330 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4331 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4332 * gdb.mi/mi2-console.exp: Likewise.
4333 * gdb.mi/mi2-disassemble.exp: Likewise.
4334 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4335 * gdb.mi/mi2-read-memory.exp: Likewise.
4336 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4337 * gdb.mi/mi2-simplerun.exp: Likewise.
4338 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4339 * gdb.mi/mi2-syn-frame.exp: Likewise.
4340 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4341 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4342 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4343
4344 2012-07-09 Tom Tromey <tromey@redhat.com>
4345
4346 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4347 * gdb.base/callfuncs.exp: Add cast-based test.
4348 * gdb.base/callfuncs.c (voidfunc): New function.
4349
4350 2012-07-08 Doug Evans <dje@google.com>
4351
4352 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4353
4354 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4355
4356 Fix XFAIL compatibility with old i386 systems.
4357 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4358 Check also 'Cannot insert breakpoint 0'.
4359
4360 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4361
4362 PR 14321
4363 * gdb.base/find.exp
4364 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4365
4366 2012-07-06 Tom Tromey <tromey@redhat.com>
4367
4368 * gdb.base/whatis.exp: Add test.
4369
4370 2012-07-06 Tom Tromey <tromey@redhat.com>
4371
4372 * gdb.base/whatis.exp: Add regression test.
4373
4374 2012-07-06 Tom Tromey <tromey@redhat.com>
4375
4376 * gdb.base/whatis.exp: Add tests.
4377
4378 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4379
4380 PR 12649
4381 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4382 gdb_test_multiple $gdb_prompt terminator.
4383
4384 2012-07-04 Pedro Alves <palves@redhat.com>
4385
4386 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4387 supports_process_record.
4388
4389 2012-07-04 Pedro Alves <palves@redhat.com>
4390
4391 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4392 endings.
4393 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4394
4395 2012-07-03 Stan Shebs <stan@codesourcery.com>
4396
4397 * gdb.base/info-os.c (main): Retry resource acquisition until an
4398 available one is found.
4399 * gdb.base/info-os.exp: Collect resource keys from the program
4400 and use them in matching.
4401
4402 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4403
4404 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4405 Wrap the test into loop for corefile and core0file.
4406
4407 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4408
4409 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4410 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4411 .note.GNU-stack.
4412
4413 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4414
4415 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4416
4417 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4418 break): Include help message for the new `-probe' and `-probe-stap'
4419 options.
4420
4421 2012-07-02 Stan Shebs <stan@codesourcery.com>
4422
4423 * gdb.base/dprintf.exp: Add agent style tests.
4424
4425 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4426
4427 * gdb.base/stale-infcall.c (infcall): New label test-next.
4428 (main): New labels test-pass and test-fail.
4429 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4430 $test_fail_bpnum to test-fail.
4431 (test system longjmp tracking support): New test.
4432 Delete $test_fail_bpnum.
4433 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4434 breakpoint.
4435
4436 2012-06-30 Doug Evans <dje@google.com>
4437
4438 * gdb.dwarf2/fission-reread.S: New file.
4439 * gdb.dwarf2/fission-reread.exp: New file.
4440
4441 2012-06-28 Stan Shebs <stan@codesourcery.com>
4442
4443 * gdb.mi/mi-logging.exp: New file.
4444
4445 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4446 Pedro Alves <palves@redhat.com>
4447
4448 * gdb.threads/siginfo-threads.exp: New file.
4449 * gdb.threads/siginfo-threads.c: New file.
4450 * gdb.threads/sigstep-threads.exp: New file.
4451 * gdb.threads/sigstep-threads.c: New file.
4452
4453 2012-06-28 Tom Tromey <tromey@redhat.com>
4454
4455 * gdb.go/package.exp: Partially revert earlier patch; use
4456 gdb_compile again. Use standard_output_file.
4457
4458 2012-06-27 Doug Evans <dje@google.com>
4459
4460 * gdb.dwarf2/fission-base.c: New file.
4461 * gdb.dwarf2/fission-base.S: New file.
4462 * gdb.dwarf2/fission-base.exp: New file.
4463
4464 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4465
4466 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4467
4468 2012-06-27 Tom Tromey <tromey@redhat.com>
4469
4470 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4471 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4472
4473 2012-06-27 Tom Tromey <tromey@redhat.com>
4474
4475 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4476 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4477 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4478 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4479 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4480 prepare_for_testing.
4481 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4482 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4483 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4484 standard_testfile.
4485 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4486 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4487 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4488 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4489 prepare_for_testing.
4490 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4491 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4492 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4493 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4494 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4495 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4496 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4497 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4498 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4499 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4500 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4501 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4502 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4503 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4504 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4505 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4506 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4507 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4508 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4509 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4510 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4511 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4512 standard_output_file.
4513 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4514 standard_output_file.
4515 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4516 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4517 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4518 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4519 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4520 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4521 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4522 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4523 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4524 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4525 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4526 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4527 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4528 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4529 * gdb.dwarf2/valop.exp: Use standard_testfile,
4530 prepare_for_testing.
4531
4532 2012-06-27 Tom Tromey <tromey@redhat.com>
4533
4534 * gdb.python/python.exp: Fix regexps in pagination tests.
4535
4536 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4537
4538 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4539 'last' of gdb.Symtab_and_line.
4540 * gdb.python/py-symbol.c: Move break point comment to enable
4541 testing of gdb.Symtab_and_line.last.
4542
4543 2012-06-26 Tom Tromey <tromey@redhat.com>
4544
4545 * gdb.threads/step.c: Remove.
4546 * gdb.threads/step.exp: Remove.
4547 * gdb.threads/step2.exp: Remove.
4548
4549 2012-06-26 Tom Tromey <tromey@redhat.com>
4550
4551 * gdb.threads/watchpoint-fork.exp (test): Use
4552 standard_output_file. Don't declare objdir.
4553 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4554 standard_output_file.
4555 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4556 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4557 clean_restart. Remove incdir.
4558 * gdb.threads/corethreads.exp: Use standard_testfile.
4559 * gdb.threads/execl.exp: Use standard_testfile,
4560 standard_output_file, clean_restart.
4561 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4562 clean_restart.
4563 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4564 clean_restart.
4565 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4566 incdir.
4567 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4568 clean_restart. Remove incdir.
4569 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4570 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4571 clean_restart. Remove incdir.
4572 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4573 Remove incdir.
4574 * gdb.threads/leader-exit.exp: Use standard_testfile.
4575 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4576 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4577 clean_restart.
4578 * gdb.threads/manythreads.exp: Use standard_testfile,
4579 clean_restart. Remove incdir.
4580 * gdb.threads/multi-create.exp: Use standard_testfile,
4581 clean_restart.
4582 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4583 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4584 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4585 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4586 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4587 * gdb.threads/pending-step.exp: Use standard_testfile,
4588 clean_restart. Remove incdir.
4589 * gdb.threads/print-threads.exp: Use standard_testfile,
4590 clean_restart. Remove incdir.
4591 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4592 clean_restart. Remove incdir.
4593 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4594 Remove incdir.
4595 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4596 incdir.
4597 * gdb.threads/sigthread.exp: Use standard_testfile,
4598 clean_restart.
4599 * gdb.threads/staticthreads.exp: Use standard_testfile,
4600 clean_restart. Remove incdir.
4601 * gdb.threads/switch-threads.exp: Use standard_testfile,
4602 clean_restart. Remove incdir.
4603 * gdb.threads/thread-execl.exp: Use standard_testfile,
4604 clean_restart. Remove incdir.
4605 * gdb.threads/thread-find.exp: Use standard_testfile,
4606 clean_restart.
4607 * gdb.threads/thread-specific.exp: Use standard_testfile,
4608 clean_restart. Remove incdir.
4609 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4610 clean_restart. Remove incdir.
4611 * gdb.threads/thread_check.exp: Use standard_testfile,
4612 clean_restart. Remove incdir.
4613 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4614 incdir.
4615 * gdb.threads/threadapply.exp: Use standard_testfile,
4616 clean_restart. Remove incdir.
4617 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4618 clean_restart. Remove incdir.
4619 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4620 clean_restart.
4621 * gdb.threads/tls-shared.exp: Use standard_testfile,
4622 clean_restart, standard_output_file.
4623 * gdb.threads/tls-var.exp: Use standard_testfile,
4624 standard_output_file.
4625 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4626 Remove incdir.
4627 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4628 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4629 incdir.
4630 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4631 clean_restart. Remove incdir.
4632
4633 2012-06-26 Tom Tromey <tromey@redhat.com>
4634
4635 * gdb.trace/actions.exp: Use standard_testfile.
4636 * gdb.trace/ax.exp: Use standard_testfile.
4637 * gdb.trace/backtrace.exp: Use standard_testfile.
4638 * gdb.trace/change-loc.exp: Use standard_testfile.
4639 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4640 * gdb.trace/collection.exp: Use standard_testfile,
4641 prepare_for_testing.
4642 * gdb.trace/deltrace.exp: Use standard_testfile.
4643 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4644 * gdb.trace/ftrace.exp: Use standard_testfile.
4645 * gdb.trace/infotrace.exp: Use standard_testfile.
4646 * gdb.trace/packetlen.exp: Use standard_testfile.
4647 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4648 * gdb.trace/passcount.exp: Use standard_testfile.
4649 * gdb.trace/pending.exp: Use standard_testfile.
4650 * gdb.trace/report.exp: Use standard_testfile.
4651 * gdb.trace/save-trace.exp: Use standard_testfile.
4652 * gdb.trace/stap-trace.exp: Use standard_testfile.
4653 * gdb.trace/status-stop.exp: Use standard_testfile.
4654 * gdb.trace/strace.exp: Use standard_testfile.
4655 * gdb.trace/tfile.exp: Use standard_testfile.
4656 * gdb.trace/tfind.exp: Use standard_testfile.
4657 * gdb.trace/trace-break.exp: Use standard_testfile.
4658 * gdb.trace/trace-mt.exp: Use standard_testfile.
4659 * gdb.trace/tracecmd.exp: Use standard_testfile.
4660 * gdb.trace/tspeed.exp: Use standard_testfile.
4661 * gdb.trace/tstatus.exp: Use standard_testfile.
4662 * gdb.trace/tsv.exp: Use standard_testfile.
4663 * gdb.trace/unavailable.exp: Use standard_testfile,
4664 prepare_for_testing.
4665 * gdb.trace/while-dyn.exp: Use standard_testfile.
4666 * gdb.trace/while-stepping.exp: Use standard_testfile.
4667
4668 2012-06-26 Tom Tromey <tromey@redhat.com>
4669
4670 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4671 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4672 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4673 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4674 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4675 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4676 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4677 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4678 prepare_for_testing.
4679 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4680 prepare_for_testing.
4681 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4682 prepare_for_testing.
4683 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4684 prepare_for_testing.
4685 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4686 prepare_for_testing
4687 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4688 * gdb.reverse/machinestate.exp: Use standard_testfile.
4689 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4690 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4691 build_executable.
4692 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4693 build_executable.
4694 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4695 standard_output_file.
4696 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4697 standard_output_file.
4698 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4699 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4700 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4701 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4702 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4703 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4704
4705 2012-06-26 Tom Tromey <tromey@redhat.com>
4706
4707 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4708 standard_output_file.
4709 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4710 prepare_for_testing. Remove directory-checking code.
4711
4712 2012-06-25 Tom Tromey <tromey@redhat.com>
4713
4714 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4715 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4716 build_executable, not prepare_for_testing.
4717 * gdb.multi/base.exp: Use standard_output_file. Use
4718 build_executable, not prepare_for_testing.
4719
4720 2012-06-25 Tom Tromey <tromey@redhat.com>
4721
4722 * gdb.fortran/subarray.exp: Use standard_testfile,
4723 prepare_for_testing.
4724 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4725 * gdb.fortran/module.exp: Use standard_testfile.
4726 * gdb.fortran/logical.exp: Use standard_testfile.
4727 * gdb.fortran/library-module.exp: Use standard_testfile,
4728 standard_output_file.
4729 * gdb.fortran/derived-type.exp: Use standard_testfile,
4730 prepare_for_testing.
4731 * gdb.fortran/complex.exp: Use standard_testfile,
4732 prepare_for_testing.
4733 * gdb.fortran/charset.exp: Use standard_testfile.
4734 * gdb.fortran/array-element.exp: Use standard_testfile,
4735 prepare_for_testing.
4736
4737 2012-06-25 Keith Seitz <keiths@redhat.com>
4738
4739 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4740 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4741
4742 2012-06-25 Tom Tromey <tromey@redhat.com>
4743
4744 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4745 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4746 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4747 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4748
4749 2012-06-25 Tom Tromey <tromey@redhat.com>
4750
4751 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4752 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4753 * gdb.linespec/linespec.exp: Use standard_testfile.
4754
4755 2012-06-25 Tom Tromey <tromey@redhat.com>
4756
4757 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4758 prepare_for_testing.
4759
4760 2012-06-25 Tom Tromey <tromey@redhat.com>
4761
4762 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4763 prepare_for_testing.
4764 * gdb.opt/inline-break.exp: Use standard_testfile,
4765 prepare_for_testing.
4766 * gdb.opt/inline-bt.exp: Use standard_testfile,
4767 prepare_for_testing.
4768 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4769 prepare_for_testing.
4770 * gdb.opt/inline-locals.exp: Use standard_testfile,
4771 prepare_for_testing.
4772
4773 2012-06-25 Tom Tromey <tromey@redhat.com>
4774
4775 * gdb.asm/asm-source.exp: Use standard_output_file,
4776 standard_testfile. Construct .o files in proper subdir.
4777
4778 2012-06-25 Tom Tromey <tromey@redhat.com>
4779
4780 * gdb.server/ext-attach.exp: Use standard_testfile,
4781 prepare_for_testing.
4782 * gdb.server/ext-run.exp: Use standard_testfile,
4783 build_executable.
4784 * gdb.server/file-transfer.exp: Use standard_testfile,
4785 prepare_for_testing.
4786 * gdb.server/server-exec-info.exp: Use standard_testfile.
4787 * gdb.server/server-mon.exp: Use standard_testfile,
4788 prepare_for_testing.
4789 * gdb.server/server-run.exp: Use standard_testfile,
4790 build_executable.
4791 * gdb.server/solib-list.exp: Use standard_testfile,
4792 standard_output_file.
4793
4794 2012-06-25 Tom Tromey <tromey@redhat.com>
4795
4796 * lib/gdb.exp (standard_output_file): Use "file join".
4797 * gdb.go/chan.exp: Use standard_testfile.
4798 * gdb.go/handcall.exp: Use standard_testfile.
4799 * gdb.go/hello.exp: Use standard_testfile.
4800 * gdb.integers/chan.exp: Use standard_testfile.
4801 * gdb.go/methods.exp: Use standard_testfile.
4802 * gdb.go/package.exp: Use standard_testfile.
4803 * gdb.go/strings.exp: Use standard_testfile.
4804 * gdb.go/types.exp: Use standard_testfile.
4805 * gdb.go/unsafe.exp: Use standard_testfile.
4806
4807 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4808
4809 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4810
4811 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4812
4813 Fix regression by the previous commit.
4814 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4815
4816 2012-06-22 Tom Tromey <tromey@redhat.com>
4817
4818 * gdb.python/lib-types.exp: Use standard_testfile,
4819 prepare_for_testing.
4820 * gdb.python/py-block.exp: Use standard_testfile.
4821 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4822 * gdb.python/py-events.exp: Use standard_testfile,
4823 standard_output_file.
4824 * gdb.python/py-evsignal.exp: Use standard_testfile.
4825 * gdb.python/py-evethreads.exp: Use standard_testfile.
4826 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4827 * gdb.python/py-explore.exp: Use standard_testfile.
4828 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4829 standard_output_file.
4830 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4831 prepare_for_testing.
4832 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4833 * gdb.python/py-frame.exp: Use standard_testfile.
4834 * gdb.python/py-inferior.exp: Use standard_testfile.
4835 * gdb.python/py-infthread.exp: Use standard_testfile.
4836 * gdb.python/py-mi.exp: Use standard_testfile.
4837 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4838 build_executable.
4839 * gdb.python/py-objfile.exp: Use standard_testfile.
4840 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4841 prepare_for_testing.
4842 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4843 * gdb.python/py-progspace.exp: Use standard_testfile,
4844 build_executable.
4845 * gdb.python/py-prompt.exp: Use standard_testfile,
4846 build_executable.
4847 * gdb.python/py-section-script.exp: Use standard_testfile,
4848 build_executable.
4849 * gdb.python/py-shared.exp: Use standard_testfile,
4850 standard_output_file, clean_restart.
4851 * gdb.python/py-symbol.exp: Use standard_output_file,
4852 prepare_for_testing.
4853 * gdb.python/py-symtab.exp: Use standard_output_file,
4854 prepare_for_testing
4855 * gdb.python/py-template.exp: Use standard_testfile.
4856 * gdb.python/py-type.exp: Use standard_testfile.
4857 * gdb.python/py-value-cc.exp: Use standard_testfile.
4858 * gdb.python/py-value.exp: Use standard_testfile.
4859 * gdb.python/python.exp: Use standard_testfile, build_executable.
4860
4861 2012-06-22 Tom Tromey <tromey@redhat.com>
4862
4863 * gdb.objc/basicclass.exp: Use standard_testfile.
4864 (do_objc_tests): Don't declare objdir.
4865 * gdb.objc/nondebug.exp: Use standard_testfile.
4866 (do_objc_tests): Don't declare objdir.
4867 * gdb.objc/objcdecode.exp: Use standard_testfile.
4868 (do_objc_tests): Don't declare objdir.
4869
4870 2012-06-22 Tom Tromey <tromey@redhat.com>
4871
4872 * gdb.java/jmain.exp: Use standard_testfile.
4873 * gdb.java/jmisc.exp: Use standard_testfile.
4874 * gdb.java/jnpe.exp: Use standard_testfile.
4875 * gdb.java/jprint.exp: Use standard_testfile.
4876
4877 2012-06-22 Tom Tromey <tromey@redhat.com>
4878
4879 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4880 (standard_output_file, standard_testfile): New procs.
4881 (build_executable, clean_restart): Use standard_output_file.
4882
4883 2012-06-22 Yao Qi <yao@codesourcery.com>
4884
4885 * boards/native-gdbserver.exp: New proc ${board}_exec.
4886 * boards/native-stdio-gdbserver.exp: Likewise.
4887
4888 2012-06-21 Tom Tromey <tromey@redhat.com>
4889
4890 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4891 (build_executable): Update.
4892 (get_compiler_info): Remove 'binfile' argument.
4893 * gdb.ada/arrayidx.exp: Update.
4894 * gdb.ada/null_array.exp: Update.
4895 * gdb.arch/altivec-abi.exp: Update.
4896 * gdb.arch/altivec-regs.exp: Update.
4897 * gdb.arch/amd64-byte.exp: Update.
4898 * gdb.arch/amd64-dword.exp: Update.
4899 * gdb.arch/amd64-word.exp: Update.
4900 * gdb.arch/i386-avx.exp: Update.
4901 * gdb.arch/i386-byte.exp: Update.
4902 * gdb.arch/i386-sse.exp: Update.
4903 * gdb.arch/i386-word.exp: Update.
4904 * gdb.arch/ppc-dfp.exp: Update.
4905 * gdb.arch/ppc-fp.exp: Update.
4906 * gdb.arch/vsx-regs.exp: Update.
4907 * gdb.base/all-bin.exp: Update.
4908 * gdb.base/annota1.exp: Update.
4909 * gdb.base/async.exp: Update.
4910 * gdb.base/attach.exp: Update.
4911 * gdb.base/break-interp.exp: Update.
4912 * gdb.base/call-ar-st.exp: Update.
4913 * gdb.base/call-rt-st.exp: Update.
4914 * gdb.base/call-sc.exp: Update.
4915 * gdb.base/callfuncs.exp: Update.
4916 * gdb.base/catch-load.exp: Update.
4917 * gdb.base/completion.exp: Update.
4918 * gdb.base/complex.exp: Update.
4919 * gdb.base/condbreak.exp: Update.
4920 * gdb.base/consecutive.exp: Update.
4921 * gdb.base/constvars.exp: Update.
4922 * gdb.base/corefile.exp: Update.
4923 * gdb.base/eval-skip.exp: Update.
4924 * gdb.base/expand-psymtabs.exp: Update.
4925 * gdb.base/exprs.exp: Update.
4926 * gdb.base/fileio.exp: Update.
4927 * gdb.base/fixsection.exp: Update.
4928 * gdb.base/funcargs.exp: Update.
4929 * gdb.base/gdb11530.exp: Update.
4930 * gdb.base/gdb1555.exp: Update.
4931 * gdb.base/gnu-ifunc.exp: Update.
4932 * gdb.base/gnu_vector.exp: Update.
4933 * gdb.base/info-macros.exp: Update.
4934 * gdb.base/jit-simple.exp: Update.
4935 * gdb.base/jit-so.exp: Update.
4936 * gdb.base/jit.exp: Update.
4937 * gdb.base/langs.exp: Update.
4938 * gdb.base/list.exp: Update.
4939 * gdb.base/logical.exp: Update.
4940 * gdb.base/long_long.exp: Update.
4941 * gdb.base/longjmp.exp: Update.
4942 * gdb.base/macscp.exp: Update.
4943 * gdb.base/mips_pro.exp: Update.
4944 * gdb.base/miscexprs.exp: Update.
4945 * gdb.base/morestack.exp: Update.
4946 * gdb.base/nodebug.exp: Update.
4947 * gdb.base/opaque.exp: Update.
4948 * gdb.base/pc-fp.exp: Update.
4949 * gdb.base/pending.exp: Update.
4950 * gdb.base/permissions.exp: Update.
4951 * gdb.base/pointers.exp: Update.
4952 * gdb.base/prelink.exp: Update.
4953 * gdb.base/printcmds.exp: Update.
4954 * gdb.base/psymtab.exp: Update.
4955 * gdb.base/ptype.exp: Update.
4956 * gdb.base/relational.exp: Update.
4957 * gdb.base/scope.exp: Update.
4958 * gdb.base/setvar.exp: Update.
4959 * gdb.base/shlib-call.exp: Update.
4960 * gdb.base/shreloc.exp: Update.
4961 * gdb.base/signals.exp: Update.
4962 * gdb.base/sizeof.exp: Update.
4963 * gdb.base/so-impl-ld.exp: Update.
4964 * gdb.base/so-indr-cl.exp: Update.
4965 * gdb.base/solib-disc.exp: Update.
4966 * gdb.base/solib-display.exp: Update.
4967 * gdb.base/solib-nodir.exp: Update.
4968 * gdb.base/solib-overlap.exp: Update.
4969 * gdb.base/solib-symbol.exp: Update.
4970 * gdb.base/solib-weak.exp: Update.
4971 * gdb.base/solib.exp: Update.
4972 * gdb.base/store.exp: Update.
4973 * gdb.base/structs.exp: Update.
4974 * gdb.base/structs2.exp: Update.
4975 * gdb.base/type-opaque.exp: Update.
4976 * gdb.base/unload.exp: Update.
4977 * gdb.base/varargs.exp: Update.
4978 * gdb.base/volatile.exp: Update.
4979 * gdb.base/watch_thread_num.exp: Update.
4980 * gdb.base/watchpoint-solib.exp: Update.
4981 * gdb.base/watchpoint.exp: Update.
4982 * gdb.base/watchpoints.exp: Update.
4983 * gdb.base/whatis.exp: Update.
4984 * gdb.cell/arch.exp: Update.
4985 * gdb.cell/break.exp: Update.
4986 * gdb.cell/bt.exp: Update.
4987 * gdb.cell/core.exp: Update.
4988 * gdb.cell/data.exp: Update.
4989 * gdb.cell/ea-cache.exp: Update.
4990 * gdb.cell/f-regs.exp: Update.
4991 * gdb.cell/fork.exp: Update.
4992 * gdb.cell/gcore.exp: Update.
4993 * gdb.cell/mem-access.exp: Update.
4994 * gdb.cell/ptype.exp: Update.
4995 * gdb.cell/registers.exp: Update.
4996 * gdb.cell/sizeof.exp: Update.
4997 * gdb.cell/solib-symbol.exp: Update.
4998 * gdb.cell/solib.exp: Update.
4999 * gdb.cp/ambiguous.exp: Update.
5000 * gdb.cp/breakpoint.exp: Update.
5001 * gdb.cp/bs15503.exp: Update.
5002 * gdb.cp/casts.exp: Update.
5003 * gdb.cp/class2.exp: Update.
5004 * gdb.cp/cpexprs.exp: Update.
5005 * gdb.cp/cplusfuncs.exp: Update.
5006 * gdb.cp/ctti.exp: Update.
5007 * gdb.cp/dispcxx.exp: Update.
5008 * gdb.cp/gdb1355.exp: Update.
5009 * gdb.cp/gdb2384.exp: Update.
5010 * gdb.cp/gdb2495.exp: Update.
5011 * gdb.cp/infcall-dlopen.exp: Update.
5012 * gdb.cp/local.exp: Update.
5013 * gdb.cp/m-data.exp: Update.
5014 * gdb.cp/m-static.exp: Update.
5015 * gdb.cp/mb-ctor.exp: Update.
5016 * gdb.cp/mb-inline.exp: Update.
5017 * gdb.cp/mb-templates.exp: Update.
5018 * gdb.cp/member-ptr.exp: Update.
5019 * gdb.cp/method.exp: Update.
5020 * gdb.cp/namespace.exp: Update.
5021 * gdb.cp/nextoverthrow.exp: Update.
5022 * gdb.cp/nsdecl.exp: Update.
5023 * gdb.cp/nsrecurs.exp: Update.
5024 * gdb.cp/nsstress.exp: Update.
5025 * gdb.cp/nsusing.exp: Update.
5026 * gdb.cp/pr-1023.exp: Update.
5027 * gdb.cp/pr-1210.exp: Update.
5028 * gdb.cp/pr-574.exp: Update.
5029 * gdb.cp/pr9631.exp: Update.
5030 * gdb.cp/printmethod.exp: Update.
5031 * gdb.cp/psmang.exp: Update.
5032 * gdb.cp/re-set-overloaded.exp: Update.
5033 * gdb.cp/rtti.exp: Update.
5034 * gdb.cp/shadow.exp: Update.
5035 * gdb.cp/templates.exp: Update.
5036 * gdb.cp/try_catch.exp: Update.
5037 * gdb.dwarf2/dw2-ranges.exp: Update.
5038 * gdb.dwarf2/pr10770.exp: Update.
5039 * gdb.fortran/library-module.exp: Update.
5040 * gdb.hp/gdb.aCC/optimize.exp: Update.
5041 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5042 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5043 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5044 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5045 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5046 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5047 * gdb.hp/gdb.compat/xdb1.exp: Update.
5048 * gdb.hp/gdb.compat/xdb2.exp: Update.
5049 * gdb.hp/gdb.compat/xdb3.exp: Update.
5050 * gdb.hp/gdb.defects/bs14602.exp: Update.
5051 * gdb.hp/gdb.defects/solib-d.exp: Update.
5052 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5053 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5054 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5055 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5056 * gdb.mi/gdb792.exp: Update.
5057 * gdb.mi/mi-pending.exp: Update.
5058 * gdb.mi/mi-solib.exp: Update.
5059 * gdb.mi/mi-var-cp.exp: Update.
5060 * gdb.opt/clobbered-registers-O2.exp: Update.
5061 * gdb.opt/inline-bt.exp: Update.
5062 * gdb.opt/inline-cmds.exp: Update.
5063 * gdb.opt/inline-locals.exp: Update.
5064 * gdb.python/py-events.exp: Update.
5065 * gdb.python/py-finish-breakpoint.exp: Update.
5066 * gdb.python/py-type.exp: Update.
5067 * gdb.reverse/solib-precsave.exp: Update.
5068 * gdb.reverse/solib-reverse.exp: Update.
5069 * gdb.server/solib-list.exp: Update.
5070 * gdb.stabs/weird.exp: Update.
5071 * gdb.threads/attach-into-signal.exp: Update.
5072 * gdb.threads/attach-stopped.exp: Update.
5073 * gdb.threads/tls-shared.exp: Update.
5074 * gdb.trace/change-loc.exp: Update.
5075 * gdb.trace/strace.exp: Update.
5076
5077 2012-06-19 Tom Tromey <tromey@redhat.com>
5078
5079 * gdb.base/whatis.exp: Add tests.
5080
5081 2012-06-19 Tom Tromey <tromey@redhat.com>
5082
5083 * gdb.cp/m-static.cc (keepalive): New function.
5084 (gnu_obj_1::method): Use it.
5085
5086 2012-06-18 Doug Evans <dje@google.com>
5087
5088 * gdb.base/info-fun.exp: New file.
5089 * gdb.base/info-fun.c: New file.
5090 * gdb.base/info-fun-solib.c: New file.
5091
5092 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 Remove stale dummy frames.
5095 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5096 (maintenance info breakpoints): New tests.
5097 * gdb.base/stale-infcall.c: New file.
5098 * gdb.base/stale-infcall.exp: New file.
5099
5100 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5101
5102 * gdb.arch/amd64-entry-value-param.S: New file.
5103 * gdb.arch/amd64-entry-value-param.c: New file.
5104 * gdb.arch/amd64-entry-value-param.exp: New file.
5105
5106 2012-06-15 Tom Tromey <tromey@redhat.com>
5107
5108 * gdb.cp/namespace.exp: Add "show lang" test.
5109
5110 2012-06-15 Iain Sandoe <iain@codesourcery.com>
5111
5112 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5113 case. (top level): Use gdb_file_cmd instead of gdb_load.
5114
5115 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5116
5117 PR tdep/14222
5118 * gdb.arch/i386-sse-stack-align.S: New file.
5119 * gdb.arch/i386-sse-stack-align.c: New file.
5120 * gdb.arch/i386-sse-stack-align.exp: New file.
5121
5122 2012-06-13 Keith Seitz <keiths@redhat.com>
5123
5124 PR breakpoints/13798 and mi/11541
5125 * gdb.linespec/ls-errs.exp: Add a few more tests for
5126 filenames with spaces and colons.
5127
5128 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5129
5130 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5131 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5132 (test_function): Call CV_f.
5133 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5134 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5135 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5136 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5137 (p CV_f(CV::i)): New tests.
5138
5139 2012-06-13 Tom Tromey <tromey@redhat.com>
5140
5141 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5142
5143 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5144
5145 Fix regression by the "ambiguous linespec" series.
5146 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5147 tests.
5148
5149 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5150
5151 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5152 missing.
5153
5154 2012-06-11 Tom Tromey <tromey@redhat.com>
5155
5156 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5157 location...
5158 (main): ...here.
5159
5160 2012-06-07 Yao Qi <yao@codesourcery.com>
5161
5162 * gdb.trace/strace.exp: Shorten some too-long lines.
5163
5164 2012-06-06 Pedro Alves <palves@redhat.com>
5165
5166 * gdb.threads/clone-new-thread-event.c: New file.
5167 * gdb.threads/clone-new-thread-event.exp: New file.
5168
5169 2012-06-06 Yao Qi <yao@codesourcery.com>
5170
5171 * gdb.base/dprintf.c (main): Add extra parameter when calling
5172 printf and fprintf.
5173 (bar): New function. It is a dead function, but to ensure
5174 'malloc' is linked explicitly.
5175
5176 2012-06-06 Yao Qi <yao@codesourcery.com>
5177
5178 * gdb.base/info-proc.exp: Return if target doesn't support
5179 'info proc'.
5180
5181 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5182
5183 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5184 (run program with breakpoint commands): XFAIl if it is not.
5185
5186 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5187
5188 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5189 and add comment.
5190 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5191 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5192 "STOP" marker. Adjust testing strategy to make it work on
5193 all targets.
5194
5195 * gdb.base/print-file-var-main.c (main): Rewrite using local
5196 variables and adjust get_version_2's return value check.
5197 Add small comment.
5198 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5199 marker. Adjust testing strategy to make it work on all targets.
5200
5201 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5202
5203 * gdb.ada/bad-task-bp-keyword: New testcase.
5204
5205 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5206
5207 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5208 Simplify it to ...
5209 (symbol-file ${testfile1}): ... here.
5210 (test eliminated var my_global_symbol)
5211 (test eliminated var my_static_symbol)
5212 (test eliminated var my_global_func, get address of main): Wrap them to
5213 'single psymtabs' and 'single symtabs'
5214 (get address of my_global_symbol, get address of my_static_symbol)
5215 (get address of my_global_func, get address of main): Wrap them to
5216 'order1' and 'order2'.
5217
5218 * gdb.base/code_elim.exp
5219 (add-symbol-file ${testfile1} 0x100000)
5220 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5221 'order2'.
5222 (order1: add-symbol-file ${testfile1} 0x100000)
5223 (order1: add-symbol-file ${testfile2} 0x200000)
5224 (order2: add-symbol-file ${testfile2} 0x200000)
5225 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5226 .bss as appropriate.
5227
5228 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5229
5230 * gdb.server/solib-list-lib.c: New file.
5231 * gdb.server/solib-list-main.c: New file.
5232 * gdb.server/solib-list.exp: New file.
5233
5234 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5235
5236 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5237 for 'set print symbol' change.
5238
5239 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5240
5241 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5242 .debug_abbrev_seg3.
5243
5244 2012-05-24 John Steele Scott <toojays@toojays.net>
5245
5246 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5247 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5248 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5249
5250 2012-05-23 Stan Shebs <stan@codesourcery.com>
5251
5252 * gdb.mi/mi-info-os.exp: New file.
5253
5254 2012-05-23 Keith Seitz <keiths@redhat.com>
5255
5256 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5257 return -1 to suppress the rest of the tests.
5258 (compile_stap_bin): Return boolean success value.
5259
5260 2012-05-21 Tom Tromey <tromey@redhat.com>
5261
5262 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5263 Remove kfails.
5264 (test_print_mi_member_types): Likewise.
5265
5266 2012-05-21 Tom Tromey <tromey@redhat.com>
5267
5268 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5269 print symbol' change.
5270
5271 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5272
5273 * gdb.python/py-prompt.exp: Quit if the target is remote.
5274
5275 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5276
5277 Fix ERROR: internal buffer is full.
5278 * gdb.base/info-os.exp (expect_multiline): New function.
5279 (get process list, get process groups, get threads)
5280 (get file descriptors, get internet-domain sockets)
5281 (get shared-memory regions, get semaphores, get message queues): Use
5282 it for these tests.
5283
5284 2012-05-18 Tom Tromey <tromey@redhat.com>
5285
5286 * gdb.mi/mi-var-cmd.exp: Update.
5287 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5288 * gdb.cp/virtbase.exp: Update.
5289 * gdb.cp/classes.exp (test_static_members): Update.
5290 * gdb.cp/casts.exp: Update.
5291 * gdb.base/pointers.exp: Update.
5292 * gdb.base/funcargs.exp (pointer_args): Update.
5293 (structs_by_reference): Update.
5294 * gdb.base/find.exp: Update.
5295 * gdb.base/call-strs.exp: Send "set print symbol off".
5296 * gdb.base/call-ar-st.exp: Update.
5297 * gdb.ada/fun_addr.exp: Update.
5298 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5299 Call it.
5300 (test_print_repeats_10, test_print_strings)
5301 (test_print_char_arrays): Update.
5302
5303 2012-05-18 Tom Tromey <tromey@redhat.com>
5304
5305 * gdb.base/charset.exp (string_display): Update.
5306
5307 2012-05-18 Tom Tromey <tromey@redhat.com>
5308
5309 * gdb.mi/mi2-var-display.exp: Update.
5310 * gdb.mi/mi-var-display.exp: Update.
5311 * gdb.mi/mi-var-child.exp: Update.
5312 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5313 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5314
5315 2012-05-17 Doug Evans <dje@google.com>
5316
5317 * info-macros.exp: Pass "debug" to prepare_for_testing.
5318
5319 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5320 * gdb.ada/Makefile.in (clean): Ditto.
5321 * gdb.arch/Makefile.in (clean): Ditto.
5322 * gdb.asm/Makefile.in (clean): Ditto.
5323 * gdb.base/Makefile.in (clean): Ditto.
5324 * gdb.cell/Makefile.in (clean): Ditto.
5325 * gdb.cp/Makefile.in (clean): Ditto.
5326 * gdb.disasm/Makefile.in (clean): Ditto.
5327 * gdb.dwarf2/Makefile.in (clean): Ditto.
5328 * gdb.fortran/Makefile.in (clean): Ditto.
5329 * gdb.go/Makefile.in (clean): Ditto.
5330 * gdb.hp/Makefile.in (clean): Ditto.
5331 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5332 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5333 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5334 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5335 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5336 * gdb.java/Makefile.in (clean): Ditto.
5337 * gdb.linespec/Makefile.in (clean): Ditto.
5338 * gdb.mi/Makefile.in (clean): Ditto.
5339 * gdb.modula2/Makefile.in (clean): Ditto.
5340 * gdb.multi/Makefile.in (clean): Ditto.
5341 * gdb.objc/Makefile.in (clean): Ditto.
5342 * gdb.opencl/Makefile.in (clean): Ditto.
5343 * gdb.opt/Makefile.in (clean): Ditto.
5344 * gdb.pascal/Makefile.in (clean): Ditto.
5345 * gdb.python/Makefile.in (clean): Ditto.
5346 * gdb.reverse/Makefile.in (clean): Ditto.
5347 * gdb.server/Makefile.in (clean): Ditto.
5348 * gdb.stabs/Makefile.in (clean): Ditto.
5349 * gdb.threads/Makefile.in (clean): Ditto.
5350 * gdb.trace/Makefile.in (clean): Ditto.
5351 * gdb.xml/Makefile.in (clean): Ditto.
5352
5353 2012-05-16 Tom Tromey <tromey@redhat.com>
5354
5355 * gdb.base/macscp1.c (macscp_expr): Add comment.
5356 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5357
5358 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5359
5360 * gdb.base/return-nodebug.exp: Also test float and double types.
5361
5362 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5363
5364 PR testsuite/12649
5365 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5366
5367 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5368
5369 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5370
5371 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5372 `rerun_to_main'.
5373 (stap_test_no_debuginfo): Likewise.
5374
5375 2012-05-14 Stan Shebs <stan@codesourcery.com>
5376
5377 * gdb.base/dprintf.c: New file.
5378 * gdb.base/dprintf.exp: New file.
5379
5380 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
5381
5382 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5383 * gdb.trace/disconnected-tracing.c: New file.
5384 * gdb.trace/disconnected-tracing.exp: New file.
5385
5386 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5387
5388 * gdb.python/python.c: Add a new breakpoint comment.
5389 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5390
5391 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5392
5393 * gdb.base/info-os.exp: New file.
5394 * gdb.base/info-os.c: New file.
5395
5396 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5397
5398 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5399 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5400 New files.
5401
5402 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5403
5404 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5405 gdb.base/ctxobj.exp: New files.
5406
5407 2012-05-09 Tom Tromey <tromey@redhat.com>
5408
5409 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5410
5411 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5412
5413 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5414
5415 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5416
5417 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5418 before using it.
5419
5420 2012-05-04 Tristan Gingold <gingold@adacore.com>
5421
5422 * gdb.base/set-noassign.exp: New test.
5423
5424 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5425
5426 * gdb.python/py-symbol.exp: Add tests to test the new methods
5427 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5428 * gdb.python/py-symbol.c: Add new struct to help test
5429 gdb.Symtab.static_block().
5430
5431 2012-05-03 Doug Evans <dje@google.com>
5432
5433 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5434 commented out.
5435
5436 2012-05-03 Yao Qi <yao@codesourcery.com>
5437
5438 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5439 doesn't support.
5440 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5441 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5442
5443 2012-05-03 Yao Qi <yao@codesourcery.com>
5444
5445 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5446
5447 2012-04-30 Doug Evans <dje@google.com>
5448
5449 PR testsuite/13961
5450 * gdb.dwarf2/pr13961.S: New file.
5451 * gdb.dwarf2/pr13961.exp: New file.
5452
5453 2012-04-29 Yao Qi <yao@codesourcery.com>
5454
5455 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5456
5457 2012-04-28 Doug Evans <dje@google.com>
5458
5459 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5460 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5461 All uses updated.
5462 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5463 "ptype func_cu1" to expand cu2 before cu1.
5464
5465 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5466 Tom Tromey <tromey@redhat.com>
5467
5468 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5469 variables.
5470 * gdb.base/stap-probe.c: New file.
5471 * gdb.base/stap-probe.exp: New file.
5472 * gdb.trace/stap-trace.c: New file.
5473 * gdb.trace/stap-trace.exp: New file.
5474 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5475 libgcc's unwinder.
5476
5477 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5478
5479 * gdb.arch/mips16-thunks-inmain.c: New file.
5480 * gdb.arch/mips16-thunks-main.c: New file.
5481 * gdb.arch/mips16-thunks-sin.c: New file.
5482 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5483 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5484 * gdb.arch/mips16-thunks-sinmain.c: New file.
5485 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5486 * gdb.arch/mips16-thunks.exp: New file.
5487
5488 2012-04-25 Doug Evans <dje@google.com>
5489
5490 * configure.ac: Create gdb.go/Makefile.
5491 * configure: Regenerate.
5492 * gdb.base/default.exp: Add "go" to "set language" testing.
5493 * gdb.go/Makefile.in: New file.
5494 * gdb.go/basic-types.exp: New file.
5495 * gdb.go/chan.exp: New file.
5496 * gdb.go/chan.go: New file.
5497 * gdb.go/handcall.exp: New file.
5498 * gdb.go/handcall.go: New file.
5499 * gdb.go/hello.exp: New file.
5500 * gdb.go/hello.go: New file.
5501 * gdb.go/integers.exp: New file.
5502 * gdb.go/integers.go: New file.
5503 * gdb.go/methods.exp: New file.
5504 * gdb.go/methods.go: New file.
5505 * gdb.go/package.exp: New file.
5506 * gdb.go/package1.go: New file.
5507 * gdb.go/package2.go: New file.
5508 * gdb.go/print.exp: New file.
5509 * gdb.go/strings.exp: New file.
5510 * gdb.go/strings.go: New file.
5511 * gdb.go/types.exp: New file.
5512 * gdb.go/types.go: New file.
5513 * gdb.go/unsafe.exp: New file.
5514 * gdb.go/unsafe.go: New file.
5515 * lib/future.exp: Add Go support.
5516 (gdb_find_go, gdb_find_go_linker): New procs.
5517 (gdb_default_target_compile): Add Go support.
5518 * lib/gdb.exp (skip_go_tests): New proc.
5519 * lib/go.exp: New file.
5520
5521 2012-04-25 Tom Tromey <tromey@redhat.com>
5522
5523 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5524
5525 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5526 Jan Kratochvil <jan.kratochvil@redhat.com>
5527
5528 PR symtab/7259:
5529 * gdb.base/enumval.c: New test case.
5530 * gdb.base/enumval.exp: New test case.
5531 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5532 field.bitpos.
5533
5534 2012-04-17 Pedro Alves <palves@redhat.com>
5535
5536 * Makefile.in (site.exp): Make site.exp source
5537 $srcdir/lib/append_gdb_boards_dir.exp.
5538 * lib/append_gdb_boards_dir.exp: New file.
5539
5540 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5541
5542 New option "set auto-load safe-path".
5543 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5544 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5545
5546 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5547
5548 auto-load: Implementation.
5549 * gdb.base/help.exp (test set height): Increase the height.
5550 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5551 to ...
5552 (info auto-load python-scripts): ... here.
5553 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5554 to ...
5555 (info auto-load python-scripts *): ... here.
5556
5557 2012-04-16 Yao Qi <yao@codesourcery.com>
5558
5559 * lib/trace-support.exp (get_in_proc_agent): New.
5560 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5561 of in process trace agent.
5562 * gdb.trace/ftrace.exp: Likewise.
5563 * gdb.trace/pending.exp: Likewise.
5564 * gdb.trace/trace-break.exp: Likewise.
5565 * gdb.trace/trace-mt.exp
5566 * gdb.trace/tspeed.exp: Likewise.
5567 * gdb.trace/tstatus.exp
5568 * gdb.trace/strace.exp: Likewise.
5569
5570 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5571
5572 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5573 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5574
5575 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5576
5577 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5578
5579 PR mi/13393
5580 * gdb.mi/mi-var-rtti.cc: New file.
5581 * gdb.mi/mi-var-rtti.exp: New file.
5582 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5583 function.
5584 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5585
5586 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5587
5588 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5589 EXECUTABLES.
5590 * gdb.python/py-explore.c: C program used for testing the new
5591 'explore' command on C constructs.
5592 * gdb.python/py-explore.cc: C++ program used for testing the new
5593 'explore' command on C++ constructs.
5594 * gdb-python/py-explore.exp: Tests for the new 'explore'
5595 command on C constructs.
5596 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5597 command on C++ constructs.
5598
5599 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5600
5601 * gdb.base/funcargs.exp (complex_args): Fix typo.
5602
5603 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5604
5605 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5606 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5607
5608 2012-04-05 Keith Seitz <keiths@redhat.com>
5609
5610 * gdb.base/advance.exp: Update error message for
5611 "advance malformed" test.
5612 * gdb.base/break.exp: Likewise for "breakpoint with
5613 trailing garbage" test.
5614 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5615 with trailing garbage" test.
5616 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5617 trailng garbage" test.
5618 * gdb.base/until.exp: Likewise for "malformed until" test.
5619 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5620 for "breakpoint info (after setting on all)".
5621 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5622 tests.
5623 * gdb.cp/cplabel.cc: New file.
5624 * gdb.cp/cplabel.exp: New test.
5625 * gdb.linespec/ls-errs.c: New file.
5626 * gdb.linespec/ls-errs.exp: New test.
5627
5628 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5629
5630 * gdb.trace/unavailable.exp
5631 (collect globals: print object on: print derived_partial)
5632 (collect globals: print object on: print derived_whole)
5633 (collect globals: print object off: print derived_partial)
5634 (collect globals: print object off: print derived_whole): Update
5635 expected output.
5636
5637 2012-03-30 Keith Seitz <keiths@redhat.com>
5638
5639 * gdb.python: Add test for linespecs with commas.
5640
5641 2012-03-28 Keith Seitz <keiths@redhat.com>
5642
5643 * gdb.linespec/ls-dollar.cc: New file.
5644 * gdb.linespec/ls-dollar.exp: New test.
5645
5646 2012-03-28 Keith Seitz <keiths@redhat.com>
5647
5648 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5649 starting with the global namespace.
5650
5651 2012-03-23 Doug Evans <dje@google.com>
5652
5653 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5654
5655 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5656
5657 * gdb.python/py-value.cc: Add test case for testing the
5658 methodology exposing C++ values to Python.
5659 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5660 exposing C++ values to Python.
5661 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5662
5663 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5664 Siddhesh Poyarekar <siddhesh@redhat.com>
5665
5666 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5667 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5668 (generate native core dump): Make the test unsupported if core cannot
5669 be generated.
5670
5671 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5672
5673 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5674 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5675 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5676
5677 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5678
5679 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5680
5681 2012-03-17 Doug Evans <dje@google.com>
5682
5683 * dg-extract-results.sh: Handle KFAILs.
5684
5685 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5686
5687 PR symtab/13777
5688 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5689
5690 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5691
5692 * gdb.ada/set_pckd_arr_elt: New testcase.
5693
5694 2012-03-16 Gary Benson <gbenson@redhat.com>
5695
5696 PR breakpoints/10738
5697 * gdb.opt/inline-break.exp: New file.
5698 * gdb.opt/inline-break.c: Likewise.
5699 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5700 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5701 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5702 * gdb.base/async-shell.exp: Likewise.
5703 * lib/mi-support.exp (library_loaded_re): Likewise.
5704
5705 2012-03-15 Tom Tromey <tromey@redhat.com>
5706
5707 * gdb.cp/virtfunc2.exp: Update expected output.
5708 * gdb.cp/pr9631.exp: Update expected output.
5709 * gdb.cp/member-ptr.exp: Update expected output.
5710 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5711 output.
5712 * gdb.cp/casts.exp: Update expected output.
5713
5714 2012-03-15 Tom Tromey <tromey@redhat.com>
5715
5716 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5717 (test_info_vtbl): Likewise.
5718 (do_tests): Call test_info_vtbl.
5719 * gdb.cp/virtfunc.cc (va): New global.
5720
5721 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5722
5723 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5724 describing DWARF data structures.
5725 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5726 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5727 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5728 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5729 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5730 * gdb.dwarf2/dw2-param-error.S: Likewise.
5731 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5732 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5733 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5734 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5735 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5736 * gdb.dwarf2/pr11465.S: Likewise.
5737
5738 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5739
5740 * gdb.mi/mi2-prompt.exp: New file.
5741
5742 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5743
5744 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5745
5746 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5747
5748 * gdb.ada/bp_range_type: New testcase.
5749
5750 2012-03-13 Doug Evans <dje@google.com>
5751
5752 * gdb.base/default.exp: Delete tests for symbol-reloading.
5753 * gdb.base/help.exp: Ditto.
5754 * gdb.base/setshow.exp: Ditto.
5755 * gdb.base/gdb_history: Delete references to symbol-reloading.
5756
5757 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5758
5759 * gdb.base/attach-twice.c: New files.
5760 * gdb.base/attach-twice.exp: New files.
5761
5762 2012-03-08 Keith Seitz <keiths@redhat.com>
5763
5764 * lib/gdb.exp (gdb_get_line_number): Throw an
5765 error instead of returning -1.
5766 * gdb.base/break.exp: Remove unused variable
5767 bp_location5.
5768 * gdb.base/hbreak2.exp: Likewise.
5769 * gdb.base/sepdebug.exp: Likewise.
5770
5771 2012-03-08 Yao Qi <yao@codesourcery.com>
5772 Pedro Alves <palves@redhat.com>
5773
5774 Fix PR server/13392.
5775 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5776 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5777 download tracepoints.
5778 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5779 (pending_tracepoint_resolved_during_trace): Likewise.
5780 (pending_tracepoint_installed_during_trace): Likewise.
5781 (pending_tracepoint_with_action_resolved): Likewise.
5782
5783 2012-03-08 Keith Seitz <keiths@redhat.com>
5784
5785 * gdb.ada/array_bounds.exp: Get breakpoint for line
5786 with "START", not "STOP".
5787 * gdb.python/py-infthread.exp: Do not continue to
5788 line marked "Break here.", which is undefined.
5789
5790 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
5791
5792 Revert:
5793
5794 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5795
5796 Implement testsuite workaround for PR breakpoints/13781.
5797 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5798 (set breakpoint condition-evaluation host): New conditional command.
5799
5800 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5801
5802 Fix CU relative vs. absolute DIE offsets.
5803 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5804 one.
5805
5806 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5807
5808 Fix false FAIL on distros with relro linkage as default.
5809 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5810 -Wl,-z,norelro first.
5811
5812 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5813
5814 * gdb.ada/bp_on_var: New testcase.
5815
5816 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5817
5818 * gdb.ada/bp_enum_homonym: New testcase.
5819
5820 2012-03-06 Yao Qi <yao@codesourcery.com>
5821
5822 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5823 x86_64-*-* and i?86-*-*.
5824 Set up KFAIL for gdb/13808.
5825
5826 2012-03-05 Tom Tromey <tromey@redhat.com>
5827
5828 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5829 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5830
5831 2012-03-05 Tom Tromey <tromey@redhat.com>
5832
5833 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5834
5835 2012-03-04 Yao Qi <yao@codesourcery.com>
5836
5837 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5838 messages for KFAIL.
5839
5840 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5841
5842 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5843 (print one_two_three, indexes off, print few_reps, indexes off)
5844 (print many_reps, indexes off, print empty, indexes off)
5845 (print one_two_three, print few_reps, print many_reps, print empty):
5846 Call setup_xfail if $gcc_old.
5847
5848 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5849
5850 Implement testsuite workaround for PR breakpoints/13781.
5851 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5852 (set breakpoint condition-evaluation host): New conditional command.
5853
5854 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5855
5856 Code cleanup.
5857 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5858 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5859 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5860 number 1 by $bpnum. Four times.
5861
5862 2012-03-03 Yao Qi <yao@codesourcery.com>
5863
5864 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5865
5866 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5867
5868 Setup KFAIL for PR server/13796.
5869 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5870
5871 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5872
5873 * gdb.ada/operator_bp: New testcase.
5874
5875 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5876
5877 * gdb.ada/info_locals_renaming: New testcase.
5878
5879 2012-03-02 Tom Tromey <tromey@redhat.com>
5880
5881 * gdb.base/nextoverexit.c: New file.
5882 * gdb.base/nextoverexit.exp: New file.
5883
5884 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5885
5886 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5887 parameter.
5888
5889 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5890
5891 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5892 core registers.
5893
5894 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5895 Maciej W. Rozycki <macro@codesourcery.com>
5896 Daniel Jacobowitz <dan@codesourcery.com>
5897
5898 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5899
5900 2012-03-01 Pedro Alves <palves@redhat.com>
5901
5902 PR gdb/13767
5903
5904 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5905 (gdb_collect_globals_test): Call it.
5906
5907 2012-03-01 Keith Seitz <keiths@redhat.com>
5908
5909 * gdb.cp/method2.exp: Output of overload menu is now
5910 alphabetized. Update tests for "break A::method".
5911 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5912 of hard-coding them.
5913 Overload menu is alphabetized: rewrite to accommodate.
5914 Unset variables LINE and TYPES which are used in other tests.
5915 Compute the output of "info break".
5916 Update the breakpoint table after all breakpoints are deleted.
5917 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5918 compute ACTUALS and the method body based on parameters.
5919 Update expected output accordingly.
5920 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5921 unique comments to allow the use of gdb_get_line_number.
5922
5923 2012-03-01 Keith Seitz <keiths@redhat.com>
5924
5925 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5926 some Tcl syntax.
5927 * gdb.cp/ovldbreak.exp: Likewise.
5928
5929 2012-03-01 Keith Seitz <keiths@redhat.com>
5930
5931 * gdb.base/help.exp (help show user): Update expected result
5932 for new doc string changes (add "non-python").
5933
5934 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
5935
5936 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5937 be put in the user-defined category and that the commands appear in
5938 "help user-defined".
5939
5940 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5941
5942 * gdb.ada/tagged_not_init: New testcase.
5943
5944 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5945
5946 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5947 * gdb.ada/enum_idx_packed: New testcase.
5948
5949 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5950
5951 * gdb.ada/aliased_array: New testcase.
5952
5953 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5954
5955 * gdb.ada/whatis_array_val: New testcase.
5956
5957 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5958
5959 Fix disp-step-syscall.exp: fork: single step over fork.
5960 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5961 whitespaces.
5962 (single step over $syscall): Remove its check.
5963 (single step over $syscall final pc): New check.
5964
5965 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5966
5967 Support processors without SSSE3.
5968 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5969 pabsd into ...
5970 (ssse3_test): ... a new function.
5971 (main): Call ssse3_test.
5972 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5973 Update expected values everywhere.
5974 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5975 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5976 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5977 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5978 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5979 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5980 Move these tests lower.
5981 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5982 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5983 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5984 New tests.
5985
5986 2012-02-29 Yao Qi <yao@codesourcery.com>
5987 Pedro Alves <palves@redhat.com>
5988
5989 * gdb.trace/trace-mt.c: New.
5990 * gdb.trace/trace-mt.exp: New.
5991
5992 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5993
5994 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5995 numbers instead of hardcoding them.
5996 * gdb.base/annota1.c: Provide suitable markers.
5997 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5998 numbers instead of hardcoding them.
5999 * gdb.base/annota3.c: Provide suitable markers.
6000
6001 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
6002 * gdb.base/annota3.c: Likewise.
6003 * gdb.base/sigall.c: Likewise.
6004 * gdb.base/signals.c: Likewise.
6005 * gdb.reverse/sigall-reverse.c: Likewise.
6006
6007 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
6008
6009 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
6010 failure return path.
6011
6012 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
6013
6014 * gdb.base/save-bp.exp: Account for new condition evaluator output.
6015
6016 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
6017
6018 * gdb.base/cond-eval-mode.exp: New file.
6019
6020 2012-02-24 Pedro Alves <palves@redhat.com>
6021
6022 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
6023 (top level): Use with_test_prefix.
6024
6025 2012-02-24 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.threads/attach-into-signal.exp (corefunc): Use
6028 with_test_prefix.
6029
6030 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6031
6032 Fix false FAILs on old CPUs without SSE.
6033 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6034 Return untested for Illegal instruction.
6035
6036 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6037
6038 Fix false FAILs with glibc debug infos installed.
6039 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6040 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6041
6042 2012-02-22 Sterling Augustine <saugustine@google.com>
6043
6044 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6045 constant with cast.
6046
6047 2012-02-21 Pedro Alves <palves@redhat.com>
6048
6049 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6050
6051 2012-02-21 Pedro Alves <palves@redhat.com>
6052
6053 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6054
6055 2012-02-21 Pedro Alves <palves@redhat.com>
6056
6057 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6058 with_test_prefix.
6059
6060 2012-02-21 Pedro Alves <palves@redhat.com>
6061
6062 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6063 with_test_prefix here.
6064 (top level): Do it here instead. Remove `:' from the
6065 with_test_prefix string.
6066 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6067 the suffix `:' from the with_test_prefix prefix string.
6068 * gdb.base/break-interp.exp: Ditto.
6069 * gdb.base/catch-load.exp: Ditto.
6070 * gdb.base/disp-step-syscall.exp: Ditto.
6071 * gdb.base/jit-so.exp: Ditto.
6072 * gdb.base/jit.exp: Ditto.
6073 * gdb.base/sepdebug.exp: Ditto.
6074 * gdb.base/solib-display.exp: Ditto.
6075 * gdb.base/solib-overlap.exp: Ditto.
6076 * gdb.base/watch-cond-infcall.exp: Ditto.
6077 * gdb.base/watchpoint.exp: Ditto.
6078 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6079 * gdb.mi/mi-watch.exp: Ditto.
6080 * gdb.mi/mi2-watch.exp: Ditto.
6081 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6082 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6083 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6084 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6085 * gdb.threads/watchpoint-fork.exp: Ditto.
6086 * gdb.threads/watchthreads-reorder.exp: Ditto.
6087 * gdb.trace/change-loc.exp: Ditto.
6088 * gdb.trace/pending.exp: Ditto.
6089 * gdb.trace/status-stop.exp: Ditto.
6090 * gdb.trace/strace.exp: Ditto.
6091 * gdb.trace/trace-break.exp: Ditto.
6092 * gdb.trace/unavailable.exp: Ditto.
6093 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6094 suffix with colon. Adjust leading comments.
6095
6096 2012-02-21 Pedro Alves <palves@redhat.com>
6097 Tom Tromey <tromey@redhat.com>
6098
6099 * lib/gdb.exp: Add description of test prefixes.
6100 (with_test_prefix): New procedure.
6101 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6102 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6103 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6104 instead of lappend to append to pf_prefix.
6105 * gdb.base/catch-load.exp: Use with_test_prefix.
6106 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6107 * gdb.base/jit-so.exp: Use with_test_prefix.
6108 * gdb.base/jit.exp: Use with_test_prefix.
6109 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6110 lappend to append to pf_prefix.
6111 * gdb.base/sepdebug.exp: Use with_test_prefix.
6112 * gdb.base/solib-display.exp: Use with_test_prefix.
6113 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6114 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6115 * gdb.base/watchpoint.exp: Use with_test_prefix.
6116 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6117 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6118 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6119 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6120 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6121 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6122 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6123 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6124 append instead of lappend to append to pf_prefix.
6125 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6126 * gdb.trace/change-loc.exp: Use with_test_prefix.
6127 * gdb.trace/pending.exp: Use with_test_prefix.
6128 * gdb.trace/status-stop.exp: Use with_test_prefix.
6129 * gdb.trace/strace.exp: Use with_test_prefix.
6130 * gdb.trace/trace-break.exp: Use with_test_prefix.
6131 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6132 instead of lappend to append to pf_prefix.
6133
6134 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6135
6136 Fix racy FAILs.
6137 * gdb.base/inferior-died.c (main): Add return of 0.
6138 * gdb.base/inferior-died.exp (continue): Fix expectation of
6139 asynchronous events.
6140 (p 1): New test.
6141
6142 2012-02-20 Pedro Alves <palves@redhat.com>
6143
6144 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6145 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6146 gdb's internal debug output. For the non-threaded case, look for
6147 "Program received signal SIGLARM", for the threaded case, peek at
6148 the thread's siginfo.
6149
6150 2012-02-20 Pedro Alves <palves@redhat.com>
6151
6152 General cleanup, make output test messages unique, and build
6153 different executable files for the non-threaded and threaded
6154 cases.
6155
6156 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6157 Delete.
6158 (executable_nothr, executable_thr): New globals.
6159 (top level): Adjust to delete both executables.
6160 (corefunc): New parameter $executable. Set $pf_prefix instead of
6161 hand writing a prefix in tests. Issue a clean_restart and enable
6162 lin-lwp debug output here.
6163 (top level): Adjust. Use build_executable. Don't start gdb here,
6164 and don't enable lin-lwp debug output here.
6165 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6166
6167 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6168
6169 Fix racy FAILs.
6170 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6171 "continue" command.
6172
6173 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6174
6175 Fix for gdbserver non-extended mode.
6176 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6177 and gdb_run_cmd.
6178
6179 2012-02-17 Tom Tromey <tromey@redhat.com>
6180
6181 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6182 * gdb.python/py-events.exp: Check 'dir' output.
6183 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6184
6185 2012-02-17 Yao Qi <yao@codesourcery.com>
6186
6187 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6188
6189 2012-02-16 Tom Tromey <tromey@redhat.com>
6190
6191 * gdb.base/inferior-died.c: Don't include stdio.h.
6192
6193 2012-02-16 Tom Tromey <tromey@redhat.com>
6194
6195 * gdb.base/inferior-died.c: New file.
6196 * gdb.base/inferior-died.exp: New file.
6197
6198 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6199
6200 * gdb.base/break-inline.exp: New file.
6201 * gdb.base/break-inline.c: New file.
6202
6203 2012-02-15 Tom Tromey <tromey@redhat.com>
6204
6205 * gdb.base/pc-fp.exp: Add "info register" tests.
6206
6207 2012-02-15 Tom Tromey <tromey@redhat.com>
6208
6209 * gdb.base/regs.exp: Remove.
6210
6211 2012-02-15 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6214 the target doesn't support tracepoints.
6215 * gdb.trace/circ.exp: Ditto.
6216 * gdb.trace/collection.exp: Ditto.
6217 * gdb.trace/packetlen.exp: Ditto.
6218 * gdb.trace/passc-dyn.exp: Ditto.
6219 * gdb.trace/report.exp: Ditto.
6220 * gdb.trace/tfind.exp: Ditto.
6221 * gdb.trace/tspeed.exp: Ditto.
6222 * gdb.trace/tsv.exp: Ditto.
6223 * gdb.trace/unavailable.exp: Ditto.
6224 * gdb.trace/while-dyn.exp: Ditto.
6225
6226 2012-02-15 Pedro Alves <palves@redhat.com>
6227
6228 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6229 gdb_test_multiple, and call unsupported instead of fail, if the
6230 remote side does not support the request.
6231
6232 2012-02-15 Pedro Alves <palves@redhat.com>
6233
6234 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6235 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6236 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6237 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6238 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6239 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6240 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6241 doesn't start with "extended-" already.
6242
6243 2012-02-15 Pedro Alves <palves@redhat.com>
6244
6245 Support extended-remote. Avoid cascading timeouts.
6246
6247 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6248 the extended-remote target. If attaching with no file fails, load
6249 the file manually.
6250 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6251
6252 2012-02-14 Stan Shebs <stan@codesourcery.com>
6253
6254 * gdb.base/ena-dis-br.exp: Add enable count test.
6255
6256 2012-02-13 Pedro Alves <palves@redhat.com>
6257
6258 * config/mips-idt.exp: Delete.
6259 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6260 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6261 * gdb.base/break.exp: Remove mips-idt references.
6262 * gdb.base/chng-syms.exp: Ditto.
6263 * gdb.base/default.exp: Ditto.
6264 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6265 (top level): Don't call it.
6266 * gdb.base/opaque.exp: Remove mips-idt restarts.
6267 * gdb.base/ptype.exp: Remove mips-idt xfails.
6268 * gdb.base/scope.exp: Remove mips-idt restarts.
6269 * gdb.base/sepdebug.exp: Remove mips-idt references.
6270 * gdb.base/watchpoint.exp (maybe_clean_restart)
6271 (maybe_reinitialize): Delete.
6272 (test_disabling_watchpoints, test_disabling_watchpoints)
6273 (test_watchpoint_triggered_in_syscall)
6274 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6275 Don't call them.
6276
6277 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6278
6279 * gdb.server/server-exec-info.exp: New file.
6280
6281 2012-02-10 Pedro Alves <palves@redhat.com>
6282
6283 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6284 always non-empty.
6285 (test_attach): Always pass $exec to test_attach_gdb.
6286
6287 2012-02-08 Tom Tromey <tromey@redhat.com>
6288
6289 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6290 before inferior is started.
6291
6292 2012-02-07 Tom Tromey <tromey@redhat.com>
6293
6294 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6295 Symbol.value.
6296 * gdb.python/py-symbol.c (qq): Set default value.
6297
6298 2012-02-07 Tom Tromey <tromey@redhat.com>
6299
6300 * gdb.python/py-symbol.c (qq): New global.
6301 * gdb.python/py-symbol.exp: Add test for frame-less
6302 lookup_symbol.
6303 * gdb.python/py-symtab.exp: Fix line number.
6304
6305 2012-02-03 Joel Brobecker <brobecker@adacore.com>
6306
6307 * gdb.ada/mi_task_arg: New testcase.
6308
6309 2012-02-02 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6312 extended timeout.
6313
6314 2012-02-02 Pedro Alves <palves@redhat.com>
6315
6316 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6317 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6318
6319 2012-02-02 Pedro Alves <palves@redhat.com>
6320
6321 * gdb.base/term.exp: Rewrite.
6322 * gdb.base/term.c: New.
6323
6324 2012-02-02 Pedro Alves <palves@redhat.com>
6325
6326 * gdb.base/default.exp (run "r" abbreviation, run): Add
6327 extended-remote expected output.
6328
6329 2012-02-02 Tom Tromey <tromey@redhat.com>
6330
6331 * gdb.cp/dispcxx.exp: New file.
6332 * gdb.cp/dispcxx.cc: New file.
6333
6334 2012-02-01 Tom Tromey <tromey@redhat.com>
6335
6336 * gdb.base/jit-simple.exp: New file.
6337 * gdb.base/jit-simple.c: New file.
6338
6339 2012-01-30 Yao Qi <yao@codesourcery.com>
6340
6341 * gdb.base/skip.exp: Make test result unique.
6342
6343 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6344
6345 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6346 compatibility with valgrind-3.7.0.
6347
6348 2012-01-27 Pedro Alves <palves@redhat.com>
6349
6350 * gdb.base/watchpoint.exp (no_hw): New global.
6351 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6352 disable hw watchpoints.
6353 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6354 don't expect hw watchpoints.
6355 (no_hw_watchpoints): Always clean restart.
6356 (do_tests): New procedure, factored out from the top level.
6357 (top level): Run tests twice. Once with hw watchpoints enabled,
6358 another time with hw watchpoints disabled.
6359
6360 2012-01-27 Pedro Alves <palves@redhat.com>
6361
6362 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6363 out from the top level.
6364 (top level): Call it instead.
6365
6366 2012-01-27 Pedro Alves <palves@redhat.com>
6367
6368 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6369 watchpoints sooner.
6370
6371 2012-01-27 Pedro Alves <palves@redhat.com>
6372
6373 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6374
6375 2012-01-27 Pedro Alves <palves@redhat.com>
6376
6377 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6378 "You may have requested too many hardware
6379 breakpoints/watchpoints".
6380
6381 2012-01-27 Pedro Alves <palves@redhat.com>
6382
6383 * gdb.base/watchpoint.exp (maybe_clean_restart)
6384 (maybe_reinitialize): New.
6385 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6386 expect "hit N times".
6387 (test_disabling_watchpoints, test_complex_watchpoint)
6388 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6389 Call maybe_clean_restart.
6390 (top level): Use clean_restart. Remove "mips-idt-*"
6391 reinitialization.
6392
6393 2012-01-27 Pedro Alves <palves@redhat.com>
6394
6395 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6396
6397 2012-01-27 Pedro Alves <palves@redhat.com>
6398
6399 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6400 require `initialize' anymore. Remove unnecessary `initialize'
6401 calls.
6402
6403 2012-01-27 Pedro Alves <palves@redhat.com>
6404
6405 * gdb.base/watchpoint.exp (wp_set): Delete.
6406 (initialize, test_simple_watchpoint, top level): Remove dead code.
6407
6408 2012-01-27 Pedro Alves <palves@redhat.com>
6409
6410 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6411 typo.
6412
6413 2012-01-27 Pedro Alves <palves@redhat.com>
6414
6415 * config/extended-gdbserver.exp: New file.
6416 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6417 comment.
6418 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6419 * boards/native-extended-gdbserver.exp: New file.
6420
6421 2012-01-26 Pedro Alves <palves@redhat.com>
6422
6423 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6424 and gdb_test_multiple.
6425
6426 2012-01-26 Pedro Alves <palves@redhat.com>
6427
6428 Make test messages unique, and more identifiable.
6429 * gdb.multi/watchpoint-multi.exp: Change test messages.
6430
6431 2012-01-25 Tom Tromey <tromey@redhat.com>
6432
6433 * gdb.base/solib-disc.exp: Fix regexps.
6434
6435 2012-01-24 Tom Tromey <tromey@redhat.com>
6436
6437 * lib/mi-support.exp (mi_expect_stop): Add special case for
6438 solib-event.
6439 * gdb.base/catch-load-so.c: New file.
6440 * gdb.base/catch-load.exp: New file.
6441 * gdb.base/catch-load.c: New file.
6442 * gdb.base/break-interp.exp (reach_1): Update regexp.
6443
6444 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6445
6446 Fix fuzzy results.
6447 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6448 lpsimple and func.
6449
6450 2012-01-24 Gary Benson <gbenson@redhat.com>
6451
6452 Delete #if 0'd out code.
6453 * gdb.base/default.exp (info catch): Remove.
6454 * gdb.base/gdb_history (info catch): Likewise.
6455 * gdb.base/help.exp (info catch): Likewise.
6456
6457 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6458
6459 Fix watchpoints to be specific for each inferior.
6460 * gdb.multi/watchpoint-multi.c: New file.
6461 * gdb.multi/watchpoint-multi.exp: New file.
6462
6463 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6464
6465 Fix watchpoints across inferior fork.
6466 * gdb.threads/watchpoint-fork-child.c: New file.
6467 * gdb.threads/watchpoint-fork-mt.c: New file.
6468 * gdb.threads/watchpoint-fork-parent.c: New file.
6469 * gdb.threads/watchpoint-fork-st.c: New file.
6470 * gdb.threads/watchpoint-fork.exp: New file.
6471 * gdb.threads/watchpoint-fork.h: New file.
6472
6473 2012-01-23 Pedro Alves <palves@redhat.com>
6474
6475 * gdb.base/call-signal-resume.exp: Allow output after "return".
6476
6477 2012-01-20 Pedro Alves <palves@redhat.com>
6478
6479 * gdb.python/py-finish-breakpoint.py: Fix typo.
6480
6481 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6482
6483 * gdb.base/info-proc.exp: Also run on remote targets. Main
6484 "info proc" command is now always present; whether target supports
6485 actual info proc operation is detected when attempting to issue
6486 the command.
6487
6488 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6489
6490 * .gdbinit: Remove.
6491
6492 2012-01-19 Pedro Alves <palves@redhat.com>
6493
6494 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6495 look at the funtions' returns.
6496 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6497 (jprint.print(int, int)): Change return type to int. Adjust.
6498
6499 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6500
6501 PR gdb/9538
6502 * gdb.base/sepdebug.exp: New test.
6503
6504 2012-01-18 Pedro Alves <palves@redhat.com>
6505
6506 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6507 Allow output before ^done.
6508
6509 2012-01-16 Tom Tromey <tromey@redhat.com>
6510
6511 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6512 Add tests for relative directory.
6513
6514 2012-01-16 Tom Tromey <tromey@redhat.com>
6515
6516 * gdb.base/printcmds.c (enum flag_enum): New.
6517 (three): New global.
6518 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6519 enum printing.
6520 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6521 FlagEnumerationPrinter.
6522 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6523 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6524 (fval): New global.
6525
6526 2012-01-16 Pedro Alves <palves@redhat.com>
6527
6528 * lib/gdb.exp (banned_procedures): New variable.
6529 (banned_variables_traced): Rename to ...
6530 (banned_traced): ... this.
6531 (gdb_init): Also trace banned procedures.
6532 (gdb_finish): Also untrace banned procedures.
6533
6534 2012-01-16 Pedro Alves <palves@redhat.com>
6535
6536 Remove all calls to strace.
6537
6538 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6539
6540 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6541 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6542
6543 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6544
6545 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6546 * gdb.base/pie-execl.exp: Likewise.
6547
6548 2012-01-12 Keith Seitz <keiths@redhat.com>
6549
6550 PR mi/10586
6551 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6552 (do_anonymous_type_tests): New function.
6553 (main): Call do_anonymous_type_tests.
6554 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6555 (verify_everything): New procedure.
6556 * gdb.mi/mi-var-cp.cc (class A): New class.
6557 (anonymous_structs_and_unions): New function.
6558 (main): Call anonymous_structs_and_unions.
6559 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6560 (verify_everything): New procedure.
6561
6562 2012-01-12 Keith Seitz <keiths@redhat.com>
6563
6564 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6565 (varobj_tree::get_path_expr): Assume that all varobjs are
6566 compound unless they are known simple types.
6567 Adjust path expressions based on parent type, path parent type,
6568 and tree language.
6569 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6570 the root varobj.
6571 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6572
6573 2012-01-11 Pedro Alves <palves@redhat.com>
6574
6575 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6576 core files on this machine" anymore.
6577
6578 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6579
6580 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6581 (main): Repeat recurser call.
6582 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6583 equivalent to 'local_x'.
6584
6585 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6586 Joel Brobecker <brobecker@adacore.com>
6587
6588 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6589
6590 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6591
6592 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6593 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6594 * gdb.python/py-events.exp: Test that "step N" tripping on a
6595 breakpoint emits a breakpoint event.
6596
6597 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6598
6599 * gdb.base/auxv.exp: Reformat the copyright notice.
6600
6601 2012-01-03 Yao Qi <yao@codesourcery.com>
6602
6603 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6604 (strace_trace_on_diff_addr): New.
6605 * gdb.trace/strace.c: (main): Add two local variables.
6606
6607 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6608
6609 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6610 * gdb.cell/gcore.exp: Likewise.
6611 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6612 to verify the correct instance of main is selected.
6613
6614 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6615
6616 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6617 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6618 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6619 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6620 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6621 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6622 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6623 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6624 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6625 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6626 gdb.threads/thread_check.c: Reformat copyright header.
6627
6628 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6629
6630 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6631 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6632 is not enabled.
6633
6634 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6635
6636 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6637 parameter to self_exec, adjust the function.
6638 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6639 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6640 (set var do_exit = 0): Remove test.
6641 (newline at end of file): Add one.
6642
6643 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6644
6645 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6646 New files.
6647
6648 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6649
6650 Fix racy FAILs.
6651 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6652 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6653 (main): Call pthread_barrier_init for it.
6654
6655 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6656
6657 Fix double send_gdb leading to racy FAILs.
6658 * gdb.base/break.exp (set silent break bp_location1): Replace
6659 3x send_gdb and gdb_expect by gdb_test.
6660 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6661 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6662 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6663 instead of send_gdb. Twice.
6664 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6665 3x send_gdb and gdb_expect by gdb_test.
6666 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6667
6668 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6669
6670 * gdb.linespec/linespec.exp: Compile using {c++}.
6671
6672 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6673
6674 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6675 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6676 (verify GCC PR debug/51668): New test.
6677
6678 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6679
6680 Introduce gdb.FinishBreakpoint in Python.
6681 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6682 py-finish-breakpoint2
6683 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6684 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6685 instead of line number.
6686 * gdb.python/py-finish-breakpoint.c: New file.
6687 * gdb.python/py-finish-breakpoint.exp: New file.
6688 * gdb.python/py-finish-breakpoint.py: New file.
6689 * gdb.python/py-finish-breakpoint2.cc: New file.
6690 * gdb.python/py-finish-breakpoint2.exp: New file.
6691 * gdb.python/py-finish-breakpoint2.py: New file.
6692
6693 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6694
6695 Partial fix of compatibility with gcc-4.7.
6696 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6697 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6698 Add comment to add a PASS case in the future.
6699
6700 Fix compatibility with gcc-4.7.
6701 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6702
6703 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6704
6705 PR tdep/12797
6706 * gdb.base/callfuncs.exp: Remove KFAIL.
6707
6708 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6709
6710 * gdb.ada/task_bp: New testcase.
6711
6712 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6713
6714 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6715 -DNO_SECTIONS.
6716 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6717
6718 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6719
6720 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6721 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6722 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6723 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6724 conditional for gcc <= 4.5.
6725
6726 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6727
6728 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6729 by XFAIL.
6730 * gdb.cp/static-method.exp (info addr A::func())
6731 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6732 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6733 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6734 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6735 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6736 (test value of F in k3_m): Likewise.
6737 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6738 Likewise.
6739
6740 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6741
6742 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6743 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6744 Remove.
6745 * gdb.threads/attachstop-mt.c: Remove.
6746 * gdb.threads/attachstop-mt.exp: Remove.
6747
6748 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6749
6750 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6751
6752 2011-12-16 Doug Evans <dje@google.com>
6753
6754 * boards/native-stdio-gdbserver.exp: New file.
6755 * boards/native-gdbserver.exp: New file.
6756
6757 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6758 gdbserver output.
6759 (gdbserver_default_get_remote_address): New function.
6760 (gdbserver_start): Call gdb,get_remote_address to compute argument
6761 to "target remote" command.
6762
6763 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6764
6765 * gdb.python/py-function.exp: Change "on" to "full" for
6766 python print-stack. Add set/show python print-stack
6767 off|full|message tests.
6768
6769 2011-12-15 Yao Qi <yao@codesourcery.com>
6770
6771 * gdb.trace/strace.c: New
6772 * gdb.trace/strace.exp: New.
6773
6774 2011-12-14 Tom Tromey <tromey@redhat.com>
6775
6776 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6777
6778 2011-12-14 Doug Evans <dje@google.com>
6779
6780 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6781
6782 2011-12-14 Pedro Alves <pedro@codesourcery.com>
6783
6784 PR threads/10729
6785
6786 * gdb.mi/watch-nonstop.c: New file.
6787 * gdb.mi/mi-watch-nonstop.exp: New file.
6788
6789 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6790 Doug Evans <dje@google.com>
6791
6792 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6793 (clean_restart): Remove references to the gdb_stub target board
6794 variable.
6795 (gdb_step_for_stub): Delete.
6796
6797 * gdb.base/annota1.exp: Remove all references to [target_info
6798 exists gdb_stub], gdb_step_for_stub and usestubs.
6799 * gdb.base/annota3.exp: Ditto.
6800 * gdb.base/async.exp: Ditto.
6801 * gdb.base/break.exp: Ditto.
6802 * gdb.base/code-expr.exp: Ditto.
6803 * gdb.base/commands.exp: Ditto.
6804 * gdb.base/completion.exp: Ditto.
6805 * gdb.base/condbreak.exp: Ditto.
6806 * gdb.base/consecutive.exp: Ditto.
6807 * gdb.base/cvexpr.exp: Ditto.
6808 * gdb.base/define.exp: Ditto.
6809 * gdb.base/display.exp: Ditto.
6810 * gdb.base/ena-dis-br.exp: Ditto.
6811 * gdb.base/environ.exp: Ditto.
6812 * gdb.base/gnu-ifunc.exp: Ditto.
6813 * gdb.base/maint.exp: Ditto.
6814 * gdb.base/pending.exp: Ditto.
6815 * gdb.base/sect-cmd.exp: Ditto.
6816 * gdb.base/sepdebug.exp: Ditto.
6817 * gdb.base/unload.exp: Ditto.
6818 * gdb.base/watchpoint-solib.exp: Ditto.
6819 * gdb.cp/annota2.exp: Ditto.
6820 * gdb.cp/annota3.exp: Ditto.
6821 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6822 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6823 * gdb.mi/mi-pending.exp: Ditto.
6824 * gdb.trace/circ.exp: Ditto.
6825 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6826 * gdb.base/list.exp: Ditto.
6827
6828 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6829 breakpoint function and all references to the usestubs macro.
6830 * gdb.base/exprs.c: Ditto.
6831 * gdb.base/freebpcmd.c: Ditto.
6832 * gdb.base/bitfields.c: Ditto.
6833 * gdb.base/bitfields2.c: Ditto.
6834 * gdb.base/break.c: Ditto.
6835 * gdb.base/call-sc.c: Ditto.
6836 * gdb.base/call-signals.c: Ditto.
6837 * gdb.base/callfuncs.c: Ditto.
6838 * gdb.base/charset.c: Ditto.
6839 * gdb.base/consecutive.c: Ditto.
6840 * gdb.base/constvars.c: Ditto.
6841 * gdb.base/funcargs.c: Ditto.
6842 * gdb.base/int-type.c: Ditto.
6843 * gdb.base/interrupt.c: Ditto.
6844 * gdb.base/langs0.c: Ditto.
6845 * gdb.base/list0.c: Ditto.
6846 * gdb.base/mips_pro.c: Ditto.
6847 * gdb.base/miscexprs.c: Ditto.
6848 * gdb.base/nodebug.c: Ditto.
6849 * gdb.base/opaque0.c: Ditto.
6850 * gdb.base/pointers.c: Ditto.
6851 * gdb.base/printcmds.c: Ditto.
6852 * gdb.base/ptype.c: Ditto.
6853 * gdb.base/recurse.c: Ditto.
6854 * gdb.base/reread1.c: Ditto.
6855 * gdb.base/reread2.c: Ditto.
6856 * gdb.base/restore.c: Ditto.
6857 * gdb.base/return.c: Ditto.
6858 * gdb.base/run.c: Ditto.
6859 * gdb.base/scope0.c: Ditto.
6860 * gdb.base/sepdebug.c: Ditto.
6861 * gdb.base/setshow.c: Ditto.
6862 * gdb.base/setvar.c: Ditto.
6863 * gdb.base/sigall.c: Ditto.
6864 * gdb.base/signals.c: Ditto.
6865 * gdb.base/structs.c: Ditto.
6866 * gdb.base/structs2.c: Ditto.
6867 * gdb.base/testenv.c: Ditto.
6868 * gdb.base/twice.c: Ditto.
6869 * gdb.base/unwindonsignal.c: Ditto.
6870 * gdb.base/watchpoint.c: Ditto.
6871 * gdb.base/watchpoints.c: Ditto.
6872 * gdb.base/whatis.c: Ditto.
6873 * gdb.cp/classes.cc: Ditto.
6874 * gdb.cp/cplusfuncs.cc: Ditto.
6875 * gdb.cp/derivation.cc: Ditto.
6876 * gdb.cp/formatted-ref.cc: Ditto.
6877 * gdb.cp/misc.cc: Ditto.
6878 * gdb.cp/overload.cc: Ditto.
6879 * gdb.cp/ovldbreak.cc: Ditto.
6880 * gdb.cp/ref-params.cc: Ditto.
6881 * gdb.cp/ref-types.cc: Ditto.
6882 * gdb.cp/templates.cc: Ditto.
6883 * gdb.cp/virtfunc.cc: Ditto.
6884 * gdb.hp/gdb.aCC/run.c: Ditto.
6885 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6886 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6887 * gdb.reverse/consecutive-reverse.c: Ditto.
6888 * gdb.reverse/sigall-reverse.c: Ditto.
6889 * gdb.reverse/until-reverse.c: Ditto.
6890 * gdb.reverse/watch-reverse.c: Ditto.
6891 * gdb.trace/actions.c: Ditto.
6892 * gdb.trace/circ.c: Ditto.
6893 * gdb.trace/collection.c: Ditto.
6894
6895 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6896
6897 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6898 (func6, func7): New.
6899 (main): Call func6 and func7.
6900 * gdb.base/watchpoint.exp (test_wide_location_1)
6901 (test_wide_location_2): New.
6902 (top level): Re-enable hardware watchpoints if necessary. Call
6903 test_wide_location_1 and test_wide_location_2.
6904
6905 2011-12-11 Yao Qi <yao@codesourcery.com>
6906
6907 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6908
6909 2011-12-11 Joel Brobecker <brobecker@adacore.com>
6910
6911 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6912 expected output for unsupported case.
6913
6914 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6915
6916 PR testsuite/12649
6917 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6918 Protect gdb_test_multiple by final $gdb_prompt match.
6919
6920 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6921
6922 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6923 New variable, new test.
6924 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6925 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6926 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6927 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6928 them if HAVE_GCC_45682_FIXED is not set.
6929
6930 2011-12-10 Yao Qi <yao@codesourcery.com>
6931
6932 * gdb.trace/status-stop.exp: New.
6933 * gdb.trace/status-stop.c: New.
6934
6935 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6936
6937 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6938 timeout.
6939
6940 2011-12-08 Tom Tromey <tromey@redhat.com>
6941
6942 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6943 condition.
6944
6945 2011-12-07 Stan Shebs <stan@codesourcery.com>
6946
6947 * gdb.trace/tfind.exp: Update for output changes.
6948
6949 2011-12-07 Pedro Alves <pedro@codesourcery.com>
6950
6951 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6952 throws "Cannot insert catchpoints in this configuration".
6953 * gdb.ada/mi_catch_ex.exp: Likewise.
6954
6955 2011-12-06 Pedro Alves <pedro@codesourcery.com>
6956
6957 * gdb.base/break-always.exp: Test changing memory at addresses
6958 with breakpoints inserted.
6959
6960 2011-12-06 Joel Brobecker <brobecker@acacore.com>
6961
6962 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6963 involving a fully qualified function name.
6964
6965 2011-12-06 Tom Tromey <tromey@redhat.com>
6966
6967 * gdb.ada/homonym.exp: Add three breakpoint tests.
6968
6969 2011-12-06 Tom Tromey <tromey@redhat.com>
6970
6971 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6972 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6973 * gdb.objc/objcdecode.exp: Update for output changes.
6974 * gdb.linespec/linespec.exp: New file.
6975 * gdb.linespec/lspec.cc: New file.
6976 * gdb.linespec/lspec.h: New file.
6977 * gdb.linespec/body.h: New file.
6978 * gdb.linespec/base/two/thefile.cc: New file.
6979 * gdb.linespec/base/one/thefile.cc: New file.
6980 * gdb.linespec/Makefile.in: New file.
6981 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6982 output changes.
6983 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6984 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6985 makes one breakpoint.
6986 * gdb.cp/method2.exp (test_break): Update for output changes.
6987 * gdb.cp/mb-templates.exp: Update for output changes.
6988 * gdb.cp/mb-inline.exp: Update for output changes.
6989 * gdb.cp/mb-ctor.exp: Update for output changes.
6990 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6991 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6992 has multiple matches.
6993 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6994 error message change.
6995 * gdb.base/list.exp (test_list_filename_and_number): Update for
6996 error message change.
6997 * gdb.base/break.exp: Disable pending breakpoints. Update for
6998 output changes.
6999 * configure.ac: Add gdb.linespec.
7000 * configure: Rebuild.
7001 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
7002
7003 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
7004
7005 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
7006 last_break register on s390*-*-* targets.
7007
7008 2011-12-06 Joel Brobecker <brobecker@adacore.com>
7009
7010 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
7011 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
7012 of parameter X in procedure Foo.
7013
7014 2011-12-05 Stan Shebs <stan@codesourcery.com>
7015
7016 * gdb.trace/tfind.exp: Update help string matches.
7017
7018 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7019
7020 * gdb.server/ext-run.exp (get process list): Accept also systemd
7021 as PID 1.
7022
7023 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7024 Pedro Alves <pedro@codesourcery.com>
7025
7026 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
7027 starting GDB.
7028 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
7029 $use_gdb_stub.
7030 * gdb.base/display.exp: Likewise.
7031 * gdb.base/ending-run.exp: Likewise.
7032 * gdb.base/list.exp (test_listsize): Likewise.
7033 * gdb.base/setshow.exp: Likewise.
7034 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7035 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7036 check by global $use_gdb_stub.
7037 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7038 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7039 (default_gdb_init): Unset global $use_gdb_stub.
7040 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7041 by global $use_gdb_stub.
7042 * lib/gdbserver-support.exp: Extend comments for set_board_info
7043 gdb_protocol and gdb,socketport.
7044 (gdbserver_start_extended): Set global gdbserver_protocol and
7045 gdbserver_gdbport. Clear global use_gdb_stub.
7046 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7047 from target use_gdb_stub.
7048 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7049
7050 2011-12-03 Doug Evans <dje@google.com>
7051
7052 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7053 (gdb_step_for_stub): Add comments.
7054
7055 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7056
7057 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7058 to the caller.
7059 (gdb_test_multiple): Likewise.
7060
7061 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7062
7063 Fix gdb.mi/mi-solib.exp without system debug info installed.
7064 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7065 expect attribute, return 0 for it. Update comments.
7066
7067 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7068
7069 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7070 (corrupted list): Adjust the expectation.
7071
7072 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7073
7074 PR threads/13448
7075 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7076 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7077 * gdb.threads/tls-var-main.c: New file.
7078 * gdb.threads/tls-var.c: New file.
7079 * gdb.threads/tls-var.exp: New file.
7080
7081 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7082
7083 PR testsuite/12649
7084 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7085 Protect gdb_test_multiple by final $gdb_prompt match.
7086 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7087 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7088 (test_tracepoints): Likewise.
7089
7090 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7091
7092 PR breakpoints/13346
7093 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7094 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7095 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7096
7097 2011-12-01 Joel Brobecker <brobecker@adacore.com>
7098
7099 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7100 * gdb.ada/homonym/homonym.adb: For use of all types defined
7101 locally inside both Get_Value subprograms.
7102
7103 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7104
7105 Fix racy FAILs.
7106 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7107 of send_gdb.
7108
7109 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7110
7111 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7112 environment variable after test completed.
7113
7114 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7115
7116 * gdb.base/solib-nodir.exp: Skip if remote target.
7117 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7118 application. Call gdb_load_shlibs.
7119 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7120
7121 2011-11-29 Joel Brobecker <brobecker@adacore.com>
7122
7123 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7124
7125 2011-11-28 Joel Brobecker <brobecker@adacore.com>
7126
7127 * gdb.ada/fullname_bp: New testcase.
7128
7129 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7130
7131 PR testsuite/12649
7132 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7133 Wrap send_gdb into a new gdb_test.
7134
7135 Code cleanup.
7136 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7137 Convert send_gdb and gdb_expect to gdb_test_multiple.
7138
7139 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7140
7141 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7142
7143 2011-11-23 Keith Seitz <keiths@redhat.com>
7144
7145 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7146 (mi_varobj_tree_test_children_callback): New proc.
7147 (mi_walk_varobj_tree): New proc.
7148
7149 2011-11-22 Tom Tromey <tromey@redhat.com>
7150
7151 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7152 Add "use_mi_command" argument.
7153 (mi_run_cmd, mi_run_with_cli): New procs.
7154 * gdb.mi/solib-lib.c: New file.
7155 * gdb.mi/solib-main.c: New file.
7156 * gdb.mi/mi-solib.exp: New file.
7157
7158 2011-11-21 Doug Evans <dje@google.com>
7159
7160 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7161 _Unwind_DebugHook is missing.
7162
7163 2011-11-20 Stan Shebs <stan@codesourcery.com>
7164
7165 * gdb.trace/tstatus.exp: New.
7166 * gdb.trace/actions.c: Include string.h.
7167
7168 2011-11-18 Yao Qi <yao@codesourcery.com>
7169
7170 * gdb.trace/pending.exp: New.
7171 * gdb.trace/pending.c: New.
7172 * gdb.trace/pendshr1.c: New.
7173 * gdb.trace/pendshr2.c: New.
7174 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7175 tracepoint location becomes pending.
7176 (tracepoint_change_loc_2): New.
7177
7178 2011-11-16 David S. Miller <davem@davemloft.net>
7179
7180 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7181 target is sparc*-*-linux*
7182
7183 2011-11-15 Paul Koning <paul_koning@dell.com>
7184
7185 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7186 types.
7187
7188 2011-11-14 Doug Evans <dje@google.com>
7189
7190 * gdb.base/shell.exp: New file.
7191
7192 2011-11-14 Stan Shebs <stan@codesourcery.com>
7193
7194 * gdb.trace/ftrace.c: New.
7195 * gdb.trace/ftrace.exp: New.
7196
7197 2011-11-14 Yao Qi <yao@codesourcery.com>
7198
7199 * gdb.trace/change-loc-1.c: New.
7200 * gdb.trace/change-loc-2.c: New.
7201 * gdb.trace/change-loc.c: New.
7202 * gdb.trace/change-loc.exp: New.
7203 * gdb.trace/change-loc.h: New.
7204 * gdb.trace/trace-break.c (marker): Define new symbol.
7205 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
7206 New.
7207 (break_trace_same_addr_6): New.
7208
7209 2011-11-12 Matt Rice <ratmice@gmail.com>
7210
7211 * gdb.base/info-macros.exp: Make tests for info definitions
7212 test info macro. Add tests for info macro argument processing.
7213 Rename a few tests.
7214
7215 2011-11-11 Keith Seitz <keiths@redhat.com>
7216
7217 PR gdb/12843
7218 * gdb.base/linespecs.exp: New file.
7219
7220 2011-11-11 Doug Evans <dje@google.com>
7221
7222 * gdb.threads/print-threads.exp: Extend timeout for slower
7223 tests.
7224
7225 2011-11-10 Doug Evans <dje@google.com>
7226
7227 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7228 "record to end of main" test.
7229
7230 * gdb.python/py-type.c (TS): New typedef.
7231 (ts): New global.
7232 * gdb.python/py-type.exp: Test field list of typedef.
7233
7234 2011-11-10 Joel Brobecker <brobecker@adacore.com>
7235
7236 * gdb.ada/small_reg_param: New testcase.
7237
7238 2011-11-09 Tom Tromey <tromey@redhat.com>
7239
7240 * gdb.cp/destrprint.exp: New file.
7241 * gdb.cp/destrprint.cc: New file.
7242
7243 2011-11-08 Meador Inge <meadori@codesourcery.com>
7244
7245 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7246 (switch_stack_to_other): New test function.
7247 * gdb.arch/thumb-prologue.exp: New test cases.
7248
7249 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7250
7251 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7252
7253 2011-11-08 Yao Qi <yao@codesourcery.com>
7254
7255 * gdb.exp (supports_process_record): New.
7256 (supports_reverse): New.
7257 * gdb.reverse/break-precsave.exp: Call support_process_record
7258 to run test conditionally.
7259 * gdb.reverse/consecutive-precsave.exp: Likewise.
7260 * gdb.reverse/i386-precsave.exp: Likewise.
7261 * gdb.reverse/machinestate-precsave.exp: Likewise.
7262 * gdb.reverse/solib-precsave.exp: Likewise.
7263 * gdb.reverse/step-precsave.exp: Likewise.
7264 * gdb.reverse/until-precsave.exp: Likewise.
7265 * gdb.reverse/watch-precsave.exp: Likewise.
7266 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7267 test conditionally.
7268 * gdb.reverse/consecutive-reverse.exp: Likewise.
7269 * gdb.reverse/finish-precsave.exp: Likewise.
7270 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7271 * gdb.reverse/finish-reverse.exp: Likewise.
7272 * gdb.reverse/i386-reverse.exp: Likewise.
7273 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7274 * gdb.reverse/machinestate.exp: Likewise.
7275 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7276 * gdb.reverse/sigall-precsave.exp: Likewise.
7277 * gdb.reverse/sigall-reverse.exp: Likewise.
7278 * gdb.reverse/solib-reverse.exp: Likewise.
7279 * gdb.reverse/step-reverse.exp: Likewise.
7280 * gdb.reverse/until-reverse.exp: Likewise.
7281 * gdb.reverse/watch-reverse.exp: Likewise.
7282
7283 2011-11-05 Yao Qi <yao@codesourcery.com>
7284
7285 * gdb.trace/trace-break.exp: Add test on setting two
7286 fast tracepoints at the same address.
7287
7288 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7289
7290 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7291
7292 2011-11-02 Stan Shebs <stan@codesourcery.com>
7293
7294 * gdb.trace/collection.c: Add code using strings.
7295 * gdb.trace/collection.exp: Add tests of string collection.
7296
7297 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7298
7299 * gdb.base/skip-solib.exp (executable_main): New variable.
7300 (binfile_main): Base it on that.
7301 Use $executable_main in clean_restart calls. Drop gdb_exit and
7302 gdb_start calls.
7303
7304 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7305
7306 Fix racy FAILs.
7307 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7308 breakpoint_re globals import by async. Set string_regex to .* for
7309 async. Remove the optional thread_selected_re and breakpoint_re
7310 globals expectations.
7311
7312 2011-11-01 Joseph Myers <joseph@codesourcery.com>
7313
7314 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7315 well as Cygwin.
7316
7317 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
7318
7319 Add tests for skip command.
7320 * gdb.base/skip-solib-lib.c: New
7321 * gdb.base/skip-solib-main.c: New
7322 * gdb.base/skip-solib.exp: New
7323 * gdb.base/skip.c: New
7324 * gdb.base/skip.exp: New
7325 * gdb.base/skip1.c: New
7326 * gdb.base/Makefile.in: Adding new files.
7327
7328 2011-10-31 Yao Qi <yao@codesourcery.com>
7329 Pedro Alves <pedro@codesourcery.com>
7330
7331 * gdb.trace/trace-break.c: New.
7332 * gdb.trace/trace-break.exp: New.
7333
7334 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7335
7336 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7337 break-here-2.
7338
7339 2011-10-28 Pedro Alves <pedro@codesourcery.com>
7340
7341 * gdb.threads/no-unwaited-for-left.c: New.
7342 * gdb.threads/no-unwaited-for-left.exp: New.
7343 * gdb.threads/non-ldr-exc-1.c: New.
7344 * gdb.threads/non-ldr-exc-1.exp: New.
7345 * gdb.threads/non-ldr-exc-2.c: New.
7346 * gdb.threads/non-ldr-exc-2.exp: New.
7347 * gdb.threads/non-ldr-exc-3.c: New.
7348 * gdb.threads/non-ldr-exc-3.exp: New.
7349 * gdb.threads/non-ldr-exc-4.c: New.
7350 * gdb.threads/non-ldr-exc-4.exp: New.
7351
7352 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7353
7354 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7355 * gdb.base/attach-pie-misread.exp: Likewise.
7356 * gdb.base/break-interp.exp: Likewise.
7357 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7358 testcases for use_gdb_stub.
7359 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7360 (continue): New testcase.
7361 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7362 * gdb.threads/attach-into-signal.exp: Likewise.
7363 * gdb.threads/attach-stopped.exp: Likewise.
7364 * gdb.threads/attachstop-mt.exp: Likewise.
7365
7366 2011-10-28 Paul Koning <paul_koning@dell.com>
7367
7368 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7369
7370 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7371
7372 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7373 (mi_gdb_test): Import globals thread_selected_re
7374 and breakpoint_re. Expect them optionally at the regex start.
7375
7376 2011-10-27 Doug Evans <dje@google.com>
7377
7378 * gdb.python/python.exp: Test source -s.
7379
7380 2011-10-26 Paul Koning <paul_koning@dell.com>
7381
7382 * gdb.python/lib-types.cc (struct A): New structure.
7383 * gdb.python/lib-types.exp (deepitems): New tests.
7384
7385 2011-10-25 Paul Koning <paul_koning@dell.com>
7386
7387 PR python/13327
7388
7389 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7390 fetch_lazy method.
7391
7392 2011-10-24 Yao Qi <yao@codesourcery.com>
7393
7394 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7395 target is tic6x-*-*.
7396
7397 2011-10-21 Joel Brobecker <brobecker@adacore.com>
7398
7399 * gdb.ada/mi_task_info/task_switch.adb: New file.
7400 * gdb.ada/mi_task_info.exp: New file.
7401
7402 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7403
7404 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7405 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7406
7407 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7408
7409 PR python/12656
7410
7411 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7412 global_block tests.
7413
7414 2011-10-18 Tom Tromey <tromey@redhat.com>
7415
7416 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7417
7418 2011-10-18 Tom Tromey <tromey@redhat.com>
7419
7420 * gdb.base/source.exp: Don't include full file name in test name.
7421 * gdb.python/python.exp: Don't include full file name in test
7422 name.
7423
7424 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7425
7426 * gdb.base/attach-pie-noexec.c: New files.
7427 * gdb.base/attach-pie-noexec.exp: New files.
7428
7429 2011-10-17 Joseph Myers <joseph@codesourcery.com>
7430
7431 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7432 prompt for each extra line in command.
7433
7434 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7435
7436 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7437 Revert the part of:
7438 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7439 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7440 Change the expected string.
7441
7442 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 Fix results with system glibc debug info installed.
7445 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7446 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7447 Accept also __libc_ symbol prefix and no prefix.
7448
7449 2011-10-14 Keith Seitz <keiths@redhat.com>
7450
7451 PR c++/13225
7452 * gdb.cp/converts.cc (foo3_1): New function.
7453 (foo3_2): New functions.
7454 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7455 and null pointer conversions of integer constant zero.
7456 Add test to check if all arguments are checked for incompatible
7457 conversion BADNESS.
7458
7459 2011-10-14 Tom Tromey <tromey@redhat.com>
7460
7461 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7462 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7463 linespec.
7464
7465 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7466
7467 Fix internal error regression.
7468 * gdb.dwarf2/implptr-optimized-out.S: New file.
7469 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7470
7471 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7472
7473 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7474 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7475 (loclist): New.
7476 (4): New abbrev.
7477 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7478 Use prepare_for_testing, remove clean_restart.
7479 (p arraynoloc, p arraycallnoloc): New tests.
7480
7481 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7482
7483 * gdb.cp/namespace-enum.exp (executable): New variable.
7484 (binfile): Use ${objdir}/${subdir}/ prefix.
7485 Use ${executable} for clean_restart.
7486
7487 2011-10-11 Sterling Augustine <saugustine@google.com>
7488
7489 * gdb.cp/Makefile.in: Add namespace-enum test.
7490 * gdb.cp/namespace-enum.exp: New file.
7491 * gdb.cp/namespace-enum.c: New file.
7492 * gdb.cp/namespace-enum-main.c: New file.
7493
7494 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7495
7496 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7497 sysroot.
7498
7499 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7500
7501 Reimplement @entry in input expressions.
7502 * gdb.base/exprs.c (v_int_array_init): New variable.
7503 * gdb.base/exprs.exp (print v_int_array_init)
7504 (print *v_int_array_init@1, print *v_int_array_init@2)
7505 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7506 (print v_int_array_init[1]@1): New tests.
7507
7508 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7509
7510 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7511 expected message.
7512
7513 2011-10-09 Doug Evans <dje@google.com>
7514
7515 * gdb.base/alias.exp: Add tests for alias command.
7516
7517 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7518
7519 * gdb.arch/amd64-entry-value.s: New file.
7520 * gdb.mi/mi2-amd64-entry-value.s: New file.
7521
7522 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7523
7524 Display @entry parameter values even for references.
7525 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7526 functions.
7527 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7528 reference and datap_input.
7529 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7530 breakpoints.
7531 (continue to breakpoint: entry_reference: reference)
7532 (entry_reference: bt at entry)
7533 (continue to breakpoint: entry_reference: breakhere_reference)
7534 (entry_reference: bt, entry_reference: ptype regparam)
7535 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7536 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7537 (entry_reference: p regcopy, entry_reference: p nodataparam)
7538 (entry_reference: p nodataparam@entry): New tests.
7539
7540 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7541
7542 Support @entry in input expressions.
7543 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7544 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7545 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7546 (tailcall: p j@entry): New tests.
7547 * gdb.cp/koenig.cc (A::entry): New function.
7548 (main): Call it.
7549 * gdb.cp/koenig.exp (p entry (c)): New test.
7550
7551 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7552
7553 Display @entry parameter values (without references).
7554 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7555 (different, validity, invalid): New functions.
7556 (main): Call them.
7557 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7558 stacktest, breakhere_stacktest, different, breakhere_different,
7559 breakhere_validity and breakhere_invalid.
7560 (entry: bt): Update for @entry.
7561 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7562 (entry_validity: *, entry_invalid: *): Many new tests.
7563 * gdb.base/break.exp
7564 (run until breakpoint set at small function, optimized file): Accept
7565 also the @entry suffix.
7566 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7567 * gdb.mi/mi2-amd64-entry-value.c: New files.
7568 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7569
7570 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7571
7572 Protect entry values against self tail calls.
7573 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7574 (main): Call self.
7575 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7576 (set debug entry-values 1, self: bt debug entry-values): New tests.
7577
7578 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7579
7580 Recognize virtual tail call frames.
7581 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7582 (amb_b, amb_a): New.
7583 (main): Call a and b.
7584 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7585 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7586 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7587 New tests.
7588
7589 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7590
7591 Implement basic support for DW_TAG_GNU_call_site.
7592 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7593 * gdb.arch/amd64-entry-value.cc: New file.
7594 * gdb.arch/amd64-entry-value.exp: New file.
7595
7596 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7597
7598 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7599 * gdb.dwarf2/implptr-64bit.S: New file.
7600 * gdb.dwarf2/implptr-64bit.exp: New file.
7601
7602 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7603
7604 Fix initial language detection with -readnow.
7605 * gdb.cp/readnow-language.cc: New file.
7606 * gdb.cp/readnow-language.exp: New file.
7607
7608 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7609
7610 Fix printed anonymous struct name.
7611 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7612
7613 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7614
7615 * gdb.base/solib-symbol.exp: Do not include directories in
7616 filenames in expected messages.
7617
7618 2011-10-07 Doug Evans <dje@google.com>
7619
7620 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7621
7622 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7623
7624 Allow Python notification of new object-file loadings.
7625 * gdb.python/py-events.exp: Test newobjfile event.
7626 * gdb.python/py-events.py: Register newobjfile callback.
7627 * gdb.python/py-events.c: Add call to shared library
7628 * gdb.python/py-events-shlib.c: New file.
7629
7630 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7631
7632 * gdb.base/fixsection.exp: Do not include directories in filename
7633 in expected message.
7634
7635 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7636
7637 Add tests for passing of environment variables to inferior.
7638 * gdb.base/testenv.c: New test source.
7639 * gdb.base/testenv.exp: New expect test.
7640
7641 2011-10-04 Paul Koning <paul_koning@dell.com>
7642
7643 * gdb.python/py-value.c (main): Break before return.
7644
7645 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7646
7647 PR python/12691: Add the inferior to Python exited event
7648 * gdb.python/py-events.exp: Test the inferior attribute of exited
7649 event with a fork.
7650 * gdb.python/py-events.py: Print inferior number on exit.
7651 * gdb.python/py-events.c: Fork the inferior.
7652
7653 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7654
7655 * gdb.base/jit.exp: Add testcase name to log message
7656
7657 2011-10-03 Paul Koning <paul_koning@dell.com>
7658 Jan Kratochvil <jan.kratochvil@redhat.com>
7659
7660 * gdb.python/py-value.exp
7661 (python inval = gdb.parse_and_eval('*(int*)0'))
7662 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7663 (set argc=2, python print argc_lazy): New tests.
7664
7665 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7666
7667 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7668
7669 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7670 Pedro Alves <pedro@codesourcery.com>
7671
7672 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7673 can_read_0, test for it.
7674 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7675 (parse_and_eval with memory error): ... here, make it untested if
7676 can_read_0.
7677
7678 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7679
7680 * gdb.python/python.exp (verify pagination beforehand)
7681 (verify pagination afterwards): Fix race by splitting the line.
7682
7683 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7684
7685 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7686 for 64-bit multilibs from i?86-* targets.
7687
7688 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7689
7690 * lib/gdb.exp: Fix a typo in one of the comments.
7691
7692 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7693
7694 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7695 matching pattern.
7696
7697 2011-09-28 Paul Koning <paul_koning@dell.com>
7698
7699 * gdb.python/py-type.c (enum E): New.
7700 * gdb.python/py-type.exp (test_fields): Add tests for Python
7701 mapping access to fields.
7702 (test_enums): New test for field access on enums.
7703
7704 2011-09-27 Stan Shebs <stan@codesourcery.com>
7705
7706 * gdb.trace/collection.exp: Test collection of $_ret.
7707
7708 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7709
7710 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7711 list of compilation switches for <*-*-freebsd*>.
7712
7713 2011-09-19 Stan Shebs <stan@codesourcery.com>
7714
7715 * gdb.trace/tspeed.exp: New file.
7716 * gdb.trace/tspeed.c: New file.
7717
7718 2011-09-18 Yao Qi <yao@codesourcery.com>
7719
7720 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7721 instructions.
7722 (test_adr_32bit, test_pop_pc): Likewise.
7723 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7724 Thumb instructions.
7725 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7726 in gdb_test_multiple.
7727 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7728
7729 2011-09-17 Yao Qi <yao@codesourcery.com>
7730
7731 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7732 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7733 support single step to signal handler.
7734
7735 2011-09-17 Yao Qi <yao@codesourcery.com>
7736
7737 * gdb.base/disp-step-fork.c: New.
7738 * gdb.base/disp-step-syscall.exp: New.
7739 * gdb.base/disp-step-vfork.c: New.
7740
7741 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7742
7743 * gdb.ada/tasks.exp: Make the expected output for
7744 the `info tasks' tests more resilient to spacing
7745 changes.
7746
7747 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7748
7749 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7750 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7751
7752 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7753
7754 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7755 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7756
7757 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7758
7759 Handle multiple breakpoint hits in Python interface:
7760 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7761 presence.
7762 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7763 breakpoint hits.
7764
7765 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7766 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 * gdb.python/py-events.exp: Remove pretty printing comment.
7769 * gdb.python/py-evsignal.exp: New file.
7770 * gdb.python/py-evthreads.c: Include signal.h.
7771 (thread3): Remove variable count3. Remove variable bad and use raise
7772 instead.
7773 (thread2): Remove variable count2. Move thread3 pthread_create here,
7774 merge pthread_join to a single line.
7775 (main): Remove variable count1. Merge pthread_join with pthread_create
7776 to a single line.
7777 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7778 KFAIL python/12966 for gdbserver. Test return value of
7779 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7780 gdb_expect by gdb_test and gdb_test_multiple.
7781 (thread 2, thread 3): New tests.
7782
7783 2011-09-12 Matt Rice <ratmice@gmail.com>
7784 Pedro Alves <pedro@codesourcery.com>
7785
7786 PR gdb/13175
7787
7788 * gdb.base/interp.exp: New tests.
7789 * gdb.base/interp.c: New file.
7790
7791 2011-09-12 Doug Evans <dje@google.com>
7792
7793 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7794 * gdb.dwarf2/typeddwarf.exp: Ditto.
7795
7796 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7797
7798 Fix compatibility with x32 arch.
7799 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7800 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7801 is_x86_like_target.
7802 * testsuite/gdb.trace/collection.exp: Likewise.
7803 * testsuite/gdb.trace/report.exp: Likewise.
7804 * testsuite/gdb.trace/unavailable.exp: Likewise.
7805 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7806 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7807 (is_x86_like_target): Check also is_amd64_regs_target.
7808
7809 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7810
7811 PR breakpoints/12435
7812 * gdb.arch/amd64-prologue-xmm.c: New file.
7813 * gdb.arch/amd64-prologue-xmm.exp: New file.
7814 * gdb.arch/amd64-prologue-xmm.s: New file.
7815
7816 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7817
7818 * gdb.dwarf2/dw2-param-error-main.c: New file.
7819 * gdb.dwarf2/dw2-param-error.S: New file.
7820 * gdb.dwarf2/dw2-param-error.exp: New file.
7821
7822 2011-09-08 Pedro Alves <pedro@codesourcery.com>
7823
7824 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7825 inferior's pid and look for a core dump named core.$pid. Use
7826 `remote_file' commands on the host instead of hand coding shell
7827 commands on the build.
7828 * gdb.base/valgrind-db-attach.exp: Kill the program before
7829 finishing the test.
7830
7831 2011-09-02 Matt Rice <ratmice@gmail.com>
7832
7833 * lib/prompt.exp: New file for testing the first prompt.
7834 * gdb.python/py-prompt.exp: Ditto.
7835 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7836
7837 2011-09-02 Pedro Alves <pedro@codesourcery.com>
7838
7839 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7840 0, before testing gcore.
7841
7842 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7843
7844 * dw2-ifort-parameter-debug.S: Update copyright year.
7845 * dw2-ifort-parameter.c: Update copyright year.
7846 * dw2-ifort-parameter.exp: Update copyright year.
7847
7848 * dw2-ifort-parameter-debug.S: New file.
7849 * dw2-ifort-parameter.c: New file.
7850 * dw2-ifort-parameter.exp: New file.
7851
7852 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7853
7854 * gdb.base/commands.exp (error_clears_commands_left): New function.
7855 (): Call it.
7856
7857 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7858
7859 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7860 (C): Initialize `a'.
7861 * gdb.mi/mi-inheritance-syntax-error.exp
7862 (-data-evaluate-expression $path): Expect `a' as 5.
7863
7864 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7865
7866 PR mi/11912
7867 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7868 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7869 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7870 keyword in output of -var-info-path-expression.
7871
7872 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7873
7874 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7875 * gdb.trace/collection.exp: Likewise.
7876 * gdb.trace/report.exp: Likewise.
7877 * gdb.trace/unavailable.exp: Likewise.
7878 * gdb.trace/while-dyn.exp: Likewise.
7879
7880 2011-08-18 Keith Seitz <keiths@redhat.com>
7881
7882 PR c++/12266
7883 * gdb.cp/meth-typedefs.cc: New file.
7884 * gdb.cp/meth-typedefs.exp: New file.
7885
7886 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7887
7888 * gdb.python/python.exp: Add extended-prompt tests.
7889
7890 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7891
7892 * gdb.arch/i386-dr3-watch.exp
7893 (watchpoint on gap1 does not fit debug registers)
7894 (delete all watchpoints): Fix racy expect strings.
7895
7896 2011-08-14 Yao Qi <yao@codesourcery.com>
7897
7898 * gdb.base/maint.exp: set data_section to ".neardata".
7899 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7900 * gdb.base/savedregs.exp: Handle SIGILL.
7901 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7902 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7903
7904 2011-08-12 Doug Evans <dje@google.com>
7905
7906 * gdb.python/py-symbol.exp: Add test for symbol.type.
7907
7908 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7909
7910 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7911 * gdb.mi/mi-pthreads.exp: Likewise.
7912 * gdb.mi/mi2-pthreads.exp: Likewise.
7913 * gdb.mi/gdb669.exp.exp: Likewise.
7914
7915 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7916
7917 * lib/mi-support.exp (detect_async): Rename to...
7918 (mi_detect_async): ... this.
7919 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7920 * gdb.mi/mi-nonstop.exp: Adjust.
7921 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7922 * gdb.mi/mi-nsintrall.exp: Adjust.
7923 * gdb.mi/mi-nsmoribund.exp: Adjust.
7924 * gdb.mi/mi-nsthrexec.exp: Adjust.
7925
7926 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7927
7928 * gdb.base/display.c (do_loops): New `p_i' local.
7929 * gdb.base/display.exp: Test displaying a variable that is
7930 temporarily at a bad address.
7931
7932 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7933
7934 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7935 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7936
7937 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7938
7939 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7940 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7941 (p fuNC_symtab): Permit also ppc64 leading dot.
7942
7943 2011-08-05 Pedro Alves <pedro@codesourcery.com>
7944
7945 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7946 procedure.
7947 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7948
7949 2011-08-05 Yao Qi <yao@codesourcery.com>
7950
7951 * gdb.base/callfuncs.exp: Set language after main.
7952 * gdb.cp/cplusfuncs.exp: Likewise.
7953 * gdb.cp/inherit.exp: Likewise.
7954
7955 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7956
7957 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7958 * gdb.base/watch-vfork.exp: Skip on remote targets.
7959
7960 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7961
7962 * gdb.threads/thread-find.exp: Support remote targets.
7963
7964 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7965
7966 * gdb.base/jit.exp: Download solib_binfile to target.
7967 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7968 and call dlopen without full path name.
7969 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7970 dlopen without full path name.
7971
7972 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7973
7974 * gdb.base/break-always.exp: Complete the test
7975 with duplicated breakpoints and enabling/disabling them.
7976
7977 2011-08-02 Tom Tromey <tromey@redhat.com>
7978
7979 PR gdb/11289:
7980 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7981
7982 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7983
7984 PR gdb/13045
7985 * gdb.base/float.exp: Add new test case for PR gdb/13045
7986 * gdb.base/float.c: New file.
7987
7988 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7989
7990 * gdb.python/py-mi.exp: Test printers returning string hint, and
7991 also not returning a value.
7992 * gdb.python/py-prettyprint.c: Add testcase for above.
7993 * gdb.python/py-prettyprint.py: Add test printer for above.
7994
7995 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7996
7997 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7998 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7999 (.Ldie30) Add as field "data4".
8000 (.Ldie32) Rename field "b" to "shl".
8001 (abbrev4) Change for the "data4" field.
8002 (abbrev5, abbrev6) Remove.
8003 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
8004 (p &s.shl): ... here. Add comment.
8005 (p &s.data4): New.
8006
8007 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8008
8009 Fix crash on lval_computed values.
8010 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
8011
8012 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8013
8014 * gdb.base/help.exp (help whatis): Update the expected string.
8015
8016 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8017
8018 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
8019 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
8020 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8021 Change the expected string.
8022
8023 2011-07-26 Pedro Alves <pedro@codesourcery.com>
8024
8025 * gdb.base/watchpoint.exp
8026 (test_disable_enable_software_watchpoint): New procedure.
8027 (top level): Run it.
8028
8029 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8030
8031 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8032 executable file "${binfile}", C++ version "${binfile}-cxx".
8033 * gdb.python/py-prettyprint.exp: Likewise.
8034 * gdb.python/py-symbol.exp: Likewise.
8035 * gdb.python/py-type.exp: Likewise.
8036 * gdb.python/py-value.exp: Likewise.
8037 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8038 file name instead of just suffix.
8039
8040 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8041
8042 Fix implicit pointer offsets.
8043 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8044 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8045 (continue to breakpoint: continue to baz breakpoint for implptr)
8046 (sanity check element 0, sanity check element 1)
8047 (enter the inlined function, check element 0 for the offset)
8048 (check element 1 for the offset)
8049 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8050 (set foo breakpoint for implptr): Update the breakpoint number.
8051
8052 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8053
8054 * gdb.python/py-mi.exp: Use different file names for different
8055 versions of the executable under test.
8056 * gdb.python/py-prettyprint.exp: Likewise.
8057 * gdb.python/py-symbol.exp: Likewise.
8058 * gdb.python/py-template.exp: Likewise.
8059 * gdb.python/py-type.exp: Likewise.
8060 * gdb.python/py-value.exp: Likewise.
8061
8062 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8063
8064 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8065 flag after restarting GDB if necessary.
8066
8067 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8068
8069 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8070
8071 2011-07-22 Pedro Alves <pedro@codesourcery.com>
8072
8073 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8074 backend doesn't leave used debug registers behind.
8075
8076 2011-07-22 Tom Tromey <tromey@redhat.com>
8077
8078 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8079 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8080 argument.
8081 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8082
8083 2011-07-21 Matt Rice <ratmice@gmail.com>
8084
8085 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8086 in mostlyclean rule. Add files ending in .core.
8087
8088 2011-07-21 Matt Rice <ratmice@gmail.com>
8089
8090 PR macros/12999
8091 * gdb.base/info-macros.c: New test sources.
8092 * gdb.base/info-macros.exp: New tests.
8093
8094 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8095
8096 * gdb.python/python.exp: Add prompt substitution tests.
8097
8098 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8099
8100 Fix crash if referenced CU is aged out.
8101 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8102 New.
8103 * gdb.dwarf2/implptr.exp: Likewise.
8104
8105 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8106
8107 * gdb.dwarf2/implptr.S: Rebuilt.
8108 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8109 (bar): Use them for j, k, l.
8110 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8111 COMPILE.
8112 (print j in implptr:bar): Update for the intp typedef.
8113 (print p[0].x in implptr:foo): Use more exact regex.
8114
8115 2011-07-18 Tom Tromey <tromey@redhat.com>
8116
8117 * gdb.cp/static-method.exp: Add missing single quote.
8118
8119 2011-07-18 Yao Qi <yao@codesourcery.com>
8120
8121 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8122 supported.
8123 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8124 * gdb.mi/mi-nonstop.exp: Likewise.
8125 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8126 * gdb.mi/mi-nsintrall.exp: Likewise.
8127 * gdb.mi/mi-nsmoribund.exp: Likewise.
8128 * gdb.mi/mi-nsthrexec.exp: Likewise.
8129 * gdb.python/py-evthreads.exp: Likewise.
8130
8131 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8132
8133 Code cleanup.
8134 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8135 it. Substitute it instead of test_compiler_info everywhere.
8136
8137 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8138
8139 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8140 remote targets as well.
8141
8142 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8143
8144 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8145 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8146
8147 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8148
8149 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8150 a remote machine, not the host.
8151 (gdb_compile_shlib): Set soname if target is remote.
8152
8153 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8154
8155 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8156
8157 2011-07-13 Matt Rice <ratmice@gmail.com>
8158
8159 * gdb.python/py-objfile-script-gdb.py: Renamed to
8160 py-objfile-script-gdb.py.in.
8161 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8162 py-objfile-script-gdb.py.
8163 * gdb.python/py-objfile-script.exp: Update reference to
8164 py-objfile-script-gdb.py.
8165
8166 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8167
8168 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8169 reference undefined label.
8170
8171 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8172
8173 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8174 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8175 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8176 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8177
8178 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8179
8180 PR python/12438
8181 * gdb.python/python.exp: Add maint set/show python print-stack
8182 deprecated tests. Add set/show python print-backtrace tests.
8183
8184 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8185
8186 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8187 debug info.
8188
8189 2011-07-06 Matt Rice <ratmice@gmail.com>
8190
8191 * gdb.python/python.exp: Update filename paths.
8192 * gdb.python/py-symtab.exp: Ditto.
8193
8194 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8195
8196 * gdb.python/py-evthreads.exp: Add missing `$'.
8197
8198 2011-07-06 Jie Zhang <jie.zhang@analog.com>
8199
8200 * config/bfin.exp: New file.
8201 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8202 * gdb.asm/bfin.inc: New file.
8203
8204 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8205
8206 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8207 the whole output.
8208
8209 2011-07-05 Tom Tromey <tromey@redhat.com>
8210
8211 * gdb.java/jprint.java (jprint.hi): New field.
8212 * gdb.java/jprint.exp: Print string.
8213
8214 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8215
8216 * gdb.base/call-sc.c: Fix typos.
8217 * gdb.base/ifelse.exp: Likewise.
8218 * gdb.base/structs.c: Likewise.
8219
8220 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8221
8222 * gdb.base/jit-so.exp: New test.
8223 * gdb.base/jit-dlmain.c: New file.
8224 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8225
8226 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8227
8228 * gdb.cp/m-static.exp: Call get_compiler_info.
8229 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8230 * gdb.cp/pr9167.exp (p b): Likewise.
8231 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8232 (test value of P in inner_m, test type of Z in inner_m): Call
8233 setup_xfail for gcc <= 4.5.
8234
8235 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8236
8237 * gdb.cp/paren-type.cc: New files.
8238 * gdb.cp/paren-type.exp: New files.
8239
8240 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8241
8242 Stop on first linespec terminator instead of eating what we can.
8243 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8244 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8245 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8246 (break C::f()): ... this one.
8247 (break C::operator()()): New test.
8248 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8249 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8250 test.
8251
8252 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8253
8254 Fall back linespec to minimal symbols.
8255 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8256 error message.
8257 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8258 * gdb.cp/minsym-fallback-main.cc: New file.
8259 * gdb.cp/minsym-fallback.cc: New file.
8260 * gdb.cp/minsym-fallback.exp: New file.
8261 * gdb.cp/minsym-fallback.h: New file.
8262
8263 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8264
8265 * gdb.cp/no-dmgl-verbose.cc: New file.
8266 * gdb.cp/no-dmgl-verbose.exp: New file.
8267
8268 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8269
8270 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8271 __GI_.
8272 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8273 (f): New function.
8274 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8275 (complete p 'func<short>(): ... here.
8276 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8277 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8278 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8279 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8280 Make them KFAIL gcc/49546.
8281
8282 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8283
8284 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8285
8286 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8287
8288 Test GCC PR debug/49546.
8289 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8290 (test type of F in k3_m, test value of F in k3_m): New.
8291 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8292 (main): New variable k3. Call k3.k3_m.
8293
8294 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8295
8296 * gdb.ada/packed_array.exp: Fix expected outout.
8297
8298 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8299
8300 * gdb.ada/packed_array.exp: fixed expected output.
8301
8302 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8303
8304 * gdb.ada/same_enum: New testcase.
8305
8306 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8307
8308 * gdb.ada/ptr_typedef: New testcase.
8309
8310 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8311
8312 * gdb.ada/arrayptr.exp: Add ptype test.
8313
8314 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8315
8316 * gdb.ada/char_enum: New testcase.
8317
8318 2011-07-01 Yao Qi <yao@codesourcery.com>
8319
8320 * gdb.base/dump.exp (capture_pointer_with_type): New.
8321 Get value from address instead of name.
8322 Start GDB once, and do `dump' and `restore'
8323 tests together.
8324
8325 2011-06-30 Jie Zhang <jie.zhang@analog.com>
8326 Mike Frysinger <vapier@gentoo.org>
8327
8328 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8329 helper functions for getting/setting remotetimeout variable.
8330 * lib/gdb.exp (gdb_load): If the target is remote, set
8331 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8332 with $loadtimeout. Set $load_ok to 0 before doing the load.
8333 Instead of returning, immediately, set $load_ok to 0. Call
8334 set_remotetimeout with $oldremotetimeout, and then return if
8335 $load_ok is 1.
8336
8337 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
8338
8339 * gdb.python/py-template.exp: Don't run this test if the target
8340 does not support c++ tests.
8341
8342 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8343
8344 Fix non-only rename list for Fortran modules import.
8345 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8346 tests.
8347 * gdb.fortran/module.f90 (module moduse): New.
8348 (program module): use moduse, test var_x, var_y and var_z.
8349
8350 2011-06-29 Tom Tromey <tromey@redhat.com>
8351
8352 PR testsuite/12040:
8353 * gdb.fortran/array-element.exp: Use f90, not f77.
8354 * gdb.fortran/complex.exp: Use f90, not f77.
8355 * gdb.fortran/derived-type.exp: Use f90, not f77.
8356 * gdb.fortran/library-module.exp: Use f90, not f77.
8357 * gdb.fortran/logical.exp: Use f90, not f77.
8358 * gdb.fortran/module.exp: Use f90, not f77.
8359 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8360 * gdb.fortran/subarray.exp: Use f90, not f77.
8361
8362 2011-06-29 Tom Tromey <tromey@redhat.com>
8363
8364 * gdb.fortran/charset.exp: New file.
8365 * gdb.fortran/charset.f90: New file.
8366
8367 2011-06-29 Tom Tromey <tromey@redhat.com>
8368
8369 PR testsuite/12040:
8370 * lib/future.exp: New file, mostly extracted from ada.exp.
8371 Rewrote compatibility code to use rename.
8372 (gdb_find_gfortran): New proc.
8373 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8374 gfortran patch.
8375 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8376 Move to future.exp.
8377 * lib/gdb.exp: Always load future.exp.
8378
8379 2011-06-28 Yao Qi <yao@codesourcery.com>
8380
8381 * gdb.cp/exception.cc: Don't include iostream.
8382 (bar): Remove print statement.
8383 (catcher): New.
8384 (main): Remove print statements. Call function catcher.
8385 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8386 Set breakpoint on catcher, and check the value of parameter.
8387
8388 2011-06-23 Yao Qi <yao@codesourcery.com>
8389
8390 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8391 breakpoint 1.2 is disabled. KFAIL for uclinux.
8392
8393 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8394
8395 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8396 mi_gdb_test.
8397
8398 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8399
8400 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8401
8402 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8403
8404 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8405
8406 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8407
8408 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8409 `test_exec_and_symbol_mi_operatons' return value.
8410 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8411 gdb_test_multiple.
8412 (test_exec_and_symbol_mi_operatons): Likewise.
8413 (test_path_specification): Likewise.
8414
8415 2011-06-23 Yao Qi <yao@codesourcery.com>
8416
8417 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8418 supported.
8419 * lib/gdb.exp (support_displaced_stepping): New.
8420
8421 2011-06-23 Yao Qi <yao@codesourcery.com>
8422
8423 * gdb.threads/execl.exp: Skip on remote target.
8424
8425 2011-06-21 Marek Polacek <mpolacek@redhat.com>
8426
8427 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
8428 mi_gdb_test.
8429
8430 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8431
8432 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
8433
8434 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8435
8436 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
8437 mi_gdb_test.
8438
8439 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8440
8441 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8442
8443 2011-06-14 Yao Qi <yao@codesourcery.com>
8444
8445 gdb/testsuite/
8446 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8447
8448 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8449
8450 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8451
8452 2011-06-10 Tom Tromey <tromey@redhat.com>
8453
8454 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8455 Add tests for pointer-to-member-function.
8456 * gdb.cp/temargs.cc (S::somefunc): New function.
8457 (K2): New class.
8458 (main): Instantiate K2; call method.
8459
8460 2011-06-08 Joel Brobecker <brobecker@adacore.com>
8461
8462 * gdb.python/py-inferior.c (f2): Make str an array rather
8463 than a pointer.
8464 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8465
8466 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8467
8468 * gdb.base/async-shell.c: New file.
8469 * gdb.base/async-shell.exp: New file.
8470
8471 2011-06-06 Pedro Alves <pedro@codesourcery.com>
8472
8473 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8474
8475 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8476
8477 From Stephen Kitt <steve@sk2.org>
8478 * gdb.base/help.exp: Adjust following some spelling corrections
8479 in GDB.
8480
8481 2011-06-01 Yao Qi <yao@codesourcery.com>
8482
8483 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8484
8485 2010-05-31 Keith Seitz <keiths@redhat.com>
8486
8487 PR c++/12750
8488 * gdb.cp/static-method.cc: New file.
8489 * gdb.cp/static-method.exp: New file.
8490
8491 2010-05-31 Keith Seitz <keiths@redhat.com>
8492
8493 PR symtab/12704
8494 * gdb.cp/anon-ns.cc: New file.
8495 * gdb.cp/anon-ns.exp: New file.
8496
8497 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8498
8499 * gdb.arch/i386-dr3-watch.c: New file.
8500 * gdb.arch/i386-dr3-watch.exp: New file.
8501
8502 2011-05-30 Yao Qi <yao@codesourcery.com>
8503
8504 * gdb.base/callfuncs.c (t_structs_fc): New.
8505 (t_structs_dc, t_structs_ldc): New.
8506 (t_double_many_args):
8507 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8508 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8509 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8510 * gdb.base/callfuncs.exp: Call new functions.
8511
8512 2011-05-30 Yao Qi <yao@codesourcery.com>
8513
8514 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8515 Call rerun_and_prepare for each test to isolate effects.
8516
8517 2011-05-30 Yao Qi <yao@codesourcery.com>
8518
8519 * gdb.base/varargs.c (find_max_float_real): New.
8520 (find_max_double_real, find_max_long_double_real): New.
8521 * gdb.base/varargs.exp: Call these new added functions.
8522 * lib/gdb.exp (setup_kfail_for_target): New.
8523
8524 2011-05-30 Yao Qi <yao@codesourcery.com>
8525
8526 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8527 (callcd, callce, callcf, callc1a, callc1b): New.
8528 (callc2a, callc2b): New.
8529 * gdb.base/funcargs.exp (complex_args): New.
8530 (complex_integral_args, complex_float_integral_args): New.
8531 * lib/gdb.exp (support_complex_tests): New. Determine
8532 whether to run test cases on _Complex types.
8533
8534 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8535
8536 * gdb.threads/leader-exit.c: New file.
8537 * gdb.threads/leader-exit.exp: New file.
8538
8539 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8540
8541 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8542
8543 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8544
8545 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8546 remove the `supported' variable.
8547 * gdb.mi/mi-nonstop.exp: Likewise.
8548 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8549 * gdb.mi/mi-nsintrall.exp: Likewise.
8550 * gdb.mi/mi-nsmoribund.exp: Likewise.
8551 * gdb.mi/mi-nsthrexec.exp: Likewise.
8552
8553 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8554
8555 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8556
8557 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8558
8559 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8560
8561 2011-05-24 Keith Seitz <keiths@redhat.com>
8562
8563 PR breakpoint/12803
8564 * gdb.cp/cmpd-minsyms.cc (a): New method.
8565 (b): New method.
8566 (c): New method.
8567 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8568
8569 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8570
8571 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8572 watchpoint's command list didn't execute when the watchpoint went
8573 out of scope.
8574
8575 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8576
8577 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8578 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8579 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8580 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8581 * gdb.arch/i386-permbkpt.exp: Likewise.
8582 * gdb.arch/i386-prologue.exp: Likewise.
8583 * gdb.arch/i386-size-overlap.exp: Likewise.
8584 * gdb.arch/i386-size.exp: Likewise.
8585 * gdb.arch/i386-unwind.exp: Likewise.
8586 * gdb.reverse/i386-precsave.exp: Likewise.
8587 * gdb.reverse/i386-reverse.exp: Likewise.
8588 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8589 * gdb.reverse/i387-env-reverse.exp: Likewise.
8590 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8591
8592 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8593
8594 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8595 file doesn't error, using MI.
8596
8597 2011-05-23 Tom Tromey <tromey@redhat.com>
8598
8599 * gdb.base/charset.exp (string_display): Add tests to assign to
8600 arrays.
8601 * gdb.base/charset.c (short_array, int_array, long_array): New.
8602
8603 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8604
8605 Cope with async mode.
8606
8607 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8608 into gdb_test + mi_expect_stop.
8609
8610 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8611
8612 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8613 (callme): Remove printf call.
8614
8615 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8616
8617 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8618 quote pattern to avoid problems with Cygwin/mingw expect versions.
8619 * gdb.base/default.exp (show convenience): Use double
8620 quote pattern for regular expressions.
8621
8622 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8623
8624 Fix -readnow for -gdwarf-4 unused type units.
8625 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8626 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8627
8628 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8629
8630 * gdb.base/kill-after-signal.c: New file.
8631 * gdb.base/kill-after-signal.exp: New file.
8632
8633 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8634
8635 * gdb.ada/start.exp: Call untested with the correct test filename.
8636 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8637 test filename. Make the test's binary unique.
8638 * gdb.arch/i386-signal.exp: Call untested with the correct test
8639 filename.
8640 * gdb.arch/i386-size-overlap.exp: Ditto.
8641 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8642 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8643 * gdb.cp/call-c.exp: Ditto.
8644 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8645 filename. Make the test's binary unique.
8646 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8647 * gdb.python/py-mi.exp: Ditto.
8648 * gdb.python/Makefile.in (EXECUTABLES): Update.
8649 * gdb.reverse/i386-precsave.exp: Ditto.
8650 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8651 test filename.
8652 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8653 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8654 unique.
8655 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8656 test filename.
8657 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8658 * gdb.trace/tfile.exp: Ditto.
8659
8660 2011-05-14 Yao Qi <yao@codesourcery.com>
8661
8662 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8663 type.
8664
8665 2011-05-13 Doug Evans <dje@google.com>
8666
8667 * gdb.python/py-objfile-script.exp: New file.
8668 * gdb.python/py-objfile-script.c: New file.
8669 * gdb.python/py-objfile-script-gdb.py: New file.
8670 * testsuite/gdb.python/py-section-script.exp: Test
8671 "info auto-load-scripts".
8672
8673 2011-05-13 Tom Tromey <tromey@redhat.com>
8674
8675 * gdb.dwarf2/clztest.exp: New file.
8676 * gdb.dwarf2/clztest.c: New file.
8677 * gdb.dwarf2/clztest.S: New file.
8678
8679 2011-05-13 Doug Evans <dje@google.com>
8680
8681 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8682 String16 tests.
8683
8684 2011-05-13 Tom Tromey <tromey@redhat.com>
8685
8686 * lib/gdb.exp (is_x86_like_target): New proc.
8687 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8688 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8689 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8690 -nostdlib to compiler.
8691 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8692 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8693 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8694 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8695 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8696
8697 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8698
8699 * gdb.python/py-function.exp: Test setting a value from a function
8700 which executes a command.
8701
8702 2011-05-12 Tom Tromey <tromey@redhat.com>
8703
8704 * gdb.dwarf2/typeddwarf.S: New file.
8705 * gdb.dwarf2/typeddwarf.c: New file.
8706 * gdb.dwarf2/typeddwarf.exp: New file.
8707
8708 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8709
8710 * gdb.mi/mi-basics.exp: Fix races. Honour the
8711 `test_exec_and_symbol_mi_operatons' return value.
8712 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8713 gdb_test_multiple.
8714 (test_exec_and_symbol_mi_operatons): Likewise.
8715 (test_path_specification): Likewise.
8716
8717 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8718
8719 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8720 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8721 Replace `file copy' and `file rename' by `file mtime'. Twice.
8722
8723 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8724
8725 * gdb.base/readline-ask.c: New file.
8726 * gdb.base/readline-ask.exp: New file.
8727 * gdb.base/readline-ask.inputrc: New file.
8728
8729 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8730
8731 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8732 to avoid race condition.
8733 * gdb.cell/coremaker.c: Use small stack size.
8734 * gdb.cell/ea-standalone.exp: Use file name without path as
8735 argument to c_to.
8736 * gdb.cell/fork.exp: Allow other output when continuing to end.
8737
8738 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8739
8740 * gdb.threads/corethreads.c: New file.
8741 * gdb.threads/corethreads.exp: New file.
8742
8743 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8744
8745 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8746 Try to compile the test using -Wl,-z,norelro first.
8747 (load_core): New variable libthread_db_seen, initialize it.
8748 (zeroed-threads cannot be listed): Protect it by XFAIL on
8749 !$libthread_db_seen.
8750
8751 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8752
8753 PR 12573
8754 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8755 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8756 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8757
8758 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8759
8760 * gdb.cp/psymtab-parameter.cc: New file.
8761 * gdb.cp/psymtab-parameter.exp: New file.
8762
8763 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8764
8765 Fix a race.
8766 * gdb.cp/static-print-quit.exp (print c): Split to ...
8767 (print c - <return>, print c - q <return>, print c - to quit):
8768 ... these. Make the testfile untested on gdb-7.1.
8769
8770 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8771
8772 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8773 gdb_rename_execfile, gdb_touch_execfile): New.
8774 * gdb.base/reread.exp: Use new procs to handle multiple
8775 exec files.
8776
8777 2011-05-05 Yao Qi <yao@codesourcery.com>
8778
8779 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8780 (test_adr_32bit, test_pop_pc): New.
8781 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8782 (test_adr_32bit, test_pop_pc): New.
8783
8784 2011-05-04 Joseph Myers <joseph@codesourcery.com>
8785
8786 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8787 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8788 targets.
8789 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8790 handle targets.
8791
8792 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8793
8794 * gdb.base/completion.exp (complete help info wat): Rename to ...
8795 (complete 'help info wat'): ... here.
8796 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8797 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8798
8799 2011-05-04 Pedro Alves <pedro@codesourcery.com>
8800
8801 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8802 gdb_test and explicit $gdb_prompt/timeout matches.
8803
8804 2011-05-04 Yao Qi <yao@codesourcery.com>
8805
8806 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8807 and __thumb2__.
8808
8809 2011-05-03 Marek Polacek <mpolacek@redhat.com>
8810
8811 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8812 in place of `gdb_test "delete breakpoints"'. This eliminates two
8813 testcases.
8814
8815 2011-05-02 Pedro Alves <pedro@codesourcery.com>
8816
8817 PR testsuite/12649
8818 Fix races.
8819
8820 * gdb.base/completion.exp: Remove all sleep calls. Remove
8821 unnecessary regexs. Don't explicitly expect anything after the
8822 prompt. Eat the prompt if necessary.
8823
8824 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8825
8826 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8827 accept to show the caller line again as well as the line after.
8828
8829 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8830
8831 PR mi/12531
8832
8833 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8834 compile target.
8835 * gdb.python/py-prettyprint.exp: Add C++ object for
8836 CPLUS_FAKE_CHILD test.
8837
8838 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8839
8840 * gdb.base/signest.exp: New file.
8841 * gdb.base/signest.c: Likewise.
8842
8843 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8844
8845 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8846 thread and breakpoint notifications.
8847
8848 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8849
8850 * gdb.base/fortran-sym-case.c: New file.
8851 * gdb.base/fortran-sym-case.exp: New file.
8852 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8853 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8854 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8855
8856 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8857
8858 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8859 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8860 false #1', `if true else false #2' and `if true else false #3'.
8861
8862 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8863
8864 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8865 while delivering signal.
8866
8867 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8868
8869 MI breakpoint notifications.
8870
8871 * testsuite/gdb.mi/mi-cli.exp: Adust.
8872 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8873 * testsuite/gdb.mi/mi-watch.exp: Adust.
8874 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8875 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8876 notifications.
8877
8878 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8879
8880 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8881 * gdb.base/gdbindex-stabs.c: New file.
8882 * gdb.base/gdbindex-stabs.exp: New file.
8883
8884 2011-04-25 Yao Qi <yao@codesourcery.com>
8885
8886 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8887 with /*...*/.
8888 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8889
8890 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8891
8892 * gdb.python/py-value.exp (test_objfiles): Name the first test
8893 `py-value in file.filename'.
8894
8895 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8896
8897 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8898 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8899 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8900 !gdbserver_reconnect_p..
8901 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8902
8903 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8904
8905 * gdb.cp/cpcompletion.exp (complete class methods)
8906 (complete class methods beginning with F): Move them above runto. New
8907 comment about the runto delimiter.
8908
8909 2011-04-20 Pedro Alves <pedro@codesourcery.com>
8910
8911 * gdb.base/maint.exp: Test that "maint print registers" works
8912 without a running program.
8913
8914 2011-04-20 Marek Polacek <mpolacek@redhat.com>
8915
8916 * gdb.base/setshow.exp: Fix racy tests.
8917 ($old_gdb_prompt): New variable.
8918
8919 2011-04-19 Tom Tromey <tromey@redhat.com>
8920
8921 * gdb.mi/mi-nsmoribund.exp:
8922 * gdb.hp/gdb.objdbg/objdbg01.exp:
8923 * gdb.base/structs.exp (test_struct_returns):
8924 * gdb.base/call-sc.exp (test_scalar_returns):
8925 * gdb.base/bigcore.exp: Remove duplicate words.
8926
8927 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8928
8929 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8930 * gdb.base/break-interp.exp (test_attach): New comment.
8931
8932 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8933
8934 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8935 (clear __stack_user.next, clear stack_used.next)
8936 (save a zeroed-threads corefile): New test.
8937 Call core_load for $core0file.
8938 (zeroed-threads cannot be listed): New test.
8939
8940 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8941
8942 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8943 filename.
8944 ($srcfile): Preserve the original value.
8945 ($testfile): Match it the .exp filename.
8946 ($corefile): New variable. Substitute it around.
8947 Use clean_restart.
8948 ($prev_timeout): Remove.
8949 (load_core): Move core loading into this proc.
8950 Fix restore of $timeout if load_core fails.
8951
8952 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8953
8954 * gdb.base/eu-strip-infcall.c: New file.
8955 * gdb.base/eu-strip-infcall.exp: New file.
8956
8957 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8958
8959 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8960 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8961
8962 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8963
8964 Fix Python access to inlined frames.
8965 * gdb.python/py-frame-inline.c: New file.
8966 * gdb.python/py-frame-inline.exp: New file.
8967
8968 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8969
8970 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8971 content of 's24' correctly (avoiding "optimized out").
8972 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8973
8974 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8975
8976 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8977
8978 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8979
8980 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8981 expect a colon in watch -location output.
8982
8983 2011-04-13 Marek Polacek <mpolacek@redhat.com>
8984
8985 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8986 New testcase `expect response to define backtrace'. Also remove
8987 redundant `default' block.
8988
8989 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8990
8991 * gdb.python/py-prettyprint.c (struct hint_error): New.
8992 (main): New variable hint_error.
8993 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8994 "print hint_error".
8995 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8996 (register_pretty_printers): Register it.
8997
8998 2011-04-04 Tom Tromey <tromey@redhat.com>
8999
9000 * gdb.cp/maint.exp (test_help): Update.
9001 (test_namespace): Likewise.
9002
9003 2011-04-01 Joel Brobecker <brobecker@adacore.com>
9004
9005 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
9006 * gdb.ada/arrayptr.exp: Add new tests.
9007
9008 2011-04-01 Joel Brobecker <brobecker@adacore.com>
9009
9010 * gdb.ada/mi_catch_ex: New testcase.
9011
9012 2011-04-01 Pedro Alves <pedro@codesourcery.com>
9013
9014 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
9015 base::overload(void) method without specifying "const".
9016
9017 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
9018
9019 * gdb.arch/thumb-singlestep.S: New file.
9020 * gdb.arch/thumb-singlestep.exp: Likewise.
9021
9022 2011-03-31 Tom Tromey <tromey@redhat.com>
9023
9024 * gdb.python/py-prettyprint.py (exception_flag): New global.
9025 (NoStringContainerPrinter._iterator.next): Check it.
9026 * gdb.python/py-prettyprint.c (main): New variable nstype2.
9027 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
9028
9029 2011-03-29 Tom Tromey <tromey@redhat.com>
9030
9031 * gdb.cp/anon-struct.cc: New file.
9032 * gdb.cp/anon-struct.exp: New file.
9033
9034 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9035
9036 Test STT_GNU_IFUNC support.
9037 * gdb.base/gnu-ifunc-lib.c: New file.
9038 * gdb.base/gnu-ifunc.c: New file.
9039 * gdb.base/gnu-ifunc.exp: New file.
9040
9041 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9042
9043 Support a ring of related breakpoints.
9044 * gdb.base/watchpoint-delete.c: New file.
9045 * gdb.base/watchpoint-delete.exp: New file.
9046
9047 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9048
9049 * gdb.ada/arrayparam.exp (print first after function call): Use
9050 explicit package name. Add a comment
9051 (print lasta after function call): Rename ...
9052 (print last after function call): ... it and use explicit package
9053 name.
9054 (print length after function call): Use explicit package name.
9055 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9056 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9057 (multiple matches for symbol i): Rename ...
9058 (multiple matches for symbol integervar): ... it.
9059 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9060 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9061
9062 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
9063
9064 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9065 environment variable to make grep output more predictable. Move
9066 all the environment setup into gdb_init so it's done once per test
9067 case rather than each time we start gdb.
9068
9069 2011-03-24 Tom Tromey <tromey@redhat.com>
9070
9071 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9072 test.
9073
9074 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9075
9076 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9077 * gdb.dwarf2/dw2-entry-value.S: New file.
9078 * gdb.dwarf2/dw2-entry-value.exp: New file.
9079
9080 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9081
9082 PR python/12183
9083
9084 * gdb.python/py-function.exp: Add GdbError tests.
9085
9086 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9087
9088 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9089 (reglocal_test_func, statlocal_test_func): New functions.
9090 (globals_test_func): Call new functions.
9091 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9092 (gdb_collect_locals_test): New procedure.
9093 (gdb_trace_collection_test): Call new procedures.
9094
9095 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9096
9097 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9098 (test_register, test_register_unavailable): New procedures.
9099 (gdb_unavailable_registers_test): New procedure.
9100 (gdb_trace_collection_test): Call it.
9101
9102 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9103
9104 PR python/12149
9105
9106 * gdb.python/python.exp: Add gdb.write tests.
9107
9108 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9109
9110 * gdb.python/Makefile.in: Add py-objfile.
9111 * gdb.python/py-objfile.exp: New file.
9112 * gdb.python/py-objfile.c: New file.
9113 * gdb.python/py-block.exp: Add is_valid tests.
9114 * gdb.python/py-inferior.exp: Ditto.
9115 * gdb.python/py-infthread.exp: Ditto.
9116 * gdb.python/py-symbol.exp: Ditto.
9117 * gdb.python/py-symtab.exp: Ditto.
9118
9119 2011-03-16 Keith Seitz <keiths@redhat.com>
9120
9121 PR c++/12273
9122 * gdb.cp/cmpd-minsyms.exp: New test.
9123 * gdb.cp/cmpd-minsyms.cc: New file.
9124
9125 PR c++/11734
9126 * gdb.cp/ovsrch.exp: New test.
9127 * gdb.cp/ovsrch.h: New file.
9128 * gdb.cp/ovsrch1.cc: New file.
9129 * gdb.cp/ovsrch2.cc: New file.
9130 * gdb.cp/ovsrch3.cc: New file.
9131 * gdb.cp/ovsrch4.cc: New file.
9132
9133 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9134
9135 PR gdb/12528
9136 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9137 * gdb.base/break-on-linker-gcd-function.exp: New test.
9138 * gdb.base/break-on-linker-gcd-function.cc: New file.
9139
9140 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
9141
9142 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9143
9144 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9145
9146 * lib/gdb.exp (gdb_unload): Add another termination case.
9147
9148 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9149
9150 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9151 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9152 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9153 Provide a stub byte there.
9154 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9155 DW_AT_entry_pc.
9156 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9157
9158 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9159
9160 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9161 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9162 "generic ABI, auto".
9163 (altivec_abi_tests): Accept vectors returned by reference.
9164
9165 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9166
9167 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9168
9169 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9170
9171 * gdb.python/py-section-script.exp: Skip test if no Python support.
9172
9173 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9174
9175 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9176
9177 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9178
9179 * gdb.python/py-parameter.exp: Update tests to the new Python
9180 parameter API. Add "no documentation" test. Add deprecated API
9181 backward compatibility test.
9182
9183 2011-03-09 Tom Tromey <tromey@redhat.com>
9184
9185 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9186 gdb_continue_to_end.
9187
9188 2011-03-09 Mark Kettenis <kettenis@gnu.org>
9189
9190 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9191 tabs.
9192
9193 2011-03-09 Tom Tromey <tromey@redhat.com>
9194
9195 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9196 parentheses.
9197 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9198 $command.
9199 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9200 argument to gdb_continue_to_end.
9201 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9202 argument to gdb_continue_to_end.
9203 * gdb.cp/annota3.exp: Fix regex.
9204 * gdb.cp/annota2.exp: Fix regex.
9205 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9206 gdb_continue_to_end.
9207 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9208 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9209 gdb_continue_to_end.
9210
9211 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9212
9213 * gdb.server/ext-run.exp
9214 (load new file without any gdbserver inferior): New test.
9215
9216 2011-03-07 Tom Tromey <tromey@redhat.com>
9217
9218 * Makefile.in (TAGS): Rewrite.
9219
9220 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9221
9222 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9223 initial commands echo. New match for `Found trace'. Anchor all the
9224 other matches. Anchor and match for `No trace frame found' the final
9225 match.
9226
9227 2011-03-07 Tom Tromey <tromey@redhat.com>
9228
9229 * Makefile.in (TAGS): New target.
9230
9231 2011-03-07 Tom Tromey <tromey@redhat.com>
9232
9233 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9234 change.
9235 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9236 change.
9237 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9238 exit message change.
9239 (skip_altivec_tests): Update for exit message change.
9240 (skip_vsx_tests): Likewise.
9241 (gdb_continue_to_end): Likewise. Add 'command' argument.
9242 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9243 * gdb.threads/tls.exp: Update for exit message change.
9244 * gdb.threads/thread-unwindonsignal.exp: Use
9245 gdb_continue_to_end.
9246 * gdb.threads/step.exp (step_it): Update for exit message change.
9247 (continue_all): Likewise.
9248 * gdb.threads/print-threads.exp (test_all_threads): Update for
9249 exit message change.
9250 * gdb.threads/interrupted-hand-call.exp: Use
9251 gdb_continue_to_end.
9252 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9253 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9254 gdb_continue_to_end.
9255 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9256 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9257 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9258 * gdb.cp/method.exp: Update for exit message change.
9259 * gdb.cp/mb-templates.exp: Update for exit message change.
9260 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9261 * gdb.cp/annota3.exp: Update for exit message change.
9262 * gdb.cp/annota2.exp: Update for exit message change.
9263 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9264 * gdb.base/term.exp: Update for exit message change.
9265 * gdb.base/step-test.exp (test_i): Update for exit message change.
9266 * gdb.base/sigstep.exp (advance): Update for exit message change.
9267 (advancei): Likewise.
9268 * gdb.base/siginfo.exp: Update for exit message change.
9269 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9270 * gdb.base/reread.exp: Use gdb_continue_to_end.
9271 * gdb.base/langs.exp: Use gdb_continue_to_end.
9272 * gdb.base/interrupt.exp: Update for exit message change.
9273 * gdb.base/gdb1555.exp: Update for exit message change.
9274 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9275 * gdb.base/ending-run.exp: Update for exit message change.
9276 * gdb.base/chng-syms.exp: Update for exit message change.
9277 * gdb.base/checkpoint.exp: Update for exit message change.
9278 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9279 gdb_continue_to_end.
9280 (test_catch_syscall_with_wrong_args): Likewise.
9281 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9282 * gdb.base/break-interp.exp (test_ld): Update for exit message
9283 change.
9284 * gdb.base/bang.exp: Update for exit message change.
9285 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9286 (do_call_attach_tests): Likewise.
9287 * gdb.base/a2-run.exp: Update for exit message change.
9288 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9289 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9290 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9291
9292 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9293
9294 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9295
9296 2011-03-03 Tom Tromey <tromey@redhat.com>
9297
9298 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9299 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9300 * gdb.hp/gdb.aCC/configure.ac: Remove.
9301 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9302 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9303 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9304 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9305 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9306 * gdb.hp/gdb.compat/configure.ac: Remove.
9307 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9308 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9309 * gdb.hp/gdb.defects/configure.ac: Remove.
9310 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9311 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9312 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9313 * gdb.hp/configure.ac: Remove.
9314 * gdb.hp/configure: Remove.
9315 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9316 substitution.
9317 (Makefile): Remove rule.
9318 * gdb.cell/configure.ac: Remove.
9319 * gdb.cell/configure: Remove.
9320 * gdb.stabs/Makefile.in (Makefile): Remove.
9321 (distclean): Don't remove config.status or config.log.
9322 * gdb.stabs/configure (Makefile): Remove.
9323 * gdb.stabs/configure.ac: Remove.
9324 * configure: Rebuild.
9325 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9326 Remove stabs- and cell-specific logic. Test for existence of
9327 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9328 subdirectories, gdb.cell, and and gdb.stabs.
9329 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9330
9331 2011-03-03 Joel Brobecker <brobecker@adacore.com>
9332
9333 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9334 end of buffer.
9335
9336 2011-03-02 Joel Brobecker <brobecker@adacore.com>
9337
9338 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9339 gdb_test when running a test where we expected no output back.
9340
9341 2011-02-28 Michael Snyder <msnyder@vmware.com>
9342
9343 * gdb.cp/overload.cc: Change initializer value to integer.
9344
9345 2011-02-27 Michael Snyder <msnyder@vmware.com>
9346
9347 * gdb.multi/base.exp: Add test for remove-inferiors.
9348
9349 2011-02-26 Joel Brobecker <brobecker@adacore.com>
9350
9351 * gdb.python/py-frame.exp: Simplify the initialization phase
9352 using prepare_for_testing.
9353
9354 2011-02-25 Michael Snyder <msnyder@vmware.com>
9355
9356 * gdb.multi/base.exp: Add tests for info inferiors with args.
9357
9358 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9359
9360 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9361 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9362 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9363 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9364 asmfile3. Comment the STABS (#3) file compilation. Compile
9365 everything through assembler. Provide KFAIL for symtab/12497.
9366 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9367 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9368 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9369 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9370
9371 2011-02-24 Michael Snyder <msnyder@vmware.com>
9372
9373 * gdb.base/break.exp: Add tests for delete breakpoints using
9374 convenience variables and value history references.
9375
9376 2011-02-24 Michael Snyder <msnyder@vmware.com>
9377
9378 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9379 left behind in previous check-in.
9380
9381 2011-02-23 Michael Snyder <msnyder@vmware.com>
9382
9383 * gdb.base/break.exp: Add tests for "info break" with arguments.
9384 * gdb.trace/infotrace.exp: Update patterns for error and help.
9385 * gdb.base/completion.exp: Update pattern.
9386 * gdb.base/ena-dis-br.exp: Update pattern.
9387 * gdb.base/help.exp: Update patterns.
9388
9389 2011-02-23 Michael Snyder <msnyder@vmware.com>
9390
9391 * gdb.base/memattr.exp: New test.
9392 * gdb.base/memattr.c: Test load for memattr.exp.
9393
9394 2011-02-22 Doug Evans <dje@google.com>
9395
9396 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9397
9398 2011-02-22 Michael Snyder <msnyder@vmware.com>
9399
9400 * Makefile.in: Make more clean.
9401 * gdb.ada/Makefile.in: Ditto.
9402 * gdb.arch/Makefile.in: Ditto.
9403 * gdb.asm/Makefile.in: Ditto.
9404 * gdb.base/Makefile.in: Ditto.
9405 * gdb.cp/Makefile.in: Ditto.
9406 * gdb.dwarf2/Makefile.in: Ditto.
9407 * gdb.java/Makefile.in: Ditto.
9408 * gdb.mi/Makefile.in: Ditto.
9409 * gdb.modula2/Makefile.in: Ditto.
9410 * gdb.python/Makefile.in: Ditto.
9411 * gdb.server/Makefile.in: Ditto.
9412 * gdb.stabs/Makefile.in: Ditto.
9413 * gdb.threads/Makefile.in: Ditto.
9414 * gdb.trace/Makefile.in: Ditto.
9415
9416 2011-02-22 Michael Snyder <msnyder@vmware.com>
9417
9418 * gdb.threads/thread-find.exp: Add tests for bad input to
9419 info threads.
9420
9421 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9422
9423 * gdb.python/py-breakpoint.exp: Fix the expected output of
9424 one of the "maint info breakpoints" tests to accept the output
9425 generated on platforms that do not have hardware watchpoints.
9426
9427 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9428
9429 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9430 clean_restart. Be a little stricter in the expected output
9431 for one of the tests. Fix a typo in one of the comments.
9432
9433 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9434
9435 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9436 Delete variable binfile, no longer use. Add or modify test
9437 comments to make them unique.
9438
9439 2011-02-21 Michael Snyder <msnyder@vmware.com>
9440
9441 * Makefile.in: Update for make clean.
9442 * gdb.ada/Makefile.in: Ditto.
9443 * gdb.arch/Makefile.in: Ditto.
9444 * gdb.asm/Makefile.in: Ditto.
9445 * gdb.base/Makefile.in: Ditto.
9446 * gdb.cp/Makefile.in: Ditto.
9447 * gdb.dwarf2/Makefile.in: Ditto.
9448 * gdb.java/Makefile.in: Ditto.
9449 * gdb.mi/Makefile.in: Ditto.
9450 * gdb.modula2/Makefile.in: Ditto.
9451 * gdb.python/Makefile.in: Ditto.
9452 * gdb.server/Makefile.in: Ditto.
9453 * gdb.stabs/Makefile.in: Ditto.
9454 * gdb.threads/Makefile.in: Ditto.
9455 * gdb.trace/Makefile.in: Ditto.
9456
9457 2011-02-21 Michael Snyder <msnyder@vmware.com>
9458
9459 * gdb.threads/thread-find.exp: Update patterns for changes in
9460 output of "info threads" command.
9461
9462 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9463 Ulrich Weigand <uweigand@de.ibm.com>
9464
9465 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9466 (skip_hw_watchpoint_tests): Likewise.
9467 (skip_hw_watchpoint_multi_tests): Likewise.
9468
9469 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9470
9471 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9472 (skip_hw_watchpoint_tests): Likewise.
9473 (skip_hw_watchpoint_multi_tests): Likewise.
9474 (skip_hw_watchpoint_access_tests): Likewise.
9475
9476 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9477 * gdb.base/pr11022.exp: Likewise.
9478 * gdb.base/watch-read.exp: Likewise.
9479 * gdb.base/watch_thread_num.exp: Likewise.
9480 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9481 * gdb.base/watchpoint-hw.exp: Likewise.
9482 * gdb.base/watchpoint.exp: Likewise.
9483 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9484 * gdb.threads/watchthreads-reorder.exp: Likewise.
9485 * gdb.threads/watchthreads.exp: Likewise.
9486 * gdb.threads/watchthreads2.exp: Likewise.
9487
9488 2011-02-21 Joel Brobecker <brobecker@adacore.com>
9489
9490 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9491 the debugger is unable to find the array bounds.
9492
9493 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9494
9495 * gdb.cp/typedef-operator.exp: New file.
9496 * gdb.cp/typedef-operator.cc: New file.
9497
9498 2011-02-17 Michael Snyder <msnyder@vmware.com>
9499
9500 * gdb.threads/thread-find.exp: Fix regular expressions.
9501
9502 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9503
9504 * gdb.ada/packed_array: Expand testcase to test printing of
9505 unconstrained packed array.
9506
9507 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9508
9509 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9510
9511 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9512
9513 * gdb.trace/collection.c (globalarr3): New global.
9514 (main): Initialize it before collecting, and and clear it
9515 afterwards.
9516 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9517 collecting with '{type} addr', where the addr expression is not an
9518 rvalue.
9519
9520 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9521
9522 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9523 a bool variable. Expect correct OpenCL names for vector types. Use the
9524 uc3 variable name instead of referring to the uchar3 built-in type.
9525 Escape the asterisk at the half pointer test.
9526
9527 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9528
9529 * gdb.trace/collection.c (globalarr2): New global.
9530 (main): Initialize it before collecting, and and clear it
9531 afterwards.
9532 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9533 collecting overlapping memory ranges.
9534
9535 2011-02-15 Michael Snyder <msnyder@vmware.com>
9536
9537 * gdb.base/default.exp: Add tests for thread commands.
9538 * gdb.base/help.exp: Add tests for thread commands.
9539 * gdb.threads/thread-find.exp: New test for thread find command.
9540
9541 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9542
9543 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9544
9545 2011-02-15 Yao Qi <yao@codesourcery.com>
9546
9547 PR tdep/12352
9548 * gdb.arch/arm-disp-step.S : New test for str instruction.
9549 * gdb.arch/arm-disp-step.exp : Likewise.
9550
9551 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9552
9553 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9554 "vector_register2_vr" test strings. Test the extended floating
9555 point registers (F32~F63).
9556 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9557 IBM XL C compiler. Make the test program use a register provided
9558 by the compiler for the lxvd2x instruction.
9559
9560 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9561
9562 * gdb.trace/unavailable.cc (class Base, class Middle, class
9563 Derived): New types.
9564 (derived_unavail, derived_partial, derived_whole): New globals.
9565 (virtual_partial): New global.
9566 (virtualp): Point at virtual_partial.
9567 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9568 related to unavailable vptr.
9569
9570 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9571
9572 * gdb.trace/unavailable.cc (a, b, c): New globals.
9573 (main): Set and clear them.
9574 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9575 `a' and `c', and check that `b' isn't collected, although `a' and
9576 `c' are.
9577
9578 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9579
9580 * gdb.trace/unavailable.cc (struct Virtual): New.
9581 (virtualp): New global pointer.
9582 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9583 printing a pointer to an object whose type has a vtable, with
9584 print object on.
9585
9586 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9587
9588 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9589 value repeat handles unavailableness.
9590
9591 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9592
9593 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9594 tests for building arrays from unavailable values, subscripting
9595 non-memory rvalue unvailable arrays, and accessing fields or
9596 baseclasses of non-lazy unavailable values,
9597 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9598 struct types.
9599 (g_smallstruct, g_smallstruct_b): New globals.
9600
9601 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9602
9603 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9604
9605 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9606
9607 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9608 * gdb.cp/overload-const.exp: New file.
9609 * gdb.cp/overload-const.cc: New file.
9610
9611 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9612
9613 * gdb.opencl/callfuncs.cl: New file.
9614 * gdb.opencl/callfuncs.exp: New test.
9615 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9616
9617 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9618
9619 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9620 when computing result.
9621 * gdb.arch/altivec-abi.exp: Update expected results.
9622
9623 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9624
9625 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9626 * gdb.base/jit.exp: Likewise.
9627 * gdb.base/pie-execl.exp: Likewise.
9628 * gdb.base/solib-nodir.exp: Likewise.
9629 * gdb.base/solib-overlap.exp: Likewise.
9630
9631 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9632
9633 * gdb.trace/collection.c (global_pieces): New.
9634 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9635 New procedure.
9636 (gdb_trace_collection_test): Call it.
9637
9638 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9639
9640 * gdb.python/py-evthreads.c: New file.
9641 * gdb.python/py-evthreads.exp: New file.
9642 * gdb.python/py-events.py: New file.
9643 * gdb.python/py-events.exp: New file.
9644 * gdb.python/py-events.c: New file.
9645
9646 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9647
9648 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9649
9650 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9651
9652 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9653 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9654 boundary between two compilation units.
9655
9656 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9657
9658 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9659 (Virtual): New structs.
9660 (virtual_o, virtual_middle_b): New globals.
9661 * gdb.cp/virtbase.exp: New tests.
9662
9663 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9664
9665 * gdb.base/jit.exp: New file.
9666 * gdb.base/jit-main.c: New file.
9667 * gdb.base/jit-solib.c: New file.
9668
9669 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9670
9671 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9672 proceed to initial kernel entry point.
9673 * gdb.opencl/datatypes.exp: Likewise.
9674 * gdb.opencl/operators.exp: Likewise.
9675 * gdb.opencl/vec_comps.exp: Likewise.
9676
9677 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9678
9679 * gdb.cp/nsnested.cc: New.
9680 * gdb.cp/nsnested.exp: New.
9681 * gdb.cp/nsnoimports.exp: New.
9682 * gdb.cp/nsnoimports.cc: New.
9683
9684 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9685
9686 * gdb.base/interact.exp: Add extra tests that verify that
9687 the value of the interactive-mode setting does not change
9688 after the script is sourced.
9689
9690 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9691
9692 * gdb.cp/noparam.exp: New file.
9693 * gdb.cp/noparam.cc: New file.
9694
9695 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9696
9697 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9698 there's no stack or registers.
9699
9700 2011-01-26 Tom Tromey <tromey@redhat.com>
9701
9702 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9703 space before string output. Add test for "set print pretty off"
9704 case.
9705
9706 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9707
9708 * gdb.base/frame-args.exp: Adjust.
9709 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9710 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9711 * gdb.dwarf2/pieces.exp: Adjust.
9712 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9713 * gdb.opt/inline-locals.exp: Adjust.
9714 * gdb.threads/fork-child-threads.exp: Adjust.
9715
9716 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9717
9718 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9719 OpenCL kernel function. Add a comment as marker. Add address space
9720 qualifiers for the remaining program scope variables.
9721 * gdb.opencl/datatypes.cl: Likewise.
9722 * gdb.opencl/operators.cl: Likewise.
9723 * gdb.opencl/vec_comps.cl: Likewise.
9724 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9725 Add breakpoint at the marker comment.
9726 * gdb.opencl/datatypes.exp: Likewise.
9727 * gdb.opencl/operators.exp: Likewise.
9728 * gdb.opencl/vec_comps.exp: Likewise.
9729
9730 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9731
9732 * gdb.base/printcmds.c (some_struct): New struct and instance.
9733 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9734 procedure.
9735 <global scope>: Call it.
9736
9737 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9738
9739 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9740 argument to the gdb_compile_opencl_hostapp call.
9741
9742 2011-01-19 Yao Qi <yao@codesourcery.com>
9743
9744 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9745 positve list.
9746
9747 2011-01-19 Yao Qi <yao@codesourcery.com>
9748
9749 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9750 canonical form.
9751 Remove "xscale-*-*"
9752 * gdb.xml/tdesc-regs.exp: Likewise.
9753 * gdb.python/py-section-script.exp: Replace ARM target triplet
9754 with canonical form.
9755 Match arm*-*-symbianelf*.
9756 * gdb.base/dup-sect.exp: Likewise.
9757 * lib/dwarf.exp: New.
9758 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9759 dwarf2_support.
9760 * gdb.dwarf2/dup-psym.exp: Likewise.
9761 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9762 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9763 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9764 * gdb.dwarf2/dw2-basic.exp: Likewise.
9765 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9766 * gdb.dwarf2/dw2-const.exp: Likewise.
9767 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9768 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9769 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9770 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9771 * gdb.dwarf2/dw2-filename.exp: Likewise.
9772 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9773 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9774 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9775 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9776 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9777 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9778 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9779 * gdb.dwarf2/dw2-producer.exp: Likewise.
9780 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9781 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9782 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9783 * gdb.dwarf2/dw2-strp.exp: Likewise.
9784 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9785 * gdb.dwarf2/implptr.exp: Likewise.
9786 * gdb.dwarf2/mac-fileno.exp: Likewise.
9787 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9788 * gdb.dwarf2/pieces.exp: Likewise.
9789 * gdb.dwarf2/pr11465.exp: Likewise.
9790 * gdb.dwarf2/valop.exp: Likewise.
9791 * gdb.dwarf2/watch-notconst.exp: Likewise.
9792 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9793
9794 2011-01-19 Tom Tromey <tromey@redhat.com>
9795
9796 * gdb.python/py-infthread.exp: Add thread tests.
9797
9798 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9799
9800 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9801
9802 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9803
9804 * gdb.ada/widewide: New testcase.
9805
9806 2011-01-13 Joel Brobecker <brobecker@adacore.com>
9807
9808 * gdb.base/interact.exp: New testcase.
9809
9810 2011-01-12 Tom Tromey <tromey@redhat.com>
9811
9812 * gdb.mi/gdb2549.exp: Update for error message changes.
9813 * gdb.mi/mi-cli.exp: Likewise.
9814 * gdb.mi/mi-disassemble.exp: Likewise.
9815 * gdb.mi/mi-pthreads.exp: Likewise.
9816 * gdb.mi/mi-regs.exp: Likewise.
9817 * gdb.mi/mi-stack.exp: Likewise.
9818 * gdb.mi/mi-var-block.exp: Likewise.
9819 * gdb.mi/mi-var-cmd.exp: Likewise.
9820 * gdb.mi/mi2-cli.exp: Likewise.
9821 * gdb.mi/mi2-disassemble.exp: Likewise.
9822 * gdb.mi/mi2-pthreads.exp: Likewise.
9823 * gdb.mi/mi2-regs.exp: Likewise.
9824 * gdb.mi/mi2-stack.exp: Likewise.
9825 * gdb.mi/mi2-var-block.exp: Likewise.
9826 * gdb.mi/mi2-var-cmd.exp: Likewise.
9827
9828 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9829 Jan Kratochvil <jan.kratochvil@redhat.com>
9830
9831 PR fortran/11104 and DWARF unbound arrays detection.
9832 * gdb.fortran/multi-dim.exp: New file.
9833 * gdb.fortran/multi-dim.f90: New file.
9834
9835 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9836
9837 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9838 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9839 add new tests for opcode dumping.
9840
9841 2011-01-11 Tom Tromey <tromey@redhat.com>
9842
9843 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9844
9845 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9846
9847 Convert hardware watchpoints to use breakpoint_ops.
9848 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9849 type is not supported.
9850 * gdb.base/foll-fork.exp: Likewise.
9851 * gdb.base/foll-vfork.exp: Likewise.
9852
9853 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9854
9855 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9856 Use load_lib gdb-python.exp.
9857 * gdb.python/python.exp: Ditto.
9858 * gdb.python/py-function.exp: Ditto.
9859
9860 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9861
9862 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9863
9864 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9865
9866 * configure: Regenerate.
9867
9868 2011-01-06 Tom Tromey <tromey@redhat.com>
9869
9870 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9871
9872 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9873
9874 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9875 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9876 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9877 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9878 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9879 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9880 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9881 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9882 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9883 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9884 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9885 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9886 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9887 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9888 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9889 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9890 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9891 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9892 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9893 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9894 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9895 gdb.ada/uninitialized_vars.exp,
9896 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9897 Simplify by using clean_restart.
9898
9899 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9900
9901 Add marker to be used as anchor for inserting breakpoints.
9902 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9903 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9904 Likewise.
9905
9906 Remove uses of gdb_start_cmd.
9907 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9908 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9909
9910 Do not run testcase if testing with GDBserver.
9911 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9912 if testing with GDBserver.
9913
9914 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9915
9916 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9917 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9918 copyright header.
9919
9920 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9921
9922 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9923 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9924 testsuite/gdb.fortran/complex.f,
9925 testsuite/gdb.fortran/derived-type.f90,
9926 testsuite/gdb.fortran/library-module-lib.f90,
9927 testsuite/gdb.fortran/library-module-main.f90,
9928 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9929 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9930 Copyright year update.
9931
9932 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9933
9934 * gdb.base/langs1.f: Add copyright header.
9935
9936 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9937
9938 * gdb.base/morestack.exp: New file.
9939 * gdb.base/morestack.c: New file.
9940
9941 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9942
9943 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9944
9945 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9946
9947 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9948 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9949
9950 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9951
9952 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9953
9954 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9955
9956 * gdb.threads/tls.exp: Fix typo.
9957
9958 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9959 * gdb.threads/execl.exp: Update.
9960
9961 2010-12-23 Yao Qi <yao@codesourcery.com>
9962
9963 * gdb.arch/arm-disp-step.exp: New.
9964 * gdb.arch/arm-disp-step.S: New.
9965
9966 2010-12-21 Tom Tromey <tromey@redhat.com>
9967
9968 * gdb.threads/execl.exp: Update.
9969 * gdb.threads/linux-dp.exp: Update.
9970 * gdb.threads/manythreads.exp: Update.
9971 * gdb.threads/tls.exp: Update.
9972
9973 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9974
9975 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9976 (NextOverThrowDerivates) <resumebpt>: New.
9977 (resumebpt_test): New.
9978 (main): Call resumebpt_test.
9979 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9980
9981 2010-12-12 Stan Shebs <stan@codesourcery.com>
9982
9983 * gdb.trace/tsv.exp: Test print command on trace state variables.
9984
9985 2010-12-09 Tom Tromey <tromey@redhat.com>
9986
9987 * gdb.base/interp.exp: Add regression test.
9988
9989 2010-12-09 Tom Tromey <tromey@redhat.com>
9990
9991 * gdb.java/jnpe.java: New file.
9992 * gdb.java/jnpe.exp: New file.
9993 * gdb.cp/nextoverthrow.exp: New file.
9994 * gdb.cp/nextoverthrow.cc: New file.
9995
9996 2010-12-07 Doug Evans <dje@google.com>
9997
9998 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9999 of data-directory.
10000 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
10001 updated.
10002 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
10003
10004 2010-11-29 Michael Snyder <msnyder@vmware.com>
10005
10006 * gdb.base/callfuncs.exp: Test for skip_float_tests.
10007 * gdb.base/call-sc.exp: Ditto.
10008 * gdb.base/finish.exp: Ditto.
10009 * gdb.base/return.exp: Ditto.
10010 * gdb.base/return2.exp: Ditto.
10011
10012 2010-11-30 Doug Evans <dje@google.com>
10013
10014 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
10015 (gdb_expect_list): Fix spelling errors in comments.
10016 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
10017 send_gdb/gdb_expect_list where applicable.
10018 * gdb.base/call-ar-st.exp: Ditto.
10019 * gdb.base/funcargs.exp: Ditto.
10020 * gdb.base/gcore.exp: Ditto.
10021 * gdb.base/page.exp: Ditto.
10022 * gdb.base/sigaltstack.exp: Ditto.
10023 * gdb.base/siginfo.exp: Ditto.
10024 * gdb.base/sigstep.exp: Ditto.
10025 * gdb.base/trace-commands.exp: Ditto.
10026
10027 2010-11-29 Doug Evans <dje@google.com>
10028
10029 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10030 printer-name;subprinter-name.
10031
10032 2010-11-29 Tom Tromey <tromey@redhat.com>
10033
10034 * gdb.dwarf2/implptr.exp: New file.
10035 * gdb.dwarf2/implptr.c: New file.
10036 * gdb.dwarf2/implptr.S: New file.
10037
10038 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10039
10040 PR python/12199
10041
10042 * gdb.python/py-breakpoint.exp: Test the delete method.
10043
10044 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10045
10046 Fix step_resume_breakpoint unsaved during an infcall.
10047 * gdb.base/step-resume-infcall.exp: New file.
10048 * gdb.base/step-resume-infcall.c: New file.
10049
10050 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10051
10052 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10053
10054 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10055
10056 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10057 on ppc64's symbols; "finish" and "return" commands must accept to
10058 show the caller line again as well as the line after.
10059 * gdb.asm/powerpc64.inc: New file.
10060
10061 2010-11-23 Doug Evans <dje@google.com>
10062
10063 * lib/gdb.exp (gdb_test_sequence): New function.
10064 (gdb_expect_list): Add verbose -log call for each pattern.
10065 * gdb.base/signals.exp (test_handle_all_print): Call it.
10066 Reduce timeout increment from 6 minutes to 1 minute.
10067 * gdb.server/ext-run.exp: Call it.
10068
10069 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10070
10071 PR python/12212
10072
10073 * gdb.python/python.exp: Check that selected_thread raises an
10074 error when no inferior is loaded.
10075
10076 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10077
10078 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10079 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10080
10081 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10082
10083 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10084 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10085
10086 2010-11-18 Doug Evans <dje@google.com>
10087
10088 * gdb.server/ext-run.exp: Fix intermittent failures.
10089
10090 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10091
10092 * gdb.stabs/gdb11479.exp: Use runto_main.
10093
10094 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10095
10096 * gdb.base/break-entry.exp: Skip if using a stub.
10097
10098 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10099
10100 * gdb.python/py-inferior.exp: Pack values in target endianness.
10101
10102 2010-11-12 Tom Tromey <tromey@redhat.com>
10103
10104 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10105 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10106 MemoryError.
10107 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10108 type.
10109 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10110 MemoryError.
10111 (test_subscript_regression): Update exception type.
10112
10113 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10114
10115 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10116 breakpoint tests.
10117
10118 2010-11-09 Pedro Alves <pedro@codesourcery.com>
10119
10120 * gdb.base/watchpoint.exp: Test "watch -location" with an
10121 innacessible location.
10122
10123 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
10124 Luis Machado <luisgpm@br.ibm.com>
10125
10126 * gdb.base/maint.exp: Expect "." prefix.
10127 * gdb.base/nodebug.exp: Expect "." Likewise.
10128 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10129 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10130 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10131 POWER server processors.
10132
10133 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
10134 Luis Machado <luisgpm@br.ibm.com>
10135
10136 * gdb.base/break-entry.exp: convert entry point for
10137 ppc64 and expect leading `.' on ppc64's symbols
10138
10139 2010-11-05 Doug Evans <dje@google.com>
10140
10141 * gdb.base/help.exp: Update expected output.
10142 * gdb.python/py-param.exp: Delete, contents moved to ...
10143 * gdb.python/py-parameter.exp: ... here. New file.
10144 Add test for gdb.parameter ("directories").
10145
10146 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
10147
10148 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10149 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10150 * configure: Regenerate.
10151 * gdb.opencl/Makefile.in: New File.
10152 * gdb.opencl/datatypes.exp: Likewise.
10153 * gdb.opencl/datatypes.cl: Likewise.
10154 * gdb.opencl/operators.exp: Likewise.
10155 * gdb.opencl/operators.cl: Likewise.
10156 * gdb.opencl/vec_comps.exp: Likewise.
10157 * gdb.opencl/vec_comps.cl: Likewise.
10158 * gdb.opencl/convs_casts.exp: Likewise.
10159 * gdb.opencl/convs_casts.cl: Likewise.
10160 * lib/opencl.exp: Likewise.
10161 * lib/opencl_hostapp.c: Likewise.
10162 * lib/opencl_kernel.cl: Likewise.
10163 * lib/cl_util.c: Likewise.
10164 * lib/cl_util.c: Likewise.
10165 * gdb.base/default.exp (set language): Add "opencl" to the list of
10166 languages.
10167
10168 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10169
10170 * gdb.cp/overload.exp: Added test for inheritance overload.
10171 * gdb.cp/overload.cc: Ditto.
10172 * gdb.cp/oranking.exp: Removed releveant kfails.
10173
10174 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10175 Joel Brobecker <brobecker@adacore.com>
10176
10177 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10178 check test_compiler_info.
10179
10180 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10181
10182 * gdb.base/gnu_vector.exp: Adjust expect messages.
10183
10184 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10185
10186 * gdb.base/gnu_vector.exp: Add unary operator tests.
10187
10188 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10189
10190 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10191
10192 2010-11-02 Doug Evans <dje@google.com>
10193
10194 * gdb.python/py-pp-maint.c: New file.
10195 * gdb.python/py-pp-maint.exp: New file.
10196 * gdb.python/py-pp-maint.py: New file.
10197
10198 2010-11-02 Tom Tromey <tromey@redhat.com>
10199
10200 * gdb.base/default.exp: Remove "scheme" from language list.
10201
10202 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10203
10204 Revert:
10205 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10206 * gdb.threads/sigstep-threads.exp: New file.
10207 * gdb.threads/sigstep-threads.c: New file.
10208
10209 2010-10-20 Michael Snyder <msnyder@vmware.com>
10210
10211 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10212
10213 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10214
10215 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10216 Skip test completely if gdb,no_hardware_watchpoints.
10217
10218 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10219
10220 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10221 strict, but do not check for any particular function name within libc.
10222
10223 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10224
10225 * gdb.cp/smartp.exp: New test.
10226 * gdb.cp/smartp.cc : New test.
10227
10228 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10229
10230 * gdb.cp/converts.exp: Test pointer to bool conversion.
10231 Test pointer to long conversion.
10232 * gdb.cp/oranking.exp: Removed relevant kfail.
10233
10234 2010-10-18 Tom Tromey <tromey@redhat.com>
10235
10236 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10237 argument to lazy_string.
10238 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10239 (pp_ls.to_string): Use it.
10240 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10241 Add "estring2" local.
10242
10243 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10244
10245 Fix s390x compatibility.
10246 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10247 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10248
10249 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10250
10251 * gdb.threads/sigstep-threads.exp: New file.
10252 * gdb.threads/sigstep-threads.c: New file.
10253
10254 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10255
10256 * gdb.base/pie-execl.exp: New file.
10257 * gdb.base/pie-execl.c: New file.
10258
10259 2010-10-13 Doug Evans <dje@google.com>
10260 Jan Kratochvil <jan.kratochvil@redhat.com>
10261
10262 PR exp/12117
10263 * gdb.cp/ptype-cv-cp.cc: New file.
10264 * gdb.cp/ptype-cv-cp.exp: New file.
10265
10266 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10267
10268 * gdb.cp/converts.cc: New test program.
10269 * gdb.cp/converts.exp: New test.
10270 * gdb.cp/overload.exp: Added test for void* vs int*.
10271 * gdb.cp/overload.exp: Ditto.
10272 * gdb.cp/oranking.exp: Removed related kfail.
10273
10274 2010-10-13 Doug Evans <dje@google.com>
10275
10276 * lib/gdb-python.exp (gdb_check_python_config): New function.
10277 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10278 * gdb.python/lib-types.cc: New file.
10279 * gdb.python/lib-types.exp: New file.
10280
10281 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10282
10283 * gdb.python/py-error.exp: New file.
10284 * gdb.python/py-error.py: New file.
10285
10286 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10287
10288 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10289 gdb_test_multiple.
10290
10291 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10292
10293 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10294 * gdb.base/prelink.exp: Likewise.
10295 * gdb.base/solib-nodir.exp: Likewise.
10296 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10297 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10298 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10299
10300 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10301
10302 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10303 for the "info files" test to avoid timeouts on slow machines.
10304
10305 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10306
10307 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10308 (main): Make openlib dummy call.
10309
10310 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10311
10312 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10313 * break-interp.exp (reach): Move the core body ...
10314 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10315 (test_ld): Provide always real argument, even to the linker. Replace
10316 dl_main by _dl_debug_state.
10317
10318 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10319
10320 Fix results of prelinked PIEs on ppc*.
10321 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10322 Accept also DISPLACEMENT "PRESENT".
10323 (main): Replace "ZERO" displacements by "PRESENT".
10324
10325 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10326
10327 * gdb.cp/oranking.exp: New test.
10328 * gdb.cp/oranking.cc: New test program.
10329
10330 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
10331
10332 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10333 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10334
10335 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10336
10337 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10338 lush, lynx) New constant.
10339 * gdb.base/constvars.exp: Test const array types.
10340 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10341
10342 2010-10-06 Doug Evans <dje@google.com>
10343
10344 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10345 of syscall staging area.
10346
10347 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10348
10349 * gdb.base/gnu_vector.c: Add variable c4.
10350 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10351 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10352
10353 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10354
10355 * gdb.arch/altivec-abi.exp: Fix a typo.
10356
10357 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10358
10359 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10360 to match a thread ID.
10361
10362 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10363
10364 Fix s390x testcase compatibility.
10365 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10366
10367 2010-10-01 Doug Evans <dje@google.com>
10368
10369 * lib/gdb-python.exp: New file.
10370 * gdb.python/py-block.exp: Use it.
10371 * gdb.python/py-breakpoint.exp: Ditto.
10372 * gdb.python/py-frame.exp: Ditto.
10373 * gdb.python/py-inferior.exp: Ditto.
10374 * gdb.python/py-param.exp: Ditto.
10375 * gdb.python/py-prettyprint.exp: Ditto.
10376 * gdb.python/py-shared.exp: Ditto.
10377 * gdb.python/py-symbol.exp: Ditto.
10378 * gdb.python/py-symtab.exp: Ditto.
10379 * gdb.python/py-type.exp: Ditto.
10380 * gdb.python/py-value.exp: Ditto.
10381 * gdb.python/python.exp: Ditto.
10382
10383 2010-09-30 Tom Tromey <tromey@redhat.com>
10384
10385 * gdb.base/anon.exp: New file.
10386 * gdb.base/anon.c: New file.
10387
10388 2010-09-30 Tom Tromey <tromey@redhat.com>
10389
10390 * gdb.base/completion.exp: Test completion through anonymous
10391 union.
10392 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10393
10394 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10395
10396 Fix printing parameters of inlined functions.
10397 * gdb.dwarf2/dw2-inline-param.exp: New file.
10398 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10399 * gdb.dwarf2/dw2-inline-param.S: New file.
10400
10401 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10402
10403 PR corefiles/12071.
10404 * gdb.base/corefile.exp (quit with a process, no question: load core)
10405 (quit with a core file): New tests.
10406
10407 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10408
10409 Fix GDB crash on inferior calls with self-referencing classes.
10410 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10411 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10412 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10413
10414 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10415
10416 Fix lost siginfo_t for inferior calls.
10417 * gdb.base/siginfo-infcall.exp: New file.
10418 * gdb.base/siginfo-infcall.c: New file.
10419
10420 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10421
10422 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10423
10424 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10425
10426 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10427 New test.
10428 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10429
10430 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10431
10432 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10433 type of our const type.
10434
10435 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10436
10437 * gdb.cp/pr12028.cc: New.
10438 * gdb.cp/pr12028.exp: New.
10439
10440 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10441
10442 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10443
10444 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
10445 Jan Kratochvil <jan.kratochvil@redhat.com>
10446
10447 PR mi/11407
10448 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10449 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10450 * gdb.mi/dw2-ref-missing-frame.S New File.
10451 * gdb.mi/dw2-ref-missing-frame.exp New File.
10452
10453 2010-09-14 Tom Tromey <tromey@redhat.com>
10454
10455 PR symtab/8399:
10456 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10457
10458 2010-09-14 Tom Tromey <tromey@redhat.com>
10459
10460 PR exp/11803:
10461 * gdb.threads/tls.exp: Use C++.
10462 (check_thread_local): Use K::another_thread_local.
10463 * gdb.threads/tls.c (class K): New.
10464 (another_thread_local): Now a member of K.
10465 (spin): Update. No longer K&R C.
10466
10467 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10468
10469 * gdb.cp/koenig.cc: created class for testing member lookup.
10470 * gdb.cp/koenig.exp: Added test for member lookup.
10471
10472 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10473
10474 Fix false FAILs on sourcetree topdir directory containing "kill".
10475 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10476 source line matching regexp.
10477
10478 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10479
10480 * gdb.python/python.exp (set height 0, collect help from uiout)
10481 (verify help to uiout): New tests.
10482
10483 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10484
10485 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10486 is_lp64_target to check 64bit target.
10487
10488 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10489
10490 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10491 (test_ld) <powerpc64-*>: New.
10492
10493 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10494
10495 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10496
10497 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10498
10499 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10500 (FunctionArg::method): New function.
10501 (empty, arg): New variables.
10502 (main): Call arg.method.
10503 * gdb.cp/templates.exp (test_template_args): New function.
10504 (do_tests): Call it.
10505
10506 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10507
10508 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10509 of "next" to proceed over pthread_exit call.
10510
10511 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10512
10513 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10514 "maint print statistics" output to prevent expect timeouts.
10515
10516 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10517
10518 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10519 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10520 (test_float_rejected): ... here.
10521 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10522 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10523 (test_float_rejected): ... here.
10524 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10525 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10526 (test_float_rejected): ... here.
10527 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10528 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10529 (test_float_rejected): ... here.
10530
10531 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10532
10533 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10534 before disabling hardware watchpoints.
10535 (test_inaccessible_watchpoint): Check that hardware watchpoints
10536 are used. Test for watchpoints on a constant address.
10537
10538 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10539
10540 * gdb.base/ui-redirect.exp: New file.
10541
10542 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10543 Joel Brobecker <brobecker@adacore.com>
10544
10545 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10546
10547 2010-08-31 Doug Evans <dje@google.com>
10548
10549 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10550
10551 2010-08-30 Tom Tromey <tromey@redhat.com>
10552
10553 PR python/11792:
10554 * gdb.python/py-value.exp (test_subscript_regression): Add
10555 dynamic_type test.
10556
10557 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10558
10559 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10560 instead of running to main. Do not test the main function.
10561 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10562 Add new main.
10563
10564 2010-08-26 Pedro Alves <pedro@codesourcery.com>
10565
10566 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10567 one test.
10568
10569 2010-08-24 Doug Evans <dje@google.com>
10570
10571 PR symtab/11942
10572 * gdb.dwarf2/dw4-sig-types.cc: New file.
10573 * gdb.dwarf2/dw4-sig-types.h: New file.
10574 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10575 * gdb.dwarf2/dw4-sig-types.exp: New file.
10576
10577 2010-08-23 Tom Tromey <tromey@redhat.com>
10578
10579 PR python/11145:
10580 * gdb.python/py-value.c (Base, Derived): New types.
10581 (base): New global.
10582 * gdb.python/py-value.exp (test_subscript_regression): Add
10583 dynamic_cast test.
10584
10585 2010-08-23 Tom Tromey <tromey@redhat.com>
10586
10587 PR python/10676:
10588 * gdb.python/py-type.exp (test_fields): Add tests for type
10589 equality.
10590
10591 2010-08-23 Tom Tromey <tromey@redhat.com>
10592
10593 PR python/11915:
10594 * gdb.python/py-type.exp (test_fields): Add tests for array.
10595
10596 2010-08-23 Keith Seitz <keiths@redhat.com>
10597
10598 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10599 have any children. Create a new abbrev for it.
10600 Add missing terminal sequence to .debug_abbrev.
10601
10602 2010-08-20 Keith Seitz <keiths@redhat.com>
10603
10604 PR symtab/11465:
10605 * gdb.dwarf2/pr11465.exp: New test.
10606 * gdb.dwarf2/pr11465.S: New file.
10607 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10608 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10609
10610 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10611
10612 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10613 registers. Update data sets with the new v2_double element in the
10614 VSX register union. Add vector_register3_vr data set for the AltiVec
10615 registers. Use gdb_test_no_output instead of send_gdb.
10616
10617 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10618
10619 * gdb.python/py-shared.exp: New file, factored out from
10620 python.exp.
10621 * gdb.python/py-shared.c: New file.
10622 * gdb.python/py-shared-sl.c: New file.
10623 * gdb.python/python-1.c: New file.
10624 * gdb.python/python-sl.c: Delete.
10625 * gdb.python/python.c: Mention python-1.c.
10626 * gdb.python/python.exp: Move shared library tests to
10627 py-shared.exp.
10628 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10629 (MISCELLANEOUS): New.
10630 (clean mostlyclean): Also remove $MISCELLANEOUS.
10631
10632 2010-08-19 Doug Evans <dje@google.com>
10633
10634 PR exp/11926
10635 * gdb.base/printcmds.exp (test_float_accepted): New function.
10636 Move existing float tests there. Add tests for floats with suffixes.
10637 (test_float_rejected): New function.
10638 * gdb.java/jv-print.exp (test_float_accepted): New function.
10639 (test_float_rejected): New function.
10640 * gdb.objc/print.exp: New file.
10641 * gdb.pascal/print.exp: New file.
10642 * lib/objc.exp: New file.
10643
10644 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10645
10646 * gdb.base/default.exp (info set): Avoid full buffer error and force
10647 reading up to final gdb prompt.
10648 (show): Likewise.
10649
10650 2010-08-18 Tom Tromey <tromey@redhat.com>
10651
10652 PR symtab/11919:
10653 * gdb.base/completion.exp: Add test.
10654
10655 2010-08-18 Doug Evans <dje@google.com>
10656
10657 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10658 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10659 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10660 Simplify, early exit if runto_main fails.
10661 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10662 (set_lang_fortran): Moved to lib/fortran.exp.
10663 * gdb.fortran/types.exp: load_lib fortran.exp.
10664 (set_lang_fortran): Moved to lib/fortran.exp.
10665 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10666 * gdb.java/jprint.exp (set_lang_java): Ditto.
10667 * gdb.java/jv-exp.exp: load_lib java.exp.
10668 If set_lang_java fails, issue a warning instead of failure to be
10669 consistent with other set_lang_foo uses.
10670 (set_lang_java): Moved to lib/java.exp.
10671 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10672 If set_lang_java fails, issue a warning instead of failure to be
10673 consistent with other set_lang_foo uses.
10674 * gdb.pascal/types.exp: load_lib pascal.exp.
10675 (set_lang_pascal): Moved to lib/pascal.exp.
10676 * lib/fortran.exp: New file.
10677 * lib/java.exp (set_lang_java): New function.
10678 * lib/pascal.exp (set_lang_pascal): New function.
10679
10680 2010-08-18 Yao Qi <yao@codesourcery.com
10681
10682 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10683 func_nofb_start and func_loopfb_start, so that address of functions
10684 is equal to these labels on Thumb.
10685
10686 2010-08-18 Yao Qi <yao@codesourcery.com>
10687
10688 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10689 to reflect latest c source file.
10690
10691 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10692
10693 * gdb.cp/infcall-dlopen.exp: New file.
10694 * gdb.cp/infcall-dlopen.cc: New file.
10695 * gdb.cp/infcall-dlopen-lib.cc: New file.
10696
10697 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10698 Pedro Alves <pedro@codesourcery.com>
10699
10700 PR breakpoints/11371
10701
10702 * gdb.base/watch-cond-infcall.exp: New file.
10703 * gdb.base/watch-cond-infcall.c: New file.
10704
10705 2010-08-16 Tom Tromey <tromey@redhat.com>
10706
10707 * gdb.base/help.exp: Update.
10708 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10709 watchpoint.
10710 (test_watch_location): New proc.
10711 (test_watchpoint_in_big_blob): Delete watchpoint.
10712 * gdb.base/watchpoint.c (func5): New function.
10713 (main): Call it.
10714
10715 2010-08-16 Doug Evans <dje@google.com>
10716
10717 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10718
10719 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10720
10721 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10722 tests.
10723
10724 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10725
10726 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10727 * gdb.base/gnu_vector.c: New File.
10728 * gdb.base/gnu_vector.exp: Likewise.
10729
10730 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10731
10732 * gdb.python/python.c: New File.
10733 * gdb.python/python-sl.c: New File.
10734 * gdb.python/python.exp: Test solib_address and decode_line
10735 * functions.
10736
10737 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10738
10739 * gdb.python/python.exp (show height, set height 10)
10740 (verify pagination beforehand, verify pagination beforehand: q)
10741 (gdb.execute does not page, verify pagination afterwards)
10742 (verify pagination afterwards: q): New.
10743
10744 2010-08-02 Doug Evans <dje@google.com>
10745
10746 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10747 because of an older gcc, change test2
10748 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10749 to unsupported.
10750
10751 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10752
10753 * gdb.base/break-always.exp: Do not expect full paths to file
10754 names.
10755 * gdb.base/commands.exp: Likewise.
10756
10757 2010-07-30 Doug Evans <dje@google.com>
10758
10759 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10760 xfail them when run with older gccs.
10761
10762 * lib/gdb.exp (build_executable): Forward "c++" option to
10763 get_compiler_info.
10764
10765 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10766 "python print ttype.template_argument(1)" and
10767 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10768 if using gcc 4.4 or earlier.
10769
10770 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10771 attach-to-debugger handling.
10772
10773 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10774
10775 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10776 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10777 (main): Use copyreloc.
10778 * gdb.base/prelink.exp (split debug of executable)
10779 (.dynbss vs. .bss address shift): New tests.
10780
10781 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10782
10783 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10784 in gdb_test_multiple.
10785
10786 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10787
10788 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10789 environment.
10790
10791 2010-07-28 Tom Tromey <tromey@redhat.com>
10792
10793 PR python/11060:
10794 * gdb.python/py-type.c (Temargs): New template.
10795 (temvar): New variable.
10796 * gdb.python/py-type.exp (test_template): New proc.
10797
10798 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10799
10800 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10801 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10802
10803 2010-07-28 Tom Tromey <tromey@redhat.com>
10804
10805 PR c++/9946:
10806 * gdb.cp/temargs.exp: New file.
10807 * gdb.cp/temargs.cc: New file.
10808
10809 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10810
10811 * gdb.base/help.exp (help disassemble): Update the content.
10812
10813 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10814
10815 * gdb.threads/ia64-sigill.exp: New file.
10816 * gdb.threads/ia64-sigill.c: New file.
10817
10818 2010-07-27 Tom Tromey <tromey@redhat.com>
10819
10820 * gdb.opt/inline-cmds.c (ATTR): New define.
10821 (func1): Use it.
10822 (func2): Likewise.
10823 (func3): Likewise.
10824 (outer_inline1): Likewise.
10825 (outer_inline2): Likewise.
10826 * gdb.opt/inline-bt.c (ATTR): New define.
10827 (func1): Use it.
10828 (func2): Likewise.
10829 * gdb.opt/inline-locals.c (ATTR): New define.
10830 (func1): Use it.
10831 (func2): Likewise.
10832
10833 2010-07-27 Tom Tromey <tromey@redhat.com>
10834
10835 * gdb.stabs/gdb11479.c (hack): New function.
10836 (test): Use it.
10837 (test2): Use it.
10838 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10839 (int32_search_buf, int64_search_buf): No longer static.
10840 (x): Remove.
10841 * gdb.base/relocate.c (hack): New function.
10842
10843 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10844
10845 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10846 * gdb.python/py-value.c (func1): New function.
10847 (func2): Likewise.
10848
10849 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
10850
10851 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10852 as not to clash with .data section.
10853
10854 2010-07-26 Jerome Guitton <guitton@adacore.com>
10855
10856 * gdb.base/code_elim.exp: New file.
10857 * gdb.base/code_elim1.c: New file.
10858 * gdb.base/code_elim2.c: New file.
10859
10860 2010-07-21 Pedro Alves <pedro@codesourcery.com>
10861
10862 PR symtab/11827
10863
10864 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10865 (some_volatile_enum): New variable.
10866 * gdb.base/printcmds.exp (test_print_enums): New.
10867 <top level>: Call it.
10868
10869 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10870
10871 * gdb.cp/fpointer.cc: New test.
10872 * gdb.cp/fpointer.exp: New test.
10873
10874 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10875
10876 * gdb.base/solib-nodir.exp: New file.
10877 * lib/gdb.exp (runto): New case for a GDB internal error.
10878
10879 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10880 Ulrich Weigand <uweigand@de.ibm.com>
10881 Tom Tromey <tromey@redhat.com>
10882
10883 * gdb.base/charset-malloc.c: New file.
10884 * gdb.base/charset.c (malloc_stub): New prototype.
10885 (main): Call it instead of malloc itself.
10886 * gdb.base/charset.exp: Use only prepare_for_testing.
10887 (binfile): Remove the variable.
10888
10889 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10890
10891 Make core files the process_stratum.
10892 * gdb.base/corefile.exp (run: load core again)
10893 (run: sanity check we see the core file, run: with core)
10894 (run: core file is cleared, attach: load core again)
10895 (attach: sanity check we see the core file, attach: with core)
10896 (attach: core file is cleared): New tests.
10897 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10898
10899 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
10900
10901 * gdb.arch/altivec-abi.exp: New tests.
10902
10903 2010-07-13 Tom Tromey <tromey@redhat.com>
10904
10905 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10906 (main): Use it.
10907 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10908
10909 2010-07-13 Tom Tromey <tromey@redhat.com>
10910
10911 * gdb.base/label.exp: New file.
10912 * gdb.base/label.c: New file.
10913
10914 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10915 H.J. Lu <hongjiu.lu@intel.com>
10916
10917 * lib/gdb.exp (is_ilp32_target): New.
10918 (is_lp64_target): Likewise.
10919
10920 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10921 target.
10922 * gdb.arch/amd64-disp-step.exp: Likewise.
10923 * gdb.arch/amd64-dword.exp: Likewise.
10924 * gdb.arch/amd64-i386-address.exp: Likewise.
10925 * gdb.arch/amd64-word.exp: Likewise.
10926
10927 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10928 target.
10929 * gdb.arch/i386-bp_permanent.exp: Likewise.
10930 * gdb.arch/i386-byte.exp: Likewise.
10931 * gdb.arch/i386-disp-step.exp: Likewise.
10932 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10933 * gdb.arch/i386-prologue.exp: Likewise.
10934 * gdb.arch/i386-size-overlap.exp: Likewise.
10935 * gdb.arch/i386-size.exp: Likewise.
10936 * gdb.arch/i386-sse.exp: Likewise.
10937 * gdb.arch/i386-unwind.exp: Likewise.
10938 * gdb.arch/i386-word.exp: Likewise.
10939
10940 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10941 test only when building 64-bit executables. Do not hard-code
10942 -m64 option.
10943
10944 2010-07-07 Doug Evans <dje@google.com>
10945
10946 * lib/gdb.exp (gdb_test_list_exact): New function.
10947 * gdb.base/default.exp (show convenience): Call it, add tests for
10948 $_sdata = void, $_thread = 0.
10949
10950 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10951 Joel Brobecker <brobecker@adacore.com>
10952
10953 Fix re-run of PIE executable, PR shlibs/11776.
10954 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10955 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10956 and re-"run" of the inferior.
10957
10958 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10959 Joel Brobecker <brobecker@adacore.com>
10960
10961 Cope with missing /usr/sbin/prelink.
10962 * lib/prelink-support.exp (prelink_no):
10963 <result == 1 && $output is "no such file or directory">: New.
10964 (prelink_yes): Likewise. Return on failed prelink_no.
10965
10966 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10967 Joel Brobecker <brobecker@adacore.com>
10968
10969 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10970 build_executable by build_executable_own_libs. Replace "prelink -R"
10971 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10972 change.
10973 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10974 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10975 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10976 Replace build_executable by build_executable_own_libs's function
10977 build_executable_own_libs.
10978 (prelinkNO): Create new stub to call prelink_no.
10979 (prelinkYES): Create new stub to call prelink_yes.
10980 (test_attach): Rename calls of copy to file_copy.
10981 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10982 (copy): Move to ...
10983 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10984 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10985 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10986 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10987 special flags by gdb_compile_shlib. Replace second gdb_compile by
10988 build_executable_own_libs. Replace "prelink -R" execution by a call of
10989 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10990 a second call of prelink_yes. Replace restart commands by
10991 clean_restart.
10992 (prelink): Rename to ...
10993 (seen displacement message): ... this test. Extend its expectation
10994 strictness.
10995
10996 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10997
10998 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10999 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
11000 displacement message exactly once.
11001
11002 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11003 Joel Brobecker <brobecker@adacore.com>
11004
11005 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
11006 its restore after the <$relink_args != ""> loop. new comment.
11007
11008 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11009 Joel Brobecker <brobecker@adacore.com>
11010
11011 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
11012 code for it. New variable relink_args.
11013 (prelinkYES): Call prelinkNO.
11014 (test_attach): Accept new parameter relink_args. Re-prelink the binary
11015 in such case. Move the core code to ...
11016 (test_attach_gdb): ... a new function. Send GDB command "file".
11017 Extend expected "Attaching to " string.
11018
11019 2010-07-02 Tom Tromey <tromey@redhat.com>
11020
11021 * gdb.base/bitops.exp: Remove extraneous "pass".
11022
11023 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
11024
11025 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11026
11027 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11028
11029 * gdb.base/help.exp: Adjust expected output.
11030
11031 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11032
11033 * gdb.base/help.exp: Adjust expected output.
11034
11035 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11036
11037 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11038 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11039 c++/11702.
11040
11041 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11042 Doug Evans <dje@google.com>
11043
11044 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11045 add .dynamic entry'.
11046
11047 2010-06-29 Doug Evans <dje@google.com>
11048
11049 Test PR c++/11702.
11050 * gdb.cp/m-static.exp: Add testcase.
11051 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11052
11053 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
11054 Tom Tromey <tromey@redhat.com>
11055 Thiago Jung Bauermann <bauerman@br.ibm.com>
11056
11057 * gdb.python/py-inferior.c: New File.
11058 * gdb.python/py-infthread.c: New File.
11059 * gdb.python/py-inferior.exp: New File.
11060 * gdb.python/py-infthread.exp: New File.
11061
11062 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11063
11064 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11065 (ptype ::C::OtherFileClass typedefs): New.
11066 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11067 (C::OtherFileClass::cOtherFileClassVar2): New.
11068 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11069 cOtherFileClassVar2.
11070 (C::cOtherFileType2, C::cOtherFileVar2): New.
11071 (C::cOtherFileVar_use): use also cOtherFileVar2.
11072 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11073
11074 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11075
11076 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11077 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11078 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11079 (print ::C::cOtherFileVar)
11080 (whatis C::OtherFileClass::cOtherFileClassType)
11081 (whatis ::C::OtherFileClass::cOtherFileClassType)
11082 (print C::OtherFileClass::cOtherFileClassVar)
11083 (print ::cOtherFileClassVar)
11084 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11085 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11086 trailing content.
11087 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11088 (C::OtherFileClass::cOtherFileClassVar)
11089 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11090 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11091
11092 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11093
11094 Test PR c++/11703 and PR gdb/1448.
11095 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11096 gdb/1448.
11097
11098 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11099
11100 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11101 (main) <rtti_data>: New.
11102 * gdb.cp/virtbase.exp (print rtti_data): New.
11103
11104 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11105 Joel Brobecker <brobecker@adacore.com>
11106
11107 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11108
11109 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11110
11111 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11112
11113 2010-06-28 Doug Evans <dje@google.com>
11114
11115 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11116
11117 2010-06-27 Doug Evans <dje@google.com>
11118
11119 * gdb.cp/m-static.exp: Update expected test output.
11120
11121 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11122
11123 * gdb.gdb/selftest.exp: Adjust expected message for
11124 capturing start-up runtime.
11125
11126 2010-06-25 Tom Tromey <tromey@redhat.com>
11127
11128 PR python/10808:
11129 * gdb.python/python.exp: Add new tests.
11130
11131 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11132
11133 * gdb.cp/operator.cc: Created an import loop.
11134 * gdb.cp/operator.exp: Added testcase for import loop.
11135
11136 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11137
11138 Test PR python/11407.
11139 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11140 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11141 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11142 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11143 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11144 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11145 binfile. Call gdb_compile with clean_restart twice.
11146 (func_nofb print, func_nofb backtrace, func_loopfb print)
11147 (func_loopfb backtrace): New.
11148
11149 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11150
11151 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11152 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11153 by a hand made one.
11154 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11155 i?86 requirement. Remove variables srcfile and binfile. New variable
11156 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11157
11158 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11159
11160 * gdb.cell/dwarfaddr.exp: New file.
11161 * gdb.cell/dwarfaddr.S: New file.
11162
11163 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11164
11165 Test PR 9436.
11166 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11167
11168 2010-06-24 Hui Zhu <teawater@gmail.com>
11169
11170 * gdb.base/eval.exp: New file.
11171
11172 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11173
11174 * gdb.cell/fork.exp: New file.
11175 * gdb.cell/fork.c: Likewise.
11176 * gdb.cell/fork-spu.c: Likewise.
11177
11178 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11179
11180 * lib/gdb.exp (banned_variables_traced): New global variable.
11181 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11182 (gdb_init): Use `trace add variable' instead of obsolete
11183 `trace variable'.
11184
11185 2010-06-21 Doug Evans <dje@google.com>
11186
11187 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11188
11189 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11190
11191 * gdb.arch/spu-ls.exp: New file.
11192 * gdb.arch/spu-ls.c: Likewise.
11193
11194 2010-06-18 Stan Shebs <stan@codesourcery.com>
11195
11196 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11197
11198 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11199
11200 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11201 * gdb.base/watch-cond.exp: Likewise.
11202 * gdb.python/py-breakpoint.exp: Likewise.
11203
11204 2010-06-18 Pedro Alves <pedro@codesourcery.com>
11205
11206 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11207 clean_restart, make sure every test has a distinct message, and
11208 that messages don't include the executable' full path.
11209
11210 2010-06-17 Doug Evans <dje@google.com>
11211
11212 * gdb.arch/i386-size.exp: Updated expected output for
11213 DISASSEMBLY_OMIT_FNAME.
11214
11215 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11216 Sergio Durigan Junior <sergiodj@redhat.com>
11217
11218 * gdb.base/watch-notconst.c: New file.
11219 * gdb.base/watch-notconst.S: New file.
11220 * gdb.base/watch-notconst2.c: New file.
11221 * gdb.base/watch-notconst2.S: New file.
11222 * gdb.base/watch-notconst.exp: New file.
11223 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11224 (func4): Add operations on `global_ptr_ptr'.
11225 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11226 routine to test watchpoints created with a constant expression.
11227 (test_inaccessible_watchpoint): Include tests for watchpoints
11228 created with a constant expression.
11229
11230 2010-06-14 Kevin Buettner <kevinb@redhat.com>
11231
11232 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11233 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11234 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11235 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11236 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11237 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11238 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11239 of `_start'.
11240
11241 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11242
11243 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11244 not supported on the target.
11245 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11246 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11247 * gdb.mi/mi-nsintrall.exp: Likewise.
11248 * gdb.mi/mi-nsmoribund.exp: Likewise.
11249 * gdb.mi/mi-nsthrexec.exp: Likewise.
11250
11251 2010-06-11 Stan Shebs <stan@codesourcery.com>
11252
11253 * gdb.base/permissions.exp: New file.
11254
11255 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11256
11257 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11258 does not support ELF executable class.
11259
11260 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11261
11262 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11263
11264 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11265
11266 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11267 (runto): Catch "The target does not support running in non-stop mode.".
11268
11269 2010-06-11 Michael Snyder <msnyder@vmware.com>
11270
11271 * gdb.base/setshow.exp (set language asm): Don't use
11272 gdb_test_no_output, fails on some targets.
11273
11274 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11275
11276 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11277 * gdb.cp/pr9167.exp: Likewise.
11278
11279 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11280
11281 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11282
11283 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11284
11285 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11286
11287 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11288
11289 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11290
11291 2010-06-11 Tom Tromey <tromey@redhat.com>
11292
11293 PR gdb/9977, PR exp/11636::
11294 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11295 (pieces_test_f6): Update expected output.
11296
11297 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11298
11299 * gdb.base/moribund-step.exp: New.
11300
11301 2010-06-08 Michael Snyder <msnyder@vmware.com>
11302
11303 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
11304 * gdb.ada/boolean_expr.exp:
11305 * gdb.ada/frame_args.exp: Ditto.
11306 * gdb.ada/lang_switch.exp: Ditto.
11307 * gdb.ada/ptype_arith_binop.exp: Ditto.
11308 * gdb.ada/ref_param.exp: Ditto.
11309 * gdb.ada/type_coercion.exp:Ditto.
11310
11311 * gdb.asm/asm-source.exp: Ditto.
11312
11313 * gdb.base/attach.exp: Ditto.
11314 * gdb.base/bitfields2.exp: Ditto.
11315 * gdb.base/call-signal-resume.exp: Ditto.
11316 * gdb.base/callfuncs.exp: Ditto.
11317 * gdb.base/commands.exp: Ditto.
11318 * gdb.base/dbx.exp: Ditto.
11319 * gdb.base/default.exp: Ditto.
11320 * gdb.base/dump.exp: Ditto.
11321 * gdb.base/exprs.exp: Ditto.
11322 * gdb.base/freebpcmd.exp: Ditto.
11323 * gdb.base/interrupt.exp: Ditto.
11324 * gdb.base/list.exp: Ditto.
11325 * gdb.base/long_long.exp: Ditto.
11326 * gdb.base/maint.exp: Ditto.
11327 * gdb.base/ptype.exp: Ditto.
11328 * gdb.base/return.exp: Ditto.
11329 * gdb.base/setshow.exp: Ditto.
11330 * gdb.base/sigbpt.exp: Ditto.
11331 * gdb.base/sigrepeat.exp: Ditto.
11332
11333 * gdb.cp/classes.exp: Ditto.
11334
11335 * gdb.dwarf2/dw2-restore.exp: Ditto.
11336
11337 * gdb.gdb/selftest.exp: Ditto.
11338
11339 * gdb.multi/base.exp: Ditto.
11340 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11341
11342 * gdb.python/py-block.exp: Ditto.
11343 * gdb.python/py-prettyprint.exp: Ditto.
11344 * gdb.python/py-template.exp: Ditto.
11345
11346 * gdb.server/ext-attach.exp: Ditto.
11347 * gdb.server/ext-run.exp: Ditto.
11348 * gdb.server/server-mon.exp: Ditto.
11349
11350 * gdb.threads/fork-thread-pending.exp: Ditto.
11351 * gdb.threads/hand-call-in-threads.exp: Ditto.
11352 * gdb.threads/interrupted-hand-call.exp: Ditto.
11353 * gdb.threads/linux-dp.exp: Ditto.
11354 * gdb.threads/manythreads.exp: Ditto.
11355 * gdb.threads/print-threads.exp: Ditto.
11356 * gdb.threads/pthreads.exp: Ditto.
11357 * gdb.threads/schedlock.exp: Ditto.
11358 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11359 * gdb.threads/threadapply.exp: Ditto.
11360
11361 2010-06-08 Michael Snyder <msnyder@vmware.com>
11362
11363 * gdb.ada/exec_changed.exp:
11364 Use ".*" instead of "" as wildcard regexp.
11365
11366 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11367 * gdb.base/call-ar-st.exp: Ditto.
11368 * gdb.base/checkpoint.exp: Ditto.
11369 * gdb.base/default.exp: Ditto.
11370 * gdb.base/dump.exp: Ditto.
11371 * gdb.base/ending-run.exp: Ditto.
11372 * gdb.base/fileio.exp: Ditto.
11373 * gdb.base/miscexprs.exp: Ditto.
11374 * gdb.base/pointers.exp: Ditto.
11375 * gdb.base/readline.exp: Ditto.
11376 * gdb.base/reread.exp: Ditto.
11377 * gdb.base/restore.exp: Ditto.
11378 * gdb.base/shlib-call.exp: Ditto.
11379 * gdb.base/valgrind-db-attach.exp: Ditto.
11380 * gdb.base/volatile.exp: Ditto.
11381 * gdb.base/watchpoints.exp: Ditto.
11382
11383 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11384
11385 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11386 * gdb.python/py-value.exp: Ditto.
11387
11388 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11389 * gdb.trace/circ.exp: Ditto.
11390 * gdb.trace/collection.exp: Ditto.
11391 * gdb.trace/packetlen.exp: Ditto.
11392 * gdb.trace/passc-dyn.exp: Ditto.
11393 * gdb.trace/report.exp: Ditto.
11394 * gdb.trace/tfile.exp: Ditto.
11395 * gdb.trace/tfind.exp: Ditto.
11396 * gdb.trace/while-dyn.exp: Ditto.
11397
11398 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11399
11400 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11401
11402 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11403
11404 Test PR 10640.
11405 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11406
11407 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11408
11409 * gdb.cp/koenig.exp: Test for ADL operators.
11410 * gdb.cp/koenig.cc: Added ADL operators.
11411 * gdb.cp/operator.exp: New test.
11412 * gdb.cp/operator.cc: New test.
11413
11414 2010-06-04 Michael Snyder <msnyder@vmware.com>
11415
11416 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11417 * gdb.base/pending.exp: Ditto.
11418
11419 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11420
11421 2010-06-04 Doug Evans <dje@google.com>
11422
11423 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11424 disabled printers.
11425 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11426 (enable_lookup_function): New function.
11427
11428 2010-06-04 Tom Tromey <tromey@redhat.com>
11429
11430 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11431 of hash and id.
11432
11433 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11434
11435 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11436 newline.
11437 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11438 (empty verbose non-noisy clear, empty verbose noisy clear)
11439 (empty non-verbose noisy clear): Likewise.
11440
11441 2010-06-03 Michael Snyder <msnyder@vmware.com>
11442
11443 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11444 * gdb.base/display.exp: Ditto.
11445 * gdb.base/find.exp: Ditto.
11446 * gdb.base/ifelse.exp: Ditto.
11447 * gdb.base/multi-forks.exp: Ditto.
11448 * gdb.base/recurse.exp: Ditto.
11449 * gdb.base/setshow.exp: Ditto.
11450 * gdb.base/value-double-free.exp: Ditto.
11451 * gdb.base/watch-vfork.exp: Ditto.
11452 * gdb.base/watch_thread_num.exp: Ditto.
11453 * gdb.base/watchpoint-solib.exp: Ditto.
11454 * gdb.base/watchpoint.exp: Ditto.
11455 * gdb.base/watchpoints.exp: Ditto.
11456
11457 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11458 * gdb.cp/overload.exp: Ditto.
11459 * gdb.cp/virtfunc.exp: Ditto.
11460
11461 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11462
11463 * gdb.reverse/watch-precsave.exp:
11464 Replace gdb_test with gdb_test_no_output.
11465
11466 * gdb.threads/attach-into-signal.exp:
11467 Replace gdb_test with gdb_test_no_output.
11468 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11469 * gdb.threads/watchthreads.exp: Ditto.
11470 * gdb.threads/watchthreads2.exp: Ditto.
11471
11472 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11473 * gdb.trace/tfind.exp: Ditto.
11474
11475 2010-06-03 Joel Brobecker <brobecker@adacore.com>
11476
11477 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11478 successful test if message is the empty string.
11479
11480 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11481
11482 * gdb.fortran/module.exp (stopped language detection): New test.
11483
11484 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11485
11486 Support DW_TAG_module as separate namespaces.
11487 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11488 gdb.fortran/library-module-lib.f90: New.
11489 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11490 (print i): Remove.
11491 (continue to breakpoint: i-is-1, print var_i value 1)
11492 (continue to breakpoint: i-is-2, print var_i value 2)
11493 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11494 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11495 (complete `modmany, complete `modmany`, complete `modmany`var)
11496 (show language, setting breakpoint at module): New tests.
11497 * gdb.fortran/module.f90 (module mod): Remove.
11498 (module mod1, module mod2, module modmany, subroutine sub1)
11499 (subroutine sub2, program module): New.
11500
11501 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11502
11503 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11504 (print value of rUC, print value of rI, print value of UI): ... here.
11505 * gdb.cp/anon-union.exp (pass): Rename to ...
11506 (print z 2): ... here.
11507
11508 2010-06-02 Michael Snyder <msnyder@vmware.com>
11509
11510 * gdb.trace/actions.exp: Use gdb_test_no_output.
11511 * gdb.trace/circ.exp: Ditto.
11512 * gdb.trace/packetlen.exp: Ditto.
11513 * gdb.trace/save-trace.exp: Ditto.
11514 * gdb.trace/tracecmd.exp: Ditto.
11515 * gdb.trace/tsv.exp: Ditto.
11516
11517 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11518 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11519 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11520 * gdb.threads/manythreads.exp: Ditto.
11521 * gdb.threads/print-threads.exp: Ditto.
11522 * gdb.threads/pthreads.exp: Ditto.
11523 * gdb.threads/schedlock.exp: Ditto.
11524 * gdb.threads/staticthreads.exp: Ditto.
11525 * gdb.threads/thread-specific.exp: Ditto.
11526 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11527 * gdb.threads/threadapply.exp: Ditto.
11528 * gdb.threads/watchthreads.exp: Ditto.
11529 * gdb.threads/watchthreads2.exp: Ditto.
11530
11531 * gdb.python/py-block.exp: Use gdb_test_no_output.
11532 * gdb.python/py-prettyprint.exp: Ditto.
11533 * gdb.python/py-template.exp: Ditto.
11534 * gdb.python/py-value.exp: Ditto.
11535
11536 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11537 * gdb.reverse/watch-reverse.exp: Ditto.
11538
11539 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11540 * gdb.server/ext-run.exp: Ditto.
11541
11542 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11543 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11544 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11545 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11546 * gdb.dwarf2/dw2-producer.exp: Ditto.
11547 * gdb.dwarf2/mac-fileno.exp: Ditto.
11548
11549 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11550 * gdb.gdb/selftest.exp: Ditto.
11551
11552 * gdb.multi/base.exp: Use gdb_test_no_output.
11553
11554 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11555
11556 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11557
11558 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11559
11560 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11561
11562 * gdb.cp/class2.exp: Use gdb_test_no_output.
11563 * gdb.cp/classes.exp: Ditto.
11564 * gdb.cp/extern-c.exp: Ditto.
11565 * gdb.cp/inherit.exp: Ditto.
11566 * gdb.cp/maint.exp: Ditto.
11567 * gdb.cp/mb-inline.exp: Ditto.
11568 * gdb.cp/mb-templates.exp: Ditto.
11569 * gdb.cp/method2.exp: Ditto.
11570 * gdb.cp/misc.exp: Ditto.
11571 * gdb.cp/ovldbreak.exp: Ditto.
11572 * gdb.cp/punctuator.exp: Ditto.
11573 * gdb.cp/templates.exp: Ditto.
11574 * gdb.cp/virtbase.exp: Ditto.
11575
11576 * gdb.threads/attach-stopped.exp:
11577 Replace uses of send_gdb / gdb_expect.
11578 * gdb.threads/attachstop-mt.exp:
11579 Replace uses of send_gdb / gdb_expect.
11580 * gdb.threads/gcore-thread.exp:
11581 Replace uses of send_gdb / gdb_expect.
11582 * gdb.threads/hand-call-in-threads.exp:
11583 Replace uses of send_gdb / gdb_expect.
11584 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11585 * gdb.threads/print-threads.exp:
11586 Replace uses of send_gdb / gdb_expect.
11587 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11588 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11589 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11590
11591 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11592 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11593 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11594 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11595 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11596 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11597 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11598 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11599 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11600 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11601 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11602
11603 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11604
11605 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11606
11607 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11608
11609 * gdb.cp/koenig.exp: Added new test case.
11610 * gdb.cp/koenig.cc: Ditto.
11611
11612 2010-06-01 Michael Snyder <msnyder@vmware.com>
11613
11614 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11615 * gdb.base/arrayidx.exp: Ditto.
11616 * gdb.base/attach.exp: Ditto.
11617 * gdb.base/auxv.exp: Ditto.
11618 * gdb.base/bigcre.exp: Ditto.
11619 * gdb.base/break-always.exp: Ditto.
11620 * gdb.base/break-interp.exp: Ditto.
11621 * gdb.base/break.exp: Ditto.
11622 * gdb.base/breakpoint-shadow.exp: Ditto.
11623 * gdb.base/call-ar-st.exp: Ditto.
11624 * gdb.base/call-sc.exp: Ditto.
11625 * gdb.base/call-signal-resume.exp: Ditto.
11626 * gdb.base/callfuncs.exp: Ditto.
11627 * gdb.base/catch-syscall.exp: Ditto.
11628 * gdb.base/charset.exp: Ditto.
11629 * gdb.base/code-expr.exp: Ditto.
11630 * gdb.base/commands.exp: Ditto.
11631 * gdb.base/cond-expr.exp: Ditto.
11632 * gdb.base/condbreak.exp: Ditto.
11633 * gdb.base/cursal.exp: Ditto.
11634 * gdb.base/cvexpr.exp: Ditto.
11635 * gdb.base/default.exp: Ditto.
11636 * gdb.base/del.exp: Ditto.
11637 * gdb.base/detach.exp: Ditto.
11638 * gdb.base/display.exp: Ditto.
11639 * gdb.base/ena-dis-br.exp: Ditto.
11640 * gdb.base/eval-skip.exp: Ditto.
11641 * gdb.base/foll-fork.exp: Ditto.
11642 * gdb.base/foll-vfork.exp: Ditto.
11643 * gdb.base/frame-args.exp: Ditto.
11644 * gdb.base/funcargs.exp: Ditto.
11645 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11646 * gdb.base/gdbvars.exp: Ditto.
11647 * gdb.base/help.exp: Ditto.
11648 * gdb.base/ifelse.exp: Ditto.
11649 * gdb.base/included.exp: Ditto.
11650 * gdb.base/list.exp: Ditto.
11651 * gdb.base/macscp.exp: Ditto.
11652 * gdb.base/maint.exp: Ditto.
11653 * gdb.base/multi-fork.exp: Ditto.
11654 * gdb.base/overlays.exp: Ditto.
11655 * gdb.base/page.exp: Ditto.
11656 * gdb.base/pending.exp: Ditto.
11657 * gdb.base/pointers.exp: Ditto.
11658 * gdb.base/pr11022.exp: Ditto.
11659 * gdb.base/prelink.exp: Ditto.
11660 * gdb.base/printcmds.exp: Ditto.
11661 * gdb.base/psymtab.exp: Ditto.
11662 * gdb.base/randomize.exp: Ditto.
11663 * gdb.base/relational.exp: Ditto.
11664 * gdb.base/relocate.exp: Ditto.
11665 * gdb.base/remote.exp: Ditto.
11666 * gdb.base/sepdebug.exp: Ditto.
11667 * gdb.base/set-lang-auto.exp: Ditto.
11668 * gdb.base/setshow.exp: Ditto.
11669 * gdb.base/setvar.exp: Ditto.
11670 * gdb.base/signals.exp: Ditto.
11671 * gdb.base/signull.exp: Ditto.
11672 * gdb.base/sigstep.exp: Ditto.
11673 * gdb.base/sizeof.exp: Ditto.
11674 * gdb.base/solib-disc.exp: Ditto.
11675 * gdb.base/store.exp: Ditto.
11676 * gdb.base/structs.exp: Ditto.
11677 * gdb.base/structs2.exp: Ditto.
11678 * gdb.base/subst.exp: Ditto.
11679 * gdb.base/term.exp: Ditto.
11680 * gdb.base/trace-commands.exp: Ditto.
11681 * gdb.base/unwindonsignal.exp: Ditto.
11682 * gdb.base/valgrind-db-attach.exp: Ditto.
11683 * gdb.base/varargs.exp: Ditto.
11684 * gdb.base/watch-cond.exp: Ditto.
11685 * gdb.base/watch_thread_num.exp: Ditto.
11686 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11687 * gdb.base/watchpoint.exp: Ditto.
11688 * gdb.base/whatis-exp.exp: Ditto.
11689
11690 2010-06-01 Michael Snyder <msnyder@vmware.com>
11691
11692 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11693 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11694 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11695 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11696 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11697 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11698 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11699 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11700 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11701 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11702 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11703 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11704 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11705 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11706 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11707
11708 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11709
11710 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11711 trailing newline.
11712 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11713 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11714 (p *args): ... here and remove excessive trailing newline.
11715
11716 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11717
11718 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11719
11720 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11721
11722 Accept the new Linux kernel "t (tracing stop)" string.
11723 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11724 Update comment.
11725 (state_wait) <T (tracing stop)>: New.
11726 (main): Update the state_wait expect string.
11727
11728 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11729
11730 * limits.c, limits.exp: Delete files.
11731 * Makefile.in (clean mostlyclean): Adjust.
11732 * tracecmd.exp: Adjust.
11733
11734 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11735
11736 * gdb.base/tui-layout.exp: New.
11737
11738 2010-05-28 Michael Snyder <msnyder@vmware.com>
11739
11740 * gdb.reverse/break-precsave.exp:
11741 Replace uses of send_gdb / gdb_expect.
11742 * gdb.reverse/break-reverse.exp:
11743 Replace uses of send_gdb / gdb_expect.
11744 * gdb.reverse/consecutive-precsave.exp:
11745 Replace uses of send_gdb / gdb_expect.
11746 * gdb.reverse/consecutive-reverse.exp:
11747 Replace uses of send_gdb / gdb_expect.
11748 * gdb.reverse/finish-precsave.exp:
11749 Replace uses of send_gdb / gdb_expect.
11750 * gdb.reverse/finish-reverse.exp:
11751 Replace uses of send_gdb / gdb_expect.
11752 * gdb.reverse/i386-precsave.exp:
11753 Replace uses of send_gdb / gdb_expect.
11754 * gdb.reverse/i386-reverse.exp:
11755 Replace uses of send_gdb / gdb_expect.
11756 * gdb.reverse/i386-sse-reverse.exp:
11757 Replace uses of send_gdb / gdb_expect.
11758 * gdb.reverse/i387-env-reverse.exp:
11759 Replace uses of send_gdb / gdb_expect.
11760 * gdb.reverse/i387-stack-reverse.exp:
11761 Replace uses of send_gdb / gdb_expect.
11762 * gdb.reverse/machinestate-precsave.exp:
11763 Replace uses of send_gdb / gdb_expect.
11764 * gdb.reverse/machinestate.exp:
11765 Replace uses of send_gdb / gdb_expect.
11766 * gdb.reverse/sigall-precsave.exp:
11767 Replace uses of send_gdb / gdb_expect.
11768 * gdb.reverse/sigall-reverse.exp:
11769 Replace uses of send_gdb / gdb_expect.
11770 * gdb.reverse/solib-precsave.exp:
11771 Replace uses of send_gdb / gdb_expect.
11772 * gdb.reverse/solib-reverse.exp:
11773 Replace uses of send_gdb / gdb_expect.
11774 * gdb.reverse/step-precsave.exp:
11775 Replace uses of send_gdb / gdb_expect.
11776 * gdb.reverse/step-reverse.exp:
11777 Replace uses of send_gdb / gdb_expect.
11778 * gdb.reverse/until-precsave.exp:
11779 Replace uses of send_gdb / gdb_expect.
11780 * gdb.reverse/until-reverse.exp:
11781 Replace uses of send_gdb / gdb_expect.
11782 * gdb.reverse/watch-precsave.exp:
11783 Replace uses of send_gdb / gdb_expect.
11784 * gdb.reverse/watch-reverse.exp:
11785 Replace uses of send_gdb / gdb_expect.
11786
11787 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11788
11789 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11790 excessive newline.
11791
11792 2010-05-27 Michael Snyder <msnyder@vmware.com>
11793
11794 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11795 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11796 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11797 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11798 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11799 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11800 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11801 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11802 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11803 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11804 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11805 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11806 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11807 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11808 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11809 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11810 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11811 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11812 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11813
11814 2010-05-26 Michael Snyder <msnyder@vmware.com>
11815
11816 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11817 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11818
11819 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11820 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11821 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11822
11823 * gdb.reverse/consecutive-reverse.exp:
11824 Replace uses of send_gdb / gdb_expect.
11825 * gdb.reverse/consecutive-precsave.exp:
11826 Replace uses of send_gdb / gdb_expect.
11827
11828 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11829 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11830 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11831 * gdb.mi/mi-ns-stale-regcache.exp:
11832 Replace uses of send_gdb / gdb_expect.
11833 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11834 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11835 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11836 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11837 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11838 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11839 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11840 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11841 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11842
11843 2010-05-26 Michael Snyder <msnyder@vmware.com>
11844
11845 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11846
11847 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11848
11849 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11850 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11851 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11852 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11853 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11854 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11855 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11856 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11857 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11858
11859 2010-05-25 Tom Tromey <tromey@redhat.com>
11860
11861 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11862
11863 2010-05-25 Tom Tromey <tromey@redhat.com>
11864
11865 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11866 argument order.
11867 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11868 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11869 order.
11870 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11871 order.
11872 * gdb.base/call-sc.exp (setup_kfails): Remove.
11873 (setup_compiler_kfails): Remove.
11874 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11875 argument order.
11876 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11877 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11878 (advancei): Fix setup_kfail argument order.
11879 * gdb.base/radix.exp: Fix setup_kfail argument order.
11880 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11881 order.
11882 * gdb.base/structs.exp (setup_kfails): Remove.
11883 (setup_compiler_kfails): Fix setup_kfail argument order.
11884 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11885 order.
11886 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11887 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11888 setup_kfail argument order.
11889 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11890
11891 2010-05-25 Tom Tromey <tromey@redhat.com>
11892
11893 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11894
11895 2010-05-25 Michael Snyder <msnyder@vmware.com>
11896
11897 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11898 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11899 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11900 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11901 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11902 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11903 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11904 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11905 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11906 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11907 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11908 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11909 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11910 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11911 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11912 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11913 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11914 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11915 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11916 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11917 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11918 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11919 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11920 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11921 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11922 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11923 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11924 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11925 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11926 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11927 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11928 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11929 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11930 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11931 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11932 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11933 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11934 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11935 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11936 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11937 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11938 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11939 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11940 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11941 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11942 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11943 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11944 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11945
11946 2010-05-25 Doug Evans <dje@google.com>
11947
11948 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11949 gdb.string_to_argv.
11950
11951 2010-05-21 Tom Tromey <tromey@redhat.com>
11952
11953 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11954 Call it.
11955 * gdb.dwarf2/pieces.S: Update.
11956 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11957
11958 2010-05-21 Tom Tromey <tromey@redhat.com>
11959
11960 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11961 Call it.
11962 * gdb.dwarf2/pieces.c (struct C): New.
11963 (f6): New function.
11964 * gdb.dwarf2/pieces.S: Replace.
11965
11966 2010-05-21 Tom Tromey <tromey@redhat.com>
11967
11968 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11969 Call it.
11970
11971 2010-05-21 Tom Tromey <tromey@redhat.com>
11972
11973 * gdb.dwarf2.pieces.exp: New file.
11974 * gdb.dwarf2.pieces.S: New file.
11975 * gdb.dwarf2.pieces.c: New file.
11976
11977 2010-05-20 Pedro Alves <pedro@codesourcery.com>
11978 Joel Brobecker <brobecker@adacore.com>
11979
11980 * lib/gdb.exp (gdb_test_no_output): New function.
11981 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11982 when testing commands that should produce no output.
11983
11984 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11985
11986 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11987 parameter that we want to watch being a constant.
11988
11989 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11990
11991 * gdb.ada/cond_lang: New testcase.
11992
11993 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11994
11995 * lib/gdb.exp (banned_variables): New variable/constant.
11996 (gdb_init): Add write trace on variables listed in banned_variables.
11997 (gdb_finish): Remove write traces on variables listed in
11998 banned_variables.
11999
12000 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12001
12002 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
12003 * gdb.cp/koenig.exp: Likewise.
12004
12005 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
12006
12007 PR python/11482
12008
12009 * gdb.python/py-value.exp (test_value_hash): New function.
12010
12011 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
12012
12013 PR exp/11530.
12014 * gdb.base/gdb11530.c: New file.
12015 * gdb.base/gdb11530.exp: New file.
12016
12017 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12018
12019 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
12020 * gdb.dwarf2/dw2-modula2-self-type.S: New.
12021
12022 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
12023
12024 * gdb.cp/koenig.exp: New test.
12025 * gdb.cp/koenig.cc: New test program.
12026
12027 2010-05-05 Joel Brobecker <brobecker@adacore.com>
12028
12029 Remove the use of prms_id and bug_id throughout the testsuite.
12030
12031 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12032
12033 PR exp/11349.
12034 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12035 use a reference local variable.
12036
12037 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12038
12039 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12040 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12041 variable different_dir. Move debugfile into a full directory pathname
12042 under DIFFERENT_DIR.
12043 * lib/gdb.exp (separate_debug_filename): Remove.
12044 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12045 variable debug_dir and mkdir of it. Update function comments.
12046
12047 2010-04-29 Pedro Alves <pedro@codesourcery.com>
12048
12049 PR gdb/11557
12050
12051 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12052 files.
12053
12054 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12055
12056 * gdb.python/py-param.exp: New File.
12057
12058 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12059
12060 * gdb.base/default.exp: Fix "set language" test.
12061
12062 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12063
12064 PR breakpoints/11531.
12065 * gdb.base/gdb11531.c: New file.
12066 * gdb.base/gdb11531.exp: New file.
12067
12068 2010-04-26 Tom Tromey <tromey@redhat.com>
12069
12070 * gdb.base/completion.exp: Add tests for completion and deprecated
12071 commands.
12072
12073 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12074
12075 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12076 (print /x char_array): Escape curly brackets.
12077
12078 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12079
12080 Fix deadlock on looped list of loaded shared objects.
12081 * gdb.base/solib-corrupted.exp: New.
12082
12083 2010-04-23 Doug Evans <dje@google.com>
12084
12085 * gdb.python/py-section-script.c: New file.
12086 * gdb.python/py-section-script.exp: New file.
12087 * gdb.python/py-section-script.py: New file.
12088
12089 2010-04-20 Chris Moller <cmoller@redhat.com>
12090
12091 PR 10179
12092
12093 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12094 * gdb.base/pr10179-a.c:
12095 * gdb.base/pr10179-b.c:
12096 * gdb.base/pr10179.exp: New files.
12097
12098 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12099
12100 Fix crashes on dangling display expressions.
12101 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12102 is SEP.
12103 (lib_flags): Remove the "debug" keyword.
12104 (libsepdebug): New variable for iterating new loop.
12105 (save_pf_prefix): New variable wrapping the loop.
12106 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12107 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12108
12109 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12110
12111 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12112
12113 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12114
12115 PR stabs/11479.
12116 * gdb.stabs/gdb11479.exp: New file.
12117 * gdb.stabs/gdb11479.c: New file.
12118
12119 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12120
12121 * gdb.base/charset.c (Strin16, String32): New variables.
12122 * gdb.base/charset.exp (gdb_test): Test correct display
12123 of 16 or 32 bit strings.
12124
12125 2010-04-21 Chris Moller <cmoller@redhat.com>
12126
12127 PR 9167
12128 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12129 * gdb.cp/pr9167.cc: New file.
12130 * gdb.cp/pr9167.exp: New file.
12131
12132
12133 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12134
12135 PR pascal/11492.
12136 * gdb.pascal/gdb11492.pas: New file.
12137 * gdb.pascal/gdb11492.exp: New file.
12138
12139 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12140
12141 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
12142
12143 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12144
12145 * gdb.ada/dyn_loc: New testcase.
12146
12147 2010-04-20 Chris Moller <cmoller@redhat.com>
12148
12149 PR 10867
12150
12151 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12152 * gdb.cp/pr10687.cc: New file.
12153 * gdb.cp/pr10687.exp: New file.
12154
12155
12156 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12157 Sergio Durigan Junior <sergiodj@redhat.com>
12158
12159 * gdb.fortran/logical.exp: New testcase.
12160 * gdb.fortran/logical.f90: New file.
12161
12162 2010-04-19 Doug Evans <dje@google.com>
12163
12164 * gdb.base/help.exp (help source): Update expected output.
12165
12166 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12167
12168 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12169 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12170 gdb_exit and return.
12171 (executable): New variable.
12172 (binfile): Use it.
12173
12174 2010-04-19 Pedro Alves <pedro@codesourcery.com>
12175
12176 PR breakpoints/8554.
12177
12178 * gdb.trace/save-trace.exp: Adjust.
12179
12180 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 PR corefiles/11511
12183 * gdb.arch/system-gcore.exp: New.
12184 * gdb.arch/gcore.c: Likewise.
12185
12186 2010-04-15 Doug Evans <dje@google.com>
12187
12188 * gdb.python/py-progspace.c: New file.
12189 * gdb.python/py-progspace.exp: New file.
12190
12191 * gdb.base/source.exp: Add tests for "source -s".
12192
12193 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12194
12195 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12196 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12197 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12198 * gdb.python/py-mi.exp: New test for to_string returning None.
12199
12200 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12201
12202 * gdb.python/py-breakpoint.c: Make result global.
12203
12204 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12205
12206 Fix non-GNU make compatibility.
12207 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12208
12209 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12210
12211 * gdb.python/py-breakpoint.exp: New File.
12212 * gdb.python/py-breakpoint.C: Ditto.
12213
12214 2010-04-08 Stan Shebs <stan@codesourcery.com>
12215
12216 * gdb.trace/actions.exp: Clear default-collect.
12217 * gdb.trace/save-trace.exp: Clear default-collect.
12218
12219 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12220
12221 * gdb.python/py-value: Add null string variable.
12222 (test_lazy_string): Test zero length, NULL address lazy
12223 strings.
12224
12225 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12226
12227 * gdb.arch/i386-avx.c: New.
12228 * gdb.arch/i386-avx.exp: Likewise.
12229
12230 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12231
12232 2010-04-06 Doug Evans <dje@google.com>
12233
12234 * gdb.base/source-test.gdb: New file.
12235 * gdb.base/source.exp: Test source -v.
12236
12237 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12238
12239 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12240
12241 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12242
12243 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12244 within one line, unless it is followed by a double quote.
12245 * gdb.stabs/hppa.sed: Idem.
12246 * gdb.stabs/weird.def: Add char and String constants
12247 * gdb.stabs/weird.exp: Check for correct parsing of
12248 char and string constants.
12249 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12250 in .stabs to .stabx substitution.
12251
12252 2010-04-05 Stan Shebs <stan@codesourcery.com>
12253
12254 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12255 constant global.
12256 * gdb.trace/tfile.exp: Try to print them.
12257
12258 2010-04-04 Stan Shebs <stan@codesourcery.com>
12259
12260 * gdb.base/completion.exp: Update for new "info watchpoints".
12261 * gdb.base/default.exp: Ditto.
12262 * gdb.base/help.exp: Ditto.
12263 * gdb.base/watchpoint.exp: Ditto.
12264 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
12265
12266 2010-04-04 Stan Shebs <stan@codesourcery.com>
12267
12268 * gdb.trace/tfile.exp: Sharpen tfind test.
12269
12270 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12271
12272 * gdb.base/break-entry.exp: New.
12273
12274 2010-04-02 Hui Zhu <teawater@gmail.com>
12275 Michael Snyder <msnyder@vmware.com>
12276
12277 * gdb.reverse/i386-sse-reverse.exp: New file.
12278 * gdb.reverse/i386-sse-reverse.c: New file.
12279
12280 2010-04-02 Pedro Alves <pedro@codesourcery.com>
12281
12282 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12283
12284 2010-04-01 Stan Shebs <stan@codesourcery.com>
12285
12286 * gdb.trace/actions.exp: Tweak expected output.
12287 * gdb.trace/while-stepping.exp: Tweak expected output.
12288
12289 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12290
12291 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12292
12293 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12294
12295 * gdb.base/commands.exp: Adjust.
12296 * gdb.cp/extern-c.exp: Adjust.
12297
12298 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12299
12300 * gdb.trace/collection.c (local_test_func): Define a local struct,
12301 and instanciate it.
12302
12303 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12304
12305 * gdb.trace/collection.exp (gdb_collect_args_test)
12306 (gdb_collect_argarray_test): XFAIL the tests that assume the
12307 argarray argument's elements are collected.
12308
12309 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12310
12311 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12312 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12313
12314 2010-03-31 Stan Shebs <stan@codesourcery.com>
12315
12316 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12317 and tracepoint conditionals.
12318 (gdb_verify_tracepoints): Delete unused return.
12319
12320 2010-03-26 Keith Seitz <keiths@redhat.com>
12321
12322 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12323 appear in the output before main.
12324 Remove KFAIL for gdb/2215 aka bz 9320.
12325
12326 2010-03-30 Doug Evans <dje@google.com>
12327
12328 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12329 by dejagnu.
12330 * gdb.arch/amd64-dword.exp: Ditto.
12331
12332 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12333 match.
12334 (break printf): Ditto.
12335
12336 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12337
12338 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12339 gcc < 4.4.
12340 * gdb.cp/shadow.exp: Ditto.
12341
12342 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12343
12344 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12345 "tstart" is silent.
12346
12347 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12348
12349 * gdb.trace/collection.exp (executable): New.
12350 (binfile): Use it.
12351 (fpreg, spreg, pcreg): New.
12352 (test_register): Use gdb_test_multiple. Pass /x to print.
12353 (prepare_for_trace_test): New.
12354 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12355 (gdb_collect_args_test, gdb_collect_argstruct_test)
12356 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12357 prepare_for_trace_test.
12358 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12359 fpreg, spreg and pcreg.
12360 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12361 prepare_for_trace_test.
12362 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12363 try to detect tracing support here. Don't set breakpoints at
12364 `begin' or `end' here.
12365 <global scope>: Use clean_restart. Run to main before checking
12366 for tracing support. Check for for tracing support here.
12367
12368 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12369
12370 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12371 " as $displacement" to "seen displacement message".
12372
12373 2010-03-28 Pedro Alves <pedro@codesourcery.com>
12374
12375 * gdb.trace/while-dyn.exp (executable): New variable.
12376 (binfile): Use it.
12377 (test_while_stepping): New function. Move most tests here. Call
12378 it once for each of the while-stepping, stepping and ws aliases.
12379
12380 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12381
12382 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12383 that do not provide the tagless_struct type name at all.
12384 (test_print_anon_union): Do not check value of uninitialized
12385 union member. Do not use cp_test_ptype_class, so we can accept
12386 "long" as well as "long int".
12387
12388 2010-03-26 Pedro Alves <pedro@codesourcery.com>
12389
12390 * gdb.trace/tfile.c (tohex, bin2hex): New.
12391 (write_error_trace_file): Hexify error description.
12392
12393 2010-03-25 Stan Shebs <stan@codesourcery.com>
12394
12395 * gdb.trace/tfile.c: Generate an additional trace file, improve
12396 portability.
12397 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12398 files in a better way.
12399
12400 2010-03-25 Keith Seitz <keiths@redhat.com>
12401
12402 * gdb.java/jprint.exp: XFAIL printing of static class members
12403 because of GCC debuginfo problem.
12404
12405 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12406
12407 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12408
12409 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12410
12411 * gdb.base/completion.exp: Allow long instead of long int.
12412 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12413 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12414 variable p.
12415 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12416 * gdb.base/pointers.exp: Allow long instead of long int.
12417 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12418 * gdb.base/step-line.exp: Allow a directory before the source file name.
12419
12420 2010-03-24 Tom Tromey <tromey@redhat.com>
12421
12422 PR breakpoints/9352:
12423 * gdb.base/default.exp: Update.
12424 * gdb.base/commands.exp: Update.
12425 * gdb.cp/extern-c.exp: Test setting commands on multiple
12426 breakpoints at once.
12427
12428 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12429
12430 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12431 if gdb,nosignals.
12432 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12433 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12434 exited".
12435
12436 2010-03-24 Stan Shebs <stan@codesourcery.com>
12437
12438 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12439
12440 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12441
12442 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12443 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12444 argument. Handle "short" and "long".
12445 (Top level): Pass overprototyped output for old_fptr and xptr.
12446
12447 2010-03-23 Pedro Alves <pedro@codesourcery.com>
12448
12449 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12450 format strings and add casts to avoid compiler warnings.
12451
12452 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12453
12454 * lib/trace-support.exp (gdb_trace_setactions):
12455 Don't expect whitespace after ">" prompt.
12456 * gdb.trace/actions.exp: Adjust for output changes.
12457 * gdb.trace/while-stepping.exp: Likewise.
12458
12459 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12460
12461 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12462 and r157645).
12463
12464 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12465
12466 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12467 New.
12468
12469 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12470
12471 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12472 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12473
12474 2010-03-19 Stan Shebs <stan@codesourcery.com>
12475
12476 * gdb.trace/ax.exp: New file.
12477
12478 2010-03-19 Doug Evans <dje@google.com>
12479
12480 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12481 output from gcc.
12482
12483 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12484 named /usr/sbin/prelink<foo>.
12485
12486 2010-03-18 Stan Shebs <stan@codesourcery.com>
12487
12488 * gdb.trace/circ.exp: Test circular-trace-buffer.
12489 * gdb.trace/tfile.exp: Update tstatus test.
12490
12491 2010-03-18 Joel Brobecker <brobecker@adacore.com>
12492
12493 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12494 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12495
12496 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12497
12498 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12499
12500 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12501
12502 * gdb.base/default.exp: Adjust the expected output of the finish
12503 and until commands when the inferior is not being run.
12504
12505 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12506
12507 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12508 * gdb.cp/nsusing.exp: Ditto.
12509
12510 2010-03-15 Tom Tromey <tromey@redhat.com>
12511
12512 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12513 * gdb.cp/userdef.cc (operator==): New function.
12514 (main): New locals mem1, mem2.
12515
12516 2010-03-15 Jie Zhang <jie@codesourcery.com>
12517
12518 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12519 Declare and use new loadtimeout variable.
12520
12521 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12522
12523 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12524 Use gdb_load later.
12525
12526 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12527
12528 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12529 literal. Add missing endlines to prints to stderr.
12530
12531 2010-03-12 Tom Tromey <tromey@redhat.com>
12532
12533 PR c++/9708:
12534 * gdb.cp/m-static.exp: Add regression test.
12535 * gdb.cp/m-static.cc (method): New method.
12536 (main): Call it.
12537
12538 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12539
12540 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12541 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12542
12543 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12544
12545 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12546
12547 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12548
12549 * lib/gdb.exp (skip_stl_tests): New.
12550 (gdb_compile): Symbian needs -ldl.
12551 (shlib_target_file): New.
12552 (shlib_symbol_file): New.
12553 (gdb_load_shlibs): Use shlib_target_file.
12554 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12555 * gdb.cp/exception.exp: Use skip_stl_tests.
12556 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12557 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12558 * gdb.cp/mb-templates.exp: Ditto.
12559 * gdb.base/commands.exp: Relax regexes.
12560 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12561 shlib_target_file and shlib_symbol_file.
12562 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12563 sections.
12564 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12565 * gdb.base/solib-disc.exp: Use
12566 shlib_target_file and shlib_symbol_file.
12567 * gdb.base/unload.exp: Don't skip on symbian. Use
12568 shlib_target_file and shlib_symbol_file.
12569 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12570
12571 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12572
12573 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12574 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12575 Issue a tfind end before looking for a tracepoint frame.
12576 * gdb.trace/tfind.exp: Adjust tstatus output.
12577 Adjust disassembly output.
12578 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12579
12580 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12581
12582 * gdb.base/break-interp.exp: Create new displacement parameter value
12583 for the test_ld calls.
12584 (reach): New parameter displacement, verify its content. New push of
12585 pf_prefix "reach-$func:". Import global expect_out.
12586 (test_core): New parameter displacement, verify its content. New push
12587 of pf_prefix "core:". New command "set verbose on". Import global
12588 expect_out.
12589 (test_attach): New parameter displacement, verify its content. New
12590 push of pf_prefix "attach:". New command "set verbose on". Import
12591 global expect_out.
12592 (test_ld): New parameter displacement, pass it to the reach, test_core
12593 and test_attach calls and verify its content in the "ld.so exit" test.
12594 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12595 (prelink): Update expected text, use gdb_test.
12596
12597 2010-03-10 Doug Evans <dje@google.com>
12598
12599 * gdb.base/checkpoint.exp: Fix comment.
12600 Lengthen timeout while doing >600 checkpoints test.
12601 Rename duplicate "kill all one" test to keep test names unique.
12602
12603 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12604
12605 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12606
12607 2010-03-08 Keith Seitz <keiths@redhat.com>
12608
12609 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12610 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12611 (dm_type_long): New function.
12612 (dm_type_unsigned_short): New function.
12613 (dm_type_unsigned_long): New function.
12614 (myint): New typedef.
12615 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12616 long, unsigned shor and long, operator char*, and typedef.
12617 (test_lookup_operator_functions): Add operator char* test.
12618 (test_paddr_operator_functions): Likewise.
12619 (test_paddr_overloaded_functions): Use probe values for
12620 short, long, and unsigned short and long.
12621 (test_paddr_hairy_functions): If the demangler probe detected
12622 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12623 demangler.
12624 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12625 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12626 and "print null_pmf".
12627 Add test "ptype a.*pmf".
12628 * gdb.cp/overload.exp: Allow optional "int" to appear with
12629 "short" and "long".
12630 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12631 long expect value for men_overload1arg.
12632 Allow "int" to appear with "short" and "long".
12633 When testing "info break", add argument for main (void).
12634 Also allow "int" to appear with "short" and "long".
12635 Ditto with "unsigned" and "long long".
12636 * gdb.java/jmain.exp: Do not enclose methods names in single
12637 quotes.
12638 * gdb.java/jmisc.exp: Likewise.
12639 * gdb.java/jprint.exp: Likewise.
12640 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12641
12642 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12643 * gdb.cp/exception.exp (backtrace after first throw)
12644 (backtrace after second throw): Allow a namespace before __cxa_throw.
12645 (backtrace after first catch, backtrace after second catch): Allow
12646 a namespace before __cxa_begin_catch.
12647
12648 * gdb.cp/cpexprs.exp: New file.
12649 * gdb.cp/cpexprs.cc: New file.
12650
12651 From Daniel Jacobowitz <dan@codesourcery.com>
12652 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12653 to use string_to_regexp.
12654 (ctor, dtor): New functions. Use them to match constructor
12655 and destructor function types.
12656 (Top level): Use runto_main.
12657
12658 2010-03-05 Tom Tromey <tromey@redhat.com>
12659
12660 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12661 gdb.target_charset.
12662 (pp_ns.to_string): Likewise.
12663
12664 2010-03-04 Keith Seitz <keiths@redhat.com>
12665
12666 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12667 can be quoted. Test that both the filename and function/line
12668 portions can be quoted at the same time.
12669
12670 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12671
12672 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12673
12674 2010-03-03 Doug Evans <dje@google.com>
12675
12676 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12677 libc contains libpthread.
12678
12679 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12680 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12681 of gdb_compile. Add another pattern to match android backtrace.
12682
12683 2010-03-03 Tom Tromey <tromey@redhat.com>
12684
12685 PR gdb/11345:
12686 * gdb.base/printcmds.exp (test_printf): Add test.
12687
12688 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 * gdb.arch/amd64-byte.exp: New.
12691 * gdb.arch/amd64-dword.exp: Likewise.
12692 * gdb.arch/amd64-pseudo.c: Likewise.
12693 * gdb.arch/amd64-word.exp: Likewise.
12694 * gdb.arch/i386-byte.exp: Likewise.
12695 * gdb.arch/i386-pseudo.c: Likewise.
12696 * gdb.arch/i386-word.exp: Likewise.
12697
12698 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12699
12700 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12701 types. Add structreg, bitfields, and flags registers.
12702 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12703 registers.
12704
12705 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12706
12707 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12708 (load_description): Set architecture if defined.
12709
12710 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12711
12712 * gdb.python/py-frame.exp: Add read_var block tests.
12713 * gdb.python/py-frame.c (block): New function.
12714
12715 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12716 Daniel Jacobowitz <dan@codesourcery.com>
12717
12718 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12719
12720 2010-02-25 David S. Miller <davem@davemloft.net>
12721
12722 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12723 fix logic for setting all_syscalls_numbers.
12724
12725 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12726
12727 * Makefile.in: Add py-block and py-symbol.
12728 * gdb.python/py-symbol.exp: New File.
12729 * gdb.python/py-symtab.exp: New File.
12730 * gdb.python/py-block.exp: New File.
12731 * gdb.python/py-symbol.c: New File.
12732 * gdb.python/py-block.c: New File.
12733
12734 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12735
12736 PR python/11314
12737 * lib/gdb.exp (skip_python_tests): New function.
12738 * gdb.python/py-cmd.exp: Use skip_python_tests.
12739 * gdb.python/py-frame.exp: Likewise.
12740 * gdb.python/py-function.exp: Likewise.
12741 * gdb.python/py-prettyprint.exp: Likewise.
12742 * gdb.python/py-template.exp: Likewise.
12743 * gdb.python/py-type.exp: Likewise.
12744 * gdb.python/py-value.exp: Likewise.
12745
12746 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12747
12748 PR9605
12749
12750 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12751
12752 2010-02-19 Tom Tromey <tromey@redhat.com>
12753
12754 PR c++/8693, PR c++/9496:
12755 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12756 regression tests.
12757
12758 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12759
12760 Fix compatibility with m68k as.
12761 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12762 Use only /* comments */.
12763
12764 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12765
12766 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12767 * configure: Regenerate.
12768
12769 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12770
12771 * gdb.python/py-type.exp: Check for Python support.
12772
12773 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12774
12775 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12776 `regsub' syntax available.
12777
12778 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12779
12780 * gdb.base/shmain.c (main): Remove printf call.
12781 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12782 * gdb.base/unload.c (main): Make format of fprintf a string
12783 literal. Add missing endlines to prints to stderr.
12784 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12785
12786 2010-02-17 Tom Tromey <tromey@redhat.com>
12787
12788 * gdb.java/jprint.java (jprint.props): New field.
12789 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12790
12791 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12792
12793 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12794 available.
12795
12796 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12797
12798 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12799 creation to support remote host testing.
12800
12801 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12802
12803 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12804 Recognize "command not found".
12805
12806 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12807
12808 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12809 single-stepping.
12810
12811 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12812
12813 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12814 if arguments are not supported.
12815
12816 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12817
12818 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12819 be const or non-const.
12820
12821 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12822
12823 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12824 mi_send_resuming_command to send -exec-continue.
12825
12826 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12827
12828 * gdb.base/list.exp (test_list_filename_and_function): Add test
12829 with single quotes.
12830 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12831 matching.
12832 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12833 Add KFAIL'd tests for PR gdb/11289.
12834
12835 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12836
12837 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12838
12839 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12840
12841 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12842 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12843 a temporary directory.
12844
12845 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12846
12847 * gdb.base/charset.exp: Use a single regular expression to match
12848 show host-charset and show target-charset output.
12849
12850 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12851
12852 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12853 "Illegal process-id" expect string more exact.
12854 (attach to digits-starting nonsense is prohibited): New.
12855
12856 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12857
12858 * gdb.base/prelink.exp (set verbose on): New.
12859
12860 2010-02-12 Tomas Holmberg <th@virtutech.com>
12861
12862 * mi-reverse.exp: New file. Test for reverse option to the
12863 following MI commands: exec-continue, exec-finish, exec-next,
12864 exec-step, exec-next-instruction, exec-step-instruction.
12865
12866 2010-02-09 Joel Brobecker <brobecker@adacore.com>
12867
12868 * gdb.ada/ptype_tagged_param: New testcase.
12869
12870 2010-02-08 Tom Tromey <tromey@redhat.com>
12871
12872 PR c++/8017:
12873 * gdb.cp/overload.exp: Add tests.
12874 * gdb.cp/overload.cc (struct K): New.
12875 (namespace N): New.
12876 (main): Call new functions.
12877 (K::staticoverload): Define.
12878
12879 2010-02-08 Chris Moller <moller@mollerware.com>
12880
12881 PR gdb/10728
12882 * gdb.cp/pr10728-x.h: New file.
12883 * gdb.cp/pr10728-x.cc: New file.
12884 * gdb.cp/pr10728-y.cc: New file.
12885 * gdb.cp/pr10728.exp: New file.
12886 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12887
12888 2010-02-08 Chris Moller <moller@mollerware.com>
12889
12890 PR gdb/9067
12891 * gdb.cp/pr9067.exp: New
12892 * gdb.cp/pr9067.cc: New
12893 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12894
12895 2010-02-08 Joel Brobecker <brobecker@adacore.com>
12896
12897 * lib/gdb.exp (gdb_test_timeout): New global variable.
12898 Set it to timeout if not already set.
12899 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12900
12901 2010-02-05 Doug Evans <dje@google.com>
12902
12903 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12904 user.
12905
12906 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12907
12908 PR c++/7935:
12909 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12910
12911 2010-02-04 Tom Tromey <tromey@redhat.com>
12912
12913 * gdb.cp/virtbase.exp: Make test case names unique.
12914
12915 2010-02-02 Tom Tromey <tromey@redhat.com>
12916
12917 * gdb.cp/virtbase.exp: Add regression tests.
12918 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12919 (main): Instantiate RHC.
12920
12921 2010-02-02 Tom Tromey <tromey@redhat.com>
12922
12923 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12924 type-printing change.
12925
12926 2010-02-02 Tom Tromey <tromey@redhat.com>
12927
12928 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12929 * gdb.cp/virtbase.cc: New file.
12930 * gdb.cp/virtbase.exp: New file.
12931 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12932
12933 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12934
12935 PR libc/11214:
12936 * gdb.threads/current-lwp-dead.c: Include features.h.
12937 (HAS_NOMMU): New.
12938 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12939
12940 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12941
12942 * gdb.base/symbol-without-target_section.exp,
12943 gdb.base/symbol-without-target_section.c: New.
12944
12945 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12946
12947 * gdb.base/bigcore.exp: Reset increased timeout.
12948 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12949
12950 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12951
12952 * gdb.base/gcore.exp (capture_command_output): Use
12953 gdb_test_multiple.
12954
12955 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12956
12957 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12958 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12959 (Top level): Call it.
12960
12961 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12962
12963 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12964
12965 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12966
12967 * gdb.base/call-strs.exp, gdb.base/default.exp,
12968 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12969 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12970 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12971 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12972 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12973 * gdb.base/ending-run.exp: Correct restore of timeout.
12974 * gdb.base/page.exp: Remove unnecessary timeout setting.
12975
12976 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12977
12978 * gdb.ada/rec_return: New testcase.
12979
12980 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12981
12982 * gdb.ada/call_pn: New testcase.
12983
12984 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12985
12986 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12987 (Top level): Use it to resume.
12988 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12989 the Thumb mode displaced stepping error as unsupported.
12990
12991 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12992
12993 * gdb.cp/nsusing.exp: Added more tests.
12994 * gdb.cp/nsrecurs.exp: Ditto.
12995 * gdb.cp/nsusing.cc: Added test functions.
12996 * gdb.cp/nsrecurs.cc: Ditto.
12997
12998 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12999
13000 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
13001 absolute directory pathnames in gdb.sum file.
13002
13003 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
13004
13005 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
13006 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
13007
13008 2010-01-26 Tom Tromey <tromey@redhat.com>
13009
13010 PR exp/7643:
13011 * gdb.base/printcmds.exp (test_print_string_constants): Remove
13012 setup_kfail.
13013
13014 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
13015
13016 * gdb.cp/nsrecurs.exp: New test.
13017 * gdb.cp/nsrecurs.cc: New test program.
13018 * gdb.cp/nsstress.exp: New test.
13019 * gdb.cp/nsstress.cc: New test program.
13020 * gdb.cp/nsdecl.exp: New test.
13021 * gdb.cp/nsdecl.cc: New test program.
13022
13023 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
13024
13025 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
13026 imported into file scope.
13027 Marked test as xfail.
13028 * gdb.cp/namespace-using.cc (marker5): New function.
13029 * gdb.cp/shadow.exp: New test.
13030 * gdb.cp/shadow.cc: New test program.
13031 * gdb.cp/nsimport.exp: New test.
13032 * gdb.cp/nsimport.cc: New test program.
13033
13034 2010-01-25 Tom Tromey <tromey@redhat.com>
13035
13036 PR gdb/11049:
13037 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13038 with "set print null-stop on".
13039
13040 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13041
13042 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13043 Adjust it for DISASSEMBLY_OMIT_FNAME.
13044
13045 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13046
13047 PR symtab/11199:
13048 * gdb.dwarf2/member-ptr-forwardref.exp,
13049 gdb.dwarf2/member-ptr-forwardref.S: New.
13050
13051 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13052
13053 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13054 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13055 thread1_tid_mutex. Remove gdbstop_mutex handling.
13056 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13057 thread2_tid_mutex. Remove gdbstop_mutex handling.
13058 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13059 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13060 pthread_cond_wait conditionalizations by while loops.
13061
13062 2010-01-20 Tom Tromey <tromey@redhat.com>
13063
13064 PR backtrace/10770:
13065 * gdb.dwarf2/pr10770.exp: New file.
13066 * gdb.dwarf2/pr10770.c: New file.
13067 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13068
13069 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13070
13071 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13072 that target was removed, and the test always runs native anyway.
13073
13074 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13075
13076 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13077 gdb.base/watchpoint-cond-gone-stripped.c: New.
13078
13079 2010-01-19 Tom Tromey <tromey@redhat.com>
13080
13081 PR c++/8000:
13082 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13083 existing tests.
13084 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13085 (main): Use AAA::SomeEnum.
13086
13087 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13088
13089 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13090 (test_ignore_count): Declare line_callme_body global.
13091 (run to breakpoint with ignore count): Use line_callme_body.
13092 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13093 (set line_main_hello, set line_main_return): Reindent.
13094 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13095 New.
13096 (continue to callee4): Use line_callee4_body.
13097 (check *stopped from CLI command): Use line_callee4_next.
13098 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13099 (set line_main_hello, set line_main_return): Reindent.
13100 (set line_callee4_head, set line_callee4_body): New.
13101 (continue to callee4): Use line_callee4_body.
13102
13103 2010-01-18 Tom Tromey <tromey@redhat.com>
13104
13105 PR c++/9680:
13106 * gdb.cp/casts.cc: Add new classes and variables.
13107 * gdb.cp/casts.exp: Test new operators.
13108
13109 2010-01-18 Tom Tromey <tromey@redhat.com>
13110 Thiago Jung Bauermann <bauerman@br.ibm.com>
13111
13112 * gdb.python/source2.py: New file.
13113 * gdb.python/source1: New file.
13114 * gdb.python/python.exp: Test "source" command.
13115
13116 2010-01-15 Stan Shebs <stan@codesourcery.com>
13117
13118 * gdb.trace/tfile.c: New file.
13119 * gdb.trace/tfile.exp: New file.
13120
13121 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13122
13123 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13124
13125 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13126
13127 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13128
13129 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13130
13131 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13132 (libfunc): New parameter action. Implement also selectable "sleep".
13133 * gdb.base/break-interp-main.c: Include assert.h.
13134 (libfunc): New parameter action.
13135 (main): New parameters argc and argv. Assert argc. Pass argv.
13136 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13137 (test_attach): New proc.
13138 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13139 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13140
13141 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13142
13143 * gdb.base/break-interp.exp (test_core): New proc.
13144 (test_ld): Call it.
13145
13146 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13147
13148 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13149 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13150 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13151 and gdb_compile_shlib. Use new -Wl compiler options.
13152 (dl bt, main bt): New tests.
13153
13154 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13155
13156 Support PIEs with no symfile_objfile.
13157 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13158 (test_ld): New parameter trynosym.
13159 (test_ld <$trynosym>): New block.
13160
13161 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13162
13163 * gdb.base/break-interp.exp: New file.
13164
13165 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13166
13167 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13168 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13169 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13170 test.
13171 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13172 * gdb.python/py-mi.exp: Add lazy string test.
13173
13174 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13175
13176 * lib/mi-support.exp (mi_check_thread_states): Handle
13177 core number in thread listing.
13178
13179 2010-01-12 Joel Brobecker <brobecker@adacore.com>
13180
13181 * gdb.base/maint.exp: Adjust the expected output for the
13182 "maint print type" test. Use gdb_test_multiple instead of
13183 gdb_sent/gdb_expect.
13184
13185 2010-01-11 Doug Evans <dje@google.com>
13186
13187 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13188 from gdbserver_download. All callers updated.
13189
13190 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13191
13192 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13193
13194 Implement binary numbers parsing.
13195 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13196 (test_integer_literals_rejected): New binary tests.
13197
13198 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13199
13200 * gdb.cell/configure: Regenerate.
13201
13202 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13203
13204 * gdb.base/corefile.exp: Move the core finding block out and call it as
13205 core_find, new variable $corefile, replace corefile by $corefile and
13206 [file tail $corefile] for usage vs. test names resp.
13207 * lib/gdb.exp (core_find): Move it as a new function here. New
13208 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13209 $destcore. Return "" on error.
13210
13211 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13212
13213 Workaround PR binutils/10802.
13214 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13215 (twice).
13216
13217 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13218
13219 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13220
13221 2010-01-08 Joel Brobecker <brobecker@adacore.com>
13222
13223 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13224 call, to avoid interruption.
13225
13226 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13227
13228 * gdb.stabs/weird.def (args93): New.
13229
13230 2010-01-07 Doug Evans <dje@google.com>
13231
13232 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13233
13234 2010-01-07 Tom Tromey <tromey@redhat.com>
13235
13236 * gdb.base/source.exp: Use correct line number.
13237
13238 2010-01-05 Stan Shebs <stan@codesourcery.com>
13239
13240 * gdb.trace/tracecmd.exp: Test ftrace.
13241
13242 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13243
13244 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13245
13246 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13247
13248 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13249 "uint_for_mi_testing".
13250
13251 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13252
13253 Test indented comment in file being sourced.
13254 * gdb.base/commands.exp: Test indented comment in file being sourced.
13255
13256 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13257
13258 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13259 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13260 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13261 notice.
13262
13263 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13264
13265 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13266 notice.
13267
13268 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13269
13270 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13271 missing $after_stopped and comma (,) expectation.
13272
13273 2009-12-31 Stan Shebs <stan@codesourcery.com>
13274
13275 * gdb.trace/actions.exp: Test teval action.
13276
13277 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13278
13279 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13280 (top level): Call test_watchpoint_in_big_blob.
13281 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13282 watchpoints.
13283 (func3): Write to buf.
13284
13285 2009-12-29 Stan Shebs <stan@codesourcery.com>
13286
13287 * gdb.trace/actions.exp: Test default-collect.
13288
13289 2009-12-28 Stan Shebs <stan@codesourcery.com>
13290
13291 * gdb.trace/tsv.exp: New file.
13292 * gdb.base/completion.exp: Update ambiguous info output.
13293
13294 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13295
13296 * gdb.base/find.c (main): Reference search buffers.
13297 * gdb.base/included.c (main): Reference integer.
13298 * gdb.base/ptype.c (charfoo): Declare.
13299 (intfoo): Call charfoo.
13300 * gdb.base/scope0.c (useitp): New function.
13301 (usestatics): Use useitp.
13302 (useit): Add a type for val.
13303 * gdb.base/scope1.c (useit1): Take a pointer argument.
13304 (usestatics1): Update calls to useit1.
13305 * gdb.cp/call-c.cc: Declare foo.
13306 (main): Call foo.
13307 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13308 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13309 (main): Call C::ensureRefs and ensureOtherRefs.
13310 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13311 variables.
13312 (ensureOtherRefs): New function.
13313 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13314 * gdb.cp/templates.cc (main): Call t5i.value.
13315
13316 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13317
13318 Fix compatibility with G++-4.5.
13319 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13320 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13321 (uncaught return): Remove.
13322
13323 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13324 Phil Muldoon <pmuldoon@redhat.com>
13325
13326 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13327 (bp_location13, bp_location14, bp_location17, bp_location18)
13328 (marker3_proto, marker4_proto): New variables.
13329 (breakpoint info): Update output.
13330 (run until breakpoint at marker3, run until breakpoint at marker4): New
13331 tests.
13332
13333 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13334
13335 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13336 Replace the printf call of Y by provided "y-set-1" label. New block
13337 for the second shared library.
13338 * gdb.base/unload.exp: Compile also the second library, call
13339 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13340 (single pending breakpoint info): Rename to ...
13341 (pending breakpoint info before run): ... this extended test.
13342 (libfile2, libname2, libsrcfile2, libsrc2)
13343 (lib_sl2): New variables.
13344 (exec_opts): Set also SHLIB_NAME2.
13345 (pending breakpoint info on first run at shrfunc1)
13346 (pending breakpoint info on second run at shrfunc1)
13347 (pending breakpoint info on second run at shrfunc2)
13348 (print y from libfile, print y from libfile2): New tests.
13349 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13350 * gdb.base/unloadshr2.c: New.
13351
13352 2009-12-22 Hui Zhu <teawater@gmail.com>
13353
13354 * gdb.reverse/sigall-reverse.exp: Adjust.
13355
13356 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13357
13358 PR gdb/10884
13359
13360 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13361 (main): Call do_bitfield_tests.
13362 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
13363
13364 2009-12-20 Joel Brobecker <brobecker@adacore.com>
13365
13366 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13367 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13368 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13369 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13370 gdb.modula2/unbounded1.c: Update copyright header.
13371
13372 2009-12-10 Chris Moller <moller@mollerware.com>
13373
13374 PR gdb/9399
13375 * gdb.cp/virtfunc2.exp: New tests
13376 * gdb.cp/virtfunc2.cc: New tests
13377 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13378
13379 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13380
13381 * gdb.reverse/i387-env-reverse.c: New file.
13382 * gdb.reverse/i387-env-reverse.exp: New file.
13383 * gdb.reverse/i387-stack-reverse.c: New file.
13384 * gdb.reverse/i387-stack-reverse.exp: New file.
13385
13386 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13387
13388 * gdb.python/py-type.exp (test_range): New test.
13389
13390 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13391
13392 PR python/10805
13393
13394 * gdb.python/py-type.exp: New file.
13395 * gdb.python/py-type.c: New file.
13396 * Makefile.in: Add py-type.
13397
13398 2009-12-03 Tom Tromey <tromey@redhat.com>
13399
13400 * gdb.python/py-value.exp (test_parse_and_eval): New
13401 function.
13402
13403 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13404
13405 PR gdb/11022
13406
13407 * gdb.base/pr11022.exp: New test.
13408 * gdb.base/pr11022.c: New test.
13409
13410 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13411
13412 Fix spurious false FAILs.
13413 * gdb.base/structs.c (chartest): New.
13414 (main): Fill-in chartest.
13415 * gdb.base/structs.exp (anychar_re, first): New.
13416 (start_structs_test): Import global anychar_re and first.
13417 New gdb_test call "set print elements 300; ${testfile}"
13418 (start_structs_test <$first>): New block.
13419 (any): Import global anychar_re. New variable ac. Use ${ac}.
13420
13421 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13422
13423 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13424
13425 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13426
13427 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13428 Force $srcfile file.
13429 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13430
13431 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13432
13433 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13434 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13435 * gdb.threads/watchthreads-reorder.exp: Likewise.
13436
13437 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13438
13439 PR gdb/8704
13440
13441 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13442 "if", and "thread". Correct matching in the previous test.
13443
13444 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13445
13446 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13447
13448 2009-11-23 Michael Snyder <msnyder@vmware.com>
13449
13450 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13451 * gdb.reverse-watch-precsave.exp: Ditto.
13452
13453 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13454
13455 * gdb.asm/asm-source.exp: Adjust.
13456 * gdb.base/help.exp: Adjust.
13457
13458 2009-11-22 Pedro Alves <pedro@codesourcery.com>
13459
13460 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13461 (do_syscall_tests_without_xml): Set data-directory to
13462 /the/path/to/nowhere.
13463
13464 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13465
13466 * gdb.threads/local-watch-wrong-thread.c,
13467 gdb.threads/local-watch-wrong-thread.exp: New files.
13468
13469 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13470
13471 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13472 assume new `regsub' syntax available.
13473
13474 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13475
13476 * gdb.base/watchpoint-hw-hit-once.exp,
13477 gdb.base/watchpoint-hw-hit-once.c: New.
13478
13479 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13480
13481 * gdb.threads/watchthreads-reorder.exp,
13482 gdb.threads/watchthreads-reorder.c: New.
13483
13484 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13485
13486 * gdb.xml/tdesc-regs.exp: Use for m68k.
13487
13488 2009-11-15 Pedro Alves <pedro@codesourcery.com>
13489
13490 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13491
13492 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13493
13494 * lib/gdb.exp (current_target_name): New procedure.
13495 (gdb_wrapper_target): New variable.
13496 (gdb_wrapper_init): Set gdb_wrapper_target.
13497 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13498 wrapper.
13499
13500 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13501
13502 * gdb.base/remote.exp: Delete the slowest load test.
13503 Do not load with fixed packet sizes.
13504
13505 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13506
13507 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13508
13509 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13510
13511 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13512 srcfile when setting a breakpoint.
13513
13514 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13515
13516 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13517 macros.
13518
13519 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13520
13521 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13522 to be in memory.
13523 * gdb.base/display.c (force_mem): New.
13524 (do_loops): Use it. Add breakpoint comments.
13525 (do_vars): Add a breakpoint comment.
13526 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13527 line numbers.
13528
13529 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13530
13531 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13532 instead of a bare "run".
13533
13534 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13535
13536 * gdb.python/py-prettyprint.exp: Adjust.
13537
13538 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13539
13540 * lib/cell.exp (skip_cell_tests): Clean up test files before
13541 returning.
13542
13543 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13544
13545 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13546 and the breakpoint menu. Do not call perror if a prompt is seen.
13547 Consume the following GDB prompt.
13548 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13549 * gdb.cp/namespace.exp: Use gdb_test.
13550 * gdb.cp/templates.exp: Use gdb_test.
13551 (test_template_breakpoints): Use gdb_test_multiple.
13552
13553 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13554
13555 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13556 (marker4): Reference values.
13557
13558 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13559
13560 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13561 is missing.
13562
13563 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13564
13565 * gdb.base/break.c (need_malloc): New.
13566 * gdb.base/constvars.c (main): Reference crass and crisp.
13567 * gdb.base/gdb1821.c (main): Reference bar.
13568 * gdb.cp/gdb1355.cc (main): Reference s1.
13569 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13570 (main): Call them.
13571 * gdb.cp/hang2.cc (dummy2): Define.
13572 * gdb.cp/hang3.cc (dummy3): Define.
13573 * gdb.cp/m-data.cc (main): Reference shadow.
13574
13575 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13576 Nathan Froyd <froydnj@codesourcery.com>
13577
13578 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13579 remote host.
13580
13581 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13582
13583 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13584 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13585 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13586 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13587 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13588 * gdb.dwarf2/dw2-producer.exp: Likewise.
13589 * gdb.dwarf2/mac-fileno.exp: Likewise.
13590 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13591 py-prettyprint.py to the remote host.
13592 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13593
13594 2009-11-11 Keith Seitz <keiths@redhat.com>
13595
13596 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13597 use it instead of "Foo".
13598 * gdb.cp/classes.exp (do_tests): Add a test to access
13599 a method through a typedef'd class name.
13600
13601 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13602
13603 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13604 exponents.
13605 * gdb.base/pointers.exp: Likewise.
13606 * gdb.cp/ref-types.exp: Likewise.
13607
13608 2009-11-11 Keith Seitz <keiths@redhat.com>
13609
13610 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13611 new[] and delete[].
13612 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13613 "void".
13614 (probe_demangler): Remove all single-quoting of
13615 method and variable names.
13616 (info_func_regexp): Remove the word "void" from any
13617 occurrence of "(void)".
13618 (print_addr_2): Remove all single-quoting of
13619 method names.
13620 (print_addr_2_kfail): Likewise.
13621 (print_addr): Single-quote C function names before
13622 passing to print_addr_2.
13623 (test_paddr_operator_functions): Remove single-quoting
13624 for method names.
13625 Add tests for operator new[] and operator delete[].
13626
13627 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13628
13629 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13630
13631 2009-11-09 Keith Seitz <keiths@redhat.com>
13632
13633 * gdb.cp/overload.exp: Add tests for resolving overloaded
13634 methods in expression parsing/evaluation.
13635
13636 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13637
13638 * lib/gdb.exp (default_gdb_version): Use --version instead of
13639 --command.
13640
13641 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13642
13643 * lib/gdb.exp (gdb_compile_test): New.
13644 (skip_ada_tests, skip_java_tests): New.
13645 (gdb_compile): Use gdb_compile_test for f77.
13646 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13647 * lib/java.exp (compile_java_from_source): Remove runtests check,
13648 use gdb_compile_test to record result.
13649 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13650 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13651 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13652 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13653 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13654 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13655 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13656 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13657 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13658 adjust gdb_compile invocations.
13659
13660 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13661
13662 * Makefile.in (abs_builddir): New.
13663 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13664 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13665 `$(abs_builddir)/site.exp'.
13666
13667 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13668
13669 * config/m68k-emc.exp, lib/emc-support.exp,
13670 gdb.trace/gdb_c_test.c: Delete.
13671 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13672 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13673 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13674 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13675 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13676 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13677 casing for m68k-*-elf.
13678
13679 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13680
13681 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13682 * gdb.arch/i386-prologue.exp: Likewise.
13683 * gdb.arch/i386-unwind.exp: Likewise.
13684
13685 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13686
13687 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13688
13689 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13690
13691 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13692
13693 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13694
13695 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13696
13697 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13698
13699 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13700
13701 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13702
13703 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13704 * gdb.base/sepdebug2.c: New file.
13705
13706 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13707
13708 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13709 the modified warnings for catch syscall. Verify if GDB was compiled
13710 with support for lib expat, and choose which tests to run depending
13711 on this.
13712
13713 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13714
13715 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13716 that composite commands are parsed OK. And also test
13717 that breakpoint commands do work.
13718
13719 2009-10-23 Michael Snyder <msnyder@vmware.com>
13720
13721 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13722 to allow for new disassembly style.
13723
13724 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13725
13726 * gdb.asm/asm-source.exp: Adjust.
13727
13728 2009-10-22 Michael Snyder <msnyder@vmware.com>
13729
13730 * gdb.reverse/break-precsave.exp: New test.
13731 * gdb.reverse/consecutive-precsave.exp: Ditto.
13732 * gdb.reverse/finish-precsave.exp: Ditto.
13733 * gdb.reverse/i386-precsave.exp: Ditto.
13734 * gdb.reverse/machinestate-precsave.exp: Ditto.
13735 * gdb.reverse/sigall-precsave.exp: Ditto.
13736 * gdb.reverse/solilb-precsave.exp: Ditto.
13737 * gdb.reverse/step-precsave.exp: Ditto.
13738 * gdb.reverse/until-precsave.exp: Ditto.
13739 * gdb.reverse/watch-precsave.exp: Ditto.
13740
13741 2009-10-22 Michael Snyder <msnyder@vmware.com>
13742
13743 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13744 for gdb_expect. Adjust one test's expect strings for the new
13745 format of disassemble.
13746 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13747 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13748 gdb_test_multiple.
13749 * gdb.reverse/step-reverse.exp: Delete 'return'.
13750 * gdb.reverse/until-reverse.exp: Delete blank lines.
13751 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13752
13753 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13754
13755 * gdb.base/consecutive.exp: Adjust.
13756 * gdb.base/display.exp: Likewise.
13757 * gdb.base/pc-fp.exp: Likewise.
13758 * gdb.base/sigbpt.exp: Likewise.
13759
13760 2009-10-19 Michael Snyder <msnyder@vmware.com>
13761
13762 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13763 * gdb.reverse/finish-reverse.c: Ditto.
13764 * gdb.reverse/sigall-reverse.c: Ditto.
13765 * gdb.reverse/solib-reverse.c: Ditto.
13766 * gdb.reverse/step-reverse.c: Ditto.
13767 * gdb.reverse/watch-reverse.c: Ditto.
13768
13769 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13770 Stan Shebs <stan@codesourcery.com>
13771
13772 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13773 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13774 "Executing new program".
13775 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13776 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13777 left listed after having been killed.
13778 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13779 * gdb.base/maint.exp: Adjust test.
13780
13781 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13782 * gdb.multi/Makefile.in: New.
13783 * gdb.multi/base.exp: New.
13784 * gdb.multi/goodbye.c: New.
13785 * gdb.multi/hangout.c: New.
13786 * gdb.multi/hello.c: New.
13787 * gdb.multi/bkpt-multi-exec.c: New.
13788 * gdb.multi/bkpt-multi-exec.exp: New.
13789 * gdb.multi/crashme.c: New.
13790
13791 2009-10-13 Tristan Gingold <gingold@adacore.com>
13792
13793 * gdb.base/sepdebug.exp: Check debug info are found.
13794
13795 2009-10-08 Pedro Alves <pedro@codesourcery.com>
13796
13797 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13798 bits.
13799
13800 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13801
13802 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13803
13804 2009-10-07 Joel Brobecker <brobecker@adacore.com>
13805
13806 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13807 of the comments.
13808
13809 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13810
13811 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13812 * gdb.base/annota3.exp: Idem.
13813 * gdb.base/maint.exp: Idem.
13814
13815 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13816
13817 * lib/gdb.exp (default_gdb_init): Set current value of match_max
13818 to default.
13819
13820 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13821
13822 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13823 mingw and cygwin targets.
13824
13825 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13826 Pedro Alves <pedro@codesourcery.com>
13827
13828 * lib/gdb.exp (gdb_compile): Avoid adding
13829 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13830
13831 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13832
13833 * gdb.base/shr1.c: Use %p in format string.
13834 * gdb.base/unload.c: Avoid warning in fprintf.
13835 * gdb.base/watchpoint-solib.c: Idem.
13836
13837 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13838
13839 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13840 long type.
13841 (test_unlink): Correct printf string.
13842 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13843 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13844
13845 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13846
13847 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13848 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13849 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13850
13851 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13852
13853 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13854 * gdb.objc/nondebug.exp: Likewise.
13855
13856 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13857
13858 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13859 target_info setting.
13860
13861 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13862 that detect new threads during "info threads".
13863
13864 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13865
13866 * gdb.threads/manythreads.c (main): Increase thread stack size
13867 to 2*PTHREAD_STACK_MIN.
13868 * gdb.threads/multi-create.c (main): Likewise.
13869 (create_function): Likewise.
13870
13871 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13872
13873 * gdb.base/dump.exp: Pass difference of pointer types instead
13874 of integer types as offset to restore in intarr3.srec case.
13875
13876 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13877
13878 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13879
13880 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13881
13882 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13883
13884 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
13885
13886 New test for two watchpoints, with disabling of
13887 the first inserted.
13888 * testsuite/gdb.base/watchpoints.c: New file.
13889 * testsuite/gdb.base/watchpoints.exp: New file.
13890
13891 2009-09-25 Tom Tromey <tromey@redhat.com>
13892
13893 * gdb.base/charset.exp: Test utf-16 strings with Python.
13894
13895 2009-09-25 Tom Tromey <tromey@redhat.com>
13896
13897 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13898 UCS-4.
13899 * gdb.base/charset.c (utf_32_string): Rename.
13900 (init_utf32): Rename.
13901 (main): Update.
13902
13903 2009-09-22 Tom Tromey <tromey@redhat.com>
13904
13905 * gdb.python/py-function.exp: Add regression tests.
13906
13907 2009-09-21 Keith Seitz <keiths@redhat.com>
13908
13909 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13910 with invalid operator.
13911
13912 2009-09-21 Keith Seitz <keiths@redhat.com>
13913
13914 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13915 and destructor using typedef name of class.
13916 * gdb.cp/classes.cc (class Base1): Add a destructor.
13917 (base1): New typedef.
13918 (use_methods): Instanitate an object of type base1.
13919 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13920 (do_tests): Call test_template_typedef.
13921 * gdb.cp/templates.cc (Baz::~Baz): New method.
13922 (intBazOne): New typedef.
13923 (main): Instantiate intBazOne.
13924
13925 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13926
13927 PR python/10633
13928
13929 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13930 Function.
13931 (run_lang_tests): Add print elements test.
13932
13933 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13934
13935 * gdb.python/py-value.exp (test_subscript_regression): New
13936 function. Test for invalid subscripts.
13937 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13938 (ptr_ref): New function.
13939
13940 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13941
13942 * gdb.base/default.exp: Fix "show convenience".
13943
13944 2009-09-15 Tom Tromey <tromey@redhat.com>
13945
13946 * lib/mi-support.exp (mi_create_varobj): Update.
13947 (mi_create_floating_varobj): Likewise.
13948 (mi_create_dynamic_varobj): New proc.
13949 (mi_varobj_update): Update.
13950 (mi_varobj_update_with_type_change): Likewise.
13951 (mi_varobj_update_kv_helper): New proc.
13952 (mi_varobj_update_dynamic_helper): Rewrite.
13953 (mi_varobj_update_dynamic): New proc.
13954 (mi_list_varobj_children): Update.
13955 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13956 * gdb.python/python-prettyprint.py (pp_outer): New class.
13957 (pp_nullstr): Likewise.
13958 (lookup_function): Register new printers.
13959 * gdb.python/python-prettyprint.c (struct substruct): New type.
13960 (struct outerstruct): Likewise.
13961 (substruct_test): New function.
13962 (struct nullstr): New type.
13963 (string_1, string_2): New globals.
13964 (main): Add new tests.
13965 * gdb.python/python-mi.exp: Added regression tests.
13966 * gdb.mi/mi2-var-display.exp: Update.
13967 * gdb.mi/mi2-var-cmd.exp: Update.
13968 * gdb.mi/mi2-var-child.exp: Update.
13969 * gdb.mi/mi2-var-block.exp: Update.
13970 * gdb.mi/mi-var-invalidate.exp: Update.
13971 * gdb.mi/mi-var-display.exp: Update.
13972 * gdb.mi/mi-var-cmd.exp: Update.
13973 * gdb.mi/mi-var-child.exp: Update.
13974 * gdb.mi/mi-var-block.exp: Update.
13975 * gdb.mi/mi-break.exp: Update.
13976 * gdb.mi/gdb701.exp: Update.
13977
13978 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13979
13980 * Makefile.in: Inclusion of catch-syscall object.
13981 * gdb.base/catch-syscall.c: New file.
13982 * gdb.base/catch-syscall.exp: New file.
13983
13984 2009-09-12 Michael Snyder <msnyder@vmware.com>
13985
13986 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13987 that can support reverse debuggnig.
13988
13989 2009-09-11 Tom Tromey <tromey@redhat.com>
13990
13991 * gdb.dwarf2/valop.S: New file.
13992 * gdb.dwarf2/valop.exp: New file.
13993
13994 2009-09-11 Mark Kettenis <kettenis@gnu.org>
13995
13996 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13997
13998 2009-09-10 Doug Evans <dje@google.com>
13999
14000 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
14001 Add $gdb_prompt to second breakpoint regexp.
14002
14003 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
14004
14005 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
14006 names, add missing ones.
14007 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
14008 * gdb.python/py-frame.c: Rename from python-frame.c.
14009 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
14010 testfile name.
14011 * gdb.python/py-function.exp: Rename from python-function.exp.
14012 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
14013 testfile name.
14014 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
14015 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
14016 Adjust testfile name.
14017 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
14018 * gdb.python/py-template.cc: Rename from python-template.cc.
14019 * gdb.python/py-template.exp: Rename from python-template.exp.
14020 Adjust testfile name.
14021 * gdb.python/py-value.c: Rename from python-value.c.
14022 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
14023 testfile name.
14024
14025 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14026
14027 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
14028 $bpt2address.
14029 (Second breakpoint address is valid on ia64)
14030 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14031
14032 2009-09-03 Joseph Myers <joseph@codesourcery.com>
14033
14034 * gdb.base/ending-run.exp: Restrict regular expression matching
14035 line number to require closing brace following.
14036
14037 2009-09-03 Doug Evans <dje@google.com>
14038
14039 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14040
14041 2009-09-02 Tom Tromey <tromey@redhat.com>
14042
14043 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14044
14045 2009-09-02 Tom Tromey <tromey@redhat.com>
14046
14047 * gdb.dwarf2/callframecfa.exp: New file.
14048 * gdb.dwarf2/callframecfa.S: New file.
14049
14050 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14051
14052 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14053 gdb.base/solib-overlap-main.c: New.
14054
14055 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14056
14057 PR gdb/10565
14058
14059 * gdb.base/bitfields.c (struct container, container): New.
14060 (main): Initialize it and call break5.
14061 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14062
14063 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14064
14065 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14066 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14067
14068 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14069
14070 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14071
14072 2009-08-26 Michael Snyder <msnyder@vmware.com>
14073
14074 * gdb.base/i386-reverse.c: New file.
14075 * gdb.base/i386-reverse.exp: New file.
14076 * gdb.base/Makefile.in: Add new files to be removed.
14077
14078 2009-08-26 Joseph Myers <joseph@codesourcery.com>
14079
14080 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14081 environment-pwd for remote host.
14082 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14083
14084 2009-08-24 Keith Seitz <keiths@redhat.com>
14085
14086 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14087 Add two new C++ completer tests which limit the output to a
14088 given class.
14089
14090 2009-08-24 Michael Snyder <msnyder@vmware.com>
14091
14092 * gdb.base/del.exp: Fix typo in comment.
14093 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14094
14095 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14096
14097 * configure: Regenerate.
14098 * gdb.hp/configure: Likewise.
14099 * gdb.hp/gdb.aCC/configure: Likewise.
14100 * gdb.hp/gdb.base-hp/configure: Likewise.
14101 * gdb.hp/gdb.compat/configure: Likewise.
14102 * gdb.hp/gdb.defects/configure: Likewise.
14103 * gdb.hp/gdb.objdbg/configure: Likewise.
14104 * gdb.stabs/configure: Likewise.
14105
14106 2009-08-19 Doug Evans <dje@google.com>
14107
14108 * gdb.base/gdbvars.c: New file.
14109 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14110
14111 2009-08-14 Pedro Alves <pedro@codesourcery.com>
14112
14113 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14114 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14115
14116 2009-08-13 Pedro Alves <pedro@codesourcery.com>
14117
14118 * gdb.base/default.exp: Adjust "set language test": it's now an
14119 enum command. Larger help string moved to "help set language".
14120 * gdb.base/help.exp: Adjust "help set language" expected output,
14121 now lists all known languages.
14122
14123 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14124
14125 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14126 all frame arguments.
14127 * gdb.arch/altivec-regs.exp: Likewise.
14128
14129 2009-08-07 Tom Tromey <tromey@redhat.com>
14130
14131 * gdb.base/setshow.exp: Add tests for changes to set language, set
14132 check range, and set check type.
14133
14134 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14135
14136 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14137 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
14138 Call it.
14139
14140 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14141
14142 * configure.ac: Run gdb.cell tests when appropriate.
14143 * configure: Regenerate.
14144 * lib/cell.exp: New file.
14145 * gdb.cell: New directory.
14146 * gdb.cell/configure.ac: New file.
14147 * gdb.cell/configure: New file.
14148 * gdb.cell/Makefile.in: New file.
14149 * gdb.cell/arch.exp: New file.
14150 * gdb.cell/break.c: New file.
14151 * gdb.cell/break.exp: New file.
14152 * gdb.cell/break-spu.c: New file.
14153 * gdb.cell/bt.c: New file.
14154 * gdb.cell/bt2-spu.c: New file.
14155 * gdb.cell/bt-spu.c: New file.
14156 * gdb.cell/bt.exp: New file.
14157 * gdb.cell/coremaker.c: New file.
14158 * gdb.cell/coremaker-spu.c: New file.
14159 * gdb.cell/core.exp: New file.
14160 * gdb.cell/gcore.exp: New file.
14161 * gdb.cell/data.c: New file.
14162 * gdb.cell/data.exp: New file.
14163 * gdb.cell/data-spu.c: New file.
14164 * gdb.cell/ea-cache.exp: New file.
14165 * gdb.cell/ea-cache.c: New file.
14166 * gdb.cell/ea-cache-spu.c: New file.
14167 * gdb.cell/ea-standalone.c: New file.
14168 * gdb.cell/ea-standalone.exp: New file.
14169 * gdb.cell/ea-test.c: New file.
14170 * gdb.cell/ea-test.exp: New file.
14171 * gdb.cell/f-regs.exp: New file.
14172 * gdb.cell/mem-access.c: New file.
14173 * gdb.cell/mem-access.exp: New file.
14174 * gdb.cell/mem-access-spu.c: New file.
14175 * gdb.cell/ptype.exp: New file.
14176 * gdb.cell/registers.exp: New file.
14177 * gdb.cell/size.c: New file.
14178 * gdb.cell/sizeof.exp: New file.
14179 * gdb.cell/size-spu.c: New file.
14180 * gdb.cell/solib.exp: New file.
14181 * gdb.cell/solib-symbol.exp: New file.
14182
14183 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14184
14185 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14186
14187 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14188
14189 * gdb.base/float.exp: Handle VFP registers.
14190
14191 2009-07-14 Michael Snyder <msnyder@vmware.com>
14192
14193 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14194 to bring gdb to the beginning of the calling line.
14195
14196 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14197 confusing the i386 epilogue unwinder.
14198
14199 2009-07-14 Stan Shebs <stan@codesourcery.com>
14200
14201 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14202
14203 2009-07-14 Michael Snyder <msnyder@vmware.com>
14204
14205 * gdb.reverse/step-reverse.exp (stepi into function call):
14206 Call instruction may not be first instruction in the line.
14207 (reverse stepi from a function call): Used wrong line number.
14208
14209 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14210
14211 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14212
14213 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14214
14215 Fix gdb.base/macscp.exp when using custom inputrc.
14216 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14217 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14218 env(TERM) set.
14219 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14220 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14221
14222 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14223
14224 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14225 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14226 Change the compilation target to match the testcase name.
14227 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14228 testcase name.
14229 * a2-run.exp: Use for setup prepare_for_testing. Change the
14230 compilation target to match the testcase name.
14231 * gdb.base/commands.exp: Likewise.
14232 * gdb.base/finish.exp: Likewise.
14233 * gdb.base/float.exp: Likewise.
14234 * gdb.base/info-target.exp: Likewise.
14235 * gdb.base/relational.exp: Likewise.
14236 * gdb.base/term.exp: Likewise.
14237 * gdb.base/until.exp: Likewise.
14238 * gdb.base/volatile.exp: Likewise.
14239 * gdb.base/whatis-exp.exp: Likewise.
14240
14241 2009-07-11 Hui Zhu <teawater@gmail.com>
14242
14243 * gdb.base/help.exp (disassemble): Update expected help text.
14244
14245 2009-07-09 Tom Tromey <tromey@redhat.com>
14246
14247 * lib/gdb.exp: Handle TRANSCRIPT.
14248 (remote_spawn, remote_close, send_gdb): New procs.
14249
14250 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14251
14252 * gdb.python/python-prettyprint.c: Add counted null string
14253 structure.
14254 * gdb.python/python-prettyprint.exp: Print null string. Test for
14255 embedded nulls.
14256 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14257 * gdb.python/python-value.exp (test_value_in_inferior): Add
14258 variable length string fetch tests.
14259 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14260
14261 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14262
14263 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14264
14265 2009-07-07 Tom Tromey <tromey@redhat.com>
14266
14267 * gdb.base/call-rt-st.exp: Update for change to escape output.
14268 * gdb.base/callfuncs.exp: Likewise.
14269 * gdb.base/charset.exp: Likewise.
14270 * gdb.base/constvars.exp: Likewise.
14271 * gdb.base/long_long.exp: Likewise.
14272 * gdb.base/pointers.exp: Likewise.
14273 * gdb.base/printcmds.exp: Likewise.
14274 * gdb.base/setvar.exp: Likewise.
14275 * gdb.base/store.exp: Likewise.
14276 * gdb.cp/ref-types.exp: Likewise.
14277 * gdb.mi/mi-var-child.exp: Likewise.
14278 * gdb.mi/mi-var-display.exp: Likewise.
14279 * gdb.mi/mi2-var-display.exp: Likewise.
14280 * gdb.base/charset.exp: Test octal escape sequence length.
14281 Update for change to escape output.
14282
14283 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14284
14285 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14286
14287 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14288
14289 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14290
14291 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14292
14293 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14294 gdbserver increasing $portnum if "Can't bind address" has been seen.
14295
14296 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14297
14298 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14299 mingw32ce.
14300
14301 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14302
14303 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14304 VFP format.
14305
14306 2009-07-02 Pedro Alves <pedro@codesourcery.com>
14307
14308 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14309 linux. Adjust to use "inferior", "info inferiors", "detach
14310 inferior" and "kill inferior" instead of "restart", "info fork",
14311 "detach fork" and "delete fork".
14312 * gdb.base/ending-run.exp: Spell out "info".
14313 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14314 the "kill" command.
14315
14316 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14317
14318 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14319 change to prefix TLS offset in hex with 0x.
14320
14321 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14322
14323 * gdb.base/default.exp: Update test case for "x" changes.
14324
14325 2009-07-01 Tristan Gingold <gingold@adacore.com>
14326
14327 * gdb.base/bigcore.exp: Make darwin untested.
14328
14329 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14330
14331 * gdb.base/completion.exp (directory completion): Create the directory.
14332 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14333 escapeuniquesub.
14334 (directory completion 2): Expect now ${escapeuniquesub}.
14335 (Glob remaining of directory test): Remove one excessive newline.
14336 Expect the real output.
14337
14338 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14339
14340 Fix `make check//%' target after `make check' has been ran.
14341 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14342 a mkdir call.
14343 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14344 (%/.dir): Remove.
14345
14346 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14347
14348 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14349 the expected result record.
14350
14351 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14352
14353 Remove racy FAILs relying just on the timeouts.
14354 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14355 (annotation_level 2): Remove racy FAILs.
14356
14357 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14358
14359 gdb/10275
14360 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14361
14362 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14363
14364 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14365
14366 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14367
14368 * gdb.mi/mi-stack.exp: Testing symbolic options
14369 to -stack-list-locals and -stack-list-arguments.
14370
14371 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14372
14373 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14374
14375 2009-06-29 Tom Tromey <tromey@redhat.com>
14376
14377 * dg-extract-results.sh: New file.
14378 * Makefile.in (FORCE_PARALLEL): New variable.
14379 (CHECK_TARGET): New conditional variable.
14380 (check): Use CHECK_TARGET.
14381 (DO_RUNTEST): New variable.
14382 (check-single): New target.
14383 (TEST_DIRS): New variable.
14384 (TEST_TARGETS): Likewise.
14385 (check-parallel): New target.
14386 (check-gdb.%): New pattern.
14387 (BASE1_FILES): New variable.
14388 (BASE2_FILES): Likewise.
14389 (check-gdb.base%): New pattern.
14390 (%/.dir): New pattern.
14391 * configure: Rebuild.
14392 * aclocal.m4 (AM_CONDITIONAL): New defun.
14393 * configure.ac: Check whether user is using GNU make.
14394 (GMAKE): New conditional.
14395
14396 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14397
14398 * gdb.cp/namespace-nested-import.cc: New test.
14399 * gdb.cp/namespace-nested-import.exp: New test.
14400
14401 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14402
14403 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14404 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14405 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14406 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14407 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14408 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14409 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14410 gdb.opt/inline-markers.c: New files.
14411 * lib/gdb.exp (skip_inline_frame_tests): New function.
14412 (skip_inline_var_tests): New function.
14413
14414 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14415
14416 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14417 backtrace.
14418
14419 2009-06-27 Michael Snyder <msnyder@vmware.com>
14420
14421 * gdb.reverse: New directory.
14422 * gdb.reverse/break-reverse.c: New test.
14423 * gdb.reverse/break-reverse.exp: New test.
14424 * gdb.reverse/consecutive-reverse.c: New test.
14425 * gdb.reverse/consecutive-reverse.exp: New test.
14426 * gdb.reverse/finish-reverse.c: New test.
14427 * gdb.reverse/finish-reverse.exp: New test.
14428 * gdb.reverse/machinestate.c: New test.
14429 * gdb.reverse/ms1.c: New test.
14430 * gdb.reverse/machinestate.exp: New test.
14431 * gdb.reverse/Makefile.in: New file.
14432 * gdb.reverse/shr2.c: New test.
14433 * gdb.reverse/solib-reverse.c: New test.
14434 * gdb.reverse/solib-reverse.exp: New test.
14435 * gdb.reverse/step-reverse.c: New test.
14436 * gdb.reverse/step-reverse.exp: New test.
14437 * gdb.reverse/until-reverse.c: New test.
14438 * gdb.reverse/ur1.c: New test.
14439 * gdb.reverse/until-reverse.exp: New test.
14440 * gdb.reverse/watch-reverse.c: New test.
14441 * gdb.reverse/watch-reverse.exp: New test.
14442 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14443 * configure: Regenerate.
14444
14445 2009-06-26 Doug Evans <dje@google.com>
14446
14447 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14448
14449 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14450
14451 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14452 windows problem for 'file delete $binfile'.
14453
14454 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14455
14456 * gdb.cp/namespace-using.exp: New test.
14457 * gdb.cp/namespace-using.cc: New test.
14458
14459 2009-05-20 Joel Brobecker <brobecker@adacore.com>
14460
14461 * gdb.ada/variant_record_packed_array: New testcase.
14462
14463 2009-06-23 Tom Tromey <tromey@redhat.com>
14464
14465 * gdb.base/charset.exp (test_combination): Regression test.
14466 * gdb.base/charset.c (my_wchar_t): New typedef.
14467 (myvar): New global.
14468 (main): Set myvar.
14469
14470 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14471
14472 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14473 target.
14474
14475 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14476
14477 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14478
14479 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14480
14481 * gdb.mi/gdb680.exp: Update test for error message.
14482
14483 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14484
14485 * gdb.base/annota1.exp: Allow multiple occurrences of the
14486 frames-invalid annotation.
14487 * gdb.cp/annota2.exp: Likewise.
14488
14489 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14490
14491 * gdb.cp/gdb2495.cc: New file.
14492 * gdb.cp/gdb2495.exp: New file.
14493
14494 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14495
14496 Report error on GDB crash during runto.
14497 * lib/gdb.exp (runto <eof>): New.
14498
14499 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14500
14501 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14502 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14503 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14504 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14505 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14506 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14507 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14508 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14509 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14510 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14511 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14512 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14513 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14514 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14515 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14516 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14517 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14518 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14519 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14520 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14521 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14522 gdb.trace/passcount.exp, gdb.trace/report.exp,
14523 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14524 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14525 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14526 executable.
14527
14528 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14529
14530 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14531 defined before referencing it.
14532
14533 2009-06-03 Doug Evans <dje@google.com>
14534
14535 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14536 * gdb.arch/i386-see.c: Ditto.
14537
14538 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14539
14540 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14541 (check_macro): Return 1 if undefined.
14542 If first test fails, check if macro debug information is available,
14543 and report unsupported test if no macro information is found.
14544
14545 2009-05-29 Doug Evans <dje@google.com>
14546
14547 * gdb.threads/hand-call-in-threads.exp: New.
14548 * gdb.threads/hand-call-in-threads.c: New.
14549
14550 2009-05-29 Michael Snyder <msnyder@vmware.com>
14551
14552 * gdb.base/break-always.exp: Change "1" to "on".
14553 Add confirmation check.
14554
14555 2009-05-28 Pedro Alves <pedro@codesourcery.com>
14556
14557 * gdb.threads/threxit-hop-specific.c: New.
14558 * gdb.threads/threxit-hop-specific.exp: New.
14559 * gdb.threads/thread-execl.c: New.
14560 * gdb.threads/thread-execl.exp: New.
14561
14562 2009-05-27 Tom Tromey <tromey@redhat.com>
14563 Thiago Jung Bauermann <bauerman@br.ibm.com>
14564
14565 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14566 (mi_child_regexp): Likewise.
14567 (mi_list_varobj_children_range): Likewise.
14568 (mi_get_features): Likewise.
14569 (mi_list_varobj_children): Rewrite.
14570 * gdb.python/python-mi.exp: New file.
14571
14572 2009-05-27 Tom Tromey <tromey@redhat.com>
14573 Thiago Jung Bauermann <bauerman@br.ibm.com>
14574 Phil Muldoon <pmuldoon@redhat.com>
14575 Paul Pluzhnikov <ppluzhnikov@google.com>
14576
14577 * gdb.python/python-prettyprint.exp: New file.
14578 * gdb.python/python-prettyprint.c: New file.
14579 * gdb.python/python-prettyprint.py: New file.
14580 * gdb.base/display.exp: print/r is now valid.
14581
14582 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14583 Tom Tromey <tromey@redhat.com>
14584 Pedro Alves <pedro@codesourcery.com>
14585 Paul Pluzhnikov <ppluzhnikov@google.com>
14586
14587 * gdb.python/python-template.exp: New file.
14588 * gdb.python/python-template.cc: New file.
14589 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14590 tests.
14591 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14592 Call it.
14593 (test_value_after_death): New proc.
14594 * gdb.python/python-value.c (PTR): New typedef.
14595 (main): New variable 'x'.
14596
14597 2009-05-27 Tom Tromey <tromey@redhat.com>
14598
14599 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14600 tests.
14601 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14602 Call it.
14603
14604 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14605
14606 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14607
14608 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14609
14610 * gdb.threads/fork-thread-pending.c: New.
14611 * gdb.threads/fork-thread-pending.exp: New.
14612
14613 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14614
14615 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14616 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14617
14618 2009-05-18 Jon Beniston <jon@beniston.com>
14619
14620 * gdb.asm/asm-source.exp: Add lm32 target.
14621
14622 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14623
14624 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14625 `gdb_get_line_number'. Call `callee' in both parent and child.
14626 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14627 `gdb_get_line_number' instead of hardcoding line numbers.
14628 (catch_fork_unpatch_child): New procedure to test detaching
14629 breakpoints from child fork.
14630 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14631 hardcoding line numbers.
14632 (do_fork_tests): Run `catch_fork_unpatch_child'.
14633
14634 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14635
14636 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14637 of structure type enters or leaves the scope, it
14638 is reported by -var-update.
14639
14640 2009-05-11 Doug Evans <dje@sebabeach.org>
14641
14642 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14643 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14644 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14645
14646 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14647
14648 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14649
14650 2009-04-30 Doug Evans <dje@google.com>
14651
14652 * gdb.threads/watchthreads2.exp: New testcase.
14653 * gdb.threads/watchthreads2.c: New testcase.
14654
14655 2009-04-29 Doug Evans <dje@google.com>
14656
14657 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14658 * gdb.cp/mb-ctor.cc: Ditto.
14659 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14660 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14661 * gdb.cp/mb-inline1.cc: Call it.
14662 * gdb.cp/mb-inline2.cc: Ditto.
14663 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14664 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14665
14666 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14667
14668 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14669 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14670 Replace all uses of `decimal' by `nonzero'.
14671 (info macro FROM_COMMANDLINE): New test.
14672
14673 2009-04-27 Tom Tromey <tromey@redhat.com>
14674
14675 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14676
14677 2009-04-27 Doug Evans <dje@google.com>
14678
14679 * gdb.threads/watchthreads.c (main): Initialize args before starting
14680 the threads. Plus formatting cleanup.
14681 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14682 biased scheduling of one thread.
14683
14684 2009-04-27 Jerome Guitton <guitton@adacore.com>
14685
14686 * gdb.cp/templates.cc (GetMax): New template.
14687 (main): Declare two instances of GetMax.
14688 * gdb.cp/templates.exp: Add new test.
14689
14690 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14691
14692 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14693
14694 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14695
14696 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14697
14698 2009-04-15 Tom Tromey <tromey@redhat.com>
14699
14700 * gdb.base/charset.exp: Add regression test.
14701
14702 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14703
14704 * gdb.base/exe-lock.exp: New testcase.
14705
14706 2009-04-13 Tom Tromey <tromey@redhat.com>
14707
14708 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14709 operator on Frame.
14710
14711 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14712
14713 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14714 * gdb.server/ext-attach.exp: Likewise.
14715
14716 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14717
14718 Eliminate some sleep usage.
14719
14720 * gdb.mi/basics.c (do_nothing): New.
14721 (main): Use do_nothing instead of printf, so that
14722 not to introduce race condition between output of
14723 inferiour and output of gdb. Do not use sleep as it
14724 is not generally available on embedded targets.
14725
14726 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14727
14728 * gdb.server/ext-attach.exp: Expect an optional process id after
14729 "Detached from remote process".
14730
14731 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14732
14733 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14734 gdb.dwarf2/dw2-unresolved.exp: New.
14735
14736 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14737
14738 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14739 mi_run_to_main.
14740
14741 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14742
14743 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14744 mi_run_to_main. Skip thread exit test on remote targets.
14745 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14746 mi_run_to_main.
14747 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14748 mi_run_to_main.
14749 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14750 when expecting ^connected. Detect when the target doesn't support
14751 non-stop mode.
14752 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14753 supported. Return -1 on error, 0 on success.
14754 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14755 (mi_runto): Return mi_runto_helper's result explicitly.
14756
14757 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14758
14759 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14760
14761 2009-04-01 Tom Tromey <tromey@redhat.com>
14762
14763 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14764 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14765 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14766 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14767
14768 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14769 Jan Kratochvil <jan.kratochvil@redhat.com>
14770
14771 PR gdb/931
14772 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14773 output.
14774 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14775 for gdb/931.
14776 * dw2-strp.S (DW_AT_language): Change to C++.
14777 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14778
14779 2009-03-31 Joel Brobecker <brobecker@adacore.com>
14780
14781 * gdb.ada/tasks: New testcase.
14782
14783 2009-03-30 Stan Shebs <stan@codesourcery.com>
14784
14785 * gdb.trace/actions.exp: Update to match new info trace format.
14786 * gdb.trace/deltrace.exp: Ditto.
14787 * gdb.trace/infotrace.exp: Ditto.
14788 * gdb.trace/passcount.exp: Ditto.
14789 * gdb.trace/save-trace.exp: Ditto.
14790 * gdb.trace/while-stepping.exp: Ditto.
14791 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14792
14793 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14794
14795 * gdb.python/python-frame.c: New file.
14796 * gdb.python/python-frame.exp: New file.
14797
14798 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14799
14800 * gdb.python/python-value.exp: Add tests for the address
14801 attribute.
14802
14803 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14804
14805 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14806
14807 2009-03-26 Doug Evans <dje@google.com>
14808
14809 * gdb.mi/mi-nonstop-exit.exp: New file.
14810 * gdb.mi/non-stop-exit.c: New file.
14811
14812 2009-03-26 Tom Tromey <tromey@redhat.com>
14813
14814 Update for change to prologue skipping:
14815 * gdb.mi/mi2-simplerun.exp: Update.
14816 * gdb.mi/mi2-break.exp: Update.
14817 * gdb.mi/mi-simplerun.exp: Update.
14818 * gdb.mi/mi-break.exp: Update.
14819 * gdb.base/ending-run.exp: Update.
14820
14821 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14822
14823 * gdb.python/python-value.exp (test_value_in_inferior): Test
14824 gdb.Value.is_optimized_out attribute.
14825
14826 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14827
14828 * gdb.dwarf2/dw2-noloc-main.c: New file.
14829 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14830 (.text): Remove.
14831 (.data): New.
14832 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14833 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14834 (DW_TAG_subprogram func_cu1, noloc): Remove.
14835 (main): New.
14836 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14837 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14838 (file_symbols): New procedure.
14839
14840 2009-03-25 Tom Tromey <tromey@redhat.com>
14841
14842 * gdb.base/charset.exp (valid_target_charset): New proc.
14843 Use it to skip tests on invalid charsets.
14844
14845 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14846
14847 * gdb.base/completion.exp: Add a test for directory completion.
14848
14849 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14850
14851 Fix a racy FAIL.
14852 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14853 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14854
14855 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14856
14857 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14858 * gdb.python/python-function.exp: Add test for function returning
14859 a GDB value.
14860
14861 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14862
14863 * gdb.python/python-function.exp: New file.
14864
14865 2009-03-20 Tom Tromey <tromey@redhat.com>
14866
14867 * gdb.base/store.exp: Update for change to escape output.
14868 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14869 to escape output.
14870 * gdb.base/pointers.exp: Update for change to escape output.
14871 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14872 to escape output.
14873 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14874 escape output.
14875 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14876 to escape output.
14877 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14878 escape output.
14879 * gdb.base/setvar.exp: Update for change to escape output.
14880 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14881 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14882 to escape output.
14883 (test_print_string_constants): Likewise.
14884 * gdb.base/charset.exp (valid_host_charset): Check size of
14885 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14886 cases. Handle "auto"-related output.
14887 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14888 (uvar, Uvar): New globals.
14889
14890 2009-03-19 Jerome Guitton <guitton@adacore.com>
14891
14892 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14893 deltas.
14894 * gdb.ada/fixed_points.exp: Ditto.
14895
14896 2009-03-18 Pedro Alves <pedro@codesourcery.com>
14897
14898 * return-nodebug.c: Don't include stdio.h.
14899 (init): Delete.
14900 (func): Delete definition and provide extern declaration.
14901 (t): New.
14902 (main): Don't call printf. Call func and store its result in t.
14903 * return-nodebug1.c: New.
14904 * return-nodebug.exp: Don't expect stdio output. Instead, print
14905 the global variable t. Drop printf formatters and cast types from
14906 foreach loop. Don't use prepare_for_testing. Compile
14907 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14908 define FORMAT or CAST.
14909
14910 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14911
14912 * gdb.base/solib-display.exp: Disable test for remote targers.
14913
14914 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14915
14916 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14917
14918 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14919
14920 Fix a racy FAIL.
14921 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14922 code from `follow parent, print pids'.
14923 (`follow child, print pids', `follow parent, print pids'): Call it.
14924 Replace `gdb_test "break..."' by gdb_breakpoint.
14925
14926 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14927
14928 * gdb.mi/mi-cli.exp: Adjust for output difference in
14929 sync and async modes.
14930
14931 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14932
14933 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14934 that was checked in by mistake. Remove loading of ada.exp, since
14935 this is not necessary in this case.
14936
14937 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14938
14939 * gdb.ada/ptype_arith_binop.exp: New testcase.
14940
14941 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14942
14943 * gdb.ada/mod_from_name: New testcase.
14944
14945 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14946
14947 * gdb.ada/tick_last_segv: New testcase.
14948
14949 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14950
14951 * gdb.mi/mi-cli.exp: Remove debug print.
14952
14953 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14954
14955 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14956 include the token in ^running and frame info in *stopped.
14957
14958 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14959
14960 * solib-display.exp: New file.
14961 * solib-display-main.c: New file.
14962 * solib-display-lib.c: New file.
14963
14964 2009-03-05 Pedro Alves <pedro@codesourcery.com>
14965
14966 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14967
14968 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14969
14970 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14971 (list_and_check_macro): Use more specific test name.
14972 (next to definition): Make the test names unique.
14973
14974 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14975
14976 * gdb.pascal/floats.exp: Accept approximate results everywhere.
14977
14978 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14979
14980 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14981 notifications.
14982 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14983 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14984 * lib/mi-support.exp (library_loaded_re): New.
14985 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14986
14987 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14988
14989 * gdb.gdb/observer.exp: Use test_notification observer, not
14990 normal_stop, everywhere.
14991 (test_normal_stop_notifications): Rename to...
14992 (test_notifications): ...this.
14993 (test_observer_normal_stop): Rename to...
14994 (test_observer): ...this.
14995
14996 2009-02-16 Doug Evans <dje@google.com>
14997
14998 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14999 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
15000 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
15001 (test_prefixed_syscall,test_int3): New tests.
15002 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
15003 (test_prefixed_syscall,test_int3): New tests.
15004
15005 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
15006
15007 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
15008 (mi_expect_interrupt): Likewise.
15009 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
15010 response.
15011
15012 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15013
15014 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
15015 * gdb.base/pc-fp.exp (get_valueofx): Remove.
15016 Replace calls to get_valueofx by get_hexadecimal_valueof.
15017
15018 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15019
15020 * lib/gdb.exp (get_valueof): Accept anything as a return value.
15021 (get_integer_valueof): New procedure.
15022 (get_sizeof): Use new get_integer_value_of.
15023 * gdb.base/sizeof.exp: Replace all uses of get_valueof
15024 by get_integer_valueof.
15025
15026 2009-02-13 Tom Tromey <tromey@redhat.com>
15027
15028 * gdb.base/remote.exp (get_sizeof): Remove.
15029 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15030 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15031 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15032 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15033 (get_sizeof): Likewise.
15034
15035 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15036
15037 PR fortran/9806
15038 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15039
15040 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15041
15042 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15043
15044 2009-02-06 Pedro Alves <pedro@codesourcery.com>
15045
15046 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15047
15048 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15049
15050 * gdb.python/python-cmd.exp: New file.
15051
15052 2009-02-06 Tristan Gingold <gingold@adacore.com>
15053
15054 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15055
15056 2009-02-05 Tristan Gingold <gingold@adacore.com>
15057
15058 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15059 pointer is dereferenced and use this signal name in regexp.
15060 * gdb.base/signull.exp: Ditto.
15061 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15062 * gdb.base/signull.c (main): Ditto.
15063
15064 2009-02-04 Tom Tromey <tromey@redhat.com>
15065 Thiago Jung Bauermann <bauerman@br.ibm.com>
15066
15067 * gdb.python/python-value.exp: Use `gdb.history' instead of
15068 `gdb.value_from_history'.
15069 (test_value_numeric_ops): Add test for conversion of enum constant.
15070 * gdb.python/python-value.c (enum e): New type.
15071 (evalue): New global.
15072 (main): Use argv.
15073
15074 2009-02-04 Jerome Guitton <guitton@adacore.com>
15075
15076 * gdb.ada/uninitialized_vars: New test program.
15077 * gdb.ada/uninitialized_vars.exp: New testcase.
15078
15079 2009-02-02 Tom Tromey <tromey@redhat.com>
15080
15081 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15082 * gdb.cp/pr2489.cc: Rename...
15083 * gdb.cp/pr9594.cc: ... to this.
15084
15085 2009-02-02 Tom Tromey <tromey@redhat.com>
15086
15087 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15088 * gdb.cp/pr2489.cc: New file.
15089 * gdb.cp/cpcompletion.exp: New file.
15090
15091 2009-02-02 Tom Tromey <tromey@redhat.com>
15092
15093 PR exp/9059:
15094 * gdb.cp/call-c.exp: Add regression test.
15095 * gdb.cp/call-c.cc (FooHandle): New typedef.
15096 (main): New variable 'handle'.
15097
15098 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15099
15100 * lib/mi-support.exp (et_mi_thread_list)
15101 (check_mi_and_console_threads): Adjust for current thread in
15102 -thread-list-ids output.
15103
15104 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15105
15106 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15107 Call it.
15108
15109 2009-01-28 Doug Evans <dje@google.com>
15110
15111 * gdb.arch/amd64-disp-step.S: New file.
15112 * gdb.arch/amd64-disp-step.exp: New file.
15113 * gdb.arch/i386-disp-step.S: New file.
15114 * gdb.arch/i386-disp-step.exp: New file.
15115
15116 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15117
15118 * gdb.base/find.exp: Set newline variable
15119 using quotes instead of braces to fix cygwin failures.
15120
15121 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15122
15123 * gdb.base/radix.exp: Add tests to ensure that that set
15124 input-radix 0 and set output-radix 0 are really rejected.
15125
15126 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15127
15128 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15129 copyright years.
15130
15131 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15132
15133 PR gdb/9664:
15134 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15135
15136 2009-01-22 Pedro Alves <pedro@codesourcery.com>
15137
15138 PR c++/9631:
15139 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15140
15141 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15142
15143 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15144 binfile definition to fix Windows OS failure.
15145
15146 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15147
15148 PR gdb/9346
15149 * gdb.base/interrupt.c (sigint_handler): New.
15150 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15151 on error.
15152 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15153 Test "signal SIGINT".
15154
15155 2009-01-19 Doug Evans <dje@google.com>
15156
15157 * gdb.base/break.exp: Update expected gdb output.
15158 * gdb.base/sepdebug.exp: Ditto.
15159 * gdb.mi/mi-syn-frame.exp: Ditto.
15160 * gdb.mi/mi2-syn-frame.exp: Ditto.
15161 * gdb.base/call-signal-resume.exp: New file.
15162 * gdb.base/call-signals.c: New file.
15163 * gdb.base/unwindonsignal.exp: New file.
15164 * gdb.base/unwindonsignal.c: New file.
15165 * gdb.threads/interrupted-hand-call.exp: New file.
15166 * gdb.threads/interrupted-hand-call.c: New file.
15167 * gdb.threads/thread-unwindonsignal.exp: New file.
15168
15169 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15170
15171 * gdb.base/define.exp: Test defining and hooking prefix commands.
15172 * gdb.python/python.exp: Update test for "show user" output.
15173
15174 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15175
15176 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15177 now the output exactly, using less wildcards. Expect also the output
15178 of gfortran-4.3. Update for the f-valprint.c modification from
15179 2008-04-22.
15180 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15181 Remove gdb_test test names where matching the command.
15182
15183 2009-01-01 Pedro Alves <pedro@codesourcery.com>
15184
15185 PR breakpoints/9681:
15186 * gdb.base/watchpoint.exp: Add regression test.
15187
15188 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15189
15190 * gdb.threads/attach-into-signal.exp: Don't use
15191 gdb_suppress_entire_file.
15192 * gdb.threads/attach-stopped.exp: Ditto.
15193 * gdb.threads/attachstop-mt.exp: Ditto.
15194
15195 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15196
15197 PR gdb/8812:
15198 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15199
15200 2008-12-29 Pedro Alves <pedro@codesourcery.com>
15201
15202 PR gdb/7536:
15203 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15204 and unsupported output radices are really rejected.
15205
15206 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15207
15208 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15209
15210 2008-12-22 Tom Tromey <tromey@redhat.com>
15211
15212 * gdb.cp/punctuator.exp: New file.
15213
15214 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15215
15216 * gdb.base/completion.exp (Completing non-existing component): New test.
15217
15218 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15219
15220 Fix for PR gdb/8648.
15221 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15222 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15223 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15224 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15225
15226 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15227
15228 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15229
15230 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
15231
15232 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15233 compiler actually generate code at the expected line number.
15234
15235 2008-12-15 Jie Zhang <jie.zhang@analog.com>
15236
15237 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15238
15239 2008-12-12 Tom Tromey <tromey@redhat.com>
15240
15241 * gdb.base/commands.exp (redefine_hook_test): New proc.
15242 Call it.
15243
15244 2008-12-11 Tom Tromey <tromey@redhat.com>
15245
15246 * gdb.base/macscp.exp: New regression test.
15247
15248 2008-12-11 Tom Tromey <tromey@redhat.com>
15249
15250 * gdb.base/macscp.exp: Print "address.addr".
15251 * gdb.base/macscp1.c (struct outer): New struct.
15252 (address): New global.
15253
15254 2008-12-09 Tom Tromey <tromey@redhat.com>
15255
15256 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15257 Call it.
15258
15259 2008-12-04 Doug Evans <dje@google.com>
15260
15261 * gdb.server/ext-run.exp: Relax regexp for init program.
15262
15263 2008-12-03 Tristan Gingold <gingold@adacore.com>
15264
15265 * gdb.base/macscp.exp: Generate an object file during compilation
15266 to work around Darwin dsymutil limitations.
15267
15268 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15269
15270 Test resolving external references to TLS variables.
15271 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15272 FILE2_THREAD_LOCAL.
15273 (testfile2, srcfile2): New variables.
15274 * gdb.threads/tls.c (file2_thread_local)
15275 (function_referencing_file2_thread_local): New.
15276 * gdb.threads/tls2.c: New file.
15277
15278 2008-11-28 Joel Brobecker <brobecker@adacore.com>
15279
15280 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
15281 rather than integer, as integer might not be big enough when
15282 on 64bit targets.
15283
15284 2008-11-27 Jerome Guitton <guitton@adacore.com>
15285
15286 * gdb.cp/formatted-ref.exp: Add equality test.
15287 * gdb.ada/formatted_ref.exp: Ditto.
15288
15289 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15290
15291 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15292 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15293
15294 2008-11-20 Andreas Schwab <schwab@suse.de>
15295
15296 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15297 matching syscall entry point.
15298 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15299 (tcatch_vfork_then_child_follow): Likewise. Finish through
15300 vfork even if we stopped at the syscall trampoline.
15301
15302 2008-11-20 Doug Evans <dje@google.com>
15303
15304 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15305
15306 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15307
15308 * gdb.arch/ppc-dfp.exp: New file.
15309 * gdb.arch/ppc-dfp.c: New file.
15310
15311 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15312
15313 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
15314
15315 2008-11-17 Doug Evans <dje@google.com>
15316
15317 * gdb.mi/mi-syn-frame.exp: Update expected output.
15318 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15319
15320 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15321
15322 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
15323 "thread N" results in =thread-selected.
15324 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15325 (mi_send_resuming_command_raw): Be prepared for
15326 =thread-selected.
15327
15328 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15329
15330 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15331 * lib/mi-support.exp: Likewise.
15332
15333 2008-11-16 Joel Brobecker <brobecker@adacore.com>
15334
15335 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15336 commands from the expected output for "help catch".
15337
15338 2008-11-15 Joel Brobecker <brobecker@adacore.com>
15339
15340 * gdb.ada/int_deref.exp: New testcase.
15341
15342 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
15343
15344 * gdb.mi/gdb2549.exp: New file.
15345
15346 2008-11-11 Doug Evans <dje@google.com>
15347
15348 * gdb.base/callexit.exp: New file.
15349 * gdb.base/callexit.c: New file.
15350
15351 2008-11-10 Doug Evans <dje@google.com>
15352
15353 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15354 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15355 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15356 (default_gdb_start,default_gdb_exit): Ditto.
15357 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15358 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15359 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15360 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15361 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15362 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15363
15364 2008-11-03 Andreas Schwab <schwab@suse.de>
15365
15366 * gdb.base/hashline2.exp: Fix typo.
15367 * gdb.base/hashline3.exp: Likewise.
15368
15369 2008-10-30 Tom Tromey <tromey@redhat.com>
15370
15371 * gdb.base/pointers.exp: Add test.
15372 * gdb.base/pointers.c (k, S): New typedefs.
15373 (instance): New global.
15374
15375 2008-10-30 Andreas Schwab <schwab@suse.de>
15376
15377 * gdb.base/args.exp: Add tests for newlines.
15378
15379 2008-10-30 Joel Brobecker <brobecker@adacore.com>
15380
15381 gdb.base/foll-exec.exp: Update the expected output of a couple
15382 of "info breakpoints" tests.
15383
15384 2008-10-28 Tom Tromey <tromey@redhat.com>
15385
15386 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15387
15388 2008-10-24 Pedro Alves <pedro@codesourcery.com>
15389
15390 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15391 gdb_start_cmd.
15392 Use runto_main before any test that requires execution.
15393
15394 2008-10-23 Pedro Alves <pedro@codesourcery.com>
15395
15396 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15397 instead of SIGINT.
15398
15399 2008-10-22 Joel Brobecker <brobecker@adacore.com>
15400
15401 * gdb.base/completion.exp: Update expected output following
15402 the addition of the "info tasks" command.
15403
15404 2008-10-22 Tom Tromey <tromey@redhat.com>
15405
15406 * gdb.base/exprs.exp (test_expr): Add test for string
15407 concatenation.
15408
15409 2008-10-19 Pedro Alves <pedro@codesourcery.com>
15410
15411 * configure.ac: Output gdb.python/Makefile.
15412 * configure: Regenerate.
15413 * gdb.python/Makefile.in: New.
15414
15415 2008-10-16 Joel Brobecker <brobecker@adacore.com>
15416
15417 * gdb.base/foll-fork.exp: Adjust the expected output to match
15418 the new description for fork/vfork catchpoints in the "info
15419 breakpoints" output.
15420
15421 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15422
15423 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15424
15425 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15426
15427 * gdb.python/python-value.c: New file.
15428 * gdb.python/python-value.exp: New file.
15429
15430 2008-10-15 Pedro Alves <pedro@codesourcery.com>
15431
15432 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15433
15434 2008-10-15 Denis Pilat <denis.pilat@st.com>
15435
15436 * gdb.cp/mb-ctor.exp: Fix a typo.
15437
15438 2008-10-09 Tom Tromey <tromey@redhat.com>
15439
15440 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15441 'fprintf' and 'stderr'.
15442
15443 2008-10-07 Joel Brobecker <brobecker@adacore.com>
15444
15445 * gdb.ada/ref_tick_size.exp: New testcase.
15446
15447 2008-10-06 Doug Evans <dje@google.com>
15448
15449 * gdb.dwarf2/dw2-cu-size.exp: New file.
15450 * gdb.dwarf2/dw2-cu-size.S: New file.
15451
15452 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15453 .Ltype_int for clarity.
15454
15455 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15456
15457 PR gdb/2384:
15458 * gdb.cp/gdb2384.exp: Extended to test more cases.
15459 * gdb.cp/gdb2384.cc: Likewise.
15460 * gdb.cp/gdb2384-base.h: Likewise.
15461 * gdb.cp/gdb2384-base.cc: Likewise.
15462
15463 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15464
15465 * gdb.base/maint.exp (maint print type): Remove printing
15466 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15467
15468 2008-09-30 Tom Tromey <tromey@redhat.com>
15469
15470 * gdb.base/macscp.exp: Add completion tests.
15471 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15472 (TWENTY_THREE): Likewise.
15473 (FORTY_EIGHT): Likewise.
15474
15475 2008-09-30 Tom Tromey <tromey@redhat.com>
15476
15477 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15478 everywhere.
15479 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15480
15481 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15482
15483 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15484 testcase is derived from. Fix racy dependency on an expected PID
15485 number. No longer support the testcase on Linux kernel 2.4.x.
15486
15487 2008-09-27 Tom Tromey <tromey@redhat.com>
15488
15489 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15490 and varargs.
15491
15492 2008-09-22 Pedro Alves <pedro@codesourcery.com>
15493
15494 * lib/mi-support.exp (mi_expect_interrupt): New.
15495 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15496 from gdb.mi/mi-nonstop.exp.
15497 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15498 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15499 lib/mi-support.exp.
15500 Use mi_check_thread_states throughout. Avoid ".*" and do not
15501 require an anchor after -exec-run.
15502
15503 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15504
15505 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15506 stop is pending. Avoid ".*" when two stops are pending.
15507 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15508 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15509 newlines in fullnames.
15510 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15511 (mi_expect_stop): Update comments. Only anchor in sync mode.
15512 Do not match newlines.
15513 (mi_send_resuming_command_raw): Always return status.
15514 (mi_get_stop_line): Do not match more than one line by accident.
15515 Only anchor in sync mode.
15516 (mi_run_inline_test): If -exec-next fails, give up.
15517
15518 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15519
15520 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15521 on SPU.
15522
15523 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15524
15525 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15526
15527 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15528
15529 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15530 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15531 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15532 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15533 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15534 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15535 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15536 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15537 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15538 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15539 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15540 Include the "= " sequence in the expected output of print tests.
15541
15542 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15543
15544 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15545 description for boolean types.
15546
15547 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15548
15549 * gdb.base/hook-stop-continue.c: New.
15550 * gdb.base/hook-stop-continue.exp: New.
15551
15552 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15553
15554 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15555
15556 2008-09-08 Jerome Guitton <guitton@adacore.com>
15557
15558 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15559 (stack_check_probe_2, stack_check_probe_loop_1)
15560 (stack_check_probe_loop_2): New functions.
15561 (main): Add call to these new functions.
15562 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15563 functions, check that the breakpoint is inserted at the appropriate
15564 location.
15565 (insert_breakpoint): Slightly refine this procedure so that it can
15566 be called several times in the test.
15567
15568 2008-09-08 Jerome Guitton <guitton@adacore.com>
15569
15570 * gdb.base/stack-checking.c: New file.
15571 * gdb.base/stack-checking.exp: New file.
15572
15573 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15574
15575 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15576 * gdb.arch/altivec-regs.exp: Likewise.
15577 * gdb.arch/vsx-regs.exp: Likewise.
15578
15579 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15580
15581 * gdb.arch/ppc-fp.exp: New file.
15582 * gdb.arch/ppc-fp.c: New file.
15583
15584 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15585
15586 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15587 lest gcc-4.3.1 optimizes the whole thing away.
15588
15589 2008-09-04 Michael Snyder <msnyder@vmware.com>
15590
15591 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15592 as "at" (for non-debug functions such as _start).
15593
15594 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15595
15596 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15597 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15598 software watchpoints.
15599 * gdb.base/watch_thread_num.exp: Likewise.
15600
15601 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15602
15603 * gdb.arch/i386-bp_permanent.exp: New test.
15604
15605 2008-08-24 Tom Tromey <tromey@redhat.com>
15606
15607 * gdb.base/maint.exp: Update "maint print type".
15608
15609 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15610
15611 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15612 support. Adjust the order of "*running" notifications.
15613 * gdb.mi/non-stop.c: Don't cast from int to void* and
15614 back.
15615
15616 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15617
15618 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15619 expect to find it in the "info frame" output.
15620
15621 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15622
15623 * gdb.base/interp.exp: Always consume both prompts.
15624
15625 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15626
15627 * gdb.base/pending.exp: Test pending breakpoints without symbols
15628 loaded.
15629
15630 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15631
15632 * lib/mi-support.exp (mi_expect_stop): Produce
15633 more details on failures.
15634 * gdb.mi/mi-nonstop.exp: New.
15635 * gdb.mi/non-stop.c: New.
15636
15637 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15638
15639 * gdb.mi/mi-async.exp: Use 'set target-async'.
15640 * lib/mi-support.exp: Use 'set/show target-async'.
15641
15642 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15643
15644 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15645
15646 2008-08-17 Tom Tromey <tromey@redhat.com>
15647
15648 * gdb.base/help.exp (help catch): Rewrite.
15649
15650 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15651
15652 * gdb.base/define.exp: Test indented command documentation.
15653 * gdb.python/python.exp: Test indented multi-line command.
15654
15655 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15656
15657 * testsuite/gdb.arch/vsx-regs.c: New source file.
15658 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15659 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15660
15661 2008-08-14 Tom Tromey <tromey@redhat.com>
15662
15663 * gdb.base/macscp.exp: Add regression test for "macro define" or
15664 "macro undef" with no arguments.
15665
15666 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15667
15668 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15669
15670 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15671
15672 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15673
15674 2008-08-06 Tom Tromey <tromey@redhat.com>
15675
15676 * gdb.python/python.exp: New file.
15677
15678 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15679
15680 Fix for PR gdb/1543.
15681 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15682 $LOCATION.
15683 (location): New variable.
15684 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15685 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15686 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15687 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15688 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15689 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15690 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15691 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15692 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15693 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15694 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15695 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15696 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15697 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15698 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15699 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15700 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15701 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15702 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15703 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15704 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15705 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15706 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15707 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15708 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15709 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15710 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15711 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15712 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15713 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15714 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15715 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15716 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15717 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15718 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15719 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15720 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15721 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15722 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15723 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15724 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15725 gdb.base/type-opaque.exp, gdb.base/until.exp,
15726 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15727 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15728 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15729 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15730 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15731 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15732 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15733 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15734 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15735 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15736 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15737 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15738 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15739 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15740 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15741 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15742 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15743 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15744 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15745 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15746 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15747 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15748 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15749 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15750 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15751 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15752 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15753 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15754 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15755 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15756 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15757 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15758 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15759 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15760 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15761 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15762 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15763 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15764 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15765 to bug-gdb@prep.ai.mit.edu .
15766
15767 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15768
15769 * lib/mi-support.exp (mi_load_shlibs): New.
15770 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15771
15772 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15773
15774 * lib/mi-support.exp (get_mi_thread_list)
15775 (check_mi_and_console_threads): New, moved from ...
15776 * gdb.mi/mi-pthread.exp: ...here.
15777 * gdb.mi/gdb669.exp (get_mi_thread_list)
15778 (check_mi_and_console_threads): Delete.
15779 * gdb.mi/mi2-pthread.exp: Likewise.
15780
15781 2008-07-28 Tom Tromey <tromey@redhat.com>
15782
15783 * Makefile.in (just-check): Remove. Move body to...
15784 (check): ... here.
15785
15786 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15787
15788 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15789 Add a test for duplicated SIGINTs.
15790
15791 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15792
15793 * gdb.threads/schedlock.exp (get_args): Update to work for any
15794 value of NUM.
15795 (Top level): Report the number of threads that did not resume.
15796
15797 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15798
15799 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15800
15801 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15802
15803 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15804 non-MI prompt.
15805
15806 2008-07-26 Tom Tromey <tromey@redhat.com>
15807
15808 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15809 (function_struct, function_struct_ptr): New globals.
15810 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15811 function pointer in a struct.
15812
15813 2008-07-26 Tom Tromey <tromey@redhat.com>
15814
15815 * gdb.base/macscp.exp: Add test for macro lexing bug.
15816
15817 2008-07-18 Tom Tromey <tromey@redhat.com>
15818
15819 * gdb.base/macscp.exp: Add macro tests.
15820
15821 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15822
15823 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15824
15825 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15826
15827 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15828
15829 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15830
15831 * gdb.cp/class2.exp: fix for failure on spu-elf
15832
15833 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15834
15835 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15836
15837 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15838
15839 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15840
15841 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15842
15843 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15844
15845 2008-07-11 Kevin Buettner <kevinb@redhat.com>
15846
15847 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15848 of regexp to account for changes made to GDB in the printing of
15849 byte vectors.
15850
15851 2008-07-11 Tom Tromey <tromey@redhat.com>
15852
15853 * gdb.base/completion.exp: Add 'help' completion test.
15854
15855 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15856
15857 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15858
15859 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15860
15861 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15862
15863 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15864
15865 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15866
15867 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15868
15869 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15870
15871 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15872
15873 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15874
15875 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15876
15877 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15878 previous commit. Add a comment.
15879
15880 2008-06-28 Pedro Alves <pedro@codesourcery.com>
15881
15882 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15883
15884 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15885
15886 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15887
15888 2008-06-27 Pedro Alves <pedro@codesourcery.com>
15889
15890 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15891 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15892 compiling an executable, link in an object that forces unbuffered
15893 output.
15894 * lib/set_unbuffered_mode.c: New file.
15895
15896 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15897
15898 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15899
15900 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15901
15902 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15903 mi_expect_stop.
15904 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15905 Demand that *running is output.
15906 (detect_async): Perform checking every time.
15907 (mi_send_resuming_command): Extract everything into...
15908 (mi_send_resuming_command_raw): ...this.
15909 (mi_expect_stop): Don't accept any output before *stopped.
15910
15911 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15912
15913 Robustify mi-simplerun.
15914 * gdb.mi/basics.c (main): Add a call to sleep.
15915 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15916 * gdb.mi/mi2-cli.exp: Likewise.
15917 * gdb.mi/mi-break.exp: Likewise.
15918
15919 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
15920
15921 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15922
15923 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15924
15925 * gdb.mi/mi-console.exp: Adjust.
15926 * gdb.mi/mi-syn-frame.exp: Adjust.
15927 * gdb.mi/mi2-console.exp: Adjust.
15928 * gdb.mi/mi2-syn-frame.exp: Adjust.
15929 * lib/mi-support.exp (mi_run_cmd): Adjust.
15930 (mi_send_resuming_command): Adjust.
15931
15932 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15933
15934 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15935 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15936 testing of stopped.
15937 * gdb.mi/mi2-syn-frame.exp: Likewise.
15938 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15939 (async, detect_async): New.
15940 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15941 depending on if we're running in sync or async mode.
15942
15943 2008-06-09 Tom Tromey <tromey@redhat.com>
15944
15945 * gdb.base/completion.exp: New tests for field name completion
15946 with spaces, and field name completion with '->'.
15947
15948 2008-06-06 Tom Tromey <tromey@redhat.com>
15949
15950 * gdb.base/break1.c (struct some_struct): New struct.
15951 (values): New global.
15952 * gdb.base/completion.exp: Add field name completion test.
15953
15954 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15955
15956 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15957 to pointer.
15958 * gdb.cp/call-c.cc: Likewise.
15959
15960 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
15961
15962 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15963 annotation.
15964
15965 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15966 Pedro Alves <pedro@codesourcery.com>
15967
15968 * gdb.threads/execl.c, gdb.threads/execl1.c,
15969 gdb.threads/execl.exp: New tests.
15970
15971 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15972 Daniel Jacobowitz <dan@codesourcery.com>
15973
15974 * gdb.cp/exception.exp: Activate test, make it work with pending
15975 catchpoints.
15976
15977 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15978
15979 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15980
15981 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15982
15983 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15984 now printed.
15985 * gdb.mi/mi2-var-cmd.exp: Likewise.
15986
15987 2008-05-27 Andreas Schwab <schwab@suse.de>
15988
15989 * gdb.base/frame-args.exp: Handle arguments that are optimized
15990 out.
15991
15992 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
15993
15994 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15995 quiet for ppc32 and group options into a single variable.
15996
15997 2008-05-23 Joel Brobecker <brobecker@adacore.com>
15998
15999 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
16000 of zero-size elements.
16001 * gdb.ada/null_array.exp: Test printing this new array.
16002
16003 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16004
16005 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
16006
16007 2008-05-21 Joel Brobecker <brobecker@adacore.com>
16008
16009 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
16010 of the "finish" command.
16011
16012 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
16013
16014 * gdb.base/annota1.exp: Test for new annotation.
16015
16016 2008-05-16 Pedro Alves <pedro@codesourcery.com>
16017
16018 * gdb.base/fixsection.exp: New file.
16019 * gdb.base/fixsection0.c: New file.
16020 * gdb.base/fixsection1.c: New file.
16021
16022 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16023
16024 * gdb.base/annota1.exp: Accept printf@... in place of printf.
16025 * gdb.base/annota3.exp: Likewise.
16026
16027 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
16028
16029 * gdb.base/watch_thread_num.exp: Don't run tests that require
16030 watchpoints if the target doesn't support them.
16031
16032 2008-05-12 Doug Evans <dje@google.com>
16033
16034 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16035
16036 2008-05-09 Joel Brobecker <brobecker@adacore.com>
16037
16038 * gdb.ada/assign_1.exp: New testcase.
16039
16040 2008-05-09 Doug Evans <dje@google.com>
16041
16042 * gdb.base/find.exp: New file.
16043 * gdb.base/find.c: New file.
16044
16045 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16046
16047 * gdb.base/commands.exp (watchpoint_command_test): Handle
16048 gdb,no_hardware_watchpoints.
16049 * gdb.base/float.exp: Allow ARM targets without floating point.
16050 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16051
16052 2008-05-06 Jerome Guitton <guitton@adacore.com>
16053 Joel Brobecker <brobecker@adacore.com>
16054
16055 * gdb.ada/lang_switch: New test program.
16056 * gdb.ada/lang_switch.exp: New testcase.
16057
16058 2008-05-05 Doug Evans <dje@google.com>
16059
16060 * gdb.base/help.exp (disassemble): Update expected help text.
16061
16062 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16063
16064 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16065
16066 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16067
16068 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16069 different times.
16070
16071 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16072
16073 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16074 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16075 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16076 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16077
16078 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16079
16080 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16081 notification to appear.
16082
16083 2008-05-04 Daniel Jacobowitz <dan@debian.org>
16084
16085 * gdb.base/fullname.c: New file.
16086 * gdb.base/fullname.exp: New file.
16087 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16088
16089 2008-05-03 Pedro Alves <pedro@codesourcery.com>
16090
16091 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16092 expressions with macros.
16093
16094 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16095
16096 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16097
16098 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16099
16100 * gdb.base/completion.exp: Handle lack of other symbols beginning
16101 with "a".
16102
16103 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16104
16105 2008-05-02 Jim Blandy <jimb@codesourcery.com>
16106
16107 * gdb.asm/asmsrc1.s: Add scratch space.
16108
16109 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16110 Daniel Jacobowitz <dan@codesourcery.com>
16111
16112 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16113 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16114 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16115
16116 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16117
16118 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16119
16120 2008-05-01 Joel Brobecker <brobecker@adacore.com>
16121
16122 * gdb.base/info-target.exp: New testcase.
16123
16124 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16125
16126 * gdb.cp/hang.exp: Use .cc instead of .C.
16127 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16128 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16129
16130 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16131
16132 * gdb.base/gdb1250.exp: Remove perror.
16133 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16134
16135 2008-04-30 Pedro Alves <pedro@codesourcery.com>
16136
16137 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16138 .2byte.
16139
16140 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16141
16142 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16143 (maybe_kfail): New.
16144
16145 2008-04-25 Pedro Alves <pedro@codesourcery.com>
16146
16147 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16148
16149 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16150
16151 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16152 * gdb.mi/mi2-syn-frame.exp: Likewise.
16153 * lib/mi-support.exp: Likewise.
16154
16155 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16156
16157 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16158 to specify regexp for the location to stop at.
16159 * gdb.base/break-always.c: New.
16160 * gdb.base/break-always.exp: New.
16161
16162 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16163
16164 * lib/mi-support.exp (mi_runto_helper): Adjust
16165 for the original-location field.
16166 (mi_create_breakpoint, mi_list_breakpoints): New.
16167 * gdb.mi/mi-break.exp: Adjust.
16168 * gdb.mi/mi2-break.exp: Adjust.
16169 * gdb.mi/mi-pending.exp: Adjust.
16170 * gdb.mi/mi-simplerun.exp: Adjust.
16171 * gdb.mi/mi2-simplerun.exp: Adjust.
16172 * gdb.mi/mi-syn-frame.exp: Adjust.
16173 * gdb.mi/mi2-syn-frame.exp: Adjust.
16174 * gdb.mi/mi-until.exp: Adjust.
16175 * gdb.mi/mi2-until.exp: Adjust.
16176 * gdb.mi/mi-var-display.exp: Adjust.
16177 * gdb.mi/mi2-var-display.exp: Adjust.
16178 * gdb.mi/mi-watch.exp: Adjust.
16179 * gdb.mi/mi2-watch.exp: Adjust.
16180
16181 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
16182
16183 * aclocal.m4: Add override.m4.
16184 * configure: Regenerate.
16185
16186 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16187
16188 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16189 '-var-update --all-values' reports new value even the type
16190 of a variable object has changed.
16191
16192 2008-04-18 Craig Silverstein <csilvers@google.com>
16193
16194 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16195 files.
16196
16197 2008-04-18 Joel Brobecker <brobecker@adacore.com>
16198
16199 * gdb.ada/atomic_enum: New test program.
16200 * gdb.ada/atomic_enum.exp: New testcase.
16201
16202 2008-04-17 Doug Evans <dje@google.com>
16203
16204 * gdb.opt/Makefile.in: Fix whitespace.
16205
16206 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16207
16208 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16209
16210 2008-04-17 Doug Evans <dje@google.com>
16211
16212 * gdb.base/hashline1.exp: New testcase.
16213 * gdb.base/hashline2.exp: New testcase.
16214 * gdb.base/hashline2.exp: New testcase.
16215
16216 2008-04-17 Pedro Alves <pedro@codesourcery.com>
16217
16218 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16219
16220 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16221
16222 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16223 temporary breakpoint to match "Temporary breakpoint".
16224 * gdb.base/break.exp (delete_breakpoints): Likewise.
16225 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16226 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16227 * gdb.base/display.exp: Likewise.
16228 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16229 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16230 * gdb.base/restore.exp (restore_tests): Likewise.
16231 * gdb.base/sepdebug.exp: Likewise.
16232 * gdb.base/watchpoint.exp: Likewise.
16233 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16234 * gdb.mi/mi-pending.exp: Likewise.
16235 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16236 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16237 * gdb.mi/mi-var-cmd.exp: Likewise.
16238 * gdb.mi/mi-var-display.exp: Likewise.
16239 * gdb.mi/mi2-cli.exp: Likewise.
16240 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16241 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16242 * gdb.mi/mi2-var-display.exp: Likewise.
16243 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16244 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16245 new "disp" field.
16246 (mi_expect_stop): Move after_reason argument to be really after
16247 reason. This is to support fix for PR2424.
16248
16249 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16250
16251 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16252
16253 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16254
16255 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
16256 field. Add more floating varobj tests.
16257 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
16258 field.
16259 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16260 (main): Call do_at_tests.
16261 * lib/mi-support.exp (mi_create_floating_varobj)
16262 (mi_varobj_update_with_type_change): New.
16263
16264 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16265
16266 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16267 option of -var-evaluate-expression.
16268 * gdb.mi/mi2-var-display.exp: Likewise.
16269
16270 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16271
16272 Introduce test setup helpers.
16273 * lib/gdb.exp (build_executable, clean_restart)
16274 (prepare_for_testing): New.
16275 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16276 * gdb.base/return.exp: Likewise.
16277 * gdb.base/ending-run.exp: Likewise.
16278
16279 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
16280
16281 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16282 Interface (MI) responses.
16283
16284 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16285
16286 * gdb.cp/breakpoint.cc: New code to test conditions involving
16287 member variables.
16288 * gdb.cp/breakpoint.exp: Test condition involving member
16289 variables.
16290
16291 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16292
16293 * lib/mi-support.exp (mi_expect_stop): New.
16294 (mi_run_cmd): Change the
16295 token. Use mi_send_resuming_command, use
16296 mi_expect_stop.
16297 (mi_execute_to_helper): Rename to mi_execute_to.
16298 (mi_send_resuming_command): Add more error patterns.
16299 (mi_wait_for_stop): Renamed to...
16300 (mi_get_stop_line): ...this.
16301 (mi_run_inline_test): Adjust.
16302
16303 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16304 * gdb.mi/mi-console.exp: Likewise.
16305 * gdb.mi/mi-pending.exp: Likewise.
16306 * gdb.mi/mi-simplerun.exp: Likewise.
16307 * gdb.mi/mi-stack.exp: Likewise.
16308 * gdb.mi/mi-stepi.exp: Likewise.
16309 * gdb.mi/mi-syn-frame.exp: Add comment.
16310 * gdb.mi/mi-until.exp: Likewise.
16311 * gdb.mi/mi-var-display.exp: Likewise.
16312 * gdb.mi/mi-watch.exp: Likewise.
16313 * gdb.mi/mi2-cli.exp: Likewise.
16314 * gdb.mi/mi2-console.exp: Likewise.
16315 * gdb.mi/mi2-simplerun.exp: Likewise.
16316 * gdb.mi/mi2-stack.exp: Likewise.
16317 * gdb.mi/mi2-stepi.exp: Likewise.
16318 * gdb.mi/mi2-until.exp: Likewise.
16319 * gdb.mi/mi2-var-display.exp: Likewise.
16320 * gdb.mi/mi2-watch.exp: Likewise.
16321
16322 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16323
16324 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16325
16326 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16327
16328 2008-04-04 Pedro Alves <pedro@codesourcery.com>
16329
16330 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16331 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16332 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16333 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16334 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16335 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16336 expect an mi error duplicated in stderr.
16337
16338 2008-04-03 Joel Brobecker <brobecker@adacore.com>
16339
16340 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16341 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16342 Add a couple of tests that verify the behavior when the new setting
16343 is set to "cancel" and "all".
16344 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16345 "ask" before we start the testing.
16346
16347 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16348
16349 * gdb.cp/casts.cc: Add class reference variables.
16350 * gdb.cp/casts.exp: New test cases for up/down casting references.
16351
16352 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16353
16354 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16355 instead of beginning to make an extra test pass.
16356 * gdb.mi/mi2-var-display.exp: Likewise.
16357
16358 2008-03-31 Maciej W. Rozycki <macro@mips.com>
16359
16360 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16361
16362 2008-03-31 Markus Deuling <deuling@de.ibm.com>
16363 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16364
16365 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16366 value. Add xfail for older kernels.
16367
16368 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16369
16370 Bring mi-support in line with gdb.exp.
16371 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16372 (mi_gdb_start): New function.
16373
16374 2008-03-28 Maciej W. Rozycki <macro@mips.com>
16375
16376 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16377
16378 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16379
16380 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16381 * gdb.mi/mi2-var-display.exp: Likewise.
16382
16383 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16384
16385 * lib/mi-support.exp (mi_create_varobj_checked): New.
16386 (mi_list_varobj_children): Allow to check for a
16387 value.
16388 (mi_list_array_varobj_children): New.
16389
16390 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16391 and mi_list_varobj_children, as opposed to hardcoding
16392 expected strings.
16393 * gdb.mi/gdb701.exp: Likewise.
16394 * gdb.mi/gdb792.exp: Likewise.
16395 * gdb.mi/mi-var-block.exp: Likewise.
16396 * gdb.mi/mi-var-cmd.exp: Likewise.
16397 * gdb.mi/mi-var-invalidate.exp: Likewise.
16398 * gdb.mi/mi2-var-block.exp: Likewise.
16399 * gdb.mi/mi2-var-child.exp: Likewise.
16400 * gdb.mi/mi2-var-cmd.exp: Likewise.
16401 * gdb.mi/mi2-var-display.exp: Likewise.
16402
16403 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16404
16405 Fix random false FAILs on i386.
16406 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16407
16408 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16409
16410 PR gdb/544
16411 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16412
16413 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16414
16415 PR gdb/544
16416 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16417
16418 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16419
16420 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16421 fixed PR gdb/544.
16422
16423 2008-03-21 Pedro Alves <pedro@codesourcery.com>
16424
16425 * gdb.threads/fork-child-threads.exp: Test next over fork.
16426
16427 2008-03-21 Chris Demetriou <cgd@google.com>
16428
16429 * gdb.base/break.exp (rbreak junk): New test for rbreak
16430 "Junk at end of arguments" issue.
16431
16432 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16433
16434 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16435 *& to work on created array elements.
16436 (Top level): Test print $pc with a file. Test string operations
16437 without a target.
16438 * gdb.base/ptype.exp: Do not expect *& to work on created array
16439 elements.
16440
16441 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16442
16443 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16444 gdb.threads/staticthreads.exp: Update exit query.
16445
16446 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16447
16448 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16449
16450 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16451
16452 * gdb.base/watchpoint.c (global_ptr, func4): New.
16453 (main): Call func4.
16454 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16455 (test_inaccessible_watchpoint): New.
16456
16457 2008-02-29 Maciej W. Rozycki <macro@mips.com>
16458
16459 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16460 select the largest.
16461
16462 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16463
16464 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16465 frames-invalid annotations.
16466
16467 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16468
16469 * gdb.base/assign.exp: avoid same output for different tests.
16470
16471 2008-02-27 Doug Evans <dje@google.com>
16472
16473 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16474 for bug 1738.
16475 (breakpoint_to_handler_entry): Ditto.
16476
16477 2008-02-27 Joel Brobecker <brobecker@adacore.com>
16478
16479 * gdb.base/ending-run.exp: Use the first line of code inside
16480 function body to test breakpoints.
16481 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16482 location where the breakpoint is inserted when using the line
16483 where a function is declared. Fix typo in the description of
16484 one of the tests.
16485 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16486
16487 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16488
16489 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16490 tests.
16491
16492 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16493
16494 * gdb.base/args.exp: avoid same output for tests
16495 with single quotes.
16496
16497 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16498
16499 * gdb.base/annota1.exp: Adjust for 'info break'
16500 format changes.
16501 * gdb.base/annota3.exp: Likewise.
16502 * gdb.base/break.exp: Likewise.
16503 * gdb.base/condbreak.exp: Likewise.
16504 * gdb.base/pending.exp: Likewise.
16505 * gdb.base/sepdebug.exp: Likewise.
16506 * gdb.base/unload.exp: Likewise.
16507 * gdb.cp/ovldbreak.exp: Likewise.
16508 * gdb.mi/mi-pending.exp: Likewise.
16509
16510 2008-02-07 Doug Evans <dje@google.com>
16511
16512 * gdb.cp/mb-inline.exp: New.
16513 * gdb.cp/mb-inline.h: New.
16514 * gdb.cp/mb-inline1.cc: New.
16515 * gdb.cp/mb-inline2.cc: New.
16516
16517 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16518
16519 * gdb.pascal/floats.pas: New test program.
16520 * gdb.pascal/floats.exp: New testcase.
16521
16522 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16523
16524 * gdb.base/callfuncs.c (t_float_many_args): New function.
16525 (t_double_many_args): New function.
16526 * gdb.base/callfuncs.exp: Add tests for exceeding float
16527 and double parameters passed through the stack.
16528
16529 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16530
16531 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16532 gdb.ada/complete/foo.adb: New files.
16533 * gdb.ada/complete.exp: New testcase.
16534
16535 2008-02-03 Doug Evans <dje@google.com>
16536
16537 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16538
16539 * gdb.cp/gdb2384.exp: New file.
16540 * gdb.cp/gdb2384.cc: New file.
16541 * gdb.cp/gdb2384-base.h: New file.
16542 * gdb.cp/gdb2384-base.cc: New file.
16543
16544 2008-02-02 Doug Evans <dje@google.com>
16545
16546 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16547
16548 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16549
16550 * gdb.ada/sym_print_name: New test program.
16551 * gdb.ada/sym_print_name.exp: New testcase.
16552
16553 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16554
16555 * gdb.ada/nested/hello.adb: New file.
16556 * gdb.ada/nested.exp: New testcase.
16557 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16558
16559 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16560
16561 * gdb.mi/basic.c (return_1): New function.
16562 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16563 don't cause future evaluations of function to report
16564 creation of internal breakpoints.
16565
16566 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16567
16568 * gdb.mi/mi-break.exp (test_error): New.
16569 Call it.
16570
16571 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16572
16573 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16574 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16575
16576 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16577
16578 * gdb.pascal/integers.pas: New test program.
16579 * gdb.pascal/integers.exp: New testcase.
16580
16581 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16582
16583 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16584
16585 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16586
16587 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16588 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16589
16590 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16591
16592 * gdb.ada/formatted_ref: New test program.
16593 * gdb.ada/formatted_ref.exp: New testcase.
16594
16595 * gdb.cp/formatted-ref.cc: New file.
16596 * gdb.cp/formatted-ref.exp: New testcase.
16597
16598 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16599
16600 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16601
16602 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16603
16604 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16605 (test_file_list_exec_source_file): Update to new macro-info field.
16606
16607 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16608
16609 * gdb.ada/exprs: New test program.
16610 * gdb.ada/exprs.exp: New testcase.
16611
16612 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16613
16614 * dfp-test.c (DELTA, DELTA_B): New definitions.
16615 (double_val1, double_val2, double_val3, double_val4, double_val5,
16616 double_val6, double_val7, double_val8, double_val9, double_val10,
16617 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16618 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16619 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16620 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16621 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16622 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16623 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16624 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16625 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16626 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16627 dec128_val16): New global variables.
16628 (decimal_dec128_align): New function.
16629 (decimal_mixed): Likewise.
16630 (decimal_many_args_dec32): Likewise.
16631 (decimal_many_args_dec64): Likewise.
16632 (decimal_many_args_dec128): Likewise.
16633 (decimal_many_args_mixed): Likewise.
16634 * dfp-test.exp: Add tests calling new inferior functions.
16635
16636 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16637
16638 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16639 gdb.server/ext-run.exp: New files.
16640 * lib/gdbserver-support.exp (gdbserver_download): New.
16641 (gdbserver_start): New. Update gdbserver expected
16642 output.
16643 (gdbserver_spawn): Use them.
16644 (gdbserver_start_extended): New.
16645
16646 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16647
16648 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16649 Run on GNU/Linux.
16650 (do_exec_tests): Check for systems which do not support catchpoints.
16651 Do not match START.
16652 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16653 Run on GNU/Linux. Enable verbose output.
16654 (check_fork_catchpoints): New.
16655 (explicit_fork_child_follow, catch_fork_child_follow)
16656 (tcatch_fork_parent_follow): Update expected messages.
16657 (do_fork_tests): Use check_fork_catchpoints.
16658 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16659 Run on GNU/Linux. Enable verbose output.
16660 (check_vfork_catchpoints): New.
16661 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16662 expected messages.
16663 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16664
16665 2008-01-29 Jim Blandy <jimb@red-bean.com>
16666
16667 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16668 host' errors.
16669 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16670
16671 2008-01-29 Jim Blandy <jimb@red-bean.com>
16672
16673 * gdb.threads/sigthread.c: Use barriers to ensure that
16674 child_thread and child_thread_two are always initialized before we
16675 start to use them.
16676
16677 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16678
16679 * gdb.base/watchpoint-solib.exp: New.
16680 * gdb.base/watchpoint-solib.c: New.
16681 * gdb.base/watchpoint-solib-shr.c: New.
16682
16683 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16684
16685 * gdb.base/gdb1056.exp: Add unsigned integer test.
16686
16687 2008-01-28 Doug Evans <dje@google.com>
16688
16689 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16690
16691 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16692
16693 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16694
16695 * gdb.base/expand-psymtabs.exp: Doc fix.
16696
16697 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16698
16699 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16700
16701 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16702
16703 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16704 -var-set-format.
16705
16706 2008-01-23 Chris Demetriou <cgd@google.com>
16707
16708 * gdb.threads/thread_events.c: New testcase source file.
16709 * gdb.threads/thread_events.exp: New testcase expect file.
16710
16711 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16712
16713 * lib/gdb.exp: Add the variable octal.
16714
16715 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16716 -var-set-format.
16717
16718 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16719 Vladimir Prus <vladimir@codesourcery.com>
16720
16721 * gdb.base/float.exp: Allow missing floating point for m68k and
16722 PowerPC.
16723
16724 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16725
16726 * gdb.mi/basics.c: Setup for testing breakpoints
16727 ignore count.
16728 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16729 * gdb.mi/mi-cli.exp: Adjust.
16730 * gdb.mi/mi2-cli.exp: Adjust.
16731
16732 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16733
16734 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16735 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16736 with dummy_ptr's address.
16737 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16738 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16739 all targets.
16740 * gdb.mi/mi2-var-child.exp: Likewise.
16741
16742 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16743
16744 * gdb.ada/null_array: New test program.
16745 * gdb.ada/null_array.exp: New testcase.
16746
16747 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16748
16749 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16750 with required float modifiers.
16751
16752 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16753
16754 * gdb.ada/funcall_param: New test program.
16755 * gdb.ada/funcall_param.exp: New testcase.
16756
16757 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16758
16759 * gdb.ada/arrayparam: New test program.
16760 * gdb.ada/arrayparam.exp: New testcase.
16761
16762 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16763
16764 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16765 landed. Should also fix random failures in the test following it.
16766
16767 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16768
16769 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16770 for expressions with decimal float values.
16771 (test_dfp_conversions): New function to test casts to and from
16772 decimal float types.
16773 Call test_dfp_conversions.
16774 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16775 elements.
16776 (main): Initialize ds.float4 and ds.double8 elements.
16777 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16778 string to new error message.
16779 (d64_set_tests): Likewise.
16780 (d128_set_tests): Likewise.
16781 Add tests for expressions with decimal float variables. Add tests for
16782 conversions to and from decimal float types.
16783
16784 2008-01-05 Joel Brobecker <brobecker@adacore.com>
16785
16786 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16787 * gdb.ada/packed_tagged.exp: New testcase.
16788
16789 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16790
16791 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16792 gdb.ada/homonym/homonym_main.adb: New files.
16793 * gdb.ada/homonym.exp: New testcase.
16794
16795 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16796
16797 * gdb.ada/packed_array.exp: Add testing of references to
16798 a packed array.
16799
16800 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16801
16802 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16803 New files.
16804 * gdb.ada/type_coercion.exp: New testcase.
16805
16806 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16807
16808 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16809 gdb.ada/tagged/foo.adb: New file.
16810 * gdb.ada/tagged.exp: New testcase.
16811
16812 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16813
16814 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16815 gdb.ada/ptype_field/foo.adb: New files.
16816 * gdb.ada/ptype_field.exp: New testcase.
16817
16818 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16819
16820 * gdb.ada/print_pc.exp: New testcase.
16821
16822 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16823
16824 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16825 gdb.ada/taft_type/p.adb: New files.
16826 * gdb.ada/taft_type.exp: New testcase.
16827
16828 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16829
16830 * gdb.ada/array_bounds/bar.adb: New file.
16831 * gdb.ada/array_bounds.exp: New testcase.
16832
16833 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16834
16835 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16836 gdb.ada/arrayptr/foo.adb: New files.
16837 * gdb.ada/arrayptr.exp: New testcase.
16838
16839 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16840
16841 * gdb.base/set-lang-auto.exp: New testcase.
16842
16843 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16844
16845 * gdb.ada/fun_addr/foo.adb: New file.
16846 * gdb.ada/fun_addr.exp: New testcase.
16847
16848 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16849
16850 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16851 New files
16852
16853 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16854
16855 * array_subscript_addr/p.adb: New file.
16856 * array_subscript_addr.exp: New testcase.
16857
16858 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16859
16860 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16861 New files.
16862 * gdb.ada/str_cmp_ref.exp: New testcase.
16863
16864 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16865
16866 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16867 gdb.ada/fun_in_declare/foo.adb: New files.
16868 * gdb.ada/fun_in_declare.exp: New testcase.
16869
16870 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16871
16872 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16873 gdb.ada/ref_param/pck.ads: New files.
16874 * gdb.ada/ref_param.exp: New testcase.
16875
16876 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16877
16878 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16879 gdb.ada/interface/foo.adb: New files.
16880 * gdb.ada/interface.exp: New testcase.
16881
16882 2007-12-31 Jim Blandy <jimb@codesourcery.com>
16883
16884 * gdb.base/multi-forks.exp: Consume all output from child
16885 processes before proceeding to next test.
16886
16887 2007-12-29 Jim Blandy <jimb@codesourcery.com>
16888
16889 * configure: Regenerated.
16890
16891 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16892
16893 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16894 gdb.ada/fixed_cmp/fixed.adb: New files.
16895 * gdb.ada/fixed_cmp.exp: New testcase.
16896
16897 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16898
16899 * gdb.ada/boolean_expr.exp: New testcase.
16900
16901 2007-12-26 Jim Blandy <jimb@codesourcery.com>
16902
16903 * gdb.base/multi-forks.exp: Doc fix.
16904
16905 2007-12-26 Joel Brobecker <brobecker@adacore.com>
16906
16907 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16908 * gdb.ada/char_param.exp: Do not compile our test program with
16909 -gnata, this is unnecessary.
16910 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16911
16912 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16913
16914 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16915 gdb.ada/print_chars/foo.adb: New files.
16916 * gdb.ada/print_chars.exp: New testcase.
16917
16918 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16919
16920 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16921 gdb.ada/char_param/foo.adb: New files.
16922 * gdb.ada/char_param.exp: New testcase.
16923
16924 2007-12-22 Jim Blandy <jimb@codesourcery.com>
16925
16926 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16927 hard-coding source line numbers into the test.
16928 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16929 gdb_get_line_number to find.
16930
16931 2007-12-22 Joel Brobecker <brobecker@adacore.com>
16932
16933 * gdb.base/ptype.c (highest): New struct type.
16934 (the_highest): New variable of that type.
16935 (main): Add dummy assignment to a field of variable the_highest.
16936 * gdb.base/ptype.exp: Test type printing of our new variable.
16937
16938 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16939
16940 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16941 and record first explicitly generated thread number.
16942 Use that thread number for thread specific watchpoint test.
16943 Add iteration number to repetitive tests.
16944
16945 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16946 Jim Blandy <jimb@codesourcery.com>
16947
16948 * gdb.base/expand-psymtabs.c: New testcase
16949 source file.
16950 * gdb.base/expand-psymtabs.exp: New testcase
16951 expect file.
16952
16953 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
16954
16955 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16956 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16957
16958 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16959
16960 * gdb.ada/frame_args/foo.adb: New file.
16961 * gdb.ada/frame_args/pck.ads: New file.
16962 * gdb.ada/frame_args/pck.adb: New file.
16963 * gdb.ada/frame_args.exp: New testcase.
16964
16965 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16966
16967 * gdb.base/frame-args.c: New file.
16968 * gdb.base/frame-args.exp: New testcase.
16969
16970 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
16971 Joseph Myers <joseph@codesourcery.com>
16972
16973 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16974
16975 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
16976
16977 * gdb.mi/mi-pending.exp: New.
16978 * gdb.mi/mi-pending.c: New.
16979 * gdb.mi/mi-pendshr.c: New.
16980
16981 2007-12-06 Jim Blandy <jimb@codesourcery.com>
16982
16983 * gdb.base/default.exp: Update expected output for 'info catch'.
16984
16985 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16986
16987 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16988 must be set to binary.
16989
16990 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16991
16992 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16993
16994 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16995
16996 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16997 gdb.mi/mi-file-transfer.exp: New.
16998
16999 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17000
17001 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
17002
17003 2007-11-22 Maciej W. Rozycki <macro@mips.com>
17004
17005 * gdb.trace/backtrace.exp: Fix a typo.
17006 * gdb.trace/circ.exp: Likewise.
17007 * gdb.trace/collection.exp: Likewise.
17008 * gdb.trace/limits.exp: Likewise.
17009 * gdb.trace/report.exp: Likewise.
17010 * gdb.trace/tfind.exp: Likewise.
17011 * gdb.trace/while-dyn.exp: Likewise.
17012
17013 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
17014
17015 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
17016 objects of pointers that can't be dereferenced are now
17017 "noneditable".
17018
17019 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17020
17021 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
17022 (target_cpu): Remove.
17023
17024 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
17025
17026 * gdb.base/ending-run.exp: Expect the list of cleared
17027 breakpoint to come in natural order, not the reversed one.
17028
17029 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17030
17031 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17032 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
17033
17034 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
17035
17036 * gdb.base/printcmds.exp: New function
17037 test_printf_with_dfp.
17038
17039 2007-11-02 Doug Evans <dje@google.com>
17040
17041 * gdb.disasm/t01_mov.s: Remove carriage returns.
17042 * gdb.disasm/t02_mova.s: Ditto.
17043 * gdb.disasm/t03_add.s: Ditto.
17044 * gdb.disasm/t04_sub.s: Ditto.
17045 * gdb.disasm/t05_cmp.s: Ditto.
17046 * gdb.disasm/t06_ari2.s: Ditto.
17047 * gdb.disasm/t07_ari3.s: Ditto.
17048 * gdb.disasm/t08_or.s: Ditto.
17049 * gdb.disasm/t09_xor.s: Ditto.
17050 * gdb.disasm/t10_and.s: Ditto.
17051 * gdb.disasm/t11_logs.s: Ditto.
17052 * gdb.disasm/t12_bit.s: Ditto.
17053 * gdb.disasm/t13_otr.s: Ditto.
17054
17055 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17056
17057 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17058
17059 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17060
17061 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17062 provide DFP support.
17063
17064 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17065
17066 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17067 Test "set powerpc vector-abi". Skip auto-detection tests for old
17068 toolchains.
17069
17070 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17071
17072 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17073 with [string compare].
17074
17075 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17076
17077 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17078 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17079
17080 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
17081
17082 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17083 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17084 * gdb.opt/Makefile.in: New makefile.
17085 * Makefile.in: Create new directory "gdb.opt".
17086 * configure.ac: Add "gdb.opt" directory.
17087 * configure: Regenerated.
17088
17089 2007-10-25 Doug Evans <dje@google.com>
17090
17091 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17092 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17093
17094 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
17095 Thiago Jung Bauermann <bauerman@br.ibm.com>
17096
17097 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17098 Floating Point expressions.
17099 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17100 Floating Point variables.
17101 * gdb.base/dfp-test.c: new file containing program with Decimal
17102 Floating variables, used by gdb.base/dfp-test.exp.
17103
17104 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17105
17106 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17107
17108 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17109
17110 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17111 compiling test case with GCC.
17112 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17113
17114 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17115
17116 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17117 format changes.
17118
17119 2007-10-18 Michael Snyder <msnyder@specifix.com>
17120
17121 * gdb.base/dbx.exp: Add missing "-re " operator.
17122
17123 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17124
17125 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17126 * configure.ac: Removed trailing spaces after backslash.
17127 * gdb.modula2: New directory.
17128 * gdb.modula2/Makefile.in: New file.
17129 * gdb.modula2/unbounded-array.exp: New file.
17130 * gdb.modula2/unbounded1.c: New file.
17131
17132 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17133
17134 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17135
17136 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
17137
17138 * gdb.base/sigstep.c (main): Add checks for
17139 return values for setitimer call.
17140 Call setitimer again with itimer = ITIMER_REAL
17141 if first call to setitimer fails.
17142
17143 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
17144
17145 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17146 of $timeout.
17147
17148 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17149
17150 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17151
17152 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
17153
17154 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17155 of gdb_expect call, to avoid interruption.
17156
17157 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17158
17159 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17160 (v_unsigned_long_long, v_long_long_array)
17161 (v_signed_long_long_array, v_unsigned_long_long_array)
17162 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17163 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17164 [!NO_LONG_LONG]: New.
17165 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17166 v_long_long_member.
17167
17168 (v_long_long_func, v_signed_long_long_func)
17169 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17170 (main) [!NO_LONG_LONG]: Initialize long long variants.
17171
17172 * gdb.base/whatis.exp: If board file requests no_long_long, build
17173 test with NO_LONG_LONG defined. Test long long, signed long long,
17174 and unsigned long long variants but only if board file doesn't
17175 disable it.
17176
17177 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
17178 Daniel Jacobowitz <dan@codesourcery.com>
17179
17180 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17181 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17182 * configure: Regenerated.
17183 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17184 gdb.pascal/types.exp, lib/pascal.exp: New files.
17185
17186 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17187
17188 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17189 call.
17190 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17191 to return to the call.
17192 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17193 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17194 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17195 * gdb.mi/mi-until.exp (test_until): Likewise.
17196 * gdb.mi/mi2-until.exp (test_until): Likewise.
17197
17198 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17199
17200 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17201 two-char array.
17202 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17203
17204 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17205
17206 * gdb.threads/watchthreads.c (thread_function): Sleep between
17207 iterations.
17208 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17209 at once for S/390. Generate matching fails and passes.
17210
17211 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17212
17213 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17214 the 'struct_declarations' variable to zeros.
17215
17216 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17217
17218 * gdb.cp/mb-ctor.cc: New.
17219 * gdb.cp/mb-ctor.exp: New.
17220 * gdb.cp/mb-templates.cc: New.
17221 * gdb.cp/mb-templates.exp: New.
17222
17223 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17224
17225 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17226
17227 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17228
17229 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17230 targets.
17231 * configure: Regenerate.
17232
17233 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
17234
17235 * gdb.base/annota1.exp: Adjust for 'info break'
17236 format changes.
17237 * gdb.base/annota3.exp: Likewise.
17238 * gdb.base/break.exp: Likewise.
17239 * gdb.base/condbreak.exp: Likewise.
17240 * gdb.base/pending.exp: Likewise.
17241 * gdb.base/sepdebug.exp: Likewise.
17242 * gdb.base/unload.exp: Likewise.
17243 * gdb.base/ovldbreak.exp: Likewise.
17244
17245 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17246
17247 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17248 messages.
17249 * gdb.base/chng-syms.exp: Likewise.
17250 * gdb.base/unload.exp: Likewise.
17251
17252 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17253
17254 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17255
17256 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17257
17258 * schedlock.c (NUM): Change to 1.
17259 (main): Use args[0] for the main thread.
17260 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17261 regardless of the number of threads.
17262
17263 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17264
17265 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17266 type down.
17267 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17268 test.
17269 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17270 watchpoint type down.
17271 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17272 test.
17273
17274 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17275
17276 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17277 Move all the tests here and run them twice, once using software
17278 watchpoints and once using hardware watchpoints.
17279 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17280
17281 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17282
17283 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17284 test.
17285
17286 2007-09-10 Mark Kettenis <kettenis@gnu.org>
17287
17288 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17289 build-id.
17290
17291 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17292 know about $ORIGIN. Calculate output dir from $dest instead of
17293 using ${objdir}/{$subdir}.
17294
17295 2007-09-09 Mark Kettenis <kettenis@gnu.org>
17296
17297 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17298 gcore, before continuing with the test.
17299
17300 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17301
17302 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17303 * gdb.mi/mi-watch.exp: Likewise.
17304
17305 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17306 Jim Blandy <jimb@codesourcery.com>
17307
17308 * gdb.arch/i386-sse.exp: Do not expect character constants.
17309 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17310 * gdb.base/display.exp: Allow print/s.
17311 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17312 and unsigned char array changes.
17313
17314 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17315
17316 * gdb.base/display.exp: Add tests for printf %p.
17317
17318 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17319
17320 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17321 the dll name to unicode.
17322
17323 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17324
17325 * gdb.base/default.exp (show version): Update the version text.
17326 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17327
17328 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17329
17330 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17331 New files.
17332
17333 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17334
17335 * lib/gdb.exp (build_id_debug_filename_get): New function.
17336 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17337 Remove the generate DEBUG file for the future testcase runs.
17338 New testcase for the NT_GNU_BUILD_ID retrieval.
17339 Move the final testing step to ...
17340 (test_different_dir): ... a new function.
17341 New parameter XFAIL to XFAIL all the tests performed.
17342 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17343 New parameter TYPE to PF_PREFIX all the tests performed.
17344
17345 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17346
17347 * gdb.mi/mi-var-cp.cc (path_expression): New
17348 function.
17349 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17350
17351 2007-08-27 Markus Deuling <deuling@de.ibm.com>
17352
17353 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17354 to fit into SPU Local Store memory.
17355
17356 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17357
17358 * gdb.base/default.exp: Adjust the expected output of "info
17359 warranty" after the switch to GPLv3.
17360
17361 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17362
17363 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17364 to 30000 (from 20000).
17365
17366 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17367
17368 Switch the license of all .exp files to GPLv3.
17369 Switch the license of all .f and .f90 files to GPLv3.
17370 Switch the license of all .s and .S files to GPLv3.
17371
17372 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17373
17374 * configure.ac: Switch license to GPLv3.
17375
17376 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17377
17378 Switch the licensing to GPLv3 for all .ads and .adb files.
17379
17380 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17381
17382 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17383 and t_int_double.
17384 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17385
17386 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17387
17388 * gdb.base/step-line.c: Switch license to GPL version 3, and
17389 update copyright year.
17390 * gdb.base/step-line.inp: Likewise.
17391
17392 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17393
17394 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17395 changes inside gdb1555.c.
17396 * gdb.base/pending.exp: Likewise.
17397
17398 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17399
17400 * config/default.exp: New file.
17401
17402 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17403
17404 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17405 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17406
17407 2007-07-30 Maciej W. Rozycki <macro@mips.com>
17408
17409 * gdb.base/dump.exp: Force the correct endianness for binary
17410 formats not carrying this information.
17411
17412 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17413
17414 * gdb.threads/staticthreads.exp: Match .*sem_post.
17415
17416 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17417
17418 * gdb.base/readline.exp (operate_and_get_next): Match the final
17419 prompt.
17420
17421 2007-07-23 Kevin Buettner <kevinb@redhat.com>
17422
17423 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17424 to restarting SID.
17425
17426 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17427
17428 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17429 prior to `gdb_start'.
17430
17431 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17432
17433 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17434 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17435 Remove call to gdb_unload.
17436
17437 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17438 Daniel Jacobowitz <dan@codesourcery.com>
17439
17440 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17441 for __WIN32__.
17442 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17443 * gdb.base/unload.exp: Use shared library test routines.
17444
17445 2007-07-03 Markus Deuling <deuling@de.ibm.com>
17446
17447 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17448 * gdb.base/solib-symbol-lib.c: Likewise.
17449 * gdb.base/solib-symbol-main.c: Likewise.
17450
17451 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17452
17453 * config/gdbserver.exp (gdb_reconnect): New.
17454 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17455 gdb.base/solib-disc.exp: New files.
17456 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17457 remote debugging".
17458 (gdb_compile): Add shlib_load flag.
17459 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17460 port.
17461 (gdbserver_reconnect): New.
17462
17463 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
17464 Daniel Jacobowitz <dan@codesourcery.com>
17465
17466 * gdb.base/annota3.exp: Test for if construct.
17467
17468 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17469
17470 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17471
17472 2007-06-21 Chris Dearman <chris@mips.com>
17473 Maciej W. Rozycki <macro@mips.com>
17474
17475 * gdb.base/display.exp: Allow a newline after display/i.
17476 * gdb.base/pc-fp.exp: Likewise.
17477 * gdb.base/sigbpt.exp: Likewise.
17478
17479 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17480
17481 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17482 required features to be included.
17483
17484 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17485
17486 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17487 in info threads output.
17488
17489 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17490 Markus Deuling <deuling@de.ibm.com>
17491
17492 * gdb.arch/spu-info.exp: New testcase.
17493 * gdb.arch/spu-info.c: New file.
17494
17495 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17496
17497 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17498 tpcs_offset. Restore lr after the call.
17499 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17500
17501 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17502
17503 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17504 (gdbserver_run): Kill any running gdbserver.
17505 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17506
17507 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17508
17509 * gdb.base/sigbpt.exp: Preset segv_addr.
17510
17511 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17512
17513 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17514 (gdb_compile_shlib): Likewise.
17515 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17516 (default_gdb_init): Clear cleanfiles.
17517 (gdb_finish): Delete recorded cleanfiles.
17518 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17519
17520 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17521 Do not use isnative.
17522 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17523 gdb.base/so-impl-ld.exp: Likewise.
17524 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17525 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17526 gdb_compile.
17527
17528 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17529
17530 * config/unknown.exp: Remove.
17531
17532 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17533
17534 * gdb.base/info-proc.exp: Check is_remote.
17535
17536 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17537
17538 * gdb.base/gcore.exp: Initialize variable core_supported.
17539
17540 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17541
17542 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17543
17544 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17545
17546 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17547 * gdb.threads/print-threads.exp (test_all_threads): Allow
17548 negative and hexadecimal thread IDs.
17549
17550 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17551
17552 * gdb.java/jprint.java (public): Avoid invalid call to static
17553 method.
17554
17555 2007-05-14 Denis Pilat <denis.pilat@st.com>
17556
17557 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17558 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17559 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17560 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17561 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17562
17563 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17564
17565 * gdb.base/overlays.exp: Add support for targets with only code
17566 overlay support, not data overlay. Support spu-*-* target in
17567 this mode.
17568 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17569 * gdb.base/spu.ld: New file.
17570
17571 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17572
17573 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17574
17575 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17576
17577 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17578
17579 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17580
17581 * gdb.java/jmain.exp: Handle demangled names with and without method
17582 signatures.
17583
17584 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17585
17586 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17587 (have_a_very_merry_interrupt): Remove calls to puts.
17588 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17589 inferior output.
17590 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17591 test names.
17592
17593 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17594 Daniel Jacobowitz <dan@codesourcery.com>
17595
17596 * gdb.base/auxv.exp (core_works): Also check is_remote.
17597 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17598
17599 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17600
17601 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17602 message, not the undefined 'module' variable.
17603 * gdb.base/siginfo.exp: Likewise.
17604 * gdb.base/sigstep.exp: Likewise.
17605 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17606 serialport.
17607 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17608
17609 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17610
17611 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17612 target sim fails. Return 0 otherwise.
17613 (gdb_load): Return prematurely if gdb_target_sim fails.
17614
17615 2007-04-16 Denis Pilat <denis.pilat@st.com>
17616
17617 * gdb.base/setshow.exp: Reset height after having set it to 100.
17618
17619 2007-04-16 Denis Pilat <denis.pilat@st.com>
17620
17621 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17622
17623 2007-04-16 Denis Pilat <denis.pilat@st.com>
17624
17625 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17626
17627 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17628
17629 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17630 tests. Run the frozen varobjs test.
17631 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17632 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17633
17634 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17635
17636 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17637 gdb.base/type-opaque.exp: New files.
17638
17639 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17640
17641 * gdb.mi/mi-var-child.c
17642 (do_children_tests): User char[2] instead of
17643 char so that automatic printing of pointers to char
17644 don't give unpredicable result.
17645 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17646 local variables.
17647 * gdb.mi/mi-var-child.exp: Step to right line
17648 of do_children_tests.
17649 * gdb.mi/mi2-var-child.exp: Likewise.
17650 * gdb.mi/mi-var-cmd.exp: Step to right line of
17651 do_locals_tests.
17652 (do_children_tests): User char[2] instead of
17653 char so that automatic printing of pointers to char
17654 don't give unpredicable result.
17655 * gdb.mi/mi2-var-cmd.exp: Likewise.
17656 * lib/mi-support.exp (mi_continue_to_line):
17657 Pass test name to mi_wait_for_stop.
17658
17659 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17660
17661 * gdb.asm/asm-source.exp: Remove d10v case.
17662 * lib/gdb.exp (skip_cplus_tests): Likewise.
17663 * gdb.asm/d10v.inc: Deleted.
17664
17665 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17666
17667 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17668
17669 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17670
17671 * config/netware.exp: Delete file.
17672
17673 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17674
17675 * gdb.dwarf2/dw2-noloc.S: New file.
17676 * gdb.dwarf2/dw2-noloc.exp: New file.
17677
17678 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17679
17680 * gdb.cp/method2.cc: New test.
17681 * gdb.cp/method2.exp: New test.
17682 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17683
17684 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17685
17686 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17687
17688 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17689
17690 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17691
17692 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17693
17694 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17695 (gdb_load): Delete, replace with...
17696 (gdb_reload): ...this.
17697 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17698 * gdb.server/server-mon.exp: Likewise.
17699 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17700 (gdb_start_cmd): New.
17701 (gdb_file_cmd): Save the last loaded file.
17702 (gdb_reload): New.
17703 (gdb_gnu_strip_debug): Use transform.
17704 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17705 support here. Use new $last_loaded_file. Check mtime.
17706 (gdb_target_cmd): Handle ObjC failure case.
17707 (infer_host_exec): Delete.
17708 (gdbserver_load): Rename to...
17709 (gdbserver_run): ...this. Simplify.
17710 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17711 (mi_gdb_load): Move most contents to a new function...
17712 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17713 (mi_run_cmd): Use mi_gdb_target_load.
17714 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17715 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17716 Use gdb_run_cmd.
17717 * gdb.base/charsign.exp: Remove incorrect comment.
17718 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17719 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17720 gdb.base/start.exp: Use gdb_start_cmd.
17721
17722 2007-03-23 Nigel Stephens <nigel@mips.com>
17723 Maciej W. Rozycki <macro@mips.com>
17724
17725 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17726 * gdb.base/signull.exp: Similarly.
17727
17728 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17729
17730 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17731 messages available to test cases (like chng-sym.exp).
17732
17733 2007-03-14 Andreas Schwab <schwab@suse.de>
17734
17735 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17736 format changes.
17737
17738 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17739
17740 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17741 (optimized_1): New.
17742 (main): Call optimized_1.
17743 (gdb2029): Correct typos. Call gdb2029_marker.
17744 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17745 for gdb2029.
17746
17747 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17748
17749 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17750 as tabs. Remove redundant test pattern.
17751
17752 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17753
17754 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17755 for /a format output.
17756
17757 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17758
17759 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17760 collect output incrementally.
17761
17762 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17763
17764 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17765 for -var-create lpcharacter test.
17766 * gdb.mi/mi2-var-cmd.exp: Likewise.
17767
17768 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17769
17770 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17771 pass on targets where address zero is readable.
17772
17773 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17774
17775 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17776 just a single architecture.
17777
17778 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17779
17780 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17781 (fetch_all_registers): New function, uses gdb_test_multiple and
17782 exp_continue to fetch inferior output line-by-line.
17783 Replace all uses of do_get_all_registers by fetch_all_registers.
17784
17785 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17786
17787 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17788 in target_info.
17789
17790 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17791
17792 * gdb.threads/manythreads.exp: Use $message string for
17793 consistancy; add a default (timeout) case.
17794
17795 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17796
17797 * gdb.base/watchpoint.exp: Fix truncated comment.
17798
17799 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17800
17801 * Makefile.in: Remove spurious single-quotes from sed command.
17802
17803 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17804
17805 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17806 func.
17807 * gdb.mi/mi2-var-cmd.exp: Likewise.
17808
17809 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17810
17811 * gdb.dwarf2/dw2-producer.S: New file.
17812 * gdb.dwarf2/dw2-producer.exp: New testcase.
17813
17814 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
17815
17816 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17817 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17818 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17819 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17820 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17821 Revert tests to use mi_gdb_test and include value field in output
17822 of -var-create.
17823
17824 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17825
17826 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17827
17828 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17829
17830 * gdb.base/maint.exp: Remove full paths from test names.
17831 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17832 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17833
17834 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17835
17836 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17837
17838 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17839
17840 * gdb.server/server-mon.exp: New test.
17841
17842 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17843
17844 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17845
17846 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17847
17848 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17849 register capitalization.
17850
17851 2007-02-13 Denis Pilat <denis.pilat@st.com>
17852
17853 * gdb.mi/mi-var-invalidate.exp: New file.
17854
17855 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17856
17857 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17858
17859 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17860
17861 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17862
17863 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17864
17865 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17866 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17867
17868 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
17869
17870 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17871 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17872 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17873 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17874 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17875 * gdb.mi/gdb792.exp, lib/mi-support.exp:
17876 Update tests to include value field in output of -var-create.
17877
17878 2007-02-08 Andreas Schwab <schwab@suse.de>
17879
17880 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17881
17882 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17883
17884 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17885 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17886
17887 2007-02-02 Denis Pilat <denis.pilat@st.com>
17888
17889 * gdb.threads/threadapply.exp: check that frame is not changed by
17890 the thread apply all command.
17891
17892 2007-01-31 Andreas Schwab <schwab@suse.de>
17893
17894 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17895
17896 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17897 in the dwarf sections.
17898 * gdb.dwarf2/mac-fileno.S: Likewise.
17899
17900 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17901 bspstore register on ia64.
17902
17903 2007-01-29 Andreas Schwab <schwab@suse.de>
17904
17905 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17906 "frame-begin" annotation.
17907
17908 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17909 number of "frames-invalid" annotations.
17910
17911 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17912
17913 * gdb.base/commands.exp: Call if_commands_test.
17914 (gdb_test_no_prompt, if_commands_test): New.
17915
17916 2007-01-28 Mark Kettenis <kettenis@gnu.org>
17917
17918 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17919
17920 2007-01-27 Andreas Schwab <schwab@suse.de>
17921
17922 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17923 .short/.int/.quad in the dwarf sections.
17924 * gdb.dwarf2/dw2-intercu.S: Likewise.
17925 * gdb.dwarf2/dw2-intermix.S: Likewise.
17926
17927 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17928
17929 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17930 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17931 array.
17932 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17933 * gdb.base/setvar.exp: Likewise.
17934
17935 2007-01-26 Andreas Schwab <schwab@suse.de>
17936
17937 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17938 test.
17939
17940 * gdb.base/multi-forks.exp ("restart $i"): Also match
17941 __kernel_syscall_via_break.
17942
17943 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17944
17945 * lib/mi-support.exp (mi_delete_varobj): New.
17946 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17947 testcase.
17948 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17949 (main): Call the above.
17950 (reference_update_test, base_in_reference_test)
17951 (reference_to_pointer): Delete the created varobjs.
17952
17953 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17954
17955 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17956 * configure: Regenerated.
17957 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17958 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17959 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17960 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17961 * lib/gdb.exp (gdb_skip_xml_test): New function.
17962
17963 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17964
17965 * gdb.base/sigrepeat.exp: Correct error message.
17966
17967 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17968 Daniel Jacobowitz <dan@codesourcery.com>
17969
17970 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17971 gdb.arch/i386-gnu-cfi-asm.S: New files.
17972
17973 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17974
17975 * lib/gdb.exp: Abort on missing `site.exp'.
17976
17977 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17978 Daniel Jacobowitz <dan@codesourcery.com>
17979
17980 * gdb.base/included.c, gdb.base/included.exp,
17981 gdb.base/included.h: New files.
17982
17983 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17984
17985 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17986 (maximize_rlimit): Reduce limits on 64-bit systems.
17987
17988 2007-01-19 Mark Kettenis <kettenis@gnu.org>
17989
17990 From Marcus Deuling <deuling@de.ibm.com>:
17991 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17992 every case.
17993
17994 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
17995
17996 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17997 (test_path_specification): Use objdir instead of srcdir to always
17998 get an absolute filename.
17999
18000 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
18001
18002 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
18003
18004 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
18005
18006 * gdb.mi/mi-var-cp.cc (reference_update_tests):
18007 Make sure the variable we're using is in scope.
18008 (reference_to_pointer): Likewise.
18009
18010 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18011
18012 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
18013 has no debug information.
18014
18015 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18016
18017 * gdb.base/annota1.exp: Remove extra send_gdb.
18018
18019 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18020
18021 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
18022
18023 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18024
18025 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
18026
18027 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
18028 Daniel Jacobowitz <dan@codesourcery.com>
18029
18030 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18031 lcharacter or linteger change. Correct duplicated test name.
18032 * gdb.mi/mi2-var-cmd.exp: Likewise.
18033
18034 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18035
18036 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18037
18038 2007-01-05 Joel Brobecker <brobecker@adacore.com>
18039
18040 * gdb.base/nofield.c: New file.
18041 * gdb.base/nofield.exp: New testcase.
18042
18043 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
18044
18045 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18046
18047 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18048 test.
18049
18050 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18051
18052 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18053
18054 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18055
18056 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18057 when continuing.
18058
18059 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18060
18061 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18062 Expect ".exe" extension.
18063
18064 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18065
18066 * gdb.base/charset.exp: Add explicit filename to break.
18067 * gdb.base/dbx.exp: Add explicit filename to breaks.
18068
18069 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18070
18071 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18072 * gdb.mi/mi2-file.exp: Likewise.
18073
18074 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18075
18076 Implement specification of MI tests as comments
18077 in C and C++ sources.
18078 * lib/mi-support.exp (mi_autotest_data): New variable.
18079 (mi_autotest_source): New variable.
18080 (count_newlines, mi_prepare_inline_tests)
18081 (mi_get_inline_test, mi_continue_to_line)
18082 (mi_run_inline_test, mi_tbreak)
18083 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18084 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18085 Run inline tests.
18086 * gdb.mi/mi-var-cp.cc: Define tests here.
18087
18088 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18089
18090 Simplify usage of mi_continue_to.
18091 * lib/mi-support.exp (mi_runto_helper): Renamed
18092 from mi_runto, added new parameter 'run_or_continue'.
18093 (mi_runto): Use mi_runto_helper.
18094 (mi_continue_to): Accept just function name as parameter.
18095 Use mi_runto_helper.
18096 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18097 * gdb.mi/mi2-var-cmd.exp: Likewise.
18098
18099 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18100
18101 Make this testcase a bit more realistic. The current code
18102 is too simplistic, and allows the compiler to optimize out
18103 some of the entities we need for this testcase.
18104 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18105 (Do_Nothing): Add extra parameter.
18106 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18107 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18108 by using a variable of type Void_Star.
18109
18110 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18111
18112 * gdb.ada/catch_ex/foo.adb: New file.
18113 * gdb.ada/catch_ex.exp: New testcase.
18114
18115 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18116
18117 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18118 pass --image-base to linker.
18119
18120 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18121 Daniel Jacobowitz <dan@codesourcery.com>
18122
18123 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18124 secondary prompts.
18125
18126 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18127
18128 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18129 output. Test the types of members and member pointers.
18130 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18131 gdb/2092.
18132 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18133 statement. Enable for GCC. Update expected output for some tests
18134 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18135 layout.
18136 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18137 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18138 (Diamond::vget_base): New.
18139 (main): Add new tests.
18140 * gdb.cp/printmethod.exp: Update expected output for member functions.
18141 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18142 print pEe->D::vg().
18143
18144 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18145
18146 * gdb.threads/tls.exp: Allow stops in sem_post.
18147
18148 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18149
18150 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18151 * gdb.base/annota3.exp: Likewise.
18152 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18153 again (instead of timing out).
18154 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18155 GCC bug 26475.
18156 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18157 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18158 test from jmisc1.exp.
18159 * gdb.java/jmisc1.exp: Delete.
18160 * gdb.java/jprint.exp: Adjust to work with method signatures including
18161 return types.
18162 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18163 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18164 * lib/java.exp (compile_java_from_source): Pass the correct type
18165 to target_compile.
18166
18167 2006-12-31 Joel Brobecker <brobecker@adacore.com>
18168
18169 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18170 (stack_align_edx): New function.
18171 (stack_align_eax): New function.
18172 (main): Add calls to stack_align_edx and stack_align_eax.
18173 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18174 Add testing for the cases where the register used during a stack
18175 realignment is edx. Same for eax.
18176
18177 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18178
18179 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18180 and generic PE targets.
18181
18182 2006-12-29 Joel Brobecker <brobecker@adacore.com>
18183
18184 * gdb.ada/array_return.exp: Update copyright date list.
18185
18186 2006-12-27 Joel Brobecker <brobecker@adacore.com>
18187
18188 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18189 (Create_Small_Float_Vector): New function.
18190 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18191 function body.
18192 * gdb.ada/array_return/p.adb: Use new type and function from
18193 package Pck.
18194 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18195 able to print the value returned by a function returning an
18196 array of float.
18197
18198 2006-12-20 Joel Brobecker <brobecker@adacore.com>
18199
18200 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18201 The associated tests should be PASSing.
18202
18203 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18204
18205 Test for base in references.
18206 * gdb.mi/mi-var-cp.cc: Add test code.
18207 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18208 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18209 * gdb.mi/mi2-watch.exp: Likewise.
18210 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18211 (mi_list_varobj_children): New function.
18212
18213 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18214
18215 * lib/mi-support.exp
18216 (mi_runto): Accept "()" after function name.
18217 (mi_create_varobj): New function.
18218 (mi_varobj_update): New function.
18219 (mi_Check_varobj_value): New function.
18220 * gdb.mi/mi-var-cp.exp: New file.
18221 * gdb.mi/mi-var-cp.cc: New file.
18222
18223 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18224
18225 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18226 gdb.base/weaklib2.c: New files.
18227
18228 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
18229
18230 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18231 info. Adjust test names.
18232
18233 * gdb.base/break.c (main): Move position of malloc.
18234 * gdb.base/break.exp: Revert mistaken checkin.
18235
18236 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18237
18238 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18239 assignement of arrays and function pointers.
18240 * gdb.mi/var-cmd.c: Add declaration necessary for above
18241 tests.
18242
18243 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18244
18245 * gdb.base/break.c (main): Call malloc.
18246
18247 * gdb.threads/linux-dp.exp: Read thread table before and after
18248 creating each philosopher and verify it.
18249
18250 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18251 Paul Brook <paul@codesourcery.com>
18252 Daniel Jacobowitz <dan@codesourcery.com>
18253
18254 * gdb.base/ending-run.exp: Flatten expect script stepping out of
18255 main to remove duplication. Add start function of the form
18256 '_*start[1-9]*'. Add RVDS start function.
18257
18258 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18259
18260 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18261
18262 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18263
18264 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18265 * gdb.asm/spu.inc: New file.
18266 * gdb.base/term.exp: Disable if [target_info exists noargs].
18267 * gdb.gdb/complaints.exp: Disable if ![isnative].
18268 * gdb.gdb/selftest.exp: Likewise.
18269 * gdb.gdb/observer.exp: Likewise.
18270 * gdb.gdb/xfullpath.exp: Likewise.
18271 * gdb.base/attach.exp: Disable on SPU target.
18272 * gdb.cp/bs145503.exp: Likewise.
18273 * gdb.cp/exception.exp: Likewise.
18274 * gdb.cp/userdef.exp: Likewise.
18275
18276 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18277
18278 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18279
18280 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18281
18282 * gdb.base/completion.exp: Fix completion tests for
18283 'info' and 'info '.
18284 * gdb.base/help.exp (help_test_raw, test_class_help)
18285 (test_prefix_command_help): Move...
18286 * lib/gdb.exp: Here.
18287 * gdb.base/main.exp: Adjust.
18288 * gdb.cp/maint.exp: Adjust.
18289 * gdb.trace/tracecmd.exp: Use test_help_class.
18290
18291 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18292
18293 * gdb.stabs/weird.exp (print_weird_var): Use
18294 gdb_test_multiple instead of gdb_expect.
18295
18296 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18297
18298 * gdb.base/help.exp (help_test_raw): New.
18299 (test_class_help): New.
18300 (test_prefix_command_help): New.
18301 Adjust testcases.
18302
18303 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
18304
18305 * gdb.base/constvars.c (main): Write to crass and crips, so that
18306 they are allocated by the compiler.
18307
18308 2006-10-27 Andreas Schwab <schwab@suse.de>
18309
18310 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18311 "detach-fork".
18312
18313 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18314
18315 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18316 of patterns.
18317
18318 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18319
18320 * gdb.base/sepdebug.exp: Remove debug format test.
18321 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18322 Handle no-symtab.
18323 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18324
18325 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18326
18327 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18328 int to pointer or pointer to int.
18329 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18330
18331 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18332
18333 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18334
18335 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18336
18337 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18338
18339 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18340
18341 PR c++/2116
18342 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18343
18344 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18345
18346 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18347 the corresponding bug has been fixed in GDB (PR/2018).
18348
18349 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18350
18351 * gdb.base/subst.exp: New testcase.
18352
18353 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18354
18355 * gdb.ada/array_return/pck.ads: Add copyright notice.
18356 * gdb.ada/array_return/pck.adb: Likewise.
18357 * gdb.ada/array_return/p.adb: Likewise.
18358 * gdb.ada/exec_changed/first.adb: Likewise.
18359 * gdb.ada/exec_changed/second.adb: Likewise.
18360
18361 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18362
18363 * gdb.ada/watch_arg/watch.adb: New file.
18364 * gdb.ada/watch_arg.exp: New testcase.
18365
18366 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18367
18368 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
18369 via string_to_regexp.
18370 * gdb.mi/mi2-basics.exp: Likewise.
18371
18372 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
18373
18374 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18375 Remove unused / obsolete files.
18376
18377 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
18378
18379 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18380
18381 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18382
18383 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18384 HIGH_FRAME argument to -stack-list-arguments can be larger than
18385 the number of frames.
18386
18387 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18388
18389 * gdb.base/args.c (main): Add breakpoint marker.
18390 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18391 really test empty arguments.
18392 (args_load): Delete.
18393 (args_test): New.
18394
18395 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
18396
18397 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
18398 check for one file.
18399
18400 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18401
18402 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18403 HIGH_FRAME argument to -stack-list-locals can be larger than
18404 the number of frames.
18405
18406 2006-08-18 Fred Fish <fnf@specifix.com>
18407
18408 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18409 '$' in front of skip_vmx_tests_saved when setting that.
18410
18411 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18412
18413 * gdb.base/trace-commands.exp: New file.
18414
18415 2006-08-10 Joel Brobecker <brobecker@adacore.com>
18416 Daniel Jacobowitz <dan@codesourcery.com>
18417
18418 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18419 expected output of the backtrace commands.
18420
18421 2006-08-09 Joel Brobecker <brobecker@adacore.com>
18422
18423 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18424 untested followed by return combination.
18425 * gdb.arch/altivec-regs.exp: Likewise.
18426 * gdb.arch/e500-abi.exp: Likewise.
18427 * gdb.arch/e500-regs.exp: Likewise.
18428 * gdb.arch/gdb1291.exp: Likewise.
18429 * gdb.arch/gdb1431.exp: Likewise.
18430 * gdb.arch/gdb1558.exp: Likewise.
18431 * gdb.arch/i386-prologue.exp: Likewise.
18432 * gdb.arch/i386-unwind.exp: Likewise.
18433 * gdb.asm/asm-source.exp: Likewise.
18434 * gdb.base/a2-run.exp: Likewise.
18435 * gdb.base/advance.exp: Likewise.
18436 * gdb.base/all-bin.exp: Likewise.
18437 * gdb.base/annota1.exp: Likewise.
18438 * gdb.base/annota3.exp: Likewise.
18439 * gdb.base/args.exp: Likewise.
18440 * gdb.base/arithmet.exp: Likewise.
18441 * gdb.base/assign.exp: Likewise.
18442 * gdb.base/async.exp: Likewise.
18443 * gdb.base/attach.exp: Likewise.
18444 * gdb.base/bang.exp: Likewise.
18445 * gdb.base/bigcore.exp: Likewise.
18446 * gdb.base/bitfields.exp: Likewise.
18447 * gdb.base/bitfields2.exp: Likewise.
18448 * gdb.base/break.exp: Likewise.
18449 * gdb.base/call-sc.exp: Likewise.
18450 * gdb.base/call-strs.exp: Likewise.
18451 * gdb.base/callfuncs.exp: Likewise.
18452 * gdb.base/checkpoint.exp: Likewise.
18453 * gdb.base/chng-syms.exp: Likewise.
18454 * gdb.base/code-expr.exp: Likewise.
18455 * gdb.base/commands.exp: Likewise.
18456 * gdb.base/completion.exp: Likewise.
18457 * gdb.base/cond-expr.exp: Likewise.
18458 * gdb.base/condbreak.exp: Likewise.
18459 * gdb.base/consecutive.exp: Likewise.
18460 * gdb.base/constvars.exp: Likewise.
18461 * gdb.base/corefile.exp: Likewise.
18462 * gdb.base/cvexpr.exp: Likewise.
18463 * gdb.base/dbx.exp: Likewise.
18464 * gdb.base/define.exp: Likewise.
18465 * gdb.base/detach.exp: Likewise.
18466 * gdb.base/display.exp: Likewise.
18467 * gdb.base/dump.exp: Likewise.
18468 * gdb.base/ena-dis-br.exp: Likewise.
18469 * gdb.base/ending-run.exp: Likewise.
18470 * gdb.base/environ.exp: Likewise.
18471 * gdb.base/eval-skip.exp: Likewise.
18472 * gdb.base/exprs.exp: Likewise.
18473 * gdb.base/fileio.exp: Likewise.
18474 * gdb.base/finish.exp: Likewise.
18475 * gdb.base/float.exp: Likewise.
18476 * gdb.base/foll-exec.exp: Likewise.
18477 * gdb.base/foll-fork.exp: Likewise.
18478 * gdb.base/foll-vfork.exp: Likewise.
18479 * gdb.base/freebpcmd.exp: Likewise.
18480 * gdb.base/funcargs.exp: Likewise.
18481 * gdb.base/gcore.exp: Likewise.
18482 * gdb.base/gdb1090.exp: Likewise.
18483 * gdb.base/gdb1250.exp: Likewise.
18484 * gdb.base/huge.exp: Likewise.
18485 * gdb.base/info-proc.exp: Likewise.
18486 * gdb.base/interrupt.exp: Likewise.
18487 * gdb.base/jump.exp: Likewise.
18488 * gdb.base/langs.exp: Likewise.
18489 * gdb.base/lineinc.exp: Likewise.
18490 * gdb.base/list.exp: Likewise.
18491 * gdb.base/logical.exp: Likewise.
18492 * gdb.base/long_long.exp: Likewise.
18493 * gdb.base/macscp.exp: Likewise.
18494 * gdb.base/maint.exp: Likewise.
18495 * gdb.base/mips_pro.exp: Likewise.
18496 * gdb.base/miscexprs.exp: Likewise.
18497 * gdb.base/multi-forks.exp: Likewise.
18498 * gdb.base/opaque.exp: Likewise.
18499 * gdb.base/overlays.exp: Likewise.
18500 * gdb.base/pc-fp.exp: Likewise.
18501 * gdb.base/pointers.exp: Likewise.
18502 * gdb.base/printcmds.exp: Likewise.
18503 * gdb.base/psymtab.exp: Likewise.
18504 * gdb.base/ptype.exp: Likewise.
18505 * gdb.base/recurse.exp: Likewise.
18506 * gdb.base/relational.exp: Likewise.
18507 * gdb.base/relocate.exp: Likewise.
18508 * gdb.base/remote.exp: Likewise.
18509 * gdb.base/reread.exp: Likewise.
18510 * gdb.base/restore.exp: Likewise.
18511 * gdb.base/return.exp: Likewise.
18512 * gdb.base/return2.exp: Likewise.
18513 * gdb.base/scope.exp: Likewise.
18514 * gdb.base/sect-cmd.exp: Likewise.
18515 * gdb.base/sep.exp: Likewise.
18516 * gdb.base/sepdebug.exp: Likewise.
18517 * gdb.base/setshow.exp: Likewise.
18518 * gdb.base/setvar.exp: Likewise.
18519 * gdb.base/sigall.exp: Likewise.
18520 * gdb.base/sigbpt.exp: Likewise.
18521 * gdb.base/signals.exp: Likewise.
18522 * gdb.base/signull.exp: Likewise.
18523 * gdb.base/sizeof.exp: Likewise.
18524 * gdb.base/solib.exp: Likewise.
18525 * gdb.base/step-line.exp: Likewise.
18526 * gdb.base/step-test.exp: Likewise.
18527 * gdb.base/structs.exp: Likewise.
18528 * gdb.base/structs2.exp: Likewise.
18529 * gdb.base/term.exp: Likewise.
18530 * gdb.base/twice.exp: Likewise.
18531 * gdb.base/until.exp: Likewise.
18532 * gdb.base/varargs.exp: Likewise.
18533 * gdb.base/volatile.exp: Likewise.
18534 * gdb.base/watchpoint.exp: Likewise.
18535 * gdb.base/whatis-exp.exp: Likewise.
18536 * gdb.base/whatis.exp: Likewise.
18537 * gdb.cp/ambiguous.exp: Likewise.
18538 * gdb.cp/annota2.exp: Likewise.
18539 * gdb.cp/annota3.exp: Likewise.
18540 * gdb.cp/bool.exp: Likewise.
18541 * gdb.cp/breakpoint.exp: Likewise.
18542 * gdb.cp/casts.exp: Likewise.
18543 * gdb.cp/class2.exp: Likewise.
18544 * gdb.cp/classes.exp: Likewise.
18545 * gdb.cp/cplusfuncs.exp: Likewise.
18546 * gdb.cp/ctti.exp: Likewise.
18547 * gdb.cp/derivation.exp: Likewise.
18548 * gdb.cp/exception.exp: Likewise.
18549 * gdb.cp/gdb1355.exp: Likewise.
18550 * gdb.cp/hang.exp: Likewise.
18551 * gdb.cp/inherit.exp: Likewise.
18552 * gdb.cp/local.exp: Likewise.
18553 * gdb.cp/m-data.exp: Likewise.
18554 * gdb.cp/m-static.exp: Likewise.
18555 * gdb.cp/member-ptr.exp: Likewise.
18556 * gdb.cp/method.exp: Likewise.
18557 * gdb.cp/misc.exp: Likewise.
18558 * gdb.cp/namespace.exp: Likewise.
18559 * gdb.cp/overload.exp: Likewise.
18560 * gdb.cp/ovldbreak.exp: Likewise.
18561 * gdb.cp/pr-1023.exp: Likewise.
18562 * gdb.cp/pr-1210.exp: Likewise.
18563 * gdb.cp/pr-574.exp: Likewise.
18564 * gdb.cp/printmethod.exp: Likewise.
18565 * gdb.cp/psmang.exp: Likewise.
18566 * gdb.cp/ref-params.exp: Likewise.
18567 * gdb.cp/ref-types.exp: Likewise.
18568 * gdb.cp/rtti.exp: Likewise.
18569 * gdb.cp/templates.exp: Likewise.
18570 * gdb.cp/try_catch.exp: Likewise.
18571 * gdb.cp/userdef.exp: Likewise.
18572 * gdb.cp/virtfunc.exp: Likewise.
18573 * gdb.disasm/am33.exp: Likewise.
18574 * gdb.disasm/h8300s.exp: Likewise.
18575 * gdb.disasm/mn10300.exp: Likewise.
18576 * gdb.disasm/sh3.exp: Likewise.
18577 * gdb.disasm/t01_mov.exp: Likewise.
18578 * gdb.disasm/t02_mova.exp: Likewise.
18579 * gdb.disasm/t03_add.exp: Likewise.
18580 * gdb.disasm/t04_sub.exp: Likewise.
18581 * gdb.disasm/t05_cmp.exp: Likewise.
18582 * gdb.disasm/t06_ari2.exp: Likewise.
18583 * gdb.disasm/t07_ari3.exp: Likewise.
18584 * gdb.disasm/t08_or.exp: Likewise.
18585 * gdb.disasm/t09_xor.exp: Likewise.
18586 * gdb.disasm/t10_and.exp: Likewise.
18587 * gdb.disasm/t11_logs.exp: Likewise.
18588 * gdb.disasm/t12_bit.exp: Likewise.
18589 * gdb.disasm/t13_otr.exp: Likewise.
18590 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18591 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18592 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18593 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18594 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18595 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18596 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18597 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18598 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18599 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18600 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18601 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18602 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18603 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18604 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18605 * gdb.mi/gdb701.exp: Likewise.
18606 * gdb.mi/gdb792.exp: Likewise.
18607 * gdb.mi/mi-basics.exp: Likewise.
18608 * gdb.mi/mi-break.exp: Likewise.
18609 * gdb.mi/mi-cli.exp: Likewise.
18610 * gdb.mi/mi-console.exp: Likewise.
18611 * gdb.mi/mi-disassemble.exp: Likewise.
18612 * gdb.mi/mi-eval.exp: Likewise.
18613 * gdb.mi/mi-file.exp: Likewise.
18614 * gdb.mi/mi-read-memory.exp: Likewise.
18615 * gdb.mi/mi-regs.exp: Likewise.
18616 * gdb.mi/mi-return.exp: Likewise.
18617 * gdb.mi/mi-simplerun.exp: Likewise.
18618 * gdb.mi/mi-stack.exp: Likewise.
18619 * gdb.mi/mi-stepi.exp: Likewise.
18620 * gdb.mi/mi-syn-frame.exp: Likewise.
18621 * gdb.mi/mi-until.exp: Likewise.
18622 * gdb.mi/mi-var-block.exp: Likewise.
18623 * gdb.mi/mi-var-child.exp: Likewise.
18624 * gdb.mi/mi-var-cmd.exp: Likewise.
18625 * gdb.mi/mi-var-display.exp: Likewise.
18626 * gdb.mi/mi-watch.exp: Likewise.
18627 * gdb.mi/mi2-basics.exp: Likewise.
18628 * gdb.mi/mi2-break.exp: Likewise.
18629 * gdb.mi/mi2-cli.exp: Likewise.
18630 * gdb.mi/mi2-console.exp: Likewise.
18631 * gdb.mi/mi2-disassemble.exp: Likewise.
18632 * gdb.mi/mi2-eval.exp: Likewise.
18633 * gdb.mi/mi2-file.exp: Likewise.
18634 * gdb.mi/mi2-read-memory.exp: Likewise.
18635 * gdb.mi/mi2-regs.exp: Likewise.
18636 * gdb.mi/mi2-return.exp: Likewise.
18637 * gdb.mi/mi2-simplerun.exp: Likewise.
18638 * gdb.mi/mi2-stack.exp: Likewise.
18639 * gdb.mi/mi2-stepi.exp: Likewise.
18640 * gdb.mi/mi2-syn-frame.exp: Likewise.
18641 * gdb.mi/mi2-until.exp: Likewise.
18642 * gdb.mi/mi2-var-block.exp: Likewise.
18643 * gdb.mi/mi2-var-child.exp: Likewise.
18644 * gdb.mi/mi2-var-cmd.exp: Likewise.
18645 * gdb.mi/mi2-var-display.exp: Likewise.
18646 * gdb.mi/mi2-watch.exp: Likewise.
18647 * gdb.stabs/exclfwd.exp: Likewise.
18648 * gdb.stabs/weird.exp: Likewise.
18649 * gdb.threads/gcore-thread.exp: Likewise.
18650 * gdb.trace/actions.exp: Likewise.
18651 * gdb.trace/backtrace.exp: Likewise.
18652 * gdb.trace/circ.exp: Likewise.
18653 * gdb.trace/collection.exp: Likewise.
18654 * gdb.trace/deltrace.exp: Likewise.
18655 * gdb.trace/infotrace.exp: Likewise.
18656 * gdb.trace/limits.exp: Likewise.
18657 * gdb.trace/packetlen.exp: Likewise.
18658 * gdb.trace/passc-dyn.exp: Likewise.
18659 * gdb.trace/passcount.exp: Likewise.
18660 * gdb.trace/report.exp: Likewise.
18661 * gdb.trace/save-trace.exp: Likewise.
18662 * gdb.trace/tfind.exp: Likewise.
18663 * gdb.trace/tracecmd.exp: Likewise.
18664 * gdb.trace/while-dyn.exp: Likewise.
18665 * gdb.trace/while-stepping.exp: Likewise.
18666
18667 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18668
18669 * gdb.base/step-bt.c: New file.
18670 * gdb.base/step-bt.exp: New testcase.
18671
18672 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18673
18674 * config/monitor.exp (gdb_load): Remove support for obsolete
18675 download-write-size.
18676 * gdb.base/remote.exp: Likewise. Update all callers of
18677 gdb_timed_load.
18678
18679 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18680
18681 * cursal.exp: Pass binfile to gdb_load.
18682
18683 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18684
18685 * gdb.base/cursal.exp: Add "" to gdb_load call.
18686
18687 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18688
18689 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18690 NetBSD/ELF targets.
18691
18692 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18693
18694 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18695 operator*.
18696
18697 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18698
18699 * gdb.base/completion.exp: Update for change in "file" behavior.
18700 * gdb.stabs/weird.exp: Likewise.
18701 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18702 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18703
18704 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18705
18706 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18707 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18708
18709 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18710
18711 * gdb.base/default.exp: Update source command error message.
18712 * gdb.base/help.exp: Update 'help source' message.
18713
18714 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18715
18716 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18717 test.
18718
18719 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18720
18721 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18722
18723 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18724
18725 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18726
18727 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18728
18729 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18730
18731 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18732
18733 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18734 *-*-openbsd* from targets for wich we expect ARM FPA floating
18735 point format.
18736
18737 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18738
18739 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18740
18741 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18742
18743 * gdb.base/annota3.exp: Expect frame-begin annotation.
18744
18745 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18746
18747 * gdb.base/help.exp: Adjust "help unset" test to accept
18748 any list of unset commands.
18749
18750 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18751 Daniel Jacobowitz <dan@codesourcery.com>
18752
18753 * gdb.cp/ref-params.exp: New test.
18754 * gdb.cp/ref-params.cc: New source file.
18755 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18756
18757 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18758
18759 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18760 spaces/tabs in regular expressions since they might not be there.
18761
18762 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18763
18764 * gdb.base/ifelse.exp: New file.
18765
18766 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18767
18768 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18769 line.
18770 * gdb.base/huge.exp: Loop over compilation to find a size that
18771 is acceptable.
18772 * gdb.base/remote.exp: Correct expected strings.
18773 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18774
18775 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18776
18777 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18778
18779 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18780
18781 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18782 native.
18783
18784 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18785
18786 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18787 enable stabs testing.
18788
18789 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18790
18791 * gdb.base/auxv.exp: Intercept undefined command messages before
18792 gdb_test_multiple does.
18793
18794 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18795
18796 * Makefile.in (host_alias): Remove.
18797 (target_alias): Use @target_noncanonical@.
18798 (site.exp): Don't set host_alias.
18799 * aclocal.m4: Remove contents. Include acx.m4.
18800 * configure: Regenerated.
18801 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18802
18803 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18804
18805 * lib/gdb.exp (gdb_load_cmd): New.
18806
18807 * gdb.base/fileio.c: Add system(NULL) test.
18808 * gdb.base/fileio.exp: Check it.
18809
18810 * gdb.base/break.c: Add 10a breakpoint at }
18811 * gdb.base/break.exp: Add test for breakpoint at }
18812 * gdb.cp/anon-union.cc: Add code at end of function.
18813 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18814 * gdb.mi/var-cmd.c: Add code at end of function.
18815 * gdb.mi/mi-var-display.exp: Adjust end of next.
18816 * gdb.mi/mi2-var-display.exp: Likewise.
18817 * gdb.base/fileio.c: Add stop function and insert calls at
18818 stopping places.
18819 * gdb.base/fileio.exp: Breakpoint stop function and remove
18820 explicit line number references.
18821
18822 2006-05-19 Joel Brobecker <brobecker@adacore.com>
18823
18824 * gdb.base/del.exp (test_delete_alias): New function.
18825 Now check that both "del" and "d" work as aliases for "delete".
18826
18827 2006-05-18 Fred Fish <fnf@specifix.com>
18828
18829 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18830 required. Check for spurious output after program exits normally.
18831
18832 2006-05-17 Fred Fish <fnf@specifix.com>
18833
18834 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18835 gdb_load, so it works in the simulator.
18836
18837 2006-05-11 Fred Fish <fnf@specifix.com>
18838
18839 * gdb.base/bang.exp: Ignore unexpected output between the
18840 "program exited normally" and the gdb prompt, as many other
18841 tests do.
18842
18843 2006-05-07 Mark Kettenis <kettenis@gnu.org>
18844
18845 * gdb.base/help.exp: Make "delete checkpoint" part option for
18846 "help d" and "help delete" tests.
18847
18848 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18849
18850 * gdb.mi/mi-basics.exp: Add missing serial number to
18851 expected output in some mi_gdb_test statements.
18852 * gdb.mi/mi2-basics.exp: Likewise.
18853
18854 2006-05-05 Joel Brobecker <brobecker@adacore.com>
18855
18856 * gdb.base/del.c: New file.
18857 * gdb.base/del.exp: New testcase.
18858
18859 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
18860
18861 * gdb.base/break.exp: Do not assume a breakpoint on
18862 main will actually be in $srcfile when optimizing.
18863 * gdb.base/savedregs.exp: Do not require that the dummy
18864 frame location match up to a symbol and source file location.
18865 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18866 will get printed without a mi_cmd_data_list_register_values prefix.
18867 (*-data-list-register-*): Correct regular expressions to expect the new
18868 pseudo d? floating point registers.
18869 * gdb.mi/mi2-regs.exp: Likewise.
18870
18871 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
18872
18873 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18874 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18875 is allocated by the compiler.
18876 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18877 anons, e, anone to force their allocation by the compiler.
18878
18879 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
18880
18881 * gdb.base/help.exp: Update expected text for help d and
18882 help delete.
18883
18884 2006-05-02 Mark Kettenis <kettenis@gnu.org>
18885
18886 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18887 NetBSD/ELF targets.
18888
18889 2006-04-30 Mark Kettenis <kettenis@gnu.org>
18890
18891 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18892 single-step breakpoint fails; make this a KFAIL on
18893 sparc*-*-openbsd*.
18894 * gdb.base/siginfo.exp: Likewise.
18895 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18896
18897 2006-04-26 Michael Snyder <msnyder@redhat.com>
18898
18899 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18900 which may have to consume output from other forks.
18901 Add tests to make sure that "delete fork" succeeded.
18902
18903 2006-04-20 Michael Snyder <msnyder@redhat.com>
18904
18905 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18906 Add support for the Renesas M32C and M16C.
18907
18908 * gdb.asm/asm-source.exp: Add m32c target.
18909 * gdb.asm/m32c.inc: Support for m32c target.
18910
18911 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18912
18913 * gdb.base/commands.exp (recursive_source_test): New test.
18914
18915 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
18916
18917 * gdb.base/float.exp: Add pattern for sparc targets.
18918
18919 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18920
18921 * gdb.base/commands.exp (stray_arg0_test): New test.
18922
18923 2006-03-30 Paul Brook <paul@codesourcery.com>
18924
18925 * gdb.mi/mi-until.exp: kfail broken until command.
18926 * gdb.mi/mi2-until.exp: Ditto.
18927
18928 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
18929
18930 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18931
18932 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
18933
18934 * gdb.base/prelink.exp: Anchor tested-for regular expression
18935 on gdb prompt.
18936
18937 2006-03-07 Paul Brook <paul@codesourcery.com>
18938
18939 * gdb.base/assign.exp: Correct fail message.
18940
18941 2006-03-07 Paul Brook <paul@codesourcery.com>
18942
18943 * lib/compiler.c: Extract armcc version number.
18944 * lib/compiler.cc: Ditto.
18945
18946 2006-03-07 Paul Brook <paul@codesourcery.com>
18947
18948 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18949 additional_flags=-w.
18950 * gdb.arch/altivec-regs.exp: Ditto.
18951 * gdb.arch/e500-abi.exp: Ditto.
18952 * gdb.arch/e500-regs.exp: Ditto.
18953 * gdb.base/all-bin.exp: Ditto.
18954 * gdb.base/annota1.exp: Ditto.
18955 * gdb.base/annota3.exp: Ditto.
18956 * gdb.base/args.exp: Ditto.
18957 * gdb.base/arithmet.exp: Ditto.
18958 * gdb.base/assign.exp: Ditto.
18959 * gdb.base/async.exp: Ditto.
18960 * gdb.base/bang.exp: Ditto.
18961 * gdb.base/break.exp: Ditto.
18962 * gdb.base/call-rt-st.exp: Ditto.
18963 * gdb.base/completion.exp: Ditto.
18964 * gdb.base/cond-expr.exp: Ditto.
18965 * gdb.base/condbreak.exp: Ditto.
18966 * gdb.base/consecutive.exp: Ditto.
18967 * gdb.base/define.exp: Ditto.
18968 * gdb.base/display.exp: Ditto.
18969 * gdb.base/ena-dis-br.exp: Ditto.
18970 * gdb.base/environ.exp: Ditto.
18971 * gdb.base/eval-skip.exp: Ditto.
18972 * gdb.base/info-proc.exp: Ditto.
18973 * gdb.base/jump.exp: Ditto.
18974 * gdb.base/logical.exp: Ditto.
18975 * gdb.base/long_long.exp: Ditto.
18976 * gdb.base/maint.exp: Ditto.
18977 * gdb.base/miscexprs.exp: Ditto.
18978 * gdb.base/pc-fp.exp: Ditto.
18979 * gdb.base/pointers.exp: Ditto.
18980 * gdb.base/relational.exp: Ditto.
18981 * gdb.base/reread.exp: Ditto.
18982 * gdb.base/sect-cmd.exp: Ditto.
18983 * gdb.base/sep.exp: Ditto.
18984 * gdb.base/sepdebug.exp: Ditto.
18985 * gdb.base/until.exp: Ditto.
18986 * gdb.base/whatis-exp.exp: Ditto.
18987 * gdb.cp/annota2.exp: Ditto.
18988 * gdb.cp/annota3.exp: Ditto.
18989 * gdb.trace/actions.exp: Ditto.
18990 * gdb.trace/backtrace.exp: Ditto.
18991 * gdb.trace/circ.exp: Ditto.
18992 * gdb.trace/collection.exp: Ditto.
18993 * gdb.trace/deltrace.exp: Ditto.
18994 * gdb.trace/infotrace.exp: Ditto.
18995 * gdb.trace/limits.exp: Ditto.
18996 * gdb.trace/packetlen.exp: Ditto.
18997 * gdb.trace/passc-dyn.exp: Ditto.
18998 * gdb.trace/passcount.exp: Ditto.
18999 * gdb.trace/report.exp: Ditto.
19000 * gdb.trace/save-trace.exp: Ditto.
19001 * gdb.trace/tfind.exp: Ditto.
19002 * gdb.trace/tracecmd.exp: Ditto.
19003 * gdb.trace/while-dyn.exp: Ditto.
19004 * gdb.trace/while-stepping.exp: Ditto.
19005 * lib/gdb.exp: Ditto.
19006 (gdb_compile): Handle nowarning option.
19007
19008 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
19009
19010 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
19011 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
19012 Rename executable to prelinkt. Don't re-prelink if we didn't
19013 get a core file. Test prelink -u exit status to tell whether
19014 prelinking failed. Use gdb_test_multiple.
19015
19016 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
19017
19018 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
19019 (do_tests): Call it.
19020
19021 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
19022
19023 * gdb.base/prelink.exp: New test.
19024 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
19025
19026 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
19027
19028 * gdb.fortran/derived-type.f90: New file.
19029 * gdb.fortran/derived-type.exp: New testcase.
19030
19031 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19032
19033 * gdb.base/default.exp: Allow ';' as a directory separator.
19034
19035 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19036
19037 * gdb.base/help.exp (help add-symbol-file): Update.
19038
19039 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19040
19041 * gdb.base/help.exp (help load): Update expected results.
19042
19043 2006-02-19 Fred Fish <fnf@specifix.com>
19044
19045 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19046 specifix hex value as part of results.
19047 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
19048
19049 2006-02-16 Fred Fish <fnf@specifix.com>
19050
19051 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19052 ushort_addr, and slong_addr, so the typedefs are not optimized
19053 away.
19054 * gdb.base/whatis.exp: Add tests using type name for struct type,
19055 union type, enum type, and typedef.
19056
19057 2006-02-13 Mark Kettenis <kettenis@gnu.org>
19058
19059 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19060
19061 2006-02-13 Jim Blandy <jimb@redhat.com>
19062
19063 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19064 case where it takes two "next" commands to skip past the init
19065 call.
19066
19067 2006-02-12 Fred Fish <fnf@specifix.com>
19068
19069 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19070 to handle cases where it takes two "next" commands to skip
19071 past the init call.
19072
19073 2006-02-07 Joel Brobecker <brobecker@adacore.com>
19074
19075 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19076 on hppa32 targets.
19077
19078 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
19079
19080 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19081 field.
19082
19083 2006-01-29 Mark Kettenis <kettenis@gnu.org>
19084
19085 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19086
19087 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19088
19089 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19090 files.
19091
19092 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19093
19094 * gdb.cp/maint.exp: Set complaints to a positive value.
19095
19096 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19097
19098 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19099 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19100 function name.
19101
19102 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19103
19104 * gdb.base/checkpoint.c: Update copyright notice. Include
19105 <stdlib.h>.
19106
19107 2006-01-04 Jim Blandy <jimb@redhat.com>
19108
19109 * gdb.asm/asm-source.exp: Independently provide default values for
19110 asm-flags and debug-flags. Use 'string equal' to do the
19111 comparison, not the implicit expr's '==' operator. Remove
19112 now-unneeded assignments to asm-flags. In h8300 case, place
19113 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19114
19115 2006-01-04 Michael Snyder <msnyder@redhat.com>
19116
19117 * gdb.base/checkpoint.c: New file.
19118 * gdb.base/checkpoint.exp: New file.
19119 * gdb.base/multi-fork.c: New file.
19120 * gdb.base/multi-fork.exp: New file.
19121 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19122
19123 2006-01-04 Fred Fish <fnf@specifix.com>
19124
19125 * gdb.base/ptype.c (foo): Add typedef.
19126 (intfoo): Add function.
19127 * gdb.base/ptype1.c: New file.
19128 * gdb.base/ptype.exp: Handle compilation and linking with two
19129 source files. Test that proper type for "foo" is found based
19130 on source context rather than first match found in symtabs.
19131
19132 2005-12-28 Mark Kettenis <kettenis@gnu.org>
19133
19134 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19135 * gdb.asm/openbsd.inc: Indent commands.
19136
19137 2005-12-26 Mark Kettenis <kettenis@gnu.org>
19138
19139 * gdb.base/freebpcmd.exp: Increase timeout.
19140
19141 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19142
19143 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19144
19145 * gdb.base/default.exp: Update check for "show version".
19146
19147 2005-12-09 Randolph Chung <tausq@debian.org>
19148
19149 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19150 * gdb.asm/pa64.inc: New file.
19151
19152 2005-12-09 Randolph Chung <tausq@debian.org>
19153
19154 * gdb.asm/common.inc: Indent commands.
19155 * gdb.asm/asmsrc1.s: Likewise.
19156 * gdb.asm/asmsrc2.s: Likewise.
19157
19158 2005-12-09 Randolph Chung <tausq@debian.org>
19159
19160 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19161 (get_addr_of_sym): Remove duplicate print.
19162 (gen_core): xfail hppa*-*-hpux*, update expected output.
19163 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19164 * gdb.arch/pa64-nullify.s: New file.
19165
19166 2005-12-09 Randolph Chung <tausq@debian.org>
19167
19168 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19169
19170 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
19171
19172 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19173 code generation for these functions.
19174 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19175 error message.
19176
19177 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19178
19179 * gdb.base/help.exp (help b, help br, help bre, help brea)
19180 (help break): Update the expected message.
19181
19182 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19183
19184 * gdb.asm/m68hc11.inc: Setup the data section.
19185 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19186 script for this test.
19187 (m6812-*-*): Likewise.
19188
19189 2005-11-09 Randolph Chung <tausq@debian.org>
19190
19191 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19192
19193 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19194
19195 * gdb.base/break.exp: Fix a comment typo.
19196
19197 2005-11-03 Jim Blandy <jimb@redhat.com>
19198
19199 Checked in by Elena Zannoni <ezannoni@redhat.com>
19200
19201 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
19202
19203 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
19204
19205 * gdb.arch/gdb1558.c: Include stdio.h.
19206
19207 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19208
19209 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19210
19211 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19212
19213 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19214
19215 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19216
19217 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19218 vscr" tests to better match output.
19219
19220 2005-10-12 Jim Blandy <jimb@redhat.com>
19221
19222 * gdb.base/structs.exp (any): New function.
19223 (test_struct_returns): Don't make any assumptions at all about
19224 what value the function returns when GDB can't set the return
19225 value.
19226
19227 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19228
19229 * gdb.ada/arrayidx/p.adb: New file.
19230 * gdb.ada/arrayidx.exp: New testcase
19231
19232 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19233
19234 * gdb.ada/array_return/pck.ads: New file.
19235 * gdb.ada/array_return/pck.adb: New file.
19236 * gdb.ada/array_return/p.adb: New file.
19237 * gdb.ada/array_return.exp: New testcase.
19238
19239 2005-10-03 Joel Brobecker <brobecker@adacore.com>
19240
19241 * gdb.base/arrayidx.c: New file.
19242 * gdb.base/arrayidx.exp: New testcase.
19243
19244 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
19245
19246 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19247 frames-invalid and breakpoints-invalid are no longer generated
19248 with level 3 so don't expect them in the output.
19249
19250 2005-09-27 Bob Rossi <bob@brasko.net>
19251
19252 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
19253 from test. Escape the | in mi_gdb_test call.
19254 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19255 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19256 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19257 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19258 expected regex's in mi_gdb_test calls.
19259 * lib/mi-support.exp: Remove arbitrary .* from tests.
19260 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19261 Fully anchor GDB/MI expected results in mi_gdb_test.
19262 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19263 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19264
19265 2005-09-26 Paul Brook <paul@codesourcery.com>
19266
19267 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19268
19269 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19270
19271 * bfp-test.c: New file.
19272 * bfp-test.exp: New testcase.
19273
19274 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19275
19276 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19277 of subarray and substring variable.
19278 * gdb.fortran/subarray.f: New source file for the test of subarray
19279 and substring variable evaluation.
19280 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19281 of string constant.
19282
19283 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19284
19285 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19286 copyright dates.
19287
19288 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19289
19290 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19291 powerpc altivec' test with an almost identical 'info vector' test.
19292
19293 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19294
19295 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19296 vscr" tests to match output.
19297
19298 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19299
19300 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19301 output.
19302
19303 2005-09-11 Bob Rossi <bob@brasko.net>
19304
19305 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19306 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19307 commands that return an MI output command and an asyncronous MI output
19308 command.
19309 * gdb.mi/mi-console.exp: Ditto.
19310
19311 2005-09-11 Bob Rossi <bob@brasko.net>
19312
19313 * gdb.mi/mi-var-child.c: Include <string.h>.
19314
19315 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19316
19317 * killed.exp: Correct gdb_expect syntax.
19318
19319 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
19320
19321 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19322
19323 2005-08-02 Bob Rossi <bob@brasko.net>
19324
19325 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19326 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19327 Change tests to inferior-tty-set/show.
19328 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19329 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19330 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19331 inferior. Use mi_gdb_test to get GDB and Inferior output.
19332 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19333 descriptor.
19334 (mi_inferior_tty_name): Add inferior PTY file name.
19335 (mi_gdb_start): Add INFERIOR_PTY parameter.
19336 (mi_gdb_test): Add IPATTERN parameter.
19337
19338 2005-08-02 Bob Rossi <bob@brasko.net>
19339
19340 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19341 parameter to mi_gdb_test.
19342 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19343
19344 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19345
19346 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19347 struct_declarations.
19348 * gdb.mi/mi-var-child.exp: Step over the initialization of
19349 struct_declarations.
19350
19351 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19352
19353 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19354 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19355 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19356 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19357 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19358 file.
19359
19360 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
19361
19362 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19363 (do_children_tests): Assign values to the extra elements.
19364
19365 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19366 them for tests for "-var-update --no-values" and
19367 "-var-update --all-values".
19368 Add test for "-var-list-children --simple-values".
19369
19370 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19371
19372 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19373 "-stack-list-locals --simple-values" Improve doc strings and
19374 comments.
19375
19376 2005-07-18 Mark Kettenis <kettenis@gnu.org>
19377
19378 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19379 *-*-openbsd*.
19380 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19381
19382 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19383 sigaltsatck'.
19384
19385 2005-07-14 Bob Rossi <bob@brasko.net>
19386
19387 * gdb.base/default.exp (tty): Changed output of command.
19388 * gdb.base/help.exp (help tty): Ditto.
19389
19390 2005-07-12 Mark Kettenis <kettenis@gnu.org>
19391
19392 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19393
19394 2005-07-10 Mark Kettenis <kettenis@gnu.org>
19395
19396 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19397 -stack-select-frame without arguments.
19398 (test_stack_frame_listing): Add test for newly implemented command
19399 -stack-info-frame.
19400
19401 2005-07-06 Bob Rossi <bob@brasko.net>
19402
19403 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19404 command.
19405 (Copyright): Update copyright.
19406
19407 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19408
19409 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19410 tests to evaluate exponentiation expression.
19411
19412 2005-06-29 Andreas Schwab <schwab@suse.de>
19413
19414 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19415 main to avoid warnings.
19416
19417 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19418
19419 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
19420
19421 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19422 -stack-select-frame without arguments.
19423 (test_stack_frame_listing): Add test for newly implemented command
19424 -stack-info-frame.
19425
19426 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19427
19428 * gdb.fortran/array-element.f: New file.
19429 * gdb.fortran/array-element.exp: New testcase.
19430
19431 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19432
19433 * gdb.base/bigcore.exp: Correct checks for systems which can
19434 not dump a large core file.
19435
19436 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19437
19438 * gdb.base/relocate.c: Add a copyright notice.
19439 (dummy): Remove.
19440 * gdb.base/relocate.exp: Test printing the values of variables
19441 from a relocatable file.
19442
19443 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19444
19445 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19446 excess MI output after an error.
19447
19448 2005-05-29 Joel Brobecker <brobecker@adacore.com>
19449
19450 * gdb.arch/alpha-step.c: New file.
19451 * gdb.arch/alpha-step.exp: New testcase.
19452
19453 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19454 Dennis Brueni <dennis@slickedit.com>
19455
19456 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19457 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19458 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19459 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19460 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19461 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19462 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19463
19464 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19465 Wu Zhou <woodzltc@cn.ibm.com>
19466
19467 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19468 IBM's xlc compiler.
19469 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19470 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19471
19472 2005-05-13 Jim Blandy <jimb@redhat.com>
19473
19474 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19475 calling gdb_suppress_entire_file.
19476 * gdb.base/charset.exp: Same.
19477 * gdb.base/call-rt-st.exp: Same.
19478
19479 2005-05-05 Bob Rossi <bob_rossi@cox.net>
19480
19481 * lib/gdb.exp (fullname_syntax): Added global regex.
19482 (fullname_syntax_POSIX): Ditto.
19483 (fullname_syntax_UNC): Ditto.
19484 (fullname_syntax_DOS_CASE): Ditto.
19485 (fullname_syntax_DOS): Ditto.
19486 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19487 fullname_syntax variable to scope and use it.
19488 (test_file_list_exec_source_files): Ditto.
19489 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19490
19491 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19492
19493 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19494
19495 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19496
19497 * lib/gdb.exp (skip_altivec_tests): New function, based on
19498 check_vmx_hw_available from the GCC testsuite.
19499 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19500 * lib/gdb.arch/altivec-regs.exp: Likewise.
19501
19502 2005-05-02 Jim Blandy <jimb@redhat.com>
19503
19504 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19505 calling gdb_suppress_entire_file.
19506
19507 2005-04-30 Randolph Chung <tausq@debian.org>
19508
19509 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19510 Slightly relax "sem_post" name checking.
19511
19512 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19513
19514 * gdb.base/unload.exp: Use new shared library infrastructure.
19515
19516 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19517
19518 * gdb.base/so-impl-ld.exp: Use new shared library
19519 infrastructure.
19520
19521 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19522
19523 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19524 * gdb.asm/h8300.inc: New file.
19525
19526 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19527
19528 * gdb.base/shlib-call.exp: Change to use new shared library
19529 infrastructure.
19530
19531 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19532
19533 * gdb.base/pending.exp: Change to use new shared library
19534 infrastructure.
19535
19536 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19537
19538 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19539 use test_compiler_info instead of gcc_compiled, and update copyright.
19540
19541 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19542
19543 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19544 shared objects being adjusted and update copyright years.
19545
19546 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19547
19548 * ChangeLog: Correct some 2003-01-13 dates.
19549 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19550 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19551 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19552 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19553 gdb.trace/tfind.exp: Update copyright years.
19554
19555 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19556 Daniel Jacobowitz <dan@codesourcery.com>
19557
19558 * lib/gdb.exp (gdb_compile): Handle shlib=.
19559 (gdb_compile_shlib): New function.
19560
19561 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19562
19563 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19564
19565 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19566
19567 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19568 gdb.server.
19569 * configure.ac: Likewise.
19570 * configure: Regenerated.
19571 * gdb.gdbserver/Makefile.in: Moved to...
19572 * gdb.server/Makefile.in: ... here.
19573 * gdb.gdbserver/server.c: Moved to...
19574 * gdb.server/server.c: ... here.
19575 * gdb.gdbserver/server-run.exp: Moved to...
19576 * gdb.server/server-run.exp: ... here.
19577
19578 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19579
19580 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19581 * configure.ac: Create gdb.gdbserver/Makefile.
19582 * configure: Regenerated.
19583 * lib/gdbserver-support.exp: New file, derived from
19584 config/gdbserver.exp.
19585 * config/gdbserver.exp: Use gdbserver-support.exp.
19586 * gdb.gdbserver/Makefile.in: New file.
19587 * gdb.gdbserver/server.c: New file.
19588 * gdb.gdbserver/server-run.exp: New file.
19589
19590 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19591
19592 * lib/gdb.exp (test_compiler_info): Return compiler_info
19593 if no arguments are given.
19594
19595 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19596
19597 * gdb.arch/altivec-abi.exp: Check for compiler and set
19598 use altivec' flag accordingly.
19599 * gdb.arch/altivec-regs.exp: Likewise.
19600
19601 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19602
19603 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19604
19605 2005-03-27 Andreas Schwab <schwab@suse.de>
19606
19607 * gdb.base/bigcore.c (main): Add missing mode argument in open
19608 call.
19609
19610 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19611
19612 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19613 downloads.
19614 * config/gdbserver.exp (gdb_load): Likewise.
19615
19616 2005-03-14 Paul Brook <paul@codesourcery.com>
19617
19618 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19619 targets.
19620
19621 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19622
19623 * gdb.dwarf2/dup-psym.S: New file.
19624 * gdb.dwarf2/dup-psym.exp: New testcase.
19625
19626 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19627
19628 * gdb.ada/exec_changed/first.adb: New file.
19629 * gdb.ada/exec_changed/second.adb: New file.
19630 * gdb.ada/exec_changed.exp: New testcase.
19631
19632 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19633
19634 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19635 (A2): New class.
19636 (main): Test operator+.
19637 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19638 breakpoint test.
19639
19640 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19641 * gdb.base/signull.exp: Disable if gdb,nosignals.
19642 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19643 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19644 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19645 * gdb.mi/mi2-console.exp: Likewise.
19646 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19647 continue output at start.
19648 (gdb_collect_locals_test): Robustify regexp.
19649 * gdb.trace/passc-dyn.exp: Fix comment typo.
19650 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19651
19652 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19653
19654 * gdb.asm/asm-source.exp: Add iq2000 case.
19655 * gdb.asm/iq2000.inc: New file.
19656
19657 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19658
19659 * gdb.base/command.exp: Change hardcoded value to regular expression.
19660 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19661
19662 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19663
19664 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19665 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19666 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19667 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19668 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19669
19670 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19671
19672 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19673 changes.
19674
19675 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19676
19677 * lib/compiler.c: Add test for IBM's xlc compiler.
19678 * lib/compiler.cc: Likewise.
19679
19680 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19681
19682 * gdb.ada/fixed_points.exp: Create compilation object directory
19683 before running the test.
19684 * gdb.ada/null_record.exp: Likewise.
19685 * gdb.ada/packed_array.exp: Likewise.
19686 * gdb.ada/start.exp: Likewise.
19687
19688 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19689
19690 * gdb.ada/packed_array/pa.adb: New file.
19691 * gdb.ada/packed_array.exp: New testcase.
19692
19693 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19694
19695 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19696 files.
19697
19698 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19699 on *-*-openbsd*. Correctly match whitespace in regukar
19700 expressions.
19701
19702 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19703
19704 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19705 PR exp/1821
19706 * gdb.base/gdb1821.c: New test file.
19707 * gdb.base/gdb1821.exp: New test file.
19708
19709 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19710
19711 * gdb.base/start.c: New file.
19712 * gdb.base/start.exp: New testcase.
19713
19714 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19715
19716 * gdb.ada/start/dummy.adb: New file.
19717 * gdb.ada/start.exp: New testcase.
19718
19719 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19720
19721 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19722 for printing symbols and statistics.
19723 Add test for using relative pathnames in "maint print msymbols" test.
19724 Mark "maint info sections DATA" XFAIL on Cygwin.
19725 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19726 tests.
19727
19728 2005-02-09 Andreas Schwab <schwab@suse.de>
19729
19730 Committed by Andrew Cagney <cagney@gnu.org>
19731 * gdb.base/remotetimeout.exp: New file.
19732
19733 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19734
19735 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19736
19737 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19738
19739 * gdb.ada/gnat_ada.gpr: New file.
19740 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19741 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19742 * configure.ac: No longer generate gnat_ada.gpr.
19743 * configure: Regenerate.
19744 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19745 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19746 * gdb.ada/null_record/bar.ads: Likewise.
19747 * gdb.ada/null_record/bar.adb: Likewise.
19748 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19749 * gdb.ada/null_record.exp (testdir): New variable.
19750 (testfile): executable is now in testdir subdirectory.
19751 (srcfile): Use full path to the main compilation unit.
19752 * gdb.ada/fixed_points.exp: Same changes as above.
19753
19754 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19755
19756 * gdb.base/interp.exp: New test.
19757
19758 2005-01-24 Andrew Cagney <cagney@gnu.org>
19759
19760 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19761
19762 2005-01-19 Andrew Cagney <cagney@gnu.org>
19763
19764 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19765 configure.ac not configure.in.
19766
19767 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19768 of powerpc*-*-*.
19769 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19770 * gdb.base/list.exp (test_list_function)
19771 (test_list_filename_and_function): Ditto.
19772 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19773
19774 2005-01-16 Andrew Cagney <cagney@gnu.org>
19775
19776 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19777
19778 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19779
19780 2005-01-14 Andrew Cagney <cagney@gnu.org>
19781
19782 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19783 * gdb.mi/mi2-var-cmd.exp: Ditto.
19784
19785 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
19786
19787 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19788
19789 2005-01-07 Andrew Cagney <cagney@gnu.org>
19790
19791 * configure.ac: Rename configure.in, require autoconf 2.59.
19792 * configure: Re-generate.
19793 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19794 * gdb.stabs/configure: Re-generate.
19795 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19796 * gdb.hp/configure: Re-generate.
19797 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19798 autoconf 2.59.
19799 * gdb.hp/gdb.objdbg/configure: Re-generate.
19800 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19801 autoconf 2.59.
19802 * gdb.hp/gdb.defects/configure: Re-generate.
19803 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19804 autoconf 2.59.
19805 * gdb.hp/gdb.compat/configure: Re-generate.
19806 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19807 autoconf 2.59.
19808 * gdb.hp/gdb.base-hp/configure: Re-generate.
19809 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19810 autoconf 2.59.
19811 * gdb.hp/gdb.aCC/configure: Re-generate.
19812
19813 2004-12-15 Jim Blandy <jimb@redhat.com>
19814
19815 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19816 under NPTL when there is debugging info available for libpthread.
19817
19818 2004-12-13 Jerome Guitton <guitton@gnat.com>
19819
19820 * gdb.ada/fixed_points.c: New file.
19821 * gdb.ada/fixed_points.exp: New file.
19822
19823 2004-12-03 Randolph Chung <tausq@debian.org>
19824
19825 * gdb.arch/pa-nullify.exp: New file.
19826 * gdb.arch/pa-nullify.s: New file.
19827
19828 2004-11-30 Randolph Chung <tausq@debian.org>
19829
19830 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19831 instead of "tbug". Fix regexp to work properly with gdb_test.
19832
19833 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19834
19835 * gdb.base/bitfields2.exp: New test.
19836 * gdb.base/bitfields2.c: New file.
19837
19838 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
19839
19840 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19841
19842 2004-11-16 Randolph Chung <tausq@debian.org>
19843
19844 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19845
19846 2004-11-14 Daniel Jacobowitz <dan@debian.org>
19847
19848 * gdb.threads/threadapply.exp: Correct "macro details" test.
19849
19850 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19851
19852 * gdb.threads/threadapply.exp: New test.
19853 * gdb.threads/threadapply.c: New file.
19854
19855 2004-11-07 Mark Kettenis <kettenis@gnu.org>
19856
19857 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19858 frames.
19859
19860 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
19861
19862 * gdb.base/cursal.exp: New file.
19863 * gdb.base/cursal.c: New file.
19864
19865 2004-11-03 Andrew Cagney <cagney@gnu.org>
19866
19867 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19868
19869 2004-10-30 Mark Kettenis <kettenis@gnu.org>
19870
19871 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19872 NetBSD/ELF targets.
19873
19874 2004-10-29 Joel Brobecker <brobecker@gnat.com>
19875
19876 * gdb.threads/bp_in_thread.c: New file, copied from
19877 pthread_cond_wait.c.
19878 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19879 file, rather than reusing the .c file from another testcase.
19880
19881 2004-10-20 Joel Brobecker <brobecker@gnat.com>
19882
19883 * gdb.ada/null_record.exp: Check where we stopped after
19884 sending the start command, instead of where the associated
19885 temporary breakpoint was inserted.
19886
19887 2004-10-14 Andrew Cagney <cagney@gnu.org>
19888
19889 * gdb.mi/gdb701.c (main): Return 0.
19890
19891 2004-10-13 Daniel Jacobowitz <dan@debian.org>
19892
19893 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19894
19895 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19896
19897 * gdb.threads/schedlock.c: Add comment markers to use to find
19898 line numbers.
19899 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19900 comments.
19901 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19902 breakpoint lines.
19903
19904 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19905
19906 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19907
19908 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19909
19910 * configure.in: Add gdb.dwarf2.
19911 * configure: Regenerated.
19912 * Makefile.in: Add gdb.dwarf2.
19913 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19914 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19915 gdb.dwarf2/file1.txt: New files.
19916
19917 2004-10-11 Orjan Friberg <orjanf@axis.com>
19918
19919 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19920 of "run", since the latter doesn't work with remote targets. Adjust
19921 the breakpoint numbering accordingly.
19922 * gdb.threads/pthread_cond_wait.exp: Ditto.
19923
19924 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19925
19926 * gdb.base/overlays.exp: Update copyright years.
19927
19928 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19929
19930 * gdb.base/overlays.exp: Disable if target is Linux.
19931
19932 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
19933
19934 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19935
19936 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19937
19938 * gdb.asm/asm-source.exp: Add m32r-linux target.
19939 * gdb.asm/m32r-linux.inc: New file.
19940
19941 2004-09-24 Andrew Cagney <cagney@redhat.com>
19942 David Anderson <anderson@redhat.com>
19943
19944 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19945 command fails, assume things will work.
19946 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19947 (_GNU_SOURCE): Define.
19948 (print_unsigned, print_hex): Change parameter to "long long".
19949 (print_byte_count): New function, use to print byte counts.
19950 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19951 O_LARGEFILE.
19952 (main): Compute an upper bound on a corefile in max_core_size.
19953 Limit memory chunk size to max_core_size. Limit total memory
19954 allocated to max_core_size.
19955
19956 2004-09-23 Andrew Cagney <cagney@gnu.org>
19957
19958 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19959 from a separate process with code that creates a corefile by
19960 making the inferior dump core.
19961
19962 2004-09-23 Mark Kettenis <kettenis@gnu.org>
19963
19964 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19965 block.
19966
19967 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19968
19969 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19970 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19971 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19972 Likewise.
19973
19974 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19975
19976 * gdb.java/jprint.exp: New test case for java inferior call.
19977 * gdb.java/jprint.java: Ditto.
19978
19979 2004-09-15 Joel Brobecker <brobecker@gnat.com>
19980
19981 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19982
19983 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19984
19985 * gdb.threads/killed.c: Include <stdlib.h>.
19986 * gdb.threads/pthreads.c: Likewise.
19987
19988 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19989
19990 * gdb.threads/killed.c: Add copyright notice.
19991
19992 2004-09-10 Jason Molenda (jmolenda@apple.com)
19993
19994 * gdb.base/define.exp: Two new tests to verify zero space chars
19995 after 'if' and 'while' commands in a user-defined command is correctly
19996 parsed.
19997
19998 2004-09-08 Andrew Cagney <cagney@gnu.org>
19999
20000 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
20001 delivery test with duplicate at end of file.
20002
20003 2004-09-06 Mark Kettenis <kettenis@jive.nl>
20004
20005 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
20006
20007 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20008
20009 * config/hppro.exp: Removed.
20010
20011 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20012
20013 * config/sparclet.exp: Removed.
20014
20015 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20016
20017 * config/udi.exp: Removed.
20018
20019 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
20020
20021 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20022 of "exp_continue".
20023 (advancei): Likewise.
20024
20025 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20026
20027 * gdb.base/unload.exp: Fix so messages aren't duplicated.
20028
20029 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20030
20031 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
20032 to check for nodebug in executable.
20033 * gdb.gdb/observer.exp (setup_test): Likewise.
20034 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20035 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20036
20037 2004-09-01 Andrew Cagney <cagney@gnu.org>
20038
20039 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20040 files.
20041
20042 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20043
20044 * gdb.base/unload.exp: Fix expected warning message to match
20045 latest format.
20046
20047 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
20048
20049 * gdb.base/call-rt-st.exp: Fix typos.
20050
20051 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20052
20053 * gdb.threads/thread_check.exp: New testcase.
20054 * gdb.threads/thread_check.c: New testcase.
20055
20056 2004-08-31 Andrew Cagney <cagney@gnu.org>
20057
20058 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20059 (skip_to_handler_entry): New procedures. Test stepping into a
20060 handler when the breakpoint is at the handler's entry point.
20061
20062 2004-08-30 Andrew Cagney <cagney@gnu.org>
20063
20064 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20065 gdb/1757.
20066
20067 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20068
20069 With code from Manoj Iyer <manjo@austin.ibm.com>:
20070 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20071 return value. Add an arm for "no debugging symbols found".
20072 Change a stray "error" to "perror".
20073 (gdb_run_cmd): Adapt to new return value.
20074 * gdb.base/remote.exp: Adapt to new return value.
20075 * gdb.gdb/complaints.exp: Likewise.
20076 * gdb.gdb/observer.exp: Likewise.
20077 * gdb.gdb/selftest.exp: Likewise.
20078 * gdb.gdb/xfullpath.exp: Likewise.
20079
20080 2004-08-27 Joel Brobecker <brobecker@gnat.com>
20081
20082 * gdb.threads/bp_in_thread.exp: New testcase.
20083
20084 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20085
20086 Fix PR testsuite/1735.
20087 * gdb.threads/schedlock.c (thread_function): Add a cast
20088 to suppress a gcc warning.
20089 * gdb.threads/thread-specific.c (thread_function): Likewise.
20090
20091 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20092
20093 * gdb.base/unload.c: Include <stdlib.h>.
20094
20095 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20096
20097 From Paul Gilliam <pgilliam@us.ibm.com>:
20098 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20099 synchronized after the "return".
20100
20101 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20102
20103 * gdb.mi/basics.c: Include <stdio.h>.
20104 * gdb.mi/pthreads.c: Include <stdlib.h>.
20105 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20106
20107 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20108
20109 * gdb.threads/schedlock.c: Add copyright notice.
20110
20111 2004-08-25 Andrew Cagney <cagney@gnu.org>
20112
20113 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20114 (skip_over_handler, breakpoint_over_hander): New test procedures.
20115 (advance, advancei): Add a proper prefix, do not use
20116 rerun_to_main.
20117 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20118
20119 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20120
20121 * gdb.mi/basics.c: Add copyright notice.
20122 * gdb.mi/var-cmd.c: Add copyright notice.
20123
20124 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20125
20126 * lib/gdb.exp: Remove signed_keyword_not_used.
20127 * lib/compiler.c: Likewise.
20128 * lib/compiler.cc: Likewise.
20129
20130 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20131
20132 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20133 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20134
20135 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20136
20137 * gdb.base/whatis.c: Add copyright notice.
20138
20139 2004-08-20 Mark Kettenis <kettenis@gnu.org>
20140
20141 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20142 it to skip the breakpoints encoded in the inline assembly.
20143
20144 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20145
20146 * Makefile.in: Add gdb.fortran.
20147
20148 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20149
20150 * gdb.base/call-sc.exp (test_scalar_returns):
20151 Fix cut-and-paste glitch in "Make fun return now".
20152
20153 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20154
20155 * configure.in: Add gdb.fortran.
20156 * configure: Regenerate.
20157 * gdb.fortran/Makefile.in: New file.
20158 * lib/gdb.exp (skip_fortran_tests): New procedure.
20159
20160 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20161
20162 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20163 reference to bug-gnu@prep.ai.mit.edu.
20164 * gdb.mi/mi-var-child.exp: Likewise.
20165 * gdb.mi/mi-var-cmd.exp: Likewise.
20166 * gdb.mi/mi-var-display.exp: Likewise.
20167 * gdb.mi/mi2-var-block.exp: Likewise.
20168 * gdb.mi/mi2-var-child.exp: Likewise.
20169 * gdb.mi/mi2-var-cmd.exp: Likewise.
20170 * gdb.mi/mi2-var-display.exp: Likewise.
20171
20172 2004-08-15 Mark Kettenis <kettenis@gnu.org>
20173
20174 * gdb.base/unload.c (main): Make local variable msg const.
20175
20176 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20177
20178 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20179 to bug-gnu@prep.ai.mit.edu.
20180 * gdb.mi/mi-disassemble.exp: Likewise.
20181 * gdb.mi/mi-eval.exp: Likewise.
20182 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20183 default line number.
20184 * gdb.mi/mi-return.exp: Likewise.
20185 * gdb.mi/mi-simplerun.exp: Likewise.
20186 * gdb.mi/mi-stack.exp: Likewise.
20187 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20188 number with explicit range test.
20189 * gdb.mi/mi-watch.exp: Likewise.
20190 * gdb.mi/mi2-break.exp: Likewise.
20191 * gdb.mi/mi2-cli.exp: Likewise.
20192 * gdb.mi/mi2-disassemble.exp: Likewise.
20193 * gdb.mi/mi2-eval.exp: Likewise.
20194 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20195 default line number.
20196 * gdb.mi/mi2-return.exp: Likewise.
20197 * gdb.mi/mi2-simplerun.exp: Likewise.
20198 * gdb.mi/mi2-stack.exp: Likewise.
20199 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20200 number with explicit range test.
20201 * gdb.mi/mi2-watch.exp: Likewise.
20202
20203 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20204
20205 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20206 * gdb.cp/m-static.exp: Likewise.
20207 * gdb.cp/rtti.exp: Likewise.
20208
20209 2004-08-14 Mark Kettenis <kettenis@gnu.org>
20210
20211 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20212
20213 2004-08-14 Eli Zaretskii <eliz@gnu.org>
20214
20215 * ChangeLog: Prefix Local Variables with semi-colons and indent
20216 the reference to older ChangeLog files, to fix fontification in
20217 Emacs.
20218
20219 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20220
20221 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20222 * gdb.mi/mi2-break.exp: Likewise.
20223
20224 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20225
20226 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20227
20228 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20229
20230 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20231
20232 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20233
20234 * gdb.cp/classes.exp: Remove unused declarations. Just let
20235 test names default instead of providing special names. Remove
20236 extraneous demangler test.
20237
20238 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20239
20240 * gdb.base/unload.exp: New test for breakpoints in dynamically
20241 loaded libraries.
20242 * gdb.base/unload.c: Ditto.
20243 * gdb.base/unloadshr.c: Ditto.
20244
20245 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20246
20247 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20248 cp_test_ptype_class.
20249 (test_enums): Likewise.
20250
20251 2004-08-10 Andrew Cagney <cagney@gnu.org>
20252
20253 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20254 files.
20255
20256 2004-08-10 Andrew Cagney <cagney@gnu.org>
20257
20258 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20259 init_malloc call.
20260
20261 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20262
20263 * ChangeLog: Add copyright notice. The notice is copied
20264 from emacs 21.3 top level ChangeLog.
20265
20266 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20267
20268 * lib/cp-support.exp: New file.
20269 * lib/cp-support.exp (cp_test_type_class): New function.
20270 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20271 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20272 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20273 cp_test_ptype_class.
20274
20275 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20276
20277 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20278 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20279 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20280 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20281 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20282 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20283 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20284 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20285 gdb.mi/mi2-watch.exp: Update copyright years.
20286
20287 2004-08-09 Mark Kettenis <kettenis@gnu.org>
20288
20289 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20290
20291 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20292
20293 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20294 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20295 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20296 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20297 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20298 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20299 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20300 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20301 gdb.mi/mi-watch.exp: Update copyright years.
20302
20303 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20304
20305 PR gdb/1738
20306 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20307 from a breakpoint with a pending signal.
20308
20309 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20310
20311 PR gdb/1736
20312 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20313 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20314 the prompt.
20315 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20316
20317 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20318
20319 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20320
20321 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20322
20323 PR gdb/1736
20324 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20325 for i?86-*-linux*.
20326
20327 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20328
20329 * gdb.arch/i386-prologue.exp: Compile without debug information.
20330
20331 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20332
20333 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20334 rather than asking gdb to search.
20335
20336 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20337
20338 * gdb.base/gcore.c: Include <string.h>.
20339
20340 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20341
20342 * gdb.base/gcore.c: Add copyright notice.
20343
20344 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20345
20346 * gdb.base/freebpcmd.c: Include <stdio.h>.
20347 * gdb.base/long_long.c: Include <string.h>.
20348 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20349 * gdb.base/siginfo.c: Include <string.h>.
20350 * gdb.base/sigstep.c: Include <string.h>.
20351
20352 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20353
20354 * gdb.base/complex.c: Include <stdlib.h>.
20355
20356 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20357
20358 * gdb.base/complex.c: Add copyright notice.
20359
20360 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20361
20362 * gdb.base/charset.c: Include <stdlib.h>.
20363
20364 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20365
20366 * gdb.base/auxv.c: Include <stdlib.h>.
20367
20368 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20369
20370 * gdb.base/auxv.c: Add copyright notice.
20371
20372 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20373
20374 * gdb.base/coremaker.c: Add copyright notice.
20375 * gdb.base/coremaker2.c: Add copyright notice.
20376
20377 2004-08-04 Andrew Cagney <cagney@gnu.org>
20378
20379 * gdb.base/store.exp: Update copyright.
20380 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20381 names, do not import gdb_prompt.
20382
20383 2004-08-01 Andrew Cagney <cagney@gnu.org>
20384
20385 Fix PR testsuite/1729.
20386 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20387 not use capture_value with value 4.
20388 (capture_value): Add optional test name parameter.
20389 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20390 the prefix, pass to capture_value.
20391
20392 2004-08-01 Mark Kettenis <kettenis@gnu.org>
20393
20394 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20395 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20396 (main): Call new function.
20397
20398 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20399
20400 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20401
20402 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20403
20404 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20405
20406 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20407
20408 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
20409 Accept more values of vtbl pointer. Remove some messages
20410 about "obsolete gcc or gdb".
20411
20412 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20413
20414 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20415
20416 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20417
20418 * gdb.base/asm-source.exp: Properly convert target board
20419 debug flags from gcc format to binutils format.
20420
20421 2004-07-28 Mark Kettenis <kettenis@gnu.org>
20422
20423 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20424 gdb1718". PR backtrace/1718 partially fixed.
20425
20426 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20427
20428 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20429
20430 2004-07-26 Nick Clifton <nickc@redhat.com>
20431
20432 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20433 good default value for a specific architecture is available then
20434 set it to that value. Otherwise default to the -gstabs switch.
20435 Remove the -g... switches from the asm-flags variable. Allow the
20436 target board info to override the value if it wants to. Pass the
20437 switch on the assembler command line.
20438
20439 2004-07-23 Mark Kettenis <kettenis@gnu.org>
20440
20441 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20442 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20443 (main): Call new function.
20444
20445 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20446
20447 Test for PR exp/1715.
20448 * gdb.base/radix.exp: Refactor common procedures. Make all
20449 test names unique. Change XFAIL to KFAIL.
20450
20451 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20452
20453 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20454 * gdb.ada/gnat_ada.gin: ... to here.
20455 * configure.in: Use gnat_ada.gin.
20456 * configure: Regenerate.
20457
20458 2004-07-20 Andrew Cagney <cagney@gnu.org>
20459
20460 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20461 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20462 XFAILs. Clean up test messages and comments. Check backtraces.
20463 Delete re-sync code.
20464
20465 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20466
20467 Fix PR cli/740.
20468 * gdb.base/annota1.exp: Honor gdb,nosignals.
20469 * gdb.base/annota3.exp: Likewise.
20470
20471 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20472
20473 * lib/java.exp: Update copyright notice.
20474
20475 2004-07-19 Andrew Cagney <cagney@gnu.org>
20476
20477 * gdb.base/selftest.exp: Copy file from here ...
20478 * gdb.gdb/selftest.exp: ... to here.
20479
20480 2004-07-16 Andrew Cagney <cagney@redhat.com>
20481
20482 * lib/insight-support.exp: Delete file.
20483 * lib/java.exp (java_init): Fix copyright.
20484
20485 2004-07-16 Andrew Cagney <cagney@gnu.org>
20486
20487 * gdb.base/restore.c: Append "prologue" to comments marking the a
20488 function's prologue.
20489 * gdb.base/restore.exp: Update copyright, re-indent.
20490 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20491 callerN" prefix where needed. Update patterns that match a
20492 function's prologue.
20493
20494 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20495
20496 * gdb.base/restore.c: Add copyright notice.
20497
20498 2004-07-16 Andrew Cagney <cagney@gnu.org>
20499
20500 * gdb.base/logical.exp: Update copyright.
20501 (evaluate): New procedure. Use to re-implement tests using
20502 several tables.
20503
20504 2004-07-14 Martin Hunt <hunt@redhat.com>
20505
20506 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20507 which fixes some problems where init.tcl was not found.
20508
20509 2004-07-13 Andrew Cagney <cagney@gnu.org>
20510
20511 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20512 (check_sizeof, check_valueof): Do not include the output in the
20513 test name. Use gdb_test.
20514 (get_valueof): Use gdb_test_multiple.
20515
20516 * gdb.base/step-test.exp: Update copyright. Use
20517 gdb_test_multiple. Ensure that test names do not include
20518 architecture dependent output.
20519
20520 * gdb.gdb/observer.exp: Update copyright.
20521 (setup_test): Use gdb_test_multiple.
20522 (attach_first_observer, attach_second_observer)
20523 (attach_third_observer, detach_first_observer)
20524 (detach_second_observer, detach_third_observer)
20525 (reset_counters, check_counters): Make $message a prefix.
20526 (test_normal_stop_notifications): Add "args" parameter - a list of
20527 init functions to be called. Make $message a prefix,
20528 (test_observer_normal_stop): Change the message prefixes so that
20529 they are unique, pass the attach / detach procedures to
20530 test_normal_stop_notifications.
20531
20532 * gdb.base/signull.exp (test_segv): Prefix all tests with
20533 "${name}". Clean up test messages.
20534
20535 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20536
20537 * gdb.base/ena-dis-br.exp: Update copyright.
20538 (break_at): New function. Replace send_gdb with gdb_test,
20539 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20540 ignore count, not stopped at bpt", with KFAIL.
20541
20542 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20543
20544 * gdb.base/attach.exp: Remove cleanupfile handling.
20545
20546 2004-07-12 Andrew Cagney <cagney@gnu.org>
20547
20548 * gdb.base/annota1.exp: Cleanup corefile test name.
20549 * gdb.base/annota3.exp: Ditto.
20550
20551 2004-07-12 Andrew Cagney <cagney@gnu.org>
20552
20553 * gdb.base/signals.exp: Clean up copyright, re-indent.
20554
20555 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20556 gdb_test and gdb_test_multiple.
20557
20558 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20559
20560 * gdb.java/jmain.exp: Fix expected line number for main to
20561 break at. Set XFAIL for break at main test since gcj does not
20562 provide line number info for first statement in main.
20563
20564 2004-07-08 Andrew Cagney <cagney@gnu.org>
20565
20566 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20567
20568 * gdb.base/sigbpt.exp: Make the common part of each test name a
20569 prefix instead of suffix.
20570
20571 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20572
20573 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20574 test from test_tbreak_creation_and_listing to
20575 test_file_list_exec_source_file
20576 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20577 Changed name of test from test_tbreak_creation_and_listing to
20578 test_file_list_exec_source_file
20579
20580 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20581
20582 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20583 the jmisc() constructor instead of <init>.
20584 * gdb.java/jmisc1.exp: Ditto.
20585
20586 2004-07-07 Andrew Cagney <cagney@gnu.org>
20587
20588 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20589 corrupting the PC.
20590
20591 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20592
20593 * gdb.cp/templates.exp: Accept whitespace change in demangler
20594 output.
20595
20596 2004-07-06 Andrew Cagney <cagney@gnu.org>
20597
20598 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20599
20600 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20601
20602 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20603 * lib/compiler.cc: Likewise.
20604
20605 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20606
20607 * lib/compiler.cc: Work around string preprocessing problem
20608 with old hp c++ compiler.
20609 * lib/compiler.c: Likewise.
20610
20611 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20612
20613 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20614 directives to conditionalize symbol prefixing.
20615 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20616 additional_flags handling. Add underscore prefix for Cygwin.
20617 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20618 conditionalize symbol prefixing.
20619 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20620 additional_flags handling. Add underscore prefix for Cygwin.
20621
20622 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20623
20624 * gdb.base/bigcore.exp: Skip test on Cygwin.
20625
20626 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20627
20628 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20629 formats for "info register". Use gdb_test_multiple. Fix
20630 the "invalid register" test.
20631
20632 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20633
20634 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20635 PID for Cygwin. Add Cygwin specific strings to check for in some
20636 tests.
20637 (do_attach_tests): Add a test for user interaction when attaching
20638 to a process with no matching symbol table already loaded.
20639
20640 2004-06-26 Andrew Cagney <cagney@gnu.org>
20641
20642 Test PR java/1567 and PR java/1565.
20643 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20644 * gdb.java/jmisc2.exp: Delete file.
20645
20646 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20647
20648 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20649
20650 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20651
20652 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20653 attach process.
20654
20655 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20656
20657 * gdb.cp/pr-1553.exp: Remove.
20658
20659 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20660
20661 * gdb.cp/pr-1553.cc: Remove.
20662 * gdb.cp/pr-1553.exp: Disable this test.
20663
20664 2004-06-20 Jim Blandy <jimb@redhat.com>
20665
20666 Fix PR testsuite/1680.
20667 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20668 regular expressions.
20669
20670 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20671
20672 Fix PR testsuite/1679.
20673 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20674 Issue an UNSUPPORTED result instead.
20675
20676 2004-06-18 Jim Blandy <jimb@redhat.com>
20677
20678 * gdb.base/charset.exp: Only send a control-C if we see a new
20679 prompt and incomplete command.
20680
20681 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20682
20683 * gdb.cp/pr-574.cc: Add copyright notice.
20684
20685 2004-06-17 Jim Blandy <jimb@redhat.com>
20686
20687 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20688 cases where the regexp has no groups; this grabs random text from
20689 the previous test suite, whatever that was.
20690
20691 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20692
20693 * gdb.cp/printmethod.cc: Add copyright notice.
20694
20695 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20696
20697 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20698
20699 2004-06-16 Andrew Cagney <cagney@gnu.org>
20700
20701 * gdb.base/signull.c: Update copyright. Include <string.h>.
20702 (bowler): Replace data_pointer with data_read
20703 and data_write cases. Add code_descriptor case.
20704 (zero, desc): New array and pointer.
20705 (data, code): Change to simple pointers.
20706 * gdb.base/signull.exp: Fix probe pattern matching a function
20707 descriptor SIGSEGV. Replace data_pointer with data_read and
20708 data_write tests.
20709
20710 2004-06-16 Andrew Cagney <cagney@gnu.org>
20711
20712 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20713
20714 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20715
20716 * gdb.base/long_long.c: Add copyright notice.
20717
20718 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20719
20720 * gdb.base/long_long.exp: Remove reference to
20721 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20722 to gdb_breakpoint and gdb_continue_to_breakpoint.
20723
20724 2004-06-14 Jim Blandy <jimb@redhat.com>
20725
20726 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20727 endian case.
20728
20729 2004-06-14 Andrew Cagney <cagney@gnu.org>
20730
20731 * gdb.base/gcore.exp (capture_command_output): Delete the always
20732 passing tests containing inferior values.
20733 * gdb.base/ending-run.exp: Do not include the breakpoint address
20734 in the test message. Update copyright.
20735 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20736 size in the test name, use gdb_test_multiple. Update copyright.
20737
20738 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20739
20740 * gdb.cp/ref-types.cc: Add copyright notice.
20741
20742 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20743
20744 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20745 hp_aCC_compiler.
20746 * lib/compiler.cc: Likewise.
20747 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20748 'set' commands. Log diagnostics for other lines. Set
20749 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20750
20751 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20752
20753 * gdb.cp/try_catch.cc: Add copyright notice.
20754
20755 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20756
20757 * gdb.cp/userdef.cc: Add copyright notice.
20758
20759 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20760
20761 * gdb.cp/virtfunc.cc: Add copyright notice.
20762
20763 2004-06-11 Randolph Chung <tausq@debian.org>
20764
20765 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20766 problem.
20767
20768 2004-06-10 Andrew Cagney <cagney@gnu.org>
20769
20770 * lib/compiler.cc, lib/compiler.c: Append either
20771 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20772 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20773 instead of gcc-3-3.
20774
20775 2004-06-09 Andrew Cagney <cagney@gnu.org>
20776
20777 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20778 gdb/1455, bug is specific to "long long" and "double".
20779
20780 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20781 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20782 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20783 fixed.
20784
20785 2004-06-09 Andrew Cagney <cagney@gnu.org>
20786
20787 * gdb.base/structs.exp (test_struct_returns): Replace
20788 "return_value_unknown" and "finish_value_unknown" by
20789 "return_value_known" and "finish_value_known". Instead of
20790 "return_value_unknown" iff "finish_value_unknown", check
20791 "return_value_known" implies "finish_value_known".
20792
20793 2004-06-08 Martin Hunt <hunt@redhat.com>
20794
20795 * gdb.base/float.exp: Add pattern for mips targets.
20796
20797 2004-06-08 Randolph Chung <tausq@debian.org>
20798
20799 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20800 message for unknown architectures more clear.
20801
20802 2004-06-08 Joel Brobecker <brobecker@gnat.com>
20803
20804 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20805 start the execution of the program.
20806
20807 2004-06-07 Jim Blandy <jimb@redhat.com>
20808
20809 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20810 * gdb.arch/i386-cpuid.h: New helper file.
20811
20812 2004-06-07 Randolph Chung <tausq@debian.org>
20813
20814 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20815 has started.
20816
20817 2004-06-04 Roland McGrath <roland@redhat.com>
20818
20819 Fix PR gdb/1647.
20820 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20821 differently to be robust to output buffering differences.
20822
20823 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20824
20825 * gdb.threads/pthreads.exp: Update copyright years.
20826 (check_control_c): Change asynchronous 'after' to synchronous.
20827
20828 2004-06-04 Roland McGrath <roland@redhat.com>
20829
20830 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20831 next gdb prompt.
20832
20833 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20834
20835 Fix PR gdb/1636.
20836 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20837 calls to synchronous.
20838
20839 2004-05-26 Jim Blandy <jimb@redhat.com>
20840
20841 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20842
20843 2004-05-24 Randolph Chung <tausq@debian.org>
20844
20845 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20846 * gdb.asm/pa.inc: New file.
20847
20848 2004-05-22 Mark Kettenis <kettenis@gnu.org>
20849
20850 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20851
20852 2004-05-21 Joel Brobecker <brobecker@gnat.com>
20853 Daniel Jacobowitz <drow@mvista.com>
20854
20855 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20856 GDB prompt.
20857
20858 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20859
20860 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20861 setjmp/longjmp. Use sigaction instead of signal.
20862
20863 2004-05-19 J. Brobecker <brobecker@gnat.com>
20864 Michael Snyder <msnyder@redhat.com>
20865
20866 * gdb.threads/pthread_cond_wait.c: New file.
20867 * gdb.threads/pthread_cond_wait.exp: New testcase.
20868
20869 2004-05-13 Andrew Cagney <cagney@redhat.com>
20870
20871 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20872 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20873
20874 2004-05-11 Andrew Cagney <cagney@redhat.com>
20875
20876 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20877 fixed but revealed gdb/1639.
20878
20879 2004-05-10 Andrew Cagney <cagney@redhat.com>
20880
20881 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20882 func1" and "next to 2nd alarm", kernel bug avoided.
20883
20884 2004-05-10 Daniel Jacobowitz <dan@debian.org>
20885
20886 PR external/1568
20887 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20888 XFAIL if it is smaller than bytes_allocated.
20889 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20890 (main): Make chunks_allocated unsigned. Correct comment.
20891
20892 2004-05-07 Joel Brobecker <brobecker@gnat.com>
20893
20894 * gdb.arch/powerpc-aix-prologue.c: New file.
20895 * gdb.arch/powerpc-aix-prologue.exp: New file.
20896
20897 2004-05-07 Jim Blandy <jimb@redhat.com>
20898
20899 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20900 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20901
20902 2004-05-06 Joel Brobecker <brobecker@gnat.com>
20903
20904 * gdb.base/sep.exp: No longer setup_kfail when the program was
20905 built with dwarf2.
20906
20907 2004-05-05 Jim Ingham <jingham@apple.com>
20908
20909 * gdb.base/pending.exp: Make sure pending breakpoints
20910 preserve the ignore count.
20911
20912 2004-04-27 Jerome Guitton <guitton@gnat.com>
20913
20914 * i386-prologue.exp: Add testcase for jump instruction as first
20915 instruction of the real code.
20916 * i386-prologue.c (jump_at_beginning): New function.
20917
20918 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20919
20920 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20921 x86_64-*-*.
20922
20923 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20924
20925 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20926 i*86-*-*.
20927
20928 2004-04-25 Mark Kettenis <kettenis@gnu.org>
20929
20930 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20931 expression that checks the return type.
20932
20933 2004-04-23 Andrew Cagney <cagney@redhat.com>
20934
20935 * gdb.base/call-sc.exp: New test of scalar call/return values.
20936 * gdb.base/call-sc.c: Ditto.
20937
20938 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20939
20940 * gdb.threads/manythreads.c: Reduce thread stack size.
20941
20942 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20943
20944 * gdb.threads/manythreads.c: Add copyright notice.
20945
20946 2004-04-23 Andrew Cagney <cagney@redhat.com>
20947
20948 * gdb.base/siginfo.exp: Better handle step out of signal.
20949 * gdb.base/sigstep.exp: Ditto.
20950
20951 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
20952 Daniel Jacobowitz <drow@mvista.com>
20953
20954 * gdb.threads/manythreads.c: New testcase.
20955 * gdb.threads/manythreads.exp: Ditto.
20956
20957 2004-04-22 Jim Blandy <jimb@redhat.com>
20958
20959 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20960 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20961
20962 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20963
20964 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20965
20966 2004-04-21 Andrew Cagney <cagney@redhat.com>
20967
20968 * gdb.base/sigstep.c: New file.
20969 * gdb.base/sigstep.exp: New file.
20970
20971 2004-04-16 Joel Brobecker <brobecker@gnat.com>
20972
20973 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20974 call to observer_notify_normal_stop.
20975
20976 2004-04-15 Andrew Cagney <cagney@redhat.com>
20977
20978 * gdb.base/siginfo.c: New file.
20979 * gdb.base/siginfo.exp: New file.
20980
20981 2004-04-12 J. Brobecker <brobecker@gnat.com>
20982
20983 * gdb.base/sep.exp: Fix typo in comment.
20984
20985 2004-04-12 J. Brobecker <brobecker@gnat.com>
20986
20987 * gdb.base/sep.c: New file.
20988 * gdb.base/sep-proc.c: New file.
20989 * gdb.base/sep.exp: New testcase.
20990
20991 2004-04-09 Mark Kettenis <kettenis@gnu.org>
20992
20993 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20994 support.
20995
20996 2004-04-05 Andrew Cagney <cagney@redhat.com>
20997
20998 * gdb.base/sigaltstack.c: New file.
20999 * gdb.base/sigaltstack.exp: New file.
21000
21001 2004-04-04 Joel Brobecker <brobecker@gnat.com>
21002
21003 * gdb.base/foll-fork.exp: Update the expected output for
21004 "help set follow-fork-mode", to match a change that was made
21005 to the help of this variable on 2004-01-13.
21006
21007 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21008
21009 * lib/ada.exp: Add copyright notice.
21010 * bar.ads: Likewise.
21011 * bar.adb: Likewise.
21012 * null_record.adb: Likewise.
21013 * null_record.exp: Likewise.
21014 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
21015
21016 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21017
21018 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
21019 * configure: Regenerate.
21020
21021 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21022
21023 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
21024 to build the application. Remove the message printed when in
21025 verbose mode, redundant with the UNSUPPORTED message above.
21026
21027 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21028
21029 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21030 * gdb.ada (null_record.exp): New testcase.
21031
21032 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21033
21034 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21035
21036 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21037
21038 * gdb.ada: New subdirectory.
21039 * gdb.ada/Makefile.in: New file.
21040 * gdb.ada/gnat_ada.gpr.in: New file.
21041
21042 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21043
21044 * lib/ada.exp: New file.
21045
21046 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
21047
21048 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21049 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21050
21051 2004-03-22 Andrew Cagney <cagney@redhat.com>
21052
21053 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21054 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21055 Problem identified by Ulrich Weigand.
21056
21057 2004-03-17 David Carlton <carlton@kealia.com>
21058
21059 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21060 PR c++/826.
21061
21062 2004-03-16 Roland McGrath <roland@redhat.com>
21063
21064 * gdb.base/auxv.exp: New file.
21065 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21066
21067 2004-03-12 David Carlton <carlton@kealia.com>
21068
21069 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21070 * gdb.cp/pr-1553.cc: Ditto.
21071 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21072 pass branch.
21073
21074 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21075
21076 * gdb.cp/templates.exp: Accept more template types.
21077
21078 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21079
21080 From Corinna Vinschen with modifications.
21081 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21082 local variable obj_with_enum.
21083 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21084 results with obj_with_enum.
21085
21086 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21087
21088 * gdb.cp/classes.cc: New file, copied from misc.cc.
21089 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21090
21091 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21092
21093 * gdb.cp/misc.cc: Add copyright notice.
21094
21095 2004-03-05 David Carlton <carlton@kealia.com>
21096
21097 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21098 * gdb.cp/rtti.h: Update copyright.
21099 (namespace n2::n3): New.
21100 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21101 (n2::n3::func3): New.
21102 (main): Call n2::n3::func3.
21103 * gdb.cp/rtti2.cc: Update copyright.
21104 (n2::create3): New.
21105
21106 2004-03-04 Mark Kettenis <kettenis@gnu.org>
21107
21108 * gdb.asm/openbsd.inc: Fix typo.
21109
21110 2004-03-03 Fred Fish <fnf@redhat.com>
21111
21112 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21113 "val" instead of unused "size". Update copyright year.
21114
21115 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21116
21117 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21118 to use unsigned char.
21119 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21120 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21121
21122 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21123
21124 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21125 line of output.
21126
21127 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21128
21129 * gdb.base/relocate.c (dummy): Initialize.
21130
21131 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21132
21133 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21134 a breakpoint at exit.
21135
21136 2004-02-27 Fred Fish <fnf@redhat.com>
21137
21138 * gdb.base/chng-syms.exp: Add expect condition to match failing
21139 case that isn't a timeout.
21140
21141 2004-02-27 Andrew Cagney <cagney@redhat.com>
21142
21143 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21144 support.
21145
21146 2004-02-26 Fred Fish <fnf@redhat.com>
21147
21148 * gdb.arch/gdb1431.c: Remove.
21149 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21150 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21151 of "until" incorrectly.
21152
21153 2004-02-26 J. Brobecker <brobecker@gnat.com>
21154
21155 * gdb.cp/class2.cc (empty): New class.
21156 (refer): New function.
21157 (main): Declare an object of type empty and use it.
21158 * gdb.cp/class2.exp: Print the value of an object of type empty.
21159
21160 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21161
21162 * gdb.base/langs.exp: Update query string to match the
21163 new nquery format used for pending breakpoints.
21164
21165 2004-02-26 Andrew Cagney <cagney@redhat.com>
21166
21167 Fix PR i18n/1570.
21168 * gdb.base/charset.c: Update copyright notice.
21169 (main, init_string): Remove the escape character '\e' tests.
21170 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21171 * gdb.base/charset.exp (valid_host_charset): Ditto.
21172 * gdb.base/setvar.exp: Ditto.
21173
21174 2004-02-24 Andrew Cagney <cagney@redhat.com>
21175
21176 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21177 mmapped data in core file" PASS and FAIL messages consistent.
21178
21179 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21180 setting a breakpoint. Work around PR java/1565.
21181
21182 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21183
21184 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21185 new nquery format.
21186 * gdb.base/pending.exp: Ditto.
21187
21188 2004-02-22 Mark Kettenis <kettenis@gnu.org>
21189
21190 * configure.in: Run stabs tests on *BSD.
21191 * configure: Regenerated.
21192
21193 2004-02-21 Mark Kettenis <kettenis@gnu.org>
21194
21195 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21196
21197 2004-02-20 Fred Fish <fnf@redhat.com>
21198
21199 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21200 blank in test for "returns short", for consistency with other
21201 "returns xxx" tests. Update copyright year.
21202
21203 2004-02-19 Fred Fish <fnf@redhat.com>
21204
21205 New testcase for PR breakpoint/1558.
21206 * gdb.arch/gdb1558.exp: New file.
21207 * gdb.arch/gdb1558.c: New file.
21208
21209 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
21210
21211 * gdb.base/nodebug.exp: Fix typo.
21212
21213 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21214
21215 Committed by Jim Blandy <jimb@redhat.com>.
21216
21217 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21218
21219 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21220
21221 * gdb.base/float.exp: Support s390*-*-* targets.
21222
21223 2004-02-17 Adam Fedor <fedor@gnu.org>
21224
21225 * gdb.base/gdb1555.exp: New file.
21226 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21227
21228 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
21229
21230 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21231
21232 2004-02-16 Fred Fish <fnf@redhat.com>
21233
21234 * gdb.arch/gdb1291.c: Remove
21235 * gdb.arch/gdb1291.s: New test input file.
21236 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21237 fail. Test for correct result, known incorrect result, other
21238 failures and timeouts.
21239
21240 2004-02-16 Andrew Cagney <cagney@redhat.com>
21241
21242 * gdb.base/bigcore.exp: New file.
21243 * gdb.base/bigcore.c: New file.
21244
21245 2004-02-13 Andrew Cagney <cagney@redhat.com>
21246
21247 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21248 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21249 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21250 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21251 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21252 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21253 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21254 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21255 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21256 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21257
21258 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21259
21260 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21261 executed is an alloc instruction.
21262
21263 2004-02-11 David Carlton <carlton@kealia.com>
21264
21265 * gdb.cp/breakpoint.exp: New.
21266 * gdb.cp/breakpoint.cc: New.
21267
21268 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21269
21270 Partial fix for PR gdb/1543.
21271 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21272 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21273 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21274 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21275 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21276 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21277 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21278 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21279 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21280 to bug-gdb@prep.ai.mit.edu .
21281 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21282 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21283 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21284 Likewise.
21285
21286 2004-02-10 Andrew Cagney <cagney@redhat.com>
21287
21288 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21289 using gdb_internal_error_resync.
21290
21291 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
21292
21293 * gdb.threads/thread-specific.exp: Stop early if no threads are
21294 found.
21295
21296 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21297
21298 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21299
21300 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
21301
21302 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21303 breakpoints.
21304
21305 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
21306
21307 * config/sim.exp (gdb_load): Handle $arg == "".
21308 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21309 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21310
21311 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
21312
21313 * gdb.base/maint.exp: Update test to reflect
21314 obstack changes.
21315
21316 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21317
21318 * gdb.base/pendshr.c (pendfunc): New function that calls
21319 pendfunc1.
21320 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21321
21322 2004-02-04 Fred Fish <fnf@redhat.com>
21323
21324 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21325 function symbols and update copyright years.
21326 * gdb.arch/gdb1291.c: Ditto.
21327
21328 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21329
21330 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21331
21332 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21333
21334 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21335
21336 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21337
21338 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21339
21340 2004-02-02 Fred Fish <fnf@redhat.com>
21341
21342 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21343 remote targets. Update copyright years.
21344
21345 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21346
21347 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21348 support.
21349 * gdb.base/langs.exp: Fix test which attempts to create
21350 breakpoint on non-existent function to handle new pending
21351 support.
21352 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21353 a breakpoint.
21354 * gdb.base/pending.exp: New test.
21355 * gdb.base/pending.c: New file.
21356 * gdb.base/pendshr.c: Ditto.
21357
21358 2004-02-02 David Carlton <carlton@kealia.com>
21359
21360 * gdb.cp/overload.exp: Add overloadNamespace tests.
21361 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21362 (overloadNamespace, XXX): New.
21363 (main): Call XXX::marker2.
21364
21365 2004-02-01 Fred Fish <fnf@redhat.com>
21366
21367 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21368 * gdb.base/finish.exp: Ditto.
21369 * gdb.base/gcore.exp: Ditto.
21370 * gdb.base/huge.exp: Ditto.
21371 * gdb.base/info-proc.exp: Ditto.
21372 * gdb.base/return2.exp: Ditto.
21373 * gdb.threads/gcore-thread.exp: Ditto.
21374
21375 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21376
21377 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21378
21379 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21380
21381 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21382 that opening the file succeeds on OpenBSD.
21383
21384 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21385
21386 * gdb.threads/thread-specific.c: New file.
21387 * gdb.threads/threads-specific.exp: New test script.
21388 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21389 to expect_out.
21390
21391 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21392
21393 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21394 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21395 only on the "print_small_structs from print_long_arg_list" test.
21396
21397 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21398
21399 * gdb.base/completion.exp: Kill a stray backslash.
21400
21401 From Jim Ingham <jingham@apple.com>:
21402 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21403 agrees with the result from sending a tab.
21404
21405 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
21406
21407 * gdb.base/chng-syms.exp: Remove stray newline.
21408
21409 2004-01-31 Mark Kettenis <kettenis@gnu.org>
21410
21411 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21412 *-*-openbsd*.
21413 * gdb.asm/openbsd.inc: New file.
21414
21415 2004-01-30 Mark Kettenis <kettenis@gnu.org>
21416
21417 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21418 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21419 *-*solaris2*. Remove commented out default settings for
21420 asm-flags. Replace gdb_compile with target_link.
21421
21422 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21423
21424 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21425 for all tests. Remove old hp-ux and cygnus xfail cases.
21426
21427 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21428
21429 * gdb.base/chng-syms.exp: New file.
21430 * gdb.base/chng-syms.c: New file.
21431
21432 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21433
21434 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21435 Provide arms for current output in all my configurations.
21436
21437 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21438
21439 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21440 * lib/compiler.cc: Likewise.
21441 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21442 get the right preprocessor. Eval the output directly. Remove
21443 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21444 hp_f77_compiler and hp_f90_compiler completely.
21445 (gdb_preprocess): Delete.
21446 (get_compiler): Delete.
21447
21448 2004-01-24 Mark Kettenis <kettenis@gnu.org>
21449
21450 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21451 <string.h>.
21452
21453 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
21454
21455 * gdb.mi/mi-stack.exp: Update copyright.
21456
21457 2004-01-23 David Carlton <carlton@kealia.com>
21458
21459 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21460 test for cp_lookup_transparent_type.
21461 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21462 call them.
21463
21464 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
21465
21466 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21467 after -var-update.
21468
21469 2004-01-23 David Carlton <carlton@kealia.com>
21470
21471 * gdb.cp/namespace.cc (C::ensureRefs): New.
21472 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21473
21474 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
21475
21476 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21477 case "-stack-list-locals 2".
21478 * gdb.mi/mi-var-child.exp: Test for case
21479 "-var-list-children --all-values NAME".
21480
21481 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21482
21483 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21484
21485 2004-01-18 Mark Kettenis <kettenis@gnu.org>
21486
21487 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21488 used with gdb_test_multiple.
21489
21490 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21491 read at address 0. This fixes PR testsuite/1504.
21492
21493 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
21494
21495 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21496 Remove downloading, guessing the host executable, the calls to
21497 gdb_file_cmd and gdb_target_cmd, and "load" support.
21498 (infer_host_exec): New function broken out from gdb_load.
21499 (gdb_load): New wrapper for gdbserver_gdb_load.
21500 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21501 gdb_target_cmd. Use -target-select.
21502 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21503 Download binaries to the host. Clear last_mi_remote_file when
21504 we load a new binary.
21505 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21506 call gdbserver_gdb_load and mi_gdb_target_cmd.
21507
21508 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21509
21510 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21511 type patterns.
21512
21513 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21514
21515 * gdb.cp/templates.exp: Fix typo in test name of
21516 "print Foo<volatile char*>::foo".
21517
21518 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21519
21520 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21521
21522 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21523
21524 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21525 (clean mostlyclean): Remove empty rm.
21526
21527 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21528
21529 * gdb.base/setvar.exp: Add copyright years.
21530
21531 2004-01-14 David Carlton <carlton@bactrian.org>
21532
21533 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21534 PR c++/1511 and update coment.
21535 * gdb.cp/templates.exp: Update patterns to match current output.
21536 If changes involve something other than whitespace, KFAIL
21537 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21538
21539 2004-01-14 David Carlton <carlton@kealia.com>
21540
21541 * gdb.cp/namespace.exp: Add tests involving classes defined within
21542 namespaces.
21543 * gdb.cp/namespace.cc (C::CClass): New.
21544 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21545
21546 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21547
21548 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21549 what debug info we have. Print a better message if something goes
21550 wrong while producing the separate debug info file.
21551
21552 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21553
21554 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21555
21556 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21557
21558 * gdb.base/callfuncs.c: Add copyright notice.
21559
21560 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21561
21562 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21563 inheritance. PR gdb/1498, PR gcc/13539.
21564
21565 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
21566
21567 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21568 test specific name.
21569 * gdb.mi/gdb669.exp: Ditto.
21570 * gdb.mi/mi-pthreads.exp: Ditto.
21571 * gdb.mi/mi1-pthreads.exp: Ditto.
21572 * gdb.mi/mi2-pthreads.exp: Ditto.
21573
21574 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21575
21576 * gdb.cp/member-ptr.cc: Add copyright notice.
21577
21578 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21579
21580 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21581 some patterns for recent versions of gcc and hpacc. Delete
21582 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21583 Delete tests that access a NULL pointer-to-member-data. This
21584 script is still disabled for gcc.
21585
21586 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21587
21588 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21589 escaped correctly.
21590
21591 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21592
21593 * gdb.base/sepdebug.exp: New file.
21594 * gdb.base/sepdebug.c: New file.
21595 * lib/gdb.exp (separate_debug_filename): New procedure.
21596 (gdb_gnu_strip_debug): New procedure.
21597
21598 2004-01-12 Andrew Cagney <cagney@redhat.com>
21599
21600 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21601 * gdb.mi/ChangeLog-1999-2003: New file.
21602
21603 2004-01-12 Andrew Cagney <cagney@redhat.com>
21604
21605 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21606 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21607 or EEXIST", treat EBUSY as an XFAIL.
21608
21609 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21610
21611 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21612 hp_cc_compiler.
21613
21614 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21615
21616 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21617 decorations.
21618
21619 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21620
21621 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21622 and "(aCC)" decorations. Remove obsolete doco about old
21623 test results.
21624
21625 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21626
21627 * gdb.cp/exception.exp: Fix typo in doco.
21628
21629 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21630
21631 * gdb.base/gdb1476.exp: Fix typo.
21632
21633 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21634
21635 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21636 file.
21637
21638 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21639
21640 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21641 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21642 Use gdb_compile. Remove restriction on gcc. Add some patterns
21643 for recent version of gdb. Delete second half, which was a copy
21644 of the first half with different build flags. This test is
21645 still disabled because it is still not ready for production.
21646
21647 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21648
21649 * gdb.cp/exception.cc: Add copyright notice.
21650 * gdb.cp/exception.exp: Add a notice that this file is broken
21651 because of line number changes caused by addition of copyright
21652 notice.
21653
21654 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21655
21656 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21657 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21658
21659 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21660
21661 * gdb.cp/classes.exp: Accept gnu abi 2.
21662 * gdb.cp/derivation.exp: Likewise.
21663 * gdb.cp/overload.exp: Likewise.
21664 * gdb.cp/virtfunc.exp: Likewise.
21665
21666 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21667
21668 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21669 semicolon after end of function.
21670
21671 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21672
21673 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21674 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21675 boilerplate code for compiling and running the program under
21676 test. Add some string method tests.
21677
21678 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21679
21680 * gdb.cp/bs15503.cc: Add copyright notice.
21681 * gdb.cp/bs15503.exp: Adjust line number.
21682
21683 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21684
21685 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21686 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21687
21688 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21689
21690 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21691 hp_cc_compiler.
21692
21693 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21694
21695 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21696 * gdb.cp/ctti.exp: Use the marker instead of "next".
21697 With gcc, run further before bailing.
21698
21699 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21700
21701 * gdb.cp/cttiadd.cc: Add copyright notice.
21702 * gdb.cp/cttiadd1.cc: Likewise.
21703 * gdb.cp/cttiadd2.cc: Likewise.
21704 * gdb.cp/cttiadd3.cc: Likewise.
21705
21706 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21707
21708 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21709 Use gdb_test, gdb_test_multiple. Use floating-point values that
21710 have exact representations in IEEE-ish formats.
21711
21712 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21713
21714 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21715 compilers. Delete duplicate call to get_compiler_info.
21716 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21717 * gdb.base/volatile.exp: Likewise.
21718
21719 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21720
21721 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21722 memory at address 0.
21723
21724 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21725
21726 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21727 to test for hp-ux assembler. Fix copyright years.
21728
21729 2004-01-07 Andrew Cagney <cagney@redhat.com>
21730
21731 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21732
21733 2004-01-07 Andrew Cagney <cagney@redhat.com>
21734
21735 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21736 when creating the read-only file. From analysis by Roland McGrath
21737 and Elena Zannoni.
21738
21739 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21740
21741 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21742
21743 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21744
21745 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21746 data pointers.
21747
21748 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21749
21750 * gdb.cp/m-static.exp: Compile one source file at a time.
21751 Delete unused call to get_compiler_info.
21752
21753 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21754
21755 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21756 * gdb.base/call-rt-st.exp: Likewise.
21757 * gdb.base/nodebug.exp: Likewise.
21758 * gdb.base/volatile.exp: Likewise.
21759 * gdb.cp/ref-types.exp: Likewise.
21760 * gdb.cp/templates.exp: Likewise.
21761
21762 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21763
21764 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21765
21766 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21767
21768 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21769 hppa*-hp-hpux*.
21770
21771 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21772
21773 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21774 x86_64-*-*.
21775
21776 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21777 sparc64-*-* and sparc*-solaris2*.
21778
21779 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21780
21781 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21782 return ${tests}" test. The ${tests} already mentions the
21783 filename.
21784
21785 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21786
21787 * gdb.cp/local.exp: Accept gcc abi 2.
21788
21789 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21790
21791 * gdb.cp/templates.exp: Accept gcc abi 2.
21792
21793 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21794
21795 * lib/compiler.cc: Remove supports_template_debugging.
21796 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21797
21798 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21799
21800 * gdb.cp/namespace.exp: Accept gcc abi 2.
21801
21802 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21803
21804 * gdb.cp/method.exp: Accept gcc abi 2.
21805
21806 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21807
21808 * gdb.cp/classes.exp: Generate identical results as old version.
21809 * gdb.cp/derivation.exp: Likewise.
21810 * gdb.cp/overload.exp: Likewise.
21811 * gdb.cp/virtfunc.exp: Likewise.
21812
21813 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21814
21815 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21816 mysterious bug with sourceware version of expect.
21817
21818 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21819
21820 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21821 current versions of gcc, including gcc abi 2. Remove gratuitous
21822 restart of test program. Use gdb_test_multiple and gdb_test for
21823 all tests. Add patterns to xfail missing "const" in "const char *"
21824 and kfail PR gdb/1155.
21825
21826 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21827
21828 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21829 current versions of gcc, including gcc abi 2. Remove gratuitous
21830 restart of test program. Use gdb_test_multiple and gdb_test for
21831 all tests. Add patterns to kfail PR gdb/1498.
21832
21833 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21834
21835 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21836 current versions of gcc, including gcc abi 2. Use "breakpoint"
21837 and "continue" instead of restarting the target program. Use
21838 gdb_test_multiple and gdb_test for all tests.
21839
21840 2004-01-01 Mark Kettenis <kettenis@gnu.org>
21841
21842 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21843 for *-*-solaris2*.
21844
21845 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21846
21847 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21848 current versions of gcc, including gcc abi 2. Use "breakpoint"
21849 and "continue" instead of restarting the target program several
21850 times. Use gdb_test_multiple and gdb_test for all tests.
21851
21852 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21853
21854 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21855 source files.
21856
21857 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21858
21859 * gdb.base/environ.exp: Handle compiling test case from multiple
21860 source files.
21861
21862 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21863
21864 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21865
21866 2003-12-17 Jim Blandy <jimb@redhat.com>
21867
21868 * gdb.base/freebpcmd.c: Add copyright notice.
21869
21870 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21871
21872 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21873
21874 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21875
21876 2003-12-13 Jim Blandy <jimb@redhat.com>
21877
21878 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21879
21880 2003-12-12 Kevin Buettner <kevinb@redhat.com>
21881
21882 * gdb.asm/frv.inc: New file.
21883 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21884
21885 2003-12-09 Fred Fish <fnf@redhat.com>
21886
21887 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21888 functions to break1.c and leave prototypes behind. Add more
21889 "set breakpoint NN here" comments.
21890 * gdb.base/break1.c: New file.
21891
21892 * gdb.base/break.exp: Handle compiling test case from multiple
21893 source files and change source file references as needed.
21894 * gdb.base/completion.exp: Ditto.
21895 * gdb.base/condbreak.exp: Ditto.
21896 * gdb.base/define.exp: Ditto.
21897 * gdb.base/ena-dis-br.exp: Ditto.
21898 * gdb.base/info-proc.exp: Ditto.
21899 * gdb.base/maint.exp: Ditto.
21900 * gdb.base/until.exp: Ditto.
21901
21902 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21903 hardcoded line numbers.
21904 * gdb.base/define.exp: Ditto.
21905 * gdb.base/ena-dis-br.exp: Ditto.
21906 * gdb.base/maint.exp: Ditto.
21907 * gdb.base/until.exp: Ditto.
21908
21909 * gdb.base/completion.exp: Use "break1" for completion tests since
21910 "break" is no longer a unique prefix.
21911
21912 2003-12-06 Andrew Cagney <cagney@redhat.com>
21913
21914 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21915 "return_value_unimplemented". When an unimplemented struct return
21916 architecture, report incorrect values as a KFAIL
21917
21918 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21919
21920 * gdb.cp/rtti.exp: Accept new wording of warning from
21921 cp_lookup_rtti_type.
21922
21923 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21924
21925 Partial fix for PR testsuite/1456.
21926 * gdb.base/scope.exp (test_at_main): Replace references to
21927 gcc_compiled with calls to test_compiler_info.
21928 (test_at_foo): Likewise.
21929 (test_at_bar): Likewise.
21930
21931 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21932
21933 Partial fix for PR testsuite/1456.
21934 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21935 to test_compiler_info.
21936
21937 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21938
21939 * gdb.base/so-impl-ld.exp: Update copyright notice.
21940
21941 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21942
21943 Partial fix for PR testsuite/1456.
21944 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21945 to test_compiler_info.
21946
21947 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21948
21949 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21950 from current versions of gdb. Clean up regular expressions.
21951 Delete redundant timeout case.
21952
21953 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21954
21955 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21956 from current versions of gdb. Clean up regular expressions.
21957 Delete redundant timeout case.
21958
21959 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21960
21961 Partial fix for PR testsuite/1456.
21962 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21963 gcc_compiled with call to test_compiler_info.
21964
21965 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21966
21967 Partial fix for PR testsuite/1456.
21968 * gdb.base/list.exp (test_list_function): Delete unused declaration
21969 of gcc_compiled.
21970
21971 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21972
21973 Partial fix for PR testsuite/1456.
21974 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21975 call to test_compiler_info.
21976
21977 2003-11-29 Mark Kettenis <kettenis@gnu.org>
21978
21979 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21980 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21981 it to create the appropriate note.inc.
21982 * gdb.asm/asmsrc1.s: Include "note.inc".
21983 * gdb.asm/netbsd.inc: New file.
21984 * gdb.asm/empty.inc: New file.
21985
21986 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21987
21988 Partial fix for PR testsuite/1456.
21989 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21990 calls to test_compiler_info.
21991
21992 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21993
21994 Partial fix for PR testsuite/1456.
21995 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21996 calls to test_compiler_info.
21997
21998 2003-11-27 Mark Kettenis <kettenis@gnu.org>
21999
22000 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
22001 pattern for the KFAILs.
22002
22003 2003-11-25 Adam Fedor <fedor@gnu.org>
22004
22005 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
22006 * gdb.objc/objcdecode.m: New file.
22007
22008 2003-11-25 Adam Fedor <fedor@gnu.org>
22009
22010 * gdb.objc/nondebug.exp: Test for PR objc/1236.
22011 * gdb.objc/nondebug.m: New file.
22012
22013 2003-11-26 Ben Elliston <bje@wasabisystems.com>
22014
22015 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22016 NetBSD as it does on FreeBSD. Modelled on a similar change by
22017 Mark Kettenis on 2003-05-30.
22018 (link-flags): Set to "--entry _start" regardless of target.
22019 Special linker flags are to be appended to $link-flags.
22020 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
22021
22022 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22023
22024 * gdb.cp/method.exp: Accept output of new demangler.
22025
22026 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22027
22028 * gdb/class2.exp: New file.
22029 * gdb/class2.cc: New file.
22030
22031 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22032
22033 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22034 of new demangler.
22035
22036 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22037
22038 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22039 of gdb_test "run".
22040
22041 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22042
22043 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22044 "continue" into "run".
22045
22046 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22047
22048 Partial fix for PR testsuite/1456.
22049 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22050 call to test_compiler_info.
22051 * gdb.cp/ctti.exp: Likewise.
22052 * gdb.cp/derivation.exp: Likewise.
22053 * gdb.cp/member-ptr.exp: Likewise.
22054 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22055 reference to gcc_compiled.
22056
22057 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22058
22059 Fix PR testsuite/1463.
22060 * gdb.base/structs.exp (start_structs_test): Call
22061 get_debug_format before using the debug format.
22062
22063 2003-11-22 Andrew Cagney <cagney@redhat.com>
22064
22065 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22066 * gdb.base/structs.exp: Use gdb_test_multiple.
22067
22068 2003-11-20 Andrew Cagney <cagney@redhat.com>
22069
22070 * gdb.base/structs.exp: Handle and recover from internal errors.
22071 Replace "foo${n}" with "foo<n>" in test messages.
22072
22073 * gdb.base/structs.exp: Update copyright. Rewrite.
22074 * gdb.base/structs.c: Update copyright. Rewrite.
22075
22076 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22077 resync count exceeded.
22078
22079 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22080 from the internal error.
22081 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22082 Original from Jim Blandy.
22083 (gdb_test_multiple): Use gdb_internal_error_resync.
22084
22085 2003-11-19 Andrew Cagney <cagney@redhat.com>
22086
22087 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22088 KFAIL.
22089
22090 2003-11-17 Mark Kettenis <kettenis@gnu.org>
22091
22092 New testcase for PR backtrace/1435.
22093 * gdb.arch/i386-unwind.exp: New file.
22094 * gdb.arch/i386-unwind.c: New file.
22095
22096 2003-11-17 Andrew Cagney <cagney@redhat.com>
22097
22098 * lib/gdb.exp (compiler_info): New global.
22099 (test_compiler_info): New function.
22100 (get_compiler_info): Set compiler_info.
22101 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22102 "compiler_info" to gcc-<major>-<minor>.
22103
22104 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22105
22106 * gdb.trace/configure: Remove.
22107
22108 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
22109
22110 * gdb.base/break.c: Add comments to aid finding line numbers for
22111 breakpoints.
22112 * gdb.base/break.exp: Remove all references to explicit line
22113 numbers.
22114
22115 2003-11-11 Nick Clifton <nickc@redhat.com>
22116
22117 * gdb.base/shreloc.exp: Do not run for targets which do not
22118 support shared objects.
22119
22120 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
22121
22122 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22123 Don't run tests if nofileio flag is given.
22124
22125 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
22126
22127 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
22128 as well as 'Watchpoint'.
22129
22130 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22131
22132 Reported by Jim Ingham <jingham@apple.com>:
22133 * gdb.base/annota1.exp: Match at least one occurrence of the
22134 signal handler annotation.
22135
22136 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22137
22138 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22139 as well as 'Watchpoint'.
22140
22141 2003-11-05 Michael Chastain <mec@shout.net>
22142
22143 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22144
22145 2003-11-03 Kris Warkentin <kewarken@qnx.com>
22146
22147 * gdb.arch/gdb1291.c: New test file.
22148 * gdb.arch/gdb1291.exp: New test script.
22149 * gdb.arch/gdb1431.c: New test file.
22150 * gdb.arch/gdb1431.exp: New test script.
22151
22152 2003-10-22 Michael Chastain <mec@shout.net>
22153
22154 * gdb.mi/pthreads.c: Add copyright notice.
22155
22156 2003-10-22 Michael Chastain <mec@shout.net>
22157
22158 * gdb.threads/pthreads.c: Add copyright notice.
22159
22160 2003-10-20 Michael Chastain <mec@shout.net>
22161
22162 * gdb.base/gdb1056.exp: New test script.
22163
22164 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22165
22166 * gdb.threads/killed.exp: Use gdb_run_cmd.
22167
22168 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22169
22170 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22171 create a core file.
22172 * gdb.threads/gcore-thread.exp: Likewise.
22173
22174 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
22175
22176 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22177 type, based on char type.
22178 (struct bit_flags_short_t): New bitfield type, based on short type.
22179 (init_bit_flags_char): New fuction.
22180 (init_bit_flags_short): Ditto.
22181 (print_bit_flags_char): Ditto.
22182 (print_bit_flags_short): Ditto.
22183 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22184
22185 2003-10-11 Michael Chastain <mec@shout.net>
22186
22187 * gdb.base/call-rt-st.exp: Update copyright year.
22188
22189 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22190
22191 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22192 * gdb.disasm/sh3.s: Ditto.
22193
22194 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
22195
22196 * gdb.threads/switch-threads.exp: New test.
22197 * gdb.threads/switch-threads.c: New source file.
22198
22199 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
22200
22201 * gdb.base/ending-run.exp: Add sh specific case.
22202
22203 2003-10-06 Andrew Cagney <cagney@redhat.com>
22204
22205 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22206 * gdb.disasm/mn10200.exp: Delete obsolete file.
22207
22208 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
22209
22210 * ChangeLog: Correct an entry command.exp -> commands.exp.
22211 * gdb.base/commands.exp (bp_deleted_in_command_test)
22212 (temporary_breakpoint_commands): Check noargs.
22213
22214 2003-09-25 David Carlton <carlton@kealia.com>
22215
22216 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22217 of some print tests, where appropriate. Add tests for C::D::cd,
22218 E::ce, F::cXfX, G::XgX.
22219 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22220
22221 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
22222
22223 * lib/java.exp (java_init): Import target_alias before using it.
22224
22225 2003-09-25 David Carlton <carlton@kealia.com>
22226
22227 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22228
22229 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
22230
22231 * gdb.base/selftest.exp: Accomodate more instruction reordering
22232 weirdness.
22233
22234 2003-09-17 Michael Chastain <mec@shout.net>
22235
22236 * gdb.cp/gdb1355.exp: New file.
22237 * gdb.cp/gdb1355.c: New file.
22238
22239 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
22240
22241 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22242 * gdb.asm/sh.inc: New file.
22243
22244 2003-09-11 David Carlton <carlton@kealia.com>
22245
22246 * gdb.cp/namespace.exp: Add tests for namespace types.
22247 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
22248 (test_namespace): New.
22249
22250 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
22251
22252 * gdb.base/relocate.exp: Handle new gdb output at startup.
22253 * gdb.stabs/weird.exp: Ditto.
22254
22255 2003-09-08 Michael Chastain <mec@shout.net>
22256
22257 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22258
22259 2003-09-07 Michael Chastain <mec@shout.net>
22260
22261 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22262 'parse error'.
22263
22264 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22265
22266 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22267
22268 2003-08-30 Michael Chastain <mec@shout.net>
22269
22270 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22271 * gdb.gdb/observer.exp: Ditto.
22272 * gdb.gdb/xfullpath.exp: Ditto.
22273
22274 2003-08-29 Mark Kettenis <kettenis@gnu.org>
22275
22276 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22277 *-*-*bsd*.
22278
22279 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22280
22281 * gdb.base/dump.exp: Skip for ia64.
22282
22283 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22284
22285 * gdb.asm/asm-source.exp: Add ia64 support.
22286 * gdb.asm/ia64.inc: New file.
22287
22288 2003-08-22 Michael Chastain <mec@shout.net>
22289
22290 * gdb.cp: New directory.
22291 * gdb.cp/*: Copy from gdb.c++/*.
22292 * gdb.c++/*: Remove.
22293 * Makefile.in: Change gdb.c++ to gdb.cp.
22294 * configure.in: Ditto.
22295 * configure: Regnerate.
22296
22297 2003-08-18 Mark Kettenis <kettenis@gnu.org>
22298
22299 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22300 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22301
22302 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22303
22304 * mi-var-display.exp (-var-list-children weird): Accept function
22305 pointers with argument types.
22306 * mi1-var-display.exp (-var-list-children weird): Likewise.
22307 * mi2-var-display.exp (-var-list-children weird): Likewise.
22308
22309 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22310
22311 * gdb.base/annota3.exp: Add missing newline.
22312
22313 2003-08-06 Michael Chastain <mec@shout.net>
22314
22315 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22316
22317 2003-08-12 Michael Snyder <msnyder@redhat.com>
22318
22319 * gdb.base/float.exp: Add test for SH.
22320
22321 2003-08-10 Mark Kettenis <kettenis@gnu.org>
22322
22323 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22324
22325 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22326
22327 * gdb.base/completion.exp: Remove reduntant completion test
22328 on filename.
22329
22330 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22331
22332 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22333 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22334 gdb.trace/save-trace.exp: Make sure that full pathnames are
22335 escaped correctly.
22336
22337 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22338
22339 * configure.in: Don't generate config.h from config.hin.
22340 * configure: Regenerate.
22341 * config.hin: Remove file.
22342 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22343 * gdb.threads/pthreads.c: Ditto.
22344
22345 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
22346
22347 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22348 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22349 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22350 Replace ld24 with seth/add3.
22351
22352 2003-08-02 Andrew Cagney <cagney@redhat.com>
22353
22354 * gdb.base/annota3.exp: New file.
22355 * gdb.base/annota3.c: New file.
22356 * gdb.c++/annota3.exp: New file.
22357 * gdb.c++/annota3.cc: New file.
22358
22359 2003-07-29 Michael Chastain <mec@shout.net>
22360
22361 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22362 actually failed.
22363 (do_pass): Likewise.
22364 * gdb.threads/tls.exp: Always initialize no_of_threads.
22365
22366 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
22367
22368 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22369 pattern.
22370 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22371 * gdb.threads/tls.exp: Recognize one case of the host library not
22372 supporting TLS.
22373
22374 2003-07-27 Andrew Cagney <cagney@redhat.com>
22375
22376 * gdb.base/fileio.exp: Use SH when running commands using
22377 remote_exec.
22378
22379 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
22380
22381 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22382 * gdb.base/relocate.c (dummy): New padding array.
22383
22384 2003-07-22 Michael Snyder <msnyder@redhat.com>
22385
22386 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
22387
22388 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22389 patterns to be more general, accepting old and new output.
22390 Some output chars (such as '+') also must be quoted.
22391 Some addresses are displayed numerically instead of
22392 symbolically.
22393
22394 2003-07-23 Michael Snyder <msnyder@redhat.com>
22395
22396 * gdb.base/return2.exp: Don't test long-long return.
22397
22398 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22399 * gdb.disasm/t01_mov.exp: Ditto.
22400 * gdb.disasm/t02_mova.s: Ditto.
22401 * gdb.disasm/t02_mova.exp: Ditto.
22402 * gdb.disasm/t03_add.s: Ditto.
22403 * gdb.disasm/t03_add.exp: Ditto.
22404 * gdb.disasm/t04_sub.s: Ditto.
22405 * gdb.disasm/t04_sub.exp: Ditto.
22406 * gdb.disasm/t05_cmp.s: Ditto.
22407 * gdb.disasm/t05_cmp.exp: Ditto.
22408 * gdb.disasm/t06_ari2.s: Ditto.
22409 * gdb.disasm/t06_ari2.exp: Ditto.
22410 * gdb.disasm/t07_ari3.s: Ditto.
22411 * gdb.disasm/t07_ari3.exp: Ditto.
22412 * gdb.disasm/t08_or.s: Ditto.
22413 * gdb.disasm/t08_or.exp: Ditto.
22414 * gdb.disasm/t09_xor.s: Ditto.
22415 * gdb.disasm/t09_xor.exp: Ditto.
22416 * gdb.disasm/t10_and.s: Ditto.
22417 * gdb.disasm/t10_and.exp: Ditto.
22418 * gdb.disasm/t11_logs.s: Ditto.
22419 * gdb.disasm/t11_logs.exp: Ditto.
22420 * gdb.disasm/t12_bit.s: Ditto.
22421 * gdb.disasm/t12_bit.exp: Ditto.
22422 * gdb.disasm/t13_otr.s: Ditto.
22423 * gdb.disasm/t13_otr.exp: Ditto.
22424
22425 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22426
22427 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22428
22429 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22430
22431 * gdb.threads/tls.c : New file.
22432 * gdb.threads/tls.exp : New file.
22433 * gdb.threads/tls-main.c : New file.
22434 * gdb.threads/tls-shared.c : New file.
22435 * gdb.threads/tls-shared.exp : New file.
22436
22437 2003-07-22 Andreas Schwab <schwab@suse.de>
22438
22439 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22440
22441 2003-07-20 Andreas Schwab <schwab@suse.de>
22442
22443 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22444 due to insn reordering.
22445
22446 2003-07-15 Andrew Cagney <cagney@redhat.com>
22447
22448 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22449
22450 2003-07-15 Michael Chastain <mec@shout.net>
22451
22452 * gdb.base/gdb1250.exp: New file.
22453 * gdb.base/gdb1250.c: New file.
22454
22455 2003-07-09 Michal Ludvig <mludvig@suse.cz>
22456
22457 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22458 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22459
22460 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22461
22462 * gdb.threads/tls.c: New file.
22463 * gdb.threads/tls.exp: New file.
22464 * gdb.threads/tls-main.c: New file.
22465 * gdb.threads/tls-shared.c: New file.
22466 * gdb.threads/tls-shared.exp: New file.
22467
22468 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22469
22470 * gdb.base/annota1.exp: Make sure that we properly escape the
22471 full path of the source file. Xfail more permissive patterns,
22472 due to a compiler debug info problem.
22473
22474 2003-07-07 Andreas Schwab <schwab@suse.de>
22475
22476 * gdb.asm/m68k.inc: New file.
22477 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22478
22479 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22480 arguments"): Also match negative number.
22481
22482 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22483
22484 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
22485
22486 * gdb.base/store.c (charest): New typedef.
22487 (add_char): Rename to add_charest, update.
22488 (wack_char): Rename to wack_charest, update types. Return l + r
22489 to keep r live across the call.
22490 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22491 (wack_double, wack_doublest): Return l + r to keep r live across
22492 the call.
22493 * gdb.base/store.exp: Accomodate store.c changes.
22494
22495 2003-06-30 David Carlton <carlton@kealia.com>
22496
22497 * gdb.c++/maint.exp (test_invalid_name): New.
22498 (test_first_component): Add tests for invalid names.
22499
22500 2003-06-29 Michael Chastain <mec@shout.net>
22501
22502 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22503 output of '<VTT for class>' for virtual base classes.
22504
22505 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22506
22507 * gdb.base/completion.exp: Tab-complete "complet" instead of
22508 "compl".
22509 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22510
22511 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22512
22513 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22514 * gdb.base/volatile.exp: Likewise.
22515
22516 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22517
22518 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22519 gdb/1265.
22520
22521 2003-06-28 Michael Chastain <mec@shout.net>
22522 Daniel Jacobowitz <drow@mvista.com>
22523
22524 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22525 initial line count of 'captured_main' from 26 to 32.
22526 (test_with_self): Allow xmalloc call to be interleaved with the
22527 preceding two lines.
22528
22529 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22530
22531 * gdb.base/bang.exp: New testcase.
22532
22533 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22534
22535 * gdb.base/langs.exp: Add some tests for the "minimal" language
22536 support.
22537
22538 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22539
22540 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22541 the testcase.
22542
22543 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22544
22545 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22546 offset.
22547
22548 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22549
22550 * gdb.c++/pr-1210.cc: New file.
22551 * gdb.c++/pr-1210.exp: New file.
22552
22553 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
22554
22555 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22556 000-exec-continue.
22557
22558 2003-06-15 Mark Kettenis <kettenis@gnu.org>
22559
22560 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22561 on *-*-*bsd* instead of *-*-freebsd*.
22562
22563 2003-06-14 Andrew Cagney <cagney@redhat.com>
22564
22565 * gdb.base/store.exp: Test longest and doublest. Test all
22566 parameters. Weaken return statement match.
22567 * gdb.base/store.c: Add longest and doublest - aka long long and
22568 long double functions. Put all parameters into local register
22569 variables. Use negative values.
22570
22571 2003-06-14 Andrew Cagney <cagney@redhat.com>
22572
22573 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22574 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22575 exit status.
22576 * gdb.base/fileio.exp: Disable target when nointerrupts and
22577 noinferiorio, instead of limiting it to remote. Use remote_exec
22578 instead of system.
22579
22580 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22581
22582 * gdb.base/float.exp: Add ia64 support.
22583
22584 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22585
22586 * gdb.base/fileio.exp: Run only on remote targets.
22587
22588 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22589
22590 * gdb.base/fileio.c: New file, testing File-I/O.
22591 * gdb.base/fileio.exp: Ditto.
22592
22593 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22594
22595 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22596 shared objects after relocation at load time (gdb PR/1132).
22597 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22598 as above, part of the shared object relocation test.
22599
22600 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22601
22602 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22603 fully filled history list.
22604 * gdb.base/gdb_history: New file.
22605
22606 * gdb.base/signals.exp: XFAIL "continue to func1" on
22607 i*86-*-freebsd*.
22608
22609 * gdb.base/attach.exp: When trying to attach to a nonexistent
22610 process, make it possible to specify the PID based on the target,
22611 and do so for *-*-freebsd*.
22612
22613 2003-06-02 Richard Henderson <rth@redhat.com>
22614
22615 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22616
22617 2003-06-02 Richard Henderson <rth@redhat.com>
22618
22619 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22620
22621 2003-06-02 Richard Henderson <rth@redhat.com>
22622
22623 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22624
22625 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22626
22627 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22628 of globalvar.
22629
22630 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22631
22632 * gdb.asm/asm-source.exp: Check for memory read errors in
22633 disassembler test on *BSD too.
22634
22635 2003-06-01 Richard Henderson <rth@redhat.com>
22636
22637 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22638 for .frame.
22639 (gdbasm_call): Lose ldgp.
22640 (gdbasm_startup): Add frame information.
22641 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22642
22643 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22644
22645 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22646 i?86-*-*.
22647
22648 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22649
22650 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22651 FreeBSD.
22652
22653 2003-05-29 Richard Henderson <rth@redhat.com>
22654
22655 * gdb.asm/alpha.inc: New file.
22656 * gdb.asm/asm-source.exp: Use it.
22657
22658 2003-05-29 Jim Blandy <jimb@redhat.com>
22659
22660 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22661 'core.PID'.
22662
22663 2003-05-22 Jim Blandy <jimb@redhat.com>
22664
22665 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22666 backtrace.
22667
22668 2003-05-20 David Carlton <carlton@math.stanford.edu>
22669
22670 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22671 this time.
22672
22673 2003-05-19 David Carlton <carlton@bactrian.org>
22674
22675 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22676 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22677
22678 2003-05-19 David Carlton <carlton@bactrian.org>
22679
22680 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22681 namespace tests.
22682 Bump copyright date.
22683 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22684 (main): Call C::D::marker2.
22685 * gdb.c++/namespace1.cc: New file.
22686
22687 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22688
22689 Roland McGrath <roland@redhat.com>
22690 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22691 there is no manager thread.
22692
22693 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22694
22695 * gdb.threads/schedlock.exp: Remove assumption that all threads
22696 will run in a particular small time slice. Also ensure we break
22697 in one of the child threads rather than the main thread.
22698
22699 2003-05-07 Jim Blandy <jimb@redhat.com>
22700
22701 Add support for assembly source testing on the s390x.
22702 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22703 architecture.
22704 * gdb.asm/s390x.inc: New file.
22705
22706 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22707 succession of 'if' statements.
22708
22709 2003-05-05 Andrew Cagney <cagney@redhat.com>
22710
22711 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22712
22713 2003-05-05 Andrew Cagney <cagney@redhat.com>
22714
22715 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22716 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22717
22718 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22719
22720 * gdb.base/charset.exp: Update based on new behavior of set/show
22721 charset commands.
22722
22723 2003-05-01 Andrew Cagney <cagney@redhat.com>
22724
22725 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22726 variable do not give memory errors.
22727
22728 2003-04-30 Adam Fedor <fedor@gnu.org>
22729
22730 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22731 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22732 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22733 gdb.objc/basicclass.m: : New files
22734
22735 * lib/gdb.exp (gdb_compile_objc): New procedure.
22736
22737 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22738
22739 * gdb.base/signals.exp: Make backtrace tests more specific.
22740
22741 2003-04-23 David Carlton <carlton@bactrian.org>
22742
22743 * gdb.c++/maint.exp (test_first_component): Add tests for
22744 'operator' in more locations.
22745
22746 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22747
22748 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22749
22750 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22751
22752 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22753 func marke' instead. Update test name.
22754
22755 2003-04-15 David Carlton <carlton@math.stanford.edu>
22756
22757 * gdb.c++/maint.exp: New file.
22758
22759 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22760
22761 * gdb.threads/schedlock.c: Change type of thread function argument
22762 to long, to avoid warnings on 64-bit platforms.
22763
22764 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22765
22766 * gdb.base/attach.exp: Add new message from ptrace in case of
22767 attaching to nonexistent process.
22768
22769 2003-04-11 Jim Blandy <jimb@redhat.com>
22770
22771 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22772 gdb.c++/userdef.cc: Place comments on the lines to which the
22773 marker function might return.
22774 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22775 gdb.c++/userdef.exp: Look for those comments to check that we've
22776 returned to the right place, instead of checking line numbers.
22777
22778 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
22779
22780 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22781 match on sourcefile name, instead of directory name.
22782
22783 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
22784
22785 * gdb.base/completion.exp: Use string_to_regexp to match the
22786 working directory name.
22787
22788 2003-04-09 Jim Blandy <jimb@redhat.com>
22789
22790 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22791 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22792 after an inferior function call, report the failure, but allow the
22793 test to continue.
22794
22795 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22796
22797 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22798 with -DPROTOTYPES.
22799
22800 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22801
22802 * gdb.base/break.exp: Revert last patch.
22803
22804 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22805
22806 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22807 with -DPROTOTYPES.
22808
22809 2003-04-02 Andrew Cagney <cagney@redhat.com>
22810
22811 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22812 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22813 matching directories by the name breakpoint.
22814 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22815 Make "continue to marker1" consistent.
22816 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22817 message consistent.
22818 * lib/gdb.exp: Put "the program is no longer running", and "the
22819 program exited" in parenthesis.
22820 * lib/mi-support.exp: Ditto.
22821
22822 2003-04-02 Bob Rossi <bob_rossi@cox.net>
22823
22824 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22825
22826 2003-03-29 Andrew Cagney <cagney@redhat.com>
22827
22828 * gdb.base/sizeof.c (main): Print the value of '\377'.
22829 * gdb.base/sizeof.exp: Check the sign of '\377'.
22830
22831 2003-03-27 Michael Chastain <mec@shout.net>
22832
22833 * gdb.base/gdb1090.exp: New file.
22834 * gdb.base/gdb1090.cc: New file.
22835
22836 2003-03-27 J. Brobecker <brobecker@gnat.com>
22837
22838 * gdb.gdb/observer.exp: New regression test.
22839
22840 2003-03-27 Michael Chastain <mec@shout.net>
22841
22842 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22843 * gdb.base/ptype.exp: Likewise.
22844
22845 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
22846
22847 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22848
22849 2003-03-26 Michael Chastain <mec@shout.net>
22850
22851 * gdb.base/ptype.exp: Actually use some typedef'd types.
22852
22853 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22854
22855 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22856 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22857
22858 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22859
22860 * gdb.base/default.exp: Fix regular expression.
22861
22862 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22863
22864 * gdb.base/args.exp: Fix regular expression.
22865
22866 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22867
22868 * gdb.base/help.exp: Allow Win32 child process.
22869
22870 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22871
22872 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22873 when stepping out of main().
22874
22875 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22876
22877 * gdb.base/default.exp: Check for win32 specific message when calling
22878 "run" without executable.
22879
22880 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22881
22882 * gdb.base/args.exp: Expect .exe in output.
22883
22884 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22885
22886 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22887 Cygwin native.
22888
22889 2003-03-17 Andrew Cagney <cagney@redhat.com>
22890
22891 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22892 vector registes.
22893 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22894 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22895
22896 2003-03-17 David Carlton <carlton@math.stanford.edu>
22897
22898 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22899 test, for PR breakpoints/38.
22900 Call test_watchpoint_and_breakpoint.
22901 * gdb.base/watchpoint.c (func3): New function.
22902 (main): Call func3.
22903
22904 2003-03-04 David Carlton <carlton@math.stanford.edu>
22905
22906 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22907 Garply<Garply<char> >:: garply".
22908 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22909 with respect to PR c++/1111; note also PR c++/1113.
22910 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22911 respect to PR c++/1062.
22912 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22913
22914 2003-03-03 David Carlton <carlton@math.stanford.edu>
22915
22916 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22917 with respect to PR c++/57.
22918 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22919 c++/826.
22920 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22921 respect to PR c++/57.
22922
22923 2003-03-03 David Carlton <carlton@math.stanford.edu>
22924
22925 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22926 respect to PR c++/33 into FAILs.
22927
22928 2003-03-03 Michael Chastain <mec@shout.net>
22929
22930 * configure.in: Update copyright years.
22931
22932 2003-03-03 Michael Chastain <mec@shout.net>
22933
22934 * Makefile.in: Update copyright years.
22935
22936 2003-02-28 David Carlton <carlton@math.stanford.edu>
22937
22938 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22939 print class instead of struct and/or superfluous protection
22940 specifiers, as long as the resulting output is equivalent to the
22941 source code.
22942 Delete FIXME from end of messages on tests that don't need
22943 fixing.
22944
22945 2003-02-28 David Carlton <carlton@math.stanford.edu>
22946
22947 * gdb.c++/templates.exp (do_tests): Allow const in the two
22948 Foo<volatile char *>::foo tests.
22949
22950 2003-02-27 Michael Snyder <msnyder@redhat.com>
22951
22952 * gdb.base/restore.c (main): Return zero, so exit code
22953 will be consistant.
22954
22955 2003-02-26 David Carlton <carlton@math.stanford.edu>
22956
22957 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22958 char *>::foo" test with respect to PR c++/33. Create a new test
22959 which is identical to that one except that it doesn't put the
22960 space between the "char" and the "*"; KFAIL it, too.
22961
22962 2003-02-26 David Carlton <carlton@math.stanford.edu>
22963
22964 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22965 template types into either PASSes or KFAILs (corresponding to PR
22966 c++/57). Tweak indentation. Update copyright.
22967
22968 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22969
22970 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22971
22972 2003-02-13 Michael Chastain <mec@shout.net>
22973
22974 * gdb.base/exprs.exp: Remove i960 remnants.
22975 * gdb.base/funcargs.exp: Likewise.
22976 * gdb.base/list.exp: Likewise.
22977 * gdb.base/ptype.exp: Likewise.
22978
22979 2003-02-14 David Carlton <carlton@math.stanford.edu>
22980
22981 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22982 pEe->D::vg()" from XFAIL to KFAIL.
22983
22984 2003-02-13 Jason Molenda (jmolenda@apple.com)
22985
22986 * gdb.base/maint.exp: Update maint print statistics regexp to include
22987 new entries.
22988
22989 2003-02-13 Michael Chastain <mec@shout.net>
22990
22991 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22992
22993 2003-02-12 Michael Chastain <mec@shout.net>
22994
22995 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22996 * gdb.c++/inherit.exp: Likewise.
22997 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22998 * gdb.c++/templates.exp: Likewise.
22999 * gdb.c++/virtfunc.exp: Likewise.
23000
23001 2003-02-06 Jason Molenda (jason-cl@molenda.com)
23002
23003 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
23004 why the code is written that way.
23005
23006 2003-02-05 Michael Chastain <mec@shout.net>
23007
23008 * gdb.base/dump.exp: Add missing copyright line.
23009
23010 2003-02-05 Jason Molenda (jason-cl@molenda.com)
23011
23012 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
23013 at the beginning so the breakpoint doesn't get set on the loop.
23014
23015 2003-02-05 Michael Chastain <mec@shout.net>
23016
23017 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
23018 output for configurations with gcc 2.95.3.
23019
23020 2003-02-05 Keith Seitz <keiths@redhat.com>
23021 Andrew Cagney <ac131313@redhat.com>
23022
23023 * gdb.mi/mi-cli.exp: New file.
23024
23025 2003-02-04 Michael Chastain <mec@shout.net>
23026
23027 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
23028 Call perror and then continue.
23029
23030 2003-02-03 Michael Chastain <mec@shout.net>
23031
23032 * gdb.c++/pr-1023.cc: New file.
23033 * gdb.c++/pr-1023.exp: New file.
23034
23035 2003-02-05 Jim Blandy <jimb@redhat.com>
23036
23037 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23038 it's local to foobar. Check for it there, and check that it's not
23039 present in main.
23040 * gdb.c++/local.cc (marker2): New function.
23041 (foobar): Call marker1.
23042 (main): Call marker2 instead of marker1.
23043
23044 2003-02-04 Andrew Cagney <ac131313@redhat.com>
23045
23046 * gdb.disasm/mn10200.exp: Obsolete file.
23047 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23048 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23049 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23050
23051 2003-02-04 David Carlton <carlton@math.stanford.edu>
23052
23053 * gdb.c++/overload.exp: Test intToChar(1).
23054 * gdb.c++/overload.cc (intToChar): New.
23055 (main): Call intToChar.
23056
23057 2003-02-03 David Carlton <carlton@math.stanford.edu>
23058
23059 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23060 'might_kfail' arg.
23061 KFAIL some of the continue_to_bp_overloaded calls, according to
23062 PR c++/1025.
23063
23064 2003-02-01 Michael Chastain <mec@shout.net>
23065
23066 * gdb.base/advance.c (marker1): New marker function.
23067 * gdb.base/advance.exp: When the 'advance' command lands on the
23068 return breakpoint, it can legitimately stop on either the
23069 current line or the next line. Accommodate both outcomes.
23070 * gdb.base/until.exp: Likewise.
23071
23072 2003-02-02 Andrew Cagney <ac131313@redhat.com>
23073
23074 2002-11-10 Jason Molenda (jason-cl@molenda.com):
23075 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23076 now a list, not a tuple.
23077 * gdb.mi/mi-var-display.exp: Ditto.
23078 * gdb.mi/gdb792.exp: Ditto.
23079
23080 2003-02-01 Andrew Cagney <ac131313@redhat.com>
23081
23082 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
23083 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23084 stack backtraces.
23085 * gdb.mi/mi-syn-frame.c: Part of same.
23086
23087 2003-02-01 Mark Kettenis <kettenis@gnu.org>
23088
23089 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23090 gdb.mi/mi1-pthreads.exp: Return instead of calling
23091 gdb_suppress_entire_file.
23092
23093 2003-02-01 Mark Salter <msalter@redhat.com>
23094
23095 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23096
23097 2003-01-31 Mark Salter <msalter@redhat.com>
23098
23099 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23100 Support empty arg.
23101
23102 2003-01-30 Michael Chastain <mec@shout.net>
23103
23104 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23105 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23106 has been fixed in gdb/readline on 2003-01-09.
23107
23108 2003-01-29 Michael Snyder <msnyder@redhat.com>
23109
23110 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23111 * gdb.base/display.exp: Allow for leading underscore in symbol.
23112 * gdb.base/args.exp: Skip if target does not support args passing.
23113
23114 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
23115
23116 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
23117 gdb_test. Accept a list of expect arguments as the third
23118 parameter.
23119 (gdb_test): Use it.
23120
23121 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
23122
23123 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23124 allow for different test tree configurations. Update some
23125 tescases accordingly.
23126 * gdb.arch/altivec-regs.exp: Ditto.
23127 * gdb.asm/asm-source.exp: Ditto.
23128 * gdb.base/advance.exp: Ditto.
23129 * gdb.base/display.exp: Ditto.
23130 * gdb.base/long_long.exp: Ditto.
23131 * gdb.base/mips_pro.exp: Ditto.
23132 * gdb.base/overlays.exp: Ditto.
23133 * gdb.base/relocate.exp: Ditto.
23134 * gdb.base/setshow.exp: Ditto.
23135 * gdb.base/step-line.exp: Ditto.
23136 * gdb.base/step-test.exp: Ditto.
23137 * gdb.base/until.exp: Ditto.
23138 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23139
23140 2003-01-17 David Carlton <carlton@math.stanford.edu>
23141
23142 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23143 corresponding to PR c++/945.
23144 Update copyright.
23145
23146 2003-01-17 David Carlton <carlton@math.stanford.edu>
23147
23148 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23149 corresponding to PR c++/68.
23150
23151 2003-01-17 David Carlton <carlton@math.stanford.edu>
23152
23153 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23154 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23155 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23156
23157 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23158
23159 * gdb.base/break.exp: Fix change of default location, because of
23160 removal of until tests.
23161 * gdb.base/help.exp: Update test for new 'until' help message.
23162 Add test for help on 'advance'.
23163 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
23164
23165 2003-01-15 Mark Kettenis <kettenis@gnu.org>
23166
23167 * gdb.base/default.exp: Adapt "info float" test for recent changes
23168 to that command. Add test for "info vector".
23169 * gdb.base/float.exp: New file. Add test for "info float" that
23170 resembles the old test in gdb.base/default.exp.
23171
23172 2003-01-15 David Carlton <carlton@math.stanford.edu>
23173
23174 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23175
23176 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23177
23178 * gdb.base/break.exp: Move the tests of until command from here...
23179 * gdb.base/until.exp: ... to here. New file. Add other tests.
23180 * gdb.base/advance.c: New file.
23181 * gdb.base/advance.exp: New file.
23182
23183 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
23184
23185 * gdb.base/args.c: New file.
23186 * gdb.base/args.exp: New file.
23187
23188 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23189
23190 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23191
23192 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23193
23194 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23195
23196 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23197
23198 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23199 dates.
23200
23201 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23202
23203 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23204
23205 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23206
23207 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23208 (ptype &*"foo").
23209 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23210
23211 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23212
23213 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23214 * gdb.mi/mi1-console.exp: Likewise.
23215
23216 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23217
23218 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23219 * gdb.mi/mi1-console.exp: Likewise.
23220
23221 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23222
23223 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23224
23225 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23226
23227 * gdb.base/detach.exp: New test.
23228
23229 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23230
23231 * Makefile.in (ALL_SUBDIRS): New variable.
23232 (subdirs, clean, distclean): Use it.
23233 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23234 regenerating Makefile, since it is generated from the top level.
23235 * gdb.asm/Makefile.in: Likewise.
23236 * gdb.base/Makefile.in: Likewise.
23237 * gdb.c++/Makefile.in: Likewise.
23238 * gdb.disasm/Makefile.in: Likewise.
23239 * gdb.java/Makefile.in: Likewise.
23240 * gdb.mi/Makefile.in: Likewise.
23241 * gdb.threads/Makefile.in: Likewise.
23242 * gdb.trace/Makefile.in: Likewise.
23243
23244 2003-01-09 David Carlton <carlton@math.stanford.edu>
23245
23246 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23247 Add copyright year 2003.
23248
23249 2003-01-06 Michael Chastain <mec@shout.net>
23250
23251 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23252 When selecting a thread, 'line' and 'file' are optional.
23253 * gdb.mi/mi1-pthreads.exp: Likewise.
23254
23255 2003-01-06 Andreas Schwab <schwab@suse.de>
23256
23257 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23258 failures.
23259
23260 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23261
23262 Fix PR gdb/844
23263 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23264 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23265
23266 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23267 instead of calling gdb_suppress_entire_file.
23268 * gdb.threads/print-threads.exp: Likewise.
23269 * gdb.threads/schedlock.exp: Likewise.
23270
23271 * gdb.threads/killed.exp: Return instead of calling
23272 gdb_suppress_entire_file.
23273 * gdb.threads/linux-dp.exp: Likewise.
23274 * gdb.threads/pthreads.exp: Likewise.
23275
23276 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23277
23278 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23279 stabs.
23280 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23281 * gdb.base/whatis.exp: Always allow (void) after function names.
23282
23283 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23284
23285 * gdb.c++/casts.exp: Correct regexp.
23286
23287 2003-01-04 Mark Kettenis <kettenis@gnu.org>
23288
23289 * configure.in: Call AC_CONFIG_HEADER. Don't call
23290 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23291 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23292 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23293 aforementioned directories in the AC_OUPUT call.
23294 * config.hin: New file.
23295 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23296 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23297 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23298 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23299 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23300 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23301 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23302 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23303 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23304 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23305 gdb.threads/configure.in, gdb.threads/configure,
23306 gdb.threads/config.in, gdb.trace/configure.in,
23307 gdb.trace/configure: Removed.
23308
23309 2003-01-03 Michael Chastain <mec@shout.net>
23310
23311 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23312 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23313
23314 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
23315
23316 * gdb.base/store.exp: Fix regular expressions.
23317
23318 2002-12-28 Mark Kettenis <kettenis@gnu.org>
23319
23320 * configure.in: Rewrite.
23321 * configure: Regenerated.
23322
23323 2003-01-03 David Carlton <carlton@math.stanford.edu>
23324
23325 * gdb.base/psymtab.exp: New file.
23326 * gdb.base/psymtab1.c: Ditto.
23327 * gdb.base/psymtab2.c: Ditto.
23328
23329 2002-12-23 Adam Fedor <fedor@gnu.org>
23330
23331 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23332
23333 2002-12-23 David Carlton <carlton@math.stanford.edu>
23334
23335 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23336 and current_directory initialization.
23337
23338 2002-12-22 Jim Blandy <jimb@redhat.com>
23339
23340 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23341 rather than as part of the output file name.
23342
23343 * gdb.base/attach.exp: There's no need to copy the test program to
23344 /tmp; that was only ever necessary on HP/UX, and this test is
23345 entirely disabled there anyway.
23346
23347 2002-12-21 Jim Blandy <jimb@redhat.com>
23348
23349 * gdb.c++/psmang.exp: Doc fix.
23350
23351 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23352 test.
23353
23354 2002-12-20 David Carlton <carlton@math.stanford.edu>
23355
23356 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23357
23358 2002-12-18 Michael Chastain <mec@shout.net>
23359
23360 * gdb.c++/annota2.exp: Add copyright year 2002.
23361
23362 2002-12-17 David Carlton <carlton@math.stanford.edu>
23363
23364 * gdb.c++/try_catch.cc: Add marker comments.
23365 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23366 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23367 * gdb.c++/m-static.cc: Ditto.
23368 * gdb.c++/m-static1.cc: Ditto.
23369 * gdb.c++/try_catch.cc: Ditto.
23370
23371 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23372
23373 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23374 to see whether we are using the new -environment-directory
23375 command which resets via -r or the old version of the command
23376 which may prompt the user. Part of fix for gdb/741.
23377
23378 2002-12-13 Andrew Cagney <ac131313@redhat.com>
23379
23380 * gdb.fortran/types.exp: Update obsolete comment.
23381 * gdb.fortran/exprs.exp: Ditto.
23382 * lib/gdb.exp: Delete obsolete code.
23383 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23384 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23385 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23386 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23387 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23388 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23389 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23390 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23391 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23392 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23393 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23394 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23395 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23396 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23397 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23398 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23399 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23400 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23401 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23402 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23403 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23404 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23405 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23406 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23407 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23408 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23409 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23410 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23411 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23412 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23413 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23414 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23415 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23416 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23417 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23418 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23419 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23420
23421 2002-12-11 David Carlton <carlton@math.stanford.edu>
23422
23423 * gdb.c++/m-data.exp: Add test for members that shadow global
23424 variables: see PR gdb/804.
23425 * gdb.c++/m-data.cc: Ditto.
23426
23427 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
23428
23429 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23430
23431 2002-12-06 David Carlton <carlton@math.stanford.edu>
23432
23433 * gdb.base/store.c: Don't declare functions static.
23434
23435 2002-12-04 Andrew Cagney <ac131313@redhat.com>
23436
23437 * gdb.base/store.exp, gdb.base/store.c: New files.
23438
23439 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23440
23441 * gdb.base/selftest.exp: Update for current gdb.
23442
23443 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23444
23445 * gdb.base/maint.exp: Only dump symbols from one source file
23446 or objfile.
23447
23448 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23449
23450 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23451 function call.
23452
23453 2002-11-25 Jim Blandy <jimb@redhat.com>
23454
23455 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23456 function appearing in error message.
23457
23458 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
23459
23460 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23461
23462 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23463
23464 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23465 for mi1 and current mi is in correct format. New mi startup message
23466 should be in mi console format. This is part of fix for PR gdb/604.
23467
23468 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23469
23470 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23471 which explicitly prints the zero offset as "+0".
23472
23473 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
23474
23475 * gdb.threads/schedlock.c (args): Make unsigned.
23476
23477 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
23478
23479 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23480 numbers. Allow "foo2|selected stack frame".
23481 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23482 * gdb.asm/asmsrc2.s: Likewise.
23483 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23484 comments.
23485 * gdb.asm/mips.inc: New file.
23486
23487 2002-10-18 Adam Fedor <fedor@gnu.org>
23488
23489 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23490 * gdb.base/help.exp: Likewise.
23491
23492 2002-10-17 Kevin Buettner <kevinb@redhat.com>
23493
23494 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23495 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23496
23497 2002-10-02 Jim Blandy <jimb@redhat.com>
23498
23499 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23500
23501 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23502
23503 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23504 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23505 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23506 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23507 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23508 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23509 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23510
23511 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23512
23513 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23514 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23515 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23516 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23517 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23518 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23519 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23520
23521 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23522
23523 * gdb.base/annota1.exp (info break): Make directory components of
23524 path optional since not all compilers emit this debug information.
23525
23526 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23527 step ends up stepping out of the function instead of stopping on
23528 the epilogue.
23529
23530 2002-09-26 Keith Seitz <keiths@redhat.com>
23531
23532 * lib/insight-support.exp (gdbtk_start): Figure out where
23533 the insight executable is based on where gdb is. Use this
23534 executable to start insight instead of gdb.
23535
23536 2002-09-25 Andrew Cagney <cagney@redhat.com>
23537
23538 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23539
23540 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23541
23542 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23543 test_isolated_complaints.
23544 (test_empty_complaint): New function.
23545 (test_empty_complaints): New function. Check no output when no
23546 complaints.
23547
23548 2002-09-19 Jim Blandy <jimb@redhat.com>
23549
23550 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23551
23552 2002-09-19 Andrew Cagney <ac131313@redhat.com>
23553
23554 * gdb.gdb/complaints.exp: New file.
23555
23556 2002-09-18 Andrew Cagney <ac131313@redhat.com>
23557
23558 * gdb.base/maint.exp: Check `help maint internal-warning'.
23559
23560 2002-09-18 David Carlton <carlton@math.stanford.edu>
23561
23562 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23563 numbers, and replace them by a single breakpoint after the
23564 constructors are all finished.
23565 Add test 4.
23566 * gdb.c++/m-static.cc: Add test 4.
23567 * gdb.c++/m-static.h: New file.
23568 * gdb.c++/m-static1.cc: New file.
23569
23570 * gdb.c++/printmethod.exp: New file.
23571 * gdb.c++/printmethod.cc: New file.
23572
23573 * gdb.c++/pr-574.exp: New file.
23574 * gdb.c++/pr-574.cc: New file.
23575
23576 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23577
23578 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23579 embedded targets which never actually exit.
23580
23581 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23582
23583 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23584 "don't step after run" as unresolved or unsupported, instead of xfail.
23585
23586 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23587
23588 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23589 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23590 Add newline to expected string in "step out of main (status wrapper)"
23591 case.
23592
23593 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23594
23595 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23596 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23597
23598 2002-09-17 Tom Tromey <tromey@redhat.com>
23599
23600 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23601 \000, not \0, in double-quoted string.
23602
23603 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23604
23605 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23606 string after running the commands execution on breakpoint tests.
23607
23608 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23609
23610 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23611
23612 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23613
23614 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23615
23616 2002-09-10 Keith Seitz <keiths@redhat.com>
23617
23618 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23619 runto proc.
23620 (mi_run_to_main): Use mi_runto.
23621 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23622
23623 2002-09-10 Keith Seitz <keiths@redhat.com>
23624
23625 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23626 regexp for stopping at main. Could have multiple event notifications.
23627 Don't assume that main was declared with no parameters.
23628 (mi_next): Use mi_step_to.
23629 (mi_step): Use mi_next_to.
23630
23631 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23632
23633 * gdb.base/default.exp: Fix expected string in `info float' test.
23634
23635 2002-09-09 Ben Elliston <bje@redhat.com>
23636
23637 * config/mips.exp: Update comments.
23638 * config/mips-idt.exp: Likewise.
23639 * config/nind.exp: Likewise.
23640 * config/slite.exp: Likewise.
23641 * config/sparclet.exp: Likewise.
23642 * config/udi.exp: Likewise.
23643 * config/vx.exp: Likewise.
23644 * config/vxworks29k.exp: Likewise.
23645
23646 2002-09-05 Jim Blandy <jimb@redhat.com>
23647
23648 * gdb.threads/killed.exp: Fix test failure message.
23649
23650 2002-09-04 Keith Seitz <keiths@redhat.com>
23651
23652 * lib/mi-support.exp: Update copyright.
23653 (mi_gdb_test): Increase the priority of the expected pattern
23654 so that it matches gdb_test.
23655
23656 2002-09-03 Keith Seitz <keiths@redhat.com>
23657
23658 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23659 Use integer comparison instead of string comparison for testing
23660 whether binary was built.
23661
23662 2002-09-03 Jim Blandy <jimb@redhat.com>
23663
23664 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23665
23666 2002-08-29 Jim Blandy <jimb@redhat.com>
23667
23668 * gdb.threads/pthreads.exp: Move the portable thread compilation
23669 code into a function in lib/gdb.exp, and call that from here.
23670 * lib/gdb.exp (gdb_compile_pthreads): New function.
23671
23672 2002-08-29 Keith Seitz <keiths@redhat.com>
23673
23674 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23675 expect_out so that callers can get at it.
23676
23677 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23678
23679 * gdb.threads/print-threads.c: New file.
23680 * gdb.threads/print-threads.exp: New file.
23681 * gdb.threads/schedlock.c: New file.
23682 * gdb.threads/schedlock.exp: New file.
23683
23684 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23685
23686 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23687 not altivec.c.
23688
23689 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23690
23691 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23692 targets. The problem should be fixed now.
23693
23694 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23695
23696 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23697 2002-07-24 change that removes final dots from error messages.
23698
23699 2002-08-13 Tom Tromey <tromey@redhat.com>
23700
23701 * gdb.base/readline.exp: New file.
23702
23703 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23704
23705 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23706 supress message.
23707
23708 2002-08-01 Andrew Cagney <cagney@redhat.com>
23709
23710 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23711 CHILL_FOR_TARGET and CHILL_LIB.
23712 * configure.in (configdirs): Remove gdb.chill.
23713 * configure: Regenerate.
23714 * lib/gdb.exp: Obsolete references to chill.
23715 * gdb.fortran/types.exp: Ditto.
23716 * gdb.fortran/exprs.exp: Ditto.
23717
23718 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23719
23720 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23721 set Irix-specific compile and link flags.
23722
23723 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23724
23725 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23726 source files. The ``-o'' option doesn't work with the ``-E'' option
23727 when using the Irix compiler.
23728
23729 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23730
23731 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23732 Improve support for reusing an exec file. Copy exec file
23733 to target, and run gdbserver on the target instead of on the host.
23734
23735 2002-07-18 Jim Blandy <jimb@redhat.com>
23736
23737 * gdb.base/ending-run.exp: Don't expect to see the program end in
23738 some orderly fashion when we're running on a real stand-alone
23739 board.
23740
23741 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23742 targets that don't support interrupts.
23743
23744 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23745
23746 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23747 systems.
23748 Move comments in expect statements to inside the actions, so that they
23749 don't get matched against.
23750
23751 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23752
23753 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23754 function when asleep" test.
23755
23756 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23757
23758 * gdb.base/page.exp: Rewrite to handle problems with very long
23759 `info set' output. Update copyright.
23760
23761 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23762
23763 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23764 gdb.threads-hp.
23765 * gdb.hp/configure: Regenerate.
23766 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23767 * gdb.hp/gdb.threads-hp/configure: Delete file.
23768 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23769
23770 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23771
23772 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23773 setlocale, bindtextdomain and textdomain.
23774
23775 2002-06-11 Jim Blandy <jimb@redhat.com>
23776
23777 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23778 preprocessor macro information is present.
23779
23780 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23781 tests.
23782
23783 2002-06-06 Michael Snyder <msnyder@redhat.com>
23784
23785 * gdb.base/overlays.exp: Record addresses of overlay
23786 functions in TCL variables rather than in GDB variables,
23787 to avoid having GDB convert them to pointers (with loss
23788 of information).
23789
23790 * gdb.base/d10v.ld: Merge in several years worth of
23791 default linker script changes.
23792 * gdb.base/long_long.exp: Add check for sizeof (long double).
23793
23794 2002-06-06 Michal Ludvig <mludvig@suse.cz>
23795
23796 * gdb.asm/asm-source.exp: Add x86-64 target.
23797 * gdb.asm/x86_64.inc: New.
23798
23799 2002-05-30 Michael Chastain <mec@shout.net>
23800
23801 From Benjamin Kosnik <bkoz@redhat.com>:
23802 * gdb.c++/m-static.cc: New file.
23803 * gdb.c++/m-static.exp: New file.
23804
23805 2002-05-28 Michael Snyder <msnyder@redhat.com>
23806
23807 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23808 precision.
23809
23810 2002-05-27 Michael Chastain <mec@shout.net>
23811
23812 From Benjamin Kosnik <bkoz@redhat.com>:
23813 * gdb.c++/m-data.cc: New file.
23814 * gdb.c++/m-data.exp: New file.
23815
23816 2002-05-27 Michael Chastain <mec@shout.net>
23817
23818 From Benjamin Kosnik <bkoz@redhat.com>:
23819 * gdb.c++/try_catch.cc: New file.
23820 * gdb.c++/try_catch.exp: New file.
23821
23822 2002-05-27 Michael Chastain <mec@shout.net>
23823
23824 * gdb.c++/local.exp: Accept more nested types in output.
23825
23826 2002-05-26 Michael Chastain <mec@shout.net>
23827
23828 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23829
23830 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23831
23832 * lib/gdb.exp (gdb_wrapper_init): Just because
23833 gdb_wrapper_file exists, this does not mean that the file
23834 should not be rebuilt. That is what gdb_wrapper_initialized
23835 is for.
23836 (default_gdb_init): Reset gdb_wrapper_initialized.
23837
23838 2002-05-23 Michael Snyder <msnyder@redhat.com>
23839
23840 * gdb.base/all-bin.exp: Revise previous patch by just reducing
23841 the precision of the floating point test results.
23842 * gdb.base/call-rt-st.exp: Ditto.
23843
23844 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23845 * gdb.base/call-rt-st.exp: Ditto.
23846
23847 2002-05-19 Michael Chastain <mec@shout.net>
23848
23849 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23850
23851 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
23852
23853 * configure.in (configdirs): Add gdb.arch.
23854 * configure: Regenerate.
23855
23856 2002-05-17 Jim Blandy <jimb@redhat.com>
23857
23858 * gdb.base/completion.exp: Recognize the more detailed error
23859 messages produced by the macro expander's lexical analyzer.
23860
23861 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23862
23863 * gdb.arch/altivec-abi.c: New file.
23864 * gdb.arch/altivec-abi.exp: New file.
23865 * gdb.arch/altivec-regs.c: New file.
23866 * gdb.arch/altivec-regs.exp: New file.
23867
23868 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
23869
23870 * gdb.base/maint.exp (maint print type): Update for new type
23871 structure.
23872
23873 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23874
23875 * gdb.arch: New directory.
23876 * gdb.arch/configure.in: New file.
23877 * gdb.arch/configure: New file.
23878 * gdb.arch/Makefile.in: New file.
23879
23880 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
23881
23882 * gdb.asm/asm-source.exp: Add v850 as supported target.
23883 * gdb.asm/v850.inc: New file.
23884
23885 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
23886
23887 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23888
23889 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
23890
23891 * gdb.base/break.exp: Check 'break "marker2"'.
23892
23893 2002-05-10 Michael Snyder <msnyder@redhat.com>
23894
23895 * gdb.base/long_long.exp: Fix typo.
23896
23897 2002-05-10 Jim Blandy <jimb@redhat.com>
23898
23899 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23900 a bug.
23901
23902 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23903 Recognize more detailed error message produced by the macro
23904 expander's lexical analyzer.
23905 * lib/gdb.exp (test_print_reject): Same.
23906
23907 2002-05-09 Mark Kettenis <kettenis@gnu.org>
23908
23909 * gdb.c++/method.exp: Fix typo.
23910
23911 2002-05-08 Michael Snyder <msnyder@redhat.com>
23912
23913 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23914 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23915 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23916 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23917 Add iftarget clause for strongarm.
23918
23919 2002-05-06 Michael Snyder <msnyder@redhat.com>
23920
23921 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23922 (gdb_continue_to_end): Accept output from status wrapper.
23923 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23924 Clean up fail messages to match pass messages.
23925
23926 Enable the "needs_status_wrapper" testsuite feature.
23927 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23928 (gdb_compile): Conditionally call gdb_wrapper_init.
23929 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23930 * gdb.c++/method.exp: Recognize output from status wrapper.
23931
23932 2002-05-06 Ben Elliston <bje@redhat.com>
23933 From Graydon Hoare <graydon@redhat.com>
23934
23935 * config/sid.exp: Include support for "rawsid" protocol.
23936
23937 2002-05-03 Jim Blandy <jimb@redhat.com>
23938
23939 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23940 * gdb.c++/hang3.C: New file.
23941
23942 2002-05-04 Andrew Cagney <ac131313@redhat.com>
23943
23944 * gdb.base/default.exp: Remove obsolete code.
23945 * gdb.c++/misc.exp: Ditto. Update copyright.
23946 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23947 * gdb.base/whatis.exp: Ditto. Update copyright.
23948 * gdb.base/scope.exp: Ditto. Update copyright.
23949 * gdb.base/ptype.exp: Ditto. Update copyright.
23950 * gdb.base/printcmds.exp: Ditto. Update copyright.
23951 * gdb.base/opaque.exp: Ditto. Update copyright.
23952 * gdb.base/list.exp: Ditto.
23953 * gdb.base/funcargs.exp: Ditto. Update copyright.
23954 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23955 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23956 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23957 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23958 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23959 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23960
23961 2002-05-02 Michael Snyder <msnyder@redhat.com>
23962
23963 * gdb.base/watchpoint.exp: Add xscale target.
23964 * gdb.base/long_long.exp: Add xscale target.
23965 * gdb.base/default.exp: Add xscale target.
23966
23967 2002-05-01 Jim Blandy <jimb@redhat.com>
23968
23969 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23970 gdb.c++/hang.exp: New test.
23971
23972 2002-05-01 Fred Fish <fnf@redhat.com>
23973
23974 * gdb.base/completion.exp: Handle completions of "./Make" for
23975 more than one completion possibility, as is the case when we
23976 build and test in the source tree.
23977
23978 2002-04-29 Anthony Green <green@redhat.com>
23979
23980 * gdb.java/jmisc1.exp: New file.
23981 * gdb.java/jmisc2.exp: New file.
23982
23983 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
23984
23985 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23986
23987 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
23988
23989 * gdb.base/help.exp: Change 'help status' to allow for target
23990 dependent output differences.
23991
23992 2002-04-22 Michael Chastain <mec@shout.net>
23993
23994 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23995
23996 2002-04-22 Michael Chastain <mec@shout.net>
23997
23998 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23999
24000 2002-04-17 David S. Miller <davem@redhat.com>
24001
24002 * gdb.asm/sparc64.inc: New file.
24003 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
24004
24005 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
24006
24007 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
24008 instruction file directly into the build tree. Clean up at end of
24009 test.
24010
24011 2002-04-18 David S. Miller <davem@redhat.com>
24012
24013 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
24014 handle 64-bit platforms correctly.
24015 * gdb.base/maint.exp: Likewise.
24016
24017 2002-04-18 Kevin Buettner <kevinb@redhat.com>
24018
24019 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
24020 ``-fpic'' when compiling files comprising a shared library, but
24021 it does need additional linker flags in order to find shared
24022 libraries at run time.
24023
24024 2002-04-18 Kevin Buettner <kevinb@redhat.com>
24025
24026 * gdb.base/cvexpr.c (use): New function.
24027 (main): Invoke use() on all global variables to prevent
24028 some linkers from deleting these otherwise unused symbols.
24029
24030 2002-04-17 Michael Chastain <mec@shout.net>
24031 From David S. Miller <davem@redhat.com>
24032
24033 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24034 handle 64-bit platforms correctly.
24035
24036 2002-04-12 Michael Snyder <msnyder@redhat.com>
24037 From Jim Blandy <jimb@redhat.com>
24038 * gdb.base/foo.c (foox): Remove section attribute; the linker
24039 script can handle this instead.
24040 * gdb.base/bar.c (barx): Same.
24041 * gdb.base/baz.c (bazx): Same.
24042 * gdb.base/grbx.c (grbxx): Same.
24043
24044 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24045 manager doesn't automatically unmap overlays unnecessarily.
24046
24047 2002-04-10 Martin M. Hunt <hunt@redhat.com>
24048
24049 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24050 stepping out of main.
24051
24052 2002-04-09 Michael Chastain <mec@shout.net>
24053
24054 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24055 scope so that the nested scope tests will make sense.
24056 * gdb.c++/local.exp: Write patterns that actually work with gcc
24057 (the HP patterns "were never known to work with gcc").
24058 Keep the old aCC patterns too.
24059
24060 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
24061
24062 * gdb.base/attach.exp: Correct target board test.
24063
24064 2002-04-08 Michael Chastain <mec@shout.net>
24065
24066 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24067 in a const method. Add some xfail and fail cases for configurations
24068 that do not emit the "const ...".
24069
24070 2002-04-07 Michael Chastain <mec@shout.net>
24071
24072 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24073 Accept "A * const" and "const A * const" as type of "this".
24074 Fix spelling of getFunky throughout. Make messages uniform.
24075
24076 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24077
24078 Work around for PR gdb/285:
24079 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24080
24081 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24082
24083 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24084 instructions file at run time instead of configure time.
24085 Sometimes we run the test in a directory that is not the one we
24086 configured in.
24087 * gdb.asm/configure.in: Delete creation of symlink.
24088 * gdb.asm/configure: Regenerate.
24089
24090 2002-04-05 J. Brobecker <brobecker@gnat.com>
24091
24092 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24093 xfullpath () function.
24094
24095 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24096
24097 * gdb.asm/Makefile.in: Correct dependencies.
24098
24099 * gdb.asm/powerpc.inc: New file.
24100 * gdb.asm/asm-source.exp: Add PowerPC.
24101 * gdb.asm/configure.in: Likewise.
24102 * gdb.asm/configure: Regenerated.
24103
24104 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24105
24106 * gdb.base/relocate.exp: New file.
24107 * gdb.base/relocate.c: New file.
24108
24109 2002-04-04 Fred Fish <fnf@redhat.com>
24110
24111 * gdb.base/step-test.exp: Update comment regarding stopping in
24112 memcpy/bcopy calls inserted as part of the compiler runtime.
24113
24114 2002-04-04 Michael Snyder <msnyder@redhat.com>
24115
24116 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24117
24118 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
24119
24120 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24121 (gdb_expect): Remove $notransfer hack.
24122
24123 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
24124
24125 * gdb.c++/classes.exp ("calling method for small class"): Match
24126 updated register output.
24127
24128 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24129
24130 Fix PR gdb/452
24131 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24132 when finished. Make gdb_file_cmd send "exec-file" when
24133 appropriate.
24134
24135 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24136
24137 * gdb.base/attach.exp: Remove extra setup_xfail.
24138
24139 2002-03-26 Michael Snyder <msnyder@redhat.com>
24140
24141 * gdb.base/default.exp: Add tests for dump, append, and restore.
24142 * gdb.base/help.exp: Add tests for dump, append, and restore.
24143 * gdb.base/dump.exp: New file, test dump, append and restore.
24144 * gdb.base/dump.c: New file.
24145
24146 2002-03-27 Michael Snyder <msnyder@redhat.com>
24147
24148 * gdb.base/help.exp: Modify expect strings to reflect
24149 clean-ups in help messages.
24150
24151 2002-03-26 Fred Fish <fnf@redhat.com>
24152
24153 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24154 have debugging info for those functions and the compiler uses them
24155 internally to copy structs around.
24156
24157 2002-03-26 Fred Fish <fnf@redhat.com>
24158
24159 * gdb.base/list.exp: Revert the change made yesterday and add note
24160 about why we don't list the default lines for remote targets.
24161
24162 2002-03-25 Michael Snyder <msnyder@redhat.com>
24163
24164 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24165
24166 2002-03-25 Fred Fish <fnf@redhat.com>
24167
24168 * gdb.base/list.exp: This test works on remote targets so remove
24169 the short circuit for remote targets. Update copyright.
24170
24171 2002-03-25 Fred Fish <fnf@redhat.com>
24172
24173 * gdb.base/attach.exp: Fix logic error that was suppressing this
24174 test for all non hppa*-*-hpux* targets, instead of the hp target.
24175 Move comments closer to the suppression point. Also now need to
24176 check that we are running natively.
24177
24178 2002-03-22 Michael Snyder <msnyder@redhat.com>
24179
24180 * gdb.base/default.exp: Add test for gcore. Update copyright.
24181 * gdb.base/help.exp: Add test for gcore. Update copyright.
24182
24183 2002-03-06 Fred Fish <fnf@redhat.com>
24184
24185 * gdb.base/funcargs.c: Remove extraneous ';' character.
24186 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24187
24188 2002-03-04 Michael Chastain <mec@shout.net>
24189
24190 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24191 accommodate gcc v3 function signature.
24192 * gdb.mi/mi0-var-cmd-exp: Ditto.
24193
24194 2002-02-24 Andrew Cagney <ac131313@redhat.com>
24195
24196 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24197 ``GNU/Linux'' or ``Linux kernel''
24198 * testsuite/gdb.threads/pthreads.c: Ditto.
24199
24200 2002-02-24 Michael Chastain <mec@shout.net>
24201
24202 * gdb.threads/pthreads.c (thread1): Add a return statement.
24203 (thread2): Likewise.
24204 (foo): Likewise.
24205
24206 2002-02-23 Michael Chastain <mec@shout.net>
24207
24208 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24209 to placate gcc.
24210
24211 2002-02-23 Michael Chastain <mec@shout.net>
24212
24213 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24214 test "ptype bint". The test passes on all my stabs configurations.
24215
24216 2002-02-21 Jim Blandy <jimb@redhat.com>
24217
24218 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24219 filename at a time, and watch for the ones we want to see.
24220
24221 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24222 types of pointers to prototyped functions.
24223
24224 2002-02-20 Andrew Cagney <ac131313@redhat.com>
24225
24226 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24227 signed, unsigned and straight char.
24228 (padding_char, padding_short, padding_int, padding_long,
24229 padding_long_long, padding_float, padding_double,
24230 padding_long_double): New global variables.
24231 (fill, fill_structs): New functions.
24232
24233 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24234 for correctly sized writes. Update copyright.
24235 (get_valueof): New procedure.
24236 (get_sizeof): Call get_valueof.
24237 (check_valueof): New procedure.
24238 (check_padding): New procedure.
24239
24240 2002-02-20 Michael Chastain <mec@shout.net>
24241
24242 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24243 to setup_xfail. Document some of the remaining calls.
24244
24245 2002-02-18 Michael Chastain <mec@shout.net>
24246
24247 * gdb.c++/userdef.exp: Update copyright year.
24248
24249 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
24250
24251 * gdb.c++/userdef.exp: Test overloaded operators properly.
24252 Remove xfails.
24253
24254 2002-02-14 Michael Snyder <msnyder@redhat.com>
24255
24256 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24257
24258 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
24259
24260 * gdb.base/a2-run.exp: Check for a remote target properly.
24261 * gdb.base/annota1.exp: Likewise.
24262 * gdb.base/list.exp: Likewise.
24263 * gdb.base/reread.exp: Likewise.
24264 * gdb.base/scope.exp: Likewise.
24265 * gdb.base/shlib-call.exp: Likewise.
24266 * gdb.base/term.exp: Likewise.
24267 * gdb.c++/annota2.exp: Likewise.
24268
24269 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
24270
24271 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24272
24273 2002-02-10 Michael Chastain <mec@shout.net>
24274
24275 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24276 (call_after_alloca): Ditto.
24277
24278 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
24279
24280 * gdb.base/ending-run.exp: Guard "cont" test with
24281 gdb_skip_stdio_test.
24282
24283 2002-02-06 Jim Blandy <jimb@redhat.com>
24284
24285 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24286 from here...
24287 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24288 To here. Disable this test on non-HP platforms. Add big comment.
24289
24290 2002-02-04 Michael Snyder <msnyder@redhat.com>
24291
24292 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24293 other than d10v and m32r.
24294
24295 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
24296
24297 * gdb.base/default.exp: Rewrite test patterns to reduce time
24298 taken to match them.
24299
24300 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24301
24302 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24303 Allow a start function above main.
24304 * gdb.threads/linux-dp.exp: Fix copyright date.
24305
24306 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24307
24308 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24309 (check_philosopher_stack): Check for manager thread before checking
24310 for a just-starting thread.
24311
24312 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24313
24314 From Neil Booth <neil@daikokuya.demon.co.uk>:
24315 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24316 warnings.
24317
24318 2002-01-21 Fred Fish <fnf@redhat.com>
24319
24320 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24321 not caller.
24322
24323 2002-01-21 Jim Blandy <jimb@redhat.com>
24324
24325 * gdb.base/reread.exp: Check that GDB properly re-reads the
24326 executable file when it changes while no inferior is running.
24327
24328 2002-01-21 Fred Fish <fnf@redhat.com>
24329
24330 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24331 optionally accept the "shlib events" variation.
24332
24333 2002-01-21 Jim Blandy <jimb@redhat.com>
24334
24335 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24336 call `fflush' after every `printf', so that the output is produced
24337 at predictable points, regardless of whatever buffering does (or
24338 doesn't) take place.
24339 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24340 at different points.
24341
24342 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24343
24344 * gdb.c++/inherit.exp: Update copyright years.
24345 * gdb.c++/method.exp: Likewise.
24346
24347 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24348
24349 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24350 artificial methods/arguments.
24351 * gdb.c++/derivation.exp: Likewise.
24352 * gdb.c++/inherit.exp: Likewise.
24353 * gdb.c++/method.exp: Likewise.
24354 * gdb.c++/virtfunc.exp: Likewise.
24355
24356 2002-01-18 Andrew Cagney <ac131313@redhat.com>
24357
24358 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24359 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24360 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24361 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24362 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24363 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24364
24365 2002-01-17 Jim Blandy <jimb@redhat.com>
24366
24367 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24368 anchoring the pattern matching the entry point symbol's name.
24369
24370 2002-01-17 Andrew Cagney <ac131313@redhat.com>
24371
24372 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24373 continue/quit query. Update copyright.
24374
24375 2002-01-14 Michael Snyder <msnyder@redhat.com>
24376
24377 * gdb.base/gcore.exp: Remove extra debugging output.
24378
24379 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24380
24381 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24382 for slightly dubious v2 mangled string.
24383
24384 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24385
24386 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24387
24388 2002-01-10 Jason Merrill <jason@redhat.com>
24389
24390 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
24391
24392 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24393 constructors.
24394 * gdb.c++/derivation.exp: Likewise.
24395 * gdb.c++/templates.exp: Likewise.
24396 * gdb.c++/virtfunc.exp: Likewise.
24397
24398 2002-01-10 Michael Snyder <msnyder@redhat.com>
24399
24400 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
24401
24402 2002-01-08 Michael Snyder <msnyder@redhat.com>
24403
24404 * gdb.base/gcore.exp: New test for generate-core-file command.
24405 * gdb.base/gcore.c: Testcase for above.
24406 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24407
24408 2002-01-08 Jason Merrill <jason@redhat.com>
24409
24410 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24411
24412 2002-01-07 Fred Fish <fnf@redhat.com>
24413
24414 * gdb.c++/overload.exp: Remove unconditional xfails for:
24415 print foo_instance1.overloadargs(1)
24416 print foo_instance1.overloadargs(1, 2)
24417 print foo_instance1.overloadargs(1, 2, 3)
24418 print foo_instance1.overloadargs(1, 2, 3, 4)
24419 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24420 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24421 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24422 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24423 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24424 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24425 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24426 print foo_instance1.overload1arg()
24427 print foo_instance1.overload1arg((char)arg2)
24428 print foo_instance1.overload1arg((signed char)arg3)
24429 print foo_instance1.overload1arg((unsigned char)arg4)
24430 print foo_instance1.overload1arg((int)arg7)
24431 print foo_instance1.overload1arg((unsigned int)arg8)
24432 print foo_instance1.overload1arg((float)arg11)
24433 print foo_instance1.overload1arg((double)arg12)
24434
24435 2002-01-07 Michael Snyder <msnyder@redhat.com>
24436
24437 * gdb.base/huge.exp: New test. Print a very large target data object.
24438 (skip_huge_test): New test variable. Define if you want to skip this
24439 test. The test reads an 8 megabyte data object from the target, so it
24440 might be very time consuming on remote targets with a slow connection.
24441 * gdb.base/huge.c: New file. Test case for above.
24442
24443 2002-01-07 Fred Fish <fnf@redhat.com>
24444
24445 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24446 g_instance.bfoo, and g_instance.cfoo.
24447
24448 2002-01-07 Jeffrey A Law <law@redhat.com>
24449
24450 * gdb.base/break.c (multi_line_if_conditional): New function.
24451 (multi_ilne_while_conditional): Likewise.
24452 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24453 IF or WHILE condition puts the breakpoint at the start of
24454 the condition.
24455
24456 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24457 hppa*-*-hpux* expected failure.
24458 * gdb.base/structs.exp (do_function_calls): Similarly.
24459
24460 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24461 watchpoints.
24462
24463 2002-01-06 Andrew Cagney <ac131313@redhat.com>
24464
24465 Fix PR gdb/66.
24466 * gdb.base/structs.exp: Replace skip for a29k with skip for
24467 gdb,cannot_call_functions.
24468 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24469 * gdb.base/callfuncs.exp: Ditto.
24470 * gdb.base/call-rt-st.exp: Ditto.
24471 * gdb.base/call-strs.exp: Ditto.
24472 * gdb.base/callfwmall.exp: Ditto.
24473 * gdb.base/scope.exp: Obsolete xfail a29k.
24474 * gdb.c++/misc.exp: Ditto.
24475 * gdb.c++/cplusfuncs.exp: Ditto.
24476 * gdb.base/ptype.exp: Ditto.
24477 * gdb.base/printcmds.exp: Ditto.
24478 * gdb.base/opaque.exp: Ditto.
24479 * gdb.base/list.exp: Ditto.
24480 * gdb.base/funcargs.exp: Ditto.
24481 * gdb.base/default.exp: Ditto.
24482
24483 2002-01-04 Michael Snyder <msnyder@redhat.com>
24484
24485 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24486 * gdb.base/maint.exp: Add tests for maint info sections options.
24487
24488 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24489
24490 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24491
24492 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
24493
24494 * gdb.asm/arm.inc: New file.
24495 * gdb.asm/asm-source.exp: Add arm targets.
24496 * gdb.asm/configure.in: Ditto.
24497 * gdb.asm/configure: Recreated from configure.in.
24498
24499 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24500
24501 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24502 with HP's compiler.
24503 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24504 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24505 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24506 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24507
24508 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24509 either HP's compilers or GCC.
24510
24511 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24512 a SIGBUS or SIGSEGV.
24513
24514 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24515
24516 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24517 can be compiled with either HP's compiler or GCC.
24518
24519 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24520 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24521 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24522
24523 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24524 to match current gdb output. Update due to using auto-solib-limit
24525 for limiting instead of overloading auto-solib-add.
24526 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24527 test program.
24528
24529 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24530 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24531 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24532 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24533 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24534 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24535 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24536 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24537 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24538 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24539 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24540 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24541 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24542
24543 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24544 a SIGTRAP to the inferior.
24545
24546 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24547
24548 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24549 Substitute call to target_link by call to gdb_compile.
24550
24551 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24552
24553 * gdb.base/break.exp: Fix HP specific search string when testing
24554 backtracing in a called function.
24555
24556 * gdb.base/constvars.exp: Only set lang to C++ if we're
24557 compiling the test with HP's compilers.
24558 * gdb.base/volatile.exp: Similarly.
24559
24560 2001-12-19 Jim Blandy <jimb@redhat.com>
24561
24562 * gdb.base/printcmds.exp: Expect the null character to be printed
24563 as '\0', and the '\013' to be printed as '\v'.
24564 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24565 * gdb.base/setvar.exp: Same.
24566
24567 2001-12-17 Jim Blandy <jimb@redhat.com>
24568
24569 * gdb.base/completion.exp: Rather than completing very long
24570 filenames, which can make the readline library produce output we
24571 don't recognize, cd to the directory first, and then complete
24572 using nice, short relative paths.
24573
24574 * gdb.base/completion.exp: On some systems, there is, in fact, a
24575 variable named `b' in scope, since GDB treats all static
24576 variables as being in scope. So use `no_var_named_this'
24577 instead of `b'.
24578
24579 * gdb.base/corefile.exp: Recognize the message saying that GDB
24580 can't find the core file's registers as a failure.
24581
24582 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24583
24584 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24585 test expect string more specific.
24586
24587 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24588
24589 * gdb.asm/asm-source.exp: Add support for xstormy16.
24590 * gdb.asm/configure.in: Ditto.
24591 * gdb.asm/configure: Rebuild.
24592 * gdb.asm/xstormy16.inc: New file.
24593
24594 2001-12-10 Fred Fish <fnf@redhat.com>
24595
24596 * gdb.base/maint.exp: Update to match changes in type dumping code.
24597
24598 2001-12-10 Jim Blandy <jimb@redhat.com>
24599
24600 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24601 matching the entry point symbol's name at the beginning of the
24602 line.
24603
24604 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24605
24606 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24607 gdb.c++/inherit.exp, gdb.c++/method.exp,
24608 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24609 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24610 and class layout support.
24611
24612 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24613
24614 * gdb.c++/classes.exp: Add test for static member function.
24615 * gdb.c++/misc.cc: Add class with static member function.
24616
24617 2001-12-07 Jim Blandy <jimb@redhat.com>
24618
24619 If GDB says it can't find the struct the function returned, report
24620 those tests as `unsupported'.
24621 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24622 Rewrite subsequent tests to use it.
24623
24624 If GDB says it can't find the struct the function returned, report
24625 those tests as `unsupported'.
24626 * gdb.base/structs.exp (call_struct_func): New function.
24627 (do_function_calls): Use call_struct_func to call the functions
24628 returning structs.
24629
24630 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24631 whether functions are prototyped or not, so we can't possibly pass
24632 arguments to t_float_values2 properly.
24633
24634 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24635 value of `timeout' for targets other than the mips*tx39-*.
24636
24637 2001-12-06 Michael Snyder <msnyder@redhat.com>
24638
24639 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24640 and detect whether the start symbol has a leading underscore.
24641
24642 2001-12-04 Jim Blandy <jimb@redhat.com>
24643
24644 * gdb.base/completion.exp: Clarify indentation.
24645
24646 2001-12-03 Jim Blandy <jimb@redhat.com>
24647
24648 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24649 variables on the S/390, not `.word'.
24650
24651 2001-11-30 Jim Blandy <jimb@redhat.com>
24652
24653 Add assembly-source tests for s390-ibm-linux.
24654 * gdb.asm/s390.inc: New file.
24655 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24656 the S/390 architecture.
24657 * gdb.asm/configure: Regenerated.
24658
24659 2001-11-30 Michael Snyder <msnyder@redhat.com>
24660
24661 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24662 next, info source, info sources, info line, global and static
24663 variables, and static functions.
24664 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24665 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24666 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24667 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24668 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24669 (gdbasm_leave): Restore frame pointer.
24670 (gdbasm_startup): Copy stack set-up from crt0.S.
24671
24672 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24673
24674 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24675 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24676 to a local (non-static) variable. Copy tstruct.a to a static buffer
24677 and return a pointer to that buffer.
24678 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24679
24680 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24681
24682 * gdb.asm/configure.in: Fix recognition of ix86 target.
24683 * gdb.asm/configure: Regenerate.
24684
24685 2001-11-21 Michael Snyder <msnyder@redhat.com>
24686
24687 * gdb.asm/sparc.inc: New file.
24688 * gdb.asm/asm-source.exp: Recognize sparc target.
24689 * gdb.asm/configure.in: Recognize sparc target.
24690 * gdb.asm/configure: Regenerate.
24691
24692 2001-11-21 Michael Snyder <msnyder@redhat.com>
24693
24694 * gdb.asm/m32r.inc: New file.
24695 * gdb.asm/asm-source.exp: Recognize m32r target.
24696 * gdb.asm/configure.in: Recognize m32r target.
24697 * gdb.asm/configure: Regenerate.
24698
24699 2001-11-20 Michael Snyder <msnyder@redhat.com>
24700
24701 * gdb.asm/i386.inc: New file.
24702 * gdb.asm/asm-source.exp: Recognize ix86 target.
24703 * gdb.asm/configure.in: Recognize ix86 target.
24704 * gdb.asm/configure: Regenerate.
24705
24706 * gdb.c++/namespace.exp: Fix quotes in output messages.
24707
24708 2001-11-14 Michael Snyder <msnyder@redhat.com>
24709
24710 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24711 qualifier in a type cast expression, to designate an address
24712 in the instruction space (Harvard architecture).
24713
24714 2001-11-13 Michael Snyder <msnyder@redhat.com>
24715
24716 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24717 Tests for expressions using 'const' and 'volatile'.
24718
24719 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24720
24721 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24722
24723 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24724
24725 * lib/mi-support.exp (mi_run_to_helper): Move comments
24726 outside of gdb_expect.
24727
24728 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24729
24730 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24731 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24732 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24733 mi0_run_to): New functions.
24734 * gdb.mi/mi-simplerun.exp: Use them.
24735 * gdb.mi/mi0-simplerun.exp: Likewise.
24736 * gdb.mi/mi-var-cmd.exp: Likewise.
24737 * gdb.mi/mi0-var-cmd.exp: Likewise.
24738
24739 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24740
24741 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24742 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24743
24744 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24745
24746 * gdb.base/restore.exp: Include $expected value in restored test
24747 message.
24748
24749 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24750
24751 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24752 implemented.
24753
24754 2001-11-08 Michael Snyder <msnyder@redhat.com>
24755
24756 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24757 Add pass/fail message for stop at breakpoint in call dummy function.
24758
24759 2001-11-07 Michael Snyder <msnyder@redhat.com>
24760
24761 * gdb.c++/templates.exp (test_template_breakpoints):
24762 If we get an overload menu, but it does not match what
24763 we expect, we still need to issue the "cancel" command.
24764 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24765 making the whitespace optional. Argument for "new" may be
24766 "unsigned" as well as "unsigned int/long".
24767 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24768 making the whitespace optional. Also replace "(void) with
24769 "((void|)), making the keyword "void" optional.
24770 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24771 making the whitespace optional. Also replace "(void) with
24772 "((void|)), making the keyword "void" optional.
24773 * gdb.base/callfuncs.c (t_float_values): This function must
24774 _not_ be prototyped, and the following function (t_float_values2)
24775 must be prototyped (if the compiler supports it), so that GDB
24776 can be tested against both cases. Usually one case involves
24777 promotion of float to double, while the other does not.
24778 * gdb.base/callfwmall.c: Ditto.
24779 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24780 includes a stack frame for "start".
24781
24782 2001-11-05 Jim Blandy <jimb@redhat.com>
24783
24784 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24785 pointers are 32 bits long, and that offsets of relocs are always
24786 stored in the data (REL-style), and not in the reloc entry itself
24787 (RELA-style).
24788 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24789 stabs.
24790
24791 2001-11-01 Michael Snyder <msnyder@redhat.com>
24792
24793 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24794 and regular expression operators by using quoting.
24795
24796 2001-10-31 Michael Snyder <msnyder@redhat.com>
24797
24798 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24799 depending on what the symbol table contains.
24800 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24801 the output of the ptype command. Similarly, accept both "const &"
24802 and "const&".
24803
24804 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
24805
24806 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24807 symbol `STORAGE' to allow to choose the storage class of
24808 the local datastructures.
24809 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24810 compiler directive.
24811
24812 2001-10-30 Michael Snyder <msnyder@redhat.com>
24813
24814 * gdb.base/jump.exp: Allow it to run for all targets.
24815
24816 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24817
24818 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24819 with new double_array size.
24820 (main): Change storage class of all local variables to static.
24821 Reduce size of double_array to 9.
24822 * gdb.base/call-ar-st.exp: Increase timeout value.
24823 Change expected output for double array to match new size in
24824 call-ar-st.c.
24825
24826 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24827
24828 * gdb.base/ending-run.exp: Create identical output when passing
24829 `step to end of run' case. Add regular expression branch satisfying
24830 Stormy16 target.
24831
24832 2001-10-28 Mark Kettenis <kettenis@gnu.org>
24833
24834 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24835 that we catch the expected failure under Linux/x86.
24836
24837 2001-10-29 Orjan Friberg <orjanf@axis.com>
24838
24839 * gdb.base/setvar.exp: Escape curly braces.
24840 * gdb.stabs/weird.exp: Ditto.
24841
24842 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
24843
24844 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24845 * gdm.mi/mi0-hack-cli.exp: Likewise.
24846
24847 2001-10-25 Andrew Cagney <ac131313@redhat.com>
24848
24849 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24850 messages.
24851
24852 2001-10-21 Andrew Cagney <ac131313@redhat.com>
24853
24854 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24855 checking MI enabled.
24856
24857 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
24858
24859 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24860
24861 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
24862
24863 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24864 if gdb child process crashes, just signal an error.
24865
24866 2001-10-02 Jim Blandy <jimb@redhat.com>
24867
24868 * lib/gdb.exp (test_xfail_format): Simplify.
24869
24870 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24871 front of the variable name `format'. Simplify `if'.
24872
24873 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24874
24875 * gdb.threads/pthreads.exp: Wait for output and delay
24876 before sending ^C.
24877
24878 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24879
24880 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24881 some incorrect output instead of timing out.
24882 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24883
24884 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
24885
24886 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24887 check to allow additional `int'.
24888
24889 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
24890
24891 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24892 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24893
24894 2001-09-27 Michael Snyder <msnyder@redhat.com>
24895
24896 * lib/gdb.exp (test_debug_format): New proc.
24897 (setup_xfail_format): Use new proc test_debug_format.
24898 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24899 proc; use new service proc test_debug_format.
24900 Replace all other "gcc_compiled" tests with this test.
24901 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24902 proc; use new service proc test_debug_format.
24903 Replace all other "gcc_compiled" tests with this test.
24904
24905 2001-09-27 Michael Snyder <msnyder@redhat.com>
24906
24907 * gdb.base/cvexpr.exp: New file.
24908 * gdb.base/cvexpr.c: New file
24909 Test for expressions using const and volatile keywords.
24910
24911 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
24912
24913 * gdb.base/constvars.exp: Check for different orders of keywords
24914 and additional "int" strings in output.
24915
24916 2001-09-22 Andrew Cagney <ac131313@redhat.com>
24917
24918 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24919 responses from "help maint".
24920
24921 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
24922
24923 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24924 to localhost:NNN instead of :NNN, in case Xvfb is listening
24925 only on TCP.
24926
24927 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
24928
24929 * gdb.base/recurse.exp: When checking leaving the watchpoint
24930 scope, recognize when gdb is in function's epilogue and pass.
24931
24932 2001-09-18 Keith Seitz <keiths@redhat.com>
24933
24934 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24935 support for running tests against sid targets.
24936 (gdbtk_done): Ditto.
24937
24938 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
24939
24940 * gdb.base/ending-run.c (main): Set stdout buffersize
24941 to the same reasonable value for any target.
24942 * gdb.base/ending-run.exp: Add a regular expression
24943 to make testsuite happy on Sanyo Stormy16 target.
24944
24945 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
24946
24947 * gdb.base/display.c (do_loops): Add float variable `f'.
24948 Increment f in loop.
24949 * gdb.base/display.exp: Increment timeout by 60 seconds.
24950 Change float display test to use variable `f'.
24951
24952 2001-09-17 Jim Blandy <jimb@redhat.com>
24953
24954 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24955 overflowing the limited breakpoint tables on some ROM monitors
24956 (like the ROM68K).
24957
24958 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
24959
24960 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24961 the "-ac" (disable access control) flag.
24962
24963 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
24964
24965 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24966 ints.
24967
24968 2001-08-30 Keith Seitz <keiths@redhat.com>
24969
24970 * lib/gdb.exp: Move all insight-related functionality into
24971 separate file.
24972 * lib/insight-support.exp: New file.
24973
24974 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
24975
24976 * config/sid.exp (sid_start): Never set sid verbosity; disable
24977 expect_background {} that consumed its stdout; tolerate </dev/null.
24978 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24979
24980 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24981
24982 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24983 CLI jump command to start it.
24984 (mi_run_to_main): Fail immediatly when unexpected output.
24985
24986 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24987
24988 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24989 beginning of function. Fix PR gdb/191.
24990
24991 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
24992
24993 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24994 what to force sid endianness to.
24995
24996 2001-08-15 Keith Seitz <keiths@redhat.com>
24997
24998 * lib/gdb.exp (gdbtk_start): Don't set environment
24999 variables for TCL_LIBRARY and friends. Insight will
25000 now figure these out for itself.
25001
25002 2001-08-02 Michael Snyder <msnyder@redhat.com>
25003
25004 * gdb.base/completion.exp: Remove the symbol "a64l" from
25005 the expect string; this is target-specific, and not related
25006 to what is being tested.
25007
25008 2001-08-02 Dave Brolley <brolley@redhat.com>
25009
25010 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
25011
25012 2001-07-25 Michael Snyder <msnyder@redhat.com>
25013
25014 * gdb.base/consecutive.exp: New file. Test stepping over
25015 breakpoints on consecutive instructions.
25016 * gdb.base/consecutive.c: New file.
25017
25018 * gdb.base/call-rt-st.exp: Use double-backslash to quote
25019 curly braces in regular expressions.
25020
25021 2001-07-25 Michael Snyder <msnyder@redhat.com>
25022
25023 * gdb.base/ending-run.exp: Accept "Program exited normally" as
25024 legitimate output from stepping out of main.
25025
25026 2001-07-22 Keith Seitz <keiths@redhat.com>
25027
25028 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
25029 the empty string, do not run the tests.
25030
25031 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25032
25033 * gdb.base/long_long.exp: Detect size of pointer. Take into
25034 account 2-byte pointers when testing for p/a results.
25035
25036 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25037
25038 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
25039 and defined to 1K for m68hc11.
25040 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25041 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25042 (sizeof_random_data): New variable to tell the size of the data table;
25043 don't test past this size; always run to main.
25044
25045 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25046
25047 * gdb.base/return2.exp: return of long long and double fails for
25048 68HC11; don't execute these tests on that platform.
25049 * gdb.base/return.exp: Return of a double fails for 68hc11.
25050
25051 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25052
25053 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25054 tests that print a float.
25055 * call-rt-st.exp: Likewise.
25056
25057 2001-07-12 Mark Kettenis <kettenis@gnu.org>
25058
25059 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25060 running this test on Linux.
25061
25062 2001-06-24 Michael Chastain <chastain@redhat.com>
25063
25064 * gdb.base/arithmet.exp: Remove some tests to make all test names
25065 unique.
25066
25067 2001-07-03 Michael Snyder <msnyder@redhat.com>
25068
25069 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25070 the output of the ptype command.
25071
25072 2001-07-02 Michael Snyder <msnyder@redhat.com>
25073
25074 * gdb.base/completion.exp: Don't assume that break.c is the only
25075 source file that may contain functions named "marker".
25076 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25077
25078 2001-06-28 Andrew Cagney <ac131313@redhat.com>
25079
25080 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25081 of files to delete.
25082
25083 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25084 * gdb.disasm/h8300s.exp: New file.
25085 gdb.disasm/h8300s.s: Likewise.
25086
25087 2001-06-27 Andrew Cagney <ac131313@redhat.com>
25088
25089 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25090 empty breakpoint tables.
25091
25092 2001-06-25 Andrew Cagney <ac131313@redhat.com>
25093
25094 * lib/mi-support.exp: Update args=... part of stop-reason
25095 patterns. Accept either a list or a tuple.
25096
25097 2001-06-23 Andrew Cagney <ac131313@redhat.com>
25098
25099 * lib/mi-support.exp: Remove local emacs variable defining
25100 change-log-default-name.
25101
25102 2001-06-22 Michael Chastain <chastain@redhat.com>
25103
25104 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25105 This is operationally compatible with the previous version.
25106
25107 2001-06-13 Jim Blandy <jimb@redhat.com>
25108
25109 * lib/gdb.exp (gdb_test): Doc fix.
25110
25111 2001-06-10 Michael Chastain <chastain@redhat.com>
25112
25113 * gdb.base/exprs.exp: Remove a duplicate test.
25114
25115 2001-06-06 Jim Blandy <jimb@redhat.com>
25116
25117 * gdb.base/return2.exp (main): Use values to test float and double
25118 returns that are not NaN's, to avoid being confused by IEEE
25119 comparison rules.
25120
25121 2001-06-04 Michael Snyder <msnyder@redhat.com>
25122
25123 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
25124 non-zero if control_c fails. Terminate the test on failure,
25125 rather than wait for 12 more tests to time out.
25126
25127 2001-06-06 Jim Blandy <jimb@redhat.com>
25128
25129 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
25130 Don't forget to match the GDB prompt.
25131
25132 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25133
25134 2001-06-04 Jim Blandy <jimb@redhat.com>
25135
25136 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25137 command.
25138
25139 2001-05-31 Kevin Buettner <kevinb@redhat.com>
25140
25141 * gdb.base/annota1.exp (info break): Match four or more spaces
25142 after "Address".
25143
25144 2001-05-31 Michael Chastain <chastain@redhat.com>
25145
25146 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25147 (dm_type_int_star): Likewise.
25148 (dm_type_long_star): Likewise.
25149 (dm_type_void_star): Likewise.
25150
25151 2001-05-29 Kevin Buettner <kevinb@redhat.com>
25152
25153 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25154 to a known value in order to get consistent results regardless
25155 of the setting of INPUTRC or the presence or contents of .inputrc.
25156
25157 2001-05-24 Michael Snyder <msnyder@redhat.com>
25158
25159 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25160 Don't require that the main thread and the manager thread are the
25161 first in the list.
25162
25163 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25164 debugging. If test fails, issue an "unsupported" not a "fail".
25165
25166 2001-05-24 Jim Blandy <jimb@redhat.com>
25167
25168 Don't assume that short is shorter than int.
25169 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25170 assume that shorts are smaller than ints. On a 16-bit machine,
25171 this isn't true.
25172 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25173 an int, is not equal to ~0 stored in an unsigned char. This tests
25174 the same thing that the previous test meant to, but works on
25175 16-bit machines, too.
25176 ("print unsigned char != (~0)"): Same test, complemented.
25177
25178 2001-05-24 Michael Snyder <msnyder@redhat.com>
25179
25180 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
25181 test for (full_coverage == 0). This makes the test run faster,
25182 and prevents dejagnu getting out of step.
25183
25184 2001-05-23 Kevin Buettner <kevinb@redhat.com>
25185
25186 * gdb.base/finish.exp (finish_void): Revise pattern for
25187 stopping on the call statement to not permit stopping at
25188 the start of the instructions comprising the call sequence.
25189
25190 2001-05-19 Michael Chastain <chastain@redhat.com>
25191
25192 * gdb.base/callfuncs.exp: Make all test names unique.
25193 * gdb.base/commands.exp: Make all test names unique.
25194 * gdb.base/condbreak.exp: Make all test names unique.
25195 * gdb.base/dbx.exp: Make all test names unique.
25196 * gdb.base/default.exp: Make all test names unique.
25197 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25198 and TIMEOUT messages to their corresponding PASS message.
25199 * gdb.base/ending-run.exp: Make all test names unique.
25200 * gdb.base/long_long.exp: Remove duplicate test.
25201
25202 2001-05-21 Kevin Buettner <kevinb@redhat.com>
25203
25204 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25205 stop on the call statement as well as the statement after the
25206 call.
25207
25208 2001-05-21 Michael Snyder <msnyder@redhat.com>
25209
25210 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25211
25212 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25213
25214 * gdb.base/completion.exp: Revamp test. Make it execute on all
25215 platforms.
25216
25217 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25218
25219 * config/gdbserver.exp (gdb_load): Handle the case
25220 in which the arguments to gdbserver are given in the
25221 baseboard configuration file.
25222 Also handle the case in which the server needs to do a
25223 load.
25224
25225 2001-05-07 Keith Seitz <keiths@cygnus.com>
25226
25227 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25228 set up the display for testing.
25229 (gdbtk_start): Convert all paths to paths that tcl will like.
25230 Export target information to environment.
25231 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25232 necessary.
25233 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25234 (to_tcl_path): New proc to convert a given pathname into
25235 a path acceptible as an argument to a tcl command.
25236 (_gdbtk_export_target_info): New proc to export target info
25237 into the environment for gdbtk testing.
25238 (gdbtk_done): New proc to signal end-of-test.
25239
25240 2001-05-06 Jim Blandy <jimb@redhat.com>
25241
25242 * restore.c: Make the code of caller0 correspond to its comment.
25243
25244 2001-05-03 Michael Snyder <msnyder@redhat.com>
25245
25246 * config/sid.exp (gdb_target_sid): Check for error messages.
25247 On error or timeout, don't make expect exit (which will terminate
25248 all subsequent tests); instead just make gdb exit.
25249 (gdb_load): Check for error messages. On error or timeout,
25250 return a negative value.
25251
25252 2001-04-24 Jim Blandy <jimb@redhat.com>
25253
25254 * gdb.c++/templates.exp: If we see the prompt for the overload
25255 list, but we haven't recognized any of the longer patterns,
25256 arrange for this test to fail, not hang.
25257
25258 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25259 variations.
25260
25261 2001-04-22 Michael Chastain <chastain@redhat.com>
25262
25263 * gdb.c++/local.exp: Use the 'runto' library function.
25264 * gdb.c++/namespace.exp: Likewise.
25265 * gdb.c++/overload.exp: Likewise.
25266
25267 2001-03-26 Kevin Buettner <kevinb@redhat.com>
25268
25269 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25270 * gdb.base/step-line.exp: New file. Test step/next in presence of
25271 #line directives.
25272 * gdb.base/step-line.c: New file. Test program for the above.
25273 * gdb.base/step-line.inp: New file. We pretend that this file has
25274 been transformed by some other tool into step-line.c.
25275
25276 2001-03-21 Jim Blandy <jimb@redhat.com>
25277
25278 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25279 unmangled operator names.
25280
25281 2001-03-20 Jim Blandy <jimb@redhat.com>
25282
25283 * gdb.threads/linux-dp.exp: Recognize an additional message
25284 generated by GDB when it doesn't understand how to debug threads
25285 on the target system.
25286
25287 2001-03-19 Andrew Cagney <ac131313@redhat.com>
25288
25289 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25290
25291 2001-03-12 Michael Chastain <chastain@redhat.com>
25292
25293 * gdb.c++/derivation.exp: Use the 'runto' library function.
25294
25295 2001-03-12 Michael Chastain <chastain@redhat.com>
25296
25297 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25298
25299 2001-02-24 Michael Chastain <chastain@redhat.com>
25300
25301 * gdb.c++/ref-types.exp: Change handwritten code to library
25302 function 'runto'.
25303
25304 2001-03-16 Orjan Friberg <orjanf@axis.com>
25305
25306 * gdb.base/signals.exp: Set count to 0 explicitly.
25307
25308 2001-03-15 Mark Salter <msalter@redhat.com>
25309
25310 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25311 (gdb_target_monitor): Add check of gdb_target_cmd return value.
25312 (gdb_load): Add support for additional target_info: gdb_download_size
25313 and gdb_load_timeout.
25314
25315 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25316
25317 * gdb.base/annota1.exp: Move test of isnative to earlier in the
25318 file -- to prevent failing when the compile fails but we have no
25319 intention of running the tests anyway.
25320
25321 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25322 tests if set.
25323
25324 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
25325 integers.
25326
25327 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25328 * gdb.c++/namespace.exp: Ditto.
25329
25330 2001-03-07 Orjan Friberg <orjanf@axis.com>
25331
25332 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25333 * gdb.base/pointers.exp: Relax pattern match of decimals.
25334
25335 2001-03-06 Kevin Buettner <kevinb@redhat.com>
25336
25337 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25338 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25339 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25340 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25341 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25342 config/sh.exp, config/sid.exp, config/slite.exp,
25343 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25344 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25345 config/vxworks.exp, config/vxworks29k.exp,
25346 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25347 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25348 gdb.base/arithmet.exp, gdb.base/assign.exp,
25349 gdb.base/async.exp, gdb.base/attach.exp,
25350 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25351 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25352 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25353 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25354 gdb.base/commands.exp, gdb.base/completion.exp,
25355 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25356 gdb.base/constvars.exp, gdb.base/corefile.exp,
25357 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25358 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25359 gdb.base/ending-run.exp, gdb.base/environ.exp,
25360 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25361 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25362 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25363 gdb.base/funcargs.exp, gdb.base/help.exp,
25364 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25365 gdb.base/logical.exp, gdb.base/long_long.exp,
25366 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25367 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25368 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25369 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25370 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25371 gdb.base/regs.exp, gdb.base/relational.exp,
25372 gdb.base/remote.exp, gdb.base/reread.exp,
25373 gdb.base/restore.exp, gdb.base/return2.exp,
25374 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25375 gdb.base/selftest.exp, gdb.base/setshow.exp,
25376 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25377 gdb.base/sigall.exp, gdb.base/signals.exp,
25378 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25379 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25380 gdb.base/step-test.exp, gdb.base/structs.c,
25381 gdb.base/structs.exp, gdb.base/structs2.exp,
25382 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25383 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25384 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25385 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25386 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25387 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25388 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25389 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25390 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25391 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25392 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25393 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25394 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25395 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25396 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25397 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25398 gdb.trace/circ.exp, gdb.trace/collection.exp,
25399 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25400 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25401 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25402 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25403 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25404 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25405 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25406 notices.
25407
25408 2001-02-27 Michael Snyder <msnyder@cygnus.com>
25409
25410 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25411 first arg is int not float.
25412
25413 2001-02-22 Michael Snyder <msnyder@cygnus.com>
25414
25415 * gdb.base/reread.exp: Unsupported for non-native targets;
25416 doesn't work for remote debugging.
25417
25418 2001-02-19 Fernando Nasser <fnasser@redhat.com>
25419
25420 From Drew Moseley <dmoseley@redhat.com>
25421 * gdb.base/ending-run.exp: Properly handle the BSP state when
25422 stepping past the end of main.
25423
25424 2001-02-19 John Moore <jmoore@redhat.com>
25425
25426 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25427 Converted HPUX fix for non-expected items following multiple
25428 step commands into general solution for all platforms.
25429
25430 2001-02-18 Michael Chastain <chastain@redhat.com>
25431
25432 * gdb.c++/classes.exp (do_tests): Change runto statements
25433 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25434 statements demangler agnostic.
25435 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25436 (gdb_virtfunc_restart): Likewise.
25437
25438 2001-02-14 Michael Chastain <chastain@redhat.com>
25439
25440 * gdb.c++/inherit.exp (do_tests): Change runto statements
25441 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25442 statements demangler agnostic.
25443
25444 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25445
25446 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25447 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25448 before calling common_routine 15 times'' tests.
25449
25450 2001-02-11 Michael Chastain <chastain@redhat.com>
25451
25452 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25453 Helps the test script figure out which demangler is in use.
25454 (dm_type_foo_ref): Ditto.
25455 (dm_type_int_star): Ditto.
25456 (dm_type_long_star): Ditto.
25457 (dm_type_unsigned_int): Ditto.
25458 (dm_type_void): Ditto.
25459 (dm_type_void_star): Ditto.
25460 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25461 Probe the gdb demangler and set variables to accommodate
25462 formatting differences.
25463 (info_func_regexp): New function. Same as info_func, but
25464 matches against a regexp.
25465 (info_func): Match against a literal string.
25466 (print_addr_2): New function. Match against a literal string,
25467 which can be different from the input to gdb.
25468 (print_addr): Simply call print_addr_2 with the same argument twice.
25469 (test_lookup_operator_functions): Use demangler formatting variables.
25470 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25471 the tests in the same order as the C++ class declaration.
25472 (test_paddr_operator_functions): Ditto.
25473 (test_paddr_overloaded_functions): Ditto.
25474 (test_paddr_hairy_functions): Use demangler formatting variables.
25475 Add reference to gdb/19 for related tests.
25476 (do_tests): Call probe_demangler.
25477
25478 2001-01-30 Kevin Buettner <kevinb@redhat.com>
25479
25480 * gdb.c++/templates.cc (printf): Remove unused function definition.
25481
25482 2001-01-26 Felix Lee <flee@redhat.com>
25483
25484 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25485
25486 2001-01-25 matthew green <mrg@redhat.com>
25487
25488 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25489 up sid.
25490 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25491
25492 2001-01-25 matthew green <mrg@redhat.com>
25493
25494 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25495 Deprecate $sid_spawn_id.
25496 (sid_exit): Remove code necessary only for `spawn.'
25497
25498 2001-01-25 matthew green <mrg@redhat.com>
25499
25500 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25501
25502 2001-01-28 Michael Chastain <chastain@redhat.com>
25503
25504 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25505 to call when tests fail. It takes gdb out of the overloaded
25506 function choice menu back to the main prompt, so that the test
25507 program stays synchronized.
25508 (set_bp_overloaded): New proc to collect all the common
25509 code for setting a breakpoint on an overloaded name. Calls
25510 take_gdb_out_of_choice_menu when needed.
25511 (menu_overload1arg): New variable to collect the repeated
25512 instances of the expected menu for an overloaded name. Change
25513 the regular expression to handle changes in g++ type encoding:
25514 "void" can be either "void" or "", and "unsigned int" can be
25515 either "unsigned int" or "unsigned".
25516 (continue_to_bp_overloaded): Change regular expressions to handle
25517 changes in g++ type encoding.
25518 (no proc): Call take_gdb_out_of_choice_menu when needed.
25519 Remove redundant calls to "info break". Accept either "canceled"
25520 or "cancelled". Change regular expressions in "info break"
25521 calls to handle changes in g++ type encoding. Give all tests
25522 unique strings.
25523
25524 2001-01-17 Ben Elliston <bje@redhat.com>
25525
25526 * config/sid.exp: New file.
25527
25528 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25529
25530 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25531
25532 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25533
25534 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25535 Add a RE to accept a non-ascii char if one is ever presented.
25536
25537 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25538
25539 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25540
25541 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25542
25543 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25544 in regexp. One '\' does not suffice on Linux.
25545
25546 2000-12-09 Michael Chastain <chastain@redhat.com>
25547
25548 * gdb.base/break.exp (test_clear_command): Use a marker function
25549 rather than 'main' for the test function. Also move this
25550 test to an execution point where the marker function names are
25551 guaranteed to be bound to functions. (Executing tests after a
25552 'finish' from main runs into name conflicts with local names
25553 in __libc_start_main).
25554
25555 2000-12-07 Michael Snyder <msnyder@cygnus.com>
25556
25557 * gdb.base/finish.exp: New test for gdb's "finish" command.
25558 * gdb.base/return2.exp: New test for gdb's "return" command.
25559 * gdb.base/return2.c: New source file for above.
25560
25561 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25562
25563 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25564 * gdb.base/miscexprs.exp: Ditto.
25565 * gdb.base/pointers.exp: Ditto.
25566 * gdb.c++/derivation.exp: Ditto.
25567 * gdb.c++/local.exp: Ditto.
25568 * gdb.c++/namespace.exp: Ditto.
25569 * gdb.c++/overload.exp: Ditto.
25570 * gdb.c++/ref-types.exp: Ditto.
25571
25572 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25573
25574 * gdb.base/constvars.exp: Test result of "up" command.
25575 * gdb.base/miscexprs.exp: Ditto.
25576 * gdb.base/pointers.exp: Ditto.
25577 * gdb.base/scope.exp: Ditto.
25578 * gdb.c++/derivation.exp: Ditto.
25579 * gdb.c++/local.exp: Ditto.
25580 * gdb.c++/namespace.exp: Ditto.
25581 * gdb.c++/overload.exp: Ditto.
25582 * gdb.c++/ref-types.exp: Ditto.
25583
25584 2000-11-22 Michael Chastain <chastain@redhat.com>
25585
25586 * mips_pro.exp: Accept either "middle -> top -> main" or
25587 "middle -> main" in the backtrace, because gcc can optimize
25588 tail calls to jumps. Remove setup_xfail for the hppa case.
25589 Add a comment with the original warning messages from PR 3016,
25590 which was filed in 1993, to preserve them for posterity.
25591
25592 2000-11-17 Nick Duffek <nsd@redhat.com>
25593
25594 * lib/gdb.exp (gdb_test): Override timeout with board info.
25595
25596 2000-11-17 Nick Duffek <nsd@redhat.com>
25597
25598 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25599 the second kill and detach messages.
25600
25601 2000-11-17 Nick Duffek <nsd@redhat.com>
25602
25603 * configure.in: Add AC_EXEEXT.
25604 * configure: Regenerate.
25605 * Makefile.in (just-check): Export EXEEXT.
25606 * lib/gdb.exp ($EXEEXT): Import from environment.
25607 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25608 expect "maint dump-me" on Cygwin.
25609 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25610 $EXEEXT.
25611
25612 2000-11-17 Nick Duffek <nsd@redhat.com>
25613
25614 * gdb.base/break.exp: Test backtrace and finish from called
25615 function on all platforms, not just HP-UX.
25616
25617 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25618
25619 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25620 code from gdb_target_monitor, so it can be used independantly
25621 for gdbserver. Also comment out an unnecessary PUTS.
25622
25623 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25624
25625 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25626 * gdb.base/corefile.exp: Expect the message "Program is being
25627 debugged already" when we send the "corefile" command, since
25628 the preceeding gdb_load may have connected gdb to a remote target.
25629 * gdb.base/display.exp: Disable hardware watchpoints if new
25630 board info variable "no_hardware_watchpoints" is true.
25631 Replace single-letter commands with more readable ones.
25632 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25633 if new board info variable "no_hardware_watchpoints" is true.
25634 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25635 to see if stdio (printf) testing is possible.
25636 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25637 board info variable "no_hardware_watchpoints" is true. Use new
25638 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25639
25640 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25641
25642 From Orjan Friberg <orjanf@axis.com>:
25643 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25644 in array print pattern match.
25645
25646 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25647
25648 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25649 spelling "cancelled" to U.S. spelling "canceled" to match changes
25650 made to gdb.
25651 * gdb.c++/ovldbreak.exp: Ditto.
25652
25653 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25654
25655 * gdb.base/callfuncs.c (main): Moved to end of file, call
25656 t_double_values to initialize the FPU before inferior calls are made.
25657 * gdb.base/callfuncs.exp: Test for register preservation after calling
25658 inferior functions. Add tests for continuining, finishing and
25659 returning from a stop in a call dummy.
25660
25661 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25662
25663 * gdb.base/commands.exp: Break up long lines, and re-indent.
25664
25665 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25666
25667 * config/gdbserver.exp: Rewritten from the ground up, to make it
25668 compatible with the current dejagnu tree, and to make it work with
25669 the new "gdbserver" in libremote.
25670
25671 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25672
25673 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25674 * gdb.base/varargs.exp: Skip entire test if no printf support.
25675 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25676 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25677
25678 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25679
25680 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25681 no floating point support.
25682 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25683 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25684 * gdb.base/call-rt-st.exp: Ditto.
25685 * gdb.base/call-strs.exp: Ditto.
25686
25687 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25688
25689 * gdb.base/sizeof.c: include <stdio.h>.
25690
25691 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25692 'finish', otherwise uncaptured gdb_prompt would potentially
25693 throw remaining test points out of sync.
25694
25695 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25696
25697 * gdb.base/recurse.exp: Run tests for all targets.
25698 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25699 gnu-oldld case on ARM.
25700 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25701 for ARM targets.
25702
25703 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25704
25705 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25706 * gdb.java/configure: Rebuild.
25707
25708 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25709
25710 * gdb.java/jv-exp.exp: New file.
25711
25712 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25713
25714 * configure: Rebuilt.
25715 * configure.in (configdirs): Add gdb.java.
25716 * gdb.java/jmisc.java: New file.
25717 * gdb.java/jmisc.exp: New file.
25718 * gdb.java/Makefile.in: New file.
25719 * gdb.java/configure: Rebuilt.
25720 * gdb.java/configure.in: New file.
25721 * lib/java.exp: New file.
25722
25723 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25724
25725 * gdb.base/exprs.exp: Test casts to a pointer including over and
25726 underflow.
25727
25728 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25729
25730 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25731 and the compilers sizes.
25732
25733 2000-07-09 Nick Duffek <nsd@redhat.com>
25734
25735 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25736 (use_methods): New function.
25737 (main): Call use_methods().
25738 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25739 (do_tests): Call test_method_param_class.
25740
25741 2000-07-09 Nick Duffek <nsd@redhat.com>
25742
25743 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25744 spelling.
25745 (test_enums): New procedure. Move enum tests from end of script
25746 to here. Set breakpoint on function name instead of line number.
25747 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25748 (enums2): New marker function.
25749 (enums1): New function.
25750 (main): Call enums1(). Move enum tests to enums1().
25751
25752 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25753
25754 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25755 compile/link program. Update line numbers.
25756 * gdb.asm/d10v.inc: Define ``startup''.
25757 * gdb.asm/asmsrc1.s: Add definition of _start.
25758
25759 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25760
25761 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25762
25763 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25764
25765 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25766 of 'help maint print' command.
25767
25768 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25769
25770 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25771 they use gdb_expect_list.
25772
25773 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25774
25775 * gdb.base/commands.exp: Use ``set remote
25776 memory-read-packet-size'' instead of ``set endian big'' to test
25777 long commands.
25778
25779 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
25780
25781 * gdb.c++/templates.exp (do_tests): Make all of these work under
25782 g++, and stop skipping them.
25783
25784 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25785 work under g++.
25786
25787 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25788 initialization.
25789
25790 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25791
25792 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25793 the regular expression: accept an (almost) arbitrary sequence of
25794 "frames-invalid" and "breakpoints-invalid" messages both before
25795 and after the "starting" message.
25796
25797 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25798
25799 * gdb.c++/local.exp: This test has never been known to work with g++.
25800
25801 2000-05-18 Michael Snyder <msnyder@cygnus.com>
25802
25803 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25804 Relax the regular expression a little, make it pass on Solaris 8.
25805
25806 2000-05-12 Kevin Buettner <kevinb@redhat.com>
25807
25808 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25809 a call, do not require that gdb stop on the line after the call.
25810 Instead, it is permissible for gdb to stop on the line of the
25811 call itself.
25812
25813 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
25814
25815 * gdb.base/break.exp (bp on small function, optimized file):
25816 Add a second pass pattern. The behavior differs here between stabs
25817 and dwarf for one-line functions. Stabs preserves two line symbols
25818 (one before the prologue and one after) with the same line number,
25819 but dwarf regards these as duplicates and discards one of them.
25820 Therefore the address after the prologue (where the breakpoint is)
25821 has no exactly matching line symbol, and GDB reports the breakpoint
25822 as if it were in the middle of a line rather than at the beginning.
25823
25824 2000-05-08 Michael Snyder <msnyder@cygnus.com>
25825
25826 * gdb.base/interrupt.exp: Make "pass" message say "send"
25827 rather than "send_gdb" (for consistancy).
25828
25829 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25830
25831 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25832 * gdb.c++/templates.cc: Properly check for GCC version number.
25833 * lib/compiler.cc: Likewise
25834
25835 2000-04-28 Michael Snyder <msnyder@cygnus.com>
25836
25837 * gdb.base/break.exp: When compiled with -O2 optimization,
25838 gdb may not stop at the first line of main, due to code motion.
25839
25840 2000-04-26 Michael Snyder <msnyder@cygnus.com>
25841
25842 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25843 This test depends on parsing the printf output from the target.
25844 Since the sparclet stub doesn't do stdio, this will never work.
25845 * gdb.base/call-rt-st.exp: ditto.
25846 * gdb.base/call-strs: ditto.
25847
25848 2000-04-24 Michael Snyder <msnyder@cygnus.com>
25849
25850 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25851
25852 * gdb.base/ending-run.exp: After connecting to a remote target,
25853 but before running, the target will appear to be in a random
25854 location. Specify both a file and a line for breakpoints.
25855 Also, the function that calls main may be called 'init'
25856 rather than 'start'.
25857
25858 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25859
25860 * gdb.base/help.exp: Update output for add-symbol-file command.
25861
25862 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
25863
25864 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25865 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25866
25867 2000-04-07 J.T. Conklin <jtc@redback.com>
25868
25869 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25870
25871 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25872
25873 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25874
25875 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25876 values that can be represented exactly.
25877 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25878 above change, and to not check against the directory part of the source
25879 file name.
25880 (step into print_long_arg_list): Likewise.
25881 (print print_small_structs from print_long_arg_list): Likewise.
25882 (print print_long_arg_list): Likewise.
25883
25884 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25885
25886 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25887
25888 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25889
25890 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25891
25892 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
25893
25894 * gdb.base/commands.exp (deprecated_command_test): Add test for
25895 deprecate with no arguments.
25896
25897 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25898
25899 * gdb.base/break.exp: Add new test for setting breakpoints on
25900 optimized code so we can test breakpoints work even when function
25901 prologues may be optimized away
25902
25903 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25904
25905 From David Whedon <dwhedon@gordian.com>
25906 * gdb.base/commands.exp : Added command deprecator tests.
25907
25908 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
25909
25910 * gdb.base/help.exp: Added test for new apropos command.
25911
25912 2000-03-21 Kevin Buettner <kevinb@redhat.com>
25913
25914 * gdb.base/pointers.c (usevar): New function.
25915 (main): Make sure that global variables v_int_pointer2, rptr,
25916 and y are all referenced someplace in the program by calling
25917 usevar() on them. [Some linkers delete symbols which are
25918 never referenced. The space remains, but there's no way to
25919 get a (symbolic) handle on the variable from the debugger.]
25920
25921 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25922
25923 * gdb.base/printcmds.c: Add typedeffed arrays.
25924
25925 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25926 procedure to test arrays that are typedef'd.
25927
25928 2000-03-13 James Ingham <jingham@leda.cygnus.com>
25929
25930 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25931 the library directories.
25932
25933 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25934
25935 * configure.in (configdirs): Add sub directory gdb.mi.
25936 * configure: Re-generate.
25937
25938 * gdb.mi: New directory.
25939
25940 2000-02-25 Scott Bambrough <scottb@netwinder.org>
25941
25942 * gdb.base/long_long.exp: Correct test suite failure when printing
25943 a long long value as a double on ARM platforms.
25944
25945 2000-02-16 Jim Blandy <jimb@redhat.com>
25946
25947 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25948 default source file is set properly before running this test.
25949
25950 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25951
25952 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25953 gdbtk/library directory, not in gdbtcl2.
25954
25955 2000-02-04 Jim Blandy <jimb@redhat.com>
25956
25957 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25958 backslash from regexp pattern.
25959
25960 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25961 procedure. Use it to run all the "continue to bp overloaded"
25962 tests. Note that this changes the names of the tests slightly.
25963 If the breakpoint hit message includes a hex PC value, because
25964 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25965 from the real source code, still consider that a pass.
25966
25967 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25968 XFAIL here if the breakpoint message contains a hex address. Note
25969 similar change on 1999-11-02.
25970
25971 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25972
25973 * gdb.base/ptype.exp: Establish a default source file before
25974 calling get_debug_format.
25975
25976 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25977
25978 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25979
25980 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25981
25982 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25983 of successive stepi commands -- while in the prologue we should see
25984 the function entry bracket.
25985
25986 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25987
25988 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25989 reach __change_mode() when stepping through the end of main().
25990
25991 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25992
25993 * gdb.base/default.exp: Fix expected pattern.
25994 * gdb.base/help.exp: Same.
25995
25996 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25997
25998 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25999 Don't use xfail's because that affects only the following test.
26000
26001 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
26002 solaris or linux.
26003
26004 * gdb.base/selftest.exp: Update to reflect changes to main.c.
26005
26006 2000-01-07 Michael Snyder <msnyder@cygnus.com>
26007
26008 * gdb.base/display.exp: Some yacc parsers like to say
26009 "A syntax error" rather than "A parse error". Accept both.
26010
26011 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
26012
26013 * gdb.base/default.exp: Remove OS dependent string from "target
26014 remote" test.
26015 * gdb.base/help.exp: Same for "help target remote" test.
26016
26017 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26018
26019 From Jim Kingdon <kingdon@redhat.com>:
26020
26021 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
26022 prompt (cleanup rather than necessity, but still might keep output
26023 from spilling to next test).
26024
26025 2000-01-02 Fred Fish <fnf@cygnus.com>
26026
26027 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
26028 AIX, which defines them in <sys/types.h>.
26029
26030 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
26031
26032 * gdb.base/default.exp: Match arm* etc instead of arm in "info
26033 float" test.
26034
26035 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
26036
26037 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
26038
26039 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26040 outermost frame disallowed".
26041
26042 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26043
26044 * gdb.base/setvar.exp: New tests for setting the value of a struct
26045 with a constant list.
26046
26047 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26048
26049 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26050 require the user to type a cast before setting the value of a struct.
26051
26052 1999-12-06 Jim Blandy <jimb@cygnus.com>
26053
26054 * gdb.base/default.exp: Expect the new 'info float' command on
26055 all i386 platforms.
26056
26057 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26058 LinuxThreads libraries that don't support debugging.
26059
26060 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26061
26062 * gdb.base/remote.c: Fill the buffer with truely random data.
26063 Change the buffer type to ``unsigned char'' to simplify size
26064 arithmetic.
26065
26066 * gdb.base/remote.exp: Reduce download numbers by one. Typical
26067 stub only handles 400-1 byte packets. Verify that the download
26068 worked.
26069
26070 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26071
26072 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26073 tests, using UNRESOLVED for the untested cases. Also, does not wait
26074 for a timeout if the prompt was received before a recognizable pattern.
26075
26076 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26077
26078 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26079
26080 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26081
26082 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
26083 watchpoints.
26084
26085 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
26086
26087 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26088
26089 * gdb.c++/local.exp: Be more flexible in recognizing local class
26090 name mangling. Don't allow horribly truncated method names.
26091 * gdb.c++/derivation.exp: Expect protected inheritance.
26092 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26093 * gdb.c++/virtfunc.exp: Likewise.
26094 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26095 when printing a nested enum.
26096
26097 1999-11-22 Jim Blandy <jimb@cygnus.com>
26098
26099 * gdb.base/step-test.exp: Properly await GDB's response to setting
26100 a breakpoint on the call to large_struct_by_value.
26101
26102 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26103 just because we have debug info for the `start' function.
26104
26105 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26106
26107 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26108 "Unknown signal" messages, which indicate (on LinuxThreads) that
26109 GDB doesn't know how to debug threads on this system. This is
26110 better than hanging while philosopher 0 dumps chatter into gdb.log.
26111
26112 1999-11-18 Tom Tromey <tromey@cygnus.com>
26113
26114 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26115
26116 1999-11-18 Fred Fish <fnf@cygnus.com>
26117
26118 * gdb.base/coremaker2.c: Add sample program for generating
26119 cores that is more self contained than coremaker.c. Eventually
26120 I'll add more code to this and tie it into the testsuite.
26121
26122 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26123
26124 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26125
26126 1999-11-10 Jimmy Guo <guo@cup.hp.com>
26127
26128 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
26129 from $srcdir/lib/.
26130 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
26131 and gdb.c++/.
26132
26133 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26134
26135 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
26136 'continue with watch' test point.
26137
26138 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26139
26140 Merged from p2linux-990323-branch:
26141
26142 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26143
26144 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26145
26146 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
26147 {limit,fixed}''. Test ``set download-write-size''.
26148
26149 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26150
26151 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
26152 gdb_expect_list.
26153
26154 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26155
26156 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26157
26158 1999-11-03 Mark Salter <msalter@cygnus.com>
26159
26160 * gdb.base/break.exp: Fix "stub continue" pattern.
26161
26162 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26163
26164 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26165
26166 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26167
26168 * gdb.base/display.exp ("finish"): Add timeout clause.
26169
26170 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26171 plain prompt clause, so this doesn't have to time out in order to
26172 fail.
26173
26174 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
26175 breakpoint hit messages include an address.
26176
26177 * gdb.base/display.exp: Don't forget to escape parens in regular
26178 expressions. Unix regexp notatation sucks.
26179
26180 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26181
26182 * gdb.base/annota1.exp: Test for annotate-signalled: change output
26183 order for 'signalled' message.
26184
26185 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26186
26187 From Jimmy Guo <guo@cup.hp.com>:
26188 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26189 * gdb.base/annota1.c: Add code for tests to work with.
26190
26191 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26192
26193 * gdb.base/remote.exp: New test for remote downloading settings.
26194 * gdb.base/remote.c: New file with large .data.
26195
26196 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26197
26198 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26199 for LinuxThreads support, merged from the Code Fusion branch.
26200
26201 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26202
26203 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
26204 containing exp_continue into a while within an expect. Don't
26205 attempt a start more than three times. Check return value from
26206 gdb_load.
26207
26208 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26209
26210 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
26211 a pass case.
26212
26213 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
26214
26215 * gdb.base/break.c (main): Added a statement that we can step
26216 off of.
26217 * gdb.base/break.exp: Added tests for setting a breakpoint
26218 at an offset and stepping onto a breakpoint.
26219
26220 1999-10-01 Fred Fish <fnf@cygnus.com>
26221
26222 * gdb.base/help.exp (help add-symbol-file): Update to match current
26223 gdb output.
26224
26225 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26226
26227 * gdb.base/break.exp: Code locations are in hex, don't forget!
26228 (For HP-UX.)
26229
26230 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26231
26232 * condbreak.exp: Use break.c as test program.
26233 * condbreak.c: Remove, redundant with break.c.
26234
26235 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26236
26237 * config/monitor.exp (gdb_target_monitor): Disable X- and
26238 Z-packets if the target needs it.
26239
26240 1999-09-13 James Ingham <jingham@leda.cygnus.com>
26241
26242 * gdb.c++/overload.exp: Added tests for listing overloaded
26243 functions with function pointers in the arg, explicitly calling
26244 out the version you want.
26245
26246 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26247
26248 * long_long.exp: Add variations of test cases that work for
26249 targets with 16-bit ints and 32-bit doubles.
26250
26251 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26252
26253 * break.c (main): Compare a possibly-uninitialized argc with an
26254 unlikely value that fits in 16 bits.
26255
26256 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26257
26258 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26259 0xfeeb, don't want negative numbers if ints are 16 bits.
26260
26261 * lib/gdb.exp (skip_cplus_tests): New proc.
26262 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26263 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26264 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26265 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26266 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26267 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26268 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26269 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
26270
26271 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26272
26273 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26274
26275 * gdb.base/corefile.exp (up): Allow a parameter to appear
26276 in the frame that we're going up to.
26277
26278 From Jim Blandy <jimb@cygnus.com>:
26279
26280 * gdb.base/default.exp (info float): Expect some output now.
26281
26282 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26283 returning floating-point values to fail on the x86.
26284 * gdb.base/callfwmall.exp (do_function_calls): Same.
26285
26286 * gdb.base/list.exp (test_listsize): Correct expectations for
26287 listing line 1 with listsize 2. Also, listing a single line
26288 works now, as does listing three lines. [Kevin's note: There
26289 were a number of other cases fixed too where the expectations
26290 differed...]
26291
26292 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26293
26294 * gdb.base/selftest.exp: Add case for when version prints as
26295 constant string instead of char pointer.
26296
26297 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26298
26299 * gdb.base/ending-run.exp: Add Solaris case for what happens when
26300 stepping out of main.
26301
26302 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26303 G++ used.
26304
26305 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
26306 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
26307
26308 * gdb.c++/ovldbreak.exp: Update match string in test that
26309 includes a warning of multiple breakpoints.
26310
26311 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26312
26313 * gdb.base/display.exp: Improve precision of step-after-finish
26314 added yesterday.
26315
26316 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
26317 test.
26318
26319 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26320 configs when using G++, not just hppa*.
26321
26322 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26323
26324 * gdb.base/async.c: New file.
26325 * gdb.base/async.exp: New file.
26326
26327 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26328
26329 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26330 PA64.
26331
26332 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26333
26334 * gdb.base/display.exp: "finish" can leave us mid-line on many
26335 targets, deal with it. Add a small constant to main, instead of
26336 1000 since main+1000 may not be a valid address in the target.
26337
26338 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26339 on hpux11.
26340
26341 * gdb.base/attach.exp: Handle another hpux11 error message variant
26342 when attaching to a process that does not exist.
26343
26344 1999-08-19 J.T. Conklin <jtc@redback.com>
26345
26346 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
26347 characters in 'continue to 1241' test.
26348
26349 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26350
26351 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26352 stop in print_long_arg_list, define and use a whitespace
26353 variable in print_small_structs test, add an XFAIL for Solaris.
26354 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26355 interested enough to fix.
26356
26357 1999-08-13 Keith Seitz <keiths@cygnus.com>
26358
26359 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26360 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26361 proc knows about targets other than the natives.
26362 (test_assign): Use "gdb_run_cmd" to "run" the target.
26363 Check that we've actually hit the breakpoint at main.
26364 When we attempt to assign a value to a local variable, check
26365 that the variable is in the current scope, i.e., don't use
26366 a test with an empty result.
26367
26368 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26369
26370 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
26371 command.
26372
26373 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26374
26375 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26376 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26377 gdb.compat, gdb.threads-hp.
26378 gdb.hp/configure, gdb.hp/configure.in: New files.
26379 gdb.hp/Makefile.in: Recurse into new subdirs.
26380 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26381 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26382 in object files.
26383 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26384
26385 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26386
26387 * gdb.base/display.exp: Help expect by putting a newline in the
26388 funky printf, remove a bogus p/a test.
26389
26390 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26391
26392 * gdb.base/display.exp: Make sure that when we say 'run', we are
26393 connected to the target. This is necessary when running not
26394 natively.
26395
26396 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26397
26398 * gdb.base/step-test.exp: Removed some extraneous messages.
26399
26400 * gdb.base/long_long.exp: Don't run memory examination tests
26401 on little-endian targets (they will need a different set of
26402 results to match).
26403
26404 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26405
26406 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26407 until somebody decides to fix GDB.
26408
26409 * gdb.base/long_long.c: Stop compiler complaint by specifying long
26410 constant as "ULL".
26411 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26412 matches for a couple x/2 commands.
26413
26414 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26415
26416 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26417 by merging in ref-types2 tests.
26418 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26419
26420 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26421 * gdb.c++/Makefile.in: Add standard actions.
26422 (EXECUTABLES): Rename from PROGS, update list.
26423 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26424 from gdb.hp.
26425 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26426 foo and bar locals.
26427 * gdb.c++/anon-union.exp: Fix tests to match.
26428 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26429 expect matches to handle output variations.
26430 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26431 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
26432 output, add HP alternatives for new and delete prints.
26433 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
26434 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
26435 * gdb.c++/demangle.exp: Use $style when reporting failure.
26436 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26437 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26438 match alternatives.
26439 * gdb.c++/local.exp: Add match alternatives or xfails for HP
26440 compilers.
26441 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26442 * gdb.c++/method.exp: Add match alternatives.
26443 * gdb.c++/misc.cc: Add bool types.
26444 * gdb.c++/misc.exp: Add tests for bool types.
26445 * gdb.c++/overload.exp: Add xfails.
26446 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26447 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26448 add some more template parameter tests (only for HP currently).
26449 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26450 * gdb.c++/virtfunc.cc: Add return type and value for main.
26451 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26452 match alternatives.
26453
26454 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26455
26456 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26457
26458 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26459
26460 * gdb.base/signals.exp: Don't expect getting a backtrace from
26461 within a signal handler to fail on Linux.
26462
26463 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26464
26465 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26466 * lib/gdb.exp: Remove some gratuitious semicolons.
26467 (delete_breakpoints): Increase timeout.
26468 (gdb_expect): Add -notransfer option.
26469 (gdb_test): Use -notransfer option.
26470 (get_compiler_info): Add f77 case.
26471 (get_compiler): New proc, split out from gdb_preprocess, add f77
26472 case.
26473 (gdb_preprocess): Call get_compiler.
26474
26475 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26476 * gdb.base/attach.exp, gdb.base/display.exp,
26477 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26478 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26479 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26480 third arg to gdb_test.
26481 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26482 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26483 HP-UX xfails, add others.
26484 * gdb.base/completion.exp: Reflect name change of self-test.
26485 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26486 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26487 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26488 HP failure number.
26489 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26490 useless HP-UX 10.30 references.
26491 * gdb.base/maint.exp: Loosen matches.
26492 * gdb.base/pointers.c (main): Declare more_code.
26493 * gdb.base/pointers.exp: Match on output of a `next'.
26494 * gdb.base/structs.c: Add prototypes.
26495 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26496 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26497
26498 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26499
26500 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26501 command.
26502
26503 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26504
26505 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26506 Fix run to main failures. Watchpoint can be hardware watchpoint.
26507
26508 * gdb.base/annota1.exp: Clean up some more, in case printf has
26509 debug info. Deal with lack of signal hanlder info in stack.
26510
26511 From Jim Kingdon <kingdon@redhat.com>:
26512 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26513
26514 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26515
26516 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26517 gdb.base/foll-vfork.exp: Don't run for crosses.
26518
26519 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26520
26521 * gdb.base/configure.in: Check for gdbvars.exp instead of
26522 a1-selftest.exp.
26523 * gdb.base/configure: Re-generate.
26524
26525 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26526
26527 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26528 in trying to run first and name is too long.
26529
26530 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26531 pointers2.c and pointers2.exp, respectively.
26532 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26533 doschk happier.
26534
26535 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26536
26537 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26538 callfuncs2.c and callfuncs2.exp.
26539
26540 * gdb.base/list.exp: Remove mistaken xfails.
26541 * gdb.base/list0.h: Add optional prototypes.
26542
26543 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26544
26545 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26546 calling malloc.
26547 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26548 * ptype.exp: Move test for get_debug_format to before its first
26549 use.
26550
26551 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26552
26553 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26554 * gdb.base/annota2.cc, annota2.exp: Move from here.
26555 * gdb.c++/annota2.cc, annota2.exp: To here.
26556 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26557
26558 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26559
26560 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26561 a consistent format.
26562
26563 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26564
26565 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26566 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26567 HP compilers, also set the globals $true and $false.
26568
26569 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26570 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26571 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26572 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26573 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26574 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26575 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26576 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26577 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26578 whatis.c} Add C++ compatible function definitions and return
26579 types, add includes for library functions.
26580 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26581 * gdb.base/step-test.c (myglob): Rename from glob.
26582 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26583 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26584 files, move here from gdb.hp.
26585 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26586 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26587 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26588 Adjust line numbers in regexps.
26589
26590 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26591 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26592 instead of 0/1.
26593
26594 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26595 foll-vfork.exp: New files, move here from gdb.hp.
26596 * gdb.base/page.exp: New file, test of pagination command.
26597
26598 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26599 recursion test.
26600 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26601
26602 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26603 gdb.base/solib.exp: Fix compiler invocation process.
26604
26605 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26606 HP-UX 11, turn off overload resolution explicitly.
26607 * gdb.base/commands.exp: Set argument list explicitly, add
26608 watchpoint test.
26609 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26610 them work.
26611 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26612 expressions properly.
26613 * gdb.base/corefile.exp: Loosen the match slightly.
26614 * gdb.base/default.exp: Allow "Error accessing memory" message
26615 also.
26616 * gdb.base/display.exp: Skip over x/0 j if PA64.
26617 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26618 * gdb.base/interrupt.exp: Ditto.
26619 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26620 in use.
26621 * gdb.base/list.exp: Add xfails for HP-UX.
26622 * gdb.base/long_long.exp: Refine some of the numeric matches.
26623 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26624 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26625 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26626 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26627 * gdb.base/ptype.exp: Succeed on more varieties of output.
26628 * gdb.base/scope.exp: Add xfails for HP-UX.
26629 * gdb.base/sect-cmd.exp: Add more cases.
26630 * gdb.base/setvar.exp: Add xfails for HP-UX.
26631 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26632 * gdb.base/signals.exp: Match on void symbolically.
26633 * gdb.base/step-test.exp: Add case for PA64.
26634 * gdb.base/term.exp: Add exit and restart.
26635 * gdb.base/twice.exp: Clean up after self.
26636 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26637 * gdb.base/whatis.exp: Allow more ways to pass tests.
26638
26639 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26640 no longer useful.
26641
26642 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26643
26644 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26645 list of patterns.
26646 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26647 print_double_array(double_array)", "continuing to breakpoint
26648 1018", "print print_double_array(array_d)" and "continuing to
26649 1034" tests.
26650
26651 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26652
26653 * Makefile.in: Add empty html and install-html targets.
26654
26655 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26656
26657 * config/mt-*: Remove, these haven't been used since 1996.
26658
26659 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26660
26661 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26662 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26663 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26664
26665 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26666
26667 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26668 simpler match case for the ptype of the big class.
26669
26670 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26671
26672 * gdb.exp: Fix test for gdb_prompt existence.
26673
26674 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26675
26676 * gdb.exp (gdb_test): Add fail after calls to perror.
26677
26678 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26679
26680 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26681
26682 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26683
26684 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26685
26686 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26687
26688 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26689 malloc() is linked in.
26690
26691 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26692
26693 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26694 step at end.
26695
26696 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26697
26698 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26699
26700 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26701
26702 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26703
26704 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26705 * gdb.base/mips_pro.exp: Likewise.
26706
26707 1999-06-02 Keith Seitz <keiths@cygnus.com>
26708
26709 * gdb.c++/templates.cc: Change all "new" operators to throw
26710 an exception.
26711 * gdb.c++/cplusfuncs.cc: Likewise.
26712
26713 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26714
26715 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26716
26717 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26718 * gdb.base/ending-run.exp: When stepping out of main, accept a
26719 step into an arbitrary assembler file.
26720
26721 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26722
26723 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26724 "breakpoint-invalid" to be printed.
26725 * gdb.base/annota2.exp: Revise line number for main
26726 breakpoint. Allow any number of "frames-invalid" and
26727 "breakpoint-invalid" to be printed.
26728 * gdb.base/annota2.cc: Initialize a.x to 0.
26729
26730 1999-05-17 Keith Seitz <keiths@cygnus.com>
26731
26732 * gdb.base/call-ar-st.exp: Skip
26733 "print print_double_array (double_array)" when "skip_float_tests" set.
26734 Ditto for "print print_double_array(array_d)",
26735 "print print_small_structs", "print print_ten_doubles", and
26736 "step into print_long_arg_list".
26737 Don't assume we can step into "print_long_arg_list": we could step
26738 into memcpy.
26739 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26740 "skip_float_tests" is set: "print print_one_double(*d1)"
26741 and "print print_two_floats(*f3)".
26742 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26743 "skip_float_tests" is set.
26744 * gdb.base/varargs.exp: Skip
26745 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26746 "skip_float_tests" set.
26747
26748 1999-05-06 Keith Seitz <keiths@cygnus.com>
26749
26750 * gdb.base/annota2.cc: Include stdio.h.
26751
26752 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26753
26754 * gdb.base/crossload.exp: Remove, this has been disabled ever
26755 since BFD stopped including all targets, and cross-GDB gets
26756 plenty of testing anyway.
26757 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26758 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26759 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26760 * gdb.base/README: Remove, was doc for this.
26761 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26762 needed.
26763
26764 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26765
26766 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26767 output.
26768
26769 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26770 * gdb.base/annota2.exp: New file. More annotation tests.
26771 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26772 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26773
26774 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26775
26776 * config/cfdbug.exp: New file.
26777
26778 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26779
26780 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26781 Marcus Daniel's and Dale Hawkins's demangler crashes.
26782
26783 * gdb.c++/demangle.exp (test_gnu_style_demangling,
26784 test_lucid_style_demangling, test_arm_style_demangling,
26785 test_hp_style_demangling): Try Tom Tromey's core-dumping
26786 identifier under each demangling style.
26787
26788 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26789
26790 * gdb.c++/demangle.exp: Include the current demangling style
26791 in all test names.
26792 (current_demangling_style): New global variable.
26793 (set_demangling_style, test_demangling_core, test_demangling,
26794 test_demangling_exact): New functions.
26795 (test_gnu_style_demangling, test_lucid_style_demangling,
26796 test_arm_style_demangling, test_hp_style_demangling): Use those,
26797 instead of calling gdb_test and gdb_test_exact directly.
26798 (catch_demangling_errors): New function, which reports errors
26799 signalled by the demangling test functions in an orderly way.
26800 (do_tests): Use catch_demangling_errors.
26801
26802 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26803
26804 * gdb.base/signals.exp (test_handle_all_print): Use () for
26805 grouping in expressions, not {}.
26806
26807 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
26808 initialized yet.
26809
26810 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26811
26812 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26813 are listed.
26814
26815 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26816
26817 * gdb.stabs/weird.exp: Test for CC being defined before
26818 looking at its value.
26819
26820 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26821
26822 * gdb.base/call-ar-st.exp: Remove stray '#'.
26823 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26824 "short int" and "long int".
26825 * gdb.c++/overload.cc: Cast the string added in the previous
26826 change, to mollify finicky HP compiler.
26827 * gdb.hp/reg-test.exp (testfile): Fix file name.
26828 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26829
26830 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26831 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26832 alternate form of enum ptype.
26833
26834 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26835
26836 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26837 * gdb.hp/*.exp: Change all to run compiler probe only after
26838 passing skip_hp_tests, so as not to waste time on guaranteed
26839 failure.
26840
26841 * gdb.c++/overload.cc: Pass string instead of char addr, always
26842 init ccpfoo.
26843 * gdb.c++/templates.cc: Fix syntax error.
26844
26845 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26846
26847 * gdb.base/commands.exp: Add test for correct position of '>'
26848 when issuing the 'commands' command after a 'while' or 'if'
26849 command.
26850
26851 1999-03-18 James Ingham <jingham@cygnus.com>
26852
26853 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26854
26855 * gdb.c++/method.exp: It was testing an uninitialized int on the
26856 stack and assuming it was positive.
26857
26858 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26859
26860 * gdb.base/step-test.exp: Catch a case where finish is broken and
26861 keep it from killing the rest of the tests.
26862 Use gdb_continue_to_end.
26863
26864 * gdb.base/sigall.exp: use gdb_continue_to_end.
26865
26866 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26867
26868 * gdb.base/display.exp: use runto_main, not run.
26869
26870 * gdb.base/default.exp: Check for the current error message in the
26871 r abbreviation test.
26872 Add strongarm to the targets that know info float.
26873
26874 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26875 run which doesn't work with monitors.
26876
26877 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26878 1034 test.
26879
26880 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26881
26882 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26883 end of a program. Traps the case (in Cygmon) when the program
26884 never really exits. Same as Mark's continue_to_exit, but I had
26885 put it in a lot more places, so I used my name. Sorry Mark...
26886
26887 * config/monitor.exp (gdb_target_monitor): added another
26888 target_info parameter: remotebinarydownload. This will set the
26889 remotebinarydownload flag if this is causing some boards trouble.
26890
26891 1999-03-18 Mark Salter <msalter@cygnus.com>
26892
26893 * lib/gdb.exp (continue_to_exit): New function.
26894
26895 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26896 * gdb.base/ending-run.exp: Ditto.
26897 * gdb.base/step-test.exp: Ditto.
26898
26899 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26900
26901 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26902 (suggested by Art Haas <ahaas@neosoft.com>).
26903
26904 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26905
26906 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26907
26908 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26909
26910 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26911 descriptions of types (short unsigned int vs unsigned short, etc).
26912
26913 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26914
26915 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26916 a call to strlen; sometimes we do have sources.
26917
26918 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26919
26920 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26921 character, so GDB won't print garbage after its end.
26922
26923 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26924 breakpoint there instead. Sometimes GCC emits memcpy to handle
26925 the large structures being passed by value, so we step into that
26926 instead of sum_array_print, which obscures what we're really testing.
26927 * gdb.base/step-test.exp: However, we do want a test that notices
26928 the bizarre steps into memcpy, so do that here. Add check for
26929 stepping into function calls that pass large structures by value.
26930 ("Is that a noun clause, or are you just happy to see me?")
26931 Remove all references to specific line numbers.
26932 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26933 New type and function.
26934 (main): Call large_struct_by_value, passing it a large struct by value.
26935 * lib/gdb.exp (gdb_get_line_number): New function.
26936
26937 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26938 more portable.
26939
26940 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26941
26942 * lib/gdb.exp: Doc fixes.
26943
26944 1999-03-05 Nick Clifton <nickc@cygnus.com>
26945
26946 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26947
26948 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26949
26950 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26951 commands. They're not germane to this test, and they don't work
26952 that way on remote targets.
26953
26954 1999-03-01 James Ingham <jingham@cygnus.com>
26955
26956 * Changelog entries merged over from gdb development branch.
26957
26958 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26959
26960 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26961 for outputting results of test run.
26962
26963 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
26964
26965 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26966
26967 1999-02-25 Felix Lee <flee@cygnus.com>
26968
26969 * lib/gdb.exp (debug_format): initialize
26970
26971 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26972
26973 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26974 * gdb.base/call-rt-st.c: Ditto.
26975
26976 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26977
26978 * gdb.threads/pthreads.exp (horiz): New variable.
26979 (test_startup): Fix regexps that capture thread numbers.
26980
26981 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26982
26983 * gdb.base/smoke.exp: Disambiguate two test case names (both
26984 called ``print'').
26985
26986 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26987
26988 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26989 compilation.
26990
26991 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26992
26993 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26994 actual output formatting.
26995 * gdb.base/smoke.exp: GDB removes leading 0's.
26996 * gdb.base/volatile.exp: Don't check type of remuneration;
26997 that variable is no longer defined in constvars.c.
26998 * gdb.base/step-test.c (main): Exit with explicit exit code.
26999 * gdb.base/step-test.exp: Remove two nexti checks--they are
27000 not portable.
27001
27002 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27003
27004 * gdb.base/help.exp ("help delete display"): Fix test to match
27005 gdb's output.
27006
27007 * gdb.base/long_long.c (known_types): Initialize values to zero.
27008 * gdb.base/long_long.exp: Step one more line
27009 so 'dec' is initialized in "get to known place". GDB removes
27010 leading zeros. Explicitly ask for hex formatting. Use
27011 unique test case names.
27012
27013 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27014
27015 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
27016
27017 * gdb.c++/method.exp: Add missing close brace.
27018
27019 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
27020
27021 * gdb.base/maint.exp: Use 'set height 0' to disable page
27022 prompting, not 'set height 400'.
27023
27024 Fix a bunch of timeouts.
27025 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
27026 four separate tests, so expect doesn't take forever to match a ton
27027 of text against a regexp with lots of .* forms.
27028 ("maint print psymbols", "maint print symbols"): Make some of
27029 these greps more selective, so that expect doesn't try to wade
27030 through huge piles of output and time out.
27031
27032 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27033
27034 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
27035 tests: one which doesn't expect shlib events to be reported, and
27036 another which does, but is XFAIL for all platforms other than
27037 HP/UX.
27038
27039 * gdb.base/break.exp: Teach the test suite that the `catch
27040 fork', `catch vfork', and `catch exec' commands produce error
27041 messages on platforms that don't provide these features.
27042
27043 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27044
27045 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
27046 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27047 (shortening names from solib_threshold.exp etc), won't run on
27048 anything but HP-UX for the foreseeable future.
27049 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
27050 reflect move.
27051
27052 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27053
27054 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27055 gdb.trace/Makefile.in (clean): Remove all test executables.
27056
27057 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27058
27059 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27060 successfully re-sets breakpoints in shared libraries.
27061 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27062
27063 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27064
27065 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27066 and compiled w/o GCC.
27067
27068 * gdb.hp/watch-cmd.exp: ditto.
27069
27070 * gdb.hp/watch-hp.exp: ditto.
27071
27072 * gdb.hp/xdb1.exp: ditto.
27073
27074 * gdb.hp/xdb2.exp: ditto.
27075
27076 * gdb.hp/dbx.exp: ditto.
27077
27078 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27079
27080 * constvars.c: Remove C++-isms.
27081 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
27082 with GCC.
27083
27084 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27085
27086 The following changes are part of the HP merge.
27087
27088 * gdb.base/break.exp: new tests to verify that catchpoints for
27089 fork, vfork, and exec don't trigger inappropriately.
27090
27091 * gdb.base/opaque.exp: compile one file at a time, then link.
27092
27093 * gdb.base/signals.exp: be more restrictive about which hppa
27094 systems receive a setup_xfail. new tests.
27095
27096 * gdb.base/solib_threshold.build: new file.
27097 * gdb.base/solib_threshold.exp: new file.
27098 * gdb.base/solib_threshold.link_opts: new file.
27099 * gdb.base/solib_threshold.mk: new file.
27100 * gdb.base/gen_solib_threshold.c: new file.
27101
27102 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27103 tests. New tests for enums inside classes.
27104
27105 * gdb.c++/compiler.cc: indicate support of template debugging.
27106
27107 * gdb.c++/demangle.exp: run hp style demangling tests.
27108
27109 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27110 tests.
27111
27112 * gdb.c++/misc.cc: changes to support new tests.
27113
27114 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27115 to support new tests.
27116
27117 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27118 gcc, then skip these tests.
27119
27120 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27121
27122 The following files are part of the HP merge; some had longer
27123 names at HP, but have been renamed to be no more than 14
27124 characters in length.
27125
27126 * gdb.hp/ambiguous.cc: new file.
27127 * gdb.hp/ambiguous.exp: new file.
27128 * gdb.hp/attach.exp: new file.
27129 * gdb.hp/attach2.exp: new file.
27130 * gdb.hp/classes-hp.exp: new file.
27131 * gdb.hp/ctti.exp: new file.
27132 * gdb.hp/ctti-add.cc: new file.
27133 * gdb.hp/ctti-add1.cc: new file.
27134 * gdb.hp/ctti-add2.cc: new file.
27135 * gdb.hp/ctti-add3.cc: new file.
27136 * gdb.hp/dbx.exp: new file.
27137 * gdb.hp/exception.cc: new file.
27138 * gdb.hp/exception.exp: new file.
27139 * gdb.hp/foll-exec.c: new file.
27140 * gdb.hp/foll-exec.exp: new file.
27141 * gdb.hp/foll-fork.c: new file.
27142 * gdb.hp/foll-fork.exp: new file.
27143 * gdb.hp/foll-vfork.c: new file.
27144 * gdb.hp/foll-vfork.exp: new file.
27145 * gdb.hp/inherit-hp.exp: new file.
27146 * gdb.hp/more-steps.exp: new file.
27147 * gdb.hp/namespace.cc: new file.
27148 * gdb.hp/namespace.exp: new file.
27149 * gdb.hp/optimize.exp: new file.
27150 * gdb.hp/pxdb.c: new file.
27151 * gdb.hp/pxdb.exp: new file.
27152 * gdb.hp/quicksort.exp: new file.
27153 * gdb.hp/reg-test.exp: new file.
27154 * gdb.hp/reg-test.s: new file.
27155 * gdb.hp/sized-enum.c: new file.
27156 * gdb.hp/sized-enum.exp: new file.
27157 * gdb.hp/start-stop.exp: new file.
27158 * gdb.hp/templ-hp.cc: new file.
27159 * gdb.hp/templ-hp.exp: new file.
27160 * gdb.hp/thr-lib.c: new file.
27161 * gdb.hp/thr-lib.exp: new file.
27162 * gdb.hp/thr-lib.h: new file.
27163 * gdb.hp/thr-liblib.c: new file.
27164 * gdb.hp/virtfun-hp.c: new file.
27165 * gdb.hp/virtfun-hp.exp: new file.
27166 * gdb.hp/watch-cmd.exp: new file.
27167 * gdb.hp/watch-hp.exp: new file.
27168 * gdb.hp/xdb1.exp: new file.
27169 * gdb.hp/xdb2.exp: new file.
27170 * gdb.hp/xdb3.exp: new file.
27171
27172 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27173
27174 The following files are part of the HP merge; some had longer
27175 names at HP, but have been renamed to be no more than 14
27176 characters in length.
27177
27178 * gdb.base/ss.h: new file.
27179 * gdb.base/call-ar-st.c: new file.
27180 * gdb.base/call-ar-st.exp: new file.
27181 * gdb.base/call-rt-st.c: new file.
27182 * gdb.base/call-rt-st-exp: new file.
27183 * gdb.base/call-strs.exp: new file.
27184 * gdb.base/ena-dis-br.exp: new file.
27185 * gdb.base/environ.exp: new file.
27186 * gdb.base/long_long.exp: new file.
27187 * gdb.base/sect-cmd.exp: new file.
27188 * gdb.base/shlib-cl2.exp: new file.
27189 * gdb.base/smoke.exp: new file.
27190 * gdb.base/so-impl-ld.c: new file.
27191 * gdb.base/so-impl-ld.exp: new file.
27192 * gdb.base/so-indr-cl.c: new file.
27193 * gdb.base/so-indr-cl.exp: new file.
27194 * gdb.base/varargs.exp: new file.
27195 * gdb.base/volatile.exp: new file.
27196 * gdb.base/whatis-exp.exp: new file.
27197 * gdb.base/display.exp: new file.
27198 * gdb.c++/derivation.exp: new file.
27199 * gdb.c++/local.exp: new file.
27200 * gdb.c++/member-ptr.exp: new file.
27201 * gdb.c++/overload.exp: new file.
27202 * gdb.c++/ovldbreak.exp: new file.
27203 * gdb.c++/ref-types.exp: new file.
27204 * gdb.c++/ref-types2.exp: new file.
27205 * gdb.c++/userdef.exp: new file.
27206
27207 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27208
27209 * gdb.base/default.exp: Reflect wording change in remote.c.
27210
27211 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
27212
27213 * gdb.base/help.exp: Update to reflect current text.
27214
27215 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27216
27217 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27218 they're stack variables and contain garbage.
27219 * gdb.c++/anon-union.exp: new file.
27220
27221 The following changes were made by David Taylor
27222 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27223 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27224 in changes by HP.
27225
27226 * gdb.base/bitops.exp: new file.
27227 * gdb.base/default.exp: change expected messages for catch and
27228 info catch tests to reflect HP merge changes.
27229 * gdb.base/enable-disable-break.exp
27230 * gdb.base/ending-run.c: new file.
27231 * gdb.base/long_long.c: new file.
27232 * gdb.base/maint.exp: new file.
27233 * gdb.base/pointers2.exp: new file.
27234 * gdb.base/shlib-call2.exp: new file.
27235 * gdb.base/solib.exp: new file.
27236 * gdb.base/step-test.c: new file.
27237 * gdb.c++/anon-union.cc: new file.
27238 * gdb.c++/local.cc: new file.
27239 * gdb.c++/member-pointer.cc: new file.
27240 * gdb.c++/method.cc: new file.
27241 * gdb.c++/ref-types.cc: new file.
27242 * gdb.c++/ref-types2.cc: new file.
27243 * gdb.c++/userdef.cc: new file.
27244
27245 * gdb.base/scope.exp: compile one file at a time, then link.
27246 * gdb.base/langs.exp: ditto.
27247 * gdb.base/list.exp: ditto.
27248
27249 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
27250
27251 The following changes were made by David Taylor
27252 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27253 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27254 in changes by HP.
27255
27256 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27257 skip tests. When compiling pass c++ flag to gdb_compile.
27258 * gdb.c++/
27259
27260 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27261 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27262 (skip_hp_tests): new function.
27263 (gdb_preprocess): new function.
27264
27265 * configure.in (hpdir): decide whether to configure gdb.hp.
27266 * configure: regenerated.
27267
27268 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27269 to delete on clean.
27270 (EXECUTABLES): update to reflect new additions.
27271 * gdb.base/commands.exp: update message expected.
27272 * gdb.base/default.exp: add copyright notice.
27273 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27274 * gdb.base/help.exp: update messages to reflect current text.
27275 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27276 targets for recurse tests.
27277 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27278 skip this file.
27279
27280 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27281 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27282 compilation.
27283 * gdb.c++/misc.exp: ditto.
27284 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27285 run the tests. tell gdb_compile that it's a c++ compilation.
27286
27287 * gdb.threads/pthreads.exp: fix typo in message.
27288
27289 * gdb.base/all-bin.exp: new file.
27290 * gdb.base/arithmet.exp: new file.
27291 * gdb.base/assign.exp: new file.
27292 * gdb.base/completion.exp: new file.
27293 * gdb.base/cond-expr.exp: new file.
27294 * gdb.base/condbreak.exp: new file.
27295 * gdb.base/define.exp: new file.
27296 * gdb.base/dollar.exp: new file.
27297 * gdb.base/environment.exp: new file.
27298 * gdb.base/eval-skip.exp: new file.
27299 * gdb.base/jump.exp: new file.
27300 * gdb.base/logical.exp: new file.
27301 * gdb.base/pointers.exp: new file.
27302 * gdb.base/relational.exp: new file.
27303 * gdb.base/section_command.exp: new file.
27304 * gdb.base/whatis-expr.exp: new file.
27305
27306 * gdb.base/all-types.c: new file.
27307 * gdb.base/call-array-struct.c: new file.
27308 * gdb.base/call-return-struct.c: new file.
27309 * gdb.base/call-strings.c: new file.
27310 * gdb.base/callfuncs2.c: new file.
27311 * gdb.base/condbreak.c: new file.
27312 * gdb.base/constvars.c: new file.
27313 * gdb.base/display.c: new file.
27314 * gdb.base/int-type.c: new file.
27315 * gdb.base/jump.c: new file.
27316 * gdb.base/miscexprs.c: new file.
27317 * gdb.base/pointers.c: new file.
27318 * gdb.base/pointers2.c: new file.
27319 * gdb.base/shmain.c: new file.
27320 * gdb.base/shr1.c: new file.
27321 * gdb.base/shr2.c: new file.
27322 * gdb.base/solib.c: new file.
27323 * gdb.base/solib1.c: new file.
27324 * gdb.base/solib2.c: new file.
27325 * gdb.base/varargs.c: new file.
27326 * gdb.c++/derivation.cc: new file.
27327 * gdb.c++/overload.cc: new file.
27328 * gdb.c++/ovldbreak.cc: new file.
27329 * gdb.hp/attach.c: new file.
27330 * gdb.hp/attach2.c: new file.
27331 * gdb.hp/average.c: new file.
27332 * gdb.hp/compiler.c: new file.
27333 * gdb.hp/compiler.cc: new file.
27334 * gdb.hp/execd-program.c: new file.
27335 * gdb.hp/follow-exec.c: new file.
27336 * gdb.hp/follow-fork.c: new file.
27337 * gdb.hp/follow-vfork-and-exec.c: new file.
27338 * gdb.hp/misc-hp.cc: new file.
27339 * gdb.hp/more-steps.c: new file.
27340 * gdb.hp/optimize.c: new file.
27341 * gdb.hp/quicksort.c: new file.
27342 * gdb.hp/run-hp.c: new file.
27343 * gdb.hp/start-stop.c: new file.
27344 * gdb.hp/sum.c: new file.
27345 * gdb.hp/templates-hp.cc: new file.
27346 * gdb.hp/thread-local-in-lib.c: new file.
27347 * gdb.hp/thread-local-in-lib.h: new file.
27348 * gdb.hp/thread-local-in-lib.lib.c: new file.
27349 * gdb.hp/vforked-program.c: new file.
27350 * gdb.hp/virtfunc-hp.cc: new file.
27351 * gdb.hp/watchpoint-hp.c: new file.
27352 * gdb.hp/xdb.c: new file.
27353 * gdb.hp/xdb0.c: new file.
27354 * gdb.hp/xdb0.h: new file.
27355 * gdb.hp/xdb1.c: new file.
27356
27357 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27358
27359 The following change was made by Edith Epstein
27360 <eepstein@cygnus.com> as part of a project to merge in changes
27361 originally made by HP; HP did not create ChangeLog entries.
27362
27363 * gdb.c++/demangle.exp: changed the expected output for some
27364 ARM-style mangling -- removed second reference to datatype.
27365 For example, maint demangle __dt__11T1__pt__2_cFv
27366 T1<char>::~T1<char>(void)
27367 becomes,
27368 maint demangle __dt__11T1__pt__2_cFv
27369 T1<char>::~T1(void)
27370
27371 (test_hp_style_demangling): new hp specific demangling test cases.
27372
27373 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27374
27375 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27376 * gdb.trace/backtrace.exp: Likewise.
27377 * gdb.trace/circ.exp: Likewise.
27378 * gdb.trace/collection.exp: Likewise.
27379 * gdb.trace/deltrace.exp: Likewise.
27380 * gdb.trace/infotrace.exp: Likewise.
27381 * gdb.trace/limits.exp: Likewise.
27382 * gdb.trace/packetlen.exp: Likewise.
27383 * gdb.trace/passc-dyn.exp: Likewise.
27384 * gdb.trace/passcount.exp: Likewise.
27385 * gdb.trace/report.exp: Likewise.
27386 * gdb.trace/save-trace.exp: Likewise.
27387 * gdb.trace/tfind.exp: Likewise.
27388 * gdb.trace/tracecmd.exp: Likewise.
27389 * gdb.trace/while-dyn.exp: Likewise.
27390 * gdb.trace/while-stepping.exp: Likewise.
27391
27392 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27393
27394 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27395
27396 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27397
27398 From Brendan Kehoe:
27399 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27400 int return types.
27401
27402 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27403
27404 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
27405 remote dos host testing right.
27406
27407 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27408
27409 * gdb.base/corefile.exp: remove some xfails.
27410
27411 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27412
27413 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
27414 have different timestamps.
27415
27416 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27417
27418 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
27419 gdb.base/default.exp: Replace "exec" with "executable".
27420
27421 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27422
27423 * gdb.base/default.exp: Change else if to elseif from previous
27424 delta.
27425
27426 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27427
27428 * gdb.base/default.exp: Add brace missing from previous delta.
27429
27430 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27431
27432 * gdb.base/default.exp: Support test for info float for all
27433 varieties of arm toolchain.
27434
27435 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
27436
27437 * gdb.trace/*.exp: remove "remote_download" command.
27438
27439 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
27440
27441 * gdb.trace/*.exp: remove -gdwarf from compile.
27442
27443 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27444
27445 * gdb.trace/configure.in(AC_INIT): typo
27446 * gdb.trace/configure: regenerated
27447
27448 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27449
27450 * config/m68k-emc.exp: New file.
27451 * lib/<emc-support.exp trace-support.exp}: New files.
27452 * configure.in: add new test directory gdb.trace.
27453 * gdb.trace/{configure configure.in Makefile.in}: New files.
27454 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27455 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27456 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27457 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27458 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27459 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27460 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27461
27462 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27463
27464 * gdb.c++/classes.exp: Change all regular expressions to match
27465 arbitrary combinations of newline/carriage-return, so that they
27466 will work equally well on Unix and Windows.
27467 * gdb.c++/inherit.exp: ditto.
27468 * gdb.c++/virtfunc.exp: ditto.
27469
27470 1998-08-11 Dawn Perchik <dawn@cygnus.com>
27471
27472 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27473
27474 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27475
27476 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27477 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27478 to use a0-a3/d0-d3 as needed.
27479
27480 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27481
27482 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27483 * gdb.disasm/am33.exp: Corresponding changes.
27484
27485 1998-07-11 Felix Lee <flee@cygnus.com>
27486
27487 * gdb.base/callfuncs.exp: add cmp10 test.
27488 * gdb.base/callfuncs.c (cmp10): new function.
27489
27490 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27491
27492 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27493 into two parts to get around a synchronization problem in expect.
27494
27495 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27496
27497 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27498
27499 * configure.in: Add options for gdbtk testsuite.
27500
27501 * configure: Regenerate.
27502
27503 * gdb.gdbtk: New directory to hold gdbtk tests.
27504
27505 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27506
27507 * gdb.fortran/types.exp: Escape brackets in expect patterns
27508 for test_float_literal_types_accepted tests.
27509 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27510 before run test.
27511
27512 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27513
27514 * am33.exp: Just compile, do not link the testcase.
27515 * am33.s: Add ".am33" pseudoop to force am33 mode.
27516
27517 1998-06-25 Felix Lee <flee@cygnus.com>
27518
27519 * gdb.base/setshow.exp: make sure $pc is sane.
27520
27521 * gdb.stabs/weird.exp: split expect patterns properly.
27522
27523 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27524
27525 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27526 * gdb.disasm/am33.exp: Run it.
27527
27528 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27529
27530 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27531 match processing (and eliminate spurious timeouts when running).
27532
27533 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27534
27535 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27536 exception test, but conditionalize it on target [mach | gnu].
27537
27538 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27539
27540 * gdb.base/overlays.exp: fixup compile line for linker script.
27541
27542 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27543
27544 * gdb.fortran/types.exp: don't guess at float size.
27545
27546 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27547
27548 * gdb.base/exprs.exp: delete test that depends on int size.
27549
27550 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27551
27552 * config/sim.exp: Removed checks for target triplets.
27553 (gdb_target_sim): Use gdb,target_sim_options.
27554
27555 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27556
27557 * gdb.base/reread.exp: New file.
27558 * gdb.base/reread1.c: New file.
27559 * gdb.base/reread2.c: New file.
27560
27561 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27562
27563 * config/sim.exp: Use 'target sim -sparclite' when running
27564 SPARClite programs.
27565
27566 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27567
27568 * gdb.base/structs2.exp: New file.
27569 * gdb.base/structs2.c: New file.
27570
27571 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27572
27573 * gdb.asm/common.inc: New file.
27574 * gdb.asm/d10v.inc: New file.
27575 * asm-source.exp: Pass -I's to gas to find .inc files.
27576 Update line numbers in expected output.
27577 * asmsrc1.s: Rewrite.
27578 * asmsrc2.s: Rewrite.
27579 * configure.in: Create arch.inc symlink.
27580 * configure: Regenerate.
27581 * Makefile.in (distclean): Delete arch.inc.
27582
27583 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27584
27585 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27586 (t_enum_value2): ditto
27587 (t_enum_value3): ditto
27588 (main): ditto
27589 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27590
27591 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27592 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27593 change.
27594 Use gdb_test instead of send_gdb/gdb_expect sequences.
27595
27596 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27597
27598 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27599 not void.
27600
27601 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27602
27603 * gdb.base/branches.c: Code with lots of loops and
27604 subroutines. Used to test gdbs ability to single step through PC
27605 changes, especially to test mips-tdep.c:mips_next_pc
27606
27607 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27608
27609 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27610 more rigorous EGCS C++ error checking.
27611
27612 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27613
27614 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27615 tests.
27616 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27617 function when asleep.
27618 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27619 for i*86 Linux and SVR4 signal handling problems.
27620 Remove linux xfail for `next to handler in signals_tests_1', fixed
27621 by recent infrun.c change.
27622 Limit backtrace to 10 frames to avoid timeout problems with infinite
27623 stack backtraces.
27624 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27625 target.[ch] change.
27626
27627 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27628
27629 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27630 for a newline from gdb before continuing.
27631 (default_gdb_exit): Just look for y or n.
27632 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27633 it does, fail the rests of the tests in the file.
27634
27635 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27636
27637 * config/cygmon.exp: New file.
27638
27639 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27640
27641 * gdb.base/list.exp: Fix problem with "list default lines around
27642 main" test on remote targets.
27643
27644 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27645 run test on remote targets.
27646
27647 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27648
27649 * gdb.asm: New directory.
27650 * configure.in: Configure it.
27651 * configure: Regenerate.
27652 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27653 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27654
27655 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27656
27657 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27658
27659 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27660
27661 * gdb.base/overlays (several files): Merge the two overlay
27662 managers into one. Change variables (foox, barx, bazx, grbxx)
27663 back into ints but force them to load in their proper sections.
27664
27665 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27666
27667 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27668 on-chip insn memory and IMAP1 to upper 128k.
27669 (D10VCopy): Handle memory regions crossing 16k boundaries.
27670 (D10VCopy): Transfer data in 32 bit chunks.
27671
27672 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27673
27674 * gdb.base/overlays.c (main): Exit normally when result is
27675 correct.
27676
27677 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27678 map. Include space for printf in .text segment.
27679
27680 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27681 updated d10v memory VMA/LMA map.
27682 (D10VCopy): Call D10VTranslate.
27683
27684 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27685
27686 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27687
27688 * gdb.base/bar.c (barx, bar): Change variable to small array so
27689 that it won't be put into the .sdata - small data -
27690 section. Update reference.
27691 * gdb.base/baz.c (bazx, baz): Ditto.
27692 * gdb.base/foo.c (foox, foo): Ditto.
27693 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27694
27695 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27696 to be arrays.
27697
27698 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27699
27700 * gdb.base/overlays.exp: fix up and get working again.
27701 Add tests for backtraces from an overlay function.
27702
27703 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27704
27705 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27706 "calling function with watchpoint enabled".
27707
27708 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27709
27710 * gdb.base/break.exp (test_next_with_recursion): Remove
27711 gdb_suppress_tests for d10v-*-*.
27712 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27713 pending review of whether it is useful or not.
27714
27715 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27716
27717 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27718
27719 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27720
27721 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27722 * config/dve.exp: New file to support Densan boards.
27723
27724 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27725
27726 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27727 reads and BSD.
27728
27729 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27730
27731 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27732 response.
27733
27734 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27735
27736 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27737
27738 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27739 test.
27740
27741 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27742 target_sizeof_long and target_bigendian_p.
27743 (structs_by_value, structs_by_reference): Check values according
27744 to targets word size and endianess.
27745
27746 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27747
27748 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27749 output.
27750
27751 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27752
27753 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27754 Update test of set args help to match source change.
27755
27756 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27757
27758 * gdb.base/default.exp: Expect help system output to be in
27759 alphabetical order.
27760 * gdb.base/help.exp: Ditto.
27761
27762 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27763
27764 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27765 "i*86-pc-linux-gnu*".
27766 * gdb.base/interrupt.exp: Ditto.
27767 * gdb.base/corefile.exp: Ditto.
27768
27769 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27770 define vxworks when building the testcase.
27771
27772 * gdb.base/ptype.exp: Fix testnames to be unique.
27773 * gdb.base/radix.exp: Ditto.
27774 * gdb.base/term.exp: Ditto.
27775 * gdb.base/whatis.exp: Ditto.
27776 * gdb.c++/classes.exp: Ditto.
27777
27778 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27779
27780 * gdb.base/callfuncs.exp: Fix indentation.
27781
27782 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27783 suppress_flag has been set.
27784 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27785 target feature.
27786
27787 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27788
27789 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27790 the testcase.
27791
27792 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27793 set_debug_traps() and breakpoint().
27794 * gdb.c++/misc.cc (main): Ditto.
27795 * gdb.c++/templates.cc (main): Ditto.
27796 * gdb.c++/virtfunc.cc (main): Ditto.
27797
27798 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27799
27800 * lib/gdb.exp(gdb_step_for_stub): New function.
27801 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27802 exists, reload the executable and do a "continue" instead of
27803 doing a jump.
27804 (runto_main): Use gdb_step_for_stub.
27805
27806 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27807 tests to have unique names.
27808 * gdb.base/callfuncs.exp: Ditto.
27809 * gdb.base/commands.exp: Ditto.
27810 * gdb.base/default.exp: Ditto.
27811 * gdb.base/help.exp: Ditto.
27812 * gdb.base/list.exp: Ditto.
27813 * gdb.base/opaque.exp: Ditto.
27814 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27815 similar tests.
27816
27817 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27818 * gdb.c++/cplusfuncs.cc: Ditto.
27819 * gdb.c++/virtfunc.cc: Ditto.
27820
27821 * config/monitor.exp: Keep track of the last file we saw, rather
27822 than trying to get the info from gdb.
27823
27824 * gdb.fortran/types.exp: Move comment to previous line.
27825
27826 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27827
27828 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27829 target mode.
27830
27831 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27832
27833 From Bob Manson:
27834 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27835 string from GDB when it connects.
27836
27837 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27838
27839 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27840
27841 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27842 if we can't get a debug format from GDB (we may be testing an
27843 older GDB). Use a 10 second timeout when checking for the format.
27844
27845 * gdb.stabs/weird.exp: Fix quoting.
27846
27847 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27848
27849 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27850
27851 * config/arm-ice.exp: New file.
27852
27853 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27854
27855 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27856 until it has been modified to work with the new testsuite.
27857
27858 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27859 testcase won't compile, cause all of the testcases in the file to
27860 fail instead.
27861
27862 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27863 (gdb_clear_suppressed): New procedure.
27864 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27865 it contains a positive value.
27866
27867 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27868
27869 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27870
27871 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27872
27873 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27874
27875 * lib/gdb.exp (setup_xfail_format): New function.
27876 (get_debug_format): New function to get debug format.
27877 (debug_format): New global variable to hold last value set
27878 by get_debug_format.
27879 * gdb.base/list.exp: Call get_debug_format and expect some
27880 tests to fail for DWARF 1 and COFF formats.
27881 * gdb.c++/ptype.exp: Ditto.
27882 * gdb.c++/classes.exp: Ditto.
27883 * gdb.c++/cplusfuncs.exp: Ditto.
27884 * gdb.c++/inherit.exp: Ditto.
27885 * gdb.c++/templates.exp: Ditto.
27886 * gdb.c++/virtfunc.exp: Ditto.
27887
27888 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27889
27890 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27891 host doesn't have a currently-open connection.
27892
27893 * config/sparclet.exp: Cleanups and fixes to make it generic for
27894 any gdb stub target. Handle cases where gdb doesn't respond when
27895 interrupted in a sane fashion.
27896
27897 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27898 same thing in a totally different way.
27899
27900 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27901 setting "timeout".
27902 (gdb_start): We set the global gdb_prompt variable in
27903 default_gdb_init now.
27904
27905 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27906
27907 * gdb.base/printcmds.exp: Fix "check for floating addition"
27908 regexp to accept results within approx +/- .01 of exact value.
27909 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27910
27911 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27912
27913 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27914 properly.
27915 (gdb_expect): Add optional timeout parameter, and add timeout
27916 value to various calls.
27917 (gdb_suppress_tests): Only give one warning message per group.
27918
27919 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27920
27921 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27922 global variables. Handle getting a value for $timeout more
27923 gracefully.
27924
27925 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27926
27927 * lib/gdb.exp: Close connection to remote host if gdb doesn't
27928 initialize.
27929 (default_gdb_init): New procedure; allow gdb_init to be overridden
27930 by a target configuration file.
27931 (gdb_expect): Pass the timeout to remote_expect.
27932
27933 * config/monitor.exp(gdb_load): Fix typo in regexp.
27934
27935 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27936
27937 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27938
27939 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27940
27941 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27942 here. Call gdb_target_exec before rebooting the target, to make
27943 sure the connection to the target is closed.
27944 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27945 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27946 Also detect "Timeout reading from remote" error.
27947
27948 * config/gdbserver.exp: Pass the executable being loaded to
27949 gdb_target_monitor. Don't call gdb_file_cmd here; let
27950 gdb_target_monitor do it.
27951
27952 * gdb.disasm/hppa.exp: Don't use exec_output.
27953
27954 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27955
27956 * gdb.base/list.exp: If we're debugging a non-native target,
27957 try to set the pc register to point to the start of the
27958 program before doing the first list command.
27959
27960 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27961 test_calls after restarting.
27962
27963 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27964 reloading.
27965
27966 * gdb.base/watchpoint.exp: Fix typo.
27967
27968 * gdb.base/setshow.exp: Check for use_gdb_stub.
27969
27970 * gdb.base/break.exp: Fix continue until exit test for the gdb
27971 stub case.
27972 * gdb.base/langs.exp: Ditto.
27973
27974 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27975 gdb_load_offset. If we weren't given a file to load, figure out
27976 what the current file is and use it.
27977
27978 * config/i386-bozo.exp: New file.
27979
27980 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27981
27982 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27983 feature.
27984
27985 * config/proelf.exp: New entry.
27986
27987 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27988
27989 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27990 of regexps.
27991
27992 * gdb.base/watchpoint.exp: Don't run the test_stepping
27993 tests if gdb can't call functions on the target.
27994
27995 * gdb.base/setshow.exp: Don't run the set prompt tests if
27996 the board has gdb_prompt set.
27997
27998 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27999
28000 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
28001 * gdb.base/commands.exp: Likewise.
28002 * gdb.base/setshow.exp: Likewise.
28003
28004 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
28005
28006 * config/monitor.exp(gdb_start): Look for gdb_prompt target
28007 feature.
28008
28009 * config/i960.exp: New file.
28010
28011 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
28012
28013 * gdb.base/funcargs.exp: Check for gdb,short_int target
28014 feature instead of looking for explicit target triplets.
28015
28016 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
28017
28018 * gdb.base/printcmds.exp: add a couple more tests a la
28019 "p 123DEADBEEF", to check parse_number.
28020 * top.c: change "to enable to enable" to "to enable" in a couple
28021 of help strings.
28022
28023 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
28024
28025 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
28026 on the mn10300.
28027
28028 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
28029
28030 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28031 where the test executable is run with explicit args.
28032 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28033
28034 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28035
28036 * gdb.base/run.c: Use FAKEARGV to build test executable that
28037 does not require a command line arg, since most simulators
28038 don't currently support passing such an arg into the simulated
28039 program.
28040 * gdb.base/commands.exp: Change tests to insert the proper
28041 value as the arg to the first recursive factorial call. Change
28042 compilation line to define FAKEARGV at compile time.
28043
28044 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28045
28046 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28047 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28048 function with watchpoint enabled" test.
28049
28050 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28051
28052 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
28053 Don't call gdb_test when the command doesn't return to a gdb prompt.
28054
28055 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
28056 "Tests restarted" messages.
28057
28058 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28059
28060 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28061
28062 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
28063
28064 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28065 for INFO SYMBOL; add help tests for OVERLAY commands.
28066 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28067 add tests for OVERLAY commands
28068 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28069 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28070 * gdb.base/sigall.c: add usestubs code frag
28071 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
28072
28073 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28074
28075 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28076 failures.
28077 (gdb_stop_suppressing_tests): Note that tests have restarted.
28078
28079 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28080
28081 * config/h8300.exp: New file.
28082
28083 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28084
28085 * gdb.base/setshow.exp: Check for the existence of a
28086 feature, not its value.
28087
28088 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28089
28090 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28091
28092 * gdb.base/scope.exp: It's now init0(), not init().
28093
28094 * gdb.base/scope0.c: For now, change init() to be init0().
28095
28096 * config/monitor.exp: Use gdb_serial in preference to serial
28097 or netport.
28098
28099 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
28100 and it's not already set.
28101
28102 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28103
28104 * gdb.base/setshow.exp: Only test the run command if the target
28105 isn't using a stub and if it supports argument passing.
28106
28107 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28108
28109 * config/udi.exp(gdb_start): Make sure UDICONF is set
28110 properly before starting gdb.
28111
28112 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28113
28114 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28115 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28116 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28117
28118 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28119
28120 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
28121 specialized code to reboot the board, use remote_reboot instead.
28122
28123 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28124
28125 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28126
28127 * config/monitor.exp: Make sure we disconnect from the target.
28128 Also, try a reboot/reload cycle instead of failing if the
28129 load fails.
28130
28131 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28132
28133 * gdb.base/default.exp: Don't set match_max.
28134 * gdb.base/help.exp: Ditto.
28135 * gdb.base/list.exp: Ditto.
28136 * gdb.base/signals.exp: Ditto.
28137
28138 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28139 set, use remote_ld to download the testcase instead of
28140 the GDB loader.
28141
28142 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28143
28144 * config/vr5000.exp: New file.
28145
28146 * config/monitor.exp(gdb_target_monitor): Add pattern for
28147 "Ending remote" to detect errors in connecting.
28148
28149 * gdb.base/setshow.exp: Add .* within auto language test.
28150
28151 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28152 target feature.
28153
28154 * config/monitor.exp(gdb_load): Check for a failure when loading,
28155 and reboot the board if necessary.
28156
28157 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28158 a set of tests. Remove print.* from the patterns being checked.
28159
28160 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28161
28162 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28163 refer to gdb_spawn_id.
28164
28165 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28166 longer used.
28167 * config/sparclet.exp: Ditto.
28168 * config/sparclet-old.exp: Ditto.
28169 * config/slite.exp: Ditto.
28170 * config/sim.exp: Ditto.
28171 * gdb.base/funcargs.exp: Ditto.
28172
28173 * lib/gdb.exp:Remove references to gdb_spawn_id.
28174 (gdb_expect): Move to remote.exp.
28175
28176 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28177
28178 * config/monitor.exp: Detect the "Couldn't establish connection"
28179 message from GDB.
28180
28181 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28182
28183 * gdb.base/bitfields.exp: Use runto instead of explicit
28184 gdb_run_cmd/gdb_expect sequences.
28185
28186 * gdb.base/break.exp(text_next_with_recursion): Add match for
28187 gdb_expect call.
28188
28189 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28190 We also need to handle the "A program is being debugged already"
28191 prompt from gdb. Use gdb_test to set the baud rate.
28192
28193 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28194 to 20000. Really. I mean it.
28195
28196 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28197
28198 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
28199 fails. If suppress_flag is set, skip perror message about not
28200 being able to send to GDB.
28201 (send_gdb): If suppress_flag is set, don't try to send commands to
28202 GDB.
28203 (gdb_expect): If suppress_flag is set, always fail immediately.
28204 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28205 (gdb_init): Call gdb_stop_suppressing_tests.
28206 (default_gdb_exit): Ditto.
28207 (default_gdb_start): Ditto.
28208
28209 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
28210 gdb_stop_suppressing_tests as appropriate.
28211 * gdb.base/break.exp: Ditto.
28212 * gdb.base/callfuncs.exp: Ditto.
28213 * gdb.base/commands.exp: Ditto.
28214 * gdb.base/exprs.exp: Ditto.
28215 * gdb.base/funcargs.exp: Ditto.
28216 * gdb.base/list.exp: Ditto.
28217 * gdb.base/recurse.exp: Ditto.
28218 * gdb.base/scope.exp: Ditto.
28219 * gdb.base/structs.exp: Ditto.
28220 * gdb.c++/inherit.exp: Ditto.
28221
28222 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28223
28224 * config/vr4300.exp: New file.
28225
28226 * gdb.*/*.exp: Call gdb_expect instead of expect.
28227
28228 * lib/gdb.exp(gdb_expect): New function.
28229
28230 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28231
28232 * lib/gdb.exp(gdb_init): New function.
28233
28234 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
28235 for each individual variable set.
28236
28237 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28238 name.
28239
28240 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28241
28242 * gdb.base/scope.exp: Use gdb_test.
28243
28244 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28245 aborting; the testsuite driver will do that for us (see
28246 gdb_finish). Also, use gdb_test in a few more places.
28247
28248 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28249
28250 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28251
28252 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28253
28254 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28255 and "add_tests" are not at the same address.
28256
28257 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28258
28259 * gdb.base/ptype.exp: Use gdb_test.
28260
28261 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28262
28263 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28264 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28265 left in. No longer expect them to fail.
28266
28267 * gdb.stabs/*.mt; Deleted, no longer used.
28268 * gdb.stabs/configure.in: Remove references to target makefile
28269 frags.
28270 * gdb.stabs/configure: Rebuilt.
28271
28272 * gdb.disasm/*.mt: Deleted, no longer used.
28273 * gdb.disasm/configure.in: Remove references to target makefile
28274 frags. Use "sh3.s" as the unique filename for this directory.
28275 * gdb.disasm/configure: Rebuilt.
28276
28277 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28278 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28279 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28280
28281 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28282
28283 * config/udi.exp: Use mondfe,name instead of remote_host.
28284
28285 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28286
28287 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28288 a function with a watchpoint enabled on the mn10200.
28289
28290 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28291 before trying to create it!
28292
28293 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28294
28295 * config/vx.exp: Use hostname instead of netport.
28296
28297 * config/vxworks.exp: New file.
28298
28299 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28300
28301 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
28302 gdb before assuming everything worked. Send a ^C if a timeout
28303 occurs.
28304
28305 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28306 $gdb_spawn_id directly.
28307 (gdb_run_cmd): Try _start as well as start. Use the target feature
28308 gdb,start_symbol as the symbol to start from when jumping.
28309
28310 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28311
28312 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28313 redundant) test.
28314
28315 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28316 it doesn't lose for 16bit integer systems.
28317
28318 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28319
28320 * gdb.fortran/types.exp: If the target doesn't support "double"
28321 data types, then expect "real" types to only be 4 bytes.
28322
28323 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28324 call tests if the target doesn't support inferior function calls.
28325
28326 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28327 in printf tests.
28328
28329 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28330
28331 * gdb.base/help.exp: Disable "help set", "help show", and
28332 "help support". Simplify regexp for "help stack".
28333
28334 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28335 to 60 seconds. Temporarily set match_max to 15000 around the
28336 "info copying" test.
28337
28338 * gdb.base/nodebug.exp: Don't try to do an inferior function
28339 call if the target doesn't support them.
28340 * gdb.base/printcmds.exp: Likewise.
28341 * gdb.base/setvar.exp: Likewise.
28342 * gdb.base/structs.exp: Likewise.
28343 * gdb.c++/templates.exp: Likewise.
28344 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28345
28346 * gdb.base/recurse.exp: Enable for the mn10200.
28347
28348 * configure.in: Do configure gdb.stabs directory for *-*-elf
28349 targets.
28350 * configure: Rebuilt.
28351
28352 * gdb.base/break.exp: Check for gdb,noresults before testing
28353 exit status and/or results from the target.
28354 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28355 * lib/gdb.exp: Remove old (now bogus) initialization of
28356 noinferior, noargs, noresults and nosignals.
28357
28358 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28359
28360 * config/sh.exp: New file.
28361
28362 * config/slite.exp: Try to connect multiple times to the board
28363 before rebooting. Only send a "monitor run" if need_monitor_run
28364 is set.
28365
28366 * gdb.base/break.exp: Don't do the "stub continue" test if
28367 the target has gdb_stub set.
28368
28369 * gdb.base/callfuncs.exp: Increase the timeout.
28370
28371 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28372 if the target has gdb,noinferiorio set.
28373
28374 * gdb.base/list.exp: Increase match_max to 10000 characters.
28375
28376 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28377
28378 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28379 target.
28380
28381 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28382
28383 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28384
28385 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
28386 trying to delete the copy of gdb. Catch the file delete so we
28387 don't die if the delete fails; also, the file should be copied to
28388 the host, not to the build.
28389
28390 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28391
28392 * lib/gdb.exp(gdb_test): Surround the result pattern with
28393 parenthesis in case it contains multiple regexps separated
28394 with |.
28395
28396 * gdb.base/watchpoint.exp: Use gdb_test.
28397 * gdb.base/default.exp: Ditto.
28398
28399 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28400
28401 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
28402
28403 * gdb.base/scope.exp: Use gdb_test.
28404 * gdb.c++/classes.exp: Ditto.
28405 * gdb.c++/inherit.exp: Ditto.
28406
28407 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28408
28409 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28410 remote_exec instead.
28411 * gdb.base/corefile.exp: Don't be ridiculous.
28412 * gdb.base/*.c: Add missing stub invocations.
28413
28414 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28415
28416 * config/slite.exp: Miscellaneous fixes.
28417
28418 * lib/gdb.exp: Fix runto.
28419
28420 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28421 the target.
28422
28423 * gdb.base/watchpoint.exp: Fix regexp.
28424
28425 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28426 close and wait commands, as the descriptor may now be
28427 invalid. Always call "remote_close host".
28428
28429 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28430
28431 Major rewrite for testsuite revision.
28432
28433 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28434 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28435 instead of relying on spawn_id to always contain a valid
28436 spawn id.
28437 (get_compiler_info): New procedure to build the ${binfile}.ci
28438 file, instead of replicating this in N different places.
28439 (gdb_compile): New procedure.
28440
28441 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
28442 appropriate arguments) instead of compile. Use gdb_test in a lot
28443 more places. Use send_gdb instead of send. Always run gdb_start
28444 at the start of a testcase, as this is no longer done magically.
28445
28446 config/*-gdb.exp: Rename without the -gdb suffix.
28447
28448 config/mips.exp: Use remote_close instead of exit_remote_shell.
28449 config/monitor.exp: Use target_info instead of looking at
28450 baud, timeout, etc.
28451 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28452
28453 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28454
28455 * gdb.c++/templates.exp (test_ptype_of_templates),
28456 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28457 Update expect patterns for destructors and assignment operators
28458 to match corresponding c-typeprint.c changes.
28459 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28460 to destructor breakpoint test, GDB should be able to set the
28461 destructor breakpoint without specifying arguments.
28462
28463 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28464
28465 * gdb.threads/pthreads.exp: Change result for failure to compile due
28466 to lack of pthreads runtime support from an error to simply an
28467 unsupported test, per dejagnu standards.
28468
28469 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28470
28471 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28472 where GDB exits to reduce pattern match time.
28473 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28474
28475 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28476
28477 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28478
28479 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28480 * gdb.base/default.exp: ditto.
28481 * gdb.base/nodebug.exp: ditto.
28482 * gdb.base/printcmds.exp: ditto.
28483 * gdb.base/ptype.exp: ditto.
28484 * gdb.base/setvar.exp: ditto.
28485 * gdb.base/structs.exp: ditto.
28486 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28487
28488 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28489
28490 * configure, */configure: Rebuild with autoconf 2.12.
28491
28492 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28493
28494 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28495 use new i*86-pc-linux*-gnu quads.
28496 * gdb.base/corefile.exp: Ditto.
28497 * gdb.base/signals.exp: Ditto.
28498 * gdb.base/sigall.exp: Ditto.
28499 * gdb.base/interrupt.exp: Ditto.
28500
28501 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28502 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28503 RedHat 4.0.
28504
28505 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28506 linux. This allows the test case to at least compile on latest
28507 linux, but still not run due to missing the threads runtime library.
28508
28509 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28510
28511 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28512 directory to search gdb directory. Accept and step over conditional
28513 stack alignment code. Consume $prompt in failure cases.
28514 Reset timeout to $oldtimeout instead of some arbitrary value.
28515 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28516 timeout problems with infinite stack backtraces.
28517 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28518 Accept function parameters for linkfunc member.
28519
28520 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28521
28522 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28523 (CXXFLAGS): Remove, unreferenced.
28524 (B_OPTIONS): Add for -B options and add code to initialize with
28525 previous -B options and also add -B option to pick up cross compiled
28526 runtime.
28527 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28528 doing cross compiles.
28529 (target_alias): Declare global.
28530 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28531 to verify that gcc exists in build tree, and if so set CC to that
28532 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28533
28534 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28535
28536 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28537 ptype test for anonymous union. Fixup testcase to match
28538 current gcc debug output.
28539
28540 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28541
28542 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28543 force argument to an unsigned long type.
28544
28545 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28546
28547 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28548 tests and anonymous union print/ptype tests.
28549 * gdb.base/list.exp (test_forward-search): Increase timeout by
28550 5 minutes for the "search extremely long line" case.
28551 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28552 completely optional and that the pass/fail messages use the command as
28553 the message if that third arg is a null string.
28554 (gdb_test_exact): Arrange that a null string pattern means match a
28555 null string output rather than any output, which might include random
28556 errors.
28557 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28558 backtrace test.
28559 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28560 always failing and failure is now exposed by gdb.exp changes.
28561
28562 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28563
28564 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28565 weren't being noted.
28566
28567 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28568
28569 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28570 * gdb.stabs/weird.exp: Remove v_comb xfails.
28571
28572 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28573
28574 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28575 list.exp scope.exp watchpoint.exp]
28576 Make all timeout error msgs explicitly say "(timeout)".
28577
28578 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28579
28580 * config/monitor.exp: Increase download timeout to 1000 seconds.
28581
28582 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28583
28584 * config/m32r.exp: Increase timeout to 120 seconds.
28585
28586 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28587
28588 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28589 and accept older ordering as obsolescent gcc or gdb.
28590 * gdb.c++/templates.exp: Ditto.
28591 * gdb.c++/virtfunc.exp: Ditto.
28592
28593 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28594
28595 * gdb.base/coremaker.c: Add code to mmap some data so we
28596 can check that it ends up in the core file.
28597 * gdb.base/corefile.exp: Add test to read mmapped data
28598 from core file.
28599
28600 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28601
28602 * config/m32r.exp: New file.
28603
28604 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28605
28606 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28607 that cflags can contains -gstabs, and work correctly for other tests.
28608
28609 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28610
28611 * gdb.base/setshow.exp: New file, tests show and set.
28612 * gdb.base/setshow.c: New file, tests show and set.
28613 * gdb.base/help.exp: Add test for help set|show annotate.
28614 * gdb.base/default.exp: Add test for set|show annotate.
28615
28616 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28617
28618 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28619 errors unique.
28620 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28621 explicitly.
28622
28623 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28624
28625 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28626 and width commands. This is done elsewhere.
28627 * (gdb_start): Don't call gdb_start_sim here. That's already
28628 done in gdb_load. This fixes lots of failures in default.exp.
28629
28630 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28631
28632 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28633 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28634 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28635 in the same we we treat other failures (since it may be an expected
28636 condition), rather than as an error.
28637 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28638 old test format.
28639
28640 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28641
28642 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28643 (distclean maintainer-clean realclean): No need to remove files
28644 twice. Nuke the duplicates.
28645 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28646 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28647 Remove config.h along with other config files.
28648
28649 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28650
28651 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28652 "p func1 ()" and note that rests of tests are skipped.
28653 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28654 setup_xfails for "print func2::coremaker_local".
28655 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28656 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28657 affected by the previous run test.
28658 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28659 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28660 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28661 "pass int powerset tuple" and "pass modeless int powerset tuple".
28662 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28663 "real write 4" and "real write 8".
28664 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28665 setup_xfails for "print vs1 after tuple assign 2",
28666 "print \$i after tuple assign 2", and
28667 "print vs2 after tuple assign 2".
28668 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28669 meaningful error message and return -1 so the caller can
28670 suppress further tests and avoid a cascade of errors.
28671
28672 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28673
28674 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28675 format for printing version.
28676 * gdb.base/default.exp: Ditto.
28677 * gdb.base/interrupt.exp: Fix problem with cascade of
28678 errors if child process dies while calling a function.
28679
28680 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28681
28682 * Makefile.in (VPATH): Add
28683 * Makefile.in (Makefile, config.status): Fix rules so things get
28684 remade when necessary.
28685
28686 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28687
28688 * Makefile.in (just-check): Add path to sibling expect dir
28689 to environment variable specified by RPATH_ENVVAR.
28690
28691 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28692
28693 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28694 (just-check): Add shared library paths for libstdc++, tk,
28695 tcl, bfd, and opcodes to the environment variable specified
28696 in RPATH_ENVVAR.
28697 * configure.in: Add support to recognize --enable-shared flag
28698 and generate correct value for RPATH_ENVVAR.
28699 * configure: Regenerated with autoconf.
28700
28701 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28702
28703 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28704 include all osf versions.
28705 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28706 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28707 when target is linux. When failing to build pthreads test
28708 executable, give more meaningful message.
28709 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28710 arg for pthread_create.
28711
28712 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28713
28714 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28715 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28716 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28717 and -lpthreads (everybody else).
28718 (test_startup): Fail gracefully if threads are not supported.
28719 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28720 "p/c array_index("abcdef",2)" when not gcc compiled.
28721 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28722 "print func2::coremaker_local" when not gcc compiled.
28723 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28724 "ptype on opaque struct tagname (statically)",
28725 "ptype on opaque struct tagname (dynamically) 1", and
28726 "ptype on opaque struct tagname (dynamically) 2"
28727 for not compiled with gcc.
28728 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28729 backtrace when compiled with gcc.
28730 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28731 than always return success.
28732
28733 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28734
28735 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28736
28737 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28738
28739 * gdb.base/structs.exp: Undo last change.
28740
28741 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28742
28743 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28744 encapsulate all the steps/nexts done during self test, starting
28745 at main, and makes them less sensitive to optimization issues.
28746 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28747 signal handler" test.
28748 * gdb.threads/pthreads.exp: Only run this for native configs.
28749 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28750 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28751 tests.
28752 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28753 for "runto test_calls(void)" test.
28754
28755 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28756
28757 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28758 and don't expect address info in breakpoint confirmations.
28759
28760 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28761
28762 * gdb.base/list.exp (test_forward_search): Increase timeout
28763 temporarily by 60 seconds for searching extremely long line,
28764 and then reset to old value when done. Increase expect input
28765 buffer to 10000.
28766
28767 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28768
28769 * gdb.base/list.exp (test_forward_search): Fix to handle very
28770 long source line without overflowing expect's input buffer.
28771
28772 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28773
28774 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28775 "buffer_full".
28776
28777 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28778 "buffer_full".
28779
28780 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28781 "buffer_full".
28782
28783 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28784 "buffer_full".
28785
28786 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28787
28788 * configure.in (configdirs): Add gdb.threads.
28789 * configure: Regenerated with autoconf.
28790 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28791 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28792 * gdb.threads/configure: New, generated with autoconf.
28793
28794 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28795
28796 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28797
28798 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28799
28800 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28801 each signal's status in the output of "handle all print".
28802 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28803 the \r\n sequence that immediately precedes the gdb prompt.
28804 * gdb.base/a1-selftest.exp: Save original timeout and restore
28805 after test.
28806
28807 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28808
28809 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28810 symbol.
28811
28812 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28813
28814 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28815
28816 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28817
28818 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28819 timeout by 60 seconds.
28820
28821 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28822
28823 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28824 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28825 error return.
28826
28827 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28828
28829 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28830 gdb initialization, also report how long dejagnu waited. Restore
28831 old timeout before doing error return. Temporarily increase timeout
28832 by 3 minutes to allow for slow startups over heavy NFS use.
28833
28834 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28835
28836 * lib/gdb.exp: Report timeout value for verbosity level 2.
28837 * config/gdbserver.exp: Ditto.
28838 * config/hppro.exp: Ditto.
28839 * config/mips-gdb.exp: Ditto.
28840 * config/monitor.exp: Ditto.
28841 * config/netware.exp: Ditto.
28842 * config/sim-gdb.exp: Ditto.
28843 * config/slite-gdb.exp: Ditto.
28844 * config/udi-gdb.exp: Ditto.
28845 * config/unix-gdb.exp: Ditto.
28846 * config/vx-gdb.exp: Ditto.
28847 * gdb.base/a1-selftest.exp: Ditto.
28848 * gdb.base/a2-run.exp: Ditto.
28849 * gdb.base/break.exp: Ditto.
28850 * gdb.base/corefile.exp: Ditto.
28851 * gdb.base/list.exp: Ditto.
28852 * gdb.base/recurse.exp: Ditto.
28853 * gdb.base/scope.exp: Ditto.
28854 * gdb.base/signals.exp: Ditto.
28855
28856 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28857
28858 * gdb.threads/Makefile.in (docdir): Removed.
28859
28860 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28861
28862 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28863 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28864 @srcdir@.
28865 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28866 autoconf 2.5 or higher.
28867 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28868
28869 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28870
28871 * configure: Regenerated.
28872 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28873 avoid name clashes with SunOS headers.
28874
28875 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28876
28877 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28878
28879 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28880
28881 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28882 prototype information ends up in the compiler info file.
28883
28884 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28885
28886 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28887 attempting to regenerate it. Eliminate use of a temporary file
28888 and just generate the info file directly. Source it immediately,
28889 for consistency of use.
28890 * gdb.base/corefile.exp: Ditto
28891 * gdb.base/exprs.exp: Ditto.
28892 * gdb.base/funcargs.exp: Ditto.
28893 * gdb.base/langs.exp: Ditto.
28894 * gdb.base/list.exp: Ditto.
28895 * gdb.base/mips_pro.exp: Ditto.
28896 * gdb.base/nodebug.exp: Ditto.
28897 * gdb.base/opaque.exp: Ditto.
28898 * gdb.base/ptype.exp: Ditto.
28899 * gdb.base/scope.exp: Ditto.
28900 * gdb.base/setvar.exp: Ditto.
28901 * gdb.base/signals.exp: Ditto.
28902 * gdb.base/whatis.exp: Ditto.
28903 * gdb.c++/templates.exp: Ditto.
28904 * gdb.c++/virtfunc.exp: Ditto.
28905 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28906 whether or not to add -lstdc++ to the compile command line args.
28907
28908 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28909
28910 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28911 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28912 Increase timeout, a lot of single stepping might be needed if the
28913 target has no hardware watchpoints.
28914
28915 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28916
28917 * gdb.base/break.exp: Ignore compiler warnings when compiling
28918 break.c.
28919 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28920 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28921 from remote-sim.
28922 * gdb.base/exprs.exp: Add h8300 xfails.
28923 * gdb.base/funcargs.exp: Likewise.
28924 * gdb.base/nodebug.exp: Likewise.
28925 * gdb.base/printcmds.exp: Likewise.
28926 * gdb.base/ptype.exp: Likewise.
28927 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28928 h8300 xfails.
28929 * gdb.base/return.exp: Handle float/double precision problems
28930 on the h8300.
28931 * gdb.base/funcargs.c: Explicitly make last constant argument to
28932 call_after_alloca_subr an unsigned long type.
28933 * gdb.base/return.c: Include stdio.h.
28934
28935 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28936
28937 * config/abug.exp: New file for the older Motorola Bug monitor
28938 that runs on the mvme13x series VME boards.
28939 * config/monitor.exp: Use the new config array for target settings
28940 if they exist.
28941
28942 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28943
28944 * sim-gdb.exp: Make the SH simulator allocate less space when
28945 it is targeted.
28946
28947 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28948
28949 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28950 test.
28951
28952 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28953
28954 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28955 "rs6000-*-*" for "list function in include file" when gcc compiled.
28956 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28957 for "p ctable1[120]".
28958 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28959 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28960 Remove setup_xfail for "rs6000-*-*" for
28961 "print 'scope0.c'::filelocal before run".
28962 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28963 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28964 since some compilers don't allow both options to be given
28965 on the same command line. Create object file and move it.
28966
28967 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28968
28969 * gdb.base/corefile.exp: Always regenerate the core file, since
28970 we always regenerate the coremaker program. Detect special case
28971 where registers cannot be read from core file.
28972
28973 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28974
28975 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28976 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28977 * gdb.c++/templates.exp: Only match on basename of file since
28978 some formats like xcoff don't encode directory information.
28979 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28980 and rs6000 AIX xcoff targets.
28981 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28982 * configure: Regenerate.
28983 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28984 here, rather than in distclean.
28985
28986 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28987
28988 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28989 defined, and use it to compile the test case with -O2. The
28990 native compilation still uses no optimization.
28991 * gdb.base/mips_pro.c: Remove inline assembly code since
28992 it is compiled PIC by default, which results in assembler
28993 warnings that make the testsuite think the compilation
28994 was unsuccessful.
28995
28996 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28997
28998 * gdb.c++/misc.exp: Add note to message for
28999 "print s.a for foo struct" that this is a known gcc 2.7.2
29000 and earlier bug.
29001
29002 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
29003
29004 * gdb.base/break.exp: Fix pattern for matching "Delete all
29005 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
29006 setup_xfail for deleting all breakpoints test. Fix various
29007 timeout messages to include "(timeout)".
29008 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
29009 for "p t_float_values2(3.14159,float_val2)".
29010 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
29011 for "continue to call2g" when gcc compiled.
29012 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
29013 "up to foo in langs.exp", "show language at foo in langs.exp",
29014 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
29015 and "show language at fsub in langs.exp".
29016 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
29017 "list line 1 in include file", "list message for lines past EOF",
29018 "list function in include file", "list list0.h:foo", and
29019 "list filename:function; nonexistant function".
29020 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
29021 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
29022 and "ptype t_char_array" to be for native cc only.
29023
29024 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
29025
29026 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
29027 setup_xfail for "print coremaker_bss", "print coremaker_ro",
29028 "print func2::coremaker_local", and "backtrace in corefile.exp".
29029
29030 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29031
29032 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29033 "bt in signals.exp". This problem only appears when running
29034 the testsuite, and then only intermittently.
29035
29036 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29037
29038 * gdb.base/return.exp (return_tests): Differentiate between
29039 two tests of continuing.
29040
29041 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29042
29043 * */Makefile.in (maintainer-clean): Remove config.log.
29044 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29045 * gdb.c++/Makefile.in (PROGS): Add inherit.
29046 (clean): Remove *.ci.
29047
29048 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29049
29050 * gdb.c++/misc.cc: Add test code from Mike Stump.
29051 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29052
29053 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29054
29055 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29056 to "alpha-*-osf2*" and add comment.
29057 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
29058 setup_xfail for "step over execarg initialization" and
29059 "step over corearg initialization".
29060 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29061 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29062 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
29063 gcc compiled for "print coremaker_bss", "print coremaker_ro",
29064 "print func2::coremaker_local", and "backtrace in corefile.exp".
29065 * gdb.base/signals.exp: Build and source signals.ci.
29066 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29067 to be for gcc only.
29068 * lib/gdb.exp: Move verbose statements outside conditionals.
29069
29070 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29071
29072 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29073 Feb 3 procfs.c change.
29074
29075 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29076
29077 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29078
29079 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29080
29081 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29082 from dejagnu's apparent default of 10 seconds, which gives random
29083 results when running the tests over NFS on moderately loaded systems.
29084 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29085
29086 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29087
29088 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29089 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
29090 result reports.
29091
29092 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29093
29094 * configure.in (CY_AC_PATH_TCLH): Remove.
29095 * configure: Regenerate.
29096
29097 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29098
29099 * gdb.c++/Makefile.in (clean): Add missing '{'.
29100
29101 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29102
29103 * lib/gdb.exp: Provide a default value for noinferior.
29104
29105 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29106 Load libgloss.exp.
29107
29108 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29109
29110 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29111 the executable, not the .o to run the tests from.
29112
29113 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29114
29115 * gdb.base/break.exp: Don't test for program exit or exit status
29116 if $noresults if nonzero.
29117 * gdb.base/langs.exp: Likewise.
29118 * gdb.base/watchpoint.exp: Likewise.
29119
29120 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29121 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29122 trying to compile the testcase.
29123
29124 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29125
29126 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29127 * gdb.base/signals.exp (continue to handler): Likewise.
29128
29129 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29130
29131 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29132
29133 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29134
29135 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29136
29137 * gdb.base/corefile.exp: Recognize "not found" as failure
29138 when trying to determine if a core file was generated.
29139 If no core file was generate the first time, try again without
29140 the ulimit -c to work around braindamaged shells.
29141
29142 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29143
29144 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29145 [] tests with "test" and enclose string in quotes.
29146 * gdb.stabs/configure: Rebuild
29147
29148 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29149
29150 Changes in sync with expect:
29151 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29152 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29153 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29154 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29155 argument to AC_REQUIRE.
29156 * configure: Regenerated.
29157
29158 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29159
29160 * gdb.base/corefile.exp: When generating a core, discard any
29161 error messages about ulimit not found and the "core dumped"
29162 message from the shell that runs the coredumper.
29163
29164 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29165
29166 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29167
29168 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29169 which sed script to run. Expect failure for v_comb test
29170 on PA targets too.
29171
29172 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29173
29174 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
29175 "print func2::coremaker_local" and for "backtrace in corefile.exp"
29176
29177 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29178
29179 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29180 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
29181 "sparc-sun-solaris*" xfails for "p v_comb".
29182 * lib/gdb.exp (default_gdb_start): Fix typo.
29183 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29184 messages to not include the full program name that caused
29185 the core dump since some systems (such as solaris) apparently
29186 truncate this path to about 80 characters.
29187 When generating a core file first try increasing the core file
29188 size limit to unlimited since some systems may default it to
29189 zero, and it is harmless to try it. Move the test for failing
29190 to generate a core file to where it will actually get executed.
29191 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29192 new gdb result from g++ debug info improvements and make old
29193 pattern obsolescent. Also account for size_t differences
29194 (may be int or long).
29195 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29196 initialization before function call is placed in the delay slot
29197 and thus appears to be skipped over by commands such as "next".
29198
29199 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29200
29201 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29202
29203 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29204
29205 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29206 input source file; fix code to compile test to deal with this
29207 convention.
29208 * gdb.c++/*.exp: Likewise.
29209
29210 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29211
29212 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29213 "bt in signals.exp".
29214
29215 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29216
29217 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29218 "step over execarg initialization" and
29219 "step over corearg initialization".
29220
29221 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29222
29223 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29224 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29225
29226 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29227
29228 From Rob Savoye (rob@poseidon.cygnus.com)
29229 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29230 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
29231 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29232 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29233 configure.in}: Major reworking for autoconfig.
29234 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29235 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
29236 New files.
29237 * config/unix-gdb.exp: Make GDB global.
29238 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
29239 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29240 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29241 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29242 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29243 term.exp, twice.exp, watchpoint.exp, whatis.exp},
29244 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
29245 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29246 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29247 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29248 pr-8136.exp, result.exp, string.exp, tuples.exp},
29249 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
29250 to returns as necessary, arrange for test to compile own testcase
29251 executable.
29252 * lib/gdb.exp: Changes for testsuite to compile own test cases.
29253
29254 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29255
29256 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
29257 clear_xfail at end of test which might not call either pass or fail.
29258 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29259 "backtrace through signal handler".
29260
29261 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29262
29263 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29264 continuing from a job control stop signal.
29265 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29266
29267 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29268
29269 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29270 * gdb.base/corefile.exp: Likewise.
29271 * gdb.base/funcargs.exp: Likewise.
29272
29273 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29274
29275 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29276 * config/monitor.exp: Add support for setting baud rate.
29277
29278 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29279
29280 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29281 i*86-*-linux* xfails for "backtrace through signal handler".
29282 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29283 "print func2::coremaker_local".
29284 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
29285 alpha-dec-osf2* xfail for
29286 "delete all breakpoints when none".
29287
29288 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29289
29290 * gdb.base/break.exp: Change test that deletes all breakpoints
29291 when no user breakpoints are installed. A post 4.15 change
29292 causes gdb to no longer prompt in this case.
29293
29294 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29295
29296 * gdb.base/return.exp (return_tests): Change xfail for test
29297 "correct value returned double test" to stop xfailing at
29298 Solaris 2.5. Apparently the bug has been fixed.
29299
29300 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29301
29302 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29303 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29304
29305 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29306
29307 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29308 * gdb.disasm/hppa.s: Corresponding changes.
29309
29310 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29311
29312 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29313 makefile fragment.
29314 * config/mt-hpux: Deleted.
29315
29316 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29317
29318 * Many files: When warning about suppressed tests due to a
29319 nonexistant test binary, avoid incrementing the warning count.
29320
29321 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29322
29323 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
29324
29325 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29326
29327 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29328 "sparc-*-solaris2*".
29329
29330 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29331
29332 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29333 Add global and local variables and initialize them.
29334 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29335 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29336 extracts the file name and terminating signal from the core file.
29337 * TODO: Remove note about tests for correct mapping of corefile.
29338 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29339 from optimizing it away.
29340 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29341 handles common blocks.
29342
29343 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29344
29345 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29346 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29347
29348 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29349
29350 * Makefile.in (maintainer-clean): New target, synonym for
29351 realclean.
29352 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29353 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29354 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29355 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29356 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29357 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29358
29359 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29360
29361 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29362 xfails when not gcc compiled for "print foo::funclocal".
29363 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29364 "print foo::funclocal at foo",
29365 "print 'scope1.c'::foo::funclocal at foo",
29366 "print foo::funclocal_bss at foo",
29367 "print 'scope1.c'::foo::funclocal_bss at foo",
29368 "print foo::funclocal_ro at foo",
29369 "print 'scope1.c'::foo::funclocal_ro at foo",
29370 "print bar::funclocal at foo" and
29371 "print 'scope1.c'::bar::funclocal at foo".
29372 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29373 gcc compiled for "print foo::funclocal at bar".
29374 Expand all messages to ensure that they identify that
29375 the test is at bar().
29376 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29377 gcc compiled for:
29378 "ptype on opaque struct pointer (statically)",
29379 "ptype on opaque struct tagname (statically)",
29380 "ptype on opaque struct pointer (dynamically) 1",
29381 "ptype on opaque struct tagname (dynamically) 1",
29382 "ptype on opaque struct pointer (dynamically) 2" and
29383 "ptype on opaque struct tagname (dynamically) 2
29384 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29385 gcc compiled for:
29386 "p datalocal"
29387 "whatis datalocal",
29388 "ptype datalocal",
29389 "p bsslocal",
29390 "whatis bsslocal", and
29391 "ptype bsslocal".
29392 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29393 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29394 when not gcc compiled.
29395 * gdb.base/funcargs.exp (float_and_integral_args): Add
29396 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29397 compiled.
29398 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29399 "backtrace from call6a" when not gcc compiled.
29400 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29401 "backtrace from call7a" when not gcc compiled.
29402 * gdb.base/callfuncs.exp (do_function_calls):
29403 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29404 "p t_char_array_values(char_array_val2,char_array_val1)",
29405 "p t_char_array_values(char_array_val1,char_array_val2)",
29406 "p t_char_array_values("carray 1","carray 2")",
29407 "p t_char_array_values("carray 1",char_array_val2)",
29408 "p t_char_array_values(char_array_val1,"carray 2")",
29409 "p sum_args(1,{2})",
29410 "p sum_args(2,{2,3})",
29411 "p sum_args(3,{2,3,4})",
29412 "p sum_args(4,{2,3,4,5})"
29413 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29414 "backtrace in corefile.exp" when not gcc compiled.
29415
29416 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29417
29418 * gdb.base/signals.exp: Rewrite `handle all print' test as
29419 a procedure. Accept blanks or TABs as whitespace, increase
29420 timeout and expect input buffer size for the large output
29421 from the command. Remove "i*86-*-bsdi2.0" xfail.
29422
29423 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29424
29425 * gdb.base/setvar.exp: Add new testcases for truncation when
29426 assigning invalid values to bitfields.
29427
29428 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29429
29430 * gdb.base/callfuncs.exp (do_function_calls): Remove
29431 mips-sgi-irix* xfail for
29432 "call inferior func with struct - returns char *"
29433 and fix test so that an optional (unsigned char *) cast is
29434 accepted in the result.
29435
29436 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29437
29438 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29439 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29440 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29441 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29442 that accidentally got checked in.
29443
29444 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29445
29446 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29447 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29448 compiled test.
29449 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29450 Add mips-sgi-irix5* xfail for not gcc compiled.
29451 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29452 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29453 compiled for "p top", "whatis top", "p middle", and "whatis
29454 middle".
29455 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29456 "whatis signed char" for not gcc compiled.
29457 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29458 "set variable signed char=-1 (-1)" and
29459 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29460 * gdb.base/funcargs.exp (float_and_integral_args):
29461 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29462 Add mips-sgi-irix* xfail when not gcc compiled for
29463 "continue to call2b".
29464 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29465 "continue to call2g".
29466 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29467 compiled for "backtrace from call6a"
29468 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29469 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29470 when not gcc compiled for "backtrace from call7a".
29471 (localvars_after_alloca): Fix gdb_test cmds for
29472 "print * after runto ...".
29473 Remove rs6000-*-* xfails for
29474 "print i after runto localvars_after_alloca" and
29475 "print l after runto localvars_after_alloca"
29476 for all compilers.
29477 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29478 when not compiled with gcc, for:
29479 "print signed char == (minus)",
29480 "print signed char != (minus)",
29481 "print signed char < (minus)",
29482 "print signed char > (minus)".
29483 * gdb.base/callfuncs.exp (do_function_calls):
29484 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29485 "call inferior func with struct - returns char *".
29486 * gdb.base/return.exp (return_tests): Change xfail for
29487 "correct value returned double test" to include Solaris 2.4.
29488 * gdb.base/funcargs.exp (float_and_integral_args):
29489 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29490
29491 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29492
29493 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29494 enumeration bitfields if compiling with GNU C.
29495 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29496 to empty' prompt.
29497
29498 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29499
29500 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29501 test for PRO targets.
29502
29503 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29504 breakpoints in the inferior at any given time by making
29505 two groups of breakpoints for call2*, call6* and call7*
29506 tests.
29507
29508 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29509
29510 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29511 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29512 from optimizing it away.
29513 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29514 "call inferior func with struct".
29515
29516 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29517
29518 * configure.in: Only configure gdb.chill for particular targets.
29519
29520 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29521
29522 * gdb.base/Makefile.in: Add action to .c.o transformation
29523 rule that generates a .ci file for each .o file and remove
29524 explicit .c.o rules except for callfuncs.o.
29525 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29526 generates a .ci file for each .o file and remove explicit
29527 .cc.o rules.
29528 (clean): Remove *.tmp *.ci files.
29529 (EXECUTABLES): Remove templ-info.exp.
29530 * gdb.base/compiler.c: New file.
29531 * gdb.c++/compiler.cc: New file
29532 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29533 Change rs6000-*-* xfail for
29534 "print 'scope0.c'::filelocal_ro" and
29535 "print 'scope1.c'::filelocal" and
29536 "print 'scope1.c'::filelocal_bss" and
29537 "print 'scope1.c'::filelocal_ro" and
29538 "print 'scope1.c'::foo::funclocal" and
29539 "print 'scope1.c'::foo::funclocal_ro" and
29540 "print 'scope1.c'::bar::funclocal" and
29541 "print 'scope0.c'::filelocal_ro" and
29542 "print 'scope1.c'::filelocal at foo" and
29543 "print 'scope1.c'::filelocal_bss at foo" and
29544 "print 'scope1.c'::filelocal_ro at foo" and
29545 "print 'scope1.c'::foo::funclocal at foo" and
29546 "print 'scope1.c'::foo::funclocal_bss at foo" and
29547 "print 'scope1.c'::foo::funclocal_ro at foo" and
29548 "print 'scope1.c'::bar::funclocal at foo" and
29549 "print 'scope0.c'::filelocal_ro" and
29550 "print 'scope1.c'::filelocal" and
29551 "print 'scope1.c'::filelocal_bss" and
29552 "print 'scope1.c'::filelocal_ro" and
29553 "print 'scope1.c'::foo::funclocal" and
29554 "print 'scope1.c'::foo::funclocal_bss" and
29555 "print 'scope1.c'::foo::funclocal_ro" and
29556 "print 'scope1.c'::bar::funclocal" and
29557 "print 'scope1.c'::bar::funclocal_bss"
29558 to only be xfail'd when not compiled with gcc.
29559 Add rs6000-*-* xfail for
29560 "print 'scope0.c'::filelocal_bss before run"
29561 when compiled with gcc.
29562 (test_at_main): Add rs6000-*-* xfail for
29563 "print filelocal_ro in test_at_main"
29564 when compiled with gcc.
29565 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29566 Add rs6000-*-aix* xfail for
29567 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29568 "ptype t_char_array", not compiled with gcc.
29569 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29570 xfail for "list foo (in include file)" when gcc compiled.
29571 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29572 (integral_args): Add rs6000-*-* xfail for
29573 "run to call0a" if not compiled with gcc.
29574 (unsigned_integral_args): Add rs6000-*-* xfail for
29575 "run to call1a" if not compiled with gcc.
29576 (float_and_integral_args): Add rs6000-*-* xfail for
29577 "run to call2a" if not compiled with gcc and for
29578 "continue to call2b" for any compiler.
29579 Add rs6000-*-* xfail to
29580 "print f1 after run to call2a" for gcc compiled.
29581 (discard_and_shuffle): Add rs6000-*-* xfail for
29582 "run to call6a".
29583 (shuffle_round_robin): Add rs6000-*-* xfail for
29584 "backtrace from call7a" if not compiled with gcc.
29585 Add rs6000-*-* xfail for
29586 "backtrace from call7b" if compiled with gcc.
29587 (call_after_alloca): Add rs6000-*-* xfail for
29588 "print c in call_after_alloca" and
29589 "print s in call_after_alloca" and
29590 "backtrace from call_after_alloca_subr"
29591 if not compiled with gcc.
29592 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29593 "print c in localvars_in_indirect_call" and
29594 "print c in localvars_in_indirect_call" and
29595 "backtrace in indirectly called function" and
29596 "stepping into indirectly called function"
29597 if not compiled with gcc.
29598 (localvars_after_alloca): Add rs6000-*-* xfail for
29599 "print c after runto localvars_after_alloca" and
29600 "print s after runto localvars_after_alloca" and
29601 "print i after runto localvars_after_alloca" and
29602 "print l after runto localvars_after_alloca"
29603 for all compilers.
29604 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29605 than whatis-info.exp.
29606 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29607 than opaque-info.exp.
29608 Setup rs6000-*-* xfail for
29609 "ptype on opaque struct pointer (statically)" and
29610 "ptype on opaque struct pointer (dynamically)" when
29611 not compiled with gcc.
29612 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29613 rather than callf-info.exp.
29614 (do_function_calls): Add clear_xfail for rs6000-*-* for
29615 "p t_float_values2(3.14159,float_val2)". Seems to work
29616 fine there, both with xlc and gcc. Need to find out what
29617 it is doing right and fix other platforms.
29618 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29619 "call inferior func with struct - returns int",
29620 "call inferior func with struct - returns long",
29621 "call inferior func with struct - returns float",
29622 "call inferior func with struct - returns double",
29623 "call inferior func with struct - returns char *",
29624 but only if not gcc compiled (presumes xlc compiled).
29625 Change rs6000-*-* xfails for
29626 "call inferior func with struct - returns char" and
29627 " call inferior func with struct - returns short" to only
29628 xfail if not using gcc.
29629 (clean mostlyclean): Remove *.ci and *.tmp files.
29630 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29631 than templ-info.exp.
29632 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29633 Add rs6000-*-* xfail for "up to foo in langs.exp"
29634 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29635 when not gcc compiled.
29636
29637 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29638
29639 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29640 * gdb.base/corefile.exp: Likewise.
29641 * gdb.base/list.exp: Likewise.
29642 * gdb.base/scope.exp: Likewise.
29643 * gdb.base/siganls.exp: Likewise.
29644
29645 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29646 compiler output.
29647 * gdb.base/whatis.exp: Likewise.
29648
29649 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29650
29651 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29652 failure (opcode table has been fixed to match reality).
29653
29654 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29655
29656 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29657 "call inferior func with struct - returns char",
29658 "call inferior func with struct - returns short"
29659
29660 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29661 "print 'scope0.c'::filelocal at main",
29662 "print 'scope0.c'::filelocal_bss in test_at_main",
29663 "print 'scope0.c'::filelocal at foo",
29664 "print 'scope0.c'::filelocal_bss in test_at_foo",
29665 "print 'scope0.c'::filelocal at bar",
29666 "print 'scope0.c'::filelocal_bss in test_at_bar"
29667
29668 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29669 in source file 1". This bug seems to have been fixed with both
29670 gcc and native cc (was native assembler bug?).
29671
29672 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29673
29674 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29675 "backtrace through signal handler" to "i*86-*-sysv4*".
29676 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29677 continue" case. Add "known SVR4 bug" to fail message.
29678 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29679 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29680 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29681 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29682 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29683 "up to foo in langs.exp", "show language at foo in
29684 langs.exp", "up to cppsub_ in langs.exp", "show
29685 language at cppsub_ in langs.exp", "up to fsub in
29686 langs.exp", and "show language at fsub in langs.exp".
29687 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29688 "bactrace in corefile.exp".
29689 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29690 "call inferior function with struct - returns float" and
29691 "call inferior function with struct - returns double".
29692
29693 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29694
29695 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29696 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29697 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29698 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29699
29700 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29701
29702 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29703 (or overriden) "CHILL" macro rather then bare "gcc".
29704 Also look for ../../gcc/xgcc since that is what we will
29705 actually need, not "Makefile". Remove following assignment
29706 of CHILL to CHILL_FOR_TARGET because that results in
29707 recursive definition.
29708
29709 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29710
29711 * gdb.base/corefile.exp: Change xfail for backtrace in
29712 corefile.exp from linuxaout to all linux.
29713 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29714 cases where we miss the breakpoint at the signal handler
29715 for some reason. Setup xfail for linuxoldld/linuxaout and
29716 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29717 hitting SIGURG breakpoint.
29718 * gdb.base/signals.exp: Setup xfail for "next" acting like
29719 continue to add linuxoldld. Setup xfail for all linux for
29720 "next to handler in signals_tests_1", "backtrace in
29721 signals_tests_1", "continue to func1", "pass SIGUSR1",
29722 and continue to handler".
29723
29724 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29725
29726 * Update all FSF addresses except those in COPYING* files.
29727
29728 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29729
29730 * gdb.base/a2-run.exp: Change messages to be more explicit about
29731 the status of args, and quote binfile in results.
29732
29733 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29734
29735 * gdb.base/callfuncs.exp: Add tests for passing structs to
29736 inferior functions and return various types.
29737 * gdb.base/callfuncs.c: Add functions to receive a struct
29738 and return a member of the struct, in various types.
29739
29740 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29741
29742 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29743
29744 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29745
29746 * config/vxworks29k.exp: New file, sources vxworks.exp.
29747
29748 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29749
29750 * config/gdbremote.exp: New file. Testing framework using
29751 gdbserver.
29752
29753 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29754
29755 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29756 "call function when asleep" and "send end of file".
29757 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29758 for "backtrace in corefile.exp".
29759 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29760 for "backtrace through signal handler".
29761 * gdb.base/corefile.exp: Make sure we actually generate a core file
29762 before trying the core tests. Some systems allow the user to suppress
29763 generation of core files and default to that (linux for example).
29764 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29765 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29766
29767 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29768
29769 * gdb.threads: New directory with some crude multi-threaded
29770 gdb tests (step.exp and step2.exp).
29771 * config/mt-lynx (STEP_EXECUTABLE): Define.
29772 (THREADFLAGS): Define.
29773
29774 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29775
29776 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29777
29778 * gdb.base/signals.exp: Disable whole file for lynx until
29779 further notice.
29780
29781 * gdb.base/signals.exp: xfail test where "next" acts like
29782 "continue" for lynx.
29783
29784 * gdb.base/interrupt.exp: xfail test for calling function while
29785 inferior is asleep for lynx.
29786
29787 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29788 than one cr-lf after each command.
29789
29790 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29791
29792 * configure.in: Reinstate setting of stabsdirs variable, fix
29793 typo in setting up configdirs for native builds.
29794
29795 * gdb.base/return.exp: Fix typo in return double test.
29796 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29797 compiler from optimizing them away.
29798
29799 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29800
29801 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29802 sequences to be echo'd by gdb when using gdb_test.
29803 * gdb.chill/chexp.exp: Likewise.
29804 * gdb.fortran/exprs.exp: Likewise
29805
29806 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29807
29808 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29809 after the inferior gdb has started.
29810
29811 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29812 after each command.
29813 * gdb.base/funcargs.exp: Likewise.
29814 * gdb.base/gdbvars.exp: Likewise.
29815 * gdb.base/interrupt.exp: Likewise.
29816 * gdb.base/list.exp: Likewise.
29817 * gdb.base/watchpoint.exp: Likewise.
29818 * gdb.c++/demangle.exp: Likewise.
29819 * gdb.c++/inherit.exp: Likewise.
29820 * gdb.chill/chexp.exp: Likewise.
29821 * gdb.fortran/exprs.exp: Likewise.
29822
29823 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29824 test if we can't handle IO to/from the inferior.
29825
29826 * gdb.c++/misc.exp: Always check for a program already being
29827 started after sending a "run" command to gdb.
29828
29829 * gdb.base/twice.exp: Start with a fresh gdb.
29830
29831 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29832 only depend on gdb's expression code, not the chill runtime.
29833
29834 * gdb.base/return.c: Put return values into variables so we
29835 can have gdb print them rather than depending on the program
29836 to print them.
29837 * gdb.base/return.exp: Corresponding changes.
29838
29839 * lib/gdb.exp: Provide default value for noinferiorio.
29840 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29841 the inferior.
29842
29843 * gdb.base/break.exp: Always check for a program already being
29844 started after sending a "run" command to gdb.
29845 (text_next_with_recursion): Don't check the output from the
29846 program's printf statement. Instead just make sure the program
29847 exited.
29848
29849 * gdb.base/commands.exp: Protect tests which need arguments with
29850 $noargs conditionals.
29851
29852 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29853
29854 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29855 of structure member arrays to match gdb/valops.c:value_addr change.
29856
29857 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29858
29859 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29860 cases.
29861
29862 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29863
29864 * configure.in (configdirs): Remove gdb.chill from default list
29865 of subdirs and then add it back in only if doing a native build.
29866 The current chill compiler does not yet work in any cross build.
29867 * Revert all signal changes from Jul 6.
29868 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29869 for sh-hms targets, allowing these tests to link, with no other
29870 changes. Testing is suppressed by setting "nosignals" in site.exp.
29871
29872 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29873
29874 * configure.in (signaldirs): Define and add to configdirs for all
29875 targets except some specific ones that are known to not support signals.
29876 Also clean up formatting.
29877 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29878 (signals, sigall): Remove rules to build.
29879 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29880 Moved to new gdb.signals directory.
29881 * gdb.signals: New test directory.
29882 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29883 signals.c signals.exp}: New or moved files.
29884
29885 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29886
29887 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29888
29889 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29890
29891 * gdb.base/return.exp: Xfail `return double' test failure
29892 on at least Solaris 2.3 and handle future/past versions on
29893 a case by case basis as appropriate. Also update message
29894 to include i*86 failures.
29895
29896 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29897
29898 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29899
29900 * lib/gdb.exp: Fix comment which erroneously identified
29901 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29902 gdb_file_cmd not gdb_load).
29903 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29904
29905 * gdb.base/setvar.exp: Make test names consistent between pass and
29906 fail cases. Use gdb_test more.
29907
29908 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29909
29910 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29911
29912 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29913
29914 * gdb.base/help.exp: Fix expected help string for `show commands'.
29915
29916 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29917
29918 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29919
29920 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29921 of a text section.
29922
29923 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29924
29925 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29926 that loop eventually terminates. Fix Connection refused logic so
29927 that testsuite will expire nicely.
29928
29929 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29930
29931 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29932 config/rom68k.exp: New tcl glue for the appropriate monitors.
29933 These all just end up calling monitor.exp.
29934 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29935 refused' by retrying. Cleanup some timeout issues.
29936 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29937 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29938 callers don't have to set/restore global timeout variable.
29939
29940 * The following set of changes centralizes management of the global
29941 timeout variable. This way, it can be set in one target dependent
29942 place instead of dozens of places scattered throughout the test suite.
29943 If you need to lengthen a timeout, then you should either set timeout
29944 in one of the config/{target}.exp files, or multiply it by a factor.
29945 Setting it to an absolute value is always going to lose for some
29946 targets.
29947 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29948 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29949 * gdb.base/funcargs.exp: Don't set timeout.
29950 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29951 * gdb.base/printcmds.exp (test_print_string_constants
29952 test_print_array_constants): Don't set timeout.
29953 * gdb.base/ptype.exp: Don't set timeout.
29954 * gdb.base/recurse.exp: Don't set timeout.
29955 * gdb.base/return.exp: Don't set timeout.
29956 * gdb.base/watchpoint.exp: Don't set timeout.
29957 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29958 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29959
29960 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29961
29962 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29963
29964 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29965
29966 * lib/gdb.exp: Disable chill tests for irix5.
29967
29968 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29969
29970 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29971 each test pass or fail.
29972
29973 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29974
29975 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29976 xlc not gcc.
29977
29978 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29979
29980 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29981
29982 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29983
29984 * config/est.exp: Fix copyright and comments. Remove dead code.
29985 Use targetname, serialport and baud variables instead of fixed
29986 constants.
29987 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29988 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29989
29990 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29991
29992 * gdb.base/watchpoint.exp: Don't run
29993 test_watchpoint_triggered_in_syscall for sunos.
29994
29995 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29996
29997 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29998 they don't seem to exist. Do include stdio.h.
29999
30000 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30001
30002 * gdb.base/a1-selftest.exp: Add alpha xfail.
30003
30004 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30005
30006 * gdb.base/watchpoint.c (main): Prompt before calling read().
30007 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30008 Revise accordingly. Remove cruft about sending "123" several
30009 times, until it gets noticed. Clean up the "print buf[0]" stuff
30010 so that it passes or fails, and waits for prompts in the usual way.
30011
30012 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30013
30014 * gdb.base/recurse.exp: Fix comment.
30015
30016 * TODO: Remove item about printing variables in nodebug.exp. Add
30017 item about enabling tests which are only run on some targets.
30018
30019 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
30020 fail, make test names unique, use new gdb_test convention
30021 regarding pattern, use gdb_test more, etc.).
30022
30023 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
30024 fail, make test names unique, etc.).
30025
30026 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30027
30028 * gdb.base/nodebug.c: Change return type of top and middle to
30029 short.
30030 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30031 are fixed by the recent mdebugread.c changes. Allow `short ()'
30032 as type for top and middle.
30033
30034 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30035
30036 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30037 nearly as I can tell, the whole thing was an accident in Stu's
30038 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30039 to replace a send/expect pair with gdb_test, but ended up only
30040 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30041 of 30 Mar 1995 took care of it, but left this vestigial comment
30042 which I am now nuking.
30043
30044 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30045
30046 * gdb.base/break.exp: Look for different line number for
30047 breakpoint at main depending on usestubs.
30048
30049 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30050
30051 * gdb.base/list.exp: Adjust some alternate expect patterns to
30052 match recent list0.c change. Add alternate expect pattern for
30053 output from `list default lines around main' for optimizing
30054 compilers.
30055
30056 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30057
30058 * lib/gdb.exp: If nosignals is not set, set it to 0.
30059
30060 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30061
30062 * config/slite-gdb.exp: Responds to load symbol table prompt.
30063 * gdb.base/break.exp: Adjust line number, fix rerun.
30064 * gdb.base/langs0.c: Add #ifdef usestubs.
30065
30066 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30067
30068 * gdb.base/list.exp: Adjust line contents after adding new lines in
30069 list0.c. Also fix a syntax error.
30070
30071 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30072 * gdb.base/break.exp: ditto.
30073 * gdb.base/list.exp: ditto.
30074 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30075 * gdb.base/run.c: ditto.
30076 * gdb.base/list0.c: ditto.
30077 * gdb.base/funcargs.c: ditto.
30078
30079 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30080
30081 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30082 $targetname, $serialport and $baud instead of hardwired variables.
30083 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30084 target doesn't support signals.
30085
30086 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30087
30088 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30089
30090 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30091
30092 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30093 Don't rely on the value of an auto variable before it has been
30094 initialized. Use gdb_test more.
30095
30096 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30097
30098 * lib/gdb.exp (default_gdb_version): A version number must start
30099 with a digit, but other than that contains all characters up to
30100 the first whitespace character.
30101
30102 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30103
30104 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30105
30106 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30107
30108 * gdb.c++/*.exp: Warn if executable does not exist. The original
30109 reason for skipping the warning was that configure.in sometimes
30110 intentionally skipped building the executables but the tcl code
30111 had no way of knowing. That (a) was always bogus with respect to
30112 error handling, (b) is no longer true (right now there is no way
30113 to skip C++ tests).
30114
30115 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30116
30117 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30118
30119 * gdb.base/list.exp: Add expect patterns for output from
30120 SunPRO compiled executables.
30121 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30122 types.
30123
30124 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30125
30126 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30127 number (we are already testing that the correct source line text
30128 gets printed).
30129
30130 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30131 that is what is intended, but something needed to be done to get
30132 sunos4 native working again.
30133
30134 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30135
30136 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30137 apparently went with a (very) old xfail.
30138
30139 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30140
30141 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30142 runto_main is a proc in gdb.exp that will do 'step' for target use
30143 stubs.
30144 * gdb.base/exprs.exp: ditto.
30145 * gdb.base/interrupt.exp: ditto.
30146 * gdb.base/opaque.exp: ditto.
30147 * gdb.base/printcmds.exp: ditto.
30148 * gdb.base/ptype.exp: ditto.
30149 * gdb.base/scope.exp: ditto.
30150 * gdb.base/setvar.exp: ditto.
30151 * gdb.base/signals.exp: ditto.
30152 * gdb.base/twice.exp: ditto.
30153 * gdb.c++/classes.exp: ditto.
30154 * gdb.c++/inherit.exp: ditto.
30155 * gdb.c++/templates.exp: ditto.
30156 * gdb.base/break.exp: no run and hit main for stubs. Change line
30157 numbers for breakpoints and info breakpoint.
30158 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30159 breakpoint().
30160 * gdb.base/callfuncs.c: ditto.
30161 * gdb.base/exprs: ditto.
30162 * gdb.base/interrupt.c: ditto.
30163 * gdb.base/opaque0.c: ditto.
30164 * gdb.base/printcmds.c: ditto.
30165 * gdb.base/ptype.c: ditto.
30166 * gdb.base/scope0.c: ditto.
30167 * gdb.base/setvar.c: ditto.
30168 * gdb.base/signals.c: ditto.
30169 * gdb.base/twice.c: ditto.
30170 * gdb.c++/misc.cc: ditto.
30171 * gdb.c++/templates.cc: ditto.
30172
30173 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30174
30175 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30176
30177 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30178 somewhere between `read' and `main.c'. I'm pretty sure the
30179 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30180 and it isn't particularly useful.
30181
30182 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30183
30184 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30185
30186 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30187
30188 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30189
30190 * config/mt-slite: add LIBS and -nostdlib.
30191 * config/slite-gdb.exp: add this new file to support sparclite target.
30192
30193 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30194
30195 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30196
30197 * gdb.base/a2-run.exp: Change argument to istarget from
30198 "*-*-vxworks" to "*-*-vxworks*".
30199 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30200
30201 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30202
30203 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30204 will not runto main but do a 'step' to step out of breakpoint().
30205 * config/mt-slite: add -Dusestubs.
30206
30207 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30208
30209 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30210 instead of just @.
30211
30212 * gdb.base/signals.exp: Add test for "handle all print".
30213 * TODO: Remove "handle all print". Also remove item about
30214 checking copyright date (I don't like the idea of a spurious FAIL
30215 based on when we run the tests).
30216
30217 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30218 for SunOS4 (reason for failure not investigated). Remove
30219 redundant test for $binfile.
30220
30221 * gdb.base/nodebug.c (array_index): Call malloc.
30222
30223 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30224
30225 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30226
30227 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30228 conventions and slightly simplify the matching regexp.
30229
30230 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30231
30232 * gdb.base/break.exp: Update gdb_test invocation to use new
30233 convention.
30234
30235 * lib/gdb.exp: If noargs is not set, set it to 0.
30236
30237 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30238 tests unique.
30239
30240 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30241
30242 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30243
30244 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30245 one argument of type "<non-float parameter>".
30246
30247 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30248
30249 * config/rom68k.exp: New file to support Motorola IDP board.
30250 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30251 * gdb.base/break.c: Change things around so that this program
30252 doesn't depend upon args. This is necessary to make remote
30253 targets work (in general, they can't take args).
30254 * gdb.base/break.exp: Don't try to send args to program. Don't
30255 expect output. Also, replace lots of code with gdb_test.
30256
30257 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30258
30259 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30260 printing of '\'' (which is what the comment says we are testing,
30261 even though we were not), not '''.
30262 (test_integer_literals_rejected): Test that printing ''' is an error.
30263
30264 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30265 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30266 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30267 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30268 Use gdb_test not test_print_accept.
30269 * lib/gdb.exp: Remove test_print_accept.
30270
30271 * gdb.base/signals.exp (signal_tests_1): Make pass message
30272 consistent with fail message.
30273
30274 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30275 unsigned char; the bug (PR 1821) is fixed.
30276
30277 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30278
30279 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30280 successful tests--makes xfailing them work right.
30281
30282 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30283
30284 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30285 only \r\n, not .*. The test can pass .* as the last thing in
30286 $pattern if that is what it wants. In addition to providing this
30287 flexibility, this change should speed up pattern matching in cases
30288 where the pattern already ended with .* (there were a number of
30289 them). This change also helps catch bad patterns--in the old
30290 scheme the typo "char \*" instead of "char \\*" would pass. Now
30291 it is caught.
30292 * Many .exp files: Update callers.
30293
30294 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30295 clearer and does not spuriously match multiple ('s. Likewise for
30296 ) and *.
30297
30298 * gdb.base/nodebug.exp: Test ability to call a function and pass
30299 it a string (even with no debugging info).
30300
30301 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30302 "p '\'", which is the same as "p ''" once tcl gets done with
30303 quoting, to "p '\\'", which I suspect is what is intended (one
30304 backslash gets sent to GDB).
30305
30306 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30307
30308 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30309
30310 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30311 1817) was fixed literally years ago.
30312
30313 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30314
30315 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30316 test, it causes stepping out of call_after_alloca_subr with
30317 optimizing compilers.
30318 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30319 fails.
30320
30321 * gdb.c++/templates.exp: Source templ-info.exp only if
30322 the templates executable exists.
30323
30324 * gdb.c++/misc.cc (class Contains_static_instance,
30325 class Contains_nested_static_instance),
30326 gdb.c++/classes.exp (test_static_members): Test printing of
30327 a class that contains a static instance of the class.
30328
30329 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30330
30331 * gdb.base/langs2.c (cppsub_): Don't prototype.
30332 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30333 only, I believe).
30334
30335 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30336
30337 * lib/gdb.exp (skip_chill_tests): New procedure.
30338
30339 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30340
30341 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30342
30343 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30344 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30345
30346 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30347
30348 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30349
30350 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30351 disassemble 8, not 16, instructions for part 4.
30352
30353 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30354 support the latter anymore.
30355
30356 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30357 -DNO_PROTOTYPES.
30358 * gdb.base/callfuncs.c: Control use of prototypes based on
30359 NO_PROTOTYPES, not __STDC__.
30360 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30361 t_float_values2 tests if prototypes in use.
30362
30363 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30364 t_double_values): When checking differences against DELTA, check
30365 that difference is within the range (-DELTA,DELTA), not just
30366 (-infinity,DELTA).
30367
30368 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30369
30370 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30371 'file' command firts, then 'target', then 'load', this is due to gdb
30372 target set up.
30373 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30374
30375 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30376
30377 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30378 FP load/store variants.
30379 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30380
30381 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30382
30383 * gdb.base/term.exp: Do not give a warning if not native, it is
30384 not an abnormal condition.
30385
30386 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30387
30388 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30389 t_char_array".
30390
30391 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30392
30393 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30394 are getting the version number.
30395
30396 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30397 if not native, it is not an abnormal condition.
30398
30399 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30400
30401 * lib/gdb.exp: Just use "file exists", rather than undocumented
30402 dejagnu procedure "findfile".
30403
30404 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30405
30406 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30407 (LDFLAGS): Set to -Xlinker -Ur.
30408
30409 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30410 Removed, these values are set by lib/gdb.exp.
30411
30412 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30413
30414 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30415
30416 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30417 of replicating gdb startup code.
30418
30419 * config/mt-vxworks (LDFLAGS): Set to -r.
30420 (CFLAGS_FOR_TARGET): Removed.
30421
30422 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30423 (gdb) and gdb for vxworks uses (vxgdb).
30424
30425 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30426 executable is not in the tree and host != target, use sed and
30427 program_transform_name to determine the gdb name used by the
30428 target.
30429
30430 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30431 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30432
30433 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30434
30435 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30436 floats, chars, and shorts where there are ANSI-style function
30437 definitions.
30438
30439 * gdb.base/langs.exp, gdb.base/langs*: New test.
30440 * gdb.base/Makefile.in: Build it.
30441 * TODO: Remove item about checking that C names don't get C++
30442 demangling applied; this test tests it.
30443
30444 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30445
30446 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30447 went with the const70 xfail. The xfail went away a year ago.
30448
30449 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30450
30451 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30452 for hp300.
30453
30454 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30455
30456 * gdb.base/a1-selftest.exp: Don't run on hp300.
30457
30458 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30459
30460 * Makefile.in (site.exp): Set host_alias and target_alias as well
30461 as host_triplet and target_triplet.
30462
30463 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30464
30465 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30466
30467 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30468 places as other ecoff systems).
30469
30470 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30471 ultrix.
30472
30473 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30474
30475 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30476 remove them.
30477 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30478 variable and "variable" in addition to "data variable".
30479 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30480
30481 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30482 2.
30483 * gdb.base/list1.c (long_line): Add additional statement at start
30484 of function.
30485 * gdb.base/list.exp (test_forward_search): Update line number to
30486 reflect new statement.
30487
30488 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30489
30490 * gdb.base/signals.exp: Reinitialize searched source directories
30491 after gdb_start call.
30492
30493 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30494
30495 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30496 * gdb.stabs/Makefile.in: Likewise.
30497
30498 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30499 change. Instead split the tests into smaller pieces.
30500 * gdb.disasm/hppa.s: Corresponding changes.
30501
30502 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30503
30504 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30505 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30506
30507 * gdb.base/funcargs.exp: Modify many tests so that every test
30508 either passes or fails. Make some test names unique.
30509
30510 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30511
30512 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30513 Call stty to set interrupt character.
30514
30515 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30516 for HP assembler versus GNU assembler based on actual behavior of
30517 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30518
30519 * TODO: Suggest a few more stepping tests.
30520
30521 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30522
30523 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30524 restart GDB for h8300 after a continue.
30525 (return): Add pattern to match a29k-udi behavior.
30526 * gdb.base/nodebug.exp: Remove obsolete comment.
30527 * gdb.base/regs.exp: New file, testing of register displays.
30528 * gdb.base/return.exp: Fix typo in reference to $objdir.
30529 * gdb.base/whatis.exp: Always start with a fresh GDB.
30530
30531 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30532
30533 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30534 higher, these tests generate a lot of output.
30535
30536 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30537
30538 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30539 code following the catch silently ignored some errors; without the
30540 catch they should be thrown like any other tcl error. Also, the
30541 catch used "" instead of {} which meant all the callers who wanted
30542 to include one of the characters "[]$ had to quote it an extra time.
30543 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30544 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30545 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30546 Remove extra quoting.
30547
30548 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30549
30550 * gdb.base/commands.exp: Make test names unique; every test either
30551 passes or fails. Update some comments.
30552
30553 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30554
30555 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30556
30557 The following fixes a FAIL caused by the fact that the alpha stabs
30558 configuration didn't use the ".if alpha" code in weird.def.
30559 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30560 bit pointer, so the 32 bit version works even on the alpha.
30561 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30562 Remove the stuff which allowed us to have separate versions for
30563 alpha and everything else.
30564
30565 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30566 regexp which "info func operator\[\](" is supposed to match. Fix
30567 string to send to GDB. Note that GDB still doesn't work right. Add a
30568 new test for "info func .perator\[\](" which GDB does handle correctly.
30569
30570 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30571
30572 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30573
30574 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30575 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30576 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30577 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30578 it makes the tests harder to understand and confuses test-o-matic.
30579 The preferred style is that each test provides a PASS or a FAIL,
30580 and has a unique message (e.g. "continue #54" not just "continue")
30581 which is the same for the pass and the fail.
30582 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30583 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30584 to lib/gdb.exp.
30585 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30586 prt_accept which was basically the same thing. Likewise for
30587 test_print_reject and prt_reject.
30588 * lib/gdb.exp (test_print_reject): Add some more error message
30589 patterns to match from the former printcmds.exp (prt_reject).
30590 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30591 One defect of the passcount stuff is that some of it failed to
30592 report XPASS where appropriate.
30593 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30594 stuff before and after arg in expected pattern.
30595 (test_paddr_operator_functions): Re-do test without print_addr_of;
30596 this is the only test which seems to want extra stuff there.
30597
30598 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30599
30600 * gdb.base/nodebug.exp: Update new tests to reflect improved
30601 wording of gdb output.
30602
30603 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30604 and "ptype" work on variables in files compiled without -g.
30605 Replaces commented out "maint print msymbol" tests.
30606
30607 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30608
30609 * gdb.base/setvar.c (dummy): Call malloc.
30610
30611 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30612 losing with the irix4 sed.
30613
30614 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30615 ALRM" on irix4.
30616
30617 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30618
30619 * TODO: Remove items about corefile.exp testing new exec-file and
30620 backtrace; both are now done. Add items about printing enums.
30621
30622 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30623
30624 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30625 "get signal $thissig" test fails.
30626
30627 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30628
30629 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30630
30631 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30632 compiler warning with dec alpha compiler.
30633
30634 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30635 extra \n from gdb_test call (this explains why the prompt test
30636 that I removed yesterday was there).
30637 (user_defined_command_test): Remove extra \n and prompt test.
30638
30639 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30640 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30641 doesn't exist.
30642 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30643 Also remove alpha workaround, which turns out to be because
30644 SIGABRT == SIGLOST.
30645
30646 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30647
30648 * gdb.base/help.exp: Don't test "help show".
30649
30650 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30651
30652 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30653 "set print address" is on.
30654 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30655 pass prompt to gdb_test; gdb_test already looks for the prompt.
30656
30657 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30658
30659 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30660 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30661 was to make sure that gdb can read a core file. But (a) the "read
30662 the corefile" part didn't make it to a1-selftest.exp, we just
30663 delete the corefile after creating it, and (b) we test reading
30664 corefiles in corefile.exp anyway. Also, this test left around a
30665 xgdb process on Solaris.
30666
30667 * gdb.base/corefile.exp: Also test backtrace.
30668
30669 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30670
30671 * gdb.base/commands.exp: Test a simple user defined command with
30672 arguments and if/while statements; verify the full user command is
30673 printed by "show user".
30674
30675 * gdb.base/commands.exp: Test if/while commands as part of a
30676 breakpoint command list; verify they appear in breakpoint
30677 information.
30678
30679 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30680
30681 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30682 than by dividing by zero.
30683
30684 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30685
30686 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30687 performing an inferior call with watchpoints enabled.
30688 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30689 call.
30690
30691 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30692
30693 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30694 of "file" command.
30695
30696 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30697 Add additional pattern for when "int operator int(void);" appears
30698 in a different order.
30699
30700 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30701
30702 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30703
30704 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30705 and "signal" with ".*".
30706
30707 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30708
30709 * TODO: Add note about "handle all nostop".
30710
30711 * gdb.base/{sigall.c, sigall.exp}: New test.
30712 * gdb.base/Makefile.in: Add it.
30713
30714 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30715
30716 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30717 when invoking GDB, suppresses any windowing interface.
30718
30719 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30720
30721 * config/sim-gdb: New file, simulator testing support.
30722
30723 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30724
30725 * gdb.base/interrupt.exp: Test calling func1 twice.
30726
30727 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30728
30729 * gdb.base/list.exp (test_forward_search): Set timeout higher
30730 when we'll be getting lots of output from gdb.
30731
30732 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30733 "init_malloc" to after the expect statement. Run it if that
30734 regexp is taken, but also for two others which happen if source
30735 cannot be found.
30736
30737 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30738
30739 * gdb.base/printcmds.exp: New test, for printing register before
30740 program is running.
30741
30742 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30743
30744 * gdb.base/list.exp: Correct some alternate expect patterns
30745 to reflect changes in list1.c.
30746
30747 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30748
30749 * TODO: Add item regarding large frames.
30750
30751 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30752
30753 * TODO: Remove item about enabling return.exp; it
30754 is enabled. Suggest a few more "return" tests.
30755
30756 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30757
30758 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30759 anonymous unions.
30760
30761 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30762
30763 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30764 and pr-5646.o, so "make" is the same as "make all", not "make
30765 pr-4975.o".
30766
30767 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30768
30769 * gdb.base/list.exp: Adjust expectations to reflect changes in
30770 list1.c.
30771 (test_forward_search): New test proc.
30772 * gdb.base/list1.c (long_line): New function, has long source line.
30773
30774 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30775
30776 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30777 additional line of code that was added.
30778
30779 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30780
30781 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30782 tests so as not to overflow expect's input buffers.
30783 * gdb.disasm/hppa.exp: Corresponding changes.
30784
30785 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30786
30787 Beginnings of template debugging tests.
30788 * gdb.c++/templ-info.cc: New file to test for template
30789 debugging capability of the compiler.
30790 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30791 templ-info.cc.
30792 * gdb.c++/templates.cc: Add explicit template instantiations
30793 to enable compiling with -fno-implicit-templates. Add destructor
30794 and 'value' method to T5 class for template tests.
30795 * gdb.c++/templates.exp: Add testcases for printing of template
30796 types, setting breakpoints on template methods and calling a
30797 template method.
30798
30799 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30800
30801 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30802 branch target since some assemblers (gas-2.5) may emit a
30803 relocation for the branch instead of resolving it in the
30804 assembler.
30805
30806 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30807
30808 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30809 through signal handler.
30810
30811 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30812
30813 * configure.in (*-*-netware): Use config/mt-netware.
30814
30815 * config/mt-netware: New file.
30816 * config/mt-i386-netware: Removed, separate configs for different
30817 netware architectures are no longer needed now that we have
30818 --with-headers.
30819
30820 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30821
30822 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30823 by the recent changes to use ANSI C arithmetic conversions.
30824
30825 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30826
30827 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30828 bug involving using inferior_pid to figure out whether to select a
30829 frame.
30830
30831 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30832
30833 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30834 match the current disassembler output.
30835
30836 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30837
30838 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30839 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30840 types, expect "int" as type of integer values (for now).
30841
30842 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30843
30844 * gdb.base/commands.exp: New tests for if/while commands.
30845
30846 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30847
30848 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30849 by .*, since hex values have different syntax in Chill mode.
30850
30851 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30852
30853 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30854 linefeed from expect pattern for repeated types with indices > 9.
30855
30856 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30857
30858 First part of Fortran test suite.
30859 * gdb.fortran: New directory.
30860 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30861
30862 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30863
30864 * gdb.base/default.exp: Update expect pattern for load command
30865 without arguments.
30866
30867 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30868
30869 * configure.in: Change i386 to i[345]86.
30870 * gdb.base/configure.in: Likewise.
30871 * gdb.c++/configure.in: Likewise.
30872 * gdb.chill/configure.in: Likewise.
30873
30874 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30875
30876 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30877 patterns, since that is not a valid context for comments.
30878
30879 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30880
30881 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30882 repeated types and repeated types with indices > 9.
30883
30884 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30885
30886 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30887 2417; old bug has been fixed.
30888
30889 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30890
30891 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30892 send the newline ourselves instead of assuming gdb_test will do
30893 so when passed an empty input string.
30894
30895 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30896 stabs testcode.
30897
30898 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30899
30900 * lib/gdb.exp (gdb_test): Don't send anything if the first
30901 argument is an empty string. This makes cases where we want to
30902 match output that is already in expect's buffers (for example,
30903 matching a breakpoint after gdb_run_cmd has been called) work
30904 reliably.
30905
30906 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30907
30908 * config/netware.exp: New file.
30909
30910 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30911
30912 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30913 the -B and -L prefixes so we can find the debugging stub.
30914
30915 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30916 there and we are using the gcc from the tree.
30917
30918 * gdb.base/types.c: Removed.
30919
30920 * gdb.base/configure.in: Look for makefile fragments in ../config.
30921 Recognize i386-*-netware.
30922 * gdb.c++/configure.in: Likewise.
30923
30924 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30925
30926 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30927 the correct TCL syntax.
30928
30929 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30930
30931 * gdb.base/opaque.exp: use runto instead of messing around with
30932 breakpoints. Simplify by using gdb_test.
30933
30934 * gdb.base/bitfields.exp: restart between tests on netware targets
30935 because breakpoints aren't relocated after target death. Run
30936 processes to completion.
30937
30938 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30939
30940 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30941
30942 * Makefile.in: Remove extra tabs that confuse some versions
30943 of "make". Use the newly built gdb to test with by default,
30944 rather than the first one in the tester's search path.
30945
30946 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30947
30948 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30949
30950 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30951 condition help.
30952
30953 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30954
30955 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30956
30957 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30958 running.
30959 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30960 * gdb.base/funcargs.exp: Likewise.
30961
30962 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30963 * gdb.base/funcargs.exp: Likewise.
30964
30965 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30966 message is "".
30967
30968 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30969
30970 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30971 return,signals,twice}.exp: Handle non-existant binaries
30972 consistantly.
30973
30974 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30975 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30976 might testing a cross development system.
30977
30978 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30979
30980 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30981 runtest script is relative to ${srcdir}, not ${rootdir}.
30982
30983 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30984
30985 * gdb.base/signals.exp: Allow for optionality of breakpoint
30986 address.
30987
30988 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30989
30990 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30991
30992 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30993
30994 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30995 for size_t definition.
30996 * gdb.c++/templates.cc: Likewise
30997
30998 * config/mt-i386-netware: New file.
30999
31000 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
31001 defined.
31002
31003 * gdb.base/Makefile.in: Added support for systems that name core
31004 files by appending "core" to the program name.
31005 * gdb.base/a1-selftest.exp: Likewise.
31006
31007 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31008
31009 * gdb.base/return.exp: Add comment and message for `return double'
31010 test failure on Sparc Solaris.
31011
31012 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
31013
31014 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
31015
31016 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31017
31018 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
31019 from optimizing them away.
31020 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
31021 patterns to include default constructors and assignment operators,
31022 to match gcc versions beyond 2.5.8. Accept any cplus demangling
31023 character in the output of the virtual base pointer.
31024
31025 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31026
31027 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
31028 expression match in print_addr_of to avoid unintented matches.
31029 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31030 versions up to 2.5.8.
31031
31032 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31033
31034 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31035 included file to run under newer versions of expect.
31036 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31037 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31038 Remove xfail for the virtual table of BDDHookV.
31039
31040 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31041
31042 * lib/gdb.exp (string_to_regexp): Set a default result.
31043 (default_gdb_start): Fix misleading message.
31044
31045 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31046
31047 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31048 Remove all CC, etc definitions.
31049 * config/mt-hpux: New file.
31050 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31051 (CFLAGS, LDFLAGS): Define.
31052 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31053
31054 * Makefile.in (site.exp): Don't insert host_os, etc.
31055 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31056 (distclean): Check existence of subdir.
31057 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31058 * gdb.base/Makefile.in: General cleanup and simplification.
31059 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31060 to build executables. Use default rule to build .o files.
31061 (EXPECT, RUNTEST, CC): Fix relative pathname.
31062 (site.exp): Don't insert host_os, etc.
31063 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31064 and/or SIGUSR1 defined.
31065 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31066 * gdb.c++/Makefile.in: General cleanup and simplification.
31067 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31068 (CFLAGS): Remove.
31069 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31070
31071 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31072
31073 * gdb.base/recurse.exp: Misc changes to get tests running again
31074 after Kung's changes to the watchpoint code.
31075 * gdb.base/watchpoint.exp: Likewise.
31076
31077 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31078
31079 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31080
31081 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31082
31083 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31084 * lib/gdb.exp (default_gdb_start): Define.
31085 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31086 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31087 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31088 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31089 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31090 Don't call gdb_target_udi in between tests.
31091
31092 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31093
31094 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31095 (which was basically just a local version of the same thing). In
31096 addition to avoiding duplication, gdb_test_exact is faster.
31097 * lib/gdb.exp (gdb_test_exact): Fix typo.
31098
31099 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31100 don't give an error.
31101
31102 * gdb.base/term.exp: Call delete_breakpoints before starting.
31103
31104 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31105 (t10): Add comment.
31106
31107 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31108
31109 Reorganization of the GDB Test Suite.
31110
31111 * gdb.base: New directory, contains all the basic tests.
31112 * gdb.c++: New directory, tests specific to C++.
31113 * gdb.chill: New directory, tests specific to Chill.
31114 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31115 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31116 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31117 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31118 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31119 t30-31 to chill).
31120 * */gdbme.*: Rename to match appropriate expect scripts.
31121 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31122 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31123 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31124 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31125 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31126 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31127 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31128 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31129 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31130 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31131 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31132 gdb.c++/virtfunc.cc: New names of C++ files.
31133 * gdb.chill/chillvars.ch: New name of Chill file.
31134 * gdb.base/configure.in, gdb.c++/configure.in,
31135 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31136 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31137 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31138 * configure.in (configdirs): Update to reflect directory changes.
31139 (target_abbrev): No longer define for any configuration.
31140 * Makefile.in: Cosmetic improvements to header comments.
31141
31142 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31143
31144 Various changes to gdb.t31:
31145
31146 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31147 * gdbme.ch: Make all key-words and predefineds be upper-case.
31148 * chillvars.exp: Expect key-words and predefinds in upper-case.
31149
31150 * chillvars.exp: Use gdb_test_exact many places.
31151 Change expected output for arrays (which now includes index labels).
31152
31153 * pr-5020.exp, gdme.ch (module PR_5020):
31154 New test, for PR-5020.
31155
31156 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31157
31158 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31159 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31160
31161 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31162
31163 * Makefile.in: Fix bit-rot in definitions of CHILL,
31164 CHILL_FOR_TARGET and Chill_LIB.
31165 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31166 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31167 CHILL, and CHILL_LIB.
31168
31169 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31170
31171 * Revert the previous changes. Please see Rob's directory
31172 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31173
31174 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31175
31176 * Makefile.in, configure.in, config/mips-gdb.exp,
31177 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31178 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31179 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
31180 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31181 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31182 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31183 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31184 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31185 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31186 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31187 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31188 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31189 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31190 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31191 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31192 changes from 94Q1.
31193
31194 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31195
31196 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31197 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31198 Rob's new testing fragments.
31199
31200 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31201
31202 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
31203 lib/gdb.exp: Replace error proc calls with perror.
31204
31205 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31206
31207 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31208 version also, match on casted version strings, and match on
31209 gdb startup case where the line numbers might be messed up.
31210
31211 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31212
31213 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
31214 (CFLAGS): Delete it from here.
31215
31216 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31217
31218 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31219
31220 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31221
31222 * Makefile.in (RUNTEST): Default to just "runtest".
31223
31224 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31225
31226 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31227 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31228 the code has been restructured.
31229
31230 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31231
31232 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31233 \n, not just one of each.
31234
31235 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31236 /bin/cc gives a warning if you do.
31237
31238 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31239
31240 * gdb.t24/demangle.exp: change expect pattern of
31241 __t10ListS_link1ZUiRCUiPT0
31242
31243 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31244
31245 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31246 on local variables in recursive functions.
31247
31248 * gdb.t07/Makefile.in: Build the new test.
31249
31250 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31251
31252 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31253 directly. Instead compare the return values from actual calls.
31254
31255 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31256
31257 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31258
31259 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31260
31261 * From Peter Schauer with minor modifications.
31262 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31263 stops in mid-line in the caller. Add xfail for returning a float
31264 value on X86 targets.
31265
31266 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31267
31268 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31269 to avoid expect lossage.
31270 (fmem_LRbug_tests): Likewise.
31271 * gdb.disasm/hppa.s: Corresponding changes.
31272
31273 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31274 conditions to work with latest dejagnu/expect.
31275
31276 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31277 expected to fail on the PA.
31278 (backtrace in call with trampolines): Explicitly require main
31279 to be frame #1 (no trampolines should show up in backtrace).
31280
31281 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31282 "continue -expect".
31283 * gdb.t06/break.exp: Likewise.
31284 * gdb.t07/watchpoint.exp: Likewise.
31285 * gdb.t13/bitfields.exp: Likewise.
31286 * gdb.t15/{funcargs,return}.exp: Likewise.
31287 * gdb.stabs/weird.exp: Likewise.
31288 * config/{mips,udi}-gdb.exp: Likewise.
31289
31290 * hppa.sed: Enclose comments within a sed command to avoid
31291 losing with the old OSF1 sed.
31292
31293 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31294
31295 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31296 sequent dynix.
31297 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31298 * gdb.t15/funcargs.exp: Conditionally step again to really
31299 finish from marker_call_with_trampolines. Handle the case where
31300 the first step from within call_with_trampolines already steps
31301 us back to main.
31302 * gdb.t15/gdbme.c: Add comment to closing brace of
31303 call_with_trampolines for funcargs.exp.
31304
31305 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31306
31307 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31308 Fix typo(s).
31309
31310 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31311
31312 * gdb.t07/gdbme.c: More code for watchpoint testing.
31313
31314 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31315 "Hardware watchpoint" throughout file.
31316 (test_watchpoint_triggered_in_syscall): New test.
31317 (test_complex_watchpoint): New test.
31318
31319 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31320
31321 * gdbme.c (call_with_trampolines): New function to try and step
31322 into. Tests trampoline problems on the PA.
31323
31324 * funcargs.exp (localvars_in_indirect_call): No longer expect
31325 stepping into indirect call to fail on PAs.
31326 (test_stepping_over_trampolines): New test.
31327
31328 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31329
31330 * TODO: Add suggestions for static member function tests, and
31331 completion tests.
31332
31333 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31334
31335 * TODO: Add suggestions for "p/a" tests.
31336
31337 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31338 (default_gdb_exit): Replace all the hair with sending "quit" to
31339 the process with a simple close.
31340
31341 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31342
31343 * TODO: Add suggestions for shared library tests.
31344
31345 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31346
31347 * TODO: Add suggestions for x/s tests.
31348
31349 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31350
31351 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31352 "enable once", and "enable breakpoints once" with ".*".
31353
31354 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31355
31356 * TODO: Add suggestions about structure passing tests.
31357
31358 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31359
31360 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31361 the primary1 test, use work around if __GNUC__ < 2.
31362 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31363 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31364 Test for bad output rather than waiting for timeout. Issue
31365 second continue only if first continue failed.
31366
31367 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31368
31369 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31370 operator[] test with gdb_test because the old code didn't seem to
31371 be getting the quoting right with the new dejagnu.
31372
31373 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31374
31375 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31376 one from the path.
31377 * Makefile.in: Use a fresh expect if there is one, use runtest
31378 from the src tree if there is one.
31379
31380 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31381
31382 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31383 next over recursive call. Revise the tests from that point on
31384 (which had been skipped) to match GDB's actual (correct) output.
31385
31386 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31387 with next over a breakpoint whose condition is false.
31388
31389 * gdb.t00/help.exp: Comment out "help set print" tests just like
31390 (and for same reason as) "help set" test.
31391
31392 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31393
31394 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31395 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31396
31397 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31398
31399 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31400 necessary gdb_target_udi.
31401
31402 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31403
31404 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31405 1838 and 2417; they are fixed.
31406
31407 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31408 gdb.t03/ptype.exp (ptype structure, ptype union):
31409 Remove xfails; the test is looser than when the xfails were added.
31410
31411 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31412 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31413
31414 * gdb.t01/run.exp: Only run shell test if isnative.
31415
31416 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31417 since "run" automatically loads if necessary. Call gdb_target_udi
31418 after the "file" since "file" kills any execution target.
31419
31420 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31421 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31422 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31423 argument for UDI.
31424
31425 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31426
31427 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31428
31429 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31430
31431 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31432
31433 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31434 properly quoting regexps. This makes the second argument to
31435 demangle a fixed string, which matches the callers, instead of a
31436 shell-style pattern which is what the previous implementation
31437 used. Update some of the callers.
31438
31439 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31440
31441 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31442 (comib_nullified_tests): Fix typo.
31443 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31444 strings. No longer expected to fail.
31445
31446 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31447 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31448 strings. No longer expected to fail.
31449
31450 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31451 string. No longer expected to fail.
31452
31453 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31454
31455 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31456 No longer expected to fail.
31457
31458 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31459 string. No longer expected to fail.
31460
31461 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31462
31463 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31464 only in the names (I probably got most of them). I was even
31465 generous with some which differed in underscores in names, and
31466 probably missed a few, and I *still* was able to remove almost a
31467 third of the file with almost no impact on testsuite coverage.
31468
31469 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31470
31471 * gdb.t00/default.exp: Match udi_attach error message as well as
31472 the one from child_attach.
31473
31474 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31475
31476 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31477
31478 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31479 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31480
31481 * Move test with enums and partial symbols back to
31482 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31483 Reverts the change of 26 May 93. Per today's change to
31484 stabs.texinfo, the behavior that weird.exp was expecting was
31485 unreasonable; what is important is that the compiler+gdb get
31486 things right, which happens with a recent gcc. Also fix the test
31487 to deal with native compilers which put out the stab gdb can't
31488 deal with.
31489
31490 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31491
31492 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31493 in the names. The main thing these accomplish is to slow things down.
31494 Many more such duplicates surely remain.
31495
31496 * gdb.t00/help.exp: Comment out "help support" test just like
31497 (and for same reason as) "help set" test.
31498
31499 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31500
31501 * gdb.t06/break.exp: Remove setup_xfails for
31502 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31503 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31504 about known bug in gcc to include up through 2.5.8.
31505 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31506 well as "_vb$".
31507 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31508 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31509 with latest gcc and gdb.
31510 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31511 well as "_vb$".
31512
31513 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31514
31515 * configure.in (hppa*-*-*): Also configure and build stabs-only
31516 tests.
31517
31518 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31519
31520 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31521 * gdb.t10/configure.in (hppa*-*-*): Use it.
31522
31523 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31524
31525 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31526
31527 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31528
31529 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31530 versions prior to 1.13.5.
31531
31532 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31533
31534 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31535 the prompt is at the start of a line.
31536
31537 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31538
31539 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31540 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31541 in the copr tests now.
31542 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31543 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31544 expected to fail.
31545
31546 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31547
31548 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31549 gdb.t31/chillvars.exp, lib/gdb.exp:
31550 Tweak to run under either version of expect.
31551 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31552 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31553 * gdb.t11/list.exp: Remove extraneous whitespace.
31554
31555 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31556
31557 * gdb.t16/printcmds.exp (test_print_strings): Accept
31558 "(unsigned char *) " before the string.
31559
31560 * TODO: Add notes about printing of fancy types and GDB expressions.
31561
31562 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31563
31564 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31565 * gdb.t06/configure.in: Don't try to compile signals test program
31566 if doing mips-idt-ecoff.
31567
31568 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31569
31570 * Most .exp files: Tweak to run under either version of expect.
31571
31572 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31573
31574 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31575 xfails; I'm not sure why they are failing, but not because of PR 1806.
31576
31577 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31578
31579 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31580 defined in lib/gdb.exp.
31581
31582 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31583
31584 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31585 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31586 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31587 have to be typeless.
31588
31589 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31590
31591 * TODO: Add suggestion for copyright year test.
31592
31593 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31594
31595 * configure.in (*-*-lynxos*): Add stabs tests.
31596
31597 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31598
31599 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31600 so insert a tab before any assembler directive in column zero.
31601
31602 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31603 stores.
31604 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31605 stores.
31606 (fpu_short_memory_tests): Likewise.
31607
31608 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31609
31610 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31611 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31612 .stabs directives in comments.
31613
31614 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31615
31616 * TODO: New file, describing tests we could write.
31617 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31618
31619 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31620
31621 * gdb.t06/signals.exp: Add kludge to force re-sync.
31622
31623 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31624 to xgdb instead of gdb, get out of gdb.
31625
31626 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31627
31628 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31629 for info.
31630
31631 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31632
31633 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31634 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31635 * gdb.stabs/hppa.sed: New sed script for the PA.
31636
31637 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31638
31639 * gdb.stabs: Re-write weird.def and configuration to use sed
31640 instead of cpp. sed is portable and POSIX; cpp is neither.
31641
31642 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31643
31644 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31645
31646 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31647
31648 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31649
31650 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31651
31652 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31653 "_vb$".
31654 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31655 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31656
31657 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31658
31659 * lib/gdb.exp: Comment out code which depends on non-existent
31660 `transform' procedure.
31661
31662 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31663
31664 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31665 * lib/gdb.exp: Transform tool name.
31666 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31667 1.1's new error handling system.
31668
31669 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31670
31671 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31672
31673 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31674
31675 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31676 They made pattern matching so slow that timeouts happened on
31677 heavily loaded systems. Now any output from "show print" which
31678 gets us back to the GDB prompt is a PASS.
31679
31680 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31681
31682 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31683
31684 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31685
31686 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31687
31688 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31689 It is not from PR 3220.
31690
31691 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31692
31693 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31694 just started failing because they depended on the order the
31695 subcommands are presented, or exact docstring text. This kind of
31696 test is a pain and has minimal benefit.
31697
31698 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31699
31700 * gdb.t09/corefile.exp: At end of test, use "core" command with
31701 no arguments.
31702
31703 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31704
31705 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31706 17}/Makefile.in: Make it possible to run the testsuite with Sun
31707 make and CC = cross gcc by adding explicit build rules for .o
31708 files.
31709
31710 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31711
31712 * gdb.t15/funcargs.exp: Don't put comments on same line as
31713 setup_xfail (@#$*%& tcl braindamage!).
31714
31715 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31716
31717 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31718
31719 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31720
31721 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31722 * gdb.t20/inherit.exp: remove three dumplicate entries.
31723
31724 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31725
31726 * gdb.t06/break.exp: For "next over recursive call", fail on any
31727 incorrect output, not just on "factorial (value=2)".
31728
31729 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31730
31731 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31732 working now. Add an xfail if accesing a bss variable causes
31733 a memory error if the target is not yet run.
31734
31735 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31736
31737 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31738 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31739 name of __st* demangling (2 strings). Did Kung really get the
31740 more than 95 others right without testing them?
31741
31742 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31743
31744 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31745
31746 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31747
31748 * configure.in (configdirs): Add gdb.disasm
31749 * gdb.disasm: New directory for GDB disassembler tests.
31750 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31751
31752 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31753
31754 * gdb.t00/help.exp: Don't test "help set".
31755
31756 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31757 from within expect statements. None of these happen anymore and
31758 they cause regressions to be silently unnoticed.
31759
31760 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31761 messages) about known failures with gcc cygnus-2.4.5-930417.
31762
31763 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31764 comp-info.exp so it gets built if it doesn't exist.
31765
31766 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31767 it is no longer used.
31768 * gdb.t13/comp-info.c: Removed.
31769
31770 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31771
31772 * gdb.t06/signals.exp: Add xfail for sun3.
31773
31774 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31775
31776 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31777 relevant because ^C doesn't get sent but failure can be reproduced
31778 interactively).
31779
31780 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31781
31782 * gdb.stabs/alpha.mt: New configuration file for alpha.
31783 * gdb.stabs/configure.in: Use it.
31784 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31785 sharing with alpha.mt, redefine long to word via preprocessor.
31786 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31787 for alpha.
31788 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31789 native cc.
31790 * gdb.t00/teststrategy.exp: Change expect string so that we
31791 consume the `(xgdb)' from the command echo and from the gdb prompt.
31792 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31793 gdb currently compares all values as long, so this failure probably
31794 applies to any configuration where LONGEST is bigger than a target int.
31795 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31796 with gcc.
31797 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31798 to handle opaque pointers, gcc is.
31799 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31800 as first argument. Include <sys/types.h> and change all operator
31801 new definitions to use size_t.
31802 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31803 now that we use size_t.
31804
31805 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31806
31807 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
31808 a long or float array cast all array members to the same type.
31809 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
31810 with 64 bit longs.
31811 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
31812 on alpha.
31813 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
31814
31815 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31816
31817 * gdb.t24 (demangle.exp): Constructors of templates have names like
31818 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31819 section 14.6 of the ARM.
31820
31821 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31822 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31823 accomplish little and slow down the testsuite.
31824
31825 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31826 Accept spaces various places.
31827
31828 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31829
31830 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31831 with watchpoint enabled.
31832
31833 * Makefile.in: Remove definition of CC and remove the second
31834 definition of CXX (the "CXX = gcc" one remains). These definitions
31835 were causing backquotes to be expanded within backquotes, which
31836 doesn't work.
31837
31838 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31839
31840 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31841
31842 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31843
31844 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31845 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
31846 by mips cc and contains no stabs entries.
31847
31848 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31849
31850 * config/vx-gdb.exp: Use fake device to load files rather than
31851 NFS.
31852 * lib/gdb.exp: New proc to do "file" command.
31853 * config/unix-gdb.exp: Use new "file" proc.
31854
31855 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31856
31857 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31858 Rework board rebooting slightly.
31859 (gdb_exit): Don't exit from the remote shell; there isn't one.
31860 * gdb.stabs/weird.exp: If a program is being debugged already,
31861 kill it.
31862 * gdb.t04/setvar.exp: Stop and restart gdb.
31863 * gdb.t05/expr.exp: Likewise.
31864 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31865 restart gdb and reload the program.
31866 * gdb.t08/opaque.exp: Likewise.
31867 * gdb.t12/scope.exp: Likewise.
31868 * gdb.t13/bitfields.exp: Likewise.
31869 * gdb.t15/funcargs.exp: Likewise.
31870 * gdb.t20/classes.exp: Likewise.
31871 * gdb.t03/ptype.exp: Increase timeout.
31872 * gdb.t16/printcmds.exp (test_print_string_constants,
31873 test_print_array_constants): Likewise.
31874 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31875 * gdb.t20/classes.exp (do_tests): Likewise.
31876 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31877
31878 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31879
31880 * gdb.stabs: Renamed *wierd* to *weird*.
31881
31882 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31883
31884 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31885 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31886
31887 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31888
31889 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31890 (do_tests): Remove xfail for whatis on one_var and two_var.
31891
31892 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31893
31894 * Makefile.in: Made cross building work better by adding
31895 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31896
31897 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31898
31899 * gdb.t15/{return.c,return.exp,Makefile.in}:
31900 New test, currently commented out.
31901
31902 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31903
31904 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31905 still running and removes the leftover named socket so GDb can do
31906 clean restarts.
31907
31908 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31909
31910 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31911 console, not GDB.
31912 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31913 cross testing works better with "make check"
31914 * config/unix-gdb: Use default procedures for exit and version.
31915 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31916 with the newest VxWorks.
31917
31918 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31919
31920 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31921 old form.
31922
31923 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31924 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31925
31926 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31927
31928 * config/unix-gdb.exp: Remove this version of gdb_exit
31929 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31930 Rob says he'll look at it when he gets back to testing boards.
31931
31932 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31933
31934 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31935 an expected fail for certain ptype commands.
31936
31937 * gdb.t20/classes.exp: Update expected results of "ptype class
31938 Base1" to account for the constructor that now appears in the type.
31939
31940 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31941
31942 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31943 disappeared from list.
31944 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31945 "alldone" proc with call to cleanup and exit.
31946 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31947 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31948 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31949 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31950 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31951 "alldone" proc with simple returns that suppress remaining
31952 tests. The alldone proc went away many months ago.
31953
31954 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31955
31956 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31957
31958 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31959
31960 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31961
31962 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31963 as vax gdb will display them.
31964
31965 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31966
31967 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31968 optimizers.
31969
31970 * scope.exp: Change "bad value for localval" messages so each one
31971 is unique.
31972
31973 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31974 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31975
31976 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31977
31978 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31979
31980 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31981 doesn't exist (due to optimization).
31982
31983 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31984
31985 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31986 contains \r because the filename is long.
31987
31988 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31989 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31990
31991 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31992
31993 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31994 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31995 Ultrix.
31996 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31997 int tests.
31998 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31999
32000 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
32001
32002 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
32003
32004 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
32005 to match does not match the passing case but still matches the
32006 failing case.
32007
32008 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32009
32010 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
32011
32012 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
32013
32014 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
32015 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
32016 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
32017 Remove various versions of gdb_exit.
32018 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
32019 gdb_exit.
32020 * config/unix-gdb.exp: gdb_exit remains here, and should override
32021 the generic version, since it's doing a lot of wierd stuff that
32022 the other versions aren't. FIXME, fold it in, or abandon this
32023 version.
32024
32025 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32026
32027 * gdb.t24/demangle.exp: Add tests for PR 3220.
32028
32029 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32030
32031 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32032
32033 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32034
32035 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32036 "i386-*-*". Works for i486 as well.
32037
32038 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32039 bug, and expand domain of xfail to all SVR4 systems, since the
32040 actual problem is likely to be in generic SVR4 /proc support.
32041
32042 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32043
32044 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32045
32046 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32047
32048 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32049 xfails for other systems. Match a missing 'Continuing.' as an
32050 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32051
32052 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32053 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32054 Only issue warning for missing executables if -all option is used.
32055
32056 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32057 file if -all option is used. It's like an unpredictable XFAIL.
32058
32059 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32060
32061 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32062 for dynamically linked binaries.
32063
32064 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32065
32066 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32067
32068 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32069 to state that this is a known bug in old versions of g++.
32070
32071 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32072
32073 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32074 while waiting for `Continuing'.
32075
32076 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32077
32078 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32079 in text, data, and bss.
32080 * gdb.t10/nodebug.c: Add local and global test variables for
32081 initialized and uninitialized data.
32082
32083 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32084
32085 * config/unix-gdb.exp (gdb_exit): Add "wait".
32086
32087 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32088
32089 * gdb.t06/signals.exp: xfail the continue from the handler for all
32090 targets.
32091
32092 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32093 function with watchpoints enabled, the i386 call dummy starts with
32094 a call.
32095
32096 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32097 386 bsd names its corefiles.
32098
32099 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32100
32101 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32102 compilers don't grok it.
32103 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32104 with small octal ints rather than character constants, which
32105 are signed and might not fit if first promoted to int.
32106
32107 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32108
32109 * gdb.t09/Makefile.in (clean): Remove corefile.
32110
32111 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32112
32113 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32114
32115 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32116 and Jim Kingdon (kingdon@cygnus.com)
32117
32118 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32119 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32120 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32121
32122 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32123
32124 * gdb.t17/interrupt.exp: Add xfail for hppa.
32125
32126 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32127
32128 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32129 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32130 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32131 to determine signed-ness of bitfields and use the result to setup
32132 the xfail.
32133 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32134 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32135 call line is reached if necessary.
32136
32137 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32138
32139 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32140
32141 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32142
32143 * gdb.t06/break.exp: Also test `clear' command.
32144
32145 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32146
32147 * gdb.t00/teststrategy.exp: Remove extra quote.
32148
32149 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32150 watchpoint enabled to be for all non-68k machines.
32151
32152 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32153
32154 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32155
32156 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32157 targets use aout.mt instead of ecoff.mt as gas understands
32158 standard aout format.
32159
32160 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32161
32162 * lib/gdb.exp (runto): Don't insist that function we are running to
32163 was compiled with -g.
32164
32165 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32166
32167 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32168 to get back into the read system call.
32169 Accept leading newline in case where we woke it up.
32170
32171 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32172
32173 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32174 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32175 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32176 enable ecoff configuration.
32177
32178 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32179
32180 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32181
32182 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32183
32184 * gdb.t16/printcmds.exp: Add another printf test.
32185
32186 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32187
32188 * configure.in: If configured -with-stabs on any target, add
32189 stabsdirs to configdirs.
32190
32191 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32192
32193 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32194 fun" so pattern does not match the command itself.
32195
32196 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32197
32198 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32199
32200 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32201
32202 * gdb.t17/interrupt.exp: Test for more things.
32203
32204 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32205
32206 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32207 compiler arranges the code and line numbers.
32208
32209 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32210
32211 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32212
32213 * gdb.t00/help.exp: Increase expect input buffer size.
32214
32215 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32216
32217 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32218
32219 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32220
32221 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32222
32223 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32224 [0-9]*, not just [0-9].
32225
32226 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32227
32228 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32229
32230 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32231
32232 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32233
32234 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32235
32236 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32237
32238 * gdb.t06/signals.c: Add xfails for sun3.
32239
32240 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32241
32242 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32243 test_stepping tests.
32244
32245 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32246
32247 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32248
32249 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32250
32251 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32252 rather than actually putting it through cpp twice.
32253
32254 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32255
32256 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32257
32258 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32259 no longer needed.
32260
32261 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32262
32263 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32264
32265 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32266 C++ features prints as "struct", make it a pass, not an xfail.
32267
32268 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32269
32270 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32271 Don't require VA to print as "class" rather than "struct".
32272
32273 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32274
32275 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32276
32277 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32278
32279 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32280
32281 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32282
32283 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32284 order.
32285
32286 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32287
32288 * gdb.t16/printcmds.exp: Add printf tests.
32289
32290 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32291
32292 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32293
32294 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32295
32296 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32297 pass counts, to counteract any existing or future setup_xfails.
32298
32299 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32300
32301 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32302 {BEGIN,END}_COMMON for common block instead of STAB.
32303 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32304
32305 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32306 intp_var should be N_GSYM not N_LSYM.
32307 wierd-aout.S: Use a label for the value of the N_SO.
32308 wierd.def: Remove all backslashes.
32309 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32310
32311 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32312
32313 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32314 get the expected next to inheritance3.
32315
32316 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32317
32318 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32319 now that gcc-2.4 gets it right.
32320
32321 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32322
32323 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32324
32325 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32326 generating comp-info.exp which works for cross-compilation.
32327
32328 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32329
32330 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32331 "*-*-sysv4.*".
32332
32333 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32334
32335 * gdb.t01/run.exp: Start with a fresh gdb.
32336 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32337 SVR4.x.
32338
32339 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32340
32341 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32342 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32343 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32344 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32345 things to remove.
32346
32347 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32348
32349 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32350 test cases from bug reports.
32351
32352 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32353
32354 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32355 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32356 avoid spurious xfails.
32357 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32358 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32359 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32360
32361 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32362
32363 * gdb.t00/teststrategy.exp: Rework to provide more useful
32364 description of each test, fix problem with systems that define
32365 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32366 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32367 results for "next over recursive call" so timeouts aren't taken
32368 by error.
32369
32370 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32371
32372 * gdb.t12/scope.exp: Test printing of variables before run.
32373
32374 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32375 printed in wrong order due to sorting.
32376
32377 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32378
32379 * gdb.t00/teststrategy.exp: Fix expected results for printing
32380 user entered string constant. Is array of char, prints with no
32381 address.
32382
32383 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32384 commands.
32385 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32386 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32387 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32388 of struct of char arrays.
32389 * gdb.t00/radix.exp: New tests for radix commands.
32390
32391 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32392
32393 * gdb.t16/printcmd.exp: Print a variable before running program
32394 (with xfail for AIX).
32395
32396 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32397
32398 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32399
32400 * gdb.t16/printcmd.exp: Don't print variables before running program.
32401
32402 * gdb.t06/break.exp: Don't require envp argument to main.
32403
32404 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32405
32406 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32407 Add xfails for rs6000.
32408
32409 * gdb.t02/whatis.exp: Change other tests not to re-test something
32410 we already tested.
32411
32412 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32413 each type used has a variable of that type.
32414
32415 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32416
32417 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32418
32419 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32420
32421 * configure.in: change srctrigger to be a file, not a directory
32422
32423 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32424
32425 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32426
32427 * gdb.t11/list.exp: Fixed a couple of typos.
32428
32429 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32430
32431 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32432 is fixed and PR is closed.
32433 * gdb.t16 (gdbme.c): Add simple test string variable.
32434 * gdb.t16 (printcmds.exp): Add tests with simple test string
32435 variable, primarily for boundaries on "set print elements".
32436
32437 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32438
32439 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32440 Make leading 0's optional and don't expect a tab in the middle
32441 of the number.
32442
32443 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32444
32445 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32446 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32447 don't end command passed to gdb_test with newline.
32448
32449 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32450 signed keyword away, don't expect signed bitfields to be signed.
32451
32452 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32453 printing with only as many 1's as are in the field as well as printing
32454 with 32 1's (see comment).
32455
32456 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32457
32458 * gdb.t00/default.exp: Start with a fresh gdb.
32459 * configure.in (configdirs): Remove gdb.t31 until the chill
32460 compiler works again. It no longer is able to find chillrt0
32461 since it isn't in libchill.a anymore.
32462 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32463 wierd.o, make more modular.
32464 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32465 spurious newlines that caused problems.
32466
32467 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32468
32469 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32470 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32471 gdb.stabs/wierd.{exp,def}: Many new tests.
32472
32473 * gdb.t00/default.exp: update info line for new message.
32474
32475 * gdb.t02/{whatis.exp,gdbme.c}:
32476 Test that "char *" doesn't print as "caddr_t".
32477
32478 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32479
32480 * gdb.t00/help.exp: Use .* in place of some help messages which
32481 just changed.
32482 gdb.t00/default.exp: Update "info frame" test for new message.
32483 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32484 Remove some xfails
32485
32486 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32487
32488 * gdb.t03/{gdbme.c,ptype.exp}:
32489 Add tests for typedef'd struct and union without tags.
32490 Also check "whatis" on a variable of a typedef'd enum without a tag.
32491
32492 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32493 PRMS 1823; the bug still exists but isn't reproduced by this test
32494 anymore), and remove rs6000 XFAIL (the bug is fixed).
32495
32496 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32497 duplicated from whatis.exp. For those that are left, accept
32498 "long", "long int", or "int" for long variables (whatis.exp already
32499 has an XFAIL for "int", so no need to fail it here).
32500
32501 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32502 Deal with GCC's names for types now that GDB uses the compiler's names.
32503
32504 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32505 setup_xfail's for sunos4. If we #defined the signed keyword away,
32506 don't expect GDB to know that char it is signed.
32507
32508 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32509
32510 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32511
32512 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32513 should work on any system, regardless of debugging format.
32514 * gdb.t21/demangle.exp: Move to gdb.t24.
32515 * gdb.t24/demangle.exp: Move from gdb.t21.
32516 * gdb.t24/{Makefile.in, configure.in}: New files.
32517
32518 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32519
32520 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32521 * gdb.stabs: New directory.
32522
32523 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32524
32525 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32526 not just "Quit anyway?".
32527
32528 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32529
32530 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32531 that all setup_xfails are immediately followed by clear_xfails.
32532
32533 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32534
32535 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32536 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32537 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32538 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32539 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32540 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32541 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32542 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32543 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32544 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32545 gdb.t31/chillvars.exp, lib/gdb.exp:
32546 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32547 bug-gdb@prep.ai.mit.edu.
32548
32549 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32550
32551 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32552 with 0.0, not integer 0.
32553
32554 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32555
32556 * gdb.t06/break.exp: Update for "Kill the program" message change.
32557
32558 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32559
32560 * Makefile.in (GDBFLAGS): Set to -nx.
32561 * Makefile.in (site.exp): Use GDBFLAGS.
32562
32563 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32564
32565 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32566 Makefiles.
32567 (check): depend on just-check.
32568 (just-check): added so that tests can be run without a noop
32569 build pass.
32570
32571 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32572
32573 Switch to using configure's configdirs.
32574 * Makefile.in (Makefile): add configure.in dependency.
32575 (SUBDIRS): removed redundant assignment.
32576 * configure.in: switch subdirs assignment to configdirs.
32577 * gdb.t*/configure.in: new files.
32578
32579 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32580
32581 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32582 works.
32583
32584 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32585
32586 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32587 in explicit rules. Apparently this is not supported by some makes.
32588
32589 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32590
32591 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32592
32593 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32594
32595 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32596 disappeared.
32597
32598 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32599
32600 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32601
32602 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32603
32604 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32605 watchpoint problem that is now fixed.
32606 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32607 uninitialized convenience variables.
32608 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32609 structures.
32610
32611 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32612
32613 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32614 which causes expect to get out of sync with gdb on long output
32615 from help set.
32616 * gdb.t09/corefile.exp: Make expected pattern for core file
32617 failing signal and frame output format less sun specific.
32618
32619 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32620
32621 * gdb.t31/chillvars.exp: Add and remove initial dummy
32622 breakpoint, so that symbol table is forced in.
32623 (Needed at least on Sunos4, though it seems not SVR4.)
32624 * gdb.t31/chillvars.exp: Update for changed output format.
32625
32626 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32627
32628 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32629
32630 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32631
32632 * Makefile.in: Added --srcdir when invoking runtest, removed the
32633 need for a local config file. (optional now)
32634
32635 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32636
32637 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32638 failure count used to force early termination. Add some more
32639 expected failures for gnu style demangling.
32640
32641 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32642
32643 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32644 pmi variable from gdb.t20/gdbme to get optimized away.
32645 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32646 Check for written corefile upon timeout _and_ eof.
32647
32648 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32649
32650 * config/unix-gdb.exp: Add missing return 0.
32651
32652 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32653
32654 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32655 test termination.
32656
32657 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32658
32659 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32660 disappeared.
32661
32662 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32663
32664 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32665 time as i860 support works.
32666
32667 * gdb.t15/funcargs.exp: Fix expected outputs to include
32668 "backtrace 100\r" rather than just "backtrace\r", to match last
32669 change.
32670
32671 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32672
32673 * config/udi-gdb.exp (gdb_exit): Remove close command.
32674 (gdb_target_udi): New procedure to set the UDI target.
32675 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32676 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32677 Added waits for prompts after several question responses. Added
32678 some more responses used by a29k-amd-udi-gdb.
32679 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32680 pass different arguments, restart UDI connection after program
32681 completion.
32682 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32683 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32684 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32685 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32686 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32687 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32688 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32689 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32690 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32691 after program completion.
32692 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32693 compiled with a SELECT_VECS setting.
32694 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32695 infinite recursion.
32696
32697 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32698 Added checks for COFF results, and made them expected failures for
32699 all targets. It would be better to make them expected failures
32700 for COFF targets only.
32701
32702 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32703
32704 * Makefile.in: add null dvi target, don't bother to recurse
32705 through test directories for info and install-info; rename
32706 $(datadir) to be dejagnu instead of deja-gnu
32707
32708 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32709
32710 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32711 compiler to coredump.
32712 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32713 code.
32714
32715 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32716
32717 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32718 coredump.
32719 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32720 code.
32721
32722 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32723
32724 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32725 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32726 which in a shell. Deletes xgdb when done.
32727 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32728 Tests the return from the "set height" or "set width" commands.
32729 Added a few return codes where needed.
32730
32731 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32732
32733 * Makefile.in (SUBDIRS): Add gdb.t17.
32734 * configure.in (subdirs): Add gdb.t17.
32735 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32736 files to test gdb's calling of functions in the inferior with
32737 the correct arguments and gdb's ability to retrieve any
32738 result returned.
32739
32740 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32741
32742 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32743 may be called after gdb goes away. Previous versions of expect
32744 needed these to avoid file descriptor leaks, but they cause
32745 errors with the current revision of expect.
32746 * gdb.t00/gdbvars.exp: Use -re on expected output after
32747 setting sevenbit-strings.
32748 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32749 to set sevenbit-strings consistent across tests.
32750 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32751 set sevenbit-strings consistent across tests.
32752
32753 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32754
32755 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32756 expected output to match current "expect" expectations.
32757
32758 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32759
32760 * gdb.t00/default.exp: Change expected output for default "source"
32761 command, to match new gdb behavior which requires a filename to
32762 source.
32763
32764 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32765
32766 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32767 expected fail for i486-*-* that misses the marker2 function.
32768 * gdb.t10/crossload.exp (bfddefault): Allow successful
32769 recognition of a format to pass even if no symbols are found.
32770 Explicitly catch failures where the format is not recognized
32771 or is ambiguous, and add the reason to the fail message.
32772 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32773 the cause is and invalid target and add reason to failure message.
32774 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32775 elf32-i386, elf32-sparc, and elf32-i860.
32776 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32777 Set up expected failure for 'filename'::variable scope resolution,
32778 which is now apparently broken on all targets.
32779 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32780 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32781 gdb.t23/templates.exp: Change failure for missing binfile into
32782 just a warning.
32783 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32784 references.
32785
32786 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32787
32788 * gdb.t00/default.exp: Add expected output for default "source"
32789 command, to match new gdb behavior.
32790 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32791
32792 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32793
32794 * config/*-gdb.exp: returns an error, rather than exiting on
32795 internal errors.
32796
32797 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32798
32799 * gdb.t03/gdbme.c: Add pointer to struct variable.
32800 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32801 referencing struct members.
32802
32803 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32804
32805 * configure.in (mips-idt-ecoff): New target.
32806 * config/mips-gdb.exp: New file for remote board using MIPS remote
32807 debugging protocol.
32808
32809 * Redid configuration scheme. Removed gdb.t*/configure.in.
32810 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32811 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32812 distclean targets. Built executables via .o files. Adjusted
32813 tests to account for source files in $(srcdir) rather than
32814 $(objdir).
32815 * lib/gdb.exp (runto): Don't expect () after the function name,
32816 because it may have arguments.
32817
32818 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32819
32820 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32821 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32822 expected failures for mips-idt-* and mips-sgi-*.
32823 * gdb.t00/default.exp (attach): Kill process if requested.
32824 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32825 that does not read core files.
32826 * gdb.t01/run.exp: Removed checks for exit status code.
32827 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32828 it is linked in.
32829 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32830 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32831 appropriate, rather than doing it by hand.
32832 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32833 execution.
32834 * gdb.t10/crossload.exp: Kill existing program if needed.
32835 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32836 appropriate, rather than doing it by hand. Always increase
32837 timeout for this test, not just for VxWorks.
32838
32839 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32840
32841 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32842 of Chill STRUCT types and STRUCT values.
32843 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32844 than "char".
32845 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32846 struct2): New struct definitions and initializations to test
32847 simple Chill STRUCT types.
32848
32849 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32850
32851 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32852 the null byte at the end of strings.
32853 * gdb.t00/default.exp: Make show version insensitive to copyright
32854 date.
32855 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32856 to avoid dependencies on target char signedness.
32857 * gdb.t16/printcmds.exp: Update expected results for explicitly
32858 unsigned char.
32859 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32860 now work.
32861 * gdb.t21/demangle.exp: Add many more patterns for template
32862 demangling, most of them being expected failures.
32863 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32864 string we are matching for, to match on the whole string.
32865 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32866 and fix a whole bunch that had incorrect expected output but were
32867 passing anyway because of the bug in "proc demangle".
32868 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32869 type.
32870 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32871
32872 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32873
32874 * gdb/testsuite: made modifications to testcases, etc., to allow
32875 them to work properly given the reorganization of deja-gnu and the
32876 relocation of the testcases from deja-gnu to a "tool" subdirectory.
32877
32878 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32879
32880 * gdb/testsuite: Initial creation of gdb/testsuite.
32881 Migrated dejagnu testcases and support files for testing nm to
32882 gdb/testsuite from deja-gnu. These files were moved "as is"
32883 with no modifications. This migration is part of a major overhaul
32884 of dejagnu. The modifications to these testcases, etc., which
32885 will allow them to work with the new version of dejagnu will be
32886 made in a future update.
32887
32888 For additional changes see gdb.mi/ChangeLog-1999-2003.
32889 \f
32890 ;; Local Variables:
32891 ;; mode: change-log
32892 ;; left-margin: 8
32893 ;; fill-column: 74
32894 ;; version-control: never
32895 ;; End:
32896
32897 Copyright 1993-2013 Free Software Foundation, Inc.
32898 Copying and distribution of this file, with or without modification,
32899 are permitted provided the copyright notice and this notice are preserved.
This page took 0.742816 seconds and 5 git commands to generate.