gdb/testsuite/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-10-11 Yao Qi <yao@codesourcery.com>
2
3 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
4 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
5 and 'dlclose'.
6 [!__WIN32__]: Include "dlfcn.h".
7 * gdb.mi/mi-catch-load.exp: Set up kfail.
8
9 2013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10
11 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
12 generated corefile" by argument "$test".
13
14 2013-10-09 Pedro Alves <palves@redhat.com>
15
16 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
17 output.
18
19 2013-10-09 Pedro Alves <palves@redhat.com>
20
21 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
22 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
23 (test_catch_syscall_with_wrong_args)
24 (test_catch_syscall_restarting_inferior)
25 (test_catch_syscall_fail_nodatadir)
26 (test_catch_syscall_without_args_noxml)
27 (test_catch_syscall_with_args_noxml)
28 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
29
30 2013-10-08 Tom Tromey <tromey@redhat.com>
31
32 * gdb.dwarf2/dwzbuildid.exp: New file.
33 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
34 parameters.
35 (Dwarf::_defer_output): Change "section" parameter to
36 "section_spec"; update.
37 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
38 procs.
39
40 2013-10-08 Joel Brobecker <brobecker@adacore.com>
41
42 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
43
44 2013-10-07 Tom Tromey <tromey@redhat.com>
45
46 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
47 to 0.
48
49 2013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
50
51 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
52 $_exitcode is void when opening a corefile.
53 * gdb.base/exitsignal.exp: New file.
54 * gdb.base/segv.c: Likewise.
55 * gdb.base/normal.c: Likewise.
56
57 2013-10-04 Joel Brobecker <brobecker@adacore.com>
58
59 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
60
61 2013-10-02 Vidya Praveen <vidyapraveen@arm.com>
62
63 * gdb.trace/entry-values.exp: Modify regular expression to scan for
64 'bl' instruction instead of 'call' for ARM and AArch64 targets.
65
66 2013-10-02 Pedro Alves <palves@redhat.com>
67
68 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
69 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
70 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
71 (not_saved_pattern): New.
72 Replace use of the former with the latter.
73
74 2013-10-02 Pedro Alves <palves@redhat.com>
75
76 * README (Board Settings): Document "exit_is_reliable".
77 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
78 running to exit reliably reports program exits.
79 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
80 info.
81 * boards/native-stdio-gdbserver.exp: Likewise.
82
83 2013-10-01 Doug Evans <dje@google.com>
84
85 * gdb.python/python.exp: Remove redundant print-stack tests.
86 Make all print-stack test names unique. Fix spelling of print-stack.
87
88 2013-09-29 Yao Qi <yao@codesourcery.com>
89
90 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
91 is remote.
92
93 2013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
94
95 PR shlibs/8882
96 * gdb.base/corefile.exp: Add a check to assure warning-free
97 core-file load.
98
99 2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
100
101 * gdb.dwarf2/dwp-symlink.c: New file.
102 * gdb.dwarf2/dwp-symlink.exp: New file.
103
104 2013-09-20 Doug Evans <dje@google.com>
105
106 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
107 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
108 file.
109 * gdb.dwarf2/fission-loclists.S: Ditto.
110 * gdb.dwarf2/fission-reread.S: Ditto.
111 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
112 build_executable_from_fission_assembler.
113 * gdb.dwarf2/fission-loclists.exp: Ditto.
114 * gdb.dwarf2/fission-reread.exp: Ditto.
115
116 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
117 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
118 (gdb_gnu_strip_debug): Ditto.
119 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
120 * gdb.arch/altivec-abi.exp: Ditto.
121 * gdb.base/attach-pie-misread.exp: Ditto.
122 * gdb.base/comprdebug.exp: Ditto.
123 * gdb.base/dup-sect.exp: Ditto.
124 * gdb.base/gnu-debugdata.exp: Ditto.
125 * gdb.base/step-symless.exp: Ditto.
126 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
127 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
128 * gdb.dwarf2/gdb-index.exp: Ditto.
129
130 2013-09-18 Andrew Burgess <aburgess@broadcom.com>
131
132 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
133 register to "<optimized out>", and also print the registers.
134
135 2013-09-18 Pedro Alves <palves@redhat.com>
136
137 PR server/15967
138 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
139 change text.
140
141 2013-09-18 Yao Qi <yao@codesourcery.com>
142
143 * gdb.server/wrapper.c: New.
144 * gdb.server/wrapper.exp: New.
145
146 2013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
147 Jan Kratochvil <jan.kartochvil@redhat.com>
148 Pedro Alves <palves@redhat.com>
149
150 PR gdb/11568
151 * gdb.thread/thread-specific-bp.c: New file.
152 * gdb.thread/thread-specific-bp.exp: New file.
153
154 2013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
155
156 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
157 convenience function.
158
159 2013-09-17 Pedro Alves <palves@redhat.com>
160
161 PR gdb/15911
162 * gdb.threads/info-threads-cur-sal-2.c: New file.
163 * gdb.threads/info-threads-cur-sal.c: New file.
164 * gdb.threads/info-threads-cur-sal.exp: New file.
165
166 2013-09-17 Yao Qi <yao@codesourcery.com>
167
168 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
169 [__WIN32__]: Include "windows.h" and define macro dlopen
170 and dlclose.
171 [!__WIN32__]: Include "dlfcn.h".
172 * gdb.base/catch-load.exp (one_catch_load_test): Match
173 directory separator.
174
175 2013-09-16 Doug Evans <dje@google.com>
176
177 * lib/gdb.exp (using_fission): New proc.
178 * gdb.base/info-macros.exp: Skip test if using Fission.
179
180 * gdb.base/break-interp.exp: Fix indentation.
181
182 2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
183
184 * gdb.base/gdbvars.c (foo_void): New function.
185 (foo_int): Likewise.
186 * gdb.base/gdbvars.exp (test_convenience_functions): New
187 function. Call it.
188
189 2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
190
191 * gdb.arch/s390-tdbregs.c: New file.
192 * gdb.arch/s390-tdbregs.exp: New file.
193
194 2013-09-12 Stan Shebs <stan@codesourcery.com>
195
196 * README: New file.
197
198 2013-09-12 Doug Evans <dje@google.com>
199
200 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
201 added code to print event.inferior.
202
203 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
204
205 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
206 debug part of the binary.
207
208 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
209
210 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
211 (addlink): Add comment.
212
213 2013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
214
215 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
216 canonical pathname.
217
218 2013-09-04 Doug Evans <dje@google.com>
219
220 * gdb.python/py-events.py (exit_handler): Verify we get the expected
221 event.
222 (continue_handler, new_objfile_handler): Ditto.
223 (test_events): Rename command to "test-events".
224 (test_newobj_events): Rename command to "test-objfile-events".
225 * gdb.python/py-events.exp: Update.
226 * gdb.python/py-evsignal.exp: Update.
227 * gdb.python/py-evthreads.exp: Update.
228
229 * gdb.base/enumval.c (ZERO): New enum value.
230 (main): Use it
231 * gdb.base/enumval.exp: Test ability to print ZERO.
232
233 2013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
234 Pedro Alves <palves@redhat.com>
235
236 * gdb.base/relocate.exp: Check that invalid options are
237 rejected.
238
239 2013-08-30 Andrew Burgess <aburgess@broadcom.com>
240
241 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
242 (my_static_symbol): Add comment.
243 (main): Reference my_bss_symbol.
244
245 2013-08-30 Phil Muldoon <pmuldoon@redhat.com>
246
247 * gdb.python/py-arch.exp: Tests for invalid architecture.
248
249 2013-08-29 Sterling Augustine <saugustine@google.com>
250
251 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
252 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
253 said conditional.
254
255 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
256
257 * gdb.python/py-arch.exp: Load gdb-python.exp.
258
259 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
260
261 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
262 itertools for imap attribute. Otherwise use map().
263 (ElidingIterator): Define wrapper function __next__.
264 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
265 use exec (open (read ())) instead.
266 * gdb.python/py-framefilter.exp: Ditto.
267 * gdb.python/py-arch.exp: Update print based test to Python 3.x
268 compliance.
269 * gdb.python/py-frame.exp: Ditto.
270 * gdb.python/py-type.exp: Ditto.
271
272 2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
273
274 PR gdb/15415
275 * gdb.base/argv0-symlink.c: New file.
276 * gdb.base/argv0-symlink.exp: New file.
277
278 2013-08-28 Tom Tromey <tromey@redhat.com>
279
280 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
281 when saving index.
282
283 2013-08-27 Yao Qi <yao@codesourcery.com>
284
285 * gdb.trace/entry-values.exp: Test unavailable entry value is
286 not shown when option '--skip-unavailable' is specified.
287 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
288 Add tests for new option '--skip-unavailable'.
289
290 2013-08-27 Yao Qi <yao@codesourcery.com>
291
292 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
293 remote_download if it is empty.
294
295 2013-08-26 Doug Evans <dje@google.com>
296
297 PR symtab/15885
298 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
299 (clean): rm -f *.gdb-index *.with-index.
300 * gdb.dwarf2/gdb-index.exp: New testcase.
301
302 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
303 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
304 run_on_host. All callers updated.
305
306 2013-08-24 Yao Qi <yao@codesourcery.com>
307
308 * gdb.trace/entry-values.c (end): New
309 (main): Call end.
310 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
311 tracepoint and collect data. Test entry value is unavailable.
312
313 2013-08-24 Yao Qi <yao@codesourcery.com>
314
315 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
316 * gdb.trace/entry-values.c: New.
317 * gdb.trace/entry-values.exp: New.
318
319 2013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
320
321 PR gdb/15501
322 * gdb.base/ena-dis-br.exp: Add test to verify
323 enable/disable commands work correctly with
324 multiple arguments that include multiple locations.
325
326 2013-08-22 Samuel Bronson <naesten@gmail.com>
327
328 ARM Linux support for `catch syscall'.
329 * gdb.base/catch-syscall.exp: Test this on ARM now.
330 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
331
332 2013-08-22 Tom Tromey <tromey@redhat.com>
333
334 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
335 default addr_size.
336 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
337
338 2013-08-22 Tom Tromey <tromey@redhat.com>
339
340 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
341 standard_temp_file.
342
343 2013-08-22 Tom Tromey <tromey@redhat.com>
344
345 * gdb.arch/amd64-byte.exp: Use standard_testfile,
346 clean_restart.
347 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
348 * gdb.arch/amd64-dword.exp: Use standard_testfile,
349 clean_restart.
350 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
351 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
352 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
353 * gdb.arch/amd64-word.exp: Use standard_testfile,
354 clean_restart.
355 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
356 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
357 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
358 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
359 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
360 * gdb.arch/i386-signal.exp: Use standard_testfile.
361 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
362 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
363 * gdb.arch/i386-unwind.exp: Use standard_testfile.
364 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
365
366 2013-08-22 Tom Tromey <tromey@redhat.com>
367
368 * gdb.python/py-error.exp: Use gdb_remote_download.
369 * gdb.python/py-mi.exp: Use gdb_remote_download.
370 * gdb.python/py-objfile-script.exp: Use standard_output_file.
371 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
372 (run_lang_tests): Likewise.
373 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
374 filename.
375 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
376 compiling. Use gdb_remote_download. Update some tests.
377 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
378 standard_output_file.
379 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
380 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
381 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
382 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
383 standard_output_file.
384
385 2013-08-22 Tom Tromey <tromey@redhat.com>
386
387 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
388
389 2013-08-22 Tom Tromey <tromey@redhat.com>
390
391 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
392 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
393 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
394 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
395 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
396 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
397 * lib/gdb.exp (gdb_remote_download): New proc.
398
399 2013-08-22 Tom Tromey <tromey@redhat.com>
400
401 * gdb.dwarf2/clztest.exp: Use standard_testfile.
402 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
403 * gdb.dwarf2/fission-base.S: Remove directory from
404 DW_AT_GNU_dwo_name.
405 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
406 debug-file-directory.
407 * gdb.dwarf2/fission-reread.S: Remove directory from
408 DW_AT_GNU_dwo_name.
409 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
410 debug-file-directory.
411
412 2013-08-16 Doug Evans <dje@google.com>
413
414 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
415 prelink complains about an unhandled DWARF version.
416
417 2013-08-14 Cary Coutant <ccoutant@google.com>
418
419 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
420
421 2013-08-13 Tom Tromey <tromey@redhat.com>
422 Yao Qi <yao@codesourcery.com>
423
424 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
425 * lib/gdb.exp: Handle GDB_PARALLEL.
426 (default_gdb_version): Kill inotify_pid if it exists.
427 (default_gdb_exit): Emit warning if the inotify log is not
428 empty.
429 (standard_output_file): Respect GDB_PARALLEL.
430 (standard_temp_file): Likewise.
431 (gdb_init): Start inotifywait if requested.
432
433 2013-08-13 Andrew Burgess <aburgess@broadcom.com>
434
435 * gdb.base/printcmds.exp (test_printf): Add test for printf of
436 pointer with various flags.
437
438 2013-08-13 Tom Tromey <tromey@redhat.com>
439
440 * lib/cache.exp: New file.
441 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
442 * lib/gdb.exp: Load cache.exp.
443 (support_complex_tests, is_ilp32_target, is_lp64_target)
444 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
445 (gdb_skip_xml_test): Use gdb_caching_proc.
446 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
447
448 2013-08-13 Tom Tromey <tromey@redhat.com>
449
450 * lib/gdb.exp (standard_temp_file): New proc.
451 (support_complex_tests, is_ilp32_target, is_lp64_target)
452 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
453 standard_temp_file.
454
455 2013-08-13 Tom Tromey <tromey@redhat.com>
456
457 * lib/gdb.exp (build_id_debug_filename_get): Use
458 standard_output_file.
459 * lib/prelink-support.exp (section_get)
460 (build_executable_own_libs): Use standard_output_file.
461
462 2013-08-12 Tom Tromey <tromey@redhat.com>
463
464 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
465
466 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
467
468 * gdb.base/break.exp: Test break via convenience variable
469 with file name.
470
471 2013-08-09 Doug Evans <dje@google.com>
472
473 * lib/future.exp (gdb_find_ldd): New proc.
474 * lib/prelink-support.exp (build_executable_own_libs): Call it.
475 Make "/usr/sbin/" in prelink path optional.
476
477 2013-08-09 Yao Qi <yao@codesourcery.com>
478
479 * gdb.trace/collection.exp (gdb_collect_args_test): Set
480 "only" and "both" to 'print entry-values' before selecting
481 trace frame.
482
483 2013-08-08 Yao Qi <yao@codesourcery.com>
484
485 * gdb.trace/mi-trace-unavailable.exp: Don't set
486 "print entry-values" to "no".
487 (test_trace_unavailable): Set various values to
488 "print entry-values" to test that the output of
489 '-stack-list-locals' is not affected, and then set
490 set "print entry-values" to "no".
491
492 2013-08-07 Doug Evans <dje@google.com>
493
494 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
495 * gdb.python/py-value-cc.exp: Update.
496 * gdb.python/py-value.exp: Use different names for .o files for
497 C and C++. Only perform C++ tests if !skip_cplus_tests.
498
499 2013-08-07 Tom Tromey <tromey@redhat.com>
500
501 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
502
503 2013-08-07 Tom Tromey <tromey@redhat.com>
504
505 * gdb.dwarf2/dwz.exp: New file.
506
507 2013-08-02 Tom Tromey <tromey@redhat.com>
508
509 * gdb.base/watchpoint.c (struct foo5): New.
510 (nullptr): New global.
511 * gdb.base/watchpoint.exp (test_watch_location): Add test.
512
513 2013-08-01 Doug Evans <dje@google.com>
514
515 PR symtab/15691
516 * gdb.dwarf2/fission-mix.exp: New file.
517 * gdb.dwarf2/fission-mix.h: New file.
518 * gdb.dwarf2/fission-mix.c: New file.
519 * gdb.dwarf2/fission-mix2.c: New file.
520
521 PR symtab/15695
522 * gdb.base/func-ptr.exp: New file.
523 * gdb.base/func-ptr.c: New file.
524
525 2013-08-01 Yao Qi <yao@codesourcery.com>
526
527 * gdb.python/py-sync-interp.c: New.
528 * gdb.python/py-sync-interp.exp: New.
529
530 2013-07-31 Yao Qi <yao@codesourcery.com>
531
532 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
533 'tdump' on stack frame 0 and 1 respectively.
534
535 2013-07-31 Yao Qi <yao@codesourcery.com>
536
537 PR gdb/13443
538 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
539 'traceframe'. Wrap test with with_test_prefix.
540 (top level): Update.
541
542 2013-07-31 Yao Qi <yao@codesourcery.com>
543
544 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
545 'gdb_start'.
546 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
547 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
548
549 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
550
551 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
552 when printing an optimized out value. Expect an error when using
553 an optimized out value in an expression.
554
555 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
556
557 * gdb.dwarf2/pieces-optimized-out.exp: New file.
558 * gdb.dwarf2/pieces-optimized-out.c: New file.
559 * gdb.dwarf2/pieces-optimized-out.S: New file.
560
561 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
562
563 PR gdb/15715
564 * gdb.base/setshow.exp: Test that relative paths passed to
565 'set history filename' are converted to absolute paths.
566
567 2013-07-26 Keith Seitz <keiths@redhat.com>
568
569 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
570 of f77.
571 Allow for compiler variations of integer types.
572 Use mi_create_varobj.
573 Use mi_list_varobj_children for the immediate children of `array'.
574 Add "has_more" attribute for grandchildren test.
575
576 2013-07-26 Pedro Alves <palves@redhat.com>
577
578 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
579 files.
580
581 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
582
583 * gdb.mi/mi-reg-undefined.exp: New file.
584 * gdb.mi/mi-reg-undefined.c: Likewise.
585 * gdb.mi/mi-reg-undefined.S: Likewise.
586
587 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
588
589 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
590 z, o, and t output formats.
591 * gdb.base/display.exp: Use 'k' as an undefined format now that
592 'z' is defined.
593
594 2013-07-24 Doug Evans <dje@google.com>
595
596 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
597 "--" to switch.
598
599 2013-07-24 Yao Qi <yao@codesourcery.com>
600
601 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
602 host.
603 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
604 Likewise. If host is remote, copy ${binfile} to host.
605
606 2013-07-23 Yao Qi <yao@codesourcery.com>
607
608 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
609 message.
610
611 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
612
613 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
614 instructions and enable disp-step-syscall for arm targets.
615
616 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
617
618 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
619 assembler errors on arm.
620 * gdb.dwarf2/mac-fileno.S: Likewise.
621 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
622 * gdb.dwarf2/pr13961.S: Likewise.
623
624 2013-07-19 Hui Zhu <hui@codesourcery.com>
625
626 PR gdb/15692
627 * gdb.mi/mi-dprintf.exp: Add double quotes test.
628
629 2013-07-19 Yao Qi <yao@codesourcery.com>
630
631 * gdb.trace/read-memory.exp (test_from_remote): Update test.
632 (teset_from_exec): Likewise.
633
634 2013-07-19 Yao Qi <yao@codesourcery.com>
635
636 * gdb.trace/read-memory.c: New.
637 * gdb.trace/read-memory.exp: New.
638
639 2013-07-19 Yao Qi <yao@codesourcery.com>
640
641 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
642 $dest to link options if host is remote. Move the
643 generated file to $dest.a on host if host is remote.
644
645 2013-07-18 Will Newton <will.newton@linaro.org>
646
647 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
648 to ensure the test is linked against pthreads.
649 * gdb.threads/tls-var-main.c: Likewise.
650 * gdb.threads/tls-shared.c: Likewise.
651
652 2013-07-18 Yao Qi <yao@codesourcery.com>
653
654 * lib/future.exp (gdb_default_target_compile): Use tail name
655 of $destfile as the output name of compile. Move the
656 generated file to $destfile on build.
657
658 2013-07-18 Yao Qi <yao@codesourcery.com>
659
660 * lib/gdb.exp (gdb_compile): Set
661 gdb_saved_set_unbuffered_mode_obj to
662 set_unbuffered_mode_saved.o if host is remote. Invoke
663 remote_download to copy $unbuf_obj to host.
664
665 2013-07-17 Doug Evans <dje@google.com>
666
667 * gdb.python/py-frame-args.c: New file.
668 * gdb.python/py-frame-args.py: New file.
669 * gdb.python/py-frame-args.exp New file.
670
671 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
672
673 * gdb.base/printcmds.exp (test_printf): Add tests for format
674 strings with missing format specifier.
675
676 2013-07-16 Tom Tromey <tromey@redhat.com>
677
678 * gdb.ada/info_types.exp: Use standard_testfile.
679
680 2013-07-16 Tom Tromey <tromey@redhat.com>
681
682 * gdb.mi/mi-basics.exp: Use standard_output_file.
683 (test_dir_specification, test_cwd_specification)
684 (test_path_specification): Use testsubdir, not subdir and objdir.
685
686 2013-07-16 Tom Tromey <tromey@redhat.com>
687
688 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
689
690 2013-07-09 Joel Brobecker <brobecker@adacore.com>
691
692 * gdb.ada/small_reg_param.exp: Accept optional entry value
693 for parameter "w".
694
695 2013-07-09 Joel Brobecker <brobecker@adacore.com>
696
697 * gdb.ada/small_reg_param.exp: Remove trailing space.
698
699 2013-07-09 Doug Evans <dje@google.com>
700
701 * gdb.base/default.exp: Update expected output of "show print array"
702 and "show print pretty".
703
704 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
705
706 * gdb.threads/wp-replication.exp: Stop counting available hardware
707 watchpoints after NR_THREADS iterations.
708
709 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
710
711 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
712
713 2013-07-07 Yao Qi <yao@codesourcery.com>
714
715 * boards/native-gdbserver.exp: Move invoke of
716 process_multilib_options to gdbserver-base.exp.
717 Move set_board_info 'compiler', 'gdb,noinferiorio',
718 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
719 gdbserver-base.exp.
720 Move proc ${board}_download, ${board}_upload and
721 ${board}_file to gdbserver-base.exp.
722 * boards/native-extended-gdbserver.exp: Likewise.
723 * boards/native-stdio-gdbserver.exp: Likewise.
724 * boards/gdbserver-base.exp: New file.
725
726 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
727
728 * gdb.base/dump.exp: Remove arch-specific tests and do a
729 generic data address check to set is64bitonly correctly.
730
731 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
732
733 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
734 the register number instead of expecting only 0.
735
736 2013-07-05 Will Newton <will.newton@linaro.org>
737
738 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
739 in asm syntax to allow building on ARM.
740
741 2013-07-05 Yao Qi <yao@codesourcery.com>
742
743 * boards/local-remote-host.exp: Remove obsolete comments.
744 * boards/native-extended-gdbserver.exp: Likewise.
745 * boards/native-gdbserver.exp: Likewise.
746 * boards/native-stdio-gdbserver.exp: Likewise.
747
748 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
749
750 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
751 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
752 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
753
754 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
755
756 * gdb.base/break-on-linker-gcd-function.exp: Replace
757 prepare_for_testing by build_executable_from_specs and clean_restart.
758
759 2013-06-27 Tom Tromey <tromey@redhat.com>
760
761 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
762 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
763 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
764 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
765 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
766 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
767 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
768 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
769 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
770 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
771 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
772 Use standard_testfile, standard_output_file, prepare_for_testing,
773 clean_restart.
774
775 2013-06-27 Tom Tromey <tromey@redhat.com>
776
777 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
778 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
779 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
780 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
781 gdb.base/shreloc.exp, gdb.base/sigall.exp,
782 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
783 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
784 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
785 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
786 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
787 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
788 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
789 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
790 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
791 gdb.base/solib-weak.exp, gdb.base/source.exp,
792 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
793 gdb.base/stap-probe.exp, gdb.base/start.exp,
794 gdb.base/step-break.exp, gdb.base/step-bt.exp,
795 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
796 gdb.base/step-test.exp, gdb.base/structs.exp,
797 gdb.base/structs2.exp, gdb.base/structs3.exp,
798 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
799 standard_output_file, prepare_for_testing, clean_restart.
800
801 2013-06-27 Tom Tromey <tromey@redhat.com>
802
803 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
804 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
805 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
806 gdb.base/pending.exp, gdb.base/permissions.exp,
807 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
808 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
809 gdb.base/printcmds.exp, gdb.base/prologue.exp,
810 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
811 gdb.base/ptype.exp, gdb.base/randomize.exp,
812 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
813 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
814 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
815 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
816 standard_testfile, standard_output_file, prepare_for_testing,
817 clean_restart.
818
819 2013-06-27 Tom Tromey <tromey@redhat.com>
820
821 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
822 gdb.base/huge.exp, gdb.base/included.exp,
823 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
824 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
825 gdb.base/info-os.exp, gdb.base/info-proc.exp,
826 gdb.base/info-target.exp, gdb.base/infoline.exp,
827 gdb.base/interp.exp, gdb.base/interrupt.exp,
828 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
829 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
830 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
831 gdb.base/logical.exp, gdb.base/long_long.exp,
832 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
833 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
834 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
835 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
836 standard_testfile, standard_output_file, prepare_for_testing,
837 clean_restart.
838
839 2013-06-27 Tom Tromey <tromey@redhat.com>
840
841 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
842 gdb.base/enumval.exp, gdb.base/environ.exp,
843 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
844 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
845 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
846 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
847 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
848 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
849 gdb.base/fullname.exp, gdb.base/funcargs.exp,
850 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
851 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
852 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
853 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
854 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
855 gdb.base/gnu_vector.exp: Use standard_testfile,
856 standard_output_file, prepare_for_testing, clean_restart.
857
858 2013-06-27 Tom Tromey <tromey@redhat.com>
859
860 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
861 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
862 gdb.base/call-strs.exp, gdb.base/callexit.exp,
863 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
864 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
865 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
866 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
867 gdb.base/commands.exp, gdb.base/completion.exp,
868 gdb.base/complex.exp, gdb.base/cond-expr.exp,
869 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
870 gdb.base/constvars.exp, gdb.base/corefile.exp,
871 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
872 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
873 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
874 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
875 gdb.base/dup-sect.exp: Use standard_testfile,
876 standard_output_file, prepare_for_testing, clean_restart.
877
878 2013-06-27 Tom Tromey <tromey@redhat.com>
879
880 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
881 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
882 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
883 gdb.base/async-shell.exp, gdb.base/async.exp,
884 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
885 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
886 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
887 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
888 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
889 gdb.base/break-on-linker-gcd-function.exp,
890 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
891 standard_output_file, prepare_for_testing, clean_restart.
892
893 2013-06-26 Yao Qi <yao@codesourcery.com>
894
895 * gdb.trace/mi-trace-frame-collected.exp: New.
896
897 2013-06-25 Yao Qi <yao@codesourcery.com>
898
899 * boards/native-extended-gdbserver.exp: Set board_info
900 'gdb,predefined_tsv'.
901 * boards/native-gdbserver.exp: Likewise.
902 * boards/native-stdio-gdbserver.exp: Likewise.
903 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
904 uploaded TSVs if target supports tracing.
905 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
906 tracing and target has predefined tsv.
907
908 2013-06-25 Yao Qi <yao@codesourcery.com>
909 Hui Zhu <hui@codesourcery.com>
910 Pedro Alves <palves@redhat.com>
911
912 PR breakpoints/15075
913 PR breakpoints/15434
914 * gdb.base/dprintf-next.c: New file.
915 * gdb.base/dprintf-next.exp: New file.
916 * gdb.base/dprintf-non-stop.c: New file.
917 * gdb.base/dprintf-non-stop.exp: New file.
918 * gdb.base/dprintf.exp: Don't check "continue" in the output
919 of "info breakpoints".
920 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
921 Don't check "continue" in script field.
922
923 2013-06-21 Tom Tromey <tromey@redhat.com>
924
925 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
926 name in a test name.
927
928 2013-06-20 Yao Qi <yao@codesourcery.com>
929
930 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
931 and set an action.
932 (test_trace_unavailable): Test command -data-list-register-values
933 in the context of traceframe and with option --skip-unavailable.
934 * gdb.trace/trace-unavailable.c (foo): New.
935 (main): Call it.
936 * gdb.mi/gdb2549.exp: Update matching pattern.
937
938 2013-06-19 Mike Frysinger <vapier@gentoo.org>
939
940 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
941 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
942 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
943 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
944 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
945
946 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
947
948 * gdb.base/subst.exp: Delete default rules before further
949 tests.
950
951 2013-06-19 Yao Qi <yao@codesourcery.com>
952
953 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
954 unsupported if it is not registered.
955
956 2013-06-18 Tom Tromey <tromey@redhat.com>
957
958 * gdb.base/random-signal.c: New file.
959 * gdb.base/random-signal.exp: New file.
960
961 2013-06-18 Will Newton <will.newton@linaro.org>
962
963 * gdb.base/skip.c: Use comma to evaluate results of foo()
964 and bar() before passing to baz().
965 * gdb.base/skip.c: baz() now takes one argument instead of
966 two.
967
968 2013-06-18 Tom Tromey <tromey@redhat.com>
969
970 * gdb.dwarf2/implptrpiece.exp: New file.
971 * gdb.dwarf2/implptrconst.exp (d): New variable.
972 Print d.
973 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
974
975 2013-06-18 Tom Tromey <tromey@redhat.com>
976
977 * lib/selftest-support.exp (do_self_tests): Reject remote or
978 non-native targets.
979 * gdb.gdb/complaints.exp: Remove check.
980 * gdb.gdb/observer.exp: Remove check.
981 * gdb.gdb/xfullpath.exp: Remove check.
982 * gdb.gdb/complaints.exp: Remove check.
983
984 2013-06-07 Pedro Alves <palves@redhat.com>
985
986 * boards/native-extended-gdbserver.exp: Remove semicolon.
987 * config/arm-ice.exp: Likewise.
988 * config/bfin.exp: Likewise.
989 * config/cygmon.exp: Likewise.
990 * config/h8300.exp: Likewise.
991 * config/monitor.exp: Likewise.
992 * config/sid.exp: Likewise.
993 * config/sim.exp: Likewise.
994 * config/slite.exp: Likewise.
995 * config/vx.exp: Likewise.
996 * gdb.arch/i386-bp_permanent.exp: Likewise.
997 * gdb.asm/asm-source.exp: Likewise.
998 * gdb.base/args.exp: Likewise.
999 * gdb.base/attach-pie-misread.exp: Likewise.
1000 * gdb.base/auxv.exp: Likewise.
1001 * gdb.base/bigcore.exp: Likewise.
1002 * gdb.base/bitfields2.exp: Likewise.
1003 * gdb.base/bitfields.exp: Likewise.
1004 * gdb.base/break.exp: Likewise.
1005 * gdb.base/break-interp.exp: Likewise.
1006 * gdb.base/callfuncs.exp: Likewise.
1007 * gdb.base/call-sc.exp: Likewise.
1008 * gdb.base/commands.exp: Likewise.
1009 * gdb.base/corefile.exp: Likewise.
1010 * gdb.base/dbx.exp: Likewise.
1011 * gdb.base/ending-run.exp: Likewise.
1012 * gdb.base/exprs.exp: Likewise.
1013 * gdb.base/funcargs.exp: Likewise.
1014 * gdb.base/hbreak2.exp: Likewise.
1015 * gdb.base/huge.exp: Likewise.
1016 * gdb.base/list.exp: Likewise.
1017 * gdb.base/memattr.exp: Likewise.
1018 * gdb.base/overlays.exp: Likewise.
1019 * gdb.base/printcmds.exp: Likewise.
1020 * gdb.base/recurse.exp: Likewise.
1021 * gdb.base/remotetimeout.exp: Likewise.
1022 * gdb.base/reread.exp: Likewise.
1023 * gdb.base/savedregs.exp: Likewise.
1024 * gdb.base/scope.exp: Likewise.
1025 * gdb.base/sepdebug.exp: Likewise.
1026 * gdb.base/setshow.exp: Likewise.
1027 * gdb.base/setvar.exp: Likewise.
1028 * gdb.base/sigaltstack.exp: Likewise.
1029 * gdb.base/siginfo-addr.exp: Likewise.
1030 * gdb.base/siginfo.exp: Likewise.
1031 * gdb.base/siginfo-obj.exp: Likewise.
1032 * gdb.base/sigrepeat.exp: Likewise.
1033 * gdb.base/sigstep.exp: Likewise.
1034 * gdb.base/structs.exp: Likewise.
1035 * gdb.base/testenv.exp: Likewise.
1036 * gdb.base/twice.exp: Likewise.
1037 * gdb.base/valgrind-db-attach.exp: Likewise.
1038 * gdb.base/valgrind-infcall.exp: Likewise.
1039 * gdb.base/varargs.exp: Likewise.
1040 * gdb.base/watchpoint.exp: Likewise.
1041 * gdb.cp/gdb1355.exp: Likewise.
1042 * gdb.cp/misc.exp: Likewise.
1043 * gdb.disasm/hppa.exp: Likewise.
1044 * gdb.disasm/t01_mov.exp: Likewise.
1045 * gdb.disasm/t02_mova.exp: Likewise.
1046 * gdb.disasm/t03_add.exp: Likewise.
1047 * gdb.disasm/t04_sub.exp: Likewise.
1048 * gdb.disasm/t05_cmp.exp: Likewise.
1049 * gdb.disasm/t06_ari2.exp: Likewise.
1050 * gdb.disasm/t07_ari3.exp: Likewise.
1051 * gdb.disasm/t08_or.exp: Likewise.
1052 * gdb.disasm/t09_xor.exp: Likewise.
1053 * gdb.disasm/t10_and.exp: Likewise.
1054 * gdb.disasm/t11_logs.exp: Likewise.
1055 * gdb.disasm/t12_bit.exp: Likewise.
1056 * gdb.disasm/t13_otr.exp: Likewise.
1057 * gdb.gdb/selftest.exp: Likewise.
1058 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1059 * gdb.mi/mi-reverse.exp: Likewise.
1060 * gdb.pascal/floats.exp: Likewise.
1061 * gdb.python/py-inferior.exp: Likewise.
1062 * gdb.threads/attach-into-signal.exp: Likewise.
1063 * gdb.threads/pthreads.exp: Likewise.
1064 * gdb.threads/thread_events.exp: Likewise.
1065 * gdb.threads/watchthreads.exp: Likewise.
1066 * gdb.trace/actions-changed.exp: Likewise.
1067 * gdb.trace/actions.exp: Likewise.
1068 * gdb.trace/ax.exp: Likewise.
1069 * gdb.trace/backtrace.exp: Likewise.
1070 * gdb.trace/change-loc.exp: Likewise.
1071 * gdb.trace/deltrace.exp: Likewise.
1072 * gdb.trace/disconnected-tracing.exp: Likewise.
1073 * gdb.trace/ftrace.exp: Likewise.
1074 * gdb.trace/infotrace.exp: Likewise.
1075 * gdb.trace/passc-dyn.exp: Likewise.
1076 * gdb.trace/passcount.exp: Likewise.
1077 * gdb.trace/pending.exp: Likewise.
1078 * gdb.trace/qtro.exp: Likewise.
1079 * gdb.trace/range-stepping.exp: Likewise.
1080 * gdb.trace/report.exp: Likewise.
1081 * gdb.trace/save-trace.exp: Likewise.
1082 * gdb.trace/status-stop.exp: Likewise.
1083 * gdb.trace/strace.exp: Likewise.
1084 * gdb.trace/tfile.exp: Likewise.
1085 * gdb.trace/tfind.exp: Likewise.
1086 * gdb.trace/trace-break.exp: Likewise.
1087 * gdb.trace/tracecmd.exp: Likewise.
1088 * gdb.trace/trace-mt.exp: Likewise.
1089 * gdb.trace/tspeed.exp: Likewise.
1090 * gdb.trace/tsv.exp: Likewise.
1091 * gdb.trace/while-stepping.exp: Likewise.
1092 * lib/gdb.exp: Likewise.
1093 * lib/gdbserver-support.exp: Likewise.
1094 * lib/java.exp: Likewise.
1095 * lib/mi-support.exp: Likewise.
1096 * lib/pascal.exp: Likewise.
1097 * lib/prompt.exp: Likewise.
1098 * lib/trace-support.exp: Likewise.
1099
1100 2013-06-07 Pedro Alves <palves@redhat.com>
1101
1102 * gdb.ada/info_types.c: Fix formating in copyright header.
1103 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1104 * gdb.base/float.c: Likewise.
1105 * gdb.base/inferior-died.c: Likewise.
1106 * gdb.base/interp.c: Likewise.
1107 * gdb.base/jit-main.c: Likewise.
1108 * gdb.base/jit-solib.c: Likewise.
1109 * gdb.base/long_long.c: Likewise.
1110 * gdb.base/longjmp.c: Likewise.
1111 * gdb.base/nextoverexit.c: Likewise.
1112 * gdb.base/pr11022.c: Likewise.
1113 * gdb.base/prelink-lib.c: Likewise.
1114 * gdb.base/prelink.c: Likewise.
1115 * gdb.base/prologue.c: Likewise.
1116 * gdb.base/restore.c: Likewise.
1117 * gdb.base/sigchld.c: Likewise.
1118 * gdb.base/solib-search-lib1.c: Likewise.
1119 * gdb.base/solib-search-lib2.c: Likewise.
1120 * gdb.base/solib-search.c: Likewise.
1121 * gdb.base/solib-search.h: Likewise.
1122 * gdb.base/whatis.c: Likewise.
1123 * gdb.cp/abstract-origin.cc: Likewise.
1124 * gdb.cp/anon-struct.cc: Likewise.
1125 * gdb.cp/baseenum.cc: Likewise.
1126 * gdb.cp/bs15503.cc: Likewise.
1127 * gdb.cp/call-c-1.c: Likewise.
1128 * gdb.cp/call-c.cc: Likewise.
1129 * gdb.cp/class2.cc: Likewise.
1130 * gdb.cp/classes.cc: Likewise.
1131 * gdb.cp/cttiadd.cc: Likewise.
1132 * gdb.cp/cttiadd1.cc: Likewise.
1133 * gdb.cp/cttiadd2.cc: Likewise.
1134 * gdb.cp/cttiadd3.cc: Likewise.
1135 * gdb.cp/derivation.cc: Likewise.
1136 * gdb.cp/derivation2.cc: Likewise.
1137 * gdb.cp/dispcxx.cc: Likewise.
1138 * gdb.cp/exception.cc: Likewise.
1139 * gdb.cp/gdb2384-base.cc: Likewise.
1140 * gdb.cp/gdb2384-base.h: Likewise.
1141 * gdb.cp/gdb2384.cc: Likewise.
1142 * gdb.cp/gdb2495.cc: Likewise.
1143 * gdb.cp/mb-inline.h: Likewise.
1144 * gdb.cp/mb-inline1.cc: Likewise.
1145 * gdb.cp/mb-inline2.cc: Likewise.
1146 * gdb.cp/member-name.cc: Likewise.
1147 * gdb.cp/member-ptr.cc: Likewise.
1148 * gdb.cp/misc.cc: Likewise.
1149 * gdb.cp/namespace1.cc: Likewise.
1150 * gdb.cp/nextoverthrow.cc: Likewise.
1151 * gdb.cp/pr-574.cc: Likewise.
1152 * gdb.cp/pr9631.cc: Likewise.
1153 * gdb.cp/printmethod.cc: Likewise.
1154 * gdb.cp/psmang1.cc: Likewise.
1155 * gdb.cp/psmang2.cc: Likewise.
1156 * gdb.cp/psymtab-parameter.cc: Likewise.
1157 * gdb.cp/ptype-flags.cc: Likewise.
1158 * gdb.cp/ref-params.cc: Likewise.
1159 * gdb.cp/ref-types.cc: Likewise.
1160 * gdb.cp/smartp.cc: Likewise.
1161 * gdb.cp/try_catch.cc: Likewise.
1162 * gdb.cp/userdef.cc: Likewise.
1163 * gdb.cp/using-crash.cc: Likewise.
1164 * gdb.cp/virtfunc.cc: Likewise.
1165 * gdb.cp/virtfunc2.cc: Likewise.
1166 * gdb.dwarf2/callframecfa.S: Likewise.
1167 * gdb.dwarf2/dw2-ranges.c: Likewise.
1168 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1169 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1170 * gdb.dwarf2/dw2-restore.S: Likewise.
1171 * gdb.dwarf2/pieces.S: Likewise.
1172 * gdb.dwarf2/valop.S: Likewise.
1173 * gdb.java/jnpe.java: Likewise.
1174 * gdb.mi/mi-stepn.c: Likewise.
1175 * gdb.mi/mi-var-cp.cc: Likewise.
1176 * gdb.mi/mi-var-rtti.cc: Likewise.
1177 * gdb.mi/ns-stale-regcache.c: Likewise.
1178 * gdb.mi/pr11022.c: Likewise.
1179 * gdb.mi/solib-lib.c: Likewise.
1180 * gdb.mi/solib-main.c: Likewise.
1181 * gdb.python/py-arch.c: Likewise.
1182 * gdb.python/py-block.c: Likewise.
1183 * gdb.python/py-breakpoint.c: Likewise.
1184 * gdb.python/py-events.c: Likewise.
1185 * gdb.python/py-evthreads.c: Likewise.
1186 * gdb.python/py-explore.c: Likewise.
1187 * gdb.python/py-explore.cc: Likewise.
1188 * gdb.python/py-finish-breakpoint.c: Likewise.
1189 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1190 * gdb.python/py-symbol.c: Likewise.
1191 * gdb.threads/execl.c: Likewise.
1192 * gdb.threads/execl1.c: Likewise.
1193
1194 2013-06-07 Will Newton <will.newton@linaro.org>
1195
1196 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1197
1198 2013-06-07 Will Newton <will.newton@linaro.org>
1199
1200 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1201 and "starting".
1202
1203 2013-06-07 Will Newton <will.newton@linaro.org>
1204
1205 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1206 destructor prototypes for ARM ABI.
1207 * gdb.cp/m-static.exp: Likewise.
1208
1209 2013-06-07 Yao Qi <yao@codesourcery.com>
1210
1211 * gdb.trace/mi-trace-unavailable.exp: New.
1212 * gdb.trace/trace-unavailable.c: New.
1213
1214 2013-06-06 Doug Evans <dje@google.com>
1215
1216 * gdb.cp/derivation.exp: Make tests have unique names.
1217
1218 2013-06-06 Tom Tromey <tromey@redhat.com>
1219
1220 * gdb.base/dump.exp (capture_value): Don't put expression into
1221 test name if arguments passed in.
1222 Rename a couple more tests to make them unique.
1223
1224 2013-06-06 Tom Tromey <tromey@redhat.com>
1225
1226 * gdb.base/break-always.exp: Explicitly specify test name.
1227
1228 2013-06-05 Doug Evans <dje@google.com>
1229 Keith Seitz <keiths@redhat.com>
1230
1231 * gdb.cp/derivation2.cc: New file.
1232 * gdb.cp/derivation.cc (main): Call foo2.
1233 * gdb.cp/derivation.exp: Add tests for typedefs in another
1234 file, and when there's an active block.
1235
1236 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
1237
1238 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1239 from targets that use function descriptors in the virtual tables.
1240 Handle presence of dot symbols.
1241
1242 2013-06-04 Gary Benson <gbenson@redhat.com>
1243
1244 * gdb.base/break-probes.exp: New file.
1245 * gdb.base/break-probes.c: Likewise.
1246 * gdb.base/break-probes-solib.c: Likewise.
1247 * gdb.base/info-shared.exp: New file.
1248 * gdb.base/info-shared.c: Likewise.
1249 * gdb.base/info-shared-solib1.c: Likewise.
1250 * gdb.base/info-shared-solib2.c: Likewise.
1251
1252 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1253 Gary Benson <gbenson@redhat.com>
1254
1255 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1256 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1257 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1258 to be set to "no" to indicate that no ld.so copy should be made.
1259 * gdb.base/break-interp.exp (solib_bp): New constant.
1260 (reach_1): Use the above instead of "_dl_debug_state".
1261 (test_attach): Likewise.
1262 (test_ld): Likewise.
1263 * gdb.threads/dlopen-libpthread.exp: New file.
1264 * gdb.threads/dlopen-libpthread.c: Likewise.
1265 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1266 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1267
1268 2013-05-30 Yao Qi <yao@codesourcery.com>
1269
1270 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1271 Add a test that no MI notification is emitted when executing
1272 -exec-arguments.
1273
1274 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1275
1276 PR testsuite/12649
1277 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1278 $mi_gdb_prompt expectation by mi_expect_stop.
1279 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1280 (mi info dprintf second time): Replace them by mi_send_resuming_command
1281 and mi_expect_stop.
1282
1283 2013-05-24 Gary Benson <gbenson@redhat.com>
1284
1285 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1286 backslash.
1287 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1288 backslashes.
1289 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1290 backslash.
1291
1292 2013-05-24 Yao Qi <yao@codesourcery.com>
1293
1294 * gdb.trace/tfile.exp: Test inferior and thread.
1295
1296 2013-05-24 Yao Qi <yao@codesourcery.com>
1297 Pedro Alves <palves@redhat.com>
1298
1299 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1300 test fails.
1301 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1302 Return 0 if the test passes, otherwise return 1.
1303
1304 2013-05-23 Doug Evans <dje@google.com>
1305
1306 * boards/fission-dwp.exp: New file.
1307
1308 2013-05-23 Yao Qi <yao@codesourcery.com>
1309 Pedro Alves <palves@redhat.com>
1310
1311 * gdb.base/range-stepping.c: New file.
1312 * gdb.base/range-stepping.exp: New file.
1313 * gdb.trace/range-stepping.c: New file.
1314 * gdb.trace/range-stepping.exp: New file.
1315 * lib/range-stepping-support.exp: New file.
1316
1317 2013-05-22 Tom Tromey <tromey@redhat.com>
1318
1319 * gdb.cp/class2.cc (main): New local 'aref'.
1320 * gdb.cp/class2.exp: Check printing of 'aref'.
1321
1322 2013-05-22 Doug Evans <dje@google.com>
1323
1324 * gdb.threads/wp-replication.c (main): Insert some code at the start
1325 to ensure the breakpoint on main is only hit once. Fix comment.
1326
1327 2013-05-21 Keith Seitz <keiths@redhat.com>
1328 Pedro Alves <palves@redhat.com>
1329
1330 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1331 gdb_expect.
1332 Add test to flush the remaining input buffer so that this
1333 file passes testsuite/12649.
1334
1335 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1336
1337 * gdb.base/catch-signal-fork.exp: New file.
1338 * gdb.base/catch-signal-fork.c: New file.
1339
1340 2013-05-21 Sterling Augustine <saugustine@google.com>
1341
1342 * boards/remote-stdio-gdbserver.exp: New file.
1343
1344 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1345
1346 PR testsuite/12649
1347 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1348 racy matches.
1349
1350 2013-05-21 Christian Groessler <chris@groessler.org>
1351
1352 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1353 since it's not supported in all shells.
1354
1355 2013-05-21 Hui Zhu <hui@codesourcery.com>
1356
1357 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1358 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1359
1360 2013-05-20 Doug Evans <dje@google.com>
1361
1362 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1363 (_handle_DW_TAG): Use it.
1364 (cu, tu): Replace parameters is_64, version, addr_size with options.
1365 All callers updated. Add Fission support.
1366 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1367 * gdb.dwarf2/method-ptr.exp: Ditto.
1368 * gdb.dwarf2/nostaticblock.exp: Ditto.
1369 * gdb.dwarf2/subrange.exp: Ditto.
1370 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1371
1372 2013-05-20 Tom Tromey <tromey@redhat.com>
1373
1374 * gdb.gdb/python-selftest.exp: New file.
1375
1376 2013-05-20 Doug Evans <dje@google.com>
1377
1378 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1379 -fdebug-types-section.
1380
1381 2013-05-20 Joel Brobecker <brobecker@adacore.com>
1382
1383 * gdb.ada/float_param: New testcase.
1384
1385 2013-05-17 Doug Evans <dje@google.com>
1386
1387 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1388 Add tests for "maint check-symtabs", "maint expand-symtabs".
1389
1390 * gdb.base/maint.exp: Remove testing of individual maint command
1391 help output.
1392
1393 2013-05-16 Pedro Alves <palves@redhat.com>
1394
1395 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1396 comment. Use gdb_test_no_output.
1397
1398 2013-05-16 Joel Brobecker <brobecker@adacore.com>
1399
1400 * gdb.ada/complete.exp: Add test verifying completion using
1401 the "tab" key.
1402
1403 2013-05-15 Keith Seitz <keiths@redhat.com>
1404
1405 * gdb.base/filesym.exp: New completer test.
1406 * gdb.base/filesym.c: New file.
1407
1408 2013-05-15 Pedro Alves <palves@redhat.com>
1409
1410 * gdb.base/fixsection.c: Remove attribution.
1411 * gdb.base/watch-read.exp: Ditto.
1412
1413 2013-05-13 Tom Tromey <tromey@redhat.com>
1414
1415 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1416 size and change type sizes to 4 bytes.
1417
1418 2013-05-13 Tom Tromey <tromey@redhat.com>
1419
1420 * gdb.base/exprs.exp (test_expr): Add regression test.
1421 * gdb.base/exprs.c (null_t_struct): New global.
1422
1423 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1424
1425 * gdb.base/default.exp: Disable history saving.
1426 * gdb.base/setshow.exp: Likewise.
1427
1428 2013-05-10 Pedro Alves <palves@redhat.com>
1429
1430 PR remote/15455
1431
1432 * gdb.trace/qtro.c: New file.
1433 * gdb.trace/qtro.exp: New file.
1434
1435 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1436
1437 * gdb.python/py-framefilter.py: New File.
1438 * gdb.python/py-framefilter-mi.exp: Ditto.
1439 * gdb.python/py-framefilter.c: Ditto.
1440 * gdb.python/py-framefilter-mi.exp: Ditto.
1441 * gdb.python/py-framefilter-mi.c: Ditto,
1442 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1443
1444 2013-05-08 Tom Tromey <tromey@redhat.com>
1445
1446 * gdb.base/solib-search.exp: Set test name for "set
1447 solib-search-path" test.
1448
1449 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1450
1451 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1452 (set_a_tracepoint): Set tracepoint before prologue.
1453 (run_trace_experiment): Test setup_tracepoints and 'break end'
1454 in it.
1455 (trace_buffer_normal): Remove.
1456 (gdb_trace_circular_tests): Remove. Move tests to...
1457 (top level): ...here. Call 'runto_main' before checking for
1458 trace support. Use commands to check the support for circular
1459 trace buffer and changing of trace buffer size. Add test
1460 to calculate size of single frame. Use this size to
1461 calculate the size of trace buffer. Use 'tfind pc func9'
1462 instead of 'tfind 9'. Use 'with_test_prefix'.
1463
1464 2013-05-07 Tom Tromey <tromey@redhat.com>
1465
1466 * lib/selftest-support.exp: New file.
1467 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1468 do_self_tests.
1469 (setup_test, find_gdb): Remove.
1470 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1471 do_self_tests.
1472 (setup_test, find_gdb): Remove.
1473 (test_observer): Don't call setup_test. Remove argument.
1474 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1475 (find_gdb): Remove.
1476 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1477 do_self_tests.
1478 (setup_test, find_gdb): Remove.
1479 (test_with_self): Don't call setup_test. Remove argument.
1480
1481 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1482
1483 * gdb.arch/system-gcore.exp: Remove.
1484 * gdb.arch/gcore.c: Remove.
1485 * gdb.base/gcore.exp: Add "info reg system".
1486
1487 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1488
1489 PR breakpoints/15413:
1490 * gdb.base/pending.exp: Add test for completion of the "condition"
1491 command for pending breakpoints.
1492 * gdb.linespec/linespec.ex: Add test for completion of the
1493 "condition" command when dealing with multiple locations.
1494
1495 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1496
1497 * gdb.threads/wp-replication.c: New file.
1498 * gdb.threads/wp-replication.exp: New file.
1499
1500 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1501
1502 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1503
1504 2013-05-06 Doug Evans <dje@google.com>
1505
1506 * gdb.base/solib-search-lib1.c: New file.
1507 * gdb.base/solib-search-lib2.c: New file.
1508 * gdb.base/solib-search.c: New file.
1509 * gdb.base/solib-search.h: New file.
1510 * gdb.base/solib-search.exp: New file.
1511
1512 * lib/gdb.exp (gdb_core_cmd): New function.
1513 * gdb.arch/system-gcore.exp: Use it.
1514 * gdb.arch/vsx-regs.exp: Ditto.
1515 * gdb.base/gcore.exp: Ditto.
1516 * gdb.threads/gcore-thread.exp: Ditto.
1517
1518 * gdb.reverse/shr.h: New file.
1519 * gdb.reverse/shr1.c: New file.
1520 * gdb.reverse/shr2.c: #include "shr.h".
1521 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1522 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1523 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1524 Update tests using sleep/printf to use shr2.sl instead.
1525 * gdb.reverse/solib-reverse.exp: Ditto.
1526
1527 2013-05-06 Tom Tromey <tromey@redhat.com>
1528
1529 * gdb.dwarf2/implptrconst.c: New file.
1530 * gdb.dwarf2/implptrconst.exp: New file.
1531 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1532 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1533 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1534
1535 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1536
1537 * gdb.base/catch-sig.c (main): Raise SIGINT.
1538 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1539
1540 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1541
1542 * status-stop.exp (test_tstart_tstart): Check for error
1543 returned by the second 'tstart' command.
1544
1545 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1546
1547 * gdb.xml/maint_print_struct.exp: New file.
1548 * gdb.xml/maint_print_struct.xml: New file.
1549
1550 2013-04-25 Tom Tromey <tromey@redhat.com>
1551
1552 * gdb.dwarf2/nostaticblock.exp: New file.
1553
1554 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1555
1556 PR gdb/10462
1557 * gdb.base/setshow.exp: Add test case.
1558
1559 2013-04-23 Hui Zhu <hui@codesourcery.com>
1560
1561 PR gdb/15293
1562 * gdb.base/dprintf.exp: Add ignore command.
1563
1564 2013-04-23 Hui Zhu <hui@codesourcery.com>
1565
1566 PR gdb/15165
1567 * gdb.base/save-bp.exp: Add test for dprintf.
1568
1569 2013-04-22 Tom Tromey <tromey@redhat.com>
1570
1571 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1572 notice_open_fds.
1573
1574 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1575
1576 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1577 ldflags.
1578
1579 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1580
1581 * gdb.arch/arm-bl-branch-dest.c: New file.
1582 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1583
1584 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1585 Pedro Alves <palves@redhat.com>
1586
1587 * gdb.arch/i386-float.S: New file.
1588 * gdb.arch/i386-float.exp: New file.
1589
1590 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1591
1592 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1593 type void *.
1594
1595 2013-04-17 Doug Evans <dje@google.com>
1596
1597 * lib/dwarf.exp (Dwarf): New proc "tu".
1598 * gdb.dwarf2/missing-sig-type.exp: New file.
1599
1600 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1601
1602 Add option to link testcases with Pthreads library when
1603 using 'prepare_for_testing' in tests.
1604
1605 * lib/gdb.exp (build_executable_from_specs): Use
1606 gdb_compile_pthreads to compile if option "pthreads" is
1607 specified.
1608
1609 2013-04-15 Tom Tromey <tromey@redhat.com>
1610
1611 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1612
1613 2013-04-15 Tom Tromey <tromey@redhat.com>
1614
1615 * gdb.base/default.exp: Update for $_exception.
1616 * gdb.cp/exceptprint.cc: New file.
1617 * gdb.cp/exceptprint.exp: New file.
1618 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1619
1620 2013-04-15 Tom Tromey <tromey@redhat.com>
1621
1622 * gdb.cp/typeid.cc: New file.
1623 * gdb.cp/typeid.exp: New file.
1624
1625 2013-04-15 Tom Tromey <tromey@redhat.com>
1626
1627 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1628
1629 2013-04-13 Yao Qi <yao@codesourcery.com>
1630
1631 * gdb.base/completion.exp: Test completion of command
1632 'target ctf' if target ctf is supported.
1633
1634 2013-04-10 Pedro Alves <palves@redhat.com>
1635
1636 * gdb.base/completion.exp: Test "set height", "set listsize" and
1637 "set trace-buffer-size" completion.
1638 * gdb.base/setshow.exp: Test "set height unlimited".
1639 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1640 unlimited".
1641
1642 2013-04-10 Yao Qi <yao@codesourcery.com>
1643
1644 * gdb.trace/actions.exp: Save trace data to CTF.
1645 Change to ctf target if GDB supports, read CTF data in ctf
1646 target, and check the actions of tracepoints.
1647 * gdb.trace/while-stepping.exp: Likewise.
1648 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1649 format and read CTF trace file if GDB supports.
1650 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1651 target is supported, change to ctf target, read trace data and
1652 check output of command "tstatus".
1653 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1654 read CTF data by target ctf and call check_tsv.
1655
1656 2013-04-10 Yao Qi <yao@codesourcery.com>
1657
1658 * gdb.trace/actions.exp (check_tracepoint): New.
1659 (top level): Start the tracing and check the actions of
1660 tracepoints. Save trace data to tfile format. Restart GDB
1661 and read trace file in tfile target. Check the actions of
1662 tracepoints again.
1663 * gdb.trace/while-stepping.exp: Likewise.
1664
1665 2013-04-10 Yao Qi <yao@codesourcery.com>
1666
1667 * gdb.trace/report.exp: Use standard_output_file for saved
1668 trace file.
1669
1670 2013-04-10 Hui Zhu <hui@codesourcery.com>
1671
1672 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1673 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1674 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1675
1676 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1677
1678 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1679 response.
1680
1681 2013-04-08 Pedro Alves <palves@redhat.com>
1682
1683 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1684 the location.
1685
1686 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1687
1688 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1689 for breakpoint location.
1690
1691 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1692
1693 * gdb.linespec/linespec.exp: Make dir/file:line tests
1694 conditional for non-remote hosts only.
1695
1696 2013-04-04 Stan Shebs <stan@codesourcery.com>
1697 Pedro Alves <palves@redhat.com>
1698
1699 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1700 * gdb.trace/actions-changed.c: New file.
1701 * gdb.trace/actions-changed.exp: New file.
1702 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1703 (gdb_trace_setactions_command): ... this. Add "actions_command"
1704 parameter, and handle it.
1705 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1706
1707 2013-04-04 Yao Qi <yao@codesourcery.com>
1708
1709 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1710 'step'.
1711
1712 2013-04-03 Yao Qi <yao@codesourcery.com>
1713
1714 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1715 "tfile-basic.tf".
1716 (test_tfind_tfile): Likewise.
1717
1718 2013-04-03 Yao Qi <yao@codesourcery.com>
1719
1720 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1721 "tfile-basic.tf" instead of "basic.tf".
1722 (write_error_trace_file): Pass argument "tfile-error.tf"
1723 instead of "error.tf".
1724 * gdb.trace/tfile.exp: Update tfile names to
1725 "tfile-basic.tf" and "tfile-error.tf".
1726
1727 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1728
1729 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1730 empty directory in file for breakpoint hit.
1731
1732 2013-03-29 Yao Qi <yao@codesourcery.com>
1733
1734 * gdb.base/completion.exp: Test completion of commands
1735 "target core", "target tfile" and "target exec".
1736 * gdb.trace/tfile.exp: Test completion of command
1737 "target tfile".
1738
1739 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1740
1741 * gdb.ada/win_fu_syms: New testcase.
1742
1743 2013-03-28 Doug Evans <dje@google.com>
1744
1745 * gdb.base/maint.exp (maint print statistics): Update expected output.
1746
1747 2013-03-28 Pedro Alves <palves@redhat.com>
1748
1749 PR gdb/15294
1750
1751 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1752 mean unlimited instead of $arg < 0.
1753 (test_listsize): Remove "listsize of 0 suppresses output" test.
1754 Test that "set listsize 0" ends up with an unlimited listsize.
1755
1756 2013-03-28 Pedro Alves <palves@redhat.com>
1757
1758 * gdb.base/list.exp (last_line): New global.
1759 (last_line_re): New global.
1760 (test_listsize, test_list_function, test_list_forward)
1761 (test_repeat_list_command, test_list_range)
1762 (test_list_filename_and_function): Use them.
1763 * gdb.base/list0.c: Comment the last line of the file with "last
1764 line".
1765
1766 2013-03-28 Pedro Alves <palves@redhat.com>
1767
1768 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1769 list the whole file.
1770
1771 2013-03-28 Pedro Alves <palves@redhat.com>
1772
1773 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1774 "set listsize".
1775
1776 2013-03-26 Keith Seitz <keiths@redhat.com>
1777
1778 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1779 from passing.
1780
1781 2013-03-26 Pedro Alves <palves@redhat.com>
1782
1783 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1784 until after GDB has run.
1785
1786 2013-03-26 Yao Qi <yao@codesourcery.com>
1787
1788 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1789 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1790
1791 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1792
1793 * gdb.btrace/enable.exp: Add regression test.
1794
1795 2013-03-25 Tom Tromey <tromey@redhat.com>
1796
1797 * gdb.cp/m-static.exp: Add destructor-printing tests.
1798
1799 2013-03-25 Tom Tromey <tromey@redhat.com>
1800
1801 * gdb.cp/m-static.exp: Add constructor ptype tests.
1802 * gdb.cp/m-static.cc (single_constructor): New class.
1803 (main): Make instance of single_constructor.
1804
1805 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1806 Pedro Alves <palves@redhat.com>
1807
1808 * gdb.server/server-kill.c: New file.
1809 * gdb.server/server-kill.exp: New file.
1810
1811 2013-03-21 Pedro Alves <palves@redhat.com>
1812
1813 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1814 Expect $gdb_prompt in gdb_test_multiple.
1815
1816 2013-03-21 Doug Evans <dje@google.com>
1817
1818 * gdb.base/maint.exp: Update tests for per-command stats.
1819
1820 2013-03-21 Tom Tromey <tromey@redhat.com>
1821
1822 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1823 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1824
1825 2013-03-20 Pedro Alves <palves@redhat.com>
1826
1827 PR gdb/15289
1828
1829 * gdb.base/remote.exp: Test
1830 "set remote hardware-watchpoint-limit -1",
1831 "set remote hardware-breakpoint-limit -1",
1832 "set remote hardware-watchpoint-limit 2147483647" and
1833 "set remote hardware-breakpoint-limit 2147483647".
1834
1835 2013-03-20 Pedro Alves <palves@redhat.com>
1836 Yao Qi <yao@codesourcery.com>
1837
1838 * gdb.trace/tfile.c: Add comments.
1839 (nonconstglob): New global.
1840 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1841 global that is not covered by the trace frame. Test
1842 disassembling.
1843
1844 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1845
1846 * gdb.base/valgrind-infcall.exp
1847 (continue #$continue_count) <remote connection closed>
1848 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1849 $valgrind_pid.
1850
1851 2013-03-15 Tom Tromey <tromey@redhat.com>
1852
1853 * gdb.cp/overload.cc (intintfunc): New.
1854 * gdb.cp/overload.exp: Add regression test.
1855
1856 2013-03-15 Yao Qi <yao@codesourcery.com>
1857
1858 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1859 using with_test_prefix.
1860 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1861 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1862 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1863 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1864 * gdb.base/break-interp.exp (test_core): Likewise.
1865 (test_attach_gdb): Likewise.
1866 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1867 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1868 Likewise.
1869 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1870 * gdb.base/jit.exp (one_jit_test): Likewise.
1871 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1872 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1873 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1874 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1875 Likewise.
1876 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1877 Likewise.
1878 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1879 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1880 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1881 (tracepoint_change_loc_2): Likewise.
1882 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1883 Likewise.
1884 (disconnected_tfind): Likewise.
1885 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1886 Likewise.
1887 (test_tfind_remote): Likewise.
1888 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1889 Likewise.
1890 (test_pending_resolved): Likewise.
1891 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1892 Likewise.
1893 (test_upload_tsv): Likewise.
1894 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1895 Likewise.
1896 (pending_tracepoint_works): Likewise.
1897 * gdb.trace/report.exp (use_collected_data): Likewise.
1898 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1899 Likewise.
1900 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1901 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1902 (strace_trace_on_same_addr): Likewise.
1903 (strace_trace_on_diff_addr): Likewise.
1904 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1905 (gdb_collect_locals_test): Likewise.
1906 (gdb_unavailable_registers_test): Likewise.
1907 (gdb_collect_globals_test): Likewise.
1908
1909 2013-03-15 Yao Qi <yao@codesourcery.com>
1910
1911 * gdb.base/condbreak.exp: Add semicolon back which was removed
1912 by my previous commit.
1913
1914 2013-03-14 Yao Qi <yao@codesourcery.com>
1915
1916 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1917 'return'.
1918 (gdb_target_monitor, gdb_load): Likewise.
1919 * config/sid.exp (gdb_load): Likewise.
1920 * config/slite.exp (gdb_load): Likewise.
1921 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1922 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1923 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1924 (single_step_until): Likewise.
1925 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1926 * gdb.arch/system-gcore.exp: Likewise.
1927 * gdb.base/bigcore.exp (extract_heap): Likewise.
1928 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1929 * gdb.base/call-ar-st.exp: Likewise.
1930 * gdb.base/call-rt-st.exp: Likewise.
1931 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1932 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1933 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1934 * gdb.base/corefile.exp: Likewise.
1935 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1936 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1937 * gdb.base/fixsection.exp: Likewise.
1938 * gdb.base/funcargs.exp: Likewise.
1939 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1940 * gdb.base/gcore-relro.exp: Likewise.
1941 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1942 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1943 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1944 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1945 * gdb.base/list.exp: Likewise.
1946 (set_listsize): Likewise.
1947 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1948 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1949 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1950 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1951 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1952 * gdb.base/setvar.exp: Likewise.
1953 (test_set): Likewise.
1954 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1955 * gdb.base/solib-overlap.exp: Likewise.
1956 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1957 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1958 * gdb.base/watchpoint.exp (initialize): Likewise.
1959 (test_simple_watchpoint): Likewise.
1960 (test_disabling_watchpoints): Likewise.
1961 (test_watchpoint_triggered_in_syscall): Likewise.
1962 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1963 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1964 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1965 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1966 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1967 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1968 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1969 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1970 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1971 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1972 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1973 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1974 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1975 * gdb.mi/gdb792.exp: Likewise.
1976 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1977 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1978 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1979 * gdb.threads/gcore-thread.exp: Likewise.
1980 (load_core): Likewise.
1981 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1982 (test_startup, check_control_c): Likewise.
1983 * gdb.threads/sigstep-threads.exp: Likewise.
1984 * gdb.threads/thread_check.exp: Likewise.
1985 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1986 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1987 (set_a_tracepoint, trace_buffer_normal): Likewise.
1988 (gdb_trace_circular_tests): Likewise.
1989 * gdb.trace/collection.exp: Likewise.
1990 * gdb.trace/disconnected-tracing.exp: Likewise.
1991 * gdb.trace/infotrace.exp: Likewise.
1992 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1993 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1994 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1995 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1996 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1997 * gdb.trace/stap-trace.exp: Likewise.
1998 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1999 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2000 * gdb.trace/trace-buffer-size.exp: Likewise.
2001 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2002 * gdb.trace/unavailable.exp: Likewise.
2003 * gdb.trace/while-dyn.exp: Likewise.
2004 * lib/fortran.exp (set_lang_fortran): Likewise.
2005 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2006 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2007 (default_gdb_start, get_compiler_info): Likewise.
2008 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2009 (get_debug_format, setup_xfail_format): Likewise.
2010 (rerun_to_main, gdb_skip_float_test): Likewise.
2011 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2012 * lib/java.exp (set_lang_java): Likewise.
2013 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2014 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2015 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2016 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2017 * lib/objc.exp (set_lang_objc): Likewise.
2018 * lib/pascal.exp (set_lang_pascal): Likewise.
2019 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2020 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2021 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2022
2023 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2024
2025 PR c++/15203
2026 PR c++/15210
2027 * gdb.cp/m-static.cc (keepalive_int): New function.
2028 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2029 * gdb.cp/m-static.exp: New test for `sintvar'.
2030
2031 2013-03-14 Yao Qi <yao@codesourcery.com>
2032
2033 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2034 of 'tstatus' into tstatus_output.
2035 (top level): Save the trace data to tfile. Read trace file in
2036 tfile target. Check the trace status.
2037
2038 2013-03-13 Yao Qi <yao@codesourcery.com>
2039
2040 * gdb.trace/tsv.exp (check_tsv): New.
2041 (top level): Save a tfile on current trace session. Call
2042 check_tsv on live target. Load the tfile with target tfile
2043 and call check_tsv again.
2044
2045 2013-03-13 Yao Qi <yao@codesourcery.com>
2046
2047 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2048 Replace some "gdb_test" with "gdb_test_no_output".
2049
2050 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2051
2052 * gdb.ada/expr_delims.exp: New file.
2053 * gdb.ada/expr_delims/foo.adb: New file.
2054 * gdb.ada/expr_delims/pck.ads: New file.
2055 * gdb.ada/expr_delims/pck.adb: New file.
2056
2057 2013-03-11 Keith Seitz <keiths@redhat.com>
2058
2059 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2060 both condition and thread. Then delete the watchpoint.
2061
2062 2013-03-11 Christian Himpel <christian.himpel@intel.com>
2063
2064 * Makefile.in: Add btrace testsuite.
2065 * configure: Regenerated.
2066 * configure.ac: Add btrace testsuite.
2067 * gdb.btrace/Makefile.in: New file.
2068 * gdb.btrace/enable.c: New file.
2069 * gdb.btrace/enable.exp: New file.
2070 * gdb.btrace/function_call_history.c: New file.
2071 * gdb.btrace/function_call_history.exp: New file.
2072 * gdb.btrace/instruction_history.c: New file.
2073 * gdb.btrace/instruction_history.exp: New file.
2074 * gdb.btrace/instruction_history.S: New file.
2075 * lib/gdb.exp: Add btrace skip proc.
2076
2077 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2078
2079 Fix entry-values if the callee called a noreturn function.
2080 * gdb.arch/amd64-tailcall-noret.S: New file.
2081 * gdb.arch/amd64-tailcall-noret.c: New file.
2082 * gdb.arch/amd64-tailcall-noret.exp: New file.
2083
2084 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2085
2086 Fix entry-values in C++ across CUs.
2087 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2088 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2089 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2090 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2091 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2092
2093 2013-03-08 Stan Shebs <stan@codesourcery.com>
2094 Hafiz Abid Qadeer <abidh@codesourcery.com>
2095
2096 gdb/testsuite/
2097 * gdb.trace/trace-buffer-size.exp: New file.
2098 * gdb.trace/trace-buffer-size.c: New file.
2099
2100 2013-03-06 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2103 doesn't support the tested optional feature, call "unsupported"
2104 with the same test message as the "pass" case, instead of calling
2105 "pass" with a different message. Use the same text for the "fail"
2106 cases too.
2107
2108 2013-03-06 Yao Qi <yao@codesourcery.com>
2109
2110 * gdb.trace/tstatus.exp: Remove the invocation of
2111 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2112 (test_tracepoints): Don't set fast tracepoint.
2113 (top level): Don't check agent library is loaded or not.
2114
2115 2013-03-06 Yao Qi <yao@codesourcery.com>
2116
2117 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2118 parentheses by "\\".
2119
2120 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2121
2122 * gdb.linespec/base/one/thefile.cc (twodup): New.
2123 (m): Call it.
2124 * gdb.linespec/base/two/thefile.cc (dupname): New.
2125 (n): Call it.
2126 * gdb.linespec/break-ask.exp: New file.
2127 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2128
2129 2013-02-28 Yao Qi <yao@codesourcery.com>
2130
2131 * gdb.trace/report.exp: Move some code to ...
2132 (use_collected_data): New.
2133 (top level): Call use_collected_data once on the live target.
2134 Save at file of the current trace session, load it with target
2135 tfile, and call use_collected_data again.
2136
2137 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2138
2139 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2140
2141 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2142
2143 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2144 Add final kill of ${valgrind_pid}.
2145
2146 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2147
2148 * gdb.python/py-arch.c: New test case
2149 * gdb.python/py-arch.exp: New tests to test
2150 gdb.Architecture.disassemble
2151 * gdb.python/Makefile.in: Add py-arch to the list of
2152 EXECUTABLES.
2153
2154 2013-02-18 Tom Tromey <tromey@redhat.com>
2155
2156 * gdb.dwarf2/subrange.exp: New file.
2157
2158 2013-02-15 Pedro Alves <pedro@codesourcery.com>
2159 Hafiz Abid Qadeer <abidh@codesourcery.com>
2160
2161 * gdb.trace/tfile.exp: Add test for -trace-status command.
2162
2163 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2164
2165 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2166 nanosleep by sleep.
2167
2168 2013-02-14 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2171
2172 2013-02-14 Pedro Alves <pedro@codesourcery.com>
2173 Hafiz Abid Qadeer <abidh@codesourcery.com>
2174
2175 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2176
2177 2013-02-12 Tom Tromey <tromey@redhat.com>
2178
2179 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2180 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2181
2182 2013-02-12 Pedro Alves <palves@redhat.com>
2183
2184 * gdb.base/catch-signal.c: Update copyright years.
2185 * gdb.base/catch-signal.exp: Update copyright years.
2186 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2187 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2188 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2189 * gdb.dwarf2/dw2-error.S: Update copyright years.
2190 * gdb.dwarf2/dw2-error.c: Update copyright years.
2191 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2192 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2193 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2194
2195 2013-02-12 Pedro Alves <palves@redhat.com>
2196
2197 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2198 message.
2199 * gdb.base/sigaltstack.exp: Ditto.
2200 * gdb.base/siginfo.exp: Ditto.
2201 * gdb.base/sizeof.exp: Ditto.
2202
2203 2013-02-12 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.mi/mi-basics.exp: Tweak intro comment.
2206 * gdb.mi/mi-break.exp: Tweak intro comment.
2207 * gdb.mi/mi-console.exp: Tweak intro comment.
2208 * gdb.mi/mi-file.exp: Tweak intro comment.
2209 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2210 * gdb.mi/mi-return.exp: Tweak intro comment.
2211 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2212 * gdb.mi/mi-until.exp: Tweak intro comment.
2213 * gdb.mi/mi-watch.exp: Tweak intro comment.
2214
2215 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2216
2217 * gdb.server/no-thread-db.exp: New file.
2218 * gdb.server/no-thread-db.c: New file.
2219 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2220
2221 2013-02-11 Doug Evans <dje@google.com>
2222
2223 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2224 two decfloats.
2225
2226 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2227
2228 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2229 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2230
2231 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2232
2233 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2234
2235 2013-02-06 Yao Qi <yao@codesourcery.com>
2236
2237 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2238 to ...
2239 (test_create_delete_modify_tsv): ... here. New test on modifying
2240 the initial value of a tsv.
2241
2242 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2243
2244 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2245 (cd .../rdir): ... here.
2246
2247 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2248
2249 * gdb.linespec/base/one/header.h: New file.
2250 * gdb.linespec/base/two/header.h: New file.
2251 * gdb.linespec/macro-relative.c: New file.
2252 * gdb.linespec/macro-relative.exp: New file.
2253
2254 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2255
2256 * gdb.base/fullpath-expand-func.c: New file.
2257 * gdb.base/fullpath-expand.c: New file.
2258 * gdb.base/fullpath-expand.exp: New file.
2259 * gdb.base/realname-expand-real.c: New file.
2260 * gdb.base/realname-expand.c: New file.
2261 * gdb.base/realname-expand.exp: New file.
2262
2263 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2264
2265 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2266 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2267
2268 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2269
2270 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2271 (compare_filenames_for_search does not match)
2272 (compare_filenames_for_search does match): New tests.
2273
2274 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2277
2278 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2279
2280 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2281
2282 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2283
2284 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2285 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2286 ${binfile}.mini_debuginfo-debuglink and
2287 ${binfile}.mini_debuginfo-debuglink.xz.
2288
2289 2013-02-01 Tom Tromey <tromey@redhat.com>
2290
2291 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2292 attributes.
2293
2294 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2295 Tom Tromey <tromey@redhat.com>
2296
2297 * gdb.dwarf2/method-ptr.exp: Link with c++.
2298 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2299
2300 2013-01-31 Tom Tromey <tromey@redhat.com>
2301
2302 * gdb.base/jit.exp (compile_jit_test): New proc.
2303 Add PIE tests.
2304
2305 2013-01-31 Tom Tromey <tromey@redhat.com>
2306
2307 * gdb.dwarf2/method-ptr.cc: New file.
2308 * gdb.dwarf2/method-ptr.exp: New file.
2309
2310 2013-01-31 Tom Tromey <tromey@redhat.com>
2311
2312 * lib/dwarf.exp (namespace Dwarf): New.
2313
2314 2013-01-29 Tom Tromey <tromey@redhat.com>
2315
2316 * gdb.dwarf2/fission-reread.exp: Add unload test.
2317
2318 2013-01-28 Doug Evans <dje@google.com>
2319
2320 * gdb.dwarf2/fission-loclists.exp: New file.
2321 * gdb.dwarf2/fission-loclists.S: New file.
2322
2323 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2324
2325 Code cleanup.
2326 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2327 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2328 and prepare_for_testing.
2329 * gdb.base/store.exp: Likewise.
2330
2331 2013-01-25 Tom Tromey <tromey@redhat.com>
2332
2333 * gdb.python/py-explore.exp: Expect the gdb prompt.
2334
2335 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
2336
2337 * gdb.base/gnu_vector.c: New variable for use in tests.
2338 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2339 changes in scalar to vector casting and widening.
2340 * gdb.python/py-type.c: New variables for use in tests.
2341 * gdb.python/py-type.exp: Update vector related tests to reflect
2342 changes in scalar to vector casting and widening.
2343
2344 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2345
2346 * gdb.base/prologue-include.c: New file.
2347 * gdb.base/prologue-include.exp: New file.
2348 * gdb.base/prologue-include.h: New file.
2349
2350 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2351
2352 PR gdb/13443
2353 * gdb.mi/mi-var-block.exp: Make test messages unique.
2354
2355 2013-01-23 Tom Tromey <tromey@redhat.com>
2356
2357 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2358
2359 2013-01-23 Tom Tromey <tromey@redhat.com>
2360
2361 * gdb.cp/converts.cc (main): Initialize 'a'.
2362
2363 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2364
2365 * testsuite/gdb.python/frame.exp: Add a test for
2366 gdb.Frame.architecture() method.
2367
2368 2013-01-22 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.base/annota1.exp (signal sent): No longer expect
2371 breakpoints-invalid.
2372 * gdb.cp/annota2.exp (continue until exit)
2373 (watch triggered on a.x): Ditto.
2374
2375 2013-01-22 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2378 Adjust tests to breakpoints-invalid changes.
2379 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2380 variables.
2381 Adjust tests to breakpoints-invalid changes.
2382
2383 2013-01-22 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.base/annota1.exp (annotate ignore count change): Add
2386 expected output for failure case.
2387
2388 2013-01-22 Tom Tromey <tromey@redhat.com>
2389
2390 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2391 call.
2392
2393 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2394
2395 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
2396 * gdb.mi/mi-catch-load.exp: Ditto.
2397 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2398 Also handle 'thread' field.
2399 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2400 * gdb.mi/mi-watch.exp: Ditto.
2401 * lib/mi-support.exp: Ditto.
2402
2403 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2404
2405 * gdb.python/py-explore.exp: Improve a test
2406
2407 2013-01-18  David Blaikie  <dblaikie@gmail.com>
2408
2409 * gdb.base/label.c (main): Correct the type of the second
2410 parameter.
2411
2412 2013-01-18 Tom Tromey <tromey@redhat.com>
2413
2414 * gdb.dwarf2/trace-crash.s: New file.
2415 * gdb.dwarf2/trace-crash.exp: New file.
2416
2417 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2418
2419 PR gdb/13443
2420 * gdb.base/checkpoint.exp: Update test messages to make them
2421 unique.
2422
2423 2013-01-18 Yao Qi <yao@codesourcery.com>
2424
2425 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2426 output of 'info tracepoints'.
2427 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2428 Likewise.
2429 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2430 * gdb.trace/disconnected-tracing.c (struct foo): New.
2431
2432 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2433
2434 * gdb.dwarf2/dw2-dos-drive.S: New file.
2435 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2436
2437 2013-01-17 Doug Evans <dje@google.com>
2438
2439 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2440 CXX_FOR_TARGET.
2441
2442 * boards/cc-with-tweaks.exp: New file.
2443
2444 2013-01-17 Tom Tromey <tromey@redhat.com>
2445
2446 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2447
2448 2013-01-17 Pedro Alves <palves@redhat.com>
2449
2450 Merge dg-extract-results.sh from upstream (svn 195224).
2451
2452 2013-01-15 David Blaikie <dblaikie@gmail.com>
2453 * dg-extract-results.sh: Fix order of summary counts.
2454
2455 2013-01-15 David Blaikie <dblaikie@gmail.com>
2456 * dg-extract-results.sh: Constrain the start-of-log pattern.
2457
2458 2013-01-15 David Blaikie <dblaikie@gmail.com>
2459 * dg-extract-results.sh: Handle KPASSes.
2460
2461 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2462 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2463 of grep -q.
2464
2465 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2466
2467 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2468 interface.
2469 * gdb.base/jithost.c: New file.
2470 * gdb.base/jithost.h: New file.
2471 * gdb.base/jitreader.c : New file.
2472 * gdb.base/jit-protocol.h: New file.
2473
2474 2013-01-16 Tom Tromey <tromey@redhat.com>
2475
2476 * gdb.base/catch-signal.c: New file.
2477 * gdb.base/catch-signal.exp: New file.
2478
2479 2013-01-16 Tom Tromey <tromey@redhat.com>
2480
2481 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2482
2483 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2484
2485 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2486
2487 2013-01-14 Tom Tromey <tromey@redhat.com>
2488
2489 * gdb.base/completion.exp: Add "set gnutarget" test.
2490
2491 2013-01-14 Tom Tromey <tromey@redhat.com>
2492
2493 * gdb.dwarf2/dw2-restrict.S: New file.
2494 * gdb.dwarf2/dw2-restrict.c: New file.
2495 * gdb.dwarf2/dw2-restrict.exp: New file.
2496
2497 2013-01-14 Tom Tromey <tromey@redhat.com>
2498
2499 * gdb.dwarf2/dw2-error.exp: New file.
2500 * gdb.dwarf2/dw2-error.c: New file.
2501 * gdb.dwarf2/dw2-error.S: New file.
2502
2503 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2504
2505 * gdb.cp/parse-lang.cc: New file.
2506 * gdb.cp/parse-lang.exp: New file.
2507
2508 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2509
2510 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2511 (set substitute-path): New test.
2512 (fullname present): Remove content.
2513 (substituted fullname): New test.
2514
2515 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2516
2517 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2518 check. Move $gdb_py_is_py24 value check right after.
2519
2520 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2521
2522 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2523 targets.
2524
2525 2013-01-11 Yao Qi <yao@codesourcery.com>
2526
2527 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2528 for dprintf.
2529 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2530 Check the fields in "=breakpoint-created" for dprintf.
2531
2532 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2533
2534 * gdb.mi/mi-fullname-deleted.exp: New file.
2535
2536 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2537
2538 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2539 expected output.
2540 (info skip with pending file): Remove.
2541 (ignoring function in solib, info skip for function multiply): Update
2542 the expected output.
2543 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2544 (info skip (delete 1), info skip after disabling all)
2545 (info skip after enabling all, info skip after disabling 4 2-3)
2546 (info skip after enabling 2-3, info skip 2-3)
2547 (info skip after deleting 2 3): Update the expected output.
2548 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2549 statement to its initialization and return.
2550 * gdb.linespec/skip-two.exp: New file.
2551
2552 2012-12-19 Doug Evans <dje@google.com>
2553
2554 * gdb.base/maint.exp: Handle testing with .gdb_index.
2555
2556 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2557
2558 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2559 Cavium to FSF.
2560
2561 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2562
2563 * dg-extract-results.sh: Update contact info in copyright notice.
2564 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2565 GPL v3 or later. Update contact info.
2566 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2567 gdb.threads/watchpoint-fork-mt.c,
2568 gdb.threads/watchpoint-fork-parent.c,
2569 gdb.threads/watchpoint-fork-st.c,
2570 gdb.threads/watchpoint-fork.h: Likewise.
2571
2572 2012-12-15 Yao Qi <yao@codesourcery.com>
2573
2574 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2575 'installed' field in '=breakpoint-modified'.
2576 (test_reconnect): Check 'installed' field in
2577 '=breakpoint-modified' and '=breakpoint-created'.
2578
2579 * gdb.trace/actions.exp: Update test for 'installed' field.
2580 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2581 (tracepoint_change_loc_2): Likewise.
2582 Check 'info tracepoint' display nothing else.
2583 * gdb.trace/deltrace.exp: Likewise.
2584 * gdb.trace/infotrace.exp: Likewise.
2585 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2586 Likewise.
2587 * gdb.trace/passcount.exp: Likewise.
2588 * gdb.trace/tracecmd.exp: Likewise.
2589 * gdb.trace/while-stepping.exp: Likewise.
2590
2591 2012-12-14 Tom Tromey <tromey@redhat.com>
2592
2593 * gdb.cp/member-name.exp: New file.
2594 * gdb.cp/member-name.cc: New file.
2595
2596 2012-12-14 Tom Tromey <tromey@redhat.com>
2597
2598 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2599
2600 2012-12-14 Doug Evans <dje@google.com>
2601
2602 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2603 DW_OP_GNU_implicit_pointer is section-relative.
2604
2605 2012-12-14 Tom Tromey <tromey@redhat.com>
2606
2607 * gdb.base/info-proc.exp: Add core file tests.
2608
2609 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2610
2611 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2612
2613 2012-12-13 Doug Evans <dje@google.com>
2614
2615 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2616 * gdb.multi/multi-arch.exp: Ditto.
2617
2618 2012-12-12 Keven Boell <keven.boell@intel.com>
2619
2620 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2621 catch load test library source file.
2622 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2623 load test source file.
2624 * gdb.mi/mi-catch-load.exp: New. Test file for
2625 basic MI -catch-load and -catch-unload tests.
2626
2627 2012-12-11 Paul Koning <paul_koning@dell.com>
2628
2629 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2630 exception.
2631 (_iterator_except): New function.
2632 (ArrayPrinter): Use _iterator function instead of local _iterator
2633 class for Python 3 compatibility.
2634 (NoStringContainerPrinter): Use _iterator_except instead of
2635 _iterator.
2636 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2637 execfile for Python 3 compatibility.
2638 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2639 format in error_prompt test.
2640
2641 2012-12-10 Paul Koning <paul_koning@dell.com>
2642
2643 * gdb.base/charset.exp: Change print syntax for Python 3
2644 compatibility.
2645 * gdb.python/py-block.exp: Ditto.
2646 * gdb.python/py-breakpoint.exp: Ditto.
2647 * gdb.python/py-cmd.exp: Ditto.
2648 * gdb.python/py-events.py: Ditto.
2649 * gdb.python/py-finish-breakpoint.py: Ditto.
2650 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2651 * gdb.python/py-finish-breakpoint2.py: Ditto.
2652 * gdb.python/py-frame-inline.exp: Ditto.
2653 * gdb.python/py-frame.exp: Ditto.
2654 * gdb.python/py-infthread.exp: Ditto.
2655 * gdb.python/py-objfile.exp: Ditto.
2656 * gdb.python/py-parameter.exp: Ditto.
2657 * gdb.python/py-progspace.exp: Ditto.
2658 * gdb.python/py-prompt.exp: Ditto.
2659 * gdb.python/py-symbol.exp: Ditto.
2660 * gdb.python/py-symtab.exp: Ditto.
2661 * gdb.python/py-template.exp: Ditto.
2662 * gdb.python/py-value-cc.exp: Ditto.
2663 * gdb.python/python.exp: Ditto.
2664 * gdb.python/source2.py: Ditto.
2665 * gdb.python/lib-types.exp: Change print syntax for Python 3
2666 compatibility.
2667 Use sorted() function rather than sort() method.
2668 Accept either int or long values for enum values.
2669 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2670 execfile for Python 3 compatibility.
2671 * gdb.python/py-evsignal.exp: Ditto.
2672 * gdb.python/py-evthreads.exp: Ditto.
2673 * gdb.python/py-mi.exp: Ditto.
2674 * gdb.python/py-pp-maint.exp: Ditto.
2675 * gdb.python/py-prettyprint.exp: Ditto.
2676 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2677 Python 3 compatibility.
2678 Skip tests for Python 2.4.
2679 * gdb.python/py-inferior.exp: Change print syntax for
2680 Python 3 compatibility.
2681 Use byte string rather than character string in memory write test
2682 if Python 3.
2683 * gdb.python/py-pp-maint.py: Change class declarations to "new
2684 class" syntax.
2685 * gdb.python/py-prettyprint.py: Change iterator class to generator
2686 function for Python 3 compatibility.
2687 Make all classes "new style".
2688 Fix indentation issue and stray semicolon.
2689 * gdb.python/py-shared.expChange print syntax for Python 3
2690 compatibility.
2691 Define "long" if Python 3.
2692 * gdb.python/py-type.exp: Change print syntax for Python 3
2693 compatibility.
2694 Accept either int or long values for enum values.
2695 * gdb.python/py-value.exp: Change print syntax for Python 3
2696 compatibility.
2697 Skip "long" and "unicode" tests if Python 3.
2698 Accept either "type" or "class" in type checks.
2699 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2700 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2701
2702 2012-12-10 Tom Tromey <tromey@redhat.com>
2703
2704 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2705 (test): Add "two_cu" argument.
2706 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2707 for types; allow two CUs.
2708
2709 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2710
2711 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2712 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2713
2714 2012-12-08 Yao Qi <yao@codesourcery.com>
2715 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2718 '=breakpoint-created' when GDB merges the tracepoints of both
2719 sides.
2720
2721 2012-12-07 Tom Tromey <tromey@redhat.com>
2722
2723 * gdb.base/break1.c (enum some_enum, union some_union): New.
2724 (some_enum_global, some_union_global, some_value): New globals.
2725 * gdb.base/completion.exp: Add tag completion tests.
2726
2727 2012-12-07 Tom Tromey <tromey@redhat.com>
2728
2729 * gdb.base/completion.exp: Add tests for ptype and whatis
2730 completion.
2731
2732 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2733
2734 * gdb.base/stale-infcall.exp: Fix copyright line.
2735
2736 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2737
2738 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2739
2740 2012-12-06 Pedro Alves <palves@redhat.com>
2741 Tom Tromey <tromey@redhat.com>
2742
2743 * gdb.base/exprs.exp: Add tests for cast to void.
2744
2745 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2746
2747 * gdb.python/py-mi.exp: Correct expected results for attribute
2748 "dynamic" returned by -var-update.
2749 Add test case for correct handling of "diplayhint" for children
2750 of dynamic varobjs.
2751 * gdb.python/py-prettyprint.c (set_itme): New function.
2752 (bug_14741) New function.
2753 (main) Add call to bug_14741().
2754 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2755
2756 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2757
2758 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2759 ${binfile}.funcsyms list.
2760
2761 2012-12-04 Yao Qi <yao@codesourcery.com>
2762
2763 PR gdb/13443
2764 * gdb.trace/actions.exp: Make test messages unique.
2765
2766 2012-11-29 Tom Tromey <tromey@redhat.com>
2767
2768 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2769
2770 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2771
2772 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2773 * gdb.opencl/datatypes.exp: Likewise.
2774 * gdb.opencl/operators.exp: Likewise.
2775 * gdb.opencl/vec_comps.exp: Likewise.
2776
2777 2012-11-29 Jerome Guitton <guitton@adacore.com>
2778
2779 * gdb.ada/iwide: New testcase.
2780
2781 2012-11-29 Jerome Guitton <guitton@adacore.com>
2782
2783 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2784 ptype test.
2785
2786 2012-11-29 Jerome Guitton <guitton@adacore.com>
2787
2788 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2789 form {VARIANT_TYPE}ADDRESS.
2790
2791 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2792
2793 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2794 (func): New function.
2795 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2796 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2797 pointers to members with pointer-to-function type.
2798
2799 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2800 Tom Tromey <tromey@redhat.com>
2801
2802 * gdb.base/gnu-debugdata.exp: New file.
2803 * gdb.base/gnu-debugdata.c: New file.
2804 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2805 (gdb_unload): Return 0 on success.
2806
2807 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2808
2809 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2810
2811 2012-11-26 Joel Brobecker <brobecker@adacore.com>
2812
2813 * gdb.base/empty_exe.exp: New testcase.
2814
2815 2012-11-20 Mike Frysinger <vapier@gentoo.org>
2816
2817 * gdb.base/completion.exp: Add test for help aliases completion.
2818
2819 2012-11-20 Yao Qi <yao@codesourcery.com>
2820
2821 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2822 Don't test 'maint set show-debug-regs'.
2823 Use command 'set remotecache' instead of
2824 'set circular-trace-buffer'.
2825
2826 2012-11-16 Keith Seitz <keiths@redhat.com>
2827
2828 PR c++/13615
2829 * gdb.cp/baseenum.cc: New file.
2830 * gdb.cp/baseenum.exp: New file.
2831 * gdb.cp/derivation.cc (A): Add copyright.
2832 Add a typedef.
2833 (B): Use A::value_type instead of int. Change all references.
2834 (D): Use value_type instead of int. Change all references.
2835 (E): Likewise.
2836 (F); Likewise.
2837 (Z): New class.
2838 (ZZ): New class.
2839 (N, Base, Derived): New namespace and classes.
2840 (main): Add instances of Z and ZZ.
2841 Make sure all symbols from N are kept.
2842 * gdb.cp/derivation.exp: Update typedef changes in tests.
2843 Add tests for class typedefs both before and after starting
2844 the inferior.
2845 Add tests for searching for a typedef while stopped in a
2846 method.
2847
2848 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2849
2850 * gdb.mi/mi-var-create-rtti.c: New file.
2851 * gdb.mi/mi-var-create-rtti.exp: New file.
2852
2853 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2854
2855 * gdb.base/structs3.exp: Run to main before doing any tests.
2856
2857 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
2858
2859 * gdb.python/py-type.exp: Uniquify test names.
2860
2861 2012-11-14 Yao Qi <yao@codesourcery.com>
2862
2863 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2864 (thread_function) [DEBUG]: Call 'printf'.
2865 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2866 command line if 'DEBUG=1' is passed to test.
2867 Remove a pattern to match inferior's output.
2868
2869 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2870
2871 * gdb.mi/mi-fill-memory.exp: New test.
2872
2873 2012-11-12 Tom Tromey <tromey@redhat.com>
2874
2875 * gdb.base/completion.exp: Update for "info type-printers".
2876 * gdb.python/py-typeprint.cc: New file.
2877 * gdb.python/py-typeprint.exp: New file.
2878 * gdb.python/py-typeprint.py: New file.
2879
2880 2012-11-12 Tom Tromey <tromey@redhat.com>
2881
2882 * gdb.base/call-sc.exp: Use "ptype/r".
2883 * gdb.base/volatile.exp: Don't expect "int".
2884 * gdb.cp/ptype-flags.cc: New file.
2885 * gdb.cp/ptype-flags.exp: New file.
2886 * gdb.cp/templates.exp: Use ptype/r.
2887 (test_ptype_of_templates, test_template_typedef): Likewise.
2888 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2889 argument. Handle template names and template parameters.
2890 * gdb.mi/mi-var-cmd.exp: Accept "long".
2891 * gdb.mi/mi-var-child.exp: Accept "long".
2892 * gdb.mi/mi-var-display.exp: Accept "long".
2893 * gdb.mi/mi2-var-child.exp: Accept "long".
2894
2895 2012-11-12 Tom Tromey <tromey@redhat.com>
2896
2897 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2898 "ptype" from calls to cp_test_ptype_class.
2899 (test_enums): Likewise.
2900 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2901 cp_test_ptype_class.
2902 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2903 calls to cp_test_ptype_class.
2904 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2905 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2906 from calls to cp_test_ptype_class.
2907 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2908 command here. Change "in_command" argument to "in_exp".
2909
2910 2012-11-10 Keith Seitz <keiths@redhat.com>
2911
2912 PR gdb/14288
2913 * gdb.base/printcmds.c: Add invalid_XXX globals
2914 for repeated byte tests.
2915 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2916 * gdb.base/wchar.c (main): Add and construct a wchar_t
2917 array with repeated characters.
2918 * gdb.base/wchar.exp: Add repeated character tests.
2919
2920 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
2921
2922 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2923 disassembly output.
2924
2925 2012-11-09 Pedro Alves <palves@redhat.com>
2926
2927 PR gdb/14306
2928
2929 * gdb.multi/multi-arch-exec.c: New file.
2930 * gdb.multi/multi-arch-exec.exp: New file.
2931
2932 2012-11-09 Yao Qi <yao@codesourcery.com>
2933
2934 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2935 (top level): Call it.
2936
2937 2012-11-09 Yao Qi <yao@codesourcery.com>
2938
2939 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2940 typo.
2941
2942 2012-11-09 Pedro Alves <palves@redhat.com>
2943
2944 * gdb.multi/multi-arch.exp: New.
2945
2946 2012-11-08 Tom Tromey <tromey@redhat.com>
2947
2948 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2949 core files, if possible.
2950 * gdb.base/siginfo-thread.c: New file
2951 * gdb.base/siginfo-thread.exp: New file
2952
2953 2012-11-08 Tom Tromey <tromey@redhat.com>
2954
2955 * gdb.base/comprdebug.exp: New file.
2956
2957 2012-11-06 Pedro Alves <palves@redhat.com>
2958
2959 PR gdb/14810
2960
2961 * gdb.base/disabled-location.c: New file.
2962 * gdb.base/disabled-location.exp: New file.
2963
2964 2012-11-06 Tom Tromey <tromey@redhat.com>
2965
2966 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2967 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2968 gdb_gcore_cmd.
2969 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2970 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2971 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2972 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2973 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2974 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2975 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2976 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2977 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2978
2979 2012-11-05 Pedro Alves <palves@redhat.com>
2980
2981 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2982 procedure.
2983 (do_vfork_and_follow_child_tests_exec)
2984 (do_vfork_and_follow_child_tests_exit): Call it.
2985
2986 2012-11-05 Pedro Alves <palves@redhat.com>
2987
2988 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2989 fails.
2990
2991 2012-11-03 Yao Qi <yao@codesourcery.com>
2992
2993 Fix PR gdb/14617.
2994 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2995 Remove setup_kfail, and update test.
2996
2997 2012-11-02 Tom Tromey <tromey@redhat.com>
2998
2999 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3000 test.
3001
3002 2012-11-02 Pedro Alves <palves@redhat.com>
3003
3004 PR gdb/14766
3005
3006 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3007 setup_kfail.
3008 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3009 get registers".
3010
3011 2012-11-02 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.base/foll-vfork-exit.c: New file.
3014 * gdb.base/foll-vfork.exp (top level): New file-describing
3015 comment.
3016 (vfork_child_follow_to_exit): New procedure.
3017 (tcatch_vfork_then_child_follow): Rename as ...
3018 (tcatch_vfork_then_child_follow_exec): ... this.
3019 (tcatch_vfork_then_child_follow_exit): New procedure.
3020 (do_vfork_and_follow_parent_tests): New procedure, factored out
3021 from do_vfork_and_exec_tests.
3022 (do_vfork_and_follow_child_tests_exec): Ditto.
3023 (do_vfork_and_exec_tests): Delete.
3024 (do_vfork_and_follow_child_tests_exit): New procedure.
3025 (top level): Run tests with both the program that has the vfork
3026 child execing, and the program has the vfork child exiting.
3027
3028 2012-11-02 Pedro Alves <palves@redhat.com>
3029
3030 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3031 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3032 (vfork_parent_follow_to_bp): Call it.
3033 (kill_child): Delete.
3034 (vfork_and_exec_child_follow_to_main_bp)
3035 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3036 longer call kill_child.
3037 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3038 (do_vfork_and_exec_tests): Don't runto_main before calling each
3039 test procedure.
3040 (top level): Don't clean restart and set verbose before running
3041 each test procedure.
3042
3043 2012-11-02 Pedro Alves <palves@redhat.com>
3044
3045 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3046 (vfork_parent_follow_to_bp)
3047 (vfork_and_exec_child_follow_to_main_bp)
3048 (vfork_and_exec_child_follow_through_step)
3049 (tcatch_vfork_then_parent_follow)
3050 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3051 Use with_test_prefix.
3052
3053 2012-11-02 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.base/foll-vfork.c: Add copyright header.
3056 * gdb.base/vforked-prog.c: Add copyright header.
3057
3058 2012-11-02 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.base/foll-vfork.exp
3061 (vfork_and_exec_child_follow_through_step): Don't skip on
3062 non-HP/UX targets. Expect the next to only step one line on
3063 non-HP/UX targets, rather than stopping only after the exec.
3064
3065 2012-11-02 Pedro Alves <palves@redhat.com>
3066
3067 Don't hard code line numbers.
3068
3069 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3070 Expect text from the sources instead of a line number.
3071 (vfork_parent_follow_to_bp)
3072 (vfork_and_exec_child_follow_to_main_bp)
3073 (vfork_and_exec_child_follow_through_step)
3074 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3075 Use gdb_get_line_number.
3076
3077 2012-11-02 Pedro Alves <palves@redhat.com>
3078
3079 Modernize.
3080
3081 * gdb.base/foll-vfork.exp: Use standard_testfile and
3082 build_executable. Pass descriptive string to untested.
3083 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3084 (vfork_and_exec_child_follow_to_main_bp)
3085 (vfork_and_exec_child_follow_through_step)
3086 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3087 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3088 of send_gdb/gdb_expect.
3089
3090 (kill_child): New procedure.
3091 (vfork_and_exec_child_follow_to_main_bp)
3092 (vfork_and_exec_child_follow_through_step): Use it.
3093
3094 2012-11-02 Yao Qi <yao@codesourcery.com>
3095
3096 * gdb.base/setvar.exp: Test setting nested struct.
3097 * gdb.base/setvar.c (v_struct3): New.
3098
3099 2012-11-01 Doug Evans <dje@google.com>
3100
3101 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3102 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3103 use them.
3104
3105 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
3106
3107 PR cli/14772
3108 * gdb.base/gnu_vector.c (union_with_vector_1)
3109 (struct_with_vector_1): Add new struct and union for testing
3110 ptype.
3111 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3112 structs / unions containing vectors.
3113
3114 2012-10-25 Yao Qi <yao@codesourcery.com>
3115
3116 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3117 'setup_kfail' instead of 'setup_kfail_for_target'.
3118 * gdb.base/varargs.exp: Likewise.
3119 * lib/gdb.exp (setup_kfail_for_target): Remove.
3120
3121 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3122
3123 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3124
3125 2012-10-25 Mark Kettenis <kettenis@gnu.org>
3126
3127 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3128
3129 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3130
3131 * gdb.ada/set_wstr: New testcase.
3132
3133 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3134
3135 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3136
3137 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3138
3139 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3140
3141 2012-10-24 Mark Kettenis <kettenis@gnu.org>
3142
3143 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3144
3145 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3146
3147 * gdb.base/callfuncs.exp (do_function_calls): Fix
3148 setup_kfail_for_target for -m32 mode.
3149
3150 2012-10-23 Mark Kettenis <kettenis@gnu.org>
3151
3152 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3153 are now fixed.
3154
3155 2012-10-23 Yao Qi <yao@codesourcery.com>
3156
3157 * gdb.base/info-os.exp: Resume the inferior until it exits.
3158
3159 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3160
3161 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3162 * gdb.base/print-file-var.exp: Likewise.
3163 * gdb.base/type-opaque.exp: Likewise.
3164
3165 2012-10-17 Yao Qi <yao@codesourcery.com>
3166
3167 * gdb.mi/mi-memory-changed.exp: New.
3168
3169 2012-10-16 Yao Qi <yao@codesourcery.com>
3170
3171 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3172 returns true.
3173 Call gdb_load_shlibs.
3174 * gdb.reverse/solib-reverse.exp: Likewise.
3175
3176 2012-10-15 Keith Seitz <keiths@redhat.com>
3177
3178 * lib/cp-support.exp (cp_test_ptype_class): Add support
3179 for class typedefs.
3180
3181 * gdb.cp/derivation.exp: Add tests for g_instance.
3182
3183 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3184
3185 Fix entry values resolving in inlined frames.
3186 * gdb.arch/amd64-entry-value-inline.S: New file.
3187 * gdb.arch/amd64-entry-value-inline.c: New file.
3188 * gdb.arch/amd64-entry-value-inline.exp: New file.
3189
3190 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3191 Doug Evans <dje@google.com>
3192
3193 Fix recent gdb_breakpoint regression.
3194 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3195 braces from the parameter.
3196 * gdb.java/jprint.exp: Likewise.
3197
3198 2012-10-15 Doug Evans <dje@google.com>
3199
3200 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3201
3202 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3203
3204 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3205
3206 2012-10-15 Tom Tromey <tromey@redhat.com>
3207
3208 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3209
3210 2012-10-15 Tom Tromey <tromey@redhat.com>
3211
3212 * gdb.python/py-symbol.exp: Test symbol destructor.
3213
3214 2012-10-14 Yao Qi <yao@codesourcery.com>
3215
3216 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3217 * gdb.mi/mi-cli.exp: New.
3218
3219 * gdb.mi/mi2-basics.exp: Remove.
3220 * gdb.mi/mi2-break.exp: Remove.
3221 * gdb.mi/mi2-console.exp: Remove.
3222 * gdb.mi/mi2-disassemble.exp: Remove.
3223 * gdb.mi/mi2-eval.exp: Remove.
3224 * gdb.mi/mi2-file.exp: Remove.
3225 * gdb.mi/mi2-hack-cli.exp: Remove.
3226 * gdb.mi/mi2-pthreads.exp: Remove.
3227 * gdb.mi/mi2-read-memory.exp: Remove.
3228 * gdb.mi/mi2-regs.exp: Remove.
3229 * gdb.mi/mi2-return.exp: Remove.
3230 * gdb.mi/mi2-simplerun.exp: Remove.
3231 * gdb.mi/mi2-stack.exp: Remove.
3232 * gdb.mi/mi2-stepi.exp: Remove.
3233 * gdb.mi/mi2-syn-frame.exp: Remove.
3234 * gdb.mi/mi2-until.exp: Remove.
3235 * gdb.mi/mi2-watch.exp: Remove.
3236 * gdb.mi/mi2-var-block.exp: Remove.
3237 * gdb.mi/mi2-var-cmd.exp: Remove.
3238 * gdb.mi/mi2-var-display.exp: Remove.
3239
3240 2012-10-12 Yao Qi <yao@codesourcery.com>
3241
3242 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3243 trail '.*' on matching patterns.
3244
3245 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3246
3247 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3248 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3249 * gdb.arch/i386-disp-step.exp: Likewise.
3250 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3251 * gdb.arch/i386-prologue.exp: Likewise.
3252 * gdb.arch/i386-size-overlap.exp: Likewise.
3253 * gdb.arch/i386-size.exp: Likewise.
3254 * gdb.arch/i386-unwind.exp: Likewise.
3255
3256 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3257
3258 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3259 * gdb.arch/i386-word.exp: Likewise.
3260
3261 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3262
3263 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3264 is_ilp32_target to set nr_regs.
3265 * gdb.arch/i386-sse.exp: Likewise.
3266
3267 2012-10-11 Doug Evans <dje@google.com>
3268
3269 PR breakpoints/14643.
3270 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3271 * gdb.linespec/thread.c: New file.
3272 * gdb.linespec/thread.exp: New file.
3273
3274 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3275 Recognize "message" -> print pass and fail. Add eof case.
3276 (runto): Recognize message, no-message. Print pass/fail if requested,
3277 with same treatment as gdb_breakpoint.
3278 (runto_main): Pass no-message to runto.
3279 (gdb_internal_error_resync): Add log message.
3280 (gdb_file_cmd): Tweak internal error fail text for consistency.
3281
3282 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3283
3284 Fix crash during stepping on ppc32.
3285 * gdb.base/step-symless.c: New file.
3286 * gdb.base/step-symless.exp: New file.
3287
3288 2012-10-03 Doug Evans <dje@google.com>
3289
3290 PR symtab/14601
3291 * gdb.cp/using-crash.exp: New file.
3292 * gdb.cp/using-crash.cc: New file.
3293
3294 2012-10-02 Doug Evans <dje@google.com>
3295
3296 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3297 more consistent.
3298 (runto,gdb_debug_format): Ditto.
3299 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3300 Clean up logging and error messages.
3301
3302 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
3303
3304 Test find command on unmapped memory.
3305 * gdb.base/find-unmapped.c: New file.
3306 * gdb.base/find-unmapped.exp: New file.
3307
3308 2012-09-29 Yao Qi <yao@codesourcery.com>
3309
3310 * gdb.trace/mi-tracepoint-changed.exp: New.
3311 * gdb.mi/mi-breakpoint-changed.exp: New.
3312 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3313 * gdb.mi/pendshr2.c: New.
3314
3315 2012-09-28 Yao Qi <yao@codesourcery.com>
3316
3317 * gdb.mi/pr11022.exp: New.
3318 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3319
3320 2012-09-27 Tom Tromey <tromey@redhat.com>
3321
3322 * gdb.cp/derivation.exp: Add regression test.
3323 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3324 V_derived): New.
3325 (vderived): New global.
3326
3327 2012-09-26 Tom Tromey <tromey@redhat.com>
3328
3329 * gdb.dwarf2/dw2-common-block.S: New file.
3330 * gdb.dwarf2/dw2-common-block.exp: New file.
3331
3332 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3333
3334 * gdb.fortran/common-block.exp: New file.
3335 * gdb.fortran/common-block.f90: New file.
3336
3337 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
3338
3339 * gdb.base/duplicate-bp.c: New file.
3340 * gdb.base/duplicate-bp.exp: New file.
3341
3342 2012-09-26 Yao Qi <yao@codesourcery.com>
3343
3344 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3345
3346 Revert:
3347 2012-09-21 Yao Qi <yao@codesourcery.com>
3348
3349 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3350
3351 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3352
3353 * gdb.base/longest-types.c: New test case.
3354 * gdb.base/longest-types.exp: New test case.
3355
3356 2012-09-25 Yao Qi <yao@codesourcery.com>
3357
3358 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3359
3360 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3361
3362 Fix internal error on canonicalization of clang types.
3363 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3364 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3365 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3366
3367 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3368
3369 Fix disassemble without parameters in tailcall frame.
3370 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3371
3372 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
3373
3374 * gdb.dwarf2/dw2-op-out-param.S: New file.
3375 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3376
3377 2012-09-21 Yao Qi <yao@codesourcery.com>
3378
3379 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3380
3381 2012-09-21 Yao Qi <yao@codesourcery.com>
3382
3383 * gdb.mi/mi-cli.exp: Remove.
3384 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3385
3386 2012-09-21 Yao Qi <yao@codesourcery.com>
3387
3388 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3389 "=record-started" notification.
3390
3391 2012-09-21 Yao Qi <yao@codesourcery.com>
3392
3393 * gdb.mi/mi-record-changed.exp: New.
3394 * gdb.mi/mi-reverse.exp: Adjust expected output.
3395
3396 2012-09-20 Tom Tromey <tromey@redhat.com>
3397
3398 * gdb.python/python.exp: Test atexit.register.
3399
3400 2012-09-20 Doug Evans <dje@google.com>
3401
3402 * boards/dwarf4-gdb-index.exp: New file.
3403
3404 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3405 while running the tests.
3406
3407 2012-09-18 Joel Brobecker <brobecker@adacore.com>
3408
3409 * gdb.ada/bp_reset: New testcase.
3410
3411 2012-09-18 Yao Qi <yao@codesourcery.com>
3412
3413 * gdb.trace/mi-tsv-changed.exp: New.
3414
3415 2012-09-18 Yao Qi <yao@codesourcery.com>
3416
3417 * gdb.trace/mi-traceframe-changed.exp: New.
3418
3419 2012-09-17 Yao Qi <yao@codesourcery.com>
3420
3421 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3422 when it is less than 0.
3423
3424 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3425
3426 PR 14119
3427 * gdb.arch/amd64-tailcall-ret.S: New file.
3428 * gdb.arch/amd64-tailcall-ret.c: New file.
3429 * gdb.arch/amd64-tailcall-ret.exp: New file.
3430 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3431 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3432 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3433
3434 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3435
3436 PR 14548
3437 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3438 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3439 * gdb.reverse/singlejmp-reverse.S: New file.
3440 * gdb.reverse/singlejmp-reverse.c: New file.
3441 * gdb.reverse/singlejmp-reverse.exp: New file.
3442
3443 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3444
3445 Fix compatibility with old GCC (~4.1).
3446 * gdb.cp/converts.cc (my_enum_var): New variable.
3447
3448 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
3449
3450 * gdb.xml/tdesc-regs.exp: Update expected output for new
3451 vector_size syntax of vector types.
3452
3453 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3454
3455 Refactor Python "gdb" module into a proper Python package, by
3456 introducing a new "_gdb" module for code implemented in C, and
3457 using reload/__import__ instead of exec.
3458 * gdb.python/python.exp (Test stderr location): Update module
3459 location of GDB-specific sys.stderr.
3460 (Test stdout location): Ditto for sys.stdout.
3461
3462 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3463
3464 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3465
3466 2012-09-12 Keith Seitz <keiths@redhat.com>
3467
3468 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3469 conversion statement.
3470
3471 2012-09-12 Doug Evans <dje@google.com>
3472
3473 * gdb.base/help.exp: Remove testing of individual command help text,
3474 too much of a maintenance burden. Instead, test the functionality
3475 of "help" itself.
3476
3477 2012-09-11 Doug Evans <dje@google.com>
3478
3479 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3480 breakpoint.
3481
3482 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3483 * gdb.dwarf2/fission-reread.S: Ditto.
3484 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3485 * gdb.dwarf2/fission-reread.exp: Ditto.
3486
3487 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3488
3489 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3490
3491 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3492
3493 * gdb.ada/optim_drec: New testcase.
3494
3495 2012-09-10 Doug Evans <dje@google.com>
3496
3497 * boards/fission.exp: Explicitly mark "board" as not remote.
3498
3499 2012-09-10 Keith Seitz <keiths@redhat.com>
3500
3501 PR gdb/13483
3502 * gdb.cp/converts.cc (A::A): Add ctor.
3503 (A::member_): Add member.
3504 (enum my_enum): New enumeration.
3505 (main): Add calls to foo1_7 with various
3506 permitted arguments.
3507 * gdb.cp/converts.exp: Add tests for boolean
3508 conversions permitted by the standard.
3509
3510 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3511
3512 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3513 avoid spurious results due to ~/.gdbinit.
3514 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3515 $INTERNAL_GDBFLAGS in run command.
3516 * gdb.gdb/observer.exp (setup_test): Ditto.
3517 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3518 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3519
3520 2012-09-06 Doug Evans <dje@google.com>
3521
3522 * boards/fission.exp: New file.
3523
3524 * gdb.python/py-value.exp: Use clean_restart.
3525
3526 2012-09-05 Doug Evans <dje@google.com>
3527
3528 * gdb.base/info-macros.c: Fix whitespace.
3529
3530 2012-08-28 Pedro Alves <palves@redhat.com>
3531
3532 PR gdb/14428
3533
3534 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3535
3536 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3537
3538 * gdb.base/break-caller-line.c: New file.
3539 * gdb.base/break-caller-line.exp: New file.
3540
3541 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3542
3543 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3544 * gdb.arch/i386-cfi-notcurrent.S: New file.
3545 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3546
3547 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3548 Yao Qi <yao@codesourcery.com>
3549 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3552 New procedures.
3553 (top level): Add overlap checking tests.
3554
3555 2012-08-24 Tom Tromey <tromey@redhat.com>
3556
3557 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3558 gdb_test_multiple fails for other reasons.
3559
3560 2012-08-24 Yao Qi <yao@codesourcery.com>
3561
3562 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3563
3564 2012-08-23 Pedro Alves <palves@redhat.com>
3565
3566 * gdb.base/help.exp: Adjust to "handle" help text change.
3567
3568 2012-08-23 Yao Qi <yao@codesourcery.com>
3569
3570 * gdb.trace/disconnected-tracing.c (start, end): New.
3571 (main): Call start and end.
3572 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3573 existing tests into this proc.
3574 (disconnected_tfind): New.
3575
3576 2012-08-23 Yao Qi <yao@codesourcery.com>
3577
3578 * boards/native-gdbserver.exp (${board}_upload): New.
3579 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3580 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3581 Execute tfile on remote target.
3582 Copy trace file from target to host.
3583
3584 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3585
3586 * gdb.arch/thumb-bx-pc.S: New file.
3587 * gdb.arch/thumb-bx-pc.exp: New file.
3588
3589 2012-08-22 Tom Tromey <tromey@redhat.com>
3590
3591 * gdb.base/maint.exp: Update.
3592
3593 2012-08-22 Tom Tromey <tromey@redhat.com>
3594
3595 * lib/gdb.exp (skip_unwinder_tests): New proc.
3596 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3597 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3598
3599 2012-08-21 Tom Tromey <tromey@redhat.com>
3600
3601 * gdb.hp/gdb.aCC/exception.exp: Remove.
3602
3603 012-08-19 Andrew Pinski <apinski@cavium.com>
3604
3605 * gdb.arch/mips-octeon-bbit.c: New file.
3606 * gdb.arch/mips-octeon-bbit.exp: New Test.
3607
3608 012-08-19 Keith Seitz <keiths@redhat.com>
3609
3610 PR c++/14365
3611 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3612 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3613
3614 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3615
3616 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3617 verbose -log by more specific untested call.
3618
3619 2012-08-18 Yao Qi <yao@codesourcery.com>
3620
3621 * gdb.trace/tfind.exp: Move tests on various command help before
3622 checking target supports trace.
3623 Fix the expected output of 'help tfind end'.
3624
3625 2012-08-17 Keith Seitz <keiths@redhat.com>
3626
3627 PR c++/13356
3628 * gdb.base/default.exp: Update all "check type" tests.
3629 * gdb.base/help.exp: Likewise.
3630 * gdb.base/setshow.exp: Likewise.
3631 * gdb.cp/converts.cc (foo1_type_check): New function.
3632 (foo2_type_check): New function.
3633 (foo3_type_check): New function.
3634 (main): Call new functions.
3635 * converts.exp: Add tests for integer-to-pointer conversions
3636 with/without strict type-checking.
3637
3638 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3639
3640 * gdb.base/help.exp: Update expected output.
3641
3642 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3643
3644 * gdb.ada/rdv_wait: New testcase.
3645
3646 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3647
3648 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3649
3650 2012-08-13 Doug Evans <dje@google.com>
3651
3652 * gdb.base/help.exp: Update expected output.
3653 * gdb.base/default.exp: Update expected output of "show convenience".
3654
3655 2012-08-10 Doug Evans <dje@google.com>
3656
3657 * gdb.python/py-strfns.c: New file.
3658 * gdb.python/py-strfns.exp: New file.
3659 * gdb.python/py-type.exp (test_fields): Add vector tests.
3660
3661 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3662
3663 PR cli/10436:
3664 * gdb.base/completion.exp: Add tests for handle completion.
3665
3666 2012-08-09 Yao Qi <yao@codesourcery.com>
3667
3668 * gdb.mi/mi-cmd-param-changed.exp: New.
3669 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3670 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3671 * gdb.mi/mi2-prompt.exp: Likewise.
3672
3673 2012-08-08 Doug Evans <dje@google.com>
3674
3675 * gdb.base/debug-expr.c: New file.
3676 * gdb.base/debug-expr.exp: New file.
3677 * gdb.base/exprs.exp: Test {type} casts.
3678 * gdb.cp/debug-expr.exp: New file.
3679
3680 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3681
3682 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3683 global variable loop, not a 'break'. Add loop count limit to 100.
3684 Add new fail case for terminated vgdb.
3685
3686 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3687 Jean-Marc Saffroy <saffroy@gmail.com>
3688
3689 PR 11804
3690 * gdb.base/gcore-relro.exp: New file.
3691 * gdb.base/gcore-relro-main.c: New file.
3692 * gdb.base/gcore-relro-lib.c: New file.
3693
3694 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3695
3696 Do not false FAIL with old GCCs.
3697 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3698 GCC < 4.5 in $no_hw mode.
3699
3700 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3701
3702 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3703
3704 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3705
3706 * gdb.base/list.exp (test_only_end): New function.
3707 Call it.
3708
3709 2012-08-06 Tom Tromey <tromey@redhat.com>
3710
3711 * gdb.python/py-mi.exp: Add test for printer whose children
3712 are a list.
3713 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3714 (main): New variable children_as_list.
3715 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3716 New.
3717 (register_pretty_printers): Register new printer.
3718
3719 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3720
3721 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3722 symbols. Abort if vgdb remote connection is closed.
3723
3724 2012-08-02 Doug Evans <dje@google.com>
3725
3726 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3727
3728 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3729
3730 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3731 s390x, PowerPC 64 and m68k-linux.
3732
3733 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3734
3735 * gdb.base/annota1.exp: Accept no frames-invalid notification
3736 when starting up the program.
3737 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3738 show a symbolic value as well.
3739 * gdb.server/server-exec-info.exp: Skip test when skipping
3740 gdbserver test and/or when skipping shared library tests.
3741 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3742 avoid name conflicts with other tests.
3743
3744 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3745
3746 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3747 Fix wrong output on big-endian systems.
3748 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3749 4-byte pointer types on 64-bit s390x.
3750
3751 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3752
3753 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3754 marker comment at the beginning (after intialization).
3755 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3756 breakpoint on marker comment instead of function begin.
3757 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3758 PowerPC.
3759 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3760 or 64-bit PowerPC.
3761 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3762 gdb,no_hardware_watchpoints flag is set.
3763 (initialize): Remove now redundant can-use-hw-watchpoints change.
3764
3765 2012-08-02 Yao Qi <yao@codesourcery.com>
3766 Pedro Alves <palves@redhat.com>
3767
3768 * boards/local-remote-host.exp: New.
3769
3770 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3771
3772 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3773 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3774 * gdb.base/print-file-var.exp: Likewise.
3775 * gdb.server/solib-list.exp: Skip on remote targets.
3776
3777 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3778
3779 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3780 watchpoints on ARM. When expecting software watchpoints, tolerate
3781 (remote) targets that report unsupported hardware watchpoint only
3782 at continue time.
3783 (test_wide_location_2): Likewise.
3784
3785 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3788 valgrind versions.
3789
3790 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 * gdb.base/valgrind-infcall.c: New file.
3793 * gdb.base/valgrind-infcall.exp: New file.
3794
3795 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3796
3797 2012-07-30 Keith Seitz <keiths@redhat.com>
3798
3799 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3800 linespecs.
3801
3802 2012-07-30 Doug Evans <dje@google.com>
3803
3804 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3805 * gdb.dwarf2/pr13961.S: Ditto.
3806
3807 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3808
3809 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
3810
3811 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3812 change its format immediately after reloading the binary.
3813
3814 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3815
3816 Fix testsuite regression after --use-deprecated-index-sections removal.
3817 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3818 string.
3819 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3820
3821 2012-07-27 Yao Qi <yao@codesourcery.com>
3822
3823 KFAIL for PR remote/14161.
3824 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3825 Cleanup socket files.
3826 (strace_info_marker): Detach inferior.
3827
3828 2012-07-26 Tom Tromey <tromey@redhat.com>
3829
3830 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3831
3832 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3833
3834 * gdb.python/py-inferior.c (thread): New function.
3835 (check_threads): New function.
3836 (test_threads): New function.
3837 * gdb.python/py-inferior.exp: Added test.
3838 Replaced runto with continue to breakpoint.
3839
3840 2012-07-26 Tom Tromey <tromey@redhat.com>
3841
3842 * lib/ada.exp (standard_ada_testfile): New proc.
3843 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3844 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3845 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3846 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3847 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3848 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3849 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3850 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3851 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3852 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3853 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3854 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3855 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3856 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3857 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3858 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3859 * gdb.ada/complete.exp: Use standard_ada_testfile.
3860 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3861 standard_output_file.
3862 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3863 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3864 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3865 standard_output_file.
3866 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3867 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3868 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3869 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3870 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3871 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3872 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3873 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3874 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3875 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3876 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3877 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3878 * gdb.ada/interface.exp: Use standard_ada_testfile.
3879 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3880 standard_output_file
3881 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3882 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3883 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3884 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3885 * gdb.ada/nested.exp: Use standard_ada_testfile.
3886 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3887 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3888 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3889 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3890 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3891 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3892 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3893 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3894 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3895 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3896 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3897 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3898 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3899 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3900 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3901 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3902 * gdb.ada/start.exp: Use standard_ada_testfile.
3903 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3904 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3905 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3906 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3907 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3908 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3909 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3910 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3911 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3912 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3913 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3914 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3915 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3916 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3917
3918 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3919
3920 Fix testsuite regression after --use-deprecated-index-sections removal.
3921 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3922
3923 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3924
3925 Fix compatibility with Tcl before 7.5.
3926 * lib/future.exp (lreverse): New function if it does not exist.
3927
3928 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3929
3930 * gdb.mi/mi-pending.c: New method to set a second pending
3931 breakpoint.
3932 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3933 condition.
3934
3935 2012-07-20 Pedro Alves <palves@redhat.com>
3936
3937 PR threads/11692
3938 PR gdb/12203
3939
3940 * gdb.threads/create-fail.c: New file.
3941 * gdb.threads/create-fail.exp: New file.
3942
3943 2012-07-19 Pedro Alves <palves@redhat.com>
3944
3945 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3946 * config/vx.exp (gdb_start): Likewise.
3947 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3948 * gdb.base/setvar.exp (test_set): Likewise.
3949 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3950 * gdb.reverse/sigall-precsave.exp: Likewise.
3951 * gdb.reverse/sigall-reverse.exp: Likewise.
3952
3953 2012-07-19 Pedro Alves <palves@redhat.com>
3954
3955 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3956 handler before recording.
3957
3958 2012-07-19 Tom Tromey <tromey@redhat.com>
3959
3960 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3961 * gdb.cp/casts.cc (decltype): New function.
3962 (main): Use it.
3963
3964 2012-07-19 Pedro Alves <palves@redhat.com>
3965
3966 * gdb.base/sigall.exp (signals): New list.
3967 <top level>: Loop over signals in the $signals list instead of
3968 calling a test function once per signal.
3969 * gdb.reverse/sigall-precsave.exp (signals): New list.
3970 <top level>: Loop over signals in the $signals list instead of
3971 calling a test function once per signal.
3972 * gdb.reverse/sigall-reverse.exp (signals): New list.
3973 <top level>: Loop over signals in the $signals list instead of
3974 calling a test function once per signal.
3975
3976 2012-07-19 Yao Qi <yao@codesourcery.com>
3977
3978 * gdb.base/setshow.exp: Test 'set args ~'.
3979
3980 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3981
3982 * gdb.base/store.exp (check_set): Import gdb_prompt.
3983 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3984 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3985
3986 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 PR 11914
3989 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3990 (main): Call eval_sub.
3991 * gdb.python/py-prettyprint.exp:
3992 (python execfile ('py-prettyprint.py')): Move it earlier.
3993 New breakpoint for eval-break.
3994 (continue to breakpoint: eval-break, info locals): New test.
3995 (python execfile ('py-prettyprint.py')): Move it from here.
3996 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3997 (register_pretty_printers): Register pp_eval_type.
3998
3999 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4000
4001 Fix a testcase regression by me.
4002 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4003 DW_FORM_data4.
4004
4005 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4006 Doug Evans <dje@google.com>
4007
4008 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4009 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4010
4011 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4012
4013 Fix gdbserver run regression.
4014 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4015
4016 2012-07-12 Tom Tromey <tromey@redhat.com>
4017
4018 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4019 (clean_restart): Likewise.
4020 (core_find): Use standard_output_file.
4021
4022 2012-07-12 Tom Tromey <tromey@redhat.com>
4023
4024 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4025 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4026 prepare_for_testing_full.
4027 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4028 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4029 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4030 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4031 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4032 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4033 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4034 prepare_for_testing_full.
4035 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4036 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4037 prepare_for_testing_full.
4038 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4039 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4040 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4041
4042 2012-07-12 Tom Tromey <tromey@redhat.com>
4043
4044 * lib/gdb.exp (build_executable_from_specs): New proc, from
4045 build_executable.
4046 (build_executable): Use it.
4047 (prepare_for_testing_full): New proc.
4048
4049 2012-07-11 Tom Tromey <tromey@redhat.com>
4050
4051 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4052 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4053 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4054 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4055 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4056 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4057 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4058 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4059 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4060 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4061
4062 2012-07-10 Tom Tromey <tromey@redhat.com>
4063
4064 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4065 standard_output_file.
4066 * gdb.mi/gdb2549.exp: Use standard_testfile.
4067 * gdb.mi/gdb669.exp: Use standard_testfile.
4068 * gdb.mi/gdb701.exp: Use standard_testfile.
4069 * gdb.mi/gdb792.exp: Use standard_testfile.
4070 * gdb.mi/mi-async.exp: Use standard_testfile.
4071 * gdb.mi/mi-basics.exp: Use standard_testfile.
4072 * gdb.mi/mi-break.exp: Use standard_testfile.
4073 * gdb.mi/mi-cli.exp: Use standard_testfile.
4074 * gdb.mi/mi-console.exp: Use standard_testfile.
4075 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4076 * gdb.mi/mi-eval.exp: Use standard_testfile.
4077 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4078 * gdb.mi/mi-file.exp: Use standard_testfile.
4079 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4080 * gdb.mi/mi-logging.exp: Use standard_testfile.
4081 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4082 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4083 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4084 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4085 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4086 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4087 * gdb.mi/mi-pending.exp: Use standard_testfile,
4088 standard_output_file.
4089 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4090 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4091 * gdb.mi/mi-regs.exp: Use standard_testfile.
4092 * gdb.mi/mi-return.exp: Use standard_testfile.
4093 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4094 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4095 * gdb.mi/mi-solib.exp: Use standard_testfile,
4096 standard_output_file.
4097 * gdb.mi/mi-stack.exp: Use standard_testfile.
4098 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4099 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4100 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4101 * gdb.mi/mi-until.exp: Use standard_testfile.
4102 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4103 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4104 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4105 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4106 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4107 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4108 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4109 standard_output_file.
4110 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4111 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4112 * gdb.mi/mi-watch.exp: Use standard_testfile.
4113 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4114 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4115 * gdb.mi/mi2-break.exp: Use standard_testfile.
4116 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4117 * gdb.mi/mi2-console.exp: Use standard_testfile.
4118 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4119 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4120 * gdb.mi/mi2-file.exp: Use standard_testfile.
4121 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4122 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4123 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4124 * gdb.mi/mi2-return.exp: Use standard_testfile.
4125 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4126 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4127 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4128 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4129 * gdb.mi/mi2-until.exp: Use standard_testfile.
4130 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4131 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4132 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4133 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4134 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4135
4136 2012-07-10 Tom Tromey <tromey@redhat.com>
4137
4138 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4139 * gdb.cp/ambiguous.exp: Use standard_testfile,
4140 prepare_for_testing.
4141 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4142 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4143 * gdb.cp/anon-ns.exp: Use standard_testfile.
4144 * gdb.cp/anon-struct.exp: Use standard_testfile.
4145 * gdb.cp/anon-union.exp: Use standard_testfile,
4146 prepare_for_testing.
4147 * gdb.cp/arg-reference.exp: Use standard_testfile,
4148 prepare_for_testing.
4149 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4150 * gdb.cp/breakpoint.exp: Use standard_testfile,
4151 prepare_for_testing.
4152 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4153 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4154 standard_output_file.
4155 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4156 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4157 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4158 (test_static_members): Update.
4159 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4160 * gdb.cp/converts.exp: Use standard_testfile.
4161 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4162 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4163 prepare_for_testing.
4164 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4165 * gdb.cp/cplabel.exp: Use standard_testfile.
4166 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4167 prepare_for_testing.
4168 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4169 * gdb.cp/derivation.exp: Use standard_testfile,
4170 prepare_for_testing.
4171 * gdb.cp/destrprint.exp: Use standard_testfile.
4172 * gdb.cp/dispcxx.exp: Use standard_testfile.
4173 * gdb.cp/exception.exp: Use standard_testfile,
4174 prepare_for_testing.
4175 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4176 * gdb.cp/extern-c.exp: Use standard_testfile,
4177 prepare_for_testing.
4178 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4179 prepare_for_testing.
4180 * gdb.cp/fpointer.exp: Use standard_testfile.
4181 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4182 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4183 standard_output_file.
4184 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4185 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4186 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4187 standard_output_file.
4188 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4189 (do_tests): Update.
4190 * gdb.cp/koenig.exp: Use standard_testfile.
4191 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4192 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4193 * gdb.cp/m-static.exp: Use standard_testfile,
4194 prepare_for_testing.
4195 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4196 * gdb.cp/mb-inline.exp: Use standard_testfile,
4197 prepare_for_testing.
4198 * gdb.cp/mb-templates.exp: Use standard_testfile,
4199 prepare_for_testing.
4200 * gdb.cp/member-ptr.exp: Use standard_testfile,
4201 prepare_for_testing.
4202 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4203 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4204 * gdb.cp/method2.exp: Use standard_testfile.
4205 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4206 standard_output_file.
4207 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4208 (do_tests): Update.
4209 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4210 prepare_for_testing.
4211 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4212 prepare_for_testing.
4213 * gdb.cp/namespace.exp: Use standard_testfile,
4214 prepare_for_testing.
4215 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4216 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4217 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4218 * gdb.cp/nsimport.exp: Use standard_testfile,
4219 prepare_for_testing.
4220 * gdb.cp/nsnested.exp: Use standard_testfile.
4221 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4222 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4223 prepare_for_testing.
4224 * gdb.cp/nsstress.exp: Use standard_testfile,
4225 prepare_for_testing.
4226 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4227 * gdb.cp/operator.exp: Use standard_testfile.
4228 * gdb.cp/oranking.exp: Use standard_testfile.
4229 * gdb.cp/overload-const.exp: Use standard_testfile.
4230 * gdb.cp/overload.exp: Use standard_testfile,
4231 prepare_for_testing.
4232 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4233 * gdb.cp/ovsrch.exp: Use standard_testfile.
4234 * gdb.cp/paren-type.exp: Use standard_testfile.
4235 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4236 prepare_for_testing.
4237 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4238 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4239 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4240 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4241 * gdb.cp/pr10728.exp: Use standard_testfile,
4242 standard_output_file.
4243 * gdb.cp/pr12028.exp: Use standard_testfile.
4244 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4245 * gdb.cp/pr9167.exp: Use standard_testfile.
4246 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4247 * gdb.cp/printmethod.exp: Use standard_testfile,
4248 prepare_for_testing.
4249 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4250 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4251 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4252 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4253 standard_output_file.
4254 * gdb.cp/readnow-language.exp: Use standard_testfile.
4255 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4256 (gdb_start_again): Use clean_restart.
4257 * gdb.cp/ref-types.exp: Use standard_testfile,
4258 prepare_for_testing.
4259 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4260 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4261 * gdb.cp/smartp.exp: Use standard_testfile.
4262 * gdb.cp/static-method.exp: Use standard_testfile.
4263 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4264 * gdb.cp/temargs.exp: Use standard_testfile.
4265 * gdb.cp/templates.exp: Use standard_testfile,
4266 prepare_for_testing.
4267 (do_tests): Update.
4268 * gdb.cp/try_catch.exp: Use standard_testfile,
4269 prepare_for_testing.
4270 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4271 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4272 * gdb.cp/virtbase.exp: Use standard_testfile,
4273 prepare_for_testing.
4274 * gdb.cp/virtfunc.exp: Use standard_testfile,
4275 prepare_for_testing.
4276 (do_tests): Update.
4277 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4278 prepare_for_testing.
4279
4280 2012-07-10 Tom Tromey <tromey@redhat.com>
4281
4282 * lib/gdb.exp (standard_testfile): Unset output variables from
4283 earlier invocations.
4284
4285 2012-07-10 Yao Qi <yao@codesourcery.com>
4286
4287 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4288 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4289 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4290 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4291 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4292 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4293 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4294 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4295 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4296 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4297 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4298 * gdb.mi/mi-var-display.exp: Likewise.
4299 * gdb.mi/mi-var-invalidate.exp: Likewise.
4300 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4301 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4302 * gdb.mi/mi2-console.exp: Likewise.
4303 * gdb.mi/mi2-disassemble.exp: Likewise.
4304 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4305 * gdb.mi/mi2-read-memory.exp: Likewise.
4306 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4307 * gdb.mi/mi2-simplerun.exp: Likewise.
4308 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4309 * gdb.mi/mi2-syn-frame.exp: Likewise.
4310 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4311 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4312 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4313
4314 2012-07-09 Tom Tromey <tromey@redhat.com>
4315
4316 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4317 * gdb.base/callfuncs.exp: Add cast-based test.
4318 * gdb.base/callfuncs.c (voidfunc): New function.
4319
4320 2012-07-08 Doug Evans <dje@google.com>
4321
4322 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4323
4324 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4325
4326 Fix XFAIL compatibility with old i386 systems.
4327 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4328 Check also 'Cannot insert breakpoint 0'.
4329
4330 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4331
4332 PR 14321
4333 * gdb.base/find.exp
4334 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4335
4336 2012-07-06 Tom Tromey <tromey@redhat.com>
4337
4338 * gdb.base/whatis.exp: Add test.
4339
4340 2012-07-06 Tom Tromey <tromey@redhat.com>
4341
4342 * gdb.base/whatis.exp: Add regression test.
4343
4344 2012-07-06 Tom Tromey <tromey@redhat.com>
4345
4346 * gdb.base/whatis.exp: Add tests.
4347
4348 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4349
4350 PR 12649
4351 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4352 gdb_test_multiple $gdb_prompt terminator.
4353
4354 2012-07-04 Pedro Alves <palves@redhat.com>
4355
4356 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4357 supports_process_record.
4358
4359 2012-07-04 Pedro Alves <palves@redhat.com>
4360
4361 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4362 endings.
4363 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4364
4365 2012-07-03 Stan Shebs <stan@codesourcery.com>
4366
4367 * gdb.base/info-os.c (main): Retry resource acquisition until an
4368 available one is found.
4369 * gdb.base/info-os.exp: Collect resource keys from the program
4370 and use them in matching.
4371
4372 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4373
4374 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4375 Wrap the test into loop for corefile and core0file.
4376
4377 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4378
4379 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4380 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4381 .note.GNU-stack.
4382
4383 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4384
4385 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4386
4387 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4388 break): Include help message for the new `-probe' and `-probe-stap'
4389 options.
4390
4391 2012-07-02 Stan Shebs <stan@codesourcery.com>
4392
4393 * gdb.base/dprintf.exp: Add agent style tests.
4394
4395 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4396
4397 * gdb.base/stale-infcall.c (infcall): New label test-next.
4398 (main): New labels test-pass and test-fail.
4399 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4400 $test_fail_bpnum to test-fail.
4401 (test system longjmp tracking support): New test.
4402 Delete $test_fail_bpnum.
4403 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4404 breakpoint.
4405
4406 2012-06-30 Doug Evans <dje@google.com>
4407
4408 * gdb.dwarf2/fission-reread.S: New file.
4409 * gdb.dwarf2/fission-reread.exp: New file.
4410
4411 2012-06-28 Stan Shebs <stan@codesourcery.com>
4412
4413 * gdb.mi/mi-logging.exp: New file.
4414
4415 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4416 Pedro Alves <palves@redhat.com>
4417
4418 * gdb.threads/siginfo-threads.exp: New file.
4419 * gdb.threads/siginfo-threads.c: New file.
4420 * gdb.threads/sigstep-threads.exp: New file.
4421 * gdb.threads/sigstep-threads.c: New file.
4422
4423 2012-06-28 Tom Tromey <tromey@redhat.com>
4424
4425 * gdb.go/package.exp: Partially revert earlier patch; use
4426 gdb_compile again. Use standard_output_file.
4427
4428 2012-06-27 Doug Evans <dje@google.com>
4429
4430 * gdb.dwarf2/fission-base.c: New file.
4431 * gdb.dwarf2/fission-base.S: New file.
4432 * gdb.dwarf2/fission-base.exp: New file.
4433
4434 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4435
4436 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4437
4438 2012-06-27 Tom Tromey <tromey@redhat.com>
4439
4440 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4441 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4442
4443 2012-06-27 Tom Tromey <tromey@redhat.com>
4444
4445 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4446 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4447 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4448 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4449 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4450 prepare_for_testing.
4451 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4452 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4453 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4454 standard_testfile.
4455 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4456 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4457 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4458 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4459 prepare_for_testing.
4460 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4461 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4462 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4463 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4464 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4465 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4466 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4467 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4468 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4469 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4470 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4471 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4472 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4473 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4474 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4475 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4476 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4477 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4478 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4479 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4480 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4481 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4482 standard_output_file.
4483 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4484 standard_output_file.
4485 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4486 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4487 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4488 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4489 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4490 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4491 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4492 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4493 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4494 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4495 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4496 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4497 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4498 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4499 * gdb.dwarf2/valop.exp: Use standard_testfile,
4500 prepare_for_testing.
4501
4502 2012-06-27 Tom Tromey <tromey@redhat.com>
4503
4504 * gdb.python/python.exp: Fix regexps in pagination tests.
4505
4506 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4507
4508 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4509 'last' of gdb.Symtab_and_line.
4510 * gdb.python/py-symbol.c: Move break point comment to enable
4511 testing of gdb.Symtab_and_line.last.
4512
4513 2012-06-26 Tom Tromey <tromey@redhat.com>
4514
4515 * gdb.threads/step.c: Remove.
4516 * gdb.threads/step.exp: Remove.
4517 * gdb.threads/step2.exp: Remove.
4518
4519 2012-06-26 Tom Tromey <tromey@redhat.com>
4520
4521 * gdb.threads/watchpoint-fork.exp (test): Use
4522 standard_output_file. Don't declare objdir.
4523 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4524 standard_output_file.
4525 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4526 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4527 clean_restart. Remove incdir.
4528 * gdb.threads/corethreads.exp: Use standard_testfile.
4529 * gdb.threads/execl.exp: Use standard_testfile,
4530 standard_output_file, clean_restart.
4531 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4532 clean_restart.
4533 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4534 clean_restart.
4535 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4536 incdir.
4537 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4538 clean_restart. Remove incdir.
4539 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4540 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4541 clean_restart. Remove incdir.
4542 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4543 Remove incdir.
4544 * gdb.threads/leader-exit.exp: Use standard_testfile.
4545 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4546 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4547 clean_restart.
4548 * gdb.threads/manythreads.exp: Use standard_testfile,
4549 clean_restart. Remove incdir.
4550 * gdb.threads/multi-create.exp: Use standard_testfile,
4551 clean_restart.
4552 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4553 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4554 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4555 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4556 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4557 * gdb.threads/pending-step.exp: Use standard_testfile,
4558 clean_restart. Remove incdir.
4559 * gdb.threads/print-threads.exp: Use standard_testfile,
4560 clean_restart. Remove incdir.
4561 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4562 clean_restart. Remove incdir.
4563 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4564 Remove incdir.
4565 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4566 incdir.
4567 * gdb.threads/sigthread.exp: Use standard_testfile,
4568 clean_restart.
4569 * gdb.threads/staticthreads.exp: Use standard_testfile,
4570 clean_restart. Remove incdir.
4571 * gdb.threads/switch-threads.exp: Use standard_testfile,
4572 clean_restart. Remove incdir.
4573 * gdb.threads/thread-execl.exp: Use standard_testfile,
4574 clean_restart. Remove incdir.
4575 * gdb.threads/thread-find.exp: Use standard_testfile,
4576 clean_restart.
4577 * gdb.threads/thread-specific.exp: Use standard_testfile,
4578 clean_restart. Remove incdir.
4579 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4580 clean_restart. Remove incdir.
4581 * gdb.threads/thread_check.exp: Use standard_testfile,
4582 clean_restart. Remove incdir.
4583 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4584 incdir.
4585 * gdb.threads/threadapply.exp: Use standard_testfile,
4586 clean_restart. Remove incdir.
4587 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4588 clean_restart. Remove incdir.
4589 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4590 clean_restart.
4591 * gdb.threads/tls-shared.exp: Use standard_testfile,
4592 clean_restart, standard_output_file.
4593 * gdb.threads/tls-var.exp: Use standard_testfile,
4594 standard_output_file.
4595 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4596 Remove incdir.
4597 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4598 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4599 incdir.
4600 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4601 clean_restart. Remove incdir.
4602
4603 2012-06-26 Tom Tromey <tromey@redhat.com>
4604
4605 * gdb.trace/actions.exp: Use standard_testfile.
4606 * gdb.trace/ax.exp: Use standard_testfile.
4607 * gdb.trace/backtrace.exp: Use standard_testfile.
4608 * gdb.trace/change-loc.exp: Use standard_testfile.
4609 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4610 * gdb.trace/collection.exp: Use standard_testfile,
4611 prepare_for_testing.
4612 * gdb.trace/deltrace.exp: Use standard_testfile.
4613 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4614 * gdb.trace/ftrace.exp: Use standard_testfile.
4615 * gdb.trace/infotrace.exp: Use standard_testfile.
4616 * gdb.trace/packetlen.exp: Use standard_testfile.
4617 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4618 * gdb.trace/passcount.exp: Use standard_testfile.
4619 * gdb.trace/pending.exp: Use standard_testfile.
4620 * gdb.trace/report.exp: Use standard_testfile.
4621 * gdb.trace/save-trace.exp: Use standard_testfile.
4622 * gdb.trace/stap-trace.exp: Use standard_testfile.
4623 * gdb.trace/status-stop.exp: Use standard_testfile.
4624 * gdb.trace/strace.exp: Use standard_testfile.
4625 * gdb.trace/tfile.exp: Use standard_testfile.
4626 * gdb.trace/tfind.exp: Use standard_testfile.
4627 * gdb.trace/trace-break.exp: Use standard_testfile.
4628 * gdb.trace/trace-mt.exp: Use standard_testfile.
4629 * gdb.trace/tracecmd.exp: Use standard_testfile.
4630 * gdb.trace/tspeed.exp: Use standard_testfile.
4631 * gdb.trace/tstatus.exp: Use standard_testfile.
4632 * gdb.trace/tsv.exp: Use standard_testfile.
4633 * gdb.trace/unavailable.exp: Use standard_testfile,
4634 prepare_for_testing.
4635 * gdb.trace/while-dyn.exp: Use standard_testfile.
4636 * gdb.trace/while-stepping.exp: Use standard_testfile.
4637
4638 2012-06-26 Tom Tromey <tromey@redhat.com>
4639
4640 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4641 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4642 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4643 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4644 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4645 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4646 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4647 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4648 prepare_for_testing.
4649 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4650 prepare_for_testing.
4651 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4652 prepare_for_testing.
4653 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4654 prepare_for_testing.
4655 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4656 prepare_for_testing
4657 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4658 * gdb.reverse/machinestate.exp: Use standard_testfile.
4659 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4660 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4661 build_executable.
4662 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4663 build_executable.
4664 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4665 standard_output_file.
4666 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4667 standard_output_file.
4668 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4669 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4670 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4671 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4672 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4673 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4674
4675 2012-06-26 Tom Tromey <tromey@redhat.com>
4676
4677 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4678 standard_output_file.
4679 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4680 prepare_for_testing. Remove directory-checking code.
4681
4682 2012-06-25 Tom Tromey <tromey@redhat.com>
4683
4684 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4685 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4686 build_executable, not prepare_for_testing.
4687 * gdb.multi/base.exp: Use standard_output_file. Use
4688 build_executable, not prepare_for_testing.
4689
4690 2012-06-25 Tom Tromey <tromey@redhat.com>
4691
4692 * gdb.fortran/subarray.exp: Use standard_testfile,
4693 prepare_for_testing.
4694 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4695 * gdb.fortran/module.exp: Use standard_testfile.
4696 * gdb.fortran/logical.exp: Use standard_testfile.
4697 * gdb.fortran/library-module.exp: Use standard_testfile,
4698 standard_output_file.
4699 * gdb.fortran/derived-type.exp: Use standard_testfile,
4700 prepare_for_testing.
4701 * gdb.fortran/complex.exp: Use standard_testfile,
4702 prepare_for_testing.
4703 * gdb.fortran/charset.exp: Use standard_testfile.
4704 * gdb.fortran/array-element.exp: Use standard_testfile,
4705 prepare_for_testing.
4706
4707 2012-06-25 Keith Seitz <keiths@redhat.com>
4708
4709 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4710 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4711
4712 2012-06-25 Tom Tromey <tromey@redhat.com>
4713
4714 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4715 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4716 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4717 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4718
4719 2012-06-25 Tom Tromey <tromey@redhat.com>
4720
4721 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4722 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4723 * gdb.linespec/linespec.exp: Use standard_testfile.
4724
4725 2012-06-25 Tom Tromey <tromey@redhat.com>
4726
4727 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4728 prepare_for_testing.
4729
4730 2012-06-25 Tom Tromey <tromey@redhat.com>
4731
4732 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4733 prepare_for_testing.
4734 * gdb.opt/inline-break.exp: Use standard_testfile,
4735 prepare_for_testing.
4736 * gdb.opt/inline-bt.exp: Use standard_testfile,
4737 prepare_for_testing.
4738 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4739 prepare_for_testing.
4740 * gdb.opt/inline-locals.exp: Use standard_testfile,
4741 prepare_for_testing.
4742
4743 2012-06-25 Tom Tromey <tromey@redhat.com>
4744
4745 * gdb.asm/asm-source.exp: Use standard_output_file,
4746 standard_testfile. Construct .o files in proper subdir.
4747
4748 2012-06-25 Tom Tromey <tromey@redhat.com>
4749
4750 * gdb.server/ext-attach.exp: Use standard_testfile,
4751 prepare_for_testing.
4752 * gdb.server/ext-run.exp: Use standard_testfile,
4753 build_executable.
4754 * gdb.server/file-transfer.exp: Use standard_testfile,
4755 prepare_for_testing.
4756 * gdb.server/server-exec-info.exp: Use standard_testfile.
4757 * gdb.server/server-mon.exp: Use standard_testfile,
4758 prepare_for_testing.
4759 * gdb.server/server-run.exp: Use standard_testfile,
4760 build_executable.
4761 * gdb.server/solib-list.exp: Use standard_testfile,
4762 standard_output_file.
4763
4764 2012-06-25 Tom Tromey <tromey@redhat.com>
4765
4766 * lib/gdb.exp (standard_output_file): Use "file join".
4767 * gdb.go/chan.exp: Use standard_testfile.
4768 * gdb.go/handcall.exp: Use standard_testfile.
4769 * gdb.go/hello.exp: Use standard_testfile.
4770 * gdb.integers/chan.exp: Use standard_testfile.
4771 * gdb.go/methods.exp: Use standard_testfile.
4772 * gdb.go/package.exp: Use standard_testfile.
4773 * gdb.go/strings.exp: Use standard_testfile.
4774 * gdb.go/types.exp: Use standard_testfile.
4775 * gdb.go/unsafe.exp: Use standard_testfile.
4776
4777 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4778
4779 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4780
4781 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4782
4783 Fix regression by the previous commit.
4784 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4785
4786 2012-06-22 Tom Tromey <tromey@redhat.com>
4787
4788 * gdb.python/lib-types.exp: Use standard_testfile,
4789 prepare_for_testing.
4790 * gdb.python/py-block.exp: Use standard_testfile.
4791 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4792 * gdb.python/py-events.exp: Use standard_testfile,
4793 standard_output_file.
4794 * gdb.python/py-evsignal.exp: Use standard_testfile.
4795 * gdb.python/py-evethreads.exp: Use standard_testfile.
4796 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4797 * gdb.python/py-explore.exp: Use standard_testfile.
4798 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4799 standard_output_file.
4800 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4801 prepare_for_testing.
4802 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4803 * gdb.python/py-frame.exp: Use standard_testfile.
4804 * gdb.python/py-inferior.exp: Use standard_testfile.
4805 * gdb.python/py-infthread.exp: Use standard_testfile.
4806 * gdb.python/py-mi.exp: Use standard_testfile.
4807 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4808 build_executable.
4809 * gdb.python/py-objfile.exp: Use standard_testfile.
4810 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4811 prepare_for_testing.
4812 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4813 * gdb.python/py-progspace.exp: Use standard_testfile,
4814 build_executable.
4815 * gdb.python/py-prompt.exp: Use standard_testfile,
4816 build_executable.
4817 * gdb.python/py-section-script.exp: Use standard_testfile,
4818 build_executable.
4819 * gdb.python/py-shared.exp: Use standard_testfile,
4820 standard_output_file, clean_restart.
4821 * gdb.python/py-symbol.exp: Use standard_output_file,
4822 prepare_for_testing.
4823 * gdb.python/py-symtab.exp: Use standard_output_file,
4824 prepare_for_testing
4825 * gdb.python/py-template.exp: Use standard_testfile.
4826 * gdb.python/py-type.exp: Use standard_testfile.
4827 * gdb.python/py-value-cc.exp: Use standard_testfile.
4828 * gdb.python/py-value.exp: Use standard_testfile.
4829 * gdb.python/python.exp: Use standard_testfile, build_executable.
4830
4831 2012-06-22 Tom Tromey <tromey@redhat.com>
4832
4833 * gdb.objc/basicclass.exp: Use standard_testfile.
4834 (do_objc_tests): Don't declare objdir.
4835 * gdb.objc/nondebug.exp: Use standard_testfile.
4836 (do_objc_tests): Don't declare objdir.
4837 * gdb.objc/objcdecode.exp: Use standard_testfile.
4838 (do_objc_tests): Don't declare objdir.
4839
4840 2012-06-22 Tom Tromey <tromey@redhat.com>
4841
4842 * gdb.java/jmain.exp: Use standard_testfile.
4843 * gdb.java/jmisc.exp: Use standard_testfile.
4844 * gdb.java/jnpe.exp: Use standard_testfile.
4845 * gdb.java/jprint.exp: Use standard_testfile.
4846
4847 2012-06-22 Tom Tromey <tromey@redhat.com>
4848
4849 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4850 (standard_output_file, standard_testfile): New procs.
4851 (build_executable, clean_restart): Use standard_output_file.
4852
4853 2012-06-22 Yao Qi <yao@codesourcery.com>
4854
4855 * boards/native-gdbserver.exp: New proc ${board}_exec.
4856 * boards/native-stdio-gdbserver.exp: Likewise.
4857
4858 2012-06-21 Tom Tromey <tromey@redhat.com>
4859
4860 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4861 (build_executable): Update.
4862 (get_compiler_info): Remove 'binfile' argument.
4863 * gdb.ada/arrayidx.exp: Update.
4864 * gdb.ada/null_array.exp: Update.
4865 * gdb.arch/altivec-abi.exp: Update.
4866 * gdb.arch/altivec-regs.exp: Update.
4867 * gdb.arch/amd64-byte.exp: Update.
4868 * gdb.arch/amd64-dword.exp: Update.
4869 * gdb.arch/amd64-word.exp: Update.
4870 * gdb.arch/i386-avx.exp: Update.
4871 * gdb.arch/i386-byte.exp: Update.
4872 * gdb.arch/i386-sse.exp: Update.
4873 * gdb.arch/i386-word.exp: Update.
4874 * gdb.arch/ppc-dfp.exp: Update.
4875 * gdb.arch/ppc-fp.exp: Update.
4876 * gdb.arch/vsx-regs.exp: Update.
4877 * gdb.base/all-bin.exp: Update.
4878 * gdb.base/annota1.exp: Update.
4879 * gdb.base/async.exp: Update.
4880 * gdb.base/attach.exp: Update.
4881 * gdb.base/break-interp.exp: Update.
4882 * gdb.base/call-ar-st.exp: Update.
4883 * gdb.base/call-rt-st.exp: Update.
4884 * gdb.base/call-sc.exp: Update.
4885 * gdb.base/callfuncs.exp: Update.
4886 * gdb.base/catch-load.exp: Update.
4887 * gdb.base/completion.exp: Update.
4888 * gdb.base/complex.exp: Update.
4889 * gdb.base/condbreak.exp: Update.
4890 * gdb.base/consecutive.exp: Update.
4891 * gdb.base/constvars.exp: Update.
4892 * gdb.base/corefile.exp: Update.
4893 * gdb.base/eval-skip.exp: Update.
4894 * gdb.base/expand-psymtabs.exp: Update.
4895 * gdb.base/exprs.exp: Update.
4896 * gdb.base/fileio.exp: Update.
4897 * gdb.base/fixsection.exp: Update.
4898 * gdb.base/funcargs.exp: Update.
4899 * gdb.base/gdb11530.exp: Update.
4900 * gdb.base/gdb1555.exp: Update.
4901 * gdb.base/gnu-ifunc.exp: Update.
4902 * gdb.base/gnu_vector.exp: Update.
4903 * gdb.base/info-macros.exp: Update.
4904 * gdb.base/jit-simple.exp: Update.
4905 * gdb.base/jit-so.exp: Update.
4906 * gdb.base/jit.exp: Update.
4907 * gdb.base/langs.exp: Update.
4908 * gdb.base/list.exp: Update.
4909 * gdb.base/logical.exp: Update.
4910 * gdb.base/long_long.exp: Update.
4911 * gdb.base/longjmp.exp: Update.
4912 * gdb.base/macscp.exp: Update.
4913 * gdb.base/mips_pro.exp: Update.
4914 * gdb.base/miscexprs.exp: Update.
4915 * gdb.base/morestack.exp: Update.
4916 * gdb.base/nodebug.exp: Update.
4917 * gdb.base/opaque.exp: Update.
4918 * gdb.base/pc-fp.exp: Update.
4919 * gdb.base/pending.exp: Update.
4920 * gdb.base/permissions.exp: Update.
4921 * gdb.base/pointers.exp: Update.
4922 * gdb.base/prelink.exp: Update.
4923 * gdb.base/printcmds.exp: Update.
4924 * gdb.base/psymtab.exp: Update.
4925 * gdb.base/ptype.exp: Update.
4926 * gdb.base/relational.exp: Update.
4927 * gdb.base/scope.exp: Update.
4928 * gdb.base/setvar.exp: Update.
4929 * gdb.base/shlib-call.exp: Update.
4930 * gdb.base/shreloc.exp: Update.
4931 * gdb.base/signals.exp: Update.
4932 * gdb.base/sizeof.exp: Update.
4933 * gdb.base/so-impl-ld.exp: Update.
4934 * gdb.base/so-indr-cl.exp: Update.
4935 * gdb.base/solib-disc.exp: Update.
4936 * gdb.base/solib-display.exp: Update.
4937 * gdb.base/solib-nodir.exp: Update.
4938 * gdb.base/solib-overlap.exp: Update.
4939 * gdb.base/solib-symbol.exp: Update.
4940 * gdb.base/solib-weak.exp: Update.
4941 * gdb.base/solib.exp: Update.
4942 * gdb.base/store.exp: Update.
4943 * gdb.base/structs.exp: Update.
4944 * gdb.base/structs2.exp: Update.
4945 * gdb.base/type-opaque.exp: Update.
4946 * gdb.base/unload.exp: Update.
4947 * gdb.base/varargs.exp: Update.
4948 * gdb.base/volatile.exp: Update.
4949 * gdb.base/watch_thread_num.exp: Update.
4950 * gdb.base/watchpoint-solib.exp: Update.
4951 * gdb.base/watchpoint.exp: Update.
4952 * gdb.base/watchpoints.exp: Update.
4953 * gdb.base/whatis.exp: Update.
4954 * gdb.cell/arch.exp: Update.
4955 * gdb.cell/break.exp: Update.
4956 * gdb.cell/bt.exp: Update.
4957 * gdb.cell/core.exp: Update.
4958 * gdb.cell/data.exp: Update.
4959 * gdb.cell/ea-cache.exp: Update.
4960 * gdb.cell/f-regs.exp: Update.
4961 * gdb.cell/fork.exp: Update.
4962 * gdb.cell/gcore.exp: Update.
4963 * gdb.cell/mem-access.exp: Update.
4964 * gdb.cell/ptype.exp: Update.
4965 * gdb.cell/registers.exp: Update.
4966 * gdb.cell/sizeof.exp: Update.
4967 * gdb.cell/solib-symbol.exp: Update.
4968 * gdb.cell/solib.exp: Update.
4969 * gdb.cp/ambiguous.exp: Update.
4970 * gdb.cp/breakpoint.exp: Update.
4971 * gdb.cp/bs15503.exp: Update.
4972 * gdb.cp/casts.exp: Update.
4973 * gdb.cp/class2.exp: Update.
4974 * gdb.cp/cpexprs.exp: Update.
4975 * gdb.cp/cplusfuncs.exp: Update.
4976 * gdb.cp/ctti.exp: Update.
4977 * gdb.cp/dispcxx.exp: Update.
4978 * gdb.cp/gdb1355.exp: Update.
4979 * gdb.cp/gdb2384.exp: Update.
4980 * gdb.cp/gdb2495.exp: Update.
4981 * gdb.cp/infcall-dlopen.exp: Update.
4982 * gdb.cp/local.exp: Update.
4983 * gdb.cp/m-data.exp: Update.
4984 * gdb.cp/m-static.exp: Update.
4985 * gdb.cp/mb-ctor.exp: Update.
4986 * gdb.cp/mb-inline.exp: Update.
4987 * gdb.cp/mb-templates.exp: Update.
4988 * gdb.cp/member-ptr.exp: Update.
4989 * gdb.cp/method.exp: Update.
4990 * gdb.cp/namespace.exp: Update.
4991 * gdb.cp/nextoverthrow.exp: Update.
4992 * gdb.cp/nsdecl.exp: Update.
4993 * gdb.cp/nsrecurs.exp: Update.
4994 * gdb.cp/nsstress.exp: Update.
4995 * gdb.cp/nsusing.exp: Update.
4996 * gdb.cp/pr-1023.exp: Update.
4997 * gdb.cp/pr-1210.exp: Update.
4998 * gdb.cp/pr-574.exp: Update.
4999 * gdb.cp/pr9631.exp: Update.
5000 * gdb.cp/printmethod.exp: Update.
5001 * gdb.cp/psmang.exp: Update.
5002 * gdb.cp/re-set-overloaded.exp: Update.
5003 * gdb.cp/rtti.exp: Update.
5004 * gdb.cp/shadow.exp: Update.
5005 * gdb.cp/templates.exp: Update.
5006 * gdb.cp/try_catch.exp: Update.
5007 * gdb.dwarf2/dw2-ranges.exp: Update.
5008 * gdb.dwarf2/pr10770.exp: Update.
5009 * gdb.fortran/library-module.exp: Update.
5010 * gdb.hp/gdb.aCC/optimize.exp: Update.
5011 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5012 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5013 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5014 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5015 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5016 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5017 * gdb.hp/gdb.compat/xdb1.exp: Update.
5018 * gdb.hp/gdb.compat/xdb2.exp: Update.
5019 * gdb.hp/gdb.compat/xdb3.exp: Update.
5020 * gdb.hp/gdb.defects/bs14602.exp: Update.
5021 * gdb.hp/gdb.defects/solib-d.exp: Update.
5022 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5023 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5024 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5025 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5026 * gdb.mi/gdb792.exp: Update.
5027 * gdb.mi/mi-pending.exp: Update.
5028 * gdb.mi/mi-solib.exp: Update.
5029 * gdb.mi/mi-var-cp.exp: Update.
5030 * gdb.opt/clobbered-registers-O2.exp: Update.
5031 * gdb.opt/inline-bt.exp: Update.
5032 * gdb.opt/inline-cmds.exp: Update.
5033 * gdb.opt/inline-locals.exp: Update.
5034 * gdb.python/py-events.exp: Update.
5035 * gdb.python/py-finish-breakpoint.exp: Update.
5036 * gdb.python/py-type.exp: Update.
5037 * gdb.reverse/solib-precsave.exp: Update.
5038 * gdb.reverse/solib-reverse.exp: Update.
5039 * gdb.server/solib-list.exp: Update.
5040 * gdb.stabs/weird.exp: Update.
5041 * gdb.threads/attach-into-signal.exp: Update.
5042 * gdb.threads/attach-stopped.exp: Update.
5043 * gdb.threads/tls-shared.exp: Update.
5044 * gdb.trace/change-loc.exp: Update.
5045 * gdb.trace/strace.exp: Update.
5046
5047 2012-06-19 Tom Tromey <tromey@redhat.com>
5048
5049 * gdb.base/whatis.exp: Add tests.
5050
5051 2012-06-19 Tom Tromey <tromey@redhat.com>
5052
5053 * gdb.cp/m-static.cc (keepalive): New function.
5054 (gnu_obj_1::method): Use it.
5055
5056 2012-06-18 Doug Evans <dje@google.com>
5057
5058 * gdb.base/info-fun.exp: New file.
5059 * gdb.base/info-fun.c: New file.
5060 * gdb.base/info-fun-solib.c: New file.
5061
5062 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5063
5064 Remove stale dummy frames.
5065 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5066 (maintenance info breakpoints): New tests.
5067 * gdb.base/stale-infcall.c: New file.
5068 * gdb.base/stale-infcall.exp: New file.
5069
5070 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5071
5072 * gdb.arch/amd64-entry-value-param.S: New file.
5073 * gdb.arch/amd64-entry-value-param.c: New file.
5074 * gdb.arch/amd64-entry-value-param.exp: New file.
5075
5076 2012-06-15 Tom Tromey <tromey@redhat.com>
5077
5078 * gdb.cp/namespace.exp: Add "show lang" test.
5079
5080 2012-06-15 Iain Sandoe <iain@codesourcery.com>
5081
5082 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5083 case. (top level): Use gdb_file_cmd instead of gdb_load.
5084
5085 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5086
5087 PR tdep/14222
5088 * gdb.arch/i386-sse-stack-align.S: New file.
5089 * gdb.arch/i386-sse-stack-align.c: New file.
5090 * gdb.arch/i386-sse-stack-align.exp: New file.
5091
5092 2012-06-13 Keith Seitz <keiths@redhat.com>
5093
5094 PR breakpoints/13798 and mi/11541
5095 * gdb.linespec/ls-errs.exp: Add a few more tests for
5096 filenames with spaces and colons.
5097
5098 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5099
5100 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5101 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5102 (test_function): Call CV_f.
5103 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5104 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5105 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5106 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5107 (p CV_f(CV::i)): New tests.
5108
5109 2012-06-13 Tom Tromey <tromey@redhat.com>
5110
5111 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5112
5113 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5114
5115 Fix regression by the "ambiguous linespec" series.
5116 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5117 tests.
5118
5119 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5120
5121 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5122 missing.
5123
5124 2012-06-11 Tom Tromey <tromey@redhat.com>
5125
5126 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5127 location...
5128 (main): ...here.
5129
5130 2012-06-07 Yao Qi <yao@codesourcery.com>
5131
5132 * gdb.trace/strace.exp: Shorten some too-long lines.
5133
5134 2012-06-06 Pedro Alves <palves@redhat.com>
5135
5136 * gdb.threads/clone-new-thread-event.c: New file.
5137 * gdb.threads/clone-new-thread-event.exp: New file.
5138
5139 2012-06-06 Yao Qi <yao@codesourcery.com>
5140
5141 * gdb.base/dprintf.c (main): Add extra parameter when calling
5142 printf and fprintf.
5143 (bar): New function. It is a dead function, but to ensure
5144 'malloc' is linked explicitly.
5145
5146 2012-06-06 Yao Qi <yao@codesourcery.com>
5147
5148 * gdb.base/info-proc.exp: Return if target doesn't support
5149 'info proc'.
5150
5151 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5152
5153 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5154 (run program with breakpoint commands): XFAIl if it is not.
5155
5156 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5157
5158 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5159 and add comment.
5160 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5161 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5162 "STOP" marker. Adjust testing strategy to make it work on
5163 all targets.
5164
5165 * gdb.base/print-file-var-main.c (main): Rewrite using local
5166 variables and adjust get_version_2's return value check.
5167 Add small comment.
5168 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5169 marker. Adjust testing strategy to make it work on all targets.
5170
5171 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5172
5173 * gdb.ada/bad-task-bp-keyword: New testcase.
5174
5175 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5176
5177 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5178 Simplify it to ...
5179 (symbol-file ${testfile1}): ... here.
5180 (test eliminated var my_global_symbol)
5181 (test eliminated var my_static_symbol)
5182 (test eliminated var my_global_func, get address of main): Wrap them to
5183 'single psymtabs' and 'single symtabs'
5184 (get address of my_global_symbol, get address of my_static_symbol)
5185 (get address of my_global_func, get address of main): Wrap them to
5186 'order1' and 'order2'.
5187
5188 * gdb.base/code_elim.exp
5189 (add-symbol-file ${testfile1} 0x100000)
5190 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5191 'order2'.
5192 (order1: add-symbol-file ${testfile1} 0x100000)
5193 (order1: add-symbol-file ${testfile2} 0x200000)
5194 (order2: add-symbol-file ${testfile2} 0x200000)
5195 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5196 .bss as appropriate.
5197
5198 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5199
5200 * gdb.server/solib-list-lib.c: New file.
5201 * gdb.server/solib-list-main.c: New file.
5202 * gdb.server/solib-list.exp: New file.
5203
5204 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5205
5206 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5207 for 'set print symbol' change.
5208
5209 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5210
5211 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5212 .debug_abbrev_seg3.
5213
5214 2012-05-24 John Steele Scott <toojays@toojays.net>
5215
5216 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5217 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5218 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5219
5220 2012-05-23 Stan Shebs <stan@codesourcery.com>
5221
5222 * gdb.mi/mi-info-os.exp: New file.
5223
5224 2012-05-23 Keith Seitz <keiths@redhat.com>
5225
5226 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5227 return -1 to suppress the rest of the tests.
5228 (compile_stap_bin): Return boolean success value.
5229
5230 2012-05-21 Tom Tromey <tromey@redhat.com>
5231
5232 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5233 Remove kfails.
5234 (test_print_mi_member_types): Likewise.
5235
5236 2012-05-21 Tom Tromey <tromey@redhat.com>
5237
5238 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5239 print symbol' change.
5240
5241 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5242
5243 * gdb.python/py-prompt.exp: Quit if the target is remote.
5244
5245 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5246
5247 Fix ERROR: internal buffer is full.
5248 * gdb.base/info-os.exp (expect_multiline): New function.
5249 (get process list, get process groups, get threads)
5250 (get file descriptors, get internet-domain sockets)
5251 (get shared-memory regions, get semaphores, get message queues): Use
5252 it for these tests.
5253
5254 2012-05-18 Tom Tromey <tromey@redhat.com>
5255
5256 * gdb.mi/mi-var-cmd.exp: Update.
5257 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5258 * gdb.cp/virtbase.exp: Update.
5259 * gdb.cp/classes.exp (test_static_members): Update.
5260 * gdb.cp/casts.exp: Update.
5261 * gdb.base/pointers.exp: Update.
5262 * gdb.base/funcargs.exp (pointer_args): Update.
5263 (structs_by_reference): Update.
5264 * gdb.base/find.exp: Update.
5265 * gdb.base/call-strs.exp: Send "set print symbol off".
5266 * gdb.base/call-ar-st.exp: Update.
5267 * gdb.ada/fun_addr.exp: Update.
5268 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5269 Call it.
5270 (test_print_repeats_10, test_print_strings)
5271 (test_print_char_arrays): Update.
5272
5273 2012-05-18 Tom Tromey <tromey@redhat.com>
5274
5275 * gdb.base/charset.exp (string_display): Update.
5276
5277 2012-05-18 Tom Tromey <tromey@redhat.com>
5278
5279 * gdb.mi/mi2-var-display.exp: Update.
5280 * gdb.mi/mi-var-display.exp: Update.
5281 * gdb.mi/mi-var-child.exp: Update.
5282 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5283 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5284
5285 2012-05-17 Doug Evans <dje@google.com>
5286
5287 * info-macros.exp: Pass "debug" to prepare_for_testing.
5288
5289 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5290 * gdb.ada/Makefile.in (clean): Ditto.
5291 * gdb.arch/Makefile.in (clean): Ditto.
5292 * gdb.asm/Makefile.in (clean): Ditto.
5293 * gdb.base/Makefile.in (clean): Ditto.
5294 * gdb.cell/Makefile.in (clean): Ditto.
5295 * gdb.cp/Makefile.in (clean): Ditto.
5296 * gdb.disasm/Makefile.in (clean): Ditto.
5297 * gdb.dwarf2/Makefile.in (clean): Ditto.
5298 * gdb.fortran/Makefile.in (clean): Ditto.
5299 * gdb.go/Makefile.in (clean): Ditto.
5300 * gdb.hp/Makefile.in (clean): Ditto.
5301 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5302 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5303 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5304 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5305 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5306 * gdb.java/Makefile.in (clean): Ditto.
5307 * gdb.linespec/Makefile.in (clean): Ditto.
5308 * gdb.mi/Makefile.in (clean): Ditto.
5309 * gdb.modula2/Makefile.in (clean): Ditto.
5310 * gdb.multi/Makefile.in (clean): Ditto.
5311 * gdb.objc/Makefile.in (clean): Ditto.
5312 * gdb.opencl/Makefile.in (clean): Ditto.
5313 * gdb.opt/Makefile.in (clean): Ditto.
5314 * gdb.pascal/Makefile.in (clean): Ditto.
5315 * gdb.python/Makefile.in (clean): Ditto.
5316 * gdb.reverse/Makefile.in (clean): Ditto.
5317 * gdb.server/Makefile.in (clean): Ditto.
5318 * gdb.stabs/Makefile.in (clean): Ditto.
5319 * gdb.threads/Makefile.in (clean): Ditto.
5320 * gdb.trace/Makefile.in (clean): Ditto.
5321 * gdb.xml/Makefile.in (clean): Ditto.
5322
5323 2012-05-16 Tom Tromey <tromey@redhat.com>
5324
5325 * gdb.base/macscp1.c (macscp_expr): Add comment.
5326 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5327
5328 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5329
5330 * gdb.base/return-nodebug.exp: Also test float and double types.
5331
5332 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5333
5334 PR testsuite/12649
5335 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5336
5337 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5338
5339 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5340
5341 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5342 `rerun_to_main'.
5343 (stap_test_no_debuginfo): Likewise.
5344
5345 2012-05-14 Stan Shebs <stan@codesourcery.com>
5346
5347 * gdb.base/dprintf.c: New file.
5348 * gdb.base/dprintf.exp: New file.
5349
5350 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
5351
5352 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5353 * gdb.trace/disconnected-tracing.c: New file.
5354 * gdb.trace/disconnected-tracing.exp: New file.
5355
5356 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5357
5358 * gdb.python/python.c: Add a new breakpoint comment.
5359 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5360
5361 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5362
5363 * gdb.base/info-os.exp: New file.
5364 * gdb.base/info-os.c: New file.
5365
5366 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5367
5368 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5369 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5370 New files.
5371
5372 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5373
5374 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5375 gdb.base/ctxobj.exp: New files.
5376
5377 2012-05-09 Tom Tromey <tromey@redhat.com>
5378
5379 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5380
5381 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5382
5383 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5384
5385 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5386
5387 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5388 before using it.
5389
5390 2012-05-04 Tristan Gingold <gingold@adacore.com>
5391
5392 * gdb.base/set-noassign.exp: New test.
5393
5394 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5395
5396 * gdb.python/py-symbol.exp: Add tests to test the new methods
5397 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5398 * gdb.python/py-symbol.c: Add new struct to help test
5399 gdb.Symtab.static_block().
5400
5401 2012-05-03 Doug Evans <dje@google.com>
5402
5403 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5404 commented out.
5405
5406 2012-05-03 Yao Qi <yao@codesourcery.com>
5407
5408 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5409 doesn't support.
5410 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5411 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5412
5413 2012-05-03 Yao Qi <yao@codesourcery.com>
5414
5415 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5416
5417 2012-04-30 Doug Evans <dje@google.com>
5418
5419 PR testsuite/13961
5420 * gdb.dwarf2/pr13961.S: New file.
5421 * gdb.dwarf2/pr13961.exp: New file.
5422
5423 2012-04-29 Yao Qi <yao@codesourcery.com>
5424
5425 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5426
5427 2012-04-28 Doug Evans <dje@google.com>
5428
5429 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5430 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5431 All uses updated.
5432 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5433 "ptype func_cu1" to expand cu2 before cu1.
5434
5435 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5436 Tom Tromey <tromey@redhat.com>
5437
5438 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5439 variables.
5440 * gdb.base/stap-probe.c: New file.
5441 * gdb.base/stap-probe.exp: New file.
5442 * gdb.trace/stap-trace.c: New file.
5443 * gdb.trace/stap-trace.exp: New file.
5444 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5445 libgcc's unwinder.
5446
5447 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5448
5449 * gdb.arch/mips16-thunks-inmain.c: New file.
5450 * gdb.arch/mips16-thunks-main.c: New file.
5451 * gdb.arch/mips16-thunks-sin.c: New file.
5452 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5453 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5454 * gdb.arch/mips16-thunks-sinmain.c: New file.
5455 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5456 * gdb.arch/mips16-thunks.exp: New file.
5457
5458 2012-04-25 Doug Evans <dje@google.com>
5459
5460 * configure.ac: Create gdb.go/Makefile.
5461 * configure: Regenerate.
5462 * gdb.base/default.exp: Add "go" to "set language" testing.
5463 * gdb.go/Makefile.in: New file.
5464 * gdb.go/basic-types.exp: New file.
5465 * gdb.go/chan.exp: New file.
5466 * gdb.go/chan.go: New file.
5467 * gdb.go/handcall.exp: New file.
5468 * gdb.go/handcall.go: New file.
5469 * gdb.go/hello.exp: New file.
5470 * gdb.go/hello.go: New file.
5471 * gdb.go/integers.exp: New file.
5472 * gdb.go/integers.go: New file.
5473 * gdb.go/methods.exp: New file.
5474 * gdb.go/methods.go: New file.
5475 * gdb.go/package.exp: New file.
5476 * gdb.go/package1.go: New file.
5477 * gdb.go/package2.go: New file.
5478 * gdb.go/print.exp: New file.
5479 * gdb.go/strings.exp: New file.
5480 * gdb.go/strings.go: New file.
5481 * gdb.go/types.exp: New file.
5482 * gdb.go/types.go: New file.
5483 * gdb.go/unsafe.exp: New file.
5484 * gdb.go/unsafe.go: New file.
5485 * lib/future.exp: Add Go support.
5486 (gdb_find_go, gdb_find_go_linker): New procs.
5487 (gdb_default_target_compile): Add Go support.
5488 * lib/gdb.exp (skip_go_tests): New proc.
5489 * lib/go.exp: New file.
5490
5491 2012-04-25 Tom Tromey <tromey@redhat.com>
5492
5493 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5494
5495 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5496 Jan Kratochvil <jan.kratochvil@redhat.com>
5497
5498 PR symtab/7259:
5499 * gdb.base/enumval.c: New test case.
5500 * gdb.base/enumval.exp: New test case.
5501 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5502 field.bitpos.
5503
5504 2012-04-17 Pedro Alves <palves@redhat.com>
5505
5506 * Makefile.in (site.exp): Make site.exp source
5507 $srcdir/lib/append_gdb_boards_dir.exp.
5508 * lib/append_gdb_boards_dir.exp: New file.
5509
5510 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5511
5512 New option "set auto-load safe-path".
5513 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5514 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5515
5516 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5517
5518 auto-load: Implementation.
5519 * gdb.base/help.exp (test set height): Increase the height.
5520 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5521 to ...
5522 (info auto-load python-scripts): ... here.
5523 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5524 to ...
5525 (info auto-load python-scripts *): ... here.
5526
5527 2012-04-16 Yao Qi <yao@codesourcery.com>
5528
5529 * lib/trace-support.exp (get_in_proc_agent): New.
5530 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5531 of in process trace agent.
5532 * gdb.trace/ftrace.exp: Likewise.
5533 * gdb.trace/pending.exp: Likewise.
5534 * gdb.trace/trace-break.exp: Likewise.
5535 * gdb.trace/trace-mt.exp
5536 * gdb.trace/tspeed.exp: Likewise.
5537 * gdb.trace/tstatus.exp
5538 * gdb.trace/strace.exp: Likewise.
5539
5540 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5541
5542 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5543 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5544
5545 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5546
5547 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5548
5549 PR mi/13393
5550 * gdb.mi/mi-var-rtti.cc: New file.
5551 * gdb.mi/mi-var-rtti.exp: New file.
5552 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5553 function.
5554 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5555
5556 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5557
5558 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5559 EXECUTABLES.
5560 * gdb.python/py-explore.c: C program used for testing the new
5561 'explore' command on C constructs.
5562 * gdb.python/py-explore.cc: C++ program used for testing the new
5563 'explore' command on C++ constructs.
5564 * gdb-python/py-explore.exp: Tests for the new 'explore'
5565 command on C constructs.
5566 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5567 command on C++ constructs.
5568
5569 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5570
5571 * gdb.base/funcargs.exp (complex_args): Fix typo.
5572
5573 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5574
5575 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5576 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5577
5578 2012-04-05 Keith Seitz <keiths@redhat.com>
5579
5580 * gdb.base/advance.exp: Update error message for
5581 "advance malformed" test.
5582 * gdb.base/break.exp: Likewise for "breakpoint with
5583 trailing garbage" test.
5584 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5585 with trailing garbage" test.
5586 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5587 trailng garbage" test.
5588 * gdb.base/until.exp: Likewise for "malformed until" test.
5589 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5590 for "breakpoint info (after setting on all)".
5591 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5592 tests.
5593 * gdb.cp/cplabel.cc: New file.
5594 * gdb.cp/cplabel.exp: New test.
5595 * gdb.linespec/ls-errs.c: New file.
5596 * gdb.linespec/ls-errs.exp: New test.
5597
5598 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5599
5600 * gdb.trace/unavailable.exp
5601 (collect globals: print object on: print derived_partial)
5602 (collect globals: print object on: print derived_whole)
5603 (collect globals: print object off: print derived_partial)
5604 (collect globals: print object off: print derived_whole): Update
5605 expected output.
5606
5607 2012-03-30 Keith Seitz <keiths@redhat.com>
5608
5609 * gdb.python: Add test for linespecs with commas.
5610
5611 2012-03-28 Keith Seitz <keiths@redhat.com>
5612
5613 * gdb.linespec/ls-dollar.cc: New file.
5614 * gdb.linespec/ls-dollar.exp: New test.
5615
5616 2012-03-28 Keith Seitz <keiths@redhat.com>
5617
5618 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5619 starting with the global namespace.
5620
5621 2012-03-23 Doug Evans <dje@google.com>
5622
5623 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5624
5625 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5626
5627 * gdb.python/py-value.cc: Add test case for testing the
5628 methodology exposing C++ values to Python.
5629 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5630 exposing C++ values to Python.
5631 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5632
5633 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5634 Siddhesh Poyarekar <siddhesh@redhat.com>
5635
5636 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5637 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5638 (generate native core dump): Make the test unsupported if core cannot
5639 be generated.
5640
5641 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5642
5643 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5644 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5645 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5646
5647 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5648
5649 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5650
5651 2012-03-17 Doug Evans <dje@google.com>
5652
5653 * dg-extract-results.sh: Handle KFAILs.
5654
5655 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5656
5657 PR symtab/13777
5658 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5659
5660 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5661
5662 * gdb.ada/set_pckd_arr_elt: New testcase.
5663
5664 2012-03-16 Gary Benson <gbenson@redhat.com>
5665
5666 PR breakpoints/10738
5667 * gdb.opt/inline-break.exp: New file.
5668 * gdb.opt/inline-break.c: Likewise.
5669 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5670 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5671 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5672 * gdb.base/async-shell.exp: Likewise.
5673 * lib/mi-support.exp (library_loaded_re): Likewise.
5674
5675 2012-03-15 Tom Tromey <tromey@redhat.com>
5676
5677 * gdb.cp/virtfunc2.exp: Update expected output.
5678 * gdb.cp/pr9631.exp: Update expected output.
5679 * gdb.cp/member-ptr.exp: Update expected output.
5680 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5681 output.
5682 * gdb.cp/casts.exp: Update expected output.
5683
5684 2012-03-15 Tom Tromey <tromey@redhat.com>
5685
5686 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5687 (test_info_vtbl): Likewise.
5688 (do_tests): Call test_info_vtbl.
5689 * gdb.cp/virtfunc.cc (va): New global.
5690
5691 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5692
5693 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5694 describing DWARF data structures.
5695 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5696 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5697 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5698 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5699 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5700 * gdb.dwarf2/dw2-param-error.S: Likewise.
5701 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5702 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5703 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5704 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5705 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5706 * gdb.dwarf2/pr11465.S: Likewise.
5707
5708 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5709
5710 * gdb.mi/mi2-prompt.exp: New file.
5711
5712 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5713
5714 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5715
5716 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5717
5718 * gdb.ada/bp_range_type: New testcase.
5719
5720 2012-03-13 Doug Evans <dje@google.com>
5721
5722 * gdb.base/default.exp: Delete tests for symbol-reloading.
5723 * gdb.base/help.exp: Ditto.
5724 * gdb.base/setshow.exp: Ditto.
5725 * gdb.base/gdb_history: Delete references to symbol-reloading.
5726
5727 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5728
5729 * gdb.base/attach-twice.c: New files.
5730 * gdb.base/attach-twice.exp: New files.
5731
5732 2012-03-08 Keith Seitz <keiths@redhat.com>
5733
5734 * lib/gdb.exp (gdb_get_line_number): Throw an
5735 error instead of returning -1.
5736 * gdb.base/break.exp: Remove unused variable
5737 bp_location5.
5738 * gdb.base/hbreak2.exp: Likewise.
5739 * gdb.base/sepdebug.exp: Likewise.
5740
5741 2012-03-08 Yao Qi <yao@codesourcery.com>
5742 Pedro Alves <palves@redhat.com>
5743
5744 Fix PR server/13392.
5745 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5746 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5747 download tracepoints.
5748 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5749 (pending_tracepoint_resolved_during_trace): Likewise.
5750 (pending_tracepoint_installed_during_trace): Likewise.
5751 (pending_tracepoint_with_action_resolved): Likewise.
5752
5753 2012-03-08 Keith Seitz <keiths@redhat.com>
5754
5755 * gdb.ada/array_bounds.exp: Get breakpoint for line
5756 with "START", not "STOP".
5757 * gdb.python/py-infthread.exp: Do not continue to
5758 line marked "Break here.", which is undefined.
5759
5760 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
5761
5762 Revert:
5763
5764 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5765
5766 Implement testsuite workaround for PR breakpoints/13781.
5767 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5768 (set breakpoint condition-evaluation host): New conditional command.
5769
5770 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5771
5772 Fix CU relative vs. absolute DIE offsets.
5773 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5774 one.
5775
5776 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5777
5778 Fix false FAIL on distros with relro linkage as default.
5779 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5780 -Wl,-z,norelro first.
5781
5782 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5783
5784 * gdb.ada/bp_on_var: New testcase.
5785
5786 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5787
5788 * gdb.ada/bp_enum_homonym: New testcase.
5789
5790 2012-03-06 Yao Qi <yao@codesourcery.com>
5791
5792 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5793 x86_64-*-* and i?86-*-*.
5794 Set up KFAIL for gdb/13808.
5795
5796 2012-03-05 Tom Tromey <tromey@redhat.com>
5797
5798 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5799 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5800
5801 2012-03-05 Tom Tromey <tromey@redhat.com>
5802
5803 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5804
5805 2012-03-04 Yao Qi <yao@codesourcery.com>
5806
5807 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5808 messages for KFAIL.
5809
5810 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5811
5812 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5813 (print one_two_three, indexes off, print few_reps, indexes off)
5814 (print many_reps, indexes off, print empty, indexes off)
5815 (print one_two_three, print few_reps, print many_reps, print empty):
5816 Call setup_xfail if $gcc_old.
5817
5818 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5819
5820 Implement testsuite workaround for PR breakpoints/13781.
5821 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5822 (set breakpoint condition-evaluation host): New conditional command.
5823
5824 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5825
5826 Code cleanup.
5827 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5828 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5829 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5830 number 1 by $bpnum. Four times.
5831
5832 2012-03-03 Yao Qi <yao@codesourcery.com>
5833
5834 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5835
5836 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5837
5838 Setup KFAIL for PR server/13796.
5839 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5840
5841 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5842
5843 * gdb.ada/operator_bp: New testcase.
5844
5845 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5846
5847 * gdb.ada/info_locals_renaming: New testcase.
5848
5849 2012-03-02 Tom Tromey <tromey@redhat.com>
5850
5851 * gdb.base/nextoverexit.c: New file.
5852 * gdb.base/nextoverexit.exp: New file.
5853
5854 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5855
5856 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5857 parameter.
5858
5859 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5860
5861 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5862 core registers.
5863
5864 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5865 Maciej W. Rozycki <macro@codesourcery.com>
5866 Daniel Jacobowitz <dan@codesourcery.com>
5867
5868 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5869
5870 2012-03-01 Pedro Alves <palves@redhat.com>
5871
5872 PR gdb/13767
5873
5874 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5875 (gdb_collect_globals_test): Call it.
5876
5877 2012-03-01 Keith Seitz <keiths@redhat.com>
5878
5879 * gdb.cp/method2.exp: Output of overload menu is now
5880 alphabetized. Update tests for "break A::method".
5881 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5882 of hard-coding them.
5883 Overload menu is alphabetized: rewrite to accommodate.
5884 Unset variables LINE and TYPES which are used in other tests.
5885 Compute the output of "info break".
5886 Update the breakpoint table after all breakpoints are deleted.
5887 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5888 compute ACTUALS and the method body based on parameters.
5889 Update expected output accordingly.
5890 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5891 unique comments to allow the use of gdb_get_line_number.
5892
5893 2012-03-01 Keith Seitz <keiths@redhat.com>
5894
5895 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5896 some Tcl syntax.
5897 * gdb.cp/ovldbreak.exp: Likewise.
5898
5899 2012-03-01 Keith Seitz <keiths@redhat.com>
5900
5901 * gdb.base/help.exp (help show user): Update expected result
5902 for new doc string changes (add "non-python").
5903
5904 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
5905
5906 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5907 be put in the user-defined category and that the commands appear in
5908 "help user-defined".
5909
5910 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5911
5912 * gdb.ada/tagged_not_init: New testcase.
5913
5914 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5915
5916 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5917 * gdb.ada/enum_idx_packed: New testcase.
5918
5919 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5920
5921 * gdb.ada/aliased_array: New testcase.
5922
5923 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5924
5925 * gdb.ada/whatis_array_val: New testcase.
5926
5927 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5928
5929 Fix disp-step-syscall.exp: fork: single step over fork.
5930 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5931 whitespaces.
5932 (single step over $syscall): Remove its check.
5933 (single step over $syscall final pc): New check.
5934
5935 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5936
5937 Support processors without SSSE3.
5938 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5939 pabsd into ...
5940 (ssse3_test): ... a new function.
5941 (main): Call ssse3_test.
5942 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5943 Update expected values everywhere.
5944 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5945 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5946 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5947 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5948 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5949 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5950 Move these tests lower.
5951 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5952 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5953 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5954 New tests.
5955
5956 2012-02-29 Yao Qi <yao@codesourcery.com>
5957 Pedro Alves <palves@redhat.com>
5958
5959 * gdb.trace/trace-mt.c: New.
5960 * gdb.trace/trace-mt.exp: New.
5961
5962 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5963
5964 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5965 numbers instead of hardcoding them.
5966 * gdb.base/annota1.c: Provide suitable markers.
5967 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5968 numbers instead of hardcoding them.
5969 * gdb.base/annota3.c: Provide suitable markers.
5970
5971 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5972 * gdb.base/annota3.c: Likewise.
5973 * gdb.base/sigall.c: Likewise.
5974 * gdb.base/signals.c: Likewise.
5975 * gdb.reverse/sigall-reverse.c: Likewise.
5976
5977 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5978
5979 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5980 failure return path.
5981
5982 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
5983
5984 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5985
5986 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
5987
5988 * gdb.base/cond-eval-mode.exp: New file.
5989
5990 2012-02-24 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5993 (top level): Use with_test_prefix.
5994
5995 2012-02-24 Pedro Alves <palves@redhat.com>
5996
5997 * gdb.threads/attach-into-signal.exp (corefunc): Use
5998 with_test_prefix.
5999
6000 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6001
6002 Fix false FAILs on old CPUs without SSE.
6003 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6004 Return untested for Illegal instruction.
6005
6006 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6007
6008 Fix false FAILs with glibc debug infos installed.
6009 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6010 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6011
6012 2012-02-22 Sterling Augustine <saugustine@google.com>
6013
6014 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6015 constant with cast.
6016
6017 2012-02-21 Pedro Alves <palves@redhat.com>
6018
6019 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6020
6021 2012-02-21 Pedro Alves <palves@redhat.com>
6022
6023 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6024
6025 2012-02-21 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6028 with_test_prefix.
6029
6030 2012-02-21 Pedro Alves <palves@redhat.com>
6031
6032 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6033 with_test_prefix here.
6034 (top level): Do it here instead. Remove `:' from the
6035 with_test_prefix string.
6036 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6037 the suffix `:' from the with_test_prefix prefix string.
6038 * gdb.base/break-interp.exp: Ditto.
6039 * gdb.base/catch-load.exp: Ditto.
6040 * gdb.base/disp-step-syscall.exp: Ditto.
6041 * gdb.base/jit-so.exp: Ditto.
6042 * gdb.base/jit.exp: Ditto.
6043 * gdb.base/sepdebug.exp: Ditto.
6044 * gdb.base/solib-display.exp: Ditto.
6045 * gdb.base/solib-overlap.exp: Ditto.
6046 * gdb.base/watch-cond-infcall.exp: Ditto.
6047 * gdb.base/watchpoint.exp: Ditto.
6048 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6049 * gdb.mi/mi-watch.exp: Ditto.
6050 * gdb.mi/mi2-watch.exp: Ditto.
6051 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6052 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6053 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6054 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6055 * gdb.threads/watchpoint-fork.exp: Ditto.
6056 * gdb.threads/watchthreads-reorder.exp: Ditto.
6057 * gdb.trace/change-loc.exp: Ditto.
6058 * gdb.trace/pending.exp: Ditto.
6059 * gdb.trace/status-stop.exp: Ditto.
6060 * gdb.trace/strace.exp: Ditto.
6061 * gdb.trace/trace-break.exp: Ditto.
6062 * gdb.trace/unavailable.exp: Ditto.
6063 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6064 suffix with colon. Adjust leading comments.
6065
6066 2012-02-21 Pedro Alves <palves@redhat.com>
6067 Tom Tromey <tromey@redhat.com>
6068
6069 * lib/gdb.exp: Add description of test prefixes.
6070 (with_test_prefix): New procedure.
6071 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6072 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6073 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6074 instead of lappend to append to pf_prefix.
6075 * gdb.base/catch-load.exp: Use with_test_prefix.
6076 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6077 * gdb.base/jit-so.exp: Use with_test_prefix.
6078 * gdb.base/jit.exp: Use with_test_prefix.
6079 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6080 lappend to append to pf_prefix.
6081 * gdb.base/sepdebug.exp: Use with_test_prefix.
6082 * gdb.base/solib-display.exp: Use with_test_prefix.
6083 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6084 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6085 * gdb.base/watchpoint.exp: Use with_test_prefix.
6086 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6087 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6088 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6089 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6090 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6091 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6092 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6093 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6094 append instead of lappend to append to pf_prefix.
6095 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6096 * gdb.trace/change-loc.exp: Use with_test_prefix.
6097 * gdb.trace/pending.exp: Use with_test_prefix.
6098 * gdb.trace/status-stop.exp: Use with_test_prefix.
6099 * gdb.trace/strace.exp: Use with_test_prefix.
6100 * gdb.trace/trace-break.exp: Use with_test_prefix.
6101 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6102 instead of lappend to append to pf_prefix.
6103
6104 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6105
6106 Fix racy FAILs.
6107 * gdb.base/inferior-died.c (main): Add return of 0.
6108 * gdb.base/inferior-died.exp (continue): Fix expectation of
6109 asynchronous events.
6110 (p 1): New test.
6111
6112 2012-02-20 Pedro Alves <palves@redhat.com>
6113
6114 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6115 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6116 gdb's internal debug output. For the non-threaded case, look for
6117 "Program received signal SIGLARM", for the threaded case, peek at
6118 the thread's siginfo.
6119
6120 2012-02-20 Pedro Alves <palves@redhat.com>
6121
6122 General cleanup, make output test messages unique, and build
6123 different executable files for the non-threaded and threaded
6124 cases.
6125
6126 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6127 Delete.
6128 (executable_nothr, executable_thr): New globals.
6129 (top level): Adjust to delete both executables.
6130 (corefunc): New parameter $executable. Set $pf_prefix instead of
6131 hand writing a prefix in tests. Issue a clean_restart and enable
6132 lin-lwp debug output here.
6133 (top level): Adjust. Use build_executable. Don't start gdb here,
6134 and don't enable lin-lwp debug output here.
6135 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6136
6137 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6138
6139 Fix racy FAILs.
6140 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6141 "continue" command.
6142
6143 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6144
6145 Fix for gdbserver non-extended mode.
6146 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6147 and gdb_run_cmd.
6148
6149 2012-02-17 Tom Tromey <tromey@redhat.com>
6150
6151 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6152 * gdb.python/py-events.exp: Check 'dir' output.
6153 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6154
6155 2012-02-17 Yao Qi <yao@codesourcery.com>
6156
6157 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6158
6159 2012-02-16 Tom Tromey <tromey@redhat.com>
6160
6161 * gdb.base/inferior-died.c: Don't include stdio.h.
6162
6163 2012-02-16 Tom Tromey <tromey@redhat.com>
6164
6165 * gdb.base/inferior-died.c: New file.
6166 * gdb.base/inferior-died.exp: New file.
6167
6168 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6169
6170 * gdb.base/break-inline.exp: New file.
6171 * gdb.base/break-inline.c: New file.
6172
6173 2012-02-15 Tom Tromey <tromey@redhat.com>
6174
6175 * gdb.base/pc-fp.exp: Add "info register" tests.
6176
6177 2012-02-15 Tom Tromey <tromey@redhat.com>
6178
6179 * gdb.base/regs.exp: Remove.
6180
6181 2012-02-15 Pedro Alves <palves@redhat.com>
6182
6183 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6184 the target doesn't support tracepoints.
6185 * gdb.trace/circ.exp: Ditto.
6186 * gdb.trace/collection.exp: Ditto.
6187 * gdb.trace/packetlen.exp: Ditto.
6188 * gdb.trace/passc-dyn.exp: Ditto.
6189 * gdb.trace/report.exp: Ditto.
6190 * gdb.trace/tfind.exp: Ditto.
6191 * gdb.trace/tspeed.exp: Ditto.
6192 * gdb.trace/tsv.exp: Ditto.
6193 * gdb.trace/unavailable.exp: Ditto.
6194 * gdb.trace/while-dyn.exp: Ditto.
6195
6196 2012-02-15 Pedro Alves <palves@redhat.com>
6197
6198 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6199 gdb_test_multiple, and call unsupported instead of fail, if the
6200 remote side does not support the request.
6201
6202 2012-02-15 Pedro Alves <palves@redhat.com>
6203
6204 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6205 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6206 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6207 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6208 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6209 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6210 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6211 doesn't start with "extended-" already.
6212
6213 2012-02-15 Pedro Alves <palves@redhat.com>
6214
6215 Support extended-remote. Avoid cascading timeouts.
6216
6217 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6218 the extended-remote target. If attaching with no file fails, load
6219 the file manually.
6220 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6221
6222 2012-02-14 Stan Shebs <stan@codesourcery.com>
6223
6224 * gdb.base/ena-dis-br.exp: Add enable count test.
6225
6226 2012-02-13 Pedro Alves <palves@redhat.com>
6227
6228 * config/mips-idt.exp: Delete.
6229 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6230 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6231 * gdb.base/break.exp: Remove mips-idt references.
6232 * gdb.base/chng-syms.exp: Ditto.
6233 * gdb.base/default.exp: Ditto.
6234 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6235 (top level): Don't call it.
6236 * gdb.base/opaque.exp: Remove mips-idt restarts.
6237 * gdb.base/ptype.exp: Remove mips-idt xfails.
6238 * gdb.base/scope.exp: Remove mips-idt restarts.
6239 * gdb.base/sepdebug.exp: Remove mips-idt references.
6240 * gdb.base/watchpoint.exp (maybe_clean_restart)
6241 (maybe_reinitialize): Delete.
6242 (test_disabling_watchpoints, test_disabling_watchpoints)
6243 (test_watchpoint_triggered_in_syscall)
6244 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6245 Don't call them.
6246
6247 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6248
6249 * gdb.server/server-exec-info.exp: New file.
6250
6251 2012-02-10 Pedro Alves <palves@redhat.com>
6252
6253 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6254 always non-empty.
6255 (test_attach): Always pass $exec to test_attach_gdb.
6256
6257 2012-02-08 Tom Tromey <tromey@redhat.com>
6258
6259 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6260 before inferior is started.
6261
6262 2012-02-07 Tom Tromey <tromey@redhat.com>
6263
6264 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6265 Symbol.value.
6266 * gdb.python/py-symbol.c (qq): Set default value.
6267
6268 2012-02-07 Tom Tromey <tromey@redhat.com>
6269
6270 * gdb.python/py-symbol.c (qq): New global.
6271 * gdb.python/py-symbol.exp: Add test for frame-less
6272 lookup_symbol.
6273 * gdb.python/py-symtab.exp: Fix line number.
6274
6275 2012-02-03 Joel Brobecker <brobecker@adacore.com>
6276
6277 * gdb.ada/mi_task_arg: New testcase.
6278
6279 2012-02-02 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6282 extended timeout.
6283
6284 2012-02-02 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6287 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6288
6289 2012-02-02 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.base/term.exp: Rewrite.
6292 * gdb.base/term.c: New.
6293
6294 2012-02-02 Pedro Alves <palves@redhat.com>
6295
6296 * gdb.base/default.exp (run "r" abbreviation, run): Add
6297 extended-remote expected output.
6298
6299 2012-02-02 Tom Tromey <tromey@redhat.com>
6300
6301 * gdb.cp/dispcxx.exp: New file.
6302 * gdb.cp/dispcxx.cc: New file.
6303
6304 2012-02-01 Tom Tromey <tromey@redhat.com>
6305
6306 * gdb.base/jit-simple.exp: New file.
6307 * gdb.base/jit-simple.c: New file.
6308
6309 2012-01-30 Yao Qi <yao@codesourcery.com>
6310
6311 * gdb.base/skip.exp: Make test result unique.
6312
6313 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6314
6315 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6316 compatibility with valgrind-3.7.0.
6317
6318 2012-01-27 Pedro Alves <palves@redhat.com>
6319
6320 * gdb.base/watchpoint.exp (no_hw): New global.
6321 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6322 disable hw watchpoints.
6323 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6324 don't expect hw watchpoints.
6325 (no_hw_watchpoints): Always clean restart.
6326 (do_tests): New procedure, factored out from the top level.
6327 (top level): Run tests twice. Once with hw watchpoints enabled,
6328 another time with hw watchpoints disabled.
6329
6330 2012-01-27 Pedro Alves <palves@redhat.com>
6331
6332 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6333 out from the top level.
6334 (top level): Call it instead.
6335
6336 2012-01-27 Pedro Alves <palves@redhat.com>
6337
6338 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6339 watchpoints sooner.
6340
6341 2012-01-27 Pedro Alves <palves@redhat.com>
6342
6343 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6344
6345 2012-01-27 Pedro Alves <palves@redhat.com>
6346
6347 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6348 "You may have requested too many hardware
6349 breakpoints/watchpoints".
6350
6351 2012-01-27 Pedro Alves <palves@redhat.com>
6352
6353 * gdb.base/watchpoint.exp (maybe_clean_restart)
6354 (maybe_reinitialize): New.
6355 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6356 expect "hit N times".
6357 (test_disabling_watchpoints, test_complex_watchpoint)
6358 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6359 Call maybe_clean_restart.
6360 (top level): Use clean_restart. Remove "mips-idt-*"
6361 reinitialization.
6362
6363 2012-01-27 Pedro Alves <palves@redhat.com>
6364
6365 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6366
6367 2012-01-27 Pedro Alves <palves@redhat.com>
6368
6369 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6370 require `initialize' anymore. Remove unnecessary `initialize'
6371 calls.
6372
6373 2012-01-27 Pedro Alves <palves@redhat.com>
6374
6375 * gdb.base/watchpoint.exp (wp_set): Delete.
6376 (initialize, test_simple_watchpoint, top level): Remove dead code.
6377
6378 2012-01-27 Pedro Alves <palves@redhat.com>
6379
6380 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6381 typo.
6382
6383 2012-01-27 Pedro Alves <palves@redhat.com>
6384
6385 * config/extended-gdbserver.exp: New file.
6386 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6387 comment.
6388 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6389 * boards/native-extended-gdbserver.exp: New file.
6390
6391 2012-01-26 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6394 and gdb_test_multiple.
6395
6396 2012-01-26 Pedro Alves <palves@redhat.com>
6397
6398 Make test messages unique, and more identifiable.
6399 * gdb.multi/watchpoint-multi.exp: Change test messages.
6400
6401 2012-01-25 Tom Tromey <tromey@redhat.com>
6402
6403 * gdb.base/solib-disc.exp: Fix regexps.
6404
6405 2012-01-24 Tom Tromey <tromey@redhat.com>
6406
6407 * lib/mi-support.exp (mi_expect_stop): Add special case for
6408 solib-event.
6409 * gdb.base/catch-load-so.c: New file.
6410 * gdb.base/catch-load.exp: New file.
6411 * gdb.base/catch-load.c: New file.
6412 * gdb.base/break-interp.exp (reach_1): Update regexp.
6413
6414 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6415
6416 Fix fuzzy results.
6417 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6418 lpsimple and func.
6419
6420 2012-01-24 Gary Benson <gbenson@redhat.com>
6421
6422 Delete #if 0'd out code.
6423 * gdb.base/default.exp (info catch): Remove.
6424 * gdb.base/gdb_history (info catch): Likewise.
6425 * gdb.base/help.exp (info catch): Likewise.
6426
6427 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6428
6429 Fix watchpoints to be specific for each inferior.
6430 * gdb.multi/watchpoint-multi.c: New file.
6431 * gdb.multi/watchpoint-multi.exp: New file.
6432
6433 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6434
6435 Fix watchpoints across inferior fork.
6436 * gdb.threads/watchpoint-fork-child.c: New file.
6437 * gdb.threads/watchpoint-fork-mt.c: New file.
6438 * gdb.threads/watchpoint-fork-parent.c: New file.
6439 * gdb.threads/watchpoint-fork-st.c: New file.
6440 * gdb.threads/watchpoint-fork.exp: New file.
6441 * gdb.threads/watchpoint-fork.h: New file.
6442
6443 2012-01-23 Pedro Alves <palves@redhat.com>
6444
6445 * gdb.base/call-signal-resume.exp: Allow output after "return".
6446
6447 2012-01-20 Pedro Alves <palves@redhat.com>
6448
6449 * gdb.python/py-finish-breakpoint.py: Fix typo.
6450
6451 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6452
6453 * gdb.base/info-proc.exp: Also run on remote targets. Main
6454 "info proc" command is now always present; whether target supports
6455 actual info proc operation is detected when attempting to issue
6456 the command.
6457
6458 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6459
6460 * .gdbinit: Remove.
6461
6462 2012-01-19 Pedro Alves <palves@redhat.com>
6463
6464 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6465 look at the funtions' returns.
6466 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6467 (jprint.print(int, int)): Change return type to int. Adjust.
6468
6469 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6470
6471 PR gdb/9538
6472 * gdb.base/sepdebug.exp: New test.
6473
6474 2012-01-18 Pedro Alves <palves@redhat.com>
6475
6476 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6477 Allow output before ^done.
6478
6479 2012-01-16 Tom Tromey <tromey@redhat.com>
6480
6481 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6482 Add tests for relative directory.
6483
6484 2012-01-16 Tom Tromey <tromey@redhat.com>
6485
6486 * gdb.base/printcmds.c (enum flag_enum): New.
6487 (three): New global.
6488 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6489 enum printing.
6490 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6491 FlagEnumerationPrinter.
6492 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6493 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6494 (fval): New global.
6495
6496 2012-01-16 Pedro Alves <palves@redhat.com>
6497
6498 * lib/gdb.exp (banned_procedures): New variable.
6499 (banned_variables_traced): Rename to ...
6500 (banned_traced): ... this.
6501 (gdb_init): Also trace banned procedures.
6502 (gdb_finish): Also untrace banned procedures.
6503
6504 2012-01-16 Pedro Alves <palves@redhat.com>
6505
6506 Remove all calls to strace.
6507
6508 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6509
6510 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6511 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6512
6513 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6514
6515 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6516 * gdb.base/pie-execl.exp: Likewise.
6517
6518 2012-01-12 Keith Seitz <keiths@redhat.com>
6519
6520 PR mi/10586
6521 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6522 (do_anonymous_type_tests): New function.
6523 (main): Call do_anonymous_type_tests.
6524 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6525 (verify_everything): New procedure.
6526 * gdb.mi/mi-var-cp.cc (class A): New class.
6527 (anonymous_structs_and_unions): New function.
6528 (main): Call anonymous_structs_and_unions.
6529 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6530 (verify_everything): New procedure.
6531
6532 2012-01-12 Keith Seitz <keiths@redhat.com>
6533
6534 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6535 (varobj_tree::get_path_expr): Assume that all varobjs are
6536 compound unless they are known simple types.
6537 Adjust path expressions based on parent type, path parent type,
6538 and tree language.
6539 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6540 the root varobj.
6541 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6542
6543 2012-01-11 Pedro Alves <palves@redhat.com>
6544
6545 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6546 core files on this machine" anymore.
6547
6548 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6549
6550 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6551 (main): Repeat recurser call.
6552 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6553 equivalent to 'local_x'.
6554
6555 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6556 Joel Brobecker <brobecker@adacore.com>
6557
6558 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6559
6560 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6561
6562 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6563 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6564 * gdb.python/py-events.exp: Test that "step N" tripping on a
6565 breakpoint emits a breakpoint event.
6566
6567 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6568
6569 * gdb.base/auxv.exp: Reformat the copyright notice.
6570
6571 2012-01-03 Yao Qi <yao@codesourcery.com>
6572
6573 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6574 (strace_trace_on_diff_addr): New.
6575 * gdb.trace/strace.c: (main): Add two local variables.
6576
6577 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6578
6579 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6580 * gdb.cell/gcore.exp: Likewise.
6581 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6582 to verify the correct instance of main is selected.
6583
6584 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6585
6586 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6587 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6588 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6589 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6590 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6591 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6592 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6593 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6594 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6595 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6596 gdb.threads/thread_check.c: Reformat copyright header.
6597
6598 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6599
6600 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6601 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6602 is not enabled.
6603
6604 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6605
6606 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6607 parameter to self_exec, adjust the function.
6608 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6609 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6610 (set var do_exit = 0): Remove test.
6611 (newline at end of file): Add one.
6612
6613 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6614
6615 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6616 New files.
6617
6618 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6619
6620 Fix racy FAILs.
6621 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6622 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6623 (main): Call pthread_barrier_init for it.
6624
6625 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6626
6627 Fix double send_gdb leading to racy FAILs.
6628 * gdb.base/break.exp (set silent break bp_location1): Replace
6629 3x send_gdb and gdb_expect by gdb_test.
6630 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6631 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6632 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6633 instead of send_gdb. Twice.
6634 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6635 3x send_gdb and gdb_expect by gdb_test.
6636 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6637
6638 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6639
6640 * gdb.linespec/linespec.exp: Compile using {c++}.
6641
6642 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6643
6644 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6645 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6646 (verify GCC PR debug/51668): New test.
6647
6648 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6649
6650 Introduce gdb.FinishBreakpoint in Python.
6651 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6652 py-finish-breakpoint2
6653 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6654 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6655 instead of line number.
6656 * gdb.python/py-finish-breakpoint.c: New file.
6657 * gdb.python/py-finish-breakpoint.exp: New file.
6658 * gdb.python/py-finish-breakpoint.py: New file.
6659 * gdb.python/py-finish-breakpoint2.cc: New file.
6660 * gdb.python/py-finish-breakpoint2.exp: New file.
6661 * gdb.python/py-finish-breakpoint2.py: New file.
6662
6663 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6664
6665 Partial fix of compatibility with gcc-4.7.
6666 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6667 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6668 Add comment to add a PASS case in the future.
6669
6670 Fix compatibility with gcc-4.7.
6671 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6672
6673 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6674
6675 PR tdep/12797
6676 * gdb.base/callfuncs.exp: Remove KFAIL.
6677
6678 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6679
6680 * gdb.ada/task_bp: New testcase.
6681
6682 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6683
6684 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6685 -DNO_SECTIONS.
6686 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6687
6688 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6689
6690 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6691 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6692 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6693 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6694 conditional for gcc <= 4.5.
6695
6696 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6697
6698 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6699 by XFAIL.
6700 * gdb.cp/static-method.exp (info addr A::func())
6701 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6702 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6703 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6704 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6705 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6706 (test value of F in k3_m): Likewise.
6707 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6708 Likewise.
6709
6710 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6711
6712 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6713 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6714 Remove.
6715 * gdb.threads/attachstop-mt.c: Remove.
6716 * gdb.threads/attachstop-mt.exp: Remove.
6717
6718 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6719
6720 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6721
6722 2011-12-16 Doug Evans <dje@google.com>
6723
6724 * boards/native-stdio-gdbserver.exp: New file.
6725 * boards/native-gdbserver.exp: New file.
6726
6727 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6728 gdbserver output.
6729 (gdbserver_default_get_remote_address): New function.
6730 (gdbserver_start): Call gdb,get_remote_address to compute argument
6731 to "target remote" command.
6732
6733 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6734
6735 * gdb.python/py-function.exp: Change "on" to "full" for
6736 python print-stack. Add set/show python print-stack
6737 off|full|message tests.
6738
6739 2011-12-15 Yao Qi <yao@codesourcery.com>
6740
6741 * gdb.trace/strace.c: New
6742 * gdb.trace/strace.exp: New.
6743
6744 2011-12-14 Tom Tromey <tromey@redhat.com>
6745
6746 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6747
6748 2011-12-14 Doug Evans <dje@google.com>
6749
6750 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6751
6752 2011-12-14 Pedro Alves <pedro@codesourcery.com>
6753
6754 PR threads/10729
6755
6756 * gdb.mi/watch-nonstop.c: New file.
6757 * gdb.mi/mi-watch-nonstop.exp: New file.
6758
6759 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6760 Doug Evans <dje@google.com>
6761
6762 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6763 (clean_restart): Remove references to the gdb_stub target board
6764 variable.
6765 (gdb_step_for_stub): Delete.
6766
6767 * gdb.base/annota1.exp: Remove all references to [target_info
6768 exists gdb_stub], gdb_step_for_stub and usestubs.
6769 * gdb.base/annota3.exp: Ditto.
6770 * gdb.base/async.exp: Ditto.
6771 * gdb.base/break.exp: Ditto.
6772 * gdb.base/code-expr.exp: Ditto.
6773 * gdb.base/commands.exp: Ditto.
6774 * gdb.base/completion.exp: Ditto.
6775 * gdb.base/condbreak.exp: Ditto.
6776 * gdb.base/consecutive.exp: Ditto.
6777 * gdb.base/cvexpr.exp: Ditto.
6778 * gdb.base/define.exp: Ditto.
6779 * gdb.base/display.exp: Ditto.
6780 * gdb.base/ena-dis-br.exp: Ditto.
6781 * gdb.base/environ.exp: Ditto.
6782 * gdb.base/gnu-ifunc.exp: Ditto.
6783 * gdb.base/maint.exp: Ditto.
6784 * gdb.base/pending.exp: Ditto.
6785 * gdb.base/sect-cmd.exp: Ditto.
6786 * gdb.base/sepdebug.exp: Ditto.
6787 * gdb.base/unload.exp: Ditto.
6788 * gdb.base/watchpoint-solib.exp: Ditto.
6789 * gdb.cp/annota2.exp: Ditto.
6790 * gdb.cp/annota3.exp: Ditto.
6791 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6792 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6793 * gdb.mi/mi-pending.exp: Ditto.
6794 * gdb.trace/circ.exp: Ditto.
6795 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6796 * gdb.base/list.exp: Ditto.
6797
6798 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6799 breakpoint function and all references to the usestubs macro.
6800 * gdb.base/exprs.c: Ditto.
6801 * gdb.base/freebpcmd.c: Ditto.
6802 * gdb.base/bitfields.c: Ditto.
6803 * gdb.base/bitfields2.c: Ditto.
6804 * gdb.base/break.c: Ditto.
6805 * gdb.base/call-sc.c: Ditto.
6806 * gdb.base/call-signals.c: Ditto.
6807 * gdb.base/callfuncs.c: Ditto.
6808 * gdb.base/charset.c: Ditto.
6809 * gdb.base/consecutive.c: Ditto.
6810 * gdb.base/constvars.c: Ditto.
6811 * gdb.base/funcargs.c: Ditto.
6812 * gdb.base/int-type.c: Ditto.
6813 * gdb.base/interrupt.c: Ditto.
6814 * gdb.base/langs0.c: Ditto.
6815 * gdb.base/list0.c: Ditto.
6816 * gdb.base/mips_pro.c: Ditto.
6817 * gdb.base/miscexprs.c: Ditto.
6818 * gdb.base/nodebug.c: Ditto.
6819 * gdb.base/opaque0.c: Ditto.
6820 * gdb.base/pointers.c: Ditto.
6821 * gdb.base/printcmds.c: Ditto.
6822 * gdb.base/ptype.c: Ditto.
6823 * gdb.base/recurse.c: Ditto.
6824 * gdb.base/reread1.c: Ditto.
6825 * gdb.base/reread2.c: Ditto.
6826 * gdb.base/restore.c: Ditto.
6827 * gdb.base/return.c: Ditto.
6828 * gdb.base/run.c: Ditto.
6829 * gdb.base/scope0.c: Ditto.
6830 * gdb.base/sepdebug.c: Ditto.
6831 * gdb.base/setshow.c: Ditto.
6832 * gdb.base/setvar.c: Ditto.
6833 * gdb.base/sigall.c: Ditto.
6834 * gdb.base/signals.c: Ditto.
6835 * gdb.base/structs.c: Ditto.
6836 * gdb.base/structs2.c: Ditto.
6837 * gdb.base/testenv.c: Ditto.
6838 * gdb.base/twice.c: Ditto.
6839 * gdb.base/unwindonsignal.c: Ditto.
6840 * gdb.base/watchpoint.c: Ditto.
6841 * gdb.base/watchpoints.c: Ditto.
6842 * gdb.base/whatis.c: Ditto.
6843 * gdb.cp/classes.cc: Ditto.
6844 * gdb.cp/cplusfuncs.cc: Ditto.
6845 * gdb.cp/derivation.cc: Ditto.
6846 * gdb.cp/formatted-ref.cc: Ditto.
6847 * gdb.cp/misc.cc: Ditto.
6848 * gdb.cp/overload.cc: Ditto.
6849 * gdb.cp/ovldbreak.cc: Ditto.
6850 * gdb.cp/ref-params.cc: Ditto.
6851 * gdb.cp/ref-types.cc: Ditto.
6852 * gdb.cp/templates.cc: Ditto.
6853 * gdb.cp/virtfunc.cc: Ditto.
6854 * gdb.hp/gdb.aCC/run.c: Ditto.
6855 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6856 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6857 * gdb.reverse/consecutive-reverse.c: Ditto.
6858 * gdb.reverse/sigall-reverse.c: Ditto.
6859 * gdb.reverse/until-reverse.c: Ditto.
6860 * gdb.reverse/watch-reverse.c: Ditto.
6861 * gdb.trace/actions.c: Ditto.
6862 * gdb.trace/circ.c: Ditto.
6863 * gdb.trace/collection.c: Ditto.
6864
6865 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6866
6867 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6868 (func6, func7): New.
6869 (main): Call func6 and func7.
6870 * gdb.base/watchpoint.exp (test_wide_location_1)
6871 (test_wide_location_2): New.
6872 (top level): Re-enable hardware watchpoints if necessary. Call
6873 test_wide_location_1 and test_wide_location_2.
6874
6875 2011-12-11 Yao Qi <yao@codesourcery.com>
6876
6877 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6878
6879 2011-12-11 Joel Brobecker <brobecker@adacore.com>
6880
6881 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6882 expected output for unsupported case.
6883
6884 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6885
6886 PR testsuite/12649
6887 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6888 Protect gdb_test_multiple by final $gdb_prompt match.
6889
6890 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6893 New variable, new test.
6894 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6895 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6896 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6897 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6898 them if HAVE_GCC_45682_FIXED is not set.
6899
6900 2011-12-10 Yao Qi <yao@codesourcery.com>
6901
6902 * gdb.trace/status-stop.exp: New.
6903 * gdb.trace/status-stop.c: New.
6904
6905 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6906
6907 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6908 timeout.
6909
6910 2011-12-08 Tom Tromey <tromey@redhat.com>
6911
6912 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6913 condition.
6914
6915 2011-12-07 Stan Shebs <stan@codesourcery.com>
6916
6917 * gdb.trace/tfind.exp: Update for output changes.
6918
6919 2011-12-07 Pedro Alves <pedro@codesourcery.com>
6920
6921 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6922 throws "Cannot insert catchpoints in this configuration".
6923 * gdb.ada/mi_catch_ex.exp: Likewise.
6924
6925 2011-12-06 Pedro Alves <pedro@codesourcery.com>
6926
6927 * gdb.base/break-always.exp: Test changing memory at addresses
6928 with breakpoints inserted.
6929
6930 2011-12-06 Joel Brobecker <brobecker@acacore.com>
6931
6932 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6933 involving a fully qualified function name.
6934
6935 2011-12-06 Tom Tromey <tromey@redhat.com>
6936
6937 * gdb.ada/homonym.exp: Add three breakpoint tests.
6938
6939 2011-12-06 Tom Tromey <tromey@redhat.com>
6940
6941 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6942 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6943 * gdb.objc/objcdecode.exp: Update for output changes.
6944 * gdb.linespec/linespec.exp: New file.
6945 * gdb.linespec/lspec.cc: New file.
6946 * gdb.linespec/lspec.h: New file.
6947 * gdb.linespec/body.h: New file.
6948 * gdb.linespec/base/two/thefile.cc: New file.
6949 * gdb.linespec/base/one/thefile.cc: New file.
6950 * gdb.linespec/Makefile.in: New file.
6951 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6952 output changes.
6953 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6954 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6955 makes one breakpoint.
6956 * gdb.cp/method2.exp (test_break): Update for output changes.
6957 * gdb.cp/mb-templates.exp: Update for output changes.
6958 * gdb.cp/mb-inline.exp: Update for output changes.
6959 * gdb.cp/mb-ctor.exp: Update for output changes.
6960 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6961 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6962 has multiple matches.
6963 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6964 error message change.
6965 * gdb.base/list.exp (test_list_filename_and_number): Update for
6966 error message change.
6967 * gdb.base/break.exp: Disable pending breakpoints. Update for
6968 output changes.
6969 * configure.ac: Add gdb.linespec.
6970 * configure: Rebuild.
6971 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6972
6973 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6974
6975 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6976 last_break register on s390*-*-* targets.
6977
6978 2011-12-06 Joel Brobecker <brobecker@adacore.com>
6979
6980 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6981 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6982 of parameter X in procedure Foo.
6983
6984 2011-12-05 Stan Shebs <stan@codesourcery.com>
6985
6986 * gdb.trace/tfind.exp: Update help string matches.
6987
6988 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6989
6990 * gdb.server/ext-run.exp (get process list): Accept also systemd
6991 as PID 1.
6992
6993 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6994 Pedro Alves <pedro@codesourcery.com>
6995
6996 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6997 starting GDB.
6998 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6999 $use_gdb_stub.
7000 * gdb.base/display.exp: Likewise.
7001 * gdb.base/ending-run.exp: Likewise.
7002 * gdb.base/list.exp (test_listsize): Likewise.
7003 * gdb.base/setshow.exp: Likewise.
7004 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7005 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7006 check by global $use_gdb_stub.
7007 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7008 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7009 (default_gdb_init): Unset global $use_gdb_stub.
7010 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7011 by global $use_gdb_stub.
7012 * lib/gdbserver-support.exp: Extend comments for set_board_info
7013 gdb_protocol and gdb,socketport.
7014 (gdbserver_start_extended): Set global gdbserver_protocol and
7015 gdbserver_gdbport. Clear global use_gdb_stub.
7016 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7017 from target use_gdb_stub.
7018 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7019
7020 2011-12-03 Doug Evans <dje@google.com>
7021
7022 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7023 (gdb_step_for_stub): Add comments.
7024
7025 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7026
7027 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7028 to the caller.
7029 (gdb_test_multiple): Likewise.
7030
7031 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7032
7033 Fix gdb.mi/mi-solib.exp without system debug info installed.
7034 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7035 expect attribute, return 0 for it. Update comments.
7036
7037 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7038
7039 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7040 (corrupted list): Adjust the expectation.
7041
7042 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7043
7044 PR threads/13448
7045 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7046 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7047 * gdb.threads/tls-var-main.c: New file.
7048 * gdb.threads/tls-var.c: New file.
7049 * gdb.threads/tls-var.exp: New file.
7050
7051 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7052
7053 PR testsuite/12649
7054 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7055 Protect gdb_test_multiple by final $gdb_prompt match.
7056 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7057 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7058 (test_tracepoints): Likewise.
7059
7060 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7061
7062 PR breakpoints/13346
7063 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7064 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7065 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7066
7067 2011-12-01 Joel Brobecker <brobecker@adacore.com>
7068
7069 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7070 * gdb.ada/homonym/homonym.adb: For use of all types defined
7071 locally inside both Get_Value subprograms.
7072
7073 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 Fix racy FAILs.
7076 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7077 of send_gdb.
7078
7079 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7080
7081 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7082 environment variable after test completed.
7083
7084 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7085
7086 * gdb.base/solib-nodir.exp: Skip if remote target.
7087 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7088 application. Call gdb_load_shlibs.
7089 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7090
7091 2011-11-29 Joel Brobecker <brobecker@adacore.com>
7092
7093 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7094
7095 2011-11-28 Joel Brobecker <brobecker@adacore.com>
7096
7097 * gdb.ada/fullname_bp: New testcase.
7098
7099 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7100
7101 PR testsuite/12649
7102 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7103 Wrap send_gdb into a new gdb_test.
7104
7105 Code cleanup.
7106 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7107 Convert send_gdb and gdb_expect to gdb_test_multiple.
7108
7109 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7110
7111 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7112
7113 2011-11-23 Keith Seitz <keiths@redhat.com>
7114
7115 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7116 (mi_varobj_tree_test_children_callback): New proc.
7117 (mi_walk_varobj_tree): New proc.
7118
7119 2011-11-22 Tom Tromey <tromey@redhat.com>
7120
7121 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7122 Add "use_mi_command" argument.
7123 (mi_run_cmd, mi_run_with_cli): New procs.
7124 * gdb.mi/solib-lib.c: New file.
7125 * gdb.mi/solib-main.c: New file.
7126 * gdb.mi/mi-solib.exp: New file.
7127
7128 2011-11-21 Doug Evans <dje@google.com>
7129
7130 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7131 _Unwind_DebugHook is missing.
7132
7133 2011-11-20 Stan Shebs <stan@codesourcery.com>
7134
7135 * gdb.trace/tstatus.exp: New.
7136 * gdb.trace/actions.c: Include string.h.
7137
7138 2011-11-18 Yao Qi <yao@codesourcery.com>
7139
7140 * gdb.trace/pending.exp: New.
7141 * gdb.trace/pending.c: New.
7142 * gdb.trace/pendshr1.c: New.
7143 * gdb.trace/pendshr2.c: New.
7144 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7145 tracepoint location becomes pending.
7146 (tracepoint_change_loc_2): New.
7147
7148 2011-11-16 David S. Miller <davem@davemloft.net>
7149
7150 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7151 target is sparc*-*-linux*
7152
7153 2011-11-15 Paul Koning <paul_koning@dell.com>
7154
7155 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7156 types.
7157
7158 2011-11-14 Doug Evans <dje@google.com>
7159
7160 * gdb.base/shell.exp: New file.
7161
7162 2011-11-14 Stan Shebs <stan@codesourcery.com>
7163
7164 * gdb.trace/ftrace.c: New.
7165 * gdb.trace/ftrace.exp: New.
7166
7167 2011-11-14 Yao Qi <yao@codesourcery.com>
7168
7169 * gdb.trace/change-loc-1.c: New.
7170 * gdb.trace/change-loc-2.c: New.
7171 * gdb.trace/change-loc.c: New.
7172 * gdb.trace/change-loc.exp: New.
7173 * gdb.trace/change-loc.h: New.
7174 * gdb.trace/trace-break.c (marker): Define new symbol.
7175 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
7176 New.
7177 (break_trace_same_addr_6): New.
7178
7179 2011-11-12 Matt Rice <ratmice@gmail.com>
7180
7181 * gdb.base/info-macros.exp: Make tests for info definitions
7182 test info macro. Add tests for info macro argument processing.
7183 Rename a few tests.
7184
7185 2011-11-11 Keith Seitz <keiths@redhat.com>
7186
7187 PR gdb/12843
7188 * gdb.base/linespecs.exp: New file.
7189
7190 2011-11-11 Doug Evans <dje@google.com>
7191
7192 * gdb.threads/print-threads.exp: Extend timeout for slower
7193 tests.
7194
7195 2011-11-10 Doug Evans <dje@google.com>
7196
7197 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7198 "record to end of main" test.
7199
7200 * gdb.python/py-type.c (TS): New typedef.
7201 (ts): New global.
7202 * gdb.python/py-type.exp: Test field list of typedef.
7203
7204 2011-11-10 Joel Brobecker <brobecker@adacore.com>
7205
7206 * gdb.ada/small_reg_param: New testcase.
7207
7208 2011-11-09 Tom Tromey <tromey@redhat.com>
7209
7210 * gdb.cp/destrprint.exp: New file.
7211 * gdb.cp/destrprint.cc: New file.
7212
7213 2011-11-08 Meador Inge <meadori@codesourcery.com>
7214
7215 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7216 (switch_stack_to_other): New test function.
7217 * gdb.arch/thumb-prologue.exp: New test cases.
7218
7219 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7220
7221 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7222
7223 2011-11-08 Yao Qi <yao@codesourcery.com>
7224
7225 * gdb.exp (supports_process_record): New.
7226 (supports_reverse): New.
7227 * gdb.reverse/break-precsave.exp: Call support_process_record
7228 to run test conditionally.
7229 * gdb.reverse/consecutive-precsave.exp: Likewise.
7230 * gdb.reverse/i386-precsave.exp: Likewise.
7231 * gdb.reverse/machinestate-precsave.exp: Likewise.
7232 * gdb.reverse/solib-precsave.exp: Likewise.
7233 * gdb.reverse/step-precsave.exp: Likewise.
7234 * gdb.reverse/until-precsave.exp: Likewise.
7235 * gdb.reverse/watch-precsave.exp: Likewise.
7236 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7237 test conditionally.
7238 * gdb.reverse/consecutive-reverse.exp: Likewise.
7239 * gdb.reverse/finish-precsave.exp: Likewise.
7240 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7241 * gdb.reverse/finish-reverse.exp: Likewise.
7242 * gdb.reverse/i386-reverse.exp: Likewise.
7243 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7244 * gdb.reverse/machinestate.exp: Likewise.
7245 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7246 * gdb.reverse/sigall-precsave.exp: Likewise.
7247 * gdb.reverse/sigall-reverse.exp: Likewise.
7248 * gdb.reverse/solib-reverse.exp: Likewise.
7249 * gdb.reverse/step-reverse.exp: Likewise.
7250 * gdb.reverse/until-reverse.exp: Likewise.
7251 * gdb.reverse/watch-reverse.exp: Likewise.
7252
7253 2011-11-05 Yao Qi <yao@codesourcery.com>
7254
7255 * gdb.trace/trace-break.exp: Add test on setting two
7256 fast tracepoints at the same address.
7257
7258 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7261
7262 2011-11-02 Stan Shebs <stan@codesourcery.com>
7263
7264 * gdb.trace/collection.c: Add code using strings.
7265 * gdb.trace/collection.exp: Add tests of string collection.
7266
7267 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7268
7269 * gdb.base/skip-solib.exp (executable_main): New variable.
7270 (binfile_main): Base it on that.
7271 Use $executable_main in clean_restart calls. Drop gdb_exit and
7272 gdb_start calls.
7273
7274 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7275
7276 Fix racy FAILs.
7277 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7278 breakpoint_re globals import by async. Set string_regex to .* for
7279 async. Remove the optional thread_selected_re and breakpoint_re
7280 globals expectations.
7281
7282 2011-11-01 Joseph Myers <joseph@codesourcery.com>
7283
7284 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7285 well as Cygwin.
7286
7287 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
7288
7289 Add tests for skip command.
7290 * gdb.base/skip-solib-lib.c: New
7291 * gdb.base/skip-solib-main.c: New
7292 * gdb.base/skip-solib.exp: New
7293 * gdb.base/skip.c: New
7294 * gdb.base/skip.exp: New
7295 * gdb.base/skip1.c: New
7296 * gdb.base/Makefile.in: Adding new files.
7297
7298 2011-10-31 Yao Qi <yao@codesourcery.com>
7299 Pedro Alves <pedro@codesourcery.com>
7300
7301 * gdb.trace/trace-break.c: New.
7302 * gdb.trace/trace-break.exp: New.
7303
7304 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7305
7306 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7307 break-here-2.
7308
7309 2011-10-28 Pedro Alves <pedro@codesourcery.com>
7310
7311 * gdb.threads/no-unwaited-for-left.c: New.
7312 * gdb.threads/no-unwaited-for-left.exp: New.
7313 * gdb.threads/non-ldr-exc-1.c: New.
7314 * gdb.threads/non-ldr-exc-1.exp: New.
7315 * gdb.threads/non-ldr-exc-2.c: New.
7316 * gdb.threads/non-ldr-exc-2.exp: New.
7317 * gdb.threads/non-ldr-exc-3.c: New.
7318 * gdb.threads/non-ldr-exc-3.exp: New.
7319 * gdb.threads/non-ldr-exc-4.c: New.
7320 * gdb.threads/non-ldr-exc-4.exp: New.
7321
7322 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7323
7324 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7325 * gdb.base/attach-pie-misread.exp: Likewise.
7326 * gdb.base/break-interp.exp: Likewise.
7327 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7328 testcases for use_gdb_stub.
7329 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7330 (continue): New testcase.
7331 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7332 * gdb.threads/attach-into-signal.exp: Likewise.
7333 * gdb.threads/attach-stopped.exp: Likewise.
7334 * gdb.threads/attachstop-mt.exp: Likewise.
7335
7336 2011-10-28 Paul Koning <paul_koning@dell.com>
7337
7338 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7339
7340 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7341
7342 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7343 (mi_gdb_test): Import globals thread_selected_re
7344 and breakpoint_re. Expect them optionally at the regex start.
7345
7346 2011-10-27 Doug Evans <dje@google.com>
7347
7348 * gdb.python/python.exp: Test source -s.
7349
7350 2011-10-26 Paul Koning <paul_koning@dell.com>
7351
7352 * gdb.python/lib-types.cc (struct A): New structure.
7353 * gdb.python/lib-types.exp (deepitems): New tests.
7354
7355 2011-10-25 Paul Koning <paul_koning@dell.com>
7356
7357 PR python/13327
7358
7359 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7360 fetch_lazy method.
7361
7362 2011-10-24 Yao Qi <yao@codesourcery.com>
7363
7364 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7365 target is tic6x-*-*.
7366
7367 2011-10-21 Joel Brobecker <brobecker@adacore.com>
7368
7369 * gdb.ada/mi_task_info/task_switch.adb: New file.
7370 * gdb.ada/mi_task_info.exp: New file.
7371
7372 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7373
7374 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7375 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7376
7377 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7378
7379 PR python/12656
7380
7381 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7382 global_block tests.
7383
7384 2011-10-18 Tom Tromey <tromey@redhat.com>
7385
7386 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7387
7388 2011-10-18 Tom Tromey <tromey@redhat.com>
7389
7390 * gdb.base/source.exp: Don't include full file name in test name.
7391 * gdb.python/python.exp: Don't include full file name in test
7392 name.
7393
7394 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7395
7396 * gdb.base/attach-pie-noexec.c: New files.
7397 * gdb.base/attach-pie-noexec.exp: New files.
7398
7399 2011-10-17 Joseph Myers <joseph@codesourcery.com>
7400
7401 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7402 prompt for each extra line in command.
7403
7404 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7405
7406 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7407 Revert the part of:
7408 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7409 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7410 Change the expected string.
7411
7412 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7413
7414 Fix results with system glibc debug info installed.
7415 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7416 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7417 Accept also __libc_ symbol prefix and no prefix.
7418
7419 2011-10-14 Keith Seitz <keiths@redhat.com>
7420
7421 PR c++/13225
7422 * gdb.cp/converts.cc (foo3_1): New function.
7423 (foo3_2): New functions.
7424 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7425 and null pointer conversions of integer constant zero.
7426 Add test to check if all arguments are checked for incompatible
7427 conversion BADNESS.
7428
7429 2011-10-14 Tom Tromey <tromey@redhat.com>
7430
7431 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7432 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7433 linespec.
7434
7435 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7436
7437 Fix internal error regression.
7438 * gdb.dwarf2/implptr-optimized-out.S: New file.
7439 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7440
7441 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7442
7443 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7444 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7445 (loclist): New.
7446 (4): New abbrev.
7447 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7448 Use prepare_for_testing, remove clean_restart.
7449 (p arraynoloc, p arraycallnoloc): New tests.
7450
7451 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7452
7453 * gdb.cp/namespace-enum.exp (executable): New variable.
7454 (binfile): Use ${objdir}/${subdir}/ prefix.
7455 Use ${executable} for clean_restart.
7456
7457 2011-10-11 Sterling Augustine <saugustine@google.com>
7458
7459 * gdb.cp/Makefile.in: Add namespace-enum test.
7460 * gdb.cp/namespace-enum.exp: New file.
7461 * gdb.cp/namespace-enum.c: New file.
7462 * gdb.cp/namespace-enum-main.c: New file.
7463
7464 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7465
7466 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7467 sysroot.
7468
7469 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7470
7471 Reimplement @entry in input expressions.
7472 * gdb.base/exprs.c (v_int_array_init): New variable.
7473 * gdb.base/exprs.exp (print v_int_array_init)
7474 (print *v_int_array_init@1, print *v_int_array_init@2)
7475 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7476 (print v_int_array_init[1]@1): New tests.
7477
7478 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7479
7480 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7481 expected message.
7482
7483 2011-10-09 Doug Evans <dje@google.com>
7484
7485 * gdb.base/alias.exp: Add tests for alias command.
7486
7487 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7488
7489 * gdb.arch/amd64-entry-value.s: New file.
7490 * gdb.mi/mi2-amd64-entry-value.s: New file.
7491
7492 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7493
7494 Display @entry parameter values even for references.
7495 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7496 functions.
7497 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7498 reference and datap_input.
7499 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7500 breakpoints.
7501 (continue to breakpoint: entry_reference: reference)
7502 (entry_reference: bt at entry)
7503 (continue to breakpoint: entry_reference: breakhere_reference)
7504 (entry_reference: bt, entry_reference: ptype regparam)
7505 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7506 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7507 (entry_reference: p regcopy, entry_reference: p nodataparam)
7508 (entry_reference: p nodataparam@entry): New tests.
7509
7510 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7511
7512 Support @entry in input expressions.
7513 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7514 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7515 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7516 (tailcall: p j@entry): New tests.
7517 * gdb.cp/koenig.cc (A::entry): New function.
7518 (main): Call it.
7519 * gdb.cp/koenig.exp (p entry (c)): New test.
7520
7521 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7522
7523 Display @entry parameter values (without references).
7524 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7525 (different, validity, invalid): New functions.
7526 (main): Call them.
7527 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7528 stacktest, breakhere_stacktest, different, breakhere_different,
7529 breakhere_validity and breakhere_invalid.
7530 (entry: bt): Update for @entry.
7531 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7532 (entry_validity: *, entry_invalid: *): Many new tests.
7533 * gdb.base/break.exp
7534 (run until breakpoint set at small function, optimized file): Accept
7535 also the @entry suffix.
7536 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7537 * gdb.mi/mi2-amd64-entry-value.c: New files.
7538 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7539
7540 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7541
7542 Protect entry values against self tail calls.
7543 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7544 (main): Call self.
7545 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7546 (set debug entry-values 1, self: bt debug entry-values): New tests.
7547
7548 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7549
7550 Recognize virtual tail call frames.
7551 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7552 (amb_b, amb_a): New.
7553 (main): Call a and b.
7554 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7555 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7556 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7557 New tests.
7558
7559 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7560
7561 Implement basic support for DW_TAG_GNU_call_site.
7562 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7563 * gdb.arch/amd64-entry-value.cc: New file.
7564 * gdb.arch/amd64-entry-value.exp: New file.
7565
7566 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7567
7568 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7569 * gdb.dwarf2/implptr-64bit.S: New file.
7570 * gdb.dwarf2/implptr-64bit.exp: New file.
7571
7572 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7573
7574 Fix initial language detection with -readnow.
7575 * gdb.cp/readnow-language.cc: New file.
7576 * gdb.cp/readnow-language.exp: New file.
7577
7578 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7579
7580 Fix printed anonymous struct name.
7581 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7582
7583 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7584
7585 * gdb.base/solib-symbol.exp: Do not include directories in
7586 filenames in expected messages.
7587
7588 2011-10-07 Doug Evans <dje@google.com>
7589
7590 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7591
7592 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7593
7594 Allow Python notification of new object-file loadings.
7595 * gdb.python/py-events.exp: Test newobjfile event.
7596 * gdb.python/py-events.py: Register newobjfile callback.
7597 * gdb.python/py-events.c: Add call to shared library
7598 * gdb.python/py-events-shlib.c: New file.
7599
7600 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7601
7602 * gdb.base/fixsection.exp: Do not include directories in filename
7603 in expected message.
7604
7605 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7606
7607 Add tests for passing of environment variables to inferior.
7608 * gdb.base/testenv.c: New test source.
7609 * gdb.base/testenv.exp: New expect test.
7610
7611 2011-10-04 Paul Koning <paul_koning@dell.com>
7612
7613 * gdb.python/py-value.c (main): Break before return.
7614
7615 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7616
7617 PR python/12691: Add the inferior to Python exited event
7618 * gdb.python/py-events.exp: Test the inferior attribute of exited
7619 event with a fork.
7620 * gdb.python/py-events.py: Print inferior number on exit.
7621 * gdb.python/py-events.c: Fork the inferior.
7622
7623 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7624
7625 * gdb.base/jit.exp: Add testcase name to log message
7626
7627 2011-10-03 Paul Koning <paul_koning@dell.com>
7628 Jan Kratochvil <jan.kratochvil@redhat.com>
7629
7630 * gdb.python/py-value.exp
7631 (python inval = gdb.parse_and_eval('*(int*)0'))
7632 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7633 (set argc=2, python print argc_lazy): New tests.
7634
7635 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7636
7637 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7638
7639 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7640 Pedro Alves <pedro@codesourcery.com>
7641
7642 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7643 can_read_0, test for it.
7644 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7645 (parse_and_eval with memory error): ... here, make it untested if
7646 can_read_0.
7647
7648 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7649
7650 * gdb.python/python.exp (verify pagination beforehand)
7651 (verify pagination afterwards): Fix race by splitting the line.
7652
7653 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7654
7655 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7656 for 64-bit multilibs from i?86-* targets.
7657
7658 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7659
7660 * lib/gdb.exp: Fix a typo in one of the comments.
7661
7662 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7663
7664 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7665 matching pattern.
7666
7667 2011-09-28 Paul Koning <paul_koning@dell.com>
7668
7669 * gdb.python/py-type.c (enum E): New.
7670 * gdb.python/py-type.exp (test_fields): Add tests for Python
7671 mapping access to fields.
7672 (test_enums): New test for field access on enums.
7673
7674 2011-09-27 Stan Shebs <stan@codesourcery.com>
7675
7676 * gdb.trace/collection.exp: Test collection of $_ret.
7677
7678 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7679
7680 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7681 list of compilation switches for <*-*-freebsd*>.
7682
7683 2011-09-19 Stan Shebs <stan@codesourcery.com>
7684
7685 * gdb.trace/tspeed.exp: New file.
7686 * gdb.trace/tspeed.c: New file.
7687
7688 2011-09-18 Yao Qi <yao@codesourcery.com>
7689
7690 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7691 instructions.
7692 (test_adr_32bit, test_pop_pc): Likewise.
7693 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7694 Thumb instructions.
7695 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7696 in gdb_test_multiple.
7697 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7698
7699 2011-09-17 Yao Qi <yao@codesourcery.com>
7700
7701 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7702 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7703 support single step to signal handler.
7704
7705 2011-09-17 Yao Qi <yao@codesourcery.com>
7706
7707 * gdb.base/disp-step-fork.c: New.
7708 * gdb.base/disp-step-syscall.exp: New.
7709 * gdb.base/disp-step-vfork.c: New.
7710
7711 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7712
7713 * gdb.ada/tasks.exp: Make the expected output for
7714 the `info tasks' tests more resilient to spacing
7715 changes.
7716
7717 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7718
7719 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7720 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7721
7722 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7723
7724 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7725 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7726
7727 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7728
7729 Handle multiple breakpoint hits in Python interface:
7730 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7731 presence.
7732 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7733 breakpoint hits.
7734
7735 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7736 Jan Kratochvil <jan.kratochvil@redhat.com>
7737
7738 * gdb.python/py-events.exp: Remove pretty printing comment.
7739 * gdb.python/py-evsignal.exp: New file.
7740 * gdb.python/py-evthreads.c: Include signal.h.
7741 (thread3): Remove variable count3. Remove variable bad and use raise
7742 instead.
7743 (thread2): Remove variable count2. Move thread3 pthread_create here,
7744 merge pthread_join to a single line.
7745 (main): Remove variable count1. Merge pthread_join with pthread_create
7746 to a single line.
7747 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7748 KFAIL python/12966 for gdbserver. Test return value of
7749 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7750 gdb_expect by gdb_test and gdb_test_multiple.
7751 (thread 2, thread 3): New tests.
7752
7753 2011-09-12 Matt Rice <ratmice@gmail.com>
7754 Pedro Alves <pedro@codesourcery.com>
7755
7756 PR gdb/13175
7757
7758 * gdb.base/interp.exp: New tests.
7759 * gdb.base/interp.c: New file.
7760
7761 2011-09-12 Doug Evans <dje@google.com>
7762
7763 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7764 * gdb.dwarf2/typeddwarf.exp: Ditto.
7765
7766 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 Fix compatibility with x32 arch.
7769 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7770 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7771 is_x86_like_target.
7772 * testsuite/gdb.trace/collection.exp: Likewise.
7773 * testsuite/gdb.trace/report.exp: Likewise.
7774 * testsuite/gdb.trace/unavailable.exp: Likewise.
7775 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7776 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7777 (is_x86_like_target): Check also is_amd64_regs_target.
7778
7779 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7780
7781 PR breakpoints/12435
7782 * gdb.arch/amd64-prologue-xmm.c: New file.
7783 * gdb.arch/amd64-prologue-xmm.exp: New file.
7784 * gdb.arch/amd64-prologue-xmm.s: New file.
7785
7786 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7787
7788 * gdb.dwarf2/dw2-param-error-main.c: New file.
7789 * gdb.dwarf2/dw2-param-error.S: New file.
7790 * gdb.dwarf2/dw2-param-error.exp: New file.
7791
7792 2011-09-08 Pedro Alves <pedro@codesourcery.com>
7793
7794 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7795 inferior's pid and look for a core dump named core.$pid. Use
7796 `remote_file' commands on the host instead of hand coding shell
7797 commands on the build.
7798 * gdb.base/valgrind-db-attach.exp: Kill the program before
7799 finishing the test.
7800
7801 2011-09-02 Matt Rice <ratmice@gmail.com>
7802
7803 * lib/prompt.exp: New file for testing the first prompt.
7804 * gdb.python/py-prompt.exp: Ditto.
7805 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7806
7807 2011-09-02 Pedro Alves <pedro@codesourcery.com>
7808
7809 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7810 0, before testing gcore.
7811
7812 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7813
7814 * dw2-ifort-parameter-debug.S: Update copyright year.
7815 * dw2-ifort-parameter.c: Update copyright year.
7816 * dw2-ifort-parameter.exp: Update copyright year.
7817
7818 * dw2-ifort-parameter-debug.S: New file.
7819 * dw2-ifort-parameter.c: New file.
7820 * dw2-ifort-parameter.exp: New file.
7821
7822 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7823
7824 * gdb.base/commands.exp (error_clears_commands_left): New function.
7825 (): Call it.
7826
7827 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7828
7829 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7830 (C): Initialize `a'.
7831 * gdb.mi/mi-inheritance-syntax-error.exp
7832 (-data-evaluate-expression $path): Expect `a' as 5.
7833
7834 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7835
7836 PR mi/11912
7837 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7838 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7839 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7840 keyword in output of -var-info-path-expression.
7841
7842 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7843
7844 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7845 * gdb.trace/collection.exp: Likewise.
7846 * gdb.trace/report.exp: Likewise.
7847 * gdb.trace/unavailable.exp: Likewise.
7848 * gdb.trace/while-dyn.exp: Likewise.
7849
7850 2011-08-18 Keith Seitz <keiths@redhat.com>
7851
7852 PR c++/12266
7853 * gdb.cp/meth-typedefs.cc: New file.
7854 * gdb.cp/meth-typedefs.exp: New file.
7855
7856 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7857
7858 * gdb.python/python.exp: Add extended-prompt tests.
7859
7860 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7861
7862 * gdb.arch/i386-dr3-watch.exp
7863 (watchpoint on gap1 does not fit debug registers)
7864 (delete all watchpoints): Fix racy expect strings.
7865
7866 2011-08-14 Yao Qi <yao@codesourcery.com>
7867
7868 * gdb.base/maint.exp: set data_section to ".neardata".
7869 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7870 * gdb.base/savedregs.exp: Handle SIGILL.
7871 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7872 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7873
7874 2011-08-12 Doug Evans <dje@google.com>
7875
7876 * gdb.python/py-symbol.exp: Add test for symbol.type.
7877
7878 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7879
7880 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7881 * gdb.mi/mi-pthreads.exp: Likewise.
7882 * gdb.mi/mi2-pthreads.exp: Likewise.
7883 * gdb.mi/gdb669.exp.exp: Likewise.
7884
7885 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7886
7887 * lib/mi-support.exp (detect_async): Rename to...
7888 (mi_detect_async): ... this.
7889 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7890 * gdb.mi/mi-nonstop.exp: Adjust.
7891 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7892 * gdb.mi/mi-nsintrall.exp: Adjust.
7893 * gdb.mi/mi-nsmoribund.exp: Adjust.
7894 * gdb.mi/mi-nsthrexec.exp: Adjust.
7895
7896 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7897
7898 * gdb.base/display.c (do_loops): New `p_i' local.
7899 * gdb.base/display.exp: Test displaying a variable that is
7900 temporarily at a bad address.
7901
7902 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7903
7904 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7905 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7906
7907 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7908
7909 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7910 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7911 (p fuNC_symtab): Permit also ppc64 leading dot.
7912
7913 2011-08-05 Pedro Alves <pedro@codesourcery.com>
7914
7915 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7916 procedure.
7917 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7918
7919 2011-08-05 Yao Qi <yao@codesourcery.com>
7920
7921 * gdb.base/callfuncs.exp: Set language after main.
7922 * gdb.cp/cplusfuncs.exp: Likewise.
7923 * gdb.cp/inherit.exp: Likewise.
7924
7925 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7926
7927 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7928 * gdb.base/watch-vfork.exp: Skip on remote targets.
7929
7930 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7931
7932 * gdb.threads/thread-find.exp: Support remote targets.
7933
7934 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7935
7936 * gdb.base/jit.exp: Download solib_binfile to target.
7937 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7938 and call dlopen without full path name.
7939 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7940 dlopen without full path name.
7941
7942 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7943
7944 * gdb.base/break-always.exp: Complete the test
7945 with duplicated breakpoints and enabling/disabling them.
7946
7947 2011-08-02 Tom Tromey <tromey@redhat.com>
7948
7949 PR gdb/11289:
7950 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7951
7952 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7953
7954 PR gdb/13045
7955 * gdb.base/float.exp: Add new test case for PR gdb/13045
7956 * gdb.base/float.c: New file.
7957
7958 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7959
7960 * gdb.python/py-mi.exp: Test printers returning string hint, and
7961 also not returning a value.
7962 * gdb.python/py-prettyprint.c: Add testcase for above.
7963 * gdb.python/py-prettyprint.py: Add test printer for above.
7964
7965 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7966
7967 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7968 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7969 (.Ldie30) Add as field "data4".
7970 (.Ldie32) Rename field "b" to "shl".
7971 (abbrev4) Change for the "data4" field.
7972 (abbrev5, abbrev6) Remove.
7973 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7974 (p &s.shl): ... here. Add comment.
7975 (p &s.data4): New.
7976
7977 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7978
7979 Fix crash on lval_computed values.
7980 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7981
7982 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7983
7984 * gdb.base/help.exp (help whatis): Update the expected string.
7985
7986 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7987
7988 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7989 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7990 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7991 Change the expected string.
7992
7993 2011-07-26 Pedro Alves <pedro@codesourcery.com>
7994
7995 * gdb.base/watchpoint.exp
7996 (test_disable_enable_software_watchpoint): New procedure.
7997 (top level): Run it.
7998
7999 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8000
8001 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8002 executable file "${binfile}", C++ version "${binfile}-cxx".
8003 * gdb.python/py-prettyprint.exp: Likewise.
8004 * gdb.python/py-symbol.exp: Likewise.
8005 * gdb.python/py-type.exp: Likewise.
8006 * gdb.python/py-value.exp: Likewise.
8007 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8008 file name instead of just suffix.
8009
8010 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8011
8012 Fix implicit pointer offsets.
8013 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8014 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8015 (continue to breakpoint: continue to baz breakpoint for implptr)
8016 (sanity check element 0, sanity check element 1)
8017 (enter the inlined function, check element 0 for the offset)
8018 (check element 1 for the offset)
8019 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8020 (set foo breakpoint for implptr): Update the breakpoint number.
8021
8022 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8023
8024 * gdb.python/py-mi.exp: Use different file names for different
8025 versions of the executable under test.
8026 * gdb.python/py-prettyprint.exp: Likewise.
8027 * gdb.python/py-symbol.exp: Likewise.
8028 * gdb.python/py-template.exp: Likewise.
8029 * gdb.python/py-type.exp: Likewise.
8030 * gdb.python/py-value.exp: Likewise.
8031
8032 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8033
8034 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8035 flag after restarting GDB if necessary.
8036
8037 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8038
8039 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8040
8041 2011-07-22 Pedro Alves <pedro@codesourcery.com>
8042
8043 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8044 backend doesn't leave used debug registers behind.
8045
8046 2011-07-22 Tom Tromey <tromey@redhat.com>
8047
8048 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8049 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8050 argument.
8051 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8052
8053 2011-07-21 Matt Rice <ratmice@gmail.com>
8054
8055 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8056 in mostlyclean rule. Add files ending in .core.
8057
8058 2011-07-21 Matt Rice <ratmice@gmail.com>
8059
8060 PR macros/12999
8061 * gdb.base/info-macros.c: New test sources.
8062 * gdb.base/info-macros.exp: New tests.
8063
8064 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8065
8066 * gdb.python/python.exp: Add prompt substitution tests.
8067
8068 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8069
8070 Fix crash if referenced CU is aged out.
8071 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8072 New.
8073 * gdb.dwarf2/implptr.exp: Likewise.
8074
8075 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8076
8077 * gdb.dwarf2/implptr.S: Rebuilt.
8078 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8079 (bar): Use them for j, k, l.
8080 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8081 COMPILE.
8082 (print j in implptr:bar): Update for the intp typedef.
8083 (print p[0].x in implptr:foo): Use more exact regex.
8084
8085 2011-07-18 Tom Tromey <tromey@redhat.com>
8086
8087 * gdb.cp/static-method.exp: Add missing single quote.
8088
8089 2011-07-18 Yao Qi <yao@codesourcery.com>
8090
8091 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8092 supported.
8093 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8094 * gdb.mi/mi-nonstop.exp: Likewise.
8095 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8096 * gdb.mi/mi-nsintrall.exp: Likewise.
8097 * gdb.mi/mi-nsmoribund.exp: Likewise.
8098 * gdb.mi/mi-nsthrexec.exp: Likewise.
8099 * gdb.python/py-evthreads.exp: Likewise.
8100
8101 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8102
8103 Code cleanup.
8104 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8105 it. Substitute it instead of test_compiler_info everywhere.
8106
8107 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8108
8109 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8110 remote targets as well.
8111
8112 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8113
8114 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8115 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8116
8117 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8118
8119 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8120 a remote machine, not the host.
8121 (gdb_compile_shlib): Set soname if target is remote.
8122
8123 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8124
8125 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8126
8127 2011-07-13 Matt Rice <ratmice@gmail.com>
8128
8129 * gdb.python/py-objfile-script-gdb.py: Renamed to
8130 py-objfile-script-gdb.py.in.
8131 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8132 py-objfile-script-gdb.py.
8133 * gdb.python/py-objfile-script.exp: Update reference to
8134 py-objfile-script-gdb.py.
8135
8136 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8137
8138 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8139 reference undefined label.
8140
8141 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8144 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8145 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8146 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8147
8148 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8149
8150 PR python/12438
8151 * gdb.python/python.exp: Add maint set/show python print-stack
8152 deprecated tests. Add set/show python print-backtrace tests.
8153
8154 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8155
8156 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8157 debug info.
8158
8159 2011-07-06 Matt Rice <ratmice@gmail.com>
8160
8161 * gdb.python/python.exp: Update filename paths.
8162 * gdb.python/py-symtab.exp: Ditto.
8163
8164 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8165
8166 * gdb.python/py-evthreads.exp: Add missing `$'.
8167
8168 2011-07-06 Jie Zhang <jie.zhang@analog.com>
8169
8170 * config/bfin.exp: New file.
8171 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8172 * gdb.asm/bfin.inc: New file.
8173
8174 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8175
8176 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8177 the whole output.
8178
8179 2011-07-05 Tom Tromey <tromey@redhat.com>
8180
8181 * gdb.java/jprint.java (jprint.hi): New field.
8182 * gdb.java/jprint.exp: Print string.
8183
8184 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8185
8186 * gdb.base/call-sc.c: Fix typos.
8187 * gdb.base/ifelse.exp: Likewise.
8188 * gdb.base/structs.c: Likewise.
8189
8190 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8191
8192 * gdb.base/jit-so.exp: New test.
8193 * gdb.base/jit-dlmain.c: New file.
8194 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8195
8196 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8197
8198 * gdb.cp/m-static.exp: Call get_compiler_info.
8199 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8200 * gdb.cp/pr9167.exp (p b): Likewise.
8201 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8202 (test value of P in inner_m, test type of Z in inner_m): Call
8203 setup_xfail for gcc <= 4.5.
8204
8205 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8206
8207 * gdb.cp/paren-type.cc: New files.
8208 * gdb.cp/paren-type.exp: New files.
8209
8210 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8211
8212 Stop on first linespec terminator instead of eating what we can.
8213 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8214 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8215 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8216 (break C::f()): ... this one.
8217 (break C::operator()()): New test.
8218 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8219 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8220 test.
8221
8222 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8223
8224 Fall back linespec to minimal symbols.
8225 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8226 error message.
8227 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8228 * gdb.cp/minsym-fallback-main.cc: New file.
8229 * gdb.cp/minsym-fallback.cc: New file.
8230 * gdb.cp/minsym-fallback.exp: New file.
8231 * gdb.cp/minsym-fallback.h: New file.
8232
8233 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8234
8235 * gdb.cp/no-dmgl-verbose.cc: New file.
8236 * gdb.cp/no-dmgl-verbose.exp: New file.
8237
8238 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8239
8240 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8241 __GI_.
8242 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8243 (f): New function.
8244 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8245 (complete p 'func<short>(): ... here.
8246 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8247 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8248 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8249 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8250 Make them KFAIL gcc/49546.
8251
8252 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8253
8254 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8255
8256 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8257
8258 Test GCC PR debug/49546.
8259 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8260 (test type of F in k3_m, test value of F in k3_m): New.
8261 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8262 (main): New variable k3. Call k3.k3_m.
8263
8264 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8265
8266 * gdb.ada/packed_array.exp: Fix expected outout.
8267
8268 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8269
8270 * gdb.ada/packed_array.exp: fixed expected output.
8271
8272 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8273
8274 * gdb.ada/same_enum: New testcase.
8275
8276 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8277
8278 * gdb.ada/ptr_typedef: New testcase.
8279
8280 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8281
8282 * gdb.ada/arrayptr.exp: Add ptype test.
8283
8284 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8285
8286 * gdb.ada/char_enum: New testcase.
8287
8288 2011-07-01 Yao Qi <yao@codesourcery.com>
8289
8290 * gdb.base/dump.exp (capture_pointer_with_type): New.
8291 Get value from address instead of name.
8292 Start GDB once, and do `dump' and `restore'
8293 tests together.
8294
8295 2011-06-30 Jie Zhang <jie.zhang@analog.com>
8296 Mike Frysinger <vapier@gentoo.org>
8297
8298 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8299 helper functions for getting/setting remotetimeout variable.
8300 * lib/gdb.exp (gdb_load): If the target is remote, set
8301 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8302 with $loadtimeout. Set $load_ok to 0 before doing the load.
8303 Instead of returning, immediately, set $load_ok to 0. Call
8304 set_remotetimeout with $oldremotetimeout, and then return if
8305 $load_ok is 1.
8306
8307 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
8308
8309 * gdb.python/py-template.exp: Don't run this test if the target
8310 does not support c++ tests.
8311
8312 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8313
8314 Fix non-only rename list for Fortran modules import.
8315 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8316 tests.
8317 * gdb.fortran/module.f90 (module moduse): New.
8318 (program module): use moduse, test var_x, var_y and var_z.
8319
8320 2011-06-29 Tom Tromey <tromey@redhat.com>
8321
8322 PR testsuite/12040:
8323 * gdb.fortran/array-element.exp: Use f90, not f77.
8324 * gdb.fortran/complex.exp: Use f90, not f77.
8325 * gdb.fortran/derived-type.exp: Use f90, not f77.
8326 * gdb.fortran/library-module.exp: Use f90, not f77.
8327 * gdb.fortran/logical.exp: Use f90, not f77.
8328 * gdb.fortran/module.exp: Use f90, not f77.
8329 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8330 * gdb.fortran/subarray.exp: Use f90, not f77.
8331
8332 2011-06-29 Tom Tromey <tromey@redhat.com>
8333
8334 * gdb.fortran/charset.exp: New file.
8335 * gdb.fortran/charset.f90: New file.
8336
8337 2011-06-29 Tom Tromey <tromey@redhat.com>
8338
8339 PR testsuite/12040:
8340 * lib/future.exp: New file, mostly extracted from ada.exp.
8341 Rewrote compatibility code to use rename.
8342 (gdb_find_gfortran): New proc.
8343 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8344 gfortran patch.
8345 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8346 Move to future.exp.
8347 * lib/gdb.exp: Always load future.exp.
8348
8349 2011-06-28 Yao Qi <yao@codesourcery.com>
8350
8351 * gdb.cp/exception.cc: Don't include iostream.
8352 (bar): Remove print statement.
8353 (catcher): New.
8354 (main): Remove print statements. Call function catcher.
8355 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8356 Set breakpoint on catcher, and check the value of parameter.
8357
8358 2011-06-23 Yao Qi <yao@codesourcery.com>
8359
8360 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8361 breakpoint 1.2 is disabled. KFAIL for uclinux.
8362
8363 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8364
8365 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8366 mi_gdb_test.
8367
8368 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8369
8370 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8371
8372 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8373
8374 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8375
8376 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8377
8378 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8379 `test_exec_and_symbol_mi_operatons' return value.
8380 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8381 gdb_test_multiple.
8382 (test_exec_and_symbol_mi_operatons): Likewise.
8383 (test_path_specification): Likewise.
8384
8385 2011-06-23 Yao Qi <yao@codesourcery.com>
8386
8387 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8388 supported.
8389 * lib/gdb.exp (support_displaced_stepping): New.
8390
8391 2011-06-23 Yao Qi <yao@codesourcery.com>
8392
8393 * gdb.threads/execl.exp: Skip on remote target.
8394
8395 2011-06-21 Marek Polacek <mpolacek@redhat.com>
8396
8397 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
8398 mi_gdb_test.
8399
8400 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8401
8402 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
8403
8404 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8405
8406 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
8407 mi_gdb_test.
8408
8409 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8410
8411 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8412
8413 2011-06-14 Yao Qi <yao@codesourcery.com>
8414
8415 gdb/testsuite/
8416 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8417
8418 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8419
8420 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8421
8422 2011-06-10 Tom Tromey <tromey@redhat.com>
8423
8424 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8425 Add tests for pointer-to-member-function.
8426 * gdb.cp/temargs.cc (S::somefunc): New function.
8427 (K2): New class.
8428 (main): Instantiate K2; call method.
8429
8430 2011-06-08 Joel Brobecker <brobecker@adacore.com>
8431
8432 * gdb.python/py-inferior.c (f2): Make str an array rather
8433 than a pointer.
8434 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8435
8436 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8437
8438 * gdb.base/async-shell.c: New file.
8439 * gdb.base/async-shell.exp: New file.
8440
8441 2011-06-06 Pedro Alves <pedro@codesourcery.com>
8442
8443 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8444
8445 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8446
8447 From Stephen Kitt <steve@sk2.org>
8448 * gdb.base/help.exp: Adjust following some spelling corrections
8449 in GDB.
8450
8451 2011-06-01 Yao Qi <yao@codesourcery.com>
8452
8453 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8454
8455 2010-05-31 Keith Seitz <keiths@redhat.com>
8456
8457 PR c++/12750
8458 * gdb.cp/static-method.cc: New file.
8459 * gdb.cp/static-method.exp: New file.
8460
8461 2010-05-31 Keith Seitz <keiths@redhat.com>
8462
8463 PR symtab/12704
8464 * gdb.cp/anon-ns.cc: New file.
8465 * gdb.cp/anon-ns.exp: New file.
8466
8467 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8468
8469 * gdb.arch/i386-dr3-watch.c: New file.
8470 * gdb.arch/i386-dr3-watch.exp: New file.
8471
8472 2011-05-30 Yao Qi <yao@codesourcery.com>
8473
8474 * gdb.base/callfuncs.c (t_structs_fc): New.
8475 (t_structs_dc, t_structs_ldc): New.
8476 (t_double_many_args):
8477 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8478 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8479 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8480 * gdb.base/callfuncs.exp: Call new functions.
8481
8482 2011-05-30 Yao Qi <yao@codesourcery.com>
8483
8484 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8485 Call rerun_and_prepare for each test to isolate effects.
8486
8487 2011-05-30 Yao Qi <yao@codesourcery.com>
8488
8489 * gdb.base/varargs.c (find_max_float_real): New.
8490 (find_max_double_real, find_max_long_double_real): New.
8491 * gdb.base/varargs.exp: Call these new added functions.
8492 * lib/gdb.exp (setup_kfail_for_target): New.
8493
8494 2011-05-30 Yao Qi <yao@codesourcery.com>
8495
8496 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8497 (callcd, callce, callcf, callc1a, callc1b): New.
8498 (callc2a, callc2b): New.
8499 * gdb.base/funcargs.exp (complex_args): New.
8500 (complex_integral_args, complex_float_integral_args): New.
8501 * lib/gdb.exp (support_complex_tests): New. Determine
8502 whether to run test cases on _Complex types.
8503
8504 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8505
8506 * gdb.threads/leader-exit.c: New file.
8507 * gdb.threads/leader-exit.exp: New file.
8508
8509 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8510
8511 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8512
8513 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8514
8515 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8516 remove the `supported' variable.
8517 * gdb.mi/mi-nonstop.exp: Likewise.
8518 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8519 * gdb.mi/mi-nsintrall.exp: Likewise.
8520 * gdb.mi/mi-nsmoribund.exp: Likewise.
8521 * gdb.mi/mi-nsthrexec.exp: Likewise.
8522
8523 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8524
8525 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8526
8527 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8528
8529 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8530
8531 2011-05-24 Keith Seitz <keiths@redhat.com>
8532
8533 PR breakpoint/12803
8534 * gdb.cp/cmpd-minsyms.cc (a): New method.
8535 (b): New method.
8536 (c): New method.
8537 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8538
8539 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8540
8541 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8542 watchpoint's command list didn't execute when the watchpoint went
8543 out of scope.
8544
8545 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8546
8547 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8548 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8549 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8550 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8551 * gdb.arch/i386-permbkpt.exp: Likewise.
8552 * gdb.arch/i386-prologue.exp: Likewise.
8553 * gdb.arch/i386-size-overlap.exp: Likewise.
8554 * gdb.arch/i386-size.exp: Likewise.
8555 * gdb.arch/i386-unwind.exp: Likewise.
8556 * gdb.reverse/i386-precsave.exp: Likewise.
8557 * gdb.reverse/i386-reverse.exp: Likewise.
8558 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8559 * gdb.reverse/i387-env-reverse.exp: Likewise.
8560 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8561
8562 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8563
8564 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8565 file doesn't error, using MI.
8566
8567 2011-05-23 Tom Tromey <tromey@redhat.com>
8568
8569 * gdb.base/charset.exp (string_display): Add tests to assign to
8570 arrays.
8571 * gdb.base/charset.c (short_array, int_array, long_array): New.
8572
8573 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8574
8575 Cope with async mode.
8576
8577 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8578 into gdb_test + mi_expect_stop.
8579
8580 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8581
8582 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8583 (callme): Remove printf call.
8584
8585 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8586
8587 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8588 quote pattern to avoid problems with Cygwin/mingw expect versions.
8589 * gdb.base/default.exp (show convenience): Use double
8590 quote pattern for regular expressions.
8591
8592 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8593
8594 Fix -readnow for -gdwarf-4 unused type units.
8595 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8596 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8597
8598 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8599
8600 * gdb.base/kill-after-signal.c: New file.
8601 * gdb.base/kill-after-signal.exp: New file.
8602
8603 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8604
8605 * gdb.ada/start.exp: Call untested with the correct test filename.
8606 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8607 test filename. Make the test's binary unique.
8608 * gdb.arch/i386-signal.exp: Call untested with the correct test
8609 filename.
8610 * gdb.arch/i386-size-overlap.exp: Ditto.
8611 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8612 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8613 * gdb.cp/call-c.exp: Ditto.
8614 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8615 filename. Make the test's binary unique.
8616 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8617 * gdb.python/py-mi.exp: Ditto.
8618 * gdb.python/Makefile.in (EXECUTABLES): Update.
8619 * gdb.reverse/i386-precsave.exp: Ditto.
8620 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8621 test filename.
8622 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8623 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8624 unique.
8625 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8626 test filename.
8627 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8628 * gdb.trace/tfile.exp: Ditto.
8629
8630 2011-05-14 Yao Qi <yao@codesourcery.com>
8631
8632 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8633 type.
8634
8635 2011-05-13 Doug Evans <dje@google.com>
8636
8637 * gdb.python/py-objfile-script.exp: New file.
8638 * gdb.python/py-objfile-script.c: New file.
8639 * gdb.python/py-objfile-script-gdb.py: New file.
8640 * testsuite/gdb.python/py-section-script.exp: Test
8641 "info auto-load-scripts".
8642
8643 2011-05-13 Tom Tromey <tromey@redhat.com>
8644
8645 * gdb.dwarf2/clztest.exp: New file.
8646 * gdb.dwarf2/clztest.c: New file.
8647 * gdb.dwarf2/clztest.S: New file.
8648
8649 2011-05-13 Doug Evans <dje@google.com>
8650
8651 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8652 String16 tests.
8653
8654 2011-05-13 Tom Tromey <tromey@redhat.com>
8655
8656 * lib/gdb.exp (is_x86_like_target): New proc.
8657 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8658 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8659 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8660 -nostdlib to compiler.
8661 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8662 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8663 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8664 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8665 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8666
8667 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8668
8669 * gdb.python/py-function.exp: Test setting a value from a function
8670 which executes a command.
8671
8672 2011-05-12 Tom Tromey <tromey@redhat.com>
8673
8674 * gdb.dwarf2/typeddwarf.S: New file.
8675 * gdb.dwarf2/typeddwarf.c: New file.
8676 * gdb.dwarf2/typeddwarf.exp: New file.
8677
8678 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8679
8680 * gdb.mi/mi-basics.exp: Fix races. Honour the
8681 `test_exec_and_symbol_mi_operatons' return value.
8682 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8683 gdb_test_multiple.
8684 (test_exec_and_symbol_mi_operatons): Likewise.
8685 (test_path_specification): Likewise.
8686
8687 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8688
8689 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8690 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8691 Replace `file copy' and `file rename' by `file mtime'. Twice.
8692
8693 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 * gdb.base/readline-ask.c: New file.
8696 * gdb.base/readline-ask.exp: New file.
8697 * gdb.base/readline-ask.inputrc: New file.
8698
8699 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8700
8701 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8702 to avoid race condition.
8703 * gdb.cell/coremaker.c: Use small stack size.
8704 * gdb.cell/ea-standalone.exp: Use file name without path as
8705 argument to c_to.
8706 * gdb.cell/fork.exp: Allow other output when continuing to end.
8707
8708 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8709
8710 * gdb.threads/corethreads.c: New file.
8711 * gdb.threads/corethreads.exp: New file.
8712
8713 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8714
8715 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8716 Try to compile the test using -Wl,-z,norelro first.
8717 (load_core): New variable libthread_db_seen, initialize it.
8718 (zeroed-threads cannot be listed): Protect it by XFAIL on
8719 !$libthread_db_seen.
8720
8721 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8722
8723 PR 12573
8724 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8725 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8726 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8727
8728 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8729
8730 * gdb.cp/psymtab-parameter.cc: New file.
8731 * gdb.cp/psymtab-parameter.exp: New file.
8732
8733 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8734
8735 Fix a race.
8736 * gdb.cp/static-print-quit.exp (print c): Split to ...
8737 (print c - <return>, print c - q <return>, print c - to quit):
8738 ... these. Make the testfile untested on gdb-7.1.
8739
8740 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8741
8742 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8743 gdb_rename_execfile, gdb_touch_execfile): New.
8744 * gdb.base/reread.exp: Use new procs to handle multiple
8745 exec files.
8746
8747 2011-05-05 Yao Qi <yao@codesourcery.com>
8748
8749 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8750 (test_adr_32bit, test_pop_pc): New.
8751 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8752 (test_adr_32bit, test_pop_pc): New.
8753
8754 2011-05-04 Joseph Myers <joseph@codesourcery.com>
8755
8756 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8757 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8758 targets.
8759 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8760 handle targets.
8761
8762 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8763
8764 * gdb.base/completion.exp (complete help info wat): Rename to ...
8765 (complete 'help info wat'): ... here.
8766 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8767 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8768
8769 2011-05-04 Pedro Alves <pedro@codesourcery.com>
8770
8771 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8772 gdb_test and explicit $gdb_prompt/timeout matches.
8773
8774 2011-05-04 Yao Qi <yao@codesourcery.com>
8775
8776 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8777 and __thumb2__.
8778
8779 2011-05-03 Marek Polacek <mpolacek@redhat.com>
8780
8781 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8782 in place of `gdb_test "delete breakpoints"'. This eliminates two
8783 testcases.
8784
8785 2011-05-02 Pedro Alves <pedro@codesourcery.com>
8786
8787 PR testsuite/12649
8788 Fix races.
8789
8790 * gdb.base/completion.exp: Remove all sleep calls. Remove
8791 unnecessary regexs. Don't explicitly expect anything after the
8792 prompt. Eat the prompt if necessary.
8793
8794 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8795
8796 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8797 accept to show the caller line again as well as the line after.
8798
8799 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8800
8801 PR mi/12531
8802
8803 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8804 compile target.
8805 * gdb.python/py-prettyprint.exp: Add C++ object for
8806 CPLUS_FAKE_CHILD test.
8807
8808 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8809
8810 * gdb.base/signest.exp: New file.
8811 * gdb.base/signest.c: Likewise.
8812
8813 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8814
8815 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8816 thread and breakpoint notifications.
8817
8818 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8819
8820 * gdb.base/fortran-sym-case.c: New file.
8821 * gdb.base/fortran-sym-case.exp: New file.
8822 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8823 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8824 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8825
8826 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8827
8828 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8829 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8830 false #1', `if true else false #2' and `if true else false #3'.
8831
8832 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8833
8834 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8835 while delivering signal.
8836
8837 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8838
8839 MI breakpoint notifications.
8840
8841 * testsuite/gdb.mi/mi-cli.exp: Adust.
8842 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8843 * testsuite/gdb.mi/mi-watch.exp: Adust.
8844 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8845 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8846 notifications.
8847
8848 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8849
8850 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8851 * gdb.base/gdbindex-stabs.c: New file.
8852 * gdb.base/gdbindex-stabs.exp: New file.
8853
8854 2011-04-25 Yao Qi <yao@codesourcery.com>
8855
8856 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8857 with /*...*/.
8858 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8859
8860 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8861
8862 * gdb.python/py-value.exp (test_objfiles): Name the first test
8863 `py-value in file.filename'.
8864
8865 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8866
8867 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8868 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8869 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8870 !gdbserver_reconnect_p..
8871 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8872
8873 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8874
8875 * gdb.cp/cpcompletion.exp (complete class methods)
8876 (complete class methods beginning with F): Move them above runto. New
8877 comment about the runto delimiter.
8878
8879 2011-04-20 Pedro Alves <pedro@codesourcery.com>
8880
8881 * gdb.base/maint.exp: Test that "maint print registers" works
8882 without a running program.
8883
8884 2011-04-20 Marek Polacek <mpolacek@redhat.com>
8885
8886 * gdb.base/setshow.exp: Fix racy tests.
8887 ($old_gdb_prompt): New variable.
8888
8889 2011-04-19 Tom Tromey <tromey@redhat.com>
8890
8891 * gdb.mi/mi-nsmoribund.exp:
8892 * gdb.hp/gdb.objdbg/objdbg01.exp:
8893 * gdb.base/structs.exp (test_struct_returns):
8894 * gdb.base/call-sc.exp (test_scalar_returns):
8895 * gdb.base/bigcore.exp: Remove duplicate words.
8896
8897 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8898
8899 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8900 * gdb.base/break-interp.exp (test_attach): New comment.
8901
8902 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8903
8904 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8905 (clear __stack_user.next, clear stack_used.next)
8906 (save a zeroed-threads corefile): New test.
8907 Call core_load for $core0file.
8908 (zeroed-threads cannot be listed): New test.
8909
8910 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8911
8912 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8913 filename.
8914 ($srcfile): Preserve the original value.
8915 ($testfile): Match it the .exp filename.
8916 ($corefile): New variable. Substitute it around.
8917 Use clean_restart.
8918 ($prev_timeout): Remove.
8919 (load_core): Move core loading into this proc.
8920 Fix restore of $timeout if load_core fails.
8921
8922 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8923
8924 * gdb.base/eu-strip-infcall.c: New file.
8925 * gdb.base/eu-strip-infcall.exp: New file.
8926
8927 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8928
8929 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8930 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8931
8932 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8933
8934 Fix Python access to inlined frames.
8935 * gdb.python/py-frame-inline.c: New file.
8936 * gdb.python/py-frame-inline.exp: New file.
8937
8938 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8939
8940 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8941 content of 's24' correctly (avoiding "optimized out").
8942 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8943
8944 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8945
8946 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8947
8948 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8949
8950 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8951 expect a colon in watch -location output.
8952
8953 2011-04-13 Marek Polacek <mpolacek@redhat.com>
8954
8955 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8956 New testcase `expect response to define backtrace'. Also remove
8957 redundant `default' block.
8958
8959 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8960
8961 * gdb.python/py-prettyprint.c (struct hint_error): New.
8962 (main): New variable hint_error.
8963 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8964 "print hint_error".
8965 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8966 (register_pretty_printers): Register it.
8967
8968 2011-04-04 Tom Tromey <tromey@redhat.com>
8969
8970 * gdb.cp/maint.exp (test_help): Update.
8971 (test_namespace): Likewise.
8972
8973 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8974
8975 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8976 * gdb.ada/arrayptr.exp: Add new tests.
8977
8978 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8979
8980 * gdb.ada/mi_catch_ex: New testcase.
8981
8982 2011-04-01 Pedro Alves <pedro@codesourcery.com>
8983
8984 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8985 base::overload(void) method without specifying "const".
8986
8987 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8988
8989 * gdb.arch/thumb-singlestep.S: New file.
8990 * gdb.arch/thumb-singlestep.exp: Likewise.
8991
8992 2011-03-31 Tom Tromey <tromey@redhat.com>
8993
8994 * gdb.python/py-prettyprint.py (exception_flag): New global.
8995 (NoStringContainerPrinter._iterator.next): Check it.
8996 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8997 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8998
8999 2011-03-29 Tom Tromey <tromey@redhat.com>
9000
9001 * gdb.cp/anon-struct.cc: New file.
9002 * gdb.cp/anon-struct.exp: New file.
9003
9004 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9005
9006 Test STT_GNU_IFUNC support.
9007 * gdb.base/gnu-ifunc-lib.c: New file.
9008 * gdb.base/gnu-ifunc.c: New file.
9009 * gdb.base/gnu-ifunc.exp: New file.
9010
9011 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9012
9013 Support a ring of related breakpoints.
9014 * gdb.base/watchpoint-delete.c: New file.
9015 * gdb.base/watchpoint-delete.exp: New file.
9016
9017 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9018
9019 * gdb.ada/arrayparam.exp (print first after function call): Use
9020 explicit package name. Add a comment
9021 (print lasta after function call): Rename ...
9022 (print last after function call): ... it and use explicit package
9023 name.
9024 (print length after function call): Use explicit package name.
9025 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9026 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9027 (multiple matches for symbol i): Rename ...
9028 (multiple matches for symbol integervar): ... it.
9029 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9030 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9031
9032 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
9033
9034 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9035 environment variable to make grep output more predictable. Move
9036 all the environment setup into gdb_init so it's done once per test
9037 case rather than each time we start gdb.
9038
9039 2011-03-24 Tom Tromey <tromey@redhat.com>
9040
9041 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9042 test.
9043
9044 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9045
9046 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9047 * gdb.dwarf2/dw2-entry-value.S: New file.
9048 * gdb.dwarf2/dw2-entry-value.exp: New file.
9049
9050 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9051
9052 PR python/12183
9053
9054 * gdb.python/py-function.exp: Add GdbError tests.
9055
9056 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9057
9058 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9059 (reglocal_test_func, statlocal_test_func): New functions.
9060 (globals_test_func): Call new functions.
9061 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9062 (gdb_collect_locals_test): New procedure.
9063 (gdb_trace_collection_test): Call new procedures.
9064
9065 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9066
9067 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9068 (test_register, test_register_unavailable): New procedures.
9069 (gdb_unavailable_registers_test): New procedure.
9070 (gdb_trace_collection_test): Call it.
9071
9072 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9073
9074 PR python/12149
9075
9076 * gdb.python/python.exp: Add gdb.write tests.
9077
9078 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9079
9080 * gdb.python/Makefile.in: Add py-objfile.
9081 * gdb.python/py-objfile.exp: New file.
9082 * gdb.python/py-objfile.c: New file.
9083 * gdb.python/py-block.exp: Add is_valid tests.
9084 * gdb.python/py-inferior.exp: Ditto.
9085 * gdb.python/py-infthread.exp: Ditto.
9086 * gdb.python/py-symbol.exp: Ditto.
9087 * gdb.python/py-symtab.exp: Ditto.
9088
9089 2011-03-16 Keith Seitz <keiths@redhat.com>
9090
9091 PR c++/12273
9092 * gdb.cp/cmpd-minsyms.exp: New test.
9093 * gdb.cp/cmpd-minsyms.cc: New file.
9094
9095 PR c++/11734
9096 * gdb.cp/ovsrch.exp: New test.
9097 * gdb.cp/ovsrch.h: New file.
9098 * gdb.cp/ovsrch1.cc: New file.
9099 * gdb.cp/ovsrch2.cc: New file.
9100 * gdb.cp/ovsrch3.cc: New file.
9101 * gdb.cp/ovsrch4.cc: New file.
9102
9103 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9104
9105 PR gdb/12528
9106 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9107 * gdb.base/break-on-linker-gcd-function.exp: New test.
9108 * gdb.base/break-on-linker-gcd-function.cc: New file.
9109
9110 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
9111
9112 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9113
9114 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9115
9116 * lib/gdb.exp (gdb_unload): Add another termination case.
9117
9118 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9119
9120 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9121 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9122 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9123 Provide a stub byte there.
9124 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9125 DW_AT_entry_pc.
9126 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9127
9128 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9129
9130 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9131 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9132 "generic ABI, auto".
9133 (altivec_abi_tests): Accept vectors returned by reference.
9134
9135 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9136
9137 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9138
9139 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9140
9141 * gdb.python/py-section-script.exp: Skip test if no Python support.
9142
9143 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9144
9145 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9146
9147 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9148
9149 * gdb.python/py-parameter.exp: Update tests to the new Python
9150 parameter API. Add "no documentation" test. Add deprecated API
9151 backward compatibility test.
9152
9153 2011-03-09 Tom Tromey <tromey@redhat.com>
9154
9155 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9156 gdb_continue_to_end.
9157
9158 2011-03-09 Mark Kettenis <kettenis@gnu.org>
9159
9160 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9161 tabs.
9162
9163 2011-03-09 Tom Tromey <tromey@redhat.com>
9164
9165 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9166 parentheses.
9167 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9168 $command.
9169 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9170 argument to gdb_continue_to_end.
9171 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9172 argument to gdb_continue_to_end.
9173 * gdb.cp/annota3.exp: Fix regex.
9174 * gdb.cp/annota2.exp: Fix regex.
9175 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9176 gdb_continue_to_end.
9177 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9178 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9179 gdb_continue_to_end.
9180
9181 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9182
9183 * gdb.server/ext-run.exp
9184 (load new file without any gdbserver inferior): New test.
9185
9186 2011-03-07 Tom Tromey <tromey@redhat.com>
9187
9188 * Makefile.in (TAGS): Rewrite.
9189
9190 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9191
9192 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9193 initial commands echo. New match for `Found trace'. Anchor all the
9194 other matches. Anchor and match for `No trace frame found' the final
9195 match.
9196
9197 2011-03-07 Tom Tromey <tromey@redhat.com>
9198
9199 * Makefile.in (TAGS): New target.
9200
9201 2011-03-07 Tom Tromey <tromey@redhat.com>
9202
9203 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9204 change.
9205 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9206 change.
9207 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9208 exit message change.
9209 (skip_altivec_tests): Update for exit message change.
9210 (skip_vsx_tests): Likewise.
9211 (gdb_continue_to_end): Likewise. Add 'command' argument.
9212 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9213 * gdb.threads/tls.exp: Update for exit message change.
9214 * gdb.threads/thread-unwindonsignal.exp: Use
9215 gdb_continue_to_end.
9216 * gdb.threads/step.exp (step_it): Update for exit message change.
9217 (continue_all): Likewise.
9218 * gdb.threads/print-threads.exp (test_all_threads): Update for
9219 exit message change.
9220 * gdb.threads/interrupted-hand-call.exp: Use
9221 gdb_continue_to_end.
9222 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9223 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9224 gdb_continue_to_end.
9225 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9226 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9227 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9228 * gdb.cp/method.exp: Update for exit message change.
9229 * gdb.cp/mb-templates.exp: Update for exit message change.
9230 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9231 * gdb.cp/annota3.exp: Update for exit message change.
9232 * gdb.cp/annota2.exp: Update for exit message change.
9233 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9234 * gdb.base/term.exp: Update for exit message change.
9235 * gdb.base/step-test.exp (test_i): Update for exit message change.
9236 * gdb.base/sigstep.exp (advance): Update for exit message change.
9237 (advancei): Likewise.
9238 * gdb.base/siginfo.exp: Update for exit message change.
9239 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9240 * gdb.base/reread.exp: Use gdb_continue_to_end.
9241 * gdb.base/langs.exp: Use gdb_continue_to_end.
9242 * gdb.base/interrupt.exp: Update for exit message change.
9243 * gdb.base/gdb1555.exp: Update for exit message change.
9244 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9245 * gdb.base/ending-run.exp: Update for exit message change.
9246 * gdb.base/chng-syms.exp: Update for exit message change.
9247 * gdb.base/checkpoint.exp: Update for exit message change.
9248 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9249 gdb_continue_to_end.
9250 (test_catch_syscall_with_wrong_args): Likewise.
9251 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9252 * gdb.base/break-interp.exp (test_ld): Update for exit message
9253 change.
9254 * gdb.base/bang.exp: Update for exit message change.
9255 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9256 (do_call_attach_tests): Likewise.
9257 * gdb.base/a2-run.exp: Update for exit message change.
9258 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9259 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9260 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9261
9262 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9263
9264 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9265
9266 2011-03-03 Tom Tromey <tromey@redhat.com>
9267
9268 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9269 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9270 * gdb.hp/gdb.aCC/configure.ac: Remove.
9271 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9272 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9273 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9274 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9275 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9276 * gdb.hp/gdb.compat/configure.ac: Remove.
9277 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9278 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9279 * gdb.hp/gdb.defects/configure.ac: Remove.
9280 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9281 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9282 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9283 * gdb.hp/configure.ac: Remove.
9284 * gdb.hp/configure: Remove.
9285 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9286 substitution.
9287 (Makefile): Remove rule.
9288 * gdb.cell/configure.ac: Remove.
9289 * gdb.cell/configure: Remove.
9290 * gdb.stabs/Makefile.in (Makefile): Remove.
9291 (distclean): Don't remove config.status or config.log.
9292 * gdb.stabs/configure (Makefile): Remove.
9293 * gdb.stabs/configure.ac: Remove.
9294 * configure: Rebuild.
9295 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9296 Remove stabs- and cell-specific logic. Test for existence of
9297 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9298 subdirectories, gdb.cell, and and gdb.stabs.
9299 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9300
9301 2011-03-03 Joel Brobecker <brobecker@adacore.com>
9302
9303 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9304 end of buffer.
9305
9306 2011-03-02 Joel Brobecker <brobecker@adacore.com>
9307
9308 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9309 gdb_test when running a test where we expected no output back.
9310
9311 2011-02-28 Michael Snyder <msnyder@vmware.com>
9312
9313 * gdb.cp/overload.cc: Change initializer value to integer.
9314
9315 2011-02-27 Michael Snyder <msnyder@vmware.com>
9316
9317 * gdb.multi/base.exp: Add test for remove-inferiors.
9318
9319 2011-02-26 Joel Brobecker <brobecker@adacore.com>
9320
9321 * gdb.python/py-frame.exp: Simplify the initialization phase
9322 using prepare_for_testing.
9323
9324 2011-02-25 Michael Snyder <msnyder@vmware.com>
9325
9326 * gdb.multi/base.exp: Add tests for info inferiors with args.
9327
9328 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9329
9330 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9331 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9332 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9333 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9334 asmfile3. Comment the STABS (#3) file compilation. Compile
9335 everything through assembler. Provide KFAIL for symtab/12497.
9336 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9337 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9338 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9339 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9340
9341 2011-02-24 Michael Snyder <msnyder@vmware.com>
9342
9343 * gdb.base/break.exp: Add tests for delete breakpoints using
9344 convenience variables and value history references.
9345
9346 2011-02-24 Michael Snyder <msnyder@vmware.com>
9347
9348 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9349 left behind in previous check-in.
9350
9351 2011-02-23 Michael Snyder <msnyder@vmware.com>
9352
9353 * gdb.base/break.exp: Add tests for "info break" with arguments.
9354 * gdb.trace/infotrace.exp: Update patterns for error and help.
9355 * gdb.base/completion.exp: Update pattern.
9356 * gdb.base/ena-dis-br.exp: Update pattern.
9357 * gdb.base/help.exp: Update patterns.
9358
9359 2011-02-23 Michael Snyder <msnyder@vmware.com>
9360
9361 * gdb.base/memattr.exp: New test.
9362 * gdb.base/memattr.c: Test load for memattr.exp.
9363
9364 2011-02-22 Doug Evans <dje@google.com>
9365
9366 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9367
9368 2011-02-22 Michael Snyder <msnyder@vmware.com>
9369
9370 * Makefile.in: Make more clean.
9371 * gdb.ada/Makefile.in: Ditto.
9372 * gdb.arch/Makefile.in: Ditto.
9373 * gdb.asm/Makefile.in: Ditto.
9374 * gdb.base/Makefile.in: Ditto.
9375 * gdb.cp/Makefile.in: Ditto.
9376 * gdb.dwarf2/Makefile.in: Ditto.
9377 * gdb.java/Makefile.in: Ditto.
9378 * gdb.mi/Makefile.in: Ditto.
9379 * gdb.modula2/Makefile.in: Ditto.
9380 * gdb.python/Makefile.in: Ditto.
9381 * gdb.server/Makefile.in: Ditto.
9382 * gdb.stabs/Makefile.in: Ditto.
9383 * gdb.threads/Makefile.in: Ditto.
9384 * gdb.trace/Makefile.in: Ditto.
9385
9386 2011-02-22 Michael Snyder <msnyder@vmware.com>
9387
9388 * gdb.threads/thread-find.exp: Add tests for bad input to
9389 info threads.
9390
9391 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9392
9393 * gdb.python/py-breakpoint.exp: Fix the expected output of
9394 one of the "maint info breakpoints" tests to accept the output
9395 generated on platforms that do not have hardware watchpoints.
9396
9397 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9398
9399 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9400 clean_restart. Be a little stricter in the expected output
9401 for one of the tests. Fix a typo in one of the comments.
9402
9403 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9404
9405 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9406 Delete variable binfile, no longer use. Add or modify test
9407 comments to make them unique.
9408
9409 2011-02-21 Michael Snyder <msnyder@vmware.com>
9410
9411 * Makefile.in: Update for make clean.
9412 * gdb.ada/Makefile.in: Ditto.
9413 * gdb.arch/Makefile.in: Ditto.
9414 * gdb.asm/Makefile.in: Ditto.
9415 * gdb.base/Makefile.in: Ditto.
9416 * gdb.cp/Makefile.in: Ditto.
9417 * gdb.dwarf2/Makefile.in: Ditto.
9418 * gdb.java/Makefile.in: Ditto.
9419 * gdb.mi/Makefile.in: Ditto.
9420 * gdb.modula2/Makefile.in: Ditto.
9421 * gdb.python/Makefile.in: Ditto.
9422 * gdb.server/Makefile.in: Ditto.
9423 * gdb.stabs/Makefile.in: Ditto.
9424 * gdb.threads/Makefile.in: Ditto.
9425 * gdb.trace/Makefile.in: Ditto.
9426
9427 2011-02-21 Michael Snyder <msnyder@vmware.com>
9428
9429 * gdb.threads/thread-find.exp: Update patterns for changes in
9430 output of "info threads" command.
9431
9432 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9433 Ulrich Weigand <uweigand@de.ibm.com>
9434
9435 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9436 (skip_hw_watchpoint_tests): Likewise.
9437 (skip_hw_watchpoint_multi_tests): Likewise.
9438
9439 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9440
9441 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9442 (skip_hw_watchpoint_tests): Likewise.
9443 (skip_hw_watchpoint_multi_tests): Likewise.
9444 (skip_hw_watchpoint_access_tests): Likewise.
9445
9446 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9447 * gdb.base/pr11022.exp: Likewise.
9448 * gdb.base/watch-read.exp: Likewise.
9449 * gdb.base/watch_thread_num.exp: Likewise.
9450 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9451 * gdb.base/watchpoint-hw.exp: Likewise.
9452 * gdb.base/watchpoint.exp: Likewise.
9453 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9454 * gdb.threads/watchthreads-reorder.exp: Likewise.
9455 * gdb.threads/watchthreads.exp: Likewise.
9456 * gdb.threads/watchthreads2.exp: Likewise.
9457
9458 2011-02-21 Joel Brobecker <brobecker@adacore.com>
9459
9460 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9461 the debugger is unable to find the array bounds.
9462
9463 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9464
9465 * gdb.cp/typedef-operator.exp: New file.
9466 * gdb.cp/typedef-operator.cc: New file.
9467
9468 2011-02-17 Michael Snyder <msnyder@vmware.com>
9469
9470 * gdb.threads/thread-find.exp: Fix regular expressions.
9471
9472 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9473
9474 * gdb.ada/packed_array: Expand testcase to test printing of
9475 unconstrained packed array.
9476
9477 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9478
9479 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9480
9481 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9482
9483 * gdb.trace/collection.c (globalarr3): New global.
9484 (main): Initialize it before collecting, and and clear it
9485 afterwards.
9486 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9487 collecting with '{type} addr', where the addr expression is not an
9488 rvalue.
9489
9490 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9491
9492 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9493 a bool variable. Expect correct OpenCL names for vector types. Use the
9494 uc3 variable name instead of referring to the uchar3 built-in type.
9495 Escape the asterisk at the half pointer test.
9496
9497 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9498
9499 * gdb.trace/collection.c (globalarr2): New global.
9500 (main): Initialize it before collecting, and and clear it
9501 afterwards.
9502 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9503 collecting overlapping memory ranges.
9504
9505 2011-02-15 Michael Snyder <msnyder@vmware.com>
9506
9507 * gdb.base/default.exp: Add tests for thread commands.
9508 * gdb.base/help.exp: Add tests for thread commands.
9509 * gdb.threads/thread-find.exp: New test for thread find command.
9510
9511 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9512
9513 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9514
9515 2011-02-15 Yao Qi <yao@codesourcery.com>
9516
9517 PR tdep/12352
9518 * gdb.arch/arm-disp-step.S : New test for str instruction.
9519 * gdb.arch/arm-disp-step.exp : Likewise.
9520
9521 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9522
9523 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9524 "vector_register2_vr" test strings. Test the extended floating
9525 point registers (F32~F63).
9526 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9527 IBM XL C compiler. Make the test program use a register provided
9528 by the compiler for the lxvd2x instruction.
9529
9530 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9531
9532 * gdb.trace/unavailable.cc (class Base, class Middle, class
9533 Derived): New types.
9534 (derived_unavail, derived_partial, derived_whole): New globals.
9535 (virtual_partial): New global.
9536 (virtualp): Point at virtual_partial.
9537 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9538 related to unavailable vptr.
9539
9540 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9541
9542 * gdb.trace/unavailable.cc (a, b, c): New globals.
9543 (main): Set and clear them.
9544 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9545 `a' and `c', and check that `b' isn't collected, although `a' and
9546 `c' are.
9547
9548 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9549
9550 * gdb.trace/unavailable.cc (struct Virtual): New.
9551 (virtualp): New global pointer.
9552 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9553 printing a pointer to an object whose type has a vtable, with
9554 print object on.
9555
9556 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9557
9558 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9559 value repeat handles unavailableness.
9560
9561 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9562
9563 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9564 tests for building arrays from unavailable values, subscripting
9565 non-memory rvalue unvailable arrays, and accessing fields or
9566 baseclasses of non-lazy unavailable values,
9567 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9568 struct types.
9569 (g_smallstruct, g_smallstruct_b): New globals.
9570
9571 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9572
9573 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9574
9575 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9576
9577 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9578 * gdb.cp/overload-const.exp: New file.
9579 * gdb.cp/overload-const.cc: New file.
9580
9581 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9582
9583 * gdb.opencl/callfuncs.cl: New file.
9584 * gdb.opencl/callfuncs.exp: New test.
9585 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9586
9587 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9588
9589 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9590 when computing result.
9591 * gdb.arch/altivec-abi.exp: Update expected results.
9592
9593 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9594
9595 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9596 * gdb.base/jit.exp: Likewise.
9597 * gdb.base/pie-execl.exp: Likewise.
9598 * gdb.base/solib-nodir.exp: Likewise.
9599 * gdb.base/solib-overlap.exp: Likewise.
9600
9601 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9602
9603 * gdb.trace/collection.c (global_pieces): New.
9604 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9605 New procedure.
9606 (gdb_trace_collection_test): Call it.
9607
9608 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9609
9610 * gdb.python/py-evthreads.c: New file.
9611 * gdb.python/py-evthreads.exp: New file.
9612 * gdb.python/py-events.py: New file.
9613 * gdb.python/py-events.exp: New file.
9614 * gdb.python/py-events.c: New file.
9615
9616 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9617
9618 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9619
9620 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9621
9622 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9623 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9624 boundary between two compilation units.
9625
9626 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9627
9628 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9629 (Virtual): New structs.
9630 (virtual_o, virtual_middle_b): New globals.
9631 * gdb.cp/virtbase.exp: New tests.
9632
9633 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9634
9635 * gdb.base/jit.exp: New file.
9636 * gdb.base/jit-main.c: New file.
9637 * gdb.base/jit-solib.c: New file.
9638
9639 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9640
9641 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9642 proceed to initial kernel entry point.
9643 * gdb.opencl/datatypes.exp: Likewise.
9644 * gdb.opencl/operators.exp: Likewise.
9645 * gdb.opencl/vec_comps.exp: Likewise.
9646
9647 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9648
9649 * gdb.cp/nsnested.cc: New.
9650 * gdb.cp/nsnested.exp: New.
9651 * gdb.cp/nsnoimports.exp: New.
9652 * gdb.cp/nsnoimports.cc: New.
9653
9654 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9655
9656 * gdb.base/interact.exp: Add extra tests that verify that
9657 the value of the interactive-mode setting does not change
9658 after the script is sourced.
9659
9660 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9661
9662 * gdb.cp/noparam.exp: New file.
9663 * gdb.cp/noparam.cc: New file.
9664
9665 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9666
9667 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9668 there's no stack or registers.
9669
9670 2011-01-26 Tom Tromey <tromey@redhat.com>
9671
9672 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9673 space before string output. Add test for "set print pretty off"
9674 case.
9675
9676 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9677
9678 * gdb.base/frame-args.exp: Adjust.
9679 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9680 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9681 * gdb.dwarf2/pieces.exp: Adjust.
9682 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9683 * gdb.opt/inline-locals.exp: Adjust.
9684 * gdb.threads/fork-child-threads.exp: Adjust.
9685
9686 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9687
9688 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9689 OpenCL kernel function. Add a comment as marker. Add address space
9690 qualifiers for the remaining program scope variables.
9691 * gdb.opencl/datatypes.cl: Likewise.
9692 * gdb.opencl/operators.cl: Likewise.
9693 * gdb.opencl/vec_comps.cl: Likewise.
9694 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9695 Add breakpoint at the marker comment.
9696 * gdb.opencl/datatypes.exp: Likewise.
9697 * gdb.opencl/operators.exp: Likewise.
9698 * gdb.opencl/vec_comps.exp: Likewise.
9699
9700 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9701
9702 * gdb.base/printcmds.c (some_struct): New struct and instance.
9703 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9704 procedure.
9705 <global scope>: Call it.
9706
9707 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9708
9709 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9710 argument to the gdb_compile_opencl_hostapp call.
9711
9712 2011-01-19 Yao Qi <yao@codesourcery.com>
9713
9714 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9715 positve list.
9716
9717 2011-01-19 Yao Qi <yao@codesourcery.com>
9718
9719 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9720 canonical form.
9721 Remove "xscale-*-*"
9722 * gdb.xml/tdesc-regs.exp: Likewise.
9723 * gdb.python/py-section-script.exp: Replace ARM target triplet
9724 with canonical form.
9725 Match arm*-*-symbianelf*.
9726 * gdb.base/dup-sect.exp: Likewise.
9727 * lib/dwarf.exp: New.
9728 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9729 dwarf2_support.
9730 * gdb.dwarf2/dup-psym.exp: Likewise.
9731 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9732 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9733 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9734 * gdb.dwarf2/dw2-basic.exp: Likewise.
9735 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9736 * gdb.dwarf2/dw2-const.exp: Likewise.
9737 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9738 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9739 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9740 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9741 * gdb.dwarf2/dw2-filename.exp: Likewise.
9742 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9743 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9744 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9745 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9746 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9747 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9748 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9749 * gdb.dwarf2/dw2-producer.exp: Likewise.
9750 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9751 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9752 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9753 * gdb.dwarf2/dw2-strp.exp: Likewise.
9754 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9755 * gdb.dwarf2/implptr.exp: Likewise.
9756 * gdb.dwarf2/mac-fileno.exp: Likewise.
9757 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9758 * gdb.dwarf2/pieces.exp: Likewise.
9759 * gdb.dwarf2/pr11465.exp: Likewise.
9760 * gdb.dwarf2/valop.exp: Likewise.
9761 * gdb.dwarf2/watch-notconst.exp: Likewise.
9762 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9763
9764 2011-01-19 Tom Tromey <tromey@redhat.com>
9765
9766 * gdb.python/py-infthread.exp: Add thread tests.
9767
9768 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9769
9770 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9771
9772 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9773
9774 * gdb.ada/widewide: New testcase.
9775
9776 2011-01-13 Joel Brobecker <brobecker@adacore.com>
9777
9778 * gdb.base/interact.exp: New testcase.
9779
9780 2011-01-12 Tom Tromey <tromey@redhat.com>
9781
9782 * gdb.mi/gdb2549.exp: Update for error message changes.
9783 * gdb.mi/mi-cli.exp: Likewise.
9784 * gdb.mi/mi-disassemble.exp: Likewise.
9785 * gdb.mi/mi-pthreads.exp: Likewise.
9786 * gdb.mi/mi-regs.exp: Likewise.
9787 * gdb.mi/mi-stack.exp: Likewise.
9788 * gdb.mi/mi-var-block.exp: Likewise.
9789 * gdb.mi/mi-var-cmd.exp: Likewise.
9790 * gdb.mi/mi2-cli.exp: Likewise.
9791 * gdb.mi/mi2-disassemble.exp: Likewise.
9792 * gdb.mi/mi2-pthreads.exp: Likewise.
9793 * gdb.mi/mi2-regs.exp: Likewise.
9794 * gdb.mi/mi2-stack.exp: Likewise.
9795 * gdb.mi/mi2-var-block.exp: Likewise.
9796 * gdb.mi/mi2-var-cmd.exp: Likewise.
9797
9798 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9799 Jan Kratochvil <jan.kratochvil@redhat.com>
9800
9801 PR fortran/11104 and DWARF unbound arrays detection.
9802 * gdb.fortran/multi-dim.exp: New file.
9803 * gdb.fortran/multi-dim.f90: New file.
9804
9805 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9806
9807 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9808 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9809 add new tests for opcode dumping.
9810
9811 2011-01-11 Tom Tromey <tromey@redhat.com>
9812
9813 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9814
9815 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9816
9817 Convert hardware watchpoints to use breakpoint_ops.
9818 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9819 type is not supported.
9820 * gdb.base/foll-fork.exp: Likewise.
9821 * gdb.base/foll-vfork.exp: Likewise.
9822
9823 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9824
9825 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9826 Use load_lib gdb-python.exp.
9827 * gdb.python/python.exp: Ditto.
9828 * gdb.python/py-function.exp: Ditto.
9829
9830 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9831
9832 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9833
9834 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9835
9836 * configure: Regenerate.
9837
9838 2011-01-06 Tom Tromey <tromey@redhat.com>
9839
9840 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9841
9842 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9843
9844 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9845 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9846 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9847 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9848 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9849 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9850 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9851 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9852 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9853 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9854 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9855 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9856 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9857 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9858 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9859 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9860 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9861 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9862 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9863 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9864 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9865 gdb.ada/uninitialized_vars.exp,
9866 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9867 Simplify by using clean_restart.
9868
9869 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9870
9871 Add marker to be used as anchor for inserting breakpoints.
9872 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9873 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9874 Likewise.
9875
9876 Remove uses of gdb_start_cmd.
9877 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9878 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9879
9880 Do not run testcase if testing with GDBserver.
9881 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9882 if testing with GDBserver.
9883
9884 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9885
9886 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9887 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9888 copyright header.
9889
9890 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9891
9892 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9893 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9894 testsuite/gdb.fortran/complex.f,
9895 testsuite/gdb.fortran/derived-type.f90,
9896 testsuite/gdb.fortran/library-module-lib.f90,
9897 testsuite/gdb.fortran/library-module-main.f90,
9898 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9899 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9900 Copyright year update.
9901
9902 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9903
9904 * gdb.base/langs1.f: Add copyright header.
9905
9906 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9907
9908 * gdb.base/morestack.exp: New file.
9909 * gdb.base/morestack.c: New file.
9910
9911 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9912
9913 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9914
9915 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9916
9917 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9918 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9919
9920 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9921
9922 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9923
9924 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9925
9926 * gdb.threads/tls.exp: Fix typo.
9927
9928 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9929 * gdb.threads/execl.exp: Update.
9930
9931 2010-12-23 Yao Qi <yao@codesourcery.com>
9932
9933 * gdb.arch/arm-disp-step.exp: New.
9934 * gdb.arch/arm-disp-step.S: New.
9935
9936 2010-12-21 Tom Tromey <tromey@redhat.com>
9937
9938 * gdb.threads/execl.exp: Update.
9939 * gdb.threads/linux-dp.exp: Update.
9940 * gdb.threads/manythreads.exp: Update.
9941 * gdb.threads/tls.exp: Update.
9942
9943 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9944
9945 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9946 (NextOverThrowDerivates) <resumebpt>: New.
9947 (resumebpt_test): New.
9948 (main): Call resumebpt_test.
9949 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9950
9951 2010-12-12 Stan Shebs <stan@codesourcery.com>
9952
9953 * gdb.trace/tsv.exp: Test print command on trace state variables.
9954
9955 2010-12-09 Tom Tromey <tromey@redhat.com>
9956
9957 * gdb.base/interp.exp: Add regression test.
9958
9959 2010-12-09 Tom Tromey <tromey@redhat.com>
9960
9961 * gdb.java/jnpe.java: New file.
9962 * gdb.java/jnpe.exp: New file.
9963 * gdb.cp/nextoverthrow.exp: New file.
9964 * gdb.cp/nextoverthrow.cc: New file.
9965
9966 2010-12-07 Doug Evans <dje@google.com>
9967
9968 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9969 of data-directory.
9970 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9971 updated.
9972 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9973
9974 2010-11-29 Michael Snyder <msnyder@vmware.com>
9975
9976 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9977 * gdb.base/call-sc.exp: Ditto.
9978 * gdb.base/finish.exp: Ditto.
9979 * gdb.base/return.exp: Ditto.
9980 * gdb.base/return2.exp: Ditto.
9981
9982 2010-11-30 Doug Evans <dje@google.com>
9983
9984 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9985 (gdb_expect_list): Fix spelling errors in comments.
9986 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9987 send_gdb/gdb_expect_list where applicable.
9988 * gdb.base/call-ar-st.exp: Ditto.
9989 * gdb.base/funcargs.exp: Ditto.
9990 * gdb.base/gcore.exp: Ditto.
9991 * gdb.base/page.exp: Ditto.
9992 * gdb.base/sigaltstack.exp: Ditto.
9993 * gdb.base/siginfo.exp: Ditto.
9994 * gdb.base/sigstep.exp: Ditto.
9995 * gdb.base/trace-commands.exp: Ditto.
9996
9997 2010-11-29 Doug Evans <dje@google.com>
9998
9999 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10000 printer-name;subprinter-name.
10001
10002 2010-11-29 Tom Tromey <tromey@redhat.com>
10003
10004 * gdb.dwarf2/implptr.exp: New file.
10005 * gdb.dwarf2/implptr.c: New file.
10006 * gdb.dwarf2/implptr.S: New file.
10007
10008 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10009
10010 PR python/12199
10011
10012 * gdb.python/py-breakpoint.exp: Test the delete method.
10013
10014 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10015
10016 Fix step_resume_breakpoint unsaved during an infcall.
10017 * gdb.base/step-resume-infcall.exp: New file.
10018 * gdb.base/step-resume-infcall.c: New file.
10019
10020 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10021
10022 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10023
10024 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10025
10026 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10027 on ppc64's symbols; "finish" and "return" commands must accept to
10028 show the caller line again as well as the line after.
10029 * gdb.asm/powerpc64.inc: New file.
10030
10031 2010-11-23 Doug Evans <dje@google.com>
10032
10033 * lib/gdb.exp (gdb_test_sequence): New function.
10034 (gdb_expect_list): Add verbose -log call for each pattern.
10035 * gdb.base/signals.exp (test_handle_all_print): Call it.
10036 Reduce timeout increment from 6 minutes to 1 minute.
10037 * gdb.server/ext-run.exp: Call it.
10038
10039 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10040
10041 PR python/12212
10042
10043 * gdb.python/python.exp: Check that selected_thread raises an
10044 error when no inferior is loaded.
10045
10046 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10047
10048 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10049 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10050
10051 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10052
10053 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10054 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10055
10056 2010-11-18 Doug Evans <dje@google.com>
10057
10058 * gdb.server/ext-run.exp: Fix intermittent failures.
10059
10060 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10061
10062 * gdb.stabs/gdb11479.exp: Use runto_main.
10063
10064 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10065
10066 * gdb.base/break-entry.exp: Skip if using a stub.
10067
10068 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10069
10070 * gdb.python/py-inferior.exp: Pack values in target endianness.
10071
10072 2010-11-12 Tom Tromey <tromey@redhat.com>
10073
10074 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10075 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10076 MemoryError.
10077 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10078 type.
10079 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10080 MemoryError.
10081 (test_subscript_regression): Update exception type.
10082
10083 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10084
10085 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10086 breakpoint tests.
10087
10088 2010-11-09 Pedro Alves <pedro@codesourcery.com>
10089
10090 * gdb.base/watchpoint.exp: Test "watch -location" with an
10091 innacessible location.
10092
10093 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
10094 Luis Machado <luisgpm@br.ibm.com>
10095
10096 * gdb.base/maint.exp: Expect "." prefix.
10097 * gdb.base/nodebug.exp: Expect "." Likewise.
10098 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10099 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10100 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10101 POWER server processors.
10102
10103 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
10104 Luis Machado <luisgpm@br.ibm.com>
10105
10106 * gdb.base/break-entry.exp: convert entry point for
10107 ppc64 and expect leading `.' on ppc64's symbols
10108
10109 2010-11-05 Doug Evans <dje@google.com>
10110
10111 * gdb.base/help.exp: Update expected output.
10112 * gdb.python/py-param.exp: Delete, contents moved to ...
10113 * gdb.python/py-parameter.exp: ... here. New file.
10114 Add test for gdb.parameter ("directories").
10115
10116 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
10117
10118 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10119 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10120 * configure: Regenerate.
10121 * gdb.opencl/Makefile.in: New File.
10122 * gdb.opencl/datatypes.exp: Likewise.
10123 * gdb.opencl/datatypes.cl: Likewise.
10124 * gdb.opencl/operators.exp: Likewise.
10125 * gdb.opencl/operators.cl: Likewise.
10126 * gdb.opencl/vec_comps.exp: Likewise.
10127 * gdb.opencl/vec_comps.cl: Likewise.
10128 * gdb.opencl/convs_casts.exp: Likewise.
10129 * gdb.opencl/convs_casts.cl: Likewise.
10130 * lib/opencl.exp: Likewise.
10131 * lib/opencl_hostapp.c: Likewise.
10132 * lib/opencl_kernel.cl: Likewise.
10133 * lib/cl_util.c: Likewise.
10134 * lib/cl_util.c: Likewise.
10135 * gdb.base/default.exp (set language): Add "opencl" to the list of
10136 languages.
10137
10138 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10139
10140 * gdb.cp/overload.exp: Added test for inheritance overload.
10141 * gdb.cp/overload.cc: Ditto.
10142 * gdb.cp/oranking.exp: Removed releveant kfails.
10143
10144 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10145 Joel Brobecker <brobecker@adacore.com>
10146
10147 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10148 check test_compiler_info.
10149
10150 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10151
10152 * gdb.base/gnu_vector.exp: Adjust expect messages.
10153
10154 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10155
10156 * gdb.base/gnu_vector.exp: Add unary operator tests.
10157
10158 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10159
10160 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10161
10162 2010-11-02 Doug Evans <dje@google.com>
10163
10164 * gdb.python/py-pp-maint.c: New file.
10165 * gdb.python/py-pp-maint.exp: New file.
10166 * gdb.python/py-pp-maint.py: New file.
10167
10168 2010-11-02 Tom Tromey <tromey@redhat.com>
10169
10170 * gdb.base/default.exp: Remove "scheme" from language list.
10171
10172 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10173
10174 Revert:
10175 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10176 * gdb.threads/sigstep-threads.exp: New file.
10177 * gdb.threads/sigstep-threads.c: New file.
10178
10179 2010-10-20 Michael Snyder <msnyder@vmware.com>
10180
10181 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10182
10183 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10184
10185 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10186 Skip test completely if gdb,no_hardware_watchpoints.
10187
10188 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10189
10190 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10191 strict, but do not check for any particular function name within libc.
10192
10193 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10194
10195 * gdb.cp/smartp.exp: New test.
10196 * gdb.cp/smartp.cc : New test.
10197
10198 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10199
10200 * gdb.cp/converts.exp: Test pointer to bool conversion.
10201 Test pointer to long conversion.
10202 * gdb.cp/oranking.exp: Removed relevant kfail.
10203
10204 2010-10-18 Tom Tromey <tromey@redhat.com>
10205
10206 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10207 argument to lazy_string.
10208 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10209 (pp_ls.to_string): Use it.
10210 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10211 Add "estring2" local.
10212
10213 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10214
10215 Fix s390x compatibility.
10216 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10217 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10218
10219 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10220
10221 * gdb.threads/sigstep-threads.exp: New file.
10222 * gdb.threads/sigstep-threads.c: New file.
10223
10224 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10225
10226 * gdb.base/pie-execl.exp: New file.
10227 * gdb.base/pie-execl.c: New file.
10228
10229 2010-10-13 Doug Evans <dje@google.com>
10230 Jan Kratochvil <jan.kratochvil@redhat.com>
10231
10232 PR exp/12117
10233 * gdb.cp/ptype-cv-cp.cc: New file.
10234 * gdb.cp/ptype-cv-cp.exp: New file.
10235
10236 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10237
10238 * gdb.cp/converts.cc: New test program.
10239 * gdb.cp/converts.exp: New test.
10240 * gdb.cp/overload.exp: Added test for void* vs int*.
10241 * gdb.cp/overload.exp: Ditto.
10242 * gdb.cp/oranking.exp: Removed related kfail.
10243
10244 2010-10-13 Doug Evans <dje@google.com>
10245
10246 * lib/gdb-python.exp (gdb_check_python_config): New function.
10247 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10248 * gdb.python/lib-types.cc: New file.
10249 * gdb.python/lib-types.exp: New file.
10250
10251 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10252
10253 * gdb.python/py-error.exp: New file.
10254 * gdb.python/py-error.py: New file.
10255
10256 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10257
10258 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10259 gdb_test_multiple.
10260
10261 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10262
10263 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10264 * gdb.base/prelink.exp: Likewise.
10265 * gdb.base/solib-nodir.exp: Likewise.
10266 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10267 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10268 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10269
10270 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10271
10272 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10273 for the "info files" test to avoid timeouts on slow machines.
10274
10275 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10276
10277 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10278 (main): Make openlib dummy call.
10279
10280 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10281
10282 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10283 * break-interp.exp (reach): Move the core body ...
10284 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10285 (test_ld): Provide always real argument, even to the linker. Replace
10286 dl_main by _dl_debug_state.
10287
10288 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10289
10290 Fix results of prelinked PIEs on ppc*.
10291 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10292 Accept also DISPLACEMENT "PRESENT".
10293 (main): Replace "ZERO" displacements by "PRESENT".
10294
10295 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10296
10297 * gdb.cp/oranking.exp: New test.
10298 * gdb.cp/oranking.cc: New test program.
10299
10300 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
10301
10302 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10303 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10304
10305 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10306
10307 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10308 lush, lynx) New constant.
10309 * gdb.base/constvars.exp: Test const array types.
10310 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10311
10312 2010-10-06 Doug Evans <dje@google.com>
10313
10314 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10315 of syscall staging area.
10316
10317 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10318
10319 * gdb.base/gnu_vector.c: Add variable c4.
10320 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10321 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10322
10323 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10324
10325 * gdb.arch/altivec-abi.exp: Fix a typo.
10326
10327 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10328
10329 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10330 to match a thread ID.
10331
10332 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10333
10334 Fix s390x testcase compatibility.
10335 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10336
10337 2010-10-01 Doug Evans <dje@google.com>
10338
10339 * lib/gdb-python.exp: New file.
10340 * gdb.python/py-block.exp: Use it.
10341 * gdb.python/py-breakpoint.exp: Ditto.
10342 * gdb.python/py-frame.exp: Ditto.
10343 * gdb.python/py-inferior.exp: Ditto.
10344 * gdb.python/py-param.exp: Ditto.
10345 * gdb.python/py-prettyprint.exp: Ditto.
10346 * gdb.python/py-shared.exp: Ditto.
10347 * gdb.python/py-symbol.exp: Ditto.
10348 * gdb.python/py-symtab.exp: Ditto.
10349 * gdb.python/py-type.exp: Ditto.
10350 * gdb.python/py-value.exp: Ditto.
10351 * gdb.python/python.exp: Ditto.
10352
10353 2010-09-30 Tom Tromey <tromey@redhat.com>
10354
10355 * gdb.base/anon.exp: New file.
10356 * gdb.base/anon.c: New file.
10357
10358 2010-09-30 Tom Tromey <tromey@redhat.com>
10359
10360 * gdb.base/completion.exp: Test completion through anonymous
10361 union.
10362 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10363
10364 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10365
10366 Fix printing parameters of inlined functions.
10367 * gdb.dwarf2/dw2-inline-param.exp: New file.
10368 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10369 * gdb.dwarf2/dw2-inline-param.S: New file.
10370
10371 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10372
10373 PR corefiles/12071.
10374 * gdb.base/corefile.exp (quit with a process, no question: load core)
10375 (quit with a core file): New tests.
10376
10377 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10378
10379 Fix GDB crash on inferior calls with self-referencing classes.
10380 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10381 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10382 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10383
10384 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10385
10386 Fix lost siginfo_t for inferior calls.
10387 * gdb.base/siginfo-infcall.exp: New file.
10388 * gdb.base/siginfo-infcall.c: New file.
10389
10390 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10391
10392 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10393
10394 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10395
10396 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10397 New test.
10398 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10399
10400 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10401
10402 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10403 type of our const type.
10404
10405 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10406
10407 * gdb.cp/pr12028.cc: New.
10408 * gdb.cp/pr12028.exp: New.
10409
10410 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10411
10412 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10413
10414 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
10415 Jan Kratochvil <jan.kratochvil@redhat.com>
10416
10417 PR mi/11407
10418 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10419 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10420 * gdb.mi/dw2-ref-missing-frame.S New File.
10421 * gdb.mi/dw2-ref-missing-frame.exp New File.
10422
10423 2010-09-14 Tom Tromey <tromey@redhat.com>
10424
10425 PR symtab/8399:
10426 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10427
10428 2010-09-14 Tom Tromey <tromey@redhat.com>
10429
10430 PR exp/11803:
10431 * gdb.threads/tls.exp: Use C++.
10432 (check_thread_local): Use K::another_thread_local.
10433 * gdb.threads/tls.c (class K): New.
10434 (another_thread_local): Now a member of K.
10435 (spin): Update. No longer K&R C.
10436
10437 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10438
10439 * gdb.cp/koenig.cc: created class for testing member lookup.
10440 * gdb.cp/koenig.exp: Added test for member lookup.
10441
10442 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10443
10444 Fix false FAILs on sourcetree topdir directory containing "kill".
10445 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10446 source line matching regexp.
10447
10448 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10449
10450 * gdb.python/python.exp (set height 0, collect help from uiout)
10451 (verify help to uiout): New tests.
10452
10453 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10454
10455 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10456 is_lp64_target to check 64bit target.
10457
10458 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10459
10460 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10461 (test_ld) <powerpc64-*>: New.
10462
10463 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10464
10465 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10466
10467 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10468
10469 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10470 (FunctionArg::method): New function.
10471 (empty, arg): New variables.
10472 (main): Call arg.method.
10473 * gdb.cp/templates.exp (test_template_args): New function.
10474 (do_tests): Call it.
10475
10476 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10477
10478 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10479 of "next" to proceed over pthread_exit call.
10480
10481 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10482
10483 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10484 "maint print statistics" output to prevent expect timeouts.
10485
10486 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10487
10488 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10489 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10490 (test_float_rejected): ... here.
10491 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10492 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10493 (test_float_rejected): ... here.
10494 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10495 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10496 (test_float_rejected): ... here.
10497 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10498 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10499 (test_float_rejected): ... here.
10500
10501 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10502
10503 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10504 before disabling hardware watchpoints.
10505 (test_inaccessible_watchpoint): Check that hardware watchpoints
10506 are used. Test for watchpoints on a constant address.
10507
10508 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10509
10510 * gdb.base/ui-redirect.exp: New file.
10511
10512 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10513 Joel Brobecker <brobecker@adacore.com>
10514
10515 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10516
10517 2010-08-31 Doug Evans <dje@google.com>
10518
10519 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10520
10521 2010-08-30 Tom Tromey <tromey@redhat.com>
10522
10523 PR python/11792:
10524 * gdb.python/py-value.exp (test_subscript_regression): Add
10525 dynamic_type test.
10526
10527 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10528
10529 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10530 instead of running to main. Do not test the main function.
10531 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10532 Add new main.
10533
10534 2010-08-26 Pedro Alves <pedro@codesourcery.com>
10535
10536 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10537 one test.
10538
10539 2010-08-24 Doug Evans <dje@google.com>
10540
10541 PR symtab/11942
10542 * gdb.dwarf2/dw4-sig-types.cc: New file.
10543 * gdb.dwarf2/dw4-sig-types.h: New file.
10544 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10545 * gdb.dwarf2/dw4-sig-types.exp: New file.
10546
10547 2010-08-23 Tom Tromey <tromey@redhat.com>
10548
10549 PR python/11145:
10550 * gdb.python/py-value.c (Base, Derived): New types.
10551 (base): New global.
10552 * gdb.python/py-value.exp (test_subscript_regression): Add
10553 dynamic_cast test.
10554
10555 2010-08-23 Tom Tromey <tromey@redhat.com>
10556
10557 PR python/10676:
10558 * gdb.python/py-type.exp (test_fields): Add tests for type
10559 equality.
10560
10561 2010-08-23 Tom Tromey <tromey@redhat.com>
10562
10563 PR python/11915:
10564 * gdb.python/py-type.exp (test_fields): Add tests for array.
10565
10566 2010-08-23 Keith Seitz <keiths@redhat.com>
10567
10568 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10569 have any children. Create a new abbrev for it.
10570 Add missing terminal sequence to .debug_abbrev.
10571
10572 2010-08-20 Keith Seitz <keiths@redhat.com>
10573
10574 PR symtab/11465:
10575 * gdb.dwarf2/pr11465.exp: New test.
10576 * gdb.dwarf2/pr11465.S: New file.
10577 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10578 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10579
10580 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10581
10582 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10583 registers. Update data sets with the new v2_double element in the
10584 VSX register union. Add vector_register3_vr data set for the AltiVec
10585 registers. Use gdb_test_no_output instead of send_gdb.
10586
10587 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10588
10589 * gdb.python/py-shared.exp: New file, factored out from
10590 python.exp.
10591 * gdb.python/py-shared.c: New file.
10592 * gdb.python/py-shared-sl.c: New file.
10593 * gdb.python/python-1.c: New file.
10594 * gdb.python/python-sl.c: Delete.
10595 * gdb.python/python.c: Mention python-1.c.
10596 * gdb.python/python.exp: Move shared library tests to
10597 py-shared.exp.
10598 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10599 (MISCELLANEOUS): New.
10600 (clean mostlyclean): Also remove $MISCELLANEOUS.
10601
10602 2010-08-19 Doug Evans <dje@google.com>
10603
10604 PR exp/11926
10605 * gdb.base/printcmds.exp (test_float_accepted): New function.
10606 Move existing float tests there. Add tests for floats with suffixes.
10607 (test_float_rejected): New function.
10608 * gdb.java/jv-print.exp (test_float_accepted): New function.
10609 (test_float_rejected): New function.
10610 * gdb.objc/print.exp: New file.
10611 * gdb.pascal/print.exp: New file.
10612 * lib/objc.exp: New file.
10613
10614 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10615
10616 * gdb.base/default.exp (info set): Avoid full buffer error and force
10617 reading up to final gdb prompt.
10618 (show): Likewise.
10619
10620 2010-08-18 Tom Tromey <tromey@redhat.com>
10621
10622 PR symtab/11919:
10623 * gdb.base/completion.exp: Add test.
10624
10625 2010-08-18 Doug Evans <dje@google.com>
10626
10627 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10628 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10629 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10630 Simplify, early exit if runto_main fails.
10631 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10632 (set_lang_fortran): Moved to lib/fortran.exp.
10633 * gdb.fortran/types.exp: load_lib fortran.exp.
10634 (set_lang_fortran): Moved to lib/fortran.exp.
10635 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10636 * gdb.java/jprint.exp (set_lang_java): Ditto.
10637 * gdb.java/jv-exp.exp: load_lib java.exp.
10638 If set_lang_java fails, issue a warning instead of failure to be
10639 consistent with other set_lang_foo uses.
10640 (set_lang_java): Moved to lib/java.exp.
10641 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10642 If set_lang_java fails, issue a warning instead of failure to be
10643 consistent with other set_lang_foo uses.
10644 * gdb.pascal/types.exp: load_lib pascal.exp.
10645 (set_lang_pascal): Moved to lib/pascal.exp.
10646 * lib/fortran.exp: New file.
10647 * lib/java.exp (set_lang_java): New function.
10648 * lib/pascal.exp (set_lang_pascal): New function.
10649
10650 2010-08-18 Yao Qi <yao@codesourcery.com
10651
10652 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10653 func_nofb_start and func_loopfb_start, so that address of functions
10654 is equal to these labels on Thumb.
10655
10656 2010-08-18 Yao Qi <yao@codesourcery.com>
10657
10658 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10659 to reflect latest c source file.
10660
10661 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10662
10663 * gdb.cp/infcall-dlopen.exp: New file.
10664 * gdb.cp/infcall-dlopen.cc: New file.
10665 * gdb.cp/infcall-dlopen-lib.cc: New file.
10666
10667 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10668 Pedro Alves <pedro@codesourcery.com>
10669
10670 PR breakpoints/11371
10671
10672 * gdb.base/watch-cond-infcall.exp: New file.
10673 * gdb.base/watch-cond-infcall.c: New file.
10674
10675 2010-08-16 Tom Tromey <tromey@redhat.com>
10676
10677 * gdb.base/help.exp: Update.
10678 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10679 watchpoint.
10680 (test_watch_location): New proc.
10681 (test_watchpoint_in_big_blob): Delete watchpoint.
10682 * gdb.base/watchpoint.c (func5): New function.
10683 (main): Call it.
10684
10685 2010-08-16 Doug Evans <dje@google.com>
10686
10687 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10688
10689 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10690
10691 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10692 tests.
10693
10694 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10695
10696 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10697 * gdb.base/gnu_vector.c: New File.
10698 * gdb.base/gnu_vector.exp: Likewise.
10699
10700 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10701
10702 * gdb.python/python.c: New File.
10703 * gdb.python/python-sl.c: New File.
10704 * gdb.python/python.exp: Test solib_address and decode_line
10705 * functions.
10706
10707 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10708
10709 * gdb.python/python.exp (show height, set height 10)
10710 (verify pagination beforehand, verify pagination beforehand: q)
10711 (gdb.execute does not page, verify pagination afterwards)
10712 (verify pagination afterwards: q): New.
10713
10714 2010-08-02 Doug Evans <dje@google.com>
10715
10716 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10717 because of an older gcc, change test2
10718 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10719 to unsupported.
10720
10721 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10722
10723 * gdb.base/break-always.exp: Do not expect full paths to file
10724 names.
10725 * gdb.base/commands.exp: Likewise.
10726
10727 2010-07-30 Doug Evans <dje@google.com>
10728
10729 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10730 xfail them when run with older gccs.
10731
10732 * lib/gdb.exp (build_executable): Forward "c++" option to
10733 get_compiler_info.
10734
10735 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10736 "python print ttype.template_argument(1)" and
10737 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10738 if using gcc 4.4 or earlier.
10739
10740 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10741 attach-to-debugger handling.
10742
10743 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10744
10745 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10746 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10747 (main): Use copyreloc.
10748 * gdb.base/prelink.exp (split debug of executable)
10749 (.dynbss vs. .bss address shift): New tests.
10750
10751 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10752
10753 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10754 in gdb_test_multiple.
10755
10756 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10757
10758 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10759 environment.
10760
10761 2010-07-28 Tom Tromey <tromey@redhat.com>
10762
10763 PR python/11060:
10764 * gdb.python/py-type.c (Temargs): New template.
10765 (temvar): New variable.
10766 * gdb.python/py-type.exp (test_template): New proc.
10767
10768 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10769
10770 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10771 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10772
10773 2010-07-28 Tom Tromey <tromey@redhat.com>
10774
10775 PR c++/9946:
10776 * gdb.cp/temargs.exp: New file.
10777 * gdb.cp/temargs.cc: New file.
10778
10779 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10780
10781 * gdb.base/help.exp (help disassemble): Update the content.
10782
10783 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10784
10785 * gdb.threads/ia64-sigill.exp: New file.
10786 * gdb.threads/ia64-sigill.c: New file.
10787
10788 2010-07-27 Tom Tromey <tromey@redhat.com>
10789
10790 * gdb.opt/inline-cmds.c (ATTR): New define.
10791 (func1): Use it.
10792 (func2): Likewise.
10793 (func3): Likewise.
10794 (outer_inline1): Likewise.
10795 (outer_inline2): Likewise.
10796 * gdb.opt/inline-bt.c (ATTR): New define.
10797 (func1): Use it.
10798 (func2): Likewise.
10799 * gdb.opt/inline-locals.c (ATTR): New define.
10800 (func1): Use it.
10801 (func2): Likewise.
10802
10803 2010-07-27 Tom Tromey <tromey@redhat.com>
10804
10805 * gdb.stabs/gdb11479.c (hack): New function.
10806 (test): Use it.
10807 (test2): Use it.
10808 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10809 (int32_search_buf, int64_search_buf): No longer static.
10810 (x): Remove.
10811 * gdb.base/relocate.c (hack): New function.
10812
10813 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10814
10815 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10816 * gdb.python/py-value.c (func1): New function.
10817 (func2): Likewise.
10818
10819 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
10820
10821 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10822 as not to clash with .data section.
10823
10824 2010-07-26 Jerome Guitton <guitton@adacore.com>
10825
10826 * gdb.base/code_elim.exp: New file.
10827 * gdb.base/code_elim1.c: New file.
10828 * gdb.base/code_elim2.c: New file.
10829
10830 2010-07-21 Pedro Alves <pedro@codesourcery.com>
10831
10832 PR symtab/11827
10833
10834 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10835 (some_volatile_enum): New variable.
10836 * gdb.base/printcmds.exp (test_print_enums): New.
10837 <top level>: Call it.
10838
10839 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10840
10841 * gdb.cp/fpointer.cc: New test.
10842 * gdb.cp/fpointer.exp: New test.
10843
10844 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10845
10846 * gdb.base/solib-nodir.exp: New file.
10847 * lib/gdb.exp (runto): New case for a GDB internal error.
10848
10849 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10850 Ulrich Weigand <uweigand@de.ibm.com>
10851 Tom Tromey <tromey@redhat.com>
10852
10853 * gdb.base/charset-malloc.c: New file.
10854 * gdb.base/charset.c (malloc_stub): New prototype.
10855 (main): Call it instead of malloc itself.
10856 * gdb.base/charset.exp: Use only prepare_for_testing.
10857 (binfile): Remove the variable.
10858
10859 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10860
10861 Make core files the process_stratum.
10862 * gdb.base/corefile.exp (run: load core again)
10863 (run: sanity check we see the core file, run: with core)
10864 (run: core file is cleared, attach: load core again)
10865 (attach: sanity check we see the core file, attach: with core)
10866 (attach: core file is cleared): New tests.
10867 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10868
10869 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
10870
10871 * gdb.arch/altivec-abi.exp: New tests.
10872
10873 2010-07-13 Tom Tromey <tromey@redhat.com>
10874
10875 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10876 (main): Use it.
10877 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10878
10879 2010-07-13 Tom Tromey <tromey@redhat.com>
10880
10881 * gdb.base/label.exp: New file.
10882 * gdb.base/label.c: New file.
10883
10884 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10885 H.J. Lu <hongjiu.lu@intel.com>
10886
10887 * lib/gdb.exp (is_ilp32_target): New.
10888 (is_lp64_target): Likewise.
10889
10890 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10891 target.
10892 * gdb.arch/amd64-disp-step.exp: Likewise.
10893 * gdb.arch/amd64-dword.exp: Likewise.
10894 * gdb.arch/amd64-i386-address.exp: Likewise.
10895 * gdb.arch/amd64-word.exp: Likewise.
10896
10897 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10898 target.
10899 * gdb.arch/i386-bp_permanent.exp: Likewise.
10900 * gdb.arch/i386-byte.exp: Likewise.
10901 * gdb.arch/i386-disp-step.exp: Likewise.
10902 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10903 * gdb.arch/i386-prologue.exp: Likewise.
10904 * gdb.arch/i386-size-overlap.exp: Likewise.
10905 * gdb.arch/i386-size.exp: Likewise.
10906 * gdb.arch/i386-sse.exp: Likewise.
10907 * gdb.arch/i386-unwind.exp: Likewise.
10908 * gdb.arch/i386-word.exp: Likewise.
10909
10910 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10911 test only when building 64-bit executables. Do not hard-code
10912 -m64 option.
10913
10914 2010-07-07 Doug Evans <dje@google.com>
10915
10916 * lib/gdb.exp (gdb_test_list_exact): New function.
10917 * gdb.base/default.exp (show convenience): Call it, add tests for
10918 $_sdata = void, $_thread = 0.
10919
10920 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10921 Joel Brobecker <brobecker@adacore.com>
10922
10923 Fix re-run of PIE executable, PR shlibs/11776.
10924 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10925 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10926 and re-"run" of the inferior.
10927
10928 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10929 Joel Brobecker <brobecker@adacore.com>
10930
10931 Cope with missing /usr/sbin/prelink.
10932 * lib/prelink-support.exp (prelink_no):
10933 <result == 1 && $output is "no such file or directory">: New.
10934 (prelink_yes): Likewise. Return on failed prelink_no.
10935
10936 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10937 Joel Brobecker <brobecker@adacore.com>
10938
10939 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10940 build_executable by build_executable_own_libs. Replace "prelink -R"
10941 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10942 change.
10943 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10944 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10945 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10946 Replace build_executable by build_executable_own_libs's function
10947 build_executable_own_libs.
10948 (prelinkNO): Create new stub to call prelink_no.
10949 (prelinkYES): Create new stub to call prelink_yes.
10950 (test_attach): Rename calls of copy to file_copy.
10951 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10952 (copy): Move to ...
10953 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10954 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10955 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10956 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10957 special flags by gdb_compile_shlib. Replace second gdb_compile by
10958 build_executable_own_libs. Replace "prelink -R" execution by a call of
10959 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10960 a second call of prelink_yes. Replace restart commands by
10961 clean_restart.
10962 (prelink): Rename to ...
10963 (seen displacement message): ... this test. Extend its expectation
10964 strictness.
10965
10966 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10967
10968 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10969 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10970 displacement message exactly once.
10971
10972 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10973 Joel Brobecker <brobecker@adacore.com>
10974
10975 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10976 its restore after the <$relink_args != ""> loop. new comment.
10977
10978 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10979 Joel Brobecker <brobecker@adacore.com>
10980
10981 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10982 code for it. New variable relink_args.
10983 (prelinkYES): Call prelinkNO.
10984 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10985 in such case. Move the core code to ...
10986 (test_attach_gdb): ... a new function. Send GDB command "file".
10987 Extend expected "Attaching to " string.
10988
10989 2010-07-02 Tom Tromey <tromey@redhat.com>
10990
10991 * gdb.base/bitops.exp: Remove extraneous "pass".
10992
10993 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
10994
10995 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10996
10997 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10998
10999 * gdb.base/help.exp: Adjust expected output.
11000
11001 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11002
11003 * gdb.base/help.exp: Adjust expected output.
11004
11005 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11006
11007 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11008 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11009 c++/11702.
11010
11011 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11012 Doug Evans <dje@google.com>
11013
11014 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11015 add .dynamic entry'.
11016
11017 2010-06-29 Doug Evans <dje@google.com>
11018
11019 Test PR c++/11702.
11020 * gdb.cp/m-static.exp: Add testcase.
11021 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11022
11023 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
11024 Tom Tromey <tromey@redhat.com>
11025 Thiago Jung Bauermann <bauerman@br.ibm.com>
11026
11027 * gdb.python/py-inferior.c: New File.
11028 * gdb.python/py-infthread.c: New File.
11029 * gdb.python/py-inferior.exp: New File.
11030 * gdb.python/py-infthread.exp: New File.
11031
11032 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11033
11034 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11035 (ptype ::C::OtherFileClass typedefs): New.
11036 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11037 (C::OtherFileClass::cOtherFileClassVar2): New.
11038 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11039 cOtherFileClassVar2.
11040 (C::cOtherFileType2, C::cOtherFileVar2): New.
11041 (C::cOtherFileVar_use): use also cOtherFileVar2.
11042 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11043
11044 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11045
11046 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11047 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11048 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11049 (print ::C::cOtherFileVar)
11050 (whatis C::OtherFileClass::cOtherFileClassType)
11051 (whatis ::C::OtherFileClass::cOtherFileClassType)
11052 (print C::OtherFileClass::cOtherFileClassVar)
11053 (print ::cOtherFileClassVar)
11054 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11055 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11056 trailing content.
11057 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11058 (C::OtherFileClass::cOtherFileClassVar)
11059 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11060 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11061
11062 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11063
11064 Test PR c++/11703 and PR gdb/1448.
11065 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11066 gdb/1448.
11067
11068 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11069
11070 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11071 (main) <rtti_data>: New.
11072 * gdb.cp/virtbase.exp (print rtti_data): New.
11073
11074 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11075 Joel Brobecker <brobecker@adacore.com>
11076
11077 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11078
11079 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11080
11081 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11082
11083 2010-06-28 Doug Evans <dje@google.com>
11084
11085 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11086
11087 2010-06-27 Doug Evans <dje@google.com>
11088
11089 * gdb.cp/m-static.exp: Update expected test output.
11090
11091 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11092
11093 * gdb.gdb/selftest.exp: Adjust expected message for
11094 capturing start-up runtime.
11095
11096 2010-06-25 Tom Tromey <tromey@redhat.com>
11097
11098 PR python/10808:
11099 * gdb.python/python.exp: Add new tests.
11100
11101 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11102
11103 * gdb.cp/operator.cc: Created an import loop.
11104 * gdb.cp/operator.exp: Added testcase for import loop.
11105
11106 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11107
11108 Test PR python/11407.
11109 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11110 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11111 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11112 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11113 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11114 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11115 binfile. Call gdb_compile with clean_restart twice.
11116 (func_nofb print, func_nofb backtrace, func_loopfb print)
11117 (func_loopfb backtrace): New.
11118
11119 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11120
11121 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11122 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11123 by a hand made one.
11124 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11125 i?86 requirement. Remove variables srcfile and binfile. New variable
11126 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11127
11128 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11129
11130 * gdb.cell/dwarfaddr.exp: New file.
11131 * gdb.cell/dwarfaddr.S: New file.
11132
11133 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11134
11135 Test PR 9436.
11136 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11137
11138 2010-06-24 Hui Zhu <teawater@gmail.com>
11139
11140 * gdb.base/eval.exp: New file.
11141
11142 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11143
11144 * gdb.cell/fork.exp: New file.
11145 * gdb.cell/fork.c: Likewise.
11146 * gdb.cell/fork-spu.c: Likewise.
11147
11148 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11149
11150 * lib/gdb.exp (banned_variables_traced): New global variable.
11151 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11152 (gdb_init): Use `trace add variable' instead of obsolete
11153 `trace variable'.
11154
11155 2010-06-21 Doug Evans <dje@google.com>
11156
11157 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11158
11159 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11160
11161 * gdb.arch/spu-ls.exp: New file.
11162 * gdb.arch/spu-ls.c: Likewise.
11163
11164 2010-06-18 Stan Shebs <stan@codesourcery.com>
11165
11166 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11167
11168 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11169
11170 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11171 * gdb.base/watch-cond.exp: Likewise.
11172 * gdb.python/py-breakpoint.exp: Likewise.
11173
11174 2010-06-18 Pedro Alves <pedro@codesourcery.com>
11175
11176 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11177 clean_restart, make sure every test has a distinct message, and
11178 that messages don't include the executable' full path.
11179
11180 2010-06-17 Doug Evans <dje@google.com>
11181
11182 * gdb.arch/i386-size.exp: Updated expected output for
11183 DISASSEMBLY_OMIT_FNAME.
11184
11185 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11186 Sergio Durigan Junior <sergiodj@redhat.com>
11187
11188 * gdb.base/watch-notconst.c: New file.
11189 * gdb.base/watch-notconst.S: New file.
11190 * gdb.base/watch-notconst2.c: New file.
11191 * gdb.base/watch-notconst2.S: New file.
11192 * gdb.base/watch-notconst.exp: New file.
11193 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11194 (func4): Add operations on `global_ptr_ptr'.
11195 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11196 routine to test watchpoints created with a constant expression.
11197 (test_inaccessible_watchpoint): Include tests for watchpoints
11198 created with a constant expression.
11199
11200 2010-06-14 Kevin Buettner <kevinb@redhat.com>
11201
11202 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11203 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11204 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11205 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11206 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11207 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11208 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11209 of `_start'.
11210
11211 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11212
11213 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11214 not supported on the target.
11215 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11216 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11217 * gdb.mi/mi-nsintrall.exp: Likewise.
11218 * gdb.mi/mi-nsmoribund.exp: Likewise.
11219 * gdb.mi/mi-nsthrexec.exp: Likewise.
11220
11221 2010-06-11 Stan Shebs <stan@codesourcery.com>
11222
11223 * gdb.base/permissions.exp: New file.
11224
11225 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11226
11227 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11228 does not support ELF executable class.
11229
11230 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11231
11232 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11233
11234 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11235
11236 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11237 (runto): Catch "The target does not support running in non-stop mode.".
11238
11239 2010-06-11 Michael Snyder <msnyder@vmware.com>
11240
11241 * gdb.base/setshow.exp (set language asm): Don't use
11242 gdb_test_no_output, fails on some targets.
11243
11244 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11245
11246 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11247 * gdb.cp/pr9167.exp: Likewise.
11248
11249 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11250
11251 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11252
11253 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11254
11255 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11256
11257 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11258
11259 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11260
11261 2010-06-11 Tom Tromey <tromey@redhat.com>
11262
11263 PR gdb/9977, PR exp/11636::
11264 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11265 (pieces_test_f6): Update expected output.
11266
11267 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11268
11269 * gdb.base/moribund-step.exp: New.
11270
11271 2010-06-08 Michael Snyder <msnyder@vmware.com>
11272
11273 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
11274 * gdb.ada/boolean_expr.exp:
11275 * gdb.ada/frame_args.exp: Ditto.
11276 * gdb.ada/lang_switch.exp: Ditto.
11277 * gdb.ada/ptype_arith_binop.exp: Ditto.
11278 * gdb.ada/ref_param.exp: Ditto.
11279 * gdb.ada/type_coercion.exp:Ditto.
11280
11281 * gdb.asm/asm-source.exp: Ditto.
11282
11283 * gdb.base/attach.exp: Ditto.
11284 * gdb.base/bitfields2.exp: Ditto.
11285 * gdb.base/call-signal-resume.exp: Ditto.
11286 * gdb.base/callfuncs.exp: Ditto.
11287 * gdb.base/commands.exp: Ditto.
11288 * gdb.base/dbx.exp: Ditto.
11289 * gdb.base/default.exp: Ditto.
11290 * gdb.base/dump.exp: Ditto.
11291 * gdb.base/exprs.exp: Ditto.
11292 * gdb.base/freebpcmd.exp: Ditto.
11293 * gdb.base/interrupt.exp: Ditto.
11294 * gdb.base/list.exp: Ditto.
11295 * gdb.base/long_long.exp: Ditto.
11296 * gdb.base/maint.exp: Ditto.
11297 * gdb.base/ptype.exp: Ditto.
11298 * gdb.base/return.exp: Ditto.
11299 * gdb.base/setshow.exp: Ditto.
11300 * gdb.base/sigbpt.exp: Ditto.
11301 * gdb.base/sigrepeat.exp: Ditto.
11302
11303 * gdb.cp/classes.exp: Ditto.
11304
11305 * gdb.dwarf2/dw2-restore.exp: Ditto.
11306
11307 * gdb.gdb/selftest.exp: Ditto.
11308
11309 * gdb.multi/base.exp: Ditto.
11310 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11311
11312 * gdb.python/py-block.exp: Ditto.
11313 * gdb.python/py-prettyprint.exp: Ditto.
11314 * gdb.python/py-template.exp: Ditto.
11315
11316 * gdb.server/ext-attach.exp: Ditto.
11317 * gdb.server/ext-run.exp: Ditto.
11318 * gdb.server/server-mon.exp: Ditto.
11319
11320 * gdb.threads/fork-thread-pending.exp: Ditto.
11321 * gdb.threads/hand-call-in-threads.exp: Ditto.
11322 * gdb.threads/interrupted-hand-call.exp: Ditto.
11323 * gdb.threads/linux-dp.exp: Ditto.
11324 * gdb.threads/manythreads.exp: Ditto.
11325 * gdb.threads/print-threads.exp: Ditto.
11326 * gdb.threads/pthreads.exp: Ditto.
11327 * gdb.threads/schedlock.exp: Ditto.
11328 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11329 * gdb.threads/threadapply.exp: Ditto.
11330
11331 2010-06-08 Michael Snyder <msnyder@vmware.com>
11332
11333 * gdb.ada/exec_changed.exp:
11334 Use ".*" instead of "" as wildcard regexp.
11335
11336 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11337 * gdb.base/call-ar-st.exp: Ditto.
11338 * gdb.base/checkpoint.exp: Ditto.
11339 * gdb.base/default.exp: Ditto.
11340 * gdb.base/dump.exp: Ditto.
11341 * gdb.base/ending-run.exp: Ditto.
11342 * gdb.base/fileio.exp: Ditto.
11343 * gdb.base/miscexprs.exp: Ditto.
11344 * gdb.base/pointers.exp: Ditto.
11345 * gdb.base/readline.exp: Ditto.
11346 * gdb.base/reread.exp: Ditto.
11347 * gdb.base/restore.exp: Ditto.
11348 * gdb.base/shlib-call.exp: Ditto.
11349 * gdb.base/valgrind-db-attach.exp: Ditto.
11350 * gdb.base/volatile.exp: Ditto.
11351 * gdb.base/watchpoints.exp: Ditto.
11352
11353 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11354
11355 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11356 * gdb.python/py-value.exp: Ditto.
11357
11358 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11359 * gdb.trace/circ.exp: Ditto.
11360 * gdb.trace/collection.exp: Ditto.
11361 * gdb.trace/packetlen.exp: Ditto.
11362 * gdb.trace/passc-dyn.exp: Ditto.
11363 * gdb.trace/report.exp: Ditto.
11364 * gdb.trace/tfile.exp: Ditto.
11365 * gdb.trace/tfind.exp: Ditto.
11366 * gdb.trace/while-dyn.exp: Ditto.
11367
11368 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11369
11370 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11371
11372 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11373
11374 Test PR 10640.
11375 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11376
11377 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11378
11379 * gdb.cp/koenig.exp: Test for ADL operators.
11380 * gdb.cp/koenig.cc: Added ADL operators.
11381 * gdb.cp/operator.exp: New test.
11382 * gdb.cp/operator.cc: New test.
11383
11384 2010-06-04 Michael Snyder <msnyder@vmware.com>
11385
11386 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11387 * gdb.base/pending.exp: Ditto.
11388
11389 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11390
11391 2010-06-04 Doug Evans <dje@google.com>
11392
11393 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11394 disabled printers.
11395 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11396 (enable_lookup_function): New function.
11397
11398 2010-06-04 Tom Tromey <tromey@redhat.com>
11399
11400 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11401 of hash and id.
11402
11403 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11404
11405 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11406 newline.
11407 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11408 (empty verbose non-noisy clear, empty verbose noisy clear)
11409 (empty non-verbose noisy clear): Likewise.
11410
11411 2010-06-03 Michael Snyder <msnyder@vmware.com>
11412
11413 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11414 * gdb.base/display.exp: Ditto.
11415 * gdb.base/find.exp: Ditto.
11416 * gdb.base/ifelse.exp: Ditto.
11417 * gdb.base/multi-forks.exp: Ditto.
11418 * gdb.base/recurse.exp: Ditto.
11419 * gdb.base/setshow.exp: Ditto.
11420 * gdb.base/value-double-free.exp: Ditto.
11421 * gdb.base/watch-vfork.exp: Ditto.
11422 * gdb.base/watch_thread_num.exp: Ditto.
11423 * gdb.base/watchpoint-solib.exp: Ditto.
11424 * gdb.base/watchpoint.exp: Ditto.
11425 * gdb.base/watchpoints.exp: Ditto.
11426
11427 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11428 * gdb.cp/overload.exp: Ditto.
11429 * gdb.cp/virtfunc.exp: Ditto.
11430
11431 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11432
11433 * gdb.reverse/watch-precsave.exp:
11434 Replace gdb_test with gdb_test_no_output.
11435
11436 * gdb.threads/attach-into-signal.exp:
11437 Replace gdb_test with gdb_test_no_output.
11438 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11439 * gdb.threads/watchthreads.exp: Ditto.
11440 * gdb.threads/watchthreads2.exp: Ditto.
11441
11442 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11443 * gdb.trace/tfind.exp: Ditto.
11444
11445 2010-06-03 Joel Brobecker <brobecker@adacore.com>
11446
11447 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11448 successful test if message is the empty string.
11449
11450 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11451
11452 * gdb.fortran/module.exp (stopped language detection): New test.
11453
11454 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11455
11456 Support DW_TAG_module as separate namespaces.
11457 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11458 gdb.fortran/library-module-lib.f90: New.
11459 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11460 (print i): Remove.
11461 (continue to breakpoint: i-is-1, print var_i value 1)
11462 (continue to breakpoint: i-is-2, print var_i value 2)
11463 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11464 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11465 (complete `modmany, complete `modmany`, complete `modmany`var)
11466 (show language, setting breakpoint at module): New tests.
11467 * gdb.fortran/module.f90 (module mod): Remove.
11468 (module mod1, module mod2, module modmany, subroutine sub1)
11469 (subroutine sub2, program module): New.
11470
11471 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11472
11473 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11474 (print value of rUC, print value of rI, print value of UI): ... here.
11475 * gdb.cp/anon-union.exp (pass): Rename to ...
11476 (print z 2): ... here.
11477
11478 2010-06-02 Michael Snyder <msnyder@vmware.com>
11479
11480 * gdb.trace/actions.exp: Use gdb_test_no_output.
11481 * gdb.trace/circ.exp: Ditto.
11482 * gdb.trace/packetlen.exp: Ditto.
11483 * gdb.trace/save-trace.exp: Ditto.
11484 * gdb.trace/tracecmd.exp: Ditto.
11485 * gdb.trace/tsv.exp: Ditto.
11486
11487 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11488 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11489 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11490 * gdb.threads/manythreads.exp: Ditto.
11491 * gdb.threads/print-threads.exp: Ditto.
11492 * gdb.threads/pthreads.exp: Ditto.
11493 * gdb.threads/schedlock.exp: Ditto.
11494 * gdb.threads/staticthreads.exp: Ditto.
11495 * gdb.threads/thread-specific.exp: Ditto.
11496 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11497 * gdb.threads/threadapply.exp: Ditto.
11498 * gdb.threads/watchthreads.exp: Ditto.
11499 * gdb.threads/watchthreads2.exp: Ditto.
11500
11501 * gdb.python/py-block.exp: Use gdb_test_no_output.
11502 * gdb.python/py-prettyprint.exp: Ditto.
11503 * gdb.python/py-template.exp: Ditto.
11504 * gdb.python/py-value.exp: Ditto.
11505
11506 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11507 * gdb.reverse/watch-reverse.exp: Ditto.
11508
11509 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11510 * gdb.server/ext-run.exp: Ditto.
11511
11512 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11513 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11514 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11515 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11516 * gdb.dwarf2/dw2-producer.exp: Ditto.
11517 * gdb.dwarf2/mac-fileno.exp: Ditto.
11518
11519 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11520 * gdb.gdb/selftest.exp: Ditto.
11521
11522 * gdb.multi/base.exp: Use gdb_test_no_output.
11523
11524 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11525
11526 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11527
11528 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11529
11530 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11531
11532 * gdb.cp/class2.exp: Use gdb_test_no_output.
11533 * gdb.cp/classes.exp: Ditto.
11534 * gdb.cp/extern-c.exp: Ditto.
11535 * gdb.cp/inherit.exp: Ditto.
11536 * gdb.cp/maint.exp: Ditto.
11537 * gdb.cp/mb-inline.exp: Ditto.
11538 * gdb.cp/mb-templates.exp: Ditto.
11539 * gdb.cp/method2.exp: Ditto.
11540 * gdb.cp/misc.exp: Ditto.
11541 * gdb.cp/ovldbreak.exp: Ditto.
11542 * gdb.cp/punctuator.exp: Ditto.
11543 * gdb.cp/templates.exp: Ditto.
11544 * gdb.cp/virtbase.exp: Ditto.
11545
11546 * gdb.threads/attach-stopped.exp:
11547 Replace uses of send_gdb / gdb_expect.
11548 * gdb.threads/attachstop-mt.exp:
11549 Replace uses of send_gdb / gdb_expect.
11550 * gdb.threads/gcore-thread.exp:
11551 Replace uses of send_gdb / gdb_expect.
11552 * gdb.threads/hand-call-in-threads.exp:
11553 Replace uses of send_gdb / gdb_expect.
11554 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11555 * gdb.threads/print-threads.exp:
11556 Replace uses of send_gdb / gdb_expect.
11557 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11558 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11559 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11560
11561 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11562 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11563 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11564 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11565 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11566 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11567 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11568 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11569 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11570 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11571 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11572
11573 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11574
11575 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11576
11577 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11578
11579 * gdb.cp/koenig.exp: Added new test case.
11580 * gdb.cp/koenig.cc: Ditto.
11581
11582 2010-06-01 Michael Snyder <msnyder@vmware.com>
11583
11584 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11585 * gdb.base/arrayidx.exp: Ditto.
11586 * gdb.base/attach.exp: Ditto.
11587 * gdb.base/auxv.exp: Ditto.
11588 * gdb.base/bigcre.exp: Ditto.
11589 * gdb.base/break-always.exp: Ditto.
11590 * gdb.base/break-interp.exp: Ditto.
11591 * gdb.base/break.exp: Ditto.
11592 * gdb.base/breakpoint-shadow.exp: Ditto.
11593 * gdb.base/call-ar-st.exp: Ditto.
11594 * gdb.base/call-sc.exp: Ditto.
11595 * gdb.base/call-signal-resume.exp: Ditto.
11596 * gdb.base/callfuncs.exp: Ditto.
11597 * gdb.base/catch-syscall.exp: Ditto.
11598 * gdb.base/charset.exp: Ditto.
11599 * gdb.base/code-expr.exp: Ditto.
11600 * gdb.base/commands.exp: Ditto.
11601 * gdb.base/cond-expr.exp: Ditto.
11602 * gdb.base/condbreak.exp: Ditto.
11603 * gdb.base/cursal.exp: Ditto.
11604 * gdb.base/cvexpr.exp: Ditto.
11605 * gdb.base/default.exp: Ditto.
11606 * gdb.base/del.exp: Ditto.
11607 * gdb.base/detach.exp: Ditto.
11608 * gdb.base/display.exp: Ditto.
11609 * gdb.base/ena-dis-br.exp: Ditto.
11610 * gdb.base/eval-skip.exp: Ditto.
11611 * gdb.base/foll-fork.exp: Ditto.
11612 * gdb.base/foll-vfork.exp: Ditto.
11613 * gdb.base/frame-args.exp: Ditto.
11614 * gdb.base/funcargs.exp: Ditto.
11615 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11616 * gdb.base/gdbvars.exp: Ditto.
11617 * gdb.base/help.exp: Ditto.
11618 * gdb.base/ifelse.exp: Ditto.
11619 * gdb.base/included.exp: Ditto.
11620 * gdb.base/list.exp: Ditto.
11621 * gdb.base/macscp.exp: Ditto.
11622 * gdb.base/maint.exp: Ditto.
11623 * gdb.base/multi-fork.exp: Ditto.
11624 * gdb.base/overlays.exp: Ditto.
11625 * gdb.base/page.exp: Ditto.
11626 * gdb.base/pending.exp: Ditto.
11627 * gdb.base/pointers.exp: Ditto.
11628 * gdb.base/pr11022.exp: Ditto.
11629 * gdb.base/prelink.exp: Ditto.
11630 * gdb.base/printcmds.exp: Ditto.
11631 * gdb.base/psymtab.exp: Ditto.
11632 * gdb.base/randomize.exp: Ditto.
11633 * gdb.base/relational.exp: Ditto.
11634 * gdb.base/relocate.exp: Ditto.
11635 * gdb.base/remote.exp: Ditto.
11636 * gdb.base/sepdebug.exp: Ditto.
11637 * gdb.base/set-lang-auto.exp: Ditto.
11638 * gdb.base/setshow.exp: Ditto.
11639 * gdb.base/setvar.exp: Ditto.
11640 * gdb.base/signals.exp: Ditto.
11641 * gdb.base/signull.exp: Ditto.
11642 * gdb.base/sigstep.exp: Ditto.
11643 * gdb.base/sizeof.exp: Ditto.
11644 * gdb.base/solib-disc.exp: Ditto.
11645 * gdb.base/store.exp: Ditto.
11646 * gdb.base/structs.exp: Ditto.
11647 * gdb.base/structs2.exp: Ditto.
11648 * gdb.base/subst.exp: Ditto.
11649 * gdb.base/term.exp: Ditto.
11650 * gdb.base/trace-commands.exp: Ditto.
11651 * gdb.base/unwindonsignal.exp: Ditto.
11652 * gdb.base/valgrind-db-attach.exp: Ditto.
11653 * gdb.base/varargs.exp: Ditto.
11654 * gdb.base/watch-cond.exp: Ditto.
11655 * gdb.base/watch_thread_num.exp: Ditto.
11656 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11657 * gdb.base/watchpoint.exp: Ditto.
11658 * gdb.base/whatis-exp.exp: Ditto.
11659
11660 2010-06-01 Michael Snyder <msnyder@vmware.com>
11661
11662 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11663 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11664 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11665 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11666 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11667 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11668 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11669 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11670 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11671 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11672 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11673 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11674 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11675 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11676 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11677
11678 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11679
11680 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11681 trailing newline.
11682 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11683 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11684 (p *args): ... here and remove excessive trailing newline.
11685
11686 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11687
11688 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11689
11690 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11691
11692 Accept the new Linux kernel "t (tracing stop)" string.
11693 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11694 Update comment.
11695 (state_wait) <T (tracing stop)>: New.
11696 (main): Update the state_wait expect string.
11697
11698 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11699
11700 * limits.c, limits.exp: Delete files.
11701 * Makefile.in (clean mostlyclean): Adjust.
11702 * tracecmd.exp: Adjust.
11703
11704 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11705
11706 * gdb.base/tui-layout.exp: New.
11707
11708 2010-05-28 Michael Snyder <msnyder@vmware.com>
11709
11710 * gdb.reverse/break-precsave.exp:
11711 Replace uses of send_gdb / gdb_expect.
11712 * gdb.reverse/break-reverse.exp:
11713 Replace uses of send_gdb / gdb_expect.
11714 * gdb.reverse/consecutive-precsave.exp:
11715 Replace uses of send_gdb / gdb_expect.
11716 * gdb.reverse/consecutive-reverse.exp:
11717 Replace uses of send_gdb / gdb_expect.
11718 * gdb.reverse/finish-precsave.exp:
11719 Replace uses of send_gdb / gdb_expect.
11720 * gdb.reverse/finish-reverse.exp:
11721 Replace uses of send_gdb / gdb_expect.
11722 * gdb.reverse/i386-precsave.exp:
11723 Replace uses of send_gdb / gdb_expect.
11724 * gdb.reverse/i386-reverse.exp:
11725 Replace uses of send_gdb / gdb_expect.
11726 * gdb.reverse/i386-sse-reverse.exp:
11727 Replace uses of send_gdb / gdb_expect.
11728 * gdb.reverse/i387-env-reverse.exp:
11729 Replace uses of send_gdb / gdb_expect.
11730 * gdb.reverse/i387-stack-reverse.exp:
11731 Replace uses of send_gdb / gdb_expect.
11732 * gdb.reverse/machinestate-precsave.exp:
11733 Replace uses of send_gdb / gdb_expect.
11734 * gdb.reverse/machinestate.exp:
11735 Replace uses of send_gdb / gdb_expect.
11736 * gdb.reverse/sigall-precsave.exp:
11737 Replace uses of send_gdb / gdb_expect.
11738 * gdb.reverse/sigall-reverse.exp:
11739 Replace uses of send_gdb / gdb_expect.
11740 * gdb.reverse/solib-precsave.exp:
11741 Replace uses of send_gdb / gdb_expect.
11742 * gdb.reverse/solib-reverse.exp:
11743 Replace uses of send_gdb / gdb_expect.
11744 * gdb.reverse/step-precsave.exp:
11745 Replace uses of send_gdb / gdb_expect.
11746 * gdb.reverse/step-reverse.exp:
11747 Replace uses of send_gdb / gdb_expect.
11748 * gdb.reverse/until-precsave.exp:
11749 Replace uses of send_gdb / gdb_expect.
11750 * gdb.reverse/until-reverse.exp:
11751 Replace uses of send_gdb / gdb_expect.
11752 * gdb.reverse/watch-precsave.exp:
11753 Replace uses of send_gdb / gdb_expect.
11754 * gdb.reverse/watch-reverse.exp:
11755 Replace uses of send_gdb / gdb_expect.
11756
11757 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11758
11759 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11760 excessive newline.
11761
11762 2010-05-27 Michael Snyder <msnyder@vmware.com>
11763
11764 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11765 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11766 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11767 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11768 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11769 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11770 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11771 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11772 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11773 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11774 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11775 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11776 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11777 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11778 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11779 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11780 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11781 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11782 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11783
11784 2010-05-26 Michael Snyder <msnyder@vmware.com>
11785
11786 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11787 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11788
11789 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11790 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11791 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11792
11793 * gdb.reverse/consecutive-reverse.exp:
11794 Replace uses of send_gdb / gdb_expect.
11795 * gdb.reverse/consecutive-precsave.exp:
11796 Replace uses of send_gdb / gdb_expect.
11797
11798 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11799 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11800 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11801 * gdb.mi/mi-ns-stale-regcache.exp:
11802 Replace uses of send_gdb / gdb_expect.
11803 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11804 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11805 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11806 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11807 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11808 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11809 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11810 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11811 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11812
11813 2010-05-26 Michael Snyder <msnyder@vmware.com>
11814
11815 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11816
11817 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11818
11819 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11820 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11821 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11822 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11823 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11824 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11825 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11826 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11827 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11828
11829 2010-05-25 Tom Tromey <tromey@redhat.com>
11830
11831 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11832
11833 2010-05-25 Tom Tromey <tromey@redhat.com>
11834
11835 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11836 argument order.
11837 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11838 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11839 order.
11840 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11841 order.
11842 * gdb.base/call-sc.exp (setup_kfails): Remove.
11843 (setup_compiler_kfails): Remove.
11844 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11845 argument order.
11846 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11847 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11848 (advancei): Fix setup_kfail argument order.
11849 * gdb.base/radix.exp: Fix setup_kfail argument order.
11850 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11851 order.
11852 * gdb.base/structs.exp (setup_kfails): Remove.
11853 (setup_compiler_kfails): Fix setup_kfail argument order.
11854 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11855 order.
11856 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11857 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11858 setup_kfail argument order.
11859 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11860
11861 2010-05-25 Tom Tromey <tromey@redhat.com>
11862
11863 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11864
11865 2010-05-25 Michael Snyder <msnyder@vmware.com>
11866
11867 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11868 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11869 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11870 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11871 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11872 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11873 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11874 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11875 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11876 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11877 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11878 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11879 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11880 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11881 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11882 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11883 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11884 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11885 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11886 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11887 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11888 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11889 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11890 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11891 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11892 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11893 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11894 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11895 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11896 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11897 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11898 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11899 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11900 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11901 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11902 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11903 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11904 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11905 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11906 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11907 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11908 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11909 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11910 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11911 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11912 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11913 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11914 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11915
11916 2010-05-25 Doug Evans <dje@google.com>
11917
11918 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11919 gdb.string_to_argv.
11920
11921 2010-05-21 Tom Tromey <tromey@redhat.com>
11922
11923 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11924 Call it.
11925 * gdb.dwarf2/pieces.S: Update.
11926 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11927
11928 2010-05-21 Tom Tromey <tromey@redhat.com>
11929
11930 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11931 Call it.
11932 * gdb.dwarf2/pieces.c (struct C): New.
11933 (f6): New function.
11934 * gdb.dwarf2/pieces.S: Replace.
11935
11936 2010-05-21 Tom Tromey <tromey@redhat.com>
11937
11938 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11939 Call it.
11940
11941 2010-05-21 Tom Tromey <tromey@redhat.com>
11942
11943 * gdb.dwarf2.pieces.exp: New file.
11944 * gdb.dwarf2.pieces.S: New file.
11945 * gdb.dwarf2.pieces.c: New file.
11946
11947 2010-05-20 Pedro Alves <pedro@codesourcery.com>
11948 Joel Brobecker <brobecker@adacore.com>
11949
11950 * lib/gdb.exp (gdb_test_no_output): New function.
11951 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11952 when testing commands that should produce no output.
11953
11954 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11955
11956 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11957 parameter that we want to watch being a constant.
11958
11959 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11960
11961 * gdb.ada/cond_lang: New testcase.
11962
11963 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11964
11965 * lib/gdb.exp (banned_variables): New variable/constant.
11966 (gdb_init): Add write trace on variables listed in banned_variables.
11967 (gdb_finish): Remove write traces on variables listed in
11968 banned_variables.
11969
11970 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11971
11972 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11973 * gdb.cp/koenig.exp: Likewise.
11974
11975 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11976
11977 PR python/11482
11978
11979 * gdb.python/py-value.exp (test_value_hash): New function.
11980
11981 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11982
11983 PR exp/11530.
11984 * gdb.base/gdb11530.c: New file.
11985 * gdb.base/gdb11530.exp: New file.
11986
11987 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11988
11989 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11990 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11991
11992 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11993
11994 * gdb.cp/koenig.exp: New test.
11995 * gdb.cp/koenig.cc: New test program.
11996
11997 2010-05-05 Joel Brobecker <brobecker@adacore.com>
11998
11999 Remove the use of prms_id and bug_id throughout the testsuite.
12000
12001 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12002
12003 PR exp/11349.
12004 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12005 use a reference local variable.
12006
12007 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12008
12009 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12010 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12011 variable different_dir. Move debugfile into a full directory pathname
12012 under DIFFERENT_DIR.
12013 * lib/gdb.exp (separate_debug_filename): Remove.
12014 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12015 variable debug_dir and mkdir of it. Update function comments.
12016
12017 2010-04-29 Pedro Alves <pedro@codesourcery.com>
12018
12019 PR gdb/11557
12020
12021 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12022 files.
12023
12024 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12025
12026 * gdb.python/py-param.exp: New File.
12027
12028 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12029
12030 * gdb.base/default.exp: Fix "set language" test.
12031
12032 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12033
12034 PR breakpoints/11531.
12035 * gdb.base/gdb11531.c: New file.
12036 * gdb.base/gdb11531.exp: New file.
12037
12038 2010-04-26 Tom Tromey <tromey@redhat.com>
12039
12040 * gdb.base/completion.exp: Add tests for completion and deprecated
12041 commands.
12042
12043 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12044
12045 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12046 (print /x char_array): Escape curly brackets.
12047
12048 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12049
12050 Fix deadlock on looped list of loaded shared objects.
12051 * gdb.base/solib-corrupted.exp: New.
12052
12053 2010-04-23 Doug Evans <dje@google.com>
12054
12055 * gdb.python/py-section-script.c: New file.
12056 * gdb.python/py-section-script.exp: New file.
12057 * gdb.python/py-section-script.py: New file.
12058
12059 2010-04-20 Chris Moller <cmoller@redhat.com>
12060
12061 PR 10179
12062
12063 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12064 * gdb.base/pr10179-a.c:
12065 * gdb.base/pr10179-b.c:
12066 * gdb.base/pr10179.exp: New files.
12067
12068 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12069
12070 Fix crashes on dangling display expressions.
12071 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12072 is SEP.
12073 (lib_flags): Remove the "debug" keyword.
12074 (libsepdebug): New variable for iterating new loop.
12075 (save_pf_prefix): New variable wrapping the loop.
12076 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12077 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12078
12079 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12080
12081 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12082
12083 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12084
12085 PR stabs/11479.
12086 * gdb.stabs/gdb11479.exp: New file.
12087 * gdb.stabs/gdb11479.c: New file.
12088
12089 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12090
12091 * gdb.base/charset.c (Strin16, String32): New variables.
12092 * gdb.base/charset.exp (gdb_test): Test correct display
12093 of 16 or 32 bit strings.
12094
12095 2010-04-21 Chris Moller <cmoller@redhat.com>
12096
12097 PR 9167
12098 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12099 * gdb.cp/pr9167.cc: New file.
12100 * gdb.cp/pr9167.exp: New file.
12101
12102
12103 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12104
12105 PR pascal/11492.
12106 * gdb.pascal/gdb11492.pas: New file.
12107 * gdb.pascal/gdb11492.exp: New file.
12108
12109 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12110
12111 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
12112
12113 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12114
12115 * gdb.ada/dyn_loc: New testcase.
12116
12117 2010-04-20 Chris Moller <cmoller@redhat.com>
12118
12119 PR 10867
12120
12121 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12122 * gdb.cp/pr10687.cc: New file.
12123 * gdb.cp/pr10687.exp: New file.
12124
12125
12126 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12127 Sergio Durigan Junior <sergiodj@redhat.com>
12128
12129 * gdb.fortran/logical.exp: New testcase.
12130 * gdb.fortran/logical.f90: New file.
12131
12132 2010-04-19 Doug Evans <dje@google.com>
12133
12134 * gdb.base/help.exp (help source): Update expected output.
12135
12136 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12137
12138 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12139 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12140 gdb_exit and return.
12141 (executable): New variable.
12142 (binfile): Use it.
12143
12144 2010-04-19 Pedro Alves <pedro@codesourcery.com>
12145
12146 PR breakpoints/8554.
12147
12148 * gdb.trace/save-trace.exp: Adjust.
12149
12150 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 PR corefiles/11511
12153 * gdb.arch/system-gcore.exp: New.
12154 * gdb.arch/gcore.c: Likewise.
12155
12156 2010-04-15 Doug Evans <dje@google.com>
12157
12158 * gdb.python/py-progspace.c: New file.
12159 * gdb.python/py-progspace.exp: New file.
12160
12161 * gdb.base/source.exp: Add tests for "source -s".
12162
12163 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12164
12165 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12166 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12167 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12168 * gdb.python/py-mi.exp: New test for to_string returning None.
12169
12170 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12171
12172 * gdb.python/py-breakpoint.c: Make result global.
12173
12174 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12175
12176 Fix non-GNU make compatibility.
12177 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12178
12179 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12180
12181 * gdb.python/py-breakpoint.exp: New File.
12182 * gdb.python/py-breakpoint.C: Ditto.
12183
12184 2010-04-08 Stan Shebs <stan@codesourcery.com>
12185
12186 * gdb.trace/actions.exp: Clear default-collect.
12187 * gdb.trace/save-trace.exp: Clear default-collect.
12188
12189 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12190
12191 * gdb.python/py-value: Add null string variable.
12192 (test_lazy_string): Test zero length, NULL address lazy
12193 strings.
12194
12195 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12196
12197 * gdb.arch/i386-avx.c: New.
12198 * gdb.arch/i386-avx.exp: Likewise.
12199
12200 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12201
12202 2010-04-06 Doug Evans <dje@google.com>
12203
12204 * gdb.base/source-test.gdb: New file.
12205 * gdb.base/source.exp: Test source -v.
12206
12207 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12208
12209 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12210
12211 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12212
12213 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12214 within one line, unless it is followed by a double quote.
12215 * gdb.stabs/hppa.sed: Idem.
12216 * gdb.stabs/weird.def: Add char and String constants
12217 * gdb.stabs/weird.exp: Check for correct parsing of
12218 char and string constants.
12219 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12220 in .stabs to .stabx substitution.
12221
12222 2010-04-05 Stan Shebs <stan@codesourcery.com>
12223
12224 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12225 constant global.
12226 * gdb.trace/tfile.exp: Try to print them.
12227
12228 2010-04-04 Stan Shebs <stan@codesourcery.com>
12229
12230 * gdb.base/completion.exp: Update for new "info watchpoints".
12231 * gdb.base/default.exp: Ditto.
12232 * gdb.base/help.exp: Ditto.
12233 * gdb.base/watchpoint.exp: Ditto.
12234 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
12235
12236 2010-04-04 Stan Shebs <stan@codesourcery.com>
12237
12238 * gdb.trace/tfile.exp: Sharpen tfind test.
12239
12240 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12241
12242 * gdb.base/break-entry.exp: New.
12243
12244 2010-04-02 Hui Zhu <teawater@gmail.com>
12245 Michael Snyder <msnyder@vmware.com>
12246
12247 * gdb.reverse/i386-sse-reverse.exp: New file.
12248 * gdb.reverse/i386-sse-reverse.c: New file.
12249
12250 2010-04-02 Pedro Alves <pedro@codesourcery.com>
12251
12252 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12253
12254 2010-04-01 Stan Shebs <stan@codesourcery.com>
12255
12256 * gdb.trace/actions.exp: Tweak expected output.
12257 * gdb.trace/while-stepping.exp: Tweak expected output.
12258
12259 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12260
12261 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12262
12263 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12264
12265 * gdb.base/commands.exp: Adjust.
12266 * gdb.cp/extern-c.exp: Adjust.
12267
12268 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12269
12270 * gdb.trace/collection.c (local_test_func): Define a local struct,
12271 and instanciate it.
12272
12273 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12274
12275 * gdb.trace/collection.exp (gdb_collect_args_test)
12276 (gdb_collect_argarray_test): XFAIL the tests that assume the
12277 argarray argument's elements are collected.
12278
12279 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12280
12281 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12282 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12283
12284 2010-03-31 Stan Shebs <stan@codesourcery.com>
12285
12286 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12287 and tracepoint conditionals.
12288 (gdb_verify_tracepoints): Delete unused return.
12289
12290 2010-03-26 Keith Seitz <keiths@redhat.com>
12291
12292 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12293 appear in the output before main.
12294 Remove KFAIL for gdb/2215 aka bz 9320.
12295
12296 2010-03-30 Doug Evans <dje@google.com>
12297
12298 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12299 by dejagnu.
12300 * gdb.arch/amd64-dword.exp: Ditto.
12301
12302 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12303 match.
12304 (break printf): Ditto.
12305
12306 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12307
12308 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12309 gcc < 4.4.
12310 * gdb.cp/shadow.exp: Ditto.
12311
12312 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12313
12314 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12315 "tstart" is silent.
12316
12317 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12318
12319 * gdb.trace/collection.exp (executable): New.
12320 (binfile): Use it.
12321 (fpreg, spreg, pcreg): New.
12322 (test_register): Use gdb_test_multiple. Pass /x to print.
12323 (prepare_for_trace_test): New.
12324 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12325 (gdb_collect_args_test, gdb_collect_argstruct_test)
12326 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12327 prepare_for_trace_test.
12328 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12329 fpreg, spreg and pcreg.
12330 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12331 prepare_for_trace_test.
12332 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12333 try to detect tracing support here. Don't set breakpoints at
12334 `begin' or `end' here.
12335 <global scope>: Use clean_restart. Run to main before checking
12336 for tracing support. Check for for tracing support here.
12337
12338 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12339
12340 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12341 " as $displacement" to "seen displacement message".
12342
12343 2010-03-28 Pedro Alves <pedro@codesourcery.com>
12344
12345 * gdb.trace/while-dyn.exp (executable): New variable.
12346 (binfile): Use it.
12347 (test_while_stepping): New function. Move most tests here. Call
12348 it once for each of the while-stepping, stepping and ws aliases.
12349
12350 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12351
12352 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12353 that do not provide the tagless_struct type name at all.
12354 (test_print_anon_union): Do not check value of uninitialized
12355 union member. Do not use cp_test_ptype_class, so we can accept
12356 "long" as well as "long int".
12357
12358 2010-03-26 Pedro Alves <pedro@codesourcery.com>
12359
12360 * gdb.trace/tfile.c (tohex, bin2hex): New.
12361 (write_error_trace_file): Hexify error description.
12362
12363 2010-03-25 Stan Shebs <stan@codesourcery.com>
12364
12365 * gdb.trace/tfile.c: Generate an additional trace file, improve
12366 portability.
12367 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12368 files in a better way.
12369
12370 2010-03-25 Keith Seitz <keiths@redhat.com>
12371
12372 * gdb.java/jprint.exp: XFAIL printing of static class members
12373 because of GCC debuginfo problem.
12374
12375 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12376
12377 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12378
12379 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12380
12381 * gdb.base/completion.exp: Allow long instead of long int.
12382 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12383 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12384 variable p.
12385 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12386 * gdb.base/pointers.exp: Allow long instead of long int.
12387 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12388 * gdb.base/step-line.exp: Allow a directory before the source file name.
12389
12390 2010-03-24 Tom Tromey <tromey@redhat.com>
12391
12392 PR breakpoints/9352:
12393 * gdb.base/default.exp: Update.
12394 * gdb.base/commands.exp: Update.
12395 * gdb.cp/extern-c.exp: Test setting commands on multiple
12396 breakpoints at once.
12397
12398 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12399
12400 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12401 if gdb,nosignals.
12402 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12403 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12404 exited".
12405
12406 2010-03-24 Stan Shebs <stan@codesourcery.com>
12407
12408 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12409
12410 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12411
12412 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12413 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12414 argument. Handle "short" and "long".
12415 (Top level): Pass overprototyped output for old_fptr and xptr.
12416
12417 2010-03-23 Pedro Alves <pedro@codesourcery.com>
12418
12419 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12420 format strings and add casts to avoid compiler warnings.
12421
12422 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12423
12424 * lib/trace-support.exp (gdb_trace_setactions):
12425 Don't expect whitespace after ">" prompt.
12426 * gdb.trace/actions.exp: Adjust for output changes.
12427 * gdb.trace/while-stepping.exp: Likewise.
12428
12429 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12430
12431 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12432 and r157645).
12433
12434 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12435
12436 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12437 New.
12438
12439 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12440
12441 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12442 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12443
12444 2010-03-19 Stan Shebs <stan@codesourcery.com>
12445
12446 * gdb.trace/ax.exp: New file.
12447
12448 2010-03-19 Doug Evans <dje@google.com>
12449
12450 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12451 output from gcc.
12452
12453 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12454 named /usr/sbin/prelink<foo>.
12455
12456 2010-03-18 Stan Shebs <stan@codesourcery.com>
12457
12458 * gdb.trace/circ.exp: Test circular-trace-buffer.
12459 * gdb.trace/tfile.exp: Update tstatus test.
12460
12461 2010-03-18 Joel Brobecker <brobecker@adacore.com>
12462
12463 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12464 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12465
12466 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12467
12468 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12469
12470 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12471
12472 * gdb.base/default.exp: Adjust the expected output of the finish
12473 and until commands when the inferior is not being run.
12474
12475 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12476
12477 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12478 * gdb.cp/nsusing.exp: Ditto.
12479
12480 2010-03-15 Tom Tromey <tromey@redhat.com>
12481
12482 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12483 * gdb.cp/userdef.cc (operator==): New function.
12484 (main): New locals mem1, mem2.
12485
12486 2010-03-15 Jie Zhang <jie@codesourcery.com>
12487
12488 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12489 Declare and use new loadtimeout variable.
12490
12491 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12492
12493 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12494 Use gdb_load later.
12495
12496 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12497
12498 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12499 literal. Add missing endlines to prints to stderr.
12500
12501 2010-03-12 Tom Tromey <tromey@redhat.com>
12502
12503 PR c++/9708:
12504 * gdb.cp/m-static.exp: Add regression test.
12505 * gdb.cp/m-static.cc (method): New method.
12506 (main): Call it.
12507
12508 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12509
12510 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12511 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12512
12513 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12514
12515 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12516
12517 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12518
12519 * lib/gdb.exp (skip_stl_tests): New.
12520 (gdb_compile): Symbian needs -ldl.
12521 (shlib_target_file): New.
12522 (shlib_symbol_file): New.
12523 (gdb_load_shlibs): Use shlib_target_file.
12524 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12525 * gdb.cp/exception.exp: Use skip_stl_tests.
12526 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12527 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12528 * gdb.cp/mb-templates.exp: Ditto.
12529 * gdb.base/commands.exp: Relax regexes.
12530 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12531 shlib_target_file and shlib_symbol_file.
12532 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12533 sections.
12534 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12535 * gdb.base/solib-disc.exp: Use
12536 shlib_target_file and shlib_symbol_file.
12537 * gdb.base/unload.exp: Don't skip on symbian. Use
12538 shlib_target_file and shlib_symbol_file.
12539 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12540
12541 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12542
12543 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12544 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12545 Issue a tfind end before looking for a tracepoint frame.
12546 * gdb.trace/tfind.exp: Adjust tstatus output.
12547 Adjust disassembly output.
12548 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12549
12550 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12551
12552 * gdb.base/break-interp.exp: Create new displacement parameter value
12553 for the test_ld calls.
12554 (reach): New parameter displacement, verify its content. New push of
12555 pf_prefix "reach-$func:". Import global expect_out.
12556 (test_core): New parameter displacement, verify its content. New push
12557 of pf_prefix "core:". New command "set verbose on". Import global
12558 expect_out.
12559 (test_attach): New parameter displacement, verify its content. New
12560 push of pf_prefix "attach:". New command "set verbose on". Import
12561 global expect_out.
12562 (test_ld): New parameter displacement, pass it to the reach, test_core
12563 and test_attach calls and verify its content in the "ld.so exit" test.
12564 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12565 (prelink): Update expected text, use gdb_test.
12566
12567 2010-03-10 Doug Evans <dje@google.com>
12568
12569 * gdb.base/checkpoint.exp: Fix comment.
12570 Lengthen timeout while doing >600 checkpoints test.
12571 Rename duplicate "kill all one" test to keep test names unique.
12572
12573 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12574
12575 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12576
12577 2010-03-08 Keith Seitz <keiths@redhat.com>
12578
12579 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12580 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12581 (dm_type_long): New function.
12582 (dm_type_unsigned_short): New function.
12583 (dm_type_unsigned_long): New function.
12584 (myint): New typedef.
12585 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12586 long, unsigned shor and long, operator char*, and typedef.
12587 (test_lookup_operator_functions): Add operator char* test.
12588 (test_paddr_operator_functions): Likewise.
12589 (test_paddr_overloaded_functions): Use probe values for
12590 short, long, and unsigned short and long.
12591 (test_paddr_hairy_functions): If the demangler probe detected
12592 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12593 demangler.
12594 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12595 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12596 and "print null_pmf".
12597 Add test "ptype a.*pmf".
12598 * gdb.cp/overload.exp: Allow optional "int" to appear with
12599 "short" and "long".
12600 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12601 long expect value for men_overload1arg.
12602 Allow "int" to appear with "short" and "long".
12603 When testing "info break", add argument for main (void).
12604 Also allow "int" to appear with "short" and "long".
12605 Ditto with "unsigned" and "long long".
12606 * gdb.java/jmain.exp: Do not enclose methods names in single
12607 quotes.
12608 * gdb.java/jmisc.exp: Likewise.
12609 * gdb.java/jprint.exp: Likewise.
12610 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12611
12612 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12613 * gdb.cp/exception.exp (backtrace after first throw)
12614 (backtrace after second throw): Allow a namespace before __cxa_throw.
12615 (backtrace after first catch, backtrace after second catch): Allow
12616 a namespace before __cxa_begin_catch.
12617
12618 * gdb.cp/cpexprs.exp: New file.
12619 * gdb.cp/cpexprs.cc: New file.
12620
12621 From Daniel Jacobowitz <dan@codesourcery.com>
12622 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12623 to use string_to_regexp.
12624 (ctor, dtor): New functions. Use them to match constructor
12625 and destructor function types.
12626 (Top level): Use runto_main.
12627
12628 2010-03-05 Tom Tromey <tromey@redhat.com>
12629
12630 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12631 gdb.target_charset.
12632 (pp_ns.to_string): Likewise.
12633
12634 2010-03-04 Keith Seitz <keiths@redhat.com>
12635
12636 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12637 can be quoted. Test that both the filename and function/line
12638 portions can be quoted at the same time.
12639
12640 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12641
12642 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12643
12644 2010-03-03 Doug Evans <dje@google.com>
12645
12646 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12647 libc contains libpthread.
12648
12649 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12650 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12651 of gdb_compile. Add another pattern to match android backtrace.
12652
12653 2010-03-03 Tom Tromey <tromey@redhat.com>
12654
12655 PR gdb/11345:
12656 * gdb.base/printcmds.exp (test_printf): Add test.
12657
12658 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12659
12660 * gdb.arch/amd64-byte.exp: New.
12661 * gdb.arch/amd64-dword.exp: Likewise.
12662 * gdb.arch/amd64-pseudo.c: Likewise.
12663 * gdb.arch/amd64-word.exp: Likewise.
12664 * gdb.arch/i386-byte.exp: Likewise.
12665 * gdb.arch/i386-pseudo.c: Likewise.
12666 * gdb.arch/i386-word.exp: Likewise.
12667
12668 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12669
12670 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12671 types. Add structreg, bitfields, and flags registers.
12672 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12673 registers.
12674
12675 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12676
12677 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12678 (load_description): Set architecture if defined.
12679
12680 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12681
12682 * gdb.python/py-frame.exp: Add read_var block tests.
12683 * gdb.python/py-frame.c (block): New function.
12684
12685 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12686 Daniel Jacobowitz <dan@codesourcery.com>
12687
12688 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12689
12690 2010-02-25 David S. Miller <davem@davemloft.net>
12691
12692 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12693 fix logic for setting all_syscalls_numbers.
12694
12695 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12696
12697 * Makefile.in: Add py-block and py-symbol.
12698 * gdb.python/py-symbol.exp: New File.
12699 * gdb.python/py-symtab.exp: New File.
12700 * gdb.python/py-block.exp: New File.
12701 * gdb.python/py-symbol.c: New File.
12702 * gdb.python/py-block.c: New File.
12703
12704 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12705
12706 PR python/11314
12707 * lib/gdb.exp (skip_python_tests): New function.
12708 * gdb.python/py-cmd.exp: Use skip_python_tests.
12709 * gdb.python/py-frame.exp: Likewise.
12710 * gdb.python/py-function.exp: Likewise.
12711 * gdb.python/py-prettyprint.exp: Likewise.
12712 * gdb.python/py-template.exp: Likewise.
12713 * gdb.python/py-type.exp: Likewise.
12714 * gdb.python/py-value.exp: Likewise.
12715
12716 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12717
12718 PR9605
12719
12720 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12721
12722 2010-02-19 Tom Tromey <tromey@redhat.com>
12723
12724 PR c++/8693, PR c++/9496:
12725 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12726 regression tests.
12727
12728 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12729
12730 Fix compatibility with m68k as.
12731 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12732 Use only /* comments */.
12733
12734 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12735
12736 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12737 * configure: Regenerate.
12738
12739 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12740
12741 * gdb.python/py-type.exp: Check for Python support.
12742
12743 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12744
12745 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12746 `regsub' syntax available.
12747
12748 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12749
12750 * gdb.base/shmain.c (main): Remove printf call.
12751 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12752 * gdb.base/unload.c (main): Make format of fprintf a string
12753 literal. Add missing endlines to prints to stderr.
12754 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12755
12756 2010-02-17 Tom Tromey <tromey@redhat.com>
12757
12758 * gdb.java/jprint.java (jprint.props): New field.
12759 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12760
12761 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12762
12763 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12764 available.
12765
12766 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12767
12768 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12769 creation to support remote host testing.
12770
12771 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12772
12773 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12774 Recognize "command not found".
12775
12776 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12777
12778 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12779 single-stepping.
12780
12781 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12782
12783 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12784 if arguments are not supported.
12785
12786 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12787
12788 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12789 be const or non-const.
12790
12791 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12792
12793 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12794 mi_send_resuming_command to send -exec-continue.
12795
12796 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12797
12798 * gdb.base/list.exp (test_list_filename_and_function): Add test
12799 with single quotes.
12800 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12801 matching.
12802 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12803 Add KFAIL'd tests for PR gdb/11289.
12804
12805 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12806
12807 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12808
12809 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12810
12811 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12812 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12813 a temporary directory.
12814
12815 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12816
12817 * gdb.base/charset.exp: Use a single regular expression to match
12818 show host-charset and show target-charset output.
12819
12820 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12821
12822 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12823 "Illegal process-id" expect string more exact.
12824 (attach to digits-starting nonsense is prohibited): New.
12825
12826 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12827
12828 * gdb.base/prelink.exp (set verbose on): New.
12829
12830 2010-02-12 Tomas Holmberg <th@virtutech.com>
12831
12832 * mi-reverse.exp: New file. Test for reverse option to the
12833 following MI commands: exec-continue, exec-finish, exec-next,
12834 exec-step, exec-next-instruction, exec-step-instruction.
12835
12836 2010-02-09 Joel Brobecker <brobecker@adacore.com>
12837
12838 * gdb.ada/ptype_tagged_param: New testcase.
12839
12840 2010-02-08 Tom Tromey <tromey@redhat.com>
12841
12842 PR c++/8017:
12843 * gdb.cp/overload.exp: Add tests.
12844 * gdb.cp/overload.cc (struct K): New.
12845 (namespace N): New.
12846 (main): Call new functions.
12847 (K::staticoverload): Define.
12848
12849 2010-02-08 Chris Moller <moller@mollerware.com>
12850
12851 PR gdb/10728
12852 * gdb.cp/pr10728-x.h: New file.
12853 * gdb.cp/pr10728-x.cc: New file.
12854 * gdb.cp/pr10728-y.cc: New file.
12855 * gdb.cp/pr10728.exp: New file.
12856 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12857
12858 2010-02-08 Chris Moller <moller@mollerware.com>
12859
12860 PR gdb/9067
12861 * gdb.cp/pr9067.exp: New
12862 * gdb.cp/pr9067.cc: New
12863 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12864
12865 2010-02-08 Joel Brobecker <brobecker@adacore.com>
12866
12867 * lib/gdb.exp (gdb_test_timeout): New global variable.
12868 Set it to timeout if not already set.
12869 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12870
12871 2010-02-05 Doug Evans <dje@google.com>
12872
12873 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12874 user.
12875
12876 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12877
12878 PR c++/7935:
12879 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12880
12881 2010-02-04 Tom Tromey <tromey@redhat.com>
12882
12883 * gdb.cp/virtbase.exp: Make test case names unique.
12884
12885 2010-02-02 Tom Tromey <tromey@redhat.com>
12886
12887 * gdb.cp/virtbase.exp: Add regression tests.
12888 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12889 (main): Instantiate RHC.
12890
12891 2010-02-02 Tom Tromey <tromey@redhat.com>
12892
12893 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12894 type-printing change.
12895
12896 2010-02-02 Tom Tromey <tromey@redhat.com>
12897
12898 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12899 * gdb.cp/virtbase.cc: New file.
12900 * gdb.cp/virtbase.exp: New file.
12901 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12902
12903 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12904
12905 PR libc/11214:
12906 * gdb.threads/current-lwp-dead.c: Include features.h.
12907 (HAS_NOMMU): New.
12908 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12909
12910 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12911
12912 * gdb.base/symbol-without-target_section.exp,
12913 gdb.base/symbol-without-target_section.c: New.
12914
12915 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12916
12917 * gdb.base/bigcore.exp: Reset increased timeout.
12918 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12919
12920 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12921
12922 * gdb.base/gcore.exp (capture_command_output): Use
12923 gdb_test_multiple.
12924
12925 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12926
12927 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12928 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12929 (Top level): Call it.
12930
12931 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12932
12933 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12934
12935 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12936
12937 * gdb.base/call-strs.exp, gdb.base/default.exp,
12938 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12939 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12940 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12941 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12942 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12943 * gdb.base/ending-run.exp: Correct restore of timeout.
12944 * gdb.base/page.exp: Remove unnecessary timeout setting.
12945
12946 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12947
12948 * gdb.ada/rec_return: New testcase.
12949
12950 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12951
12952 * gdb.ada/call_pn: New testcase.
12953
12954 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12955
12956 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12957 (Top level): Use it to resume.
12958 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12959 the Thumb mode displaced stepping error as unsupported.
12960
12961 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12962
12963 * gdb.cp/nsusing.exp: Added more tests.
12964 * gdb.cp/nsrecurs.exp: Ditto.
12965 * gdb.cp/nsusing.cc: Added test functions.
12966 * gdb.cp/nsrecurs.cc: Ditto.
12967
12968 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12969
12970 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12971 absolute directory pathnames in gdb.sum file.
12972
12973 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12974
12975 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12976 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12977
12978 2010-01-26 Tom Tromey <tromey@redhat.com>
12979
12980 PR exp/7643:
12981 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12982 setup_kfail.
12983
12984 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12985
12986 * gdb.cp/nsrecurs.exp: New test.
12987 * gdb.cp/nsrecurs.cc: New test program.
12988 * gdb.cp/nsstress.exp: New test.
12989 * gdb.cp/nsstress.cc: New test program.
12990 * gdb.cp/nsdecl.exp: New test.
12991 * gdb.cp/nsdecl.cc: New test program.
12992
12993 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12994
12995 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12996 imported into file scope.
12997 Marked test as xfail.
12998 * gdb.cp/namespace-using.cc (marker5): New function.
12999 * gdb.cp/shadow.exp: New test.
13000 * gdb.cp/shadow.cc: New test program.
13001 * gdb.cp/nsimport.exp: New test.
13002 * gdb.cp/nsimport.cc: New test program.
13003
13004 2010-01-25 Tom Tromey <tromey@redhat.com>
13005
13006 PR gdb/11049:
13007 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13008 with "set print null-stop on".
13009
13010 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13011
13012 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13013 Adjust it for DISASSEMBLY_OMIT_FNAME.
13014
13015 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13016
13017 PR symtab/11199:
13018 * gdb.dwarf2/member-ptr-forwardref.exp,
13019 gdb.dwarf2/member-ptr-forwardref.S: New.
13020
13021 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13022
13023 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13024 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13025 thread1_tid_mutex. Remove gdbstop_mutex handling.
13026 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13027 thread2_tid_mutex. Remove gdbstop_mutex handling.
13028 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13029 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13030 pthread_cond_wait conditionalizations by while loops.
13031
13032 2010-01-20 Tom Tromey <tromey@redhat.com>
13033
13034 PR backtrace/10770:
13035 * gdb.dwarf2/pr10770.exp: New file.
13036 * gdb.dwarf2/pr10770.c: New file.
13037 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13038
13039 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13040
13041 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13042 that target was removed, and the test always runs native anyway.
13043
13044 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13045
13046 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13047 gdb.base/watchpoint-cond-gone-stripped.c: New.
13048
13049 2010-01-19 Tom Tromey <tromey@redhat.com>
13050
13051 PR c++/8000:
13052 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13053 existing tests.
13054 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13055 (main): Use AAA::SomeEnum.
13056
13057 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13058
13059 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13060 (test_ignore_count): Declare line_callme_body global.
13061 (run to breakpoint with ignore count): Use line_callme_body.
13062 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13063 (set line_main_hello, set line_main_return): Reindent.
13064 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13065 New.
13066 (continue to callee4): Use line_callee4_body.
13067 (check *stopped from CLI command): Use line_callee4_next.
13068 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13069 (set line_main_hello, set line_main_return): Reindent.
13070 (set line_callee4_head, set line_callee4_body): New.
13071 (continue to callee4): Use line_callee4_body.
13072
13073 2010-01-18 Tom Tromey <tromey@redhat.com>
13074
13075 PR c++/9680:
13076 * gdb.cp/casts.cc: Add new classes and variables.
13077 * gdb.cp/casts.exp: Test new operators.
13078
13079 2010-01-18 Tom Tromey <tromey@redhat.com>
13080 Thiago Jung Bauermann <bauerman@br.ibm.com>
13081
13082 * gdb.python/source2.py: New file.
13083 * gdb.python/source1: New file.
13084 * gdb.python/python.exp: Test "source" command.
13085
13086 2010-01-15 Stan Shebs <stan@codesourcery.com>
13087
13088 * gdb.trace/tfile.c: New file.
13089 * gdb.trace/tfile.exp: New file.
13090
13091 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13092
13093 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13094
13095 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13096
13097 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13098
13099 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13100
13101 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13102 (libfunc): New parameter action. Implement also selectable "sleep".
13103 * gdb.base/break-interp-main.c: Include assert.h.
13104 (libfunc): New parameter action.
13105 (main): New parameters argc and argv. Assert argc. Pass argv.
13106 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13107 (test_attach): New proc.
13108 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13109 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13110
13111 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13112
13113 * gdb.base/break-interp.exp (test_core): New proc.
13114 (test_ld): Call it.
13115
13116 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13117
13118 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13119 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13120 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13121 and gdb_compile_shlib. Use new -Wl compiler options.
13122 (dl bt, main bt): New tests.
13123
13124 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13125
13126 Support PIEs with no symfile_objfile.
13127 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13128 (test_ld): New parameter trynosym.
13129 (test_ld <$trynosym>): New block.
13130
13131 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13132
13133 * gdb.base/break-interp.exp: New file.
13134
13135 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13136
13137 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13138 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13139 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13140 test.
13141 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13142 * gdb.python/py-mi.exp: Add lazy string test.
13143
13144 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13145
13146 * lib/mi-support.exp (mi_check_thread_states): Handle
13147 core number in thread listing.
13148
13149 2010-01-12 Joel Brobecker <brobecker@adacore.com>
13150
13151 * gdb.base/maint.exp: Adjust the expected output for the
13152 "maint print type" test. Use gdb_test_multiple instead of
13153 gdb_sent/gdb_expect.
13154
13155 2010-01-11 Doug Evans <dje@google.com>
13156
13157 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13158 from gdbserver_download. All callers updated.
13159
13160 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13161
13162 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13163
13164 Implement binary numbers parsing.
13165 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13166 (test_integer_literals_rejected): New binary tests.
13167
13168 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13169
13170 * gdb.cell/configure: Regenerate.
13171
13172 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13173
13174 * gdb.base/corefile.exp: Move the core finding block out and call it as
13175 core_find, new variable $corefile, replace corefile by $corefile and
13176 [file tail $corefile] for usage vs. test names resp.
13177 * lib/gdb.exp (core_find): Move it as a new function here. New
13178 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13179 $destcore. Return "" on error.
13180
13181 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13182
13183 Workaround PR binutils/10802.
13184 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13185 (twice).
13186
13187 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13188
13189 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13190
13191 2010-01-08 Joel Brobecker <brobecker@adacore.com>
13192
13193 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13194 call, to avoid interruption.
13195
13196 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13197
13198 * gdb.stabs/weird.def (args93): New.
13199
13200 2010-01-07 Doug Evans <dje@google.com>
13201
13202 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13203
13204 2010-01-07 Tom Tromey <tromey@redhat.com>
13205
13206 * gdb.base/source.exp: Use correct line number.
13207
13208 2010-01-05 Stan Shebs <stan@codesourcery.com>
13209
13210 * gdb.trace/tracecmd.exp: Test ftrace.
13211
13212 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13213
13214 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13215
13216 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13217
13218 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13219 "uint_for_mi_testing".
13220
13221 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13222
13223 Test indented comment in file being sourced.
13224 * gdb.base/commands.exp: Test indented comment in file being sourced.
13225
13226 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13227
13228 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13229 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13230 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13231 notice.
13232
13233 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13234
13235 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13236 notice.
13237
13238 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13239
13240 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13241 missing $after_stopped and comma (,) expectation.
13242
13243 2009-12-31 Stan Shebs <stan@codesourcery.com>
13244
13245 * gdb.trace/actions.exp: Test teval action.
13246
13247 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13248
13249 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13250 (top level): Call test_watchpoint_in_big_blob.
13251 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13252 watchpoints.
13253 (func3): Write to buf.
13254
13255 2009-12-29 Stan Shebs <stan@codesourcery.com>
13256
13257 * gdb.trace/actions.exp: Test default-collect.
13258
13259 2009-12-28 Stan Shebs <stan@codesourcery.com>
13260
13261 * gdb.trace/tsv.exp: New file.
13262 * gdb.base/completion.exp: Update ambiguous info output.
13263
13264 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13265
13266 * gdb.base/find.c (main): Reference search buffers.
13267 * gdb.base/included.c (main): Reference integer.
13268 * gdb.base/ptype.c (charfoo): Declare.
13269 (intfoo): Call charfoo.
13270 * gdb.base/scope0.c (useitp): New function.
13271 (usestatics): Use useitp.
13272 (useit): Add a type for val.
13273 * gdb.base/scope1.c (useit1): Take a pointer argument.
13274 (usestatics1): Update calls to useit1.
13275 * gdb.cp/call-c.cc: Declare foo.
13276 (main): Call foo.
13277 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13278 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13279 (main): Call C::ensureRefs and ensureOtherRefs.
13280 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13281 variables.
13282 (ensureOtherRefs): New function.
13283 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13284 * gdb.cp/templates.cc (main): Call t5i.value.
13285
13286 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13287
13288 Fix compatibility with G++-4.5.
13289 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13290 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13291 (uncaught return): Remove.
13292
13293 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13294 Phil Muldoon <pmuldoon@redhat.com>
13295
13296 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13297 (bp_location13, bp_location14, bp_location17, bp_location18)
13298 (marker3_proto, marker4_proto): New variables.
13299 (breakpoint info): Update output.
13300 (run until breakpoint at marker3, run until breakpoint at marker4): New
13301 tests.
13302
13303 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13304
13305 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13306 Replace the printf call of Y by provided "y-set-1" label. New block
13307 for the second shared library.
13308 * gdb.base/unload.exp: Compile also the second library, call
13309 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13310 (single pending breakpoint info): Rename to ...
13311 (pending breakpoint info before run): ... this extended test.
13312 (libfile2, libname2, libsrcfile2, libsrc2)
13313 (lib_sl2): New variables.
13314 (exec_opts): Set also SHLIB_NAME2.
13315 (pending breakpoint info on first run at shrfunc1)
13316 (pending breakpoint info on second run at shrfunc1)
13317 (pending breakpoint info on second run at shrfunc2)
13318 (print y from libfile, print y from libfile2): New tests.
13319 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13320 * gdb.base/unloadshr2.c: New.
13321
13322 2009-12-22 Hui Zhu <teawater@gmail.com>
13323
13324 * gdb.reverse/sigall-reverse.exp: Adjust.
13325
13326 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13327
13328 PR gdb/10884
13329
13330 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13331 (main): Call do_bitfield_tests.
13332 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
13333
13334 2009-12-20 Joel Brobecker <brobecker@adacore.com>
13335
13336 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13337 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13338 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13339 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13340 gdb.modula2/unbounded1.c: Update copyright header.
13341
13342 2009-12-10 Chris Moller <moller@mollerware.com>
13343
13344 PR gdb/9399
13345 * gdb.cp/virtfunc2.exp: New tests
13346 * gdb.cp/virtfunc2.cc: New tests
13347 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13348
13349 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13350
13351 * gdb.reverse/i387-env-reverse.c: New file.
13352 * gdb.reverse/i387-env-reverse.exp: New file.
13353 * gdb.reverse/i387-stack-reverse.c: New file.
13354 * gdb.reverse/i387-stack-reverse.exp: New file.
13355
13356 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13357
13358 * gdb.python/py-type.exp (test_range): New test.
13359
13360 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13361
13362 PR python/10805
13363
13364 * gdb.python/py-type.exp: New file.
13365 * gdb.python/py-type.c: New file.
13366 * Makefile.in: Add py-type.
13367
13368 2009-12-03 Tom Tromey <tromey@redhat.com>
13369
13370 * gdb.python/py-value.exp (test_parse_and_eval): New
13371 function.
13372
13373 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13374
13375 PR gdb/11022
13376
13377 * gdb.base/pr11022.exp: New test.
13378 * gdb.base/pr11022.c: New test.
13379
13380 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13381
13382 Fix spurious false FAILs.
13383 * gdb.base/structs.c (chartest): New.
13384 (main): Fill-in chartest.
13385 * gdb.base/structs.exp (anychar_re, first): New.
13386 (start_structs_test): Import global anychar_re and first.
13387 New gdb_test call "set print elements 300; ${testfile}"
13388 (start_structs_test <$first>): New block.
13389 (any): Import global anychar_re. New variable ac. Use ${ac}.
13390
13391 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13392
13393 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13394
13395 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13396
13397 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13398 Force $srcfile file.
13399 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13400
13401 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13402
13403 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13404 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13405 * gdb.threads/watchthreads-reorder.exp: Likewise.
13406
13407 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13408
13409 PR gdb/8704
13410
13411 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13412 "if", and "thread". Correct matching in the previous test.
13413
13414 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13415
13416 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13417
13418 2009-11-23 Michael Snyder <msnyder@vmware.com>
13419
13420 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13421 * gdb.reverse-watch-precsave.exp: Ditto.
13422
13423 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13424
13425 * gdb.asm/asm-source.exp: Adjust.
13426 * gdb.base/help.exp: Adjust.
13427
13428 2009-11-22 Pedro Alves <pedro@codesourcery.com>
13429
13430 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13431 (do_syscall_tests_without_xml): Set data-directory to
13432 /the/path/to/nowhere.
13433
13434 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13435
13436 * gdb.threads/local-watch-wrong-thread.c,
13437 gdb.threads/local-watch-wrong-thread.exp: New files.
13438
13439 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13440
13441 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13442 assume new `regsub' syntax available.
13443
13444 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13445
13446 * gdb.base/watchpoint-hw-hit-once.exp,
13447 gdb.base/watchpoint-hw-hit-once.c: New.
13448
13449 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13450
13451 * gdb.threads/watchthreads-reorder.exp,
13452 gdb.threads/watchthreads-reorder.c: New.
13453
13454 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13455
13456 * gdb.xml/tdesc-regs.exp: Use for m68k.
13457
13458 2009-11-15 Pedro Alves <pedro@codesourcery.com>
13459
13460 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13461
13462 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13463
13464 * lib/gdb.exp (current_target_name): New procedure.
13465 (gdb_wrapper_target): New variable.
13466 (gdb_wrapper_init): Set gdb_wrapper_target.
13467 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13468 wrapper.
13469
13470 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13471
13472 * gdb.base/remote.exp: Delete the slowest load test.
13473 Do not load with fixed packet sizes.
13474
13475 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13476
13477 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13478
13479 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13480
13481 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13482 srcfile when setting a breakpoint.
13483
13484 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13485
13486 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13487 macros.
13488
13489 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13490
13491 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13492 to be in memory.
13493 * gdb.base/display.c (force_mem): New.
13494 (do_loops): Use it. Add breakpoint comments.
13495 (do_vars): Add a breakpoint comment.
13496 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13497 line numbers.
13498
13499 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13500
13501 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13502 instead of a bare "run".
13503
13504 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13505
13506 * gdb.python/py-prettyprint.exp: Adjust.
13507
13508 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13509
13510 * lib/cell.exp (skip_cell_tests): Clean up test files before
13511 returning.
13512
13513 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13514
13515 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13516 and the breakpoint menu. Do not call perror if a prompt is seen.
13517 Consume the following GDB prompt.
13518 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13519 * gdb.cp/namespace.exp: Use gdb_test.
13520 * gdb.cp/templates.exp: Use gdb_test.
13521 (test_template_breakpoints): Use gdb_test_multiple.
13522
13523 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13524
13525 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13526 (marker4): Reference values.
13527
13528 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13529
13530 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13531 is missing.
13532
13533 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13534
13535 * gdb.base/break.c (need_malloc): New.
13536 * gdb.base/constvars.c (main): Reference crass and crisp.
13537 * gdb.base/gdb1821.c (main): Reference bar.
13538 * gdb.cp/gdb1355.cc (main): Reference s1.
13539 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13540 (main): Call them.
13541 * gdb.cp/hang2.cc (dummy2): Define.
13542 * gdb.cp/hang3.cc (dummy3): Define.
13543 * gdb.cp/m-data.cc (main): Reference shadow.
13544
13545 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13546 Nathan Froyd <froydnj@codesourcery.com>
13547
13548 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13549 remote host.
13550
13551 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13552
13553 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13554 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13555 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13556 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13557 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13558 * gdb.dwarf2/dw2-producer.exp: Likewise.
13559 * gdb.dwarf2/mac-fileno.exp: Likewise.
13560 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13561 py-prettyprint.py to the remote host.
13562 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13563
13564 2009-11-11 Keith Seitz <keiths@redhat.com>
13565
13566 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13567 use it instead of "Foo".
13568 * gdb.cp/classes.exp (do_tests): Add a test to access
13569 a method through a typedef'd class name.
13570
13571 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13572
13573 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13574 exponents.
13575 * gdb.base/pointers.exp: Likewise.
13576 * gdb.cp/ref-types.exp: Likewise.
13577
13578 2009-11-11 Keith Seitz <keiths@redhat.com>
13579
13580 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13581 new[] and delete[].
13582 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13583 "void".
13584 (probe_demangler): Remove all single-quoting of
13585 method and variable names.
13586 (info_func_regexp): Remove the word "void" from any
13587 occurrence of "(void)".
13588 (print_addr_2): Remove all single-quoting of
13589 method names.
13590 (print_addr_2_kfail): Likewise.
13591 (print_addr): Single-quote C function names before
13592 passing to print_addr_2.
13593 (test_paddr_operator_functions): Remove single-quoting
13594 for method names.
13595 Add tests for operator new[] and operator delete[].
13596
13597 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13598
13599 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13600
13601 2009-11-09 Keith Seitz <keiths@redhat.com>
13602
13603 * gdb.cp/overload.exp: Add tests for resolving overloaded
13604 methods in expression parsing/evaluation.
13605
13606 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13607
13608 * lib/gdb.exp (default_gdb_version): Use --version instead of
13609 --command.
13610
13611 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13612
13613 * lib/gdb.exp (gdb_compile_test): New.
13614 (skip_ada_tests, skip_java_tests): New.
13615 (gdb_compile): Use gdb_compile_test for f77.
13616 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13617 * lib/java.exp (compile_java_from_source): Remove runtests check,
13618 use gdb_compile_test to record result.
13619 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13620 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13621 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13622 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13623 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13624 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13625 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13626 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13627 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13628 adjust gdb_compile invocations.
13629
13630 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13631
13632 * Makefile.in (abs_builddir): New.
13633 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13634 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13635 `$(abs_builddir)/site.exp'.
13636
13637 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13638
13639 * config/m68k-emc.exp, lib/emc-support.exp,
13640 gdb.trace/gdb_c_test.c: Delete.
13641 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13642 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13643 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13644 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13645 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13646 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13647 casing for m68k-*-elf.
13648
13649 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13650
13651 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13652 * gdb.arch/i386-prologue.exp: Likewise.
13653 * gdb.arch/i386-unwind.exp: Likewise.
13654
13655 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13656
13657 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13658
13659 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13660
13661 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13662
13663 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13664
13665 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13666
13667 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13668
13669 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13670
13671 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13672
13673 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13674 * gdb.base/sepdebug2.c: New file.
13675
13676 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13677
13678 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13679 the modified warnings for catch syscall. Verify if GDB was compiled
13680 with support for lib expat, and choose which tests to run depending
13681 on this.
13682
13683 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13684
13685 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13686 that composite commands are parsed OK. And also test
13687 that breakpoint commands do work.
13688
13689 2009-10-23 Michael Snyder <msnyder@vmware.com>
13690
13691 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13692 to allow for new disassembly style.
13693
13694 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13695
13696 * gdb.asm/asm-source.exp: Adjust.
13697
13698 2009-10-22 Michael Snyder <msnyder@vmware.com>
13699
13700 * gdb.reverse/break-precsave.exp: New test.
13701 * gdb.reverse/consecutive-precsave.exp: Ditto.
13702 * gdb.reverse/finish-precsave.exp: Ditto.
13703 * gdb.reverse/i386-precsave.exp: Ditto.
13704 * gdb.reverse/machinestate-precsave.exp: Ditto.
13705 * gdb.reverse/sigall-precsave.exp: Ditto.
13706 * gdb.reverse/solilb-precsave.exp: Ditto.
13707 * gdb.reverse/step-precsave.exp: Ditto.
13708 * gdb.reverse/until-precsave.exp: Ditto.
13709 * gdb.reverse/watch-precsave.exp: Ditto.
13710
13711 2009-10-22 Michael Snyder <msnyder@vmware.com>
13712
13713 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13714 for gdb_expect. Adjust one test's expect strings for the new
13715 format of disassemble.
13716 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13717 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13718 gdb_test_multiple.
13719 * gdb.reverse/step-reverse.exp: Delete 'return'.
13720 * gdb.reverse/until-reverse.exp: Delete blank lines.
13721 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13722
13723 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13724
13725 * gdb.base/consecutive.exp: Adjust.
13726 * gdb.base/display.exp: Likewise.
13727 * gdb.base/pc-fp.exp: Likewise.
13728 * gdb.base/sigbpt.exp: Likewise.
13729
13730 2009-10-19 Michael Snyder <msnyder@vmware.com>
13731
13732 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13733 * gdb.reverse/finish-reverse.c: Ditto.
13734 * gdb.reverse/sigall-reverse.c: Ditto.
13735 * gdb.reverse/solib-reverse.c: Ditto.
13736 * gdb.reverse/step-reverse.c: Ditto.
13737 * gdb.reverse/watch-reverse.c: Ditto.
13738
13739 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13740 Stan Shebs <stan@codesourcery.com>
13741
13742 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13743 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13744 "Executing new program".
13745 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13746 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13747 left listed after having been killed.
13748 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13749 * gdb.base/maint.exp: Adjust test.
13750
13751 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13752 * gdb.multi/Makefile.in: New.
13753 * gdb.multi/base.exp: New.
13754 * gdb.multi/goodbye.c: New.
13755 * gdb.multi/hangout.c: New.
13756 * gdb.multi/hello.c: New.
13757 * gdb.multi/bkpt-multi-exec.c: New.
13758 * gdb.multi/bkpt-multi-exec.exp: New.
13759 * gdb.multi/crashme.c: New.
13760
13761 2009-10-13 Tristan Gingold <gingold@adacore.com>
13762
13763 * gdb.base/sepdebug.exp: Check debug info are found.
13764
13765 2009-10-08 Pedro Alves <pedro@codesourcery.com>
13766
13767 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13768 bits.
13769
13770 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13771
13772 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13773
13774 2009-10-07 Joel Brobecker <brobecker@adacore.com>
13775
13776 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13777 of the comments.
13778
13779 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13780
13781 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13782 * gdb.base/annota3.exp: Idem.
13783 * gdb.base/maint.exp: Idem.
13784
13785 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13786
13787 * lib/gdb.exp (default_gdb_init): Set current value of match_max
13788 to default.
13789
13790 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13791
13792 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13793 mingw and cygwin targets.
13794
13795 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13796 Pedro Alves <pedro@codesourcery.com>
13797
13798 * lib/gdb.exp (gdb_compile): Avoid adding
13799 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13800
13801 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13802
13803 * gdb.base/shr1.c: Use %p in format string.
13804 * gdb.base/unload.c: Avoid warning in fprintf.
13805 * gdb.base/watchpoint-solib.c: Idem.
13806
13807 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13808
13809 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13810 long type.
13811 (test_unlink): Correct printf string.
13812 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13813 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13814
13815 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13816
13817 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13818 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13819 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13820
13821 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13822
13823 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13824 * gdb.objc/nondebug.exp: Likewise.
13825
13826 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13827
13828 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13829 target_info setting.
13830
13831 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13832 that detect new threads during "info threads".
13833
13834 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13835
13836 * gdb.threads/manythreads.c (main): Increase thread stack size
13837 to 2*PTHREAD_STACK_MIN.
13838 * gdb.threads/multi-create.c (main): Likewise.
13839 (create_function): Likewise.
13840
13841 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13842
13843 * gdb.base/dump.exp: Pass difference of pointer types instead
13844 of integer types as offset to restore in intarr3.srec case.
13845
13846 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13847
13848 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13849
13850 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13851
13852 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13853
13854 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
13855
13856 New test for two watchpoints, with disabling of
13857 the first inserted.
13858 * testsuite/gdb.base/watchpoints.c: New file.
13859 * testsuite/gdb.base/watchpoints.exp: New file.
13860
13861 2009-09-25 Tom Tromey <tromey@redhat.com>
13862
13863 * gdb.base/charset.exp: Test utf-16 strings with Python.
13864
13865 2009-09-25 Tom Tromey <tromey@redhat.com>
13866
13867 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13868 UCS-4.
13869 * gdb.base/charset.c (utf_32_string): Rename.
13870 (init_utf32): Rename.
13871 (main): Update.
13872
13873 2009-09-22 Tom Tromey <tromey@redhat.com>
13874
13875 * gdb.python/py-function.exp: Add regression tests.
13876
13877 2009-09-21 Keith Seitz <keiths@redhat.com>
13878
13879 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13880 with invalid operator.
13881
13882 2009-09-21 Keith Seitz <keiths@redhat.com>
13883
13884 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13885 and destructor using typedef name of class.
13886 * gdb.cp/classes.cc (class Base1): Add a destructor.
13887 (base1): New typedef.
13888 (use_methods): Instanitate an object of type base1.
13889 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13890 (do_tests): Call test_template_typedef.
13891 * gdb.cp/templates.cc (Baz::~Baz): New method.
13892 (intBazOne): New typedef.
13893 (main): Instantiate intBazOne.
13894
13895 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13896
13897 PR python/10633
13898
13899 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13900 Function.
13901 (run_lang_tests): Add print elements test.
13902
13903 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13904
13905 * gdb.python/py-value.exp (test_subscript_regression): New
13906 function. Test for invalid subscripts.
13907 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13908 (ptr_ref): New function.
13909
13910 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13911
13912 * gdb.base/default.exp: Fix "show convenience".
13913
13914 2009-09-15 Tom Tromey <tromey@redhat.com>
13915
13916 * lib/mi-support.exp (mi_create_varobj): Update.
13917 (mi_create_floating_varobj): Likewise.
13918 (mi_create_dynamic_varobj): New proc.
13919 (mi_varobj_update): Update.
13920 (mi_varobj_update_with_type_change): Likewise.
13921 (mi_varobj_update_kv_helper): New proc.
13922 (mi_varobj_update_dynamic_helper): Rewrite.
13923 (mi_varobj_update_dynamic): New proc.
13924 (mi_list_varobj_children): Update.
13925 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13926 * gdb.python/python-prettyprint.py (pp_outer): New class.
13927 (pp_nullstr): Likewise.
13928 (lookup_function): Register new printers.
13929 * gdb.python/python-prettyprint.c (struct substruct): New type.
13930 (struct outerstruct): Likewise.
13931 (substruct_test): New function.
13932 (struct nullstr): New type.
13933 (string_1, string_2): New globals.
13934 (main): Add new tests.
13935 * gdb.python/python-mi.exp: Added regression tests.
13936 * gdb.mi/mi2-var-display.exp: Update.
13937 * gdb.mi/mi2-var-cmd.exp: Update.
13938 * gdb.mi/mi2-var-child.exp: Update.
13939 * gdb.mi/mi2-var-block.exp: Update.
13940 * gdb.mi/mi-var-invalidate.exp: Update.
13941 * gdb.mi/mi-var-display.exp: Update.
13942 * gdb.mi/mi-var-cmd.exp: Update.
13943 * gdb.mi/mi-var-child.exp: Update.
13944 * gdb.mi/mi-var-block.exp: Update.
13945 * gdb.mi/mi-break.exp: Update.
13946 * gdb.mi/gdb701.exp: Update.
13947
13948 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13949
13950 * Makefile.in: Inclusion of catch-syscall object.
13951 * gdb.base/catch-syscall.c: New file.
13952 * gdb.base/catch-syscall.exp: New file.
13953
13954 2009-09-12 Michael Snyder <msnyder@vmware.com>
13955
13956 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13957 that can support reverse debuggnig.
13958
13959 2009-09-11 Tom Tromey <tromey@redhat.com>
13960
13961 * gdb.dwarf2/valop.S: New file.
13962 * gdb.dwarf2/valop.exp: New file.
13963
13964 2009-09-11 Mark Kettenis <kettenis@gnu.org>
13965
13966 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13967
13968 2009-09-10 Doug Evans <dje@google.com>
13969
13970 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13971 Add $gdb_prompt to second breakpoint regexp.
13972
13973 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13974
13975 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13976 names, add missing ones.
13977 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13978 * gdb.python/py-frame.c: Rename from python-frame.c.
13979 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13980 testfile name.
13981 * gdb.python/py-function.exp: Rename from python-function.exp.
13982 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13983 testfile name.
13984 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13985 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13986 Adjust testfile name.
13987 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13988 * gdb.python/py-template.cc: Rename from python-template.cc.
13989 * gdb.python/py-template.exp: Rename from python-template.exp.
13990 Adjust testfile name.
13991 * gdb.python/py-value.c: Rename from python-value.c.
13992 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13993 testfile name.
13994
13995 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13996
13997 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13998 $bpt2address.
13999 (Second breakpoint address is valid on ia64)
14000 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14001
14002 2009-09-03 Joseph Myers <joseph@codesourcery.com>
14003
14004 * gdb.base/ending-run.exp: Restrict regular expression matching
14005 line number to require closing brace following.
14006
14007 2009-09-03 Doug Evans <dje@google.com>
14008
14009 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14010
14011 2009-09-02 Tom Tromey <tromey@redhat.com>
14012
14013 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14014
14015 2009-09-02 Tom Tromey <tromey@redhat.com>
14016
14017 * gdb.dwarf2/callframecfa.exp: New file.
14018 * gdb.dwarf2/callframecfa.S: New file.
14019
14020 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14021
14022 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14023 gdb.base/solib-overlap-main.c: New.
14024
14025 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14026
14027 PR gdb/10565
14028
14029 * gdb.base/bitfields.c (struct container, container): New.
14030 (main): Initialize it and call break5.
14031 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14032
14033 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14034
14035 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14036 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14037
14038 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14039
14040 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14041
14042 2009-08-26 Michael Snyder <msnyder@vmware.com>
14043
14044 * gdb.base/i386-reverse.c: New file.
14045 * gdb.base/i386-reverse.exp: New file.
14046 * gdb.base/Makefile.in: Add new files to be removed.
14047
14048 2009-08-26 Joseph Myers <joseph@codesourcery.com>
14049
14050 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14051 environment-pwd for remote host.
14052 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14053
14054 2009-08-24 Keith Seitz <keiths@redhat.com>
14055
14056 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14057 Add two new C++ completer tests which limit the output to a
14058 given class.
14059
14060 2009-08-24 Michael Snyder <msnyder@vmware.com>
14061
14062 * gdb.base/del.exp: Fix typo in comment.
14063 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14064
14065 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14066
14067 * configure: Regenerate.
14068 * gdb.hp/configure: Likewise.
14069 * gdb.hp/gdb.aCC/configure: Likewise.
14070 * gdb.hp/gdb.base-hp/configure: Likewise.
14071 * gdb.hp/gdb.compat/configure: Likewise.
14072 * gdb.hp/gdb.defects/configure: Likewise.
14073 * gdb.hp/gdb.objdbg/configure: Likewise.
14074 * gdb.stabs/configure: Likewise.
14075
14076 2009-08-19 Doug Evans <dje@google.com>
14077
14078 * gdb.base/gdbvars.c: New file.
14079 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14080
14081 2009-08-14 Pedro Alves <pedro@codesourcery.com>
14082
14083 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14084 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14085
14086 2009-08-13 Pedro Alves <pedro@codesourcery.com>
14087
14088 * gdb.base/default.exp: Adjust "set language test": it's now an
14089 enum command. Larger help string moved to "help set language".
14090 * gdb.base/help.exp: Adjust "help set language" expected output,
14091 now lists all known languages.
14092
14093 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14094
14095 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14096 all frame arguments.
14097 * gdb.arch/altivec-regs.exp: Likewise.
14098
14099 2009-08-07 Tom Tromey <tromey@redhat.com>
14100
14101 * gdb.base/setshow.exp: Add tests for changes to set language, set
14102 check range, and set check type.
14103
14104 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14105
14106 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14107 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
14108 Call it.
14109
14110 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14111
14112 * configure.ac: Run gdb.cell tests when appropriate.
14113 * configure: Regenerate.
14114 * lib/cell.exp: New file.
14115 * gdb.cell: New directory.
14116 * gdb.cell/configure.ac: New file.
14117 * gdb.cell/configure: New file.
14118 * gdb.cell/Makefile.in: New file.
14119 * gdb.cell/arch.exp: New file.
14120 * gdb.cell/break.c: New file.
14121 * gdb.cell/break.exp: New file.
14122 * gdb.cell/break-spu.c: New file.
14123 * gdb.cell/bt.c: New file.
14124 * gdb.cell/bt2-spu.c: New file.
14125 * gdb.cell/bt-spu.c: New file.
14126 * gdb.cell/bt.exp: New file.
14127 * gdb.cell/coremaker.c: New file.
14128 * gdb.cell/coremaker-spu.c: New file.
14129 * gdb.cell/core.exp: New file.
14130 * gdb.cell/gcore.exp: New file.
14131 * gdb.cell/data.c: New file.
14132 * gdb.cell/data.exp: New file.
14133 * gdb.cell/data-spu.c: New file.
14134 * gdb.cell/ea-cache.exp: New file.
14135 * gdb.cell/ea-cache.c: New file.
14136 * gdb.cell/ea-cache-spu.c: New file.
14137 * gdb.cell/ea-standalone.c: New file.
14138 * gdb.cell/ea-standalone.exp: New file.
14139 * gdb.cell/ea-test.c: New file.
14140 * gdb.cell/ea-test.exp: New file.
14141 * gdb.cell/f-regs.exp: New file.
14142 * gdb.cell/mem-access.c: New file.
14143 * gdb.cell/mem-access.exp: New file.
14144 * gdb.cell/mem-access-spu.c: New file.
14145 * gdb.cell/ptype.exp: New file.
14146 * gdb.cell/registers.exp: New file.
14147 * gdb.cell/size.c: New file.
14148 * gdb.cell/sizeof.exp: New file.
14149 * gdb.cell/size-spu.c: New file.
14150 * gdb.cell/solib.exp: New file.
14151 * gdb.cell/solib-symbol.exp: New file.
14152
14153 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14154
14155 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14156
14157 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14158
14159 * gdb.base/float.exp: Handle VFP registers.
14160
14161 2009-07-14 Michael Snyder <msnyder@vmware.com>
14162
14163 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14164 to bring gdb to the beginning of the calling line.
14165
14166 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14167 confusing the i386 epilogue unwinder.
14168
14169 2009-07-14 Stan Shebs <stan@codesourcery.com>
14170
14171 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14172
14173 2009-07-14 Michael Snyder <msnyder@vmware.com>
14174
14175 * gdb.reverse/step-reverse.exp (stepi into function call):
14176 Call instruction may not be first instruction in the line.
14177 (reverse stepi from a function call): Used wrong line number.
14178
14179 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14180
14181 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14182
14183 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14184
14185 Fix gdb.base/macscp.exp when using custom inputrc.
14186 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14187 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14188 env(TERM) set.
14189 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14190 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14191
14192 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14193
14194 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14195 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14196 Change the compilation target to match the testcase name.
14197 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14198 testcase name.
14199 * a2-run.exp: Use for setup prepare_for_testing. Change the
14200 compilation target to match the testcase name.
14201 * gdb.base/commands.exp: Likewise.
14202 * gdb.base/finish.exp: Likewise.
14203 * gdb.base/float.exp: Likewise.
14204 * gdb.base/info-target.exp: Likewise.
14205 * gdb.base/relational.exp: Likewise.
14206 * gdb.base/term.exp: Likewise.
14207 * gdb.base/until.exp: Likewise.
14208 * gdb.base/volatile.exp: Likewise.
14209 * gdb.base/whatis-exp.exp: Likewise.
14210
14211 2009-07-11 Hui Zhu <teawater@gmail.com>
14212
14213 * gdb.base/help.exp (disassemble): Update expected help text.
14214
14215 2009-07-09 Tom Tromey <tromey@redhat.com>
14216
14217 * lib/gdb.exp: Handle TRANSCRIPT.
14218 (remote_spawn, remote_close, send_gdb): New procs.
14219
14220 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14221
14222 * gdb.python/python-prettyprint.c: Add counted null string
14223 structure.
14224 * gdb.python/python-prettyprint.exp: Print null string. Test for
14225 embedded nulls.
14226 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14227 * gdb.python/python-value.exp (test_value_in_inferior): Add
14228 variable length string fetch tests.
14229 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14230
14231 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14232
14233 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14234
14235 2009-07-07 Tom Tromey <tromey@redhat.com>
14236
14237 * gdb.base/call-rt-st.exp: Update for change to escape output.
14238 * gdb.base/callfuncs.exp: Likewise.
14239 * gdb.base/charset.exp: Likewise.
14240 * gdb.base/constvars.exp: Likewise.
14241 * gdb.base/long_long.exp: Likewise.
14242 * gdb.base/pointers.exp: Likewise.
14243 * gdb.base/printcmds.exp: Likewise.
14244 * gdb.base/setvar.exp: Likewise.
14245 * gdb.base/store.exp: Likewise.
14246 * gdb.cp/ref-types.exp: Likewise.
14247 * gdb.mi/mi-var-child.exp: Likewise.
14248 * gdb.mi/mi-var-display.exp: Likewise.
14249 * gdb.mi/mi2-var-display.exp: Likewise.
14250 * gdb.base/charset.exp: Test octal escape sequence length.
14251 Update for change to escape output.
14252
14253 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14254
14255 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14256
14257 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14258
14259 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14260
14261 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14262
14263 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14264 gdbserver increasing $portnum if "Can't bind address" has been seen.
14265
14266 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14267
14268 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14269 mingw32ce.
14270
14271 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14272
14273 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14274 VFP format.
14275
14276 2009-07-02 Pedro Alves <pedro@codesourcery.com>
14277
14278 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14279 linux. Adjust to use "inferior", "info inferiors", "detach
14280 inferior" and "kill inferior" instead of "restart", "info fork",
14281 "detach fork" and "delete fork".
14282 * gdb.base/ending-run.exp: Spell out "info".
14283 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14284 the "kill" command.
14285
14286 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14287
14288 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14289 change to prefix TLS offset in hex with 0x.
14290
14291 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14292
14293 * gdb.base/default.exp: Update test case for "x" changes.
14294
14295 2009-07-01 Tristan Gingold <gingold@adacore.com>
14296
14297 * gdb.base/bigcore.exp: Make darwin untested.
14298
14299 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14300
14301 * gdb.base/completion.exp (directory completion): Create the directory.
14302 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14303 escapeuniquesub.
14304 (directory completion 2): Expect now ${escapeuniquesub}.
14305 (Glob remaining of directory test): Remove one excessive newline.
14306 Expect the real output.
14307
14308 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14309
14310 Fix `make check//%' target after `make check' has been ran.
14311 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14312 a mkdir call.
14313 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14314 (%/.dir): Remove.
14315
14316 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14317
14318 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14319 the expected result record.
14320
14321 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14322
14323 Remove racy FAILs relying just on the timeouts.
14324 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14325 (annotation_level 2): Remove racy FAILs.
14326
14327 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14328
14329 gdb/10275
14330 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14331
14332 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14333
14334 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14335
14336 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14337
14338 * gdb.mi/mi-stack.exp: Testing symbolic options
14339 to -stack-list-locals and -stack-list-arguments.
14340
14341 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14342
14343 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14344
14345 2009-06-29 Tom Tromey <tromey@redhat.com>
14346
14347 * dg-extract-results.sh: New file.
14348 * Makefile.in (FORCE_PARALLEL): New variable.
14349 (CHECK_TARGET): New conditional variable.
14350 (check): Use CHECK_TARGET.
14351 (DO_RUNTEST): New variable.
14352 (check-single): New target.
14353 (TEST_DIRS): New variable.
14354 (TEST_TARGETS): Likewise.
14355 (check-parallel): New target.
14356 (check-gdb.%): New pattern.
14357 (BASE1_FILES): New variable.
14358 (BASE2_FILES): Likewise.
14359 (check-gdb.base%): New pattern.
14360 (%/.dir): New pattern.
14361 * configure: Rebuild.
14362 * aclocal.m4 (AM_CONDITIONAL): New defun.
14363 * configure.ac: Check whether user is using GNU make.
14364 (GMAKE): New conditional.
14365
14366 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14367
14368 * gdb.cp/namespace-nested-import.cc: New test.
14369 * gdb.cp/namespace-nested-import.exp: New test.
14370
14371 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14372
14373 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14374 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14375 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14376 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14377 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14378 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14379 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14380 gdb.opt/inline-markers.c: New files.
14381 * lib/gdb.exp (skip_inline_frame_tests): New function.
14382 (skip_inline_var_tests): New function.
14383
14384 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14385
14386 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14387 backtrace.
14388
14389 2009-06-27 Michael Snyder <msnyder@vmware.com>
14390
14391 * gdb.reverse: New directory.
14392 * gdb.reverse/break-reverse.c: New test.
14393 * gdb.reverse/break-reverse.exp: New test.
14394 * gdb.reverse/consecutive-reverse.c: New test.
14395 * gdb.reverse/consecutive-reverse.exp: New test.
14396 * gdb.reverse/finish-reverse.c: New test.
14397 * gdb.reverse/finish-reverse.exp: New test.
14398 * gdb.reverse/machinestate.c: New test.
14399 * gdb.reverse/ms1.c: New test.
14400 * gdb.reverse/machinestate.exp: New test.
14401 * gdb.reverse/Makefile.in: New file.
14402 * gdb.reverse/shr2.c: New test.
14403 * gdb.reverse/solib-reverse.c: New test.
14404 * gdb.reverse/solib-reverse.exp: New test.
14405 * gdb.reverse/step-reverse.c: New test.
14406 * gdb.reverse/step-reverse.exp: New test.
14407 * gdb.reverse/until-reverse.c: New test.
14408 * gdb.reverse/ur1.c: New test.
14409 * gdb.reverse/until-reverse.exp: New test.
14410 * gdb.reverse/watch-reverse.c: New test.
14411 * gdb.reverse/watch-reverse.exp: New test.
14412 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14413 * configure: Regenerate.
14414
14415 2009-06-26 Doug Evans <dje@google.com>
14416
14417 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14418
14419 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14420
14421 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14422 windows problem for 'file delete $binfile'.
14423
14424 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14425
14426 * gdb.cp/namespace-using.exp: New test.
14427 * gdb.cp/namespace-using.cc: New test.
14428
14429 2009-05-20 Joel Brobecker <brobecker@adacore.com>
14430
14431 * gdb.ada/variant_record_packed_array: New testcase.
14432
14433 2009-06-23 Tom Tromey <tromey@redhat.com>
14434
14435 * gdb.base/charset.exp (test_combination): Regression test.
14436 * gdb.base/charset.c (my_wchar_t): New typedef.
14437 (myvar): New global.
14438 (main): Set myvar.
14439
14440 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14441
14442 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14443 target.
14444
14445 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14446
14447 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14448
14449 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14450
14451 * gdb.mi/gdb680.exp: Update test for error message.
14452
14453 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14454
14455 * gdb.base/annota1.exp: Allow multiple occurrences of the
14456 frames-invalid annotation.
14457 * gdb.cp/annota2.exp: Likewise.
14458
14459 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14460
14461 * gdb.cp/gdb2495.cc: New file.
14462 * gdb.cp/gdb2495.exp: New file.
14463
14464 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14465
14466 Report error on GDB crash during runto.
14467 * lib/gdb.exp (runto <eof>): New.
14468
14469 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14470
14471 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14472 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14473 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14474 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14475 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14476 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14477 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14478 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14479 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14480 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14481 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14482 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14483 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14484 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14485 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14486 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14487 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14488 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14489 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14490 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14491 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14492 gdb.trace/passcount.exp, gdb.trace/report.exp,
14493 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14494 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14495 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14496 executable.
14497
14498 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14499
14500 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14501 defined before referencing it.
14502
14503 2009-06-03 Doug Evans <dje@google.com>
14504
14505 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14506 * gdb.arch/i386-see.c: Ditto.
14507
14508 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14509
14510 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14511 (check_macro): Return 1 if undefined.
14512 If first test fails, check if macro debug information is available,
14513 and report unsupported test if no macro information is found.
14514
14515 2009-05-29 Doug Evans <dje@google.com>
14516
14517 * gdb.threads/hand-call-in-threads.exp: New.
14518 * gdb.threads/hand-call-in-threads.c: New.
14519
14520 2009-05-29 Michael Snyder <msnyder@vmware.com>
14521
14522 * gdb.base/break-always.exp: Change "1" to "on".
14523 Add confirmation check.
14524
14525 2009-05-28 Pedro Alves <pedro@codesourcery.com>
14526
14527 * gdb.threads/threxit-hop-specific.c: New.
14528 * gdb.threads/threxit-hop-specific.exp: New.
14529 * gdb.threads/thread-execl.c: New.
14530 * gdb.threads/thread-execl.exp: New.
14531
14532 2009-05-27 Tom Tromey <tromey@redhat.com>
14533 Thiago Jung Bauermann <bauerman@br.ibm.com>
14534
14535 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14536 (mi_child_regexp): Likewise.
14537 (mi_list_varobj_children_range): Likewise.
14538 (mi_get_features): Likewise.
14539 (mi_list_varobj_children): Rewrite.
14540 * gdb.python/python-mi.exp: New file.
14541
14542 2009-05-27 Tom Tromey <tromey@redhat.com>
14543 Thiago Jung Bauermann <bauerman@br.ibm.com>
14544 Phil Muldoon <pmuldoon@redhat.com>
14545 Paul Pluzhnikov <ppluzhnikov@google.com>
14546
14547 * gdb.python/python-prettyprint.exp: New file.
14548 * gdb.python/python-prettyprint.c: New file.
14549 * gdb.python/python-prettyprint.py: New file.
14550 * gdb.base/display.exp: print/r is now valid.
14551
14552 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14553 Tom Tromey <tromey@redhat.com>
14554 Pedro Alves <pedro@codesourcery.com>
14555 Paul Pluzhnikov <ppluzhnikov@google.com>
14556
14557 * gdb.python/python-template.exp: New file.
14558 * gdb.python/python-template.cc: New file.
14559 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14560 tests.
14561 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14562 Call it.
14563 (test_value_after_death): New proc.
14564 * gdb.python/python-value.c (PTR): New typedef.
14565 (main): New variable 'x'.
14566
14567 2009-05-27 Tom Tromey <tromey@redhat.com>
14568
14569 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14570 tests.
14571 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14572 Call it.
14573
14574 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14575
14576 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14577
14578 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14579
14580 * gdb.threads/fork-thread-pending.c: New.
14581 * gdb.threads/fork-thread-pending.exp: New.
14582
14583 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14584
14585 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14586 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14587
14588 2009-05-18 Jon Beniston <jon@beniston.com>
14589
14590 * gdb.asm/asm-source.exp: Add lm32 target.
14591
14592 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14593
14594 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14595 `gdb_get_line_number'. Call `callee' in both parent and child.
14596 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14597 `gdb_get_line_number' instead of hardcoding line numbers.
14598 (catch_fork_unpatch_child): New procedure to test detaching
14599 breakpoints from child fork.
14600 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14601 hardcoding line numbers.
14602 (do_fork_tests): Run `catch_fork_unpatch_child'.
14603
14604 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14605
14606 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14607 of structure type enters or leaves the scope, it
14608 is reported by -var-update.
14609
14610 2009-05-11 Doug Evans <dje@sebabeach.org>
14611
14612 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14613 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14614 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14615
14616 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14617
14618 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14619
14620 2009-04-30 Doug Evans <dje@google.com>
14621
14622 * gdb.threads/watchthreads2.exp: New testcase.
14623 * gdb.threads/watchthreads2.c: New testcase.
14624
14625 2009-04-29 Doug Evans <dje@google.com>
14626
14627 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14628 * gdb.cp/mb-ctor.cc: Ditto.
14629 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14630 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14631 * gdb.cp/mb-inline1.cc: Call it.
14632 * gdb.cp/mb-inline2.cc: Ditto.
14633 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14634 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14635
14636 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14637
14638 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14639 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14640 Replace all uses of `decimal' by `nonzero'.
14641 (info macro FROM_COMMANDLINE): New test.
14642
14643 2009-04-27 Tom Tromey <tromey@redhat.com>
14644
14645 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14646
14647 2009-04-27 Doug Evans <dje@google.com>
14648
14649 * gdb.threads/watchthreads.c (main): Initialize args before starting
14650 the threads. Plus formatting cleanup.
14651 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14652 biased scheduling of one thread.
14653
14654 2009-04-27 Jerome Guitton <guitton@adacore.com>
14655
14656 * gdb.cp/templates.cc (GetMax): New template.
14657 (main): Declare two instances of GetMax.
14658 * gdb.cp/templates.exp: Add new test.
14659
14660 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14661
14662 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14663
14664 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14665
14666 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14667
14668 2009-04-15 Tom Tromey <tromey@redhat.com>
14669
14670 * gdb.base/charset.exp: Add regression test.
14671
14672 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14673
14674 * gdb.base/exe-lock.exp: New testcase.
14675
14676 2009-04-13 Tom Tromey <tromey@redhat.com>
14677
14678 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14679 operator on Frame.
14680
14681 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14682
14683 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14684 * gdb.server/ext-attach.exp: Likewise.
14685
14686 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14687
14688 Eliminate some sleep usage.
14689
14690 * gdb.mi/basics.c (do_nothing): New.
14691 (main): Use do_nothing instead of printf, so that
14692 not to introduce race condition between output of
14693 inferiour and output of gdb. Do not use sleep as it
14694 is not generally available on embedded targets.
14695
14696 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14697
14698 * gdb.server/ext-attach.exp: Expect an optional process id after
14699 "Detached from remote process".
14700
14701 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14702
14703 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14704 gdb.dwarf2/dw2-unresolved.exp: New.
14705
14706 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14707
14708 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14709 mi_run_to_main.
14710
14711 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14712
14713 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14714 mi_run_to_main. Skip thread exit test on remote targets.
14715 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14716 mi_run_to_main.
14717 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14718 mi_run_to_main.
14719 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14720 when expecting ^connected. Detect when the target doesn't support
14721 non-stop mode.
14722 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14723 supported. Return -1 on error, 0 on success.
14724 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14725 (mi_runto): Return mi_runto_helper's result explicitly.
14726
14727 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14728
14729 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14730
14731 2009-04-01 Tom Tromey <tromey@redhat.com>
14732
14733 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14734 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14735 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14736 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14737
14738 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14739 Jan Kratochvil <jan.kratochvil@redhat.com>
14740
14741 PR gdb/931
14742 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14743 output.
14744 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14745 for gdb/931.
14746 * dw2-strp.S (DW_AT_language): Change to C++.
14747 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14748
14749 2009-03-31 Joel Brobecker <brobecker@adacore.com>
14750
14751 * gdb.ada/tasks: New testcase.
14752
14753 2009-03-30 Stan Shebs <stan@codesourcery.com>
14754
14755 * gdb.trace/actions.exp: Update to match new info trace format.
14756 * gdb.trace/deltrace.exp: Ditto.
14757 * gdb.trace/infotrace.exp: Ditto.
14758 * gdb.trace/passcount.exp: Ditto.
14759 * gdb.trace/save-trace.exp: Ditto.
14760 * gdb.trace/while-stepping.exp: Ditto.
14761 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14762
14763 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14764
14765 * gdb.python/python-frame.c: New file.
14766 * gdb.python/python-frame.exp: New file.
14767
14768 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14769
14770 * gdb.python/python-value.exp: Add tests for the address
14771 attribute.
14772
14773 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14774
14775 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14776
14777 2009-03-26 Doug Evans <dje@google.com>
14778
14779 * gdb.mi/mi-nonstop-exit.exp: New file.
14780 * gdb.mi/non-stop-exit.c: New file.
14781
14782 2009-03-26 Tom Tromey <tromey@redhat.com>
14783
14784 Update for change to prologue skipping:
14785 * gdb.mi/mi2-simplerun.exp: Update.
14786 * gdb.mi/mi2-break.exp: Update.
14787 * gdb.mi/mi-simplerun.exp: Update.
14788 * gdb.mi/mi-break.exp: Update.
14789 * gdb.base/ending-run.exp: Update.
14790
14791 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14792
14793 * gdb.python/python-value.exp (test_value_in_inferior): Test
14794 gdb.Value.is_optimized_out attribute.
14795
14796 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14797
14798 * gdb.dwarf2/dw2-noloc-main.c: New file.
14799 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14800 (.text): Remove.
14801 (.data): New.
14802 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14803 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14804 (DW_TAG_subprogram func_cu1, noloc): Remove.
14805 (main): New.
14806 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14807 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14808 (file_symbols): New procedure.
14809
14810 2009-03-25 Tom Tromey <tromey@redhat.com>
14811
14812 * gdb.base/charset.exp (valid_target_charset): New proc.
14813 Use it to skip tests on invalid charsets.
14814
14815 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14816
14817 * gdb.base/completion.exp: Add a test for directory completion.
14818
14819 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14820
14821 Fix a racy FAIL.
14822 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14823 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14824
14825 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14826
14827 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14828 * gdb.python/python-function.exp: Add test for function returning
14829 a GDB value.
14830
14831 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14832
14833 * gdb.python/python-function.exp: New file.
14834
14835 2009-03-20 Tom Tromey <tromey@redhat.com>
14836
14837 * gdb.base/store.exp: Update for change to escape output.
14838 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14839 to escape output.
14840 * gdb.base/pointers.exp: Update for change to escape output.
14841 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14842 to escape output.
14843 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14844 escape output.
14845 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14846 to escape output.
14847 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14848 escape output.
14849 * gdb.base/setvar.exp: Update for change to escape output.
14850 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14851 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14852 to escape output.
14853 (test_print_string_constants): Likewise.
14854 * gdb.base/charset.exp (valid_host_charset): Check size of
14855 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14856 cases. Handle "auto"-related output.
14857 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14858 (uvar, Uvar): New globals.
14859
14860 2009-03-19 Jerome Guitton <guitton@adacore.com>
14861
14862 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14863 deltas.
14864 * gdb.ada/fixed_points.exp: Ditto.
14865
14866 2009-03-18 Pedro Alves <pedro@codesourcery.com>
14867
14868 * return-nodebug.c: Don't include stdio.h.
14869 (init): Delete.
14870 (func): Delete definition and provide extern declaration.
14871 (t): New.
14872 (main): Don't call printf. Call func and store its result in t.
14873 * return-nodebug1.c: New.
14874 * return-nodebug.exp: Don't expect stdio output. Instead, print
14875 the global variable t. Drop printf formatters and cast types from
14876 foreach loop. Don't use prepare_for_testing. Compile
14877 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14878 define FORMAT or CAST.
14879
14880 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14881
14882 * gdb.base/solib-display.exp: Disable test for remote targers.
14883
14884 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14885
14886 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14887
14888 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14889
14890 Fix a racy FAIL.
14891 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14892 code from `follow parent, print pids'.
14893 (`follow child, print pids', `follow parent, print pids'): Call it.
14894 Replace `gdb_test "break..."' by gdb_breakpoint.
14895
14896 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14897
14898 * gdb.mi/mi-cli.exp: Adjust for output difference in
14899 sync and async modes.
14900
14901 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14902
14903 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14904 that was checked in by mistake. Remove loading of ada.exp, since
14905 this is not necessary in this case.
14906
14907 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14908
14909 * gdb.ada/ptype_arith_binop.exp: New testcase.
14910
14911 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14912
14913 * gdb.ada/mod_from_name: New testcase.
14914
14915 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14916
14917 * gdb.ada/tick_last_segv: New testcase.
14918
14919 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14920
14921 * gdb.mi/mi-cli.exp: Remove debug print.
14922
14923 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14924
14925 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14926 include the token in ^running and frame info in *stopped.
14927
14928 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14929
14930 * solib-display.exp: New file.
14931 * solib-display-main.c: New file.
14932 * solib-display-lib.c: New file.
14933
14934 2009-03-05 Pedro Alves <pedro@codesourcery.com>
14935
14936 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14937
14938 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14939
14940 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14941 (list_and_check_macro): Use more specific test name.
14942 (next to definition): Make the test names unique.
14943
14944 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14945
14946 * gdb.pascal/floats.exp: Accept approximate results everywhere.
14947
14948 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14949
14950 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14951 notifications.
14952 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14953 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14954 * lib/mi-support.exp (library_loaded_re): New.
14955 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14956
14957 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14958
14959 * gdb.gdb/observer.exp: Use test_notification observer, not
14960 normal_stop, everywhere.
14961 (test_normal_stop_notifications): Rename to...
14962 (test_notifications): ...this.
14963 (test_observer_normal_stop): Rename to...
14964 (test_observer): ...this.
14965
14966 2009-02-16 Doug Evans <dje@google.com>
14967
14968 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14969 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14970 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14971 (test_prefixed_syscall,test_int3): New tests.
14972 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14973 (test_prefixed_syscall,test_int3): New tests.
14974
14975 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14976
14977 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14978 (mi_expect_interrupt): Likewise.
14979 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14980 response.
14981
14982 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14983
14984 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14985 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14986 Replace calls to get_valueofx by get_hexadecimal_valueof.
14987
14988 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14989
14990 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14991 (get_integer_valueof): New procedure.
14992 (get_sizeof): Use new get_integer_value_of.
14993 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14994 by get_integer_valueof.
14995
14996 2009-02-13 Tom Tromey <tromey@redhat.com>
14997
14998 * gdb.base/remote.exp (get_sizeof): Remove.
14999 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15000 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15001 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15002 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15003 (get_sizeof): Likewise.
15004
15005 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15006
15007 PR fortran/9806
15008 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15009
15010 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15011
15012 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15013
15014 2009-02-06 Pedro Alves <pedro@codesourcery.com>
15015
15016 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15017
15018 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15019
15020 * gdb.python/python-cmd.exp: New file.
15021
15022 2009-02-06 Tristan Gingold <gingold@adacore.com>
15023
15024 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15025
15026 2009-02-05 Tristan Gingold <gingold@adacore.com>
15027
15028 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15029 pointer is dereferenced and use this signal name in regexp.
15030 * gdb.base/signull.exp: Ditto.
15031 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15032 * gdb.base/signull.c (main): Ditto.
15033
15034 2009-02-04 Tom Tromey <tromey@redhat.com>
15035 Thiago Jung Bauermann <bauerman@br.ibm.com>
15036
15037 * gdb.python/python-value.exp: Use `gdb.history' instead of
15038 `gdb.value_from_history'.
15039 (test_value_numeric_ops): Add test for conversion of enum constant.
15040 * gdb.python/python-value.c (enum e): New type.
15041 (evalue): New global.
15042 (main): Use argv.
15043
15044 2009-02-04 Jerome Guitton <guitton@adacore.com>
15045
15046 * gdb.ada/uninitialized_vars: New test program.
15047 * gdb.ada/uninitialized_vars.exp: New testcase.
15048
15049 2009-02-02 Tom Tromey <tromey@redhat.com>
15050
15051 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15052 * gdb.cp/pr2489.cc: Rename...
15053 * gdb.cp/pr9594.cc: ... to this.
15054
15055 2009-02-02 Tom Tromey <tromey@redhat.com>
15056
15057 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15058 * gdb.cp/pr2489.cc: New file.
15059 * gdb.cp/cpcompletion.exp: New file.
15060
15061 2009-02-02 Tom Tromey <tromey@redhat.com>
15062
15063 PR exp/9059:
15064 * gdb.cp/call-c.exp: Add regression test.
15065 * gdb.cp/call-c.cc (FooHandle): New typedef.
15066 (main): New variable 'handle'.
15067
15068 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15069
15070 * lib/mi-support.exp (et_mi_thread_list)
15071 (check_mi_and_console_threads): Adjust for current thread in
15072 -thread-list-ids output.
15073
15074 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15075
15076 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15077 Call it.
15078
15079 2009-01-28 Doug Evans <dje@google.com>
15080
15081 * gdb.arch/amd64-disp-step.S: New file.
15082 * gdb.arch/amd64-disp-step.exp: New file.
15083 * gdb.arch/i386-disp-step.S: New file.
15084 * gdb.arch/i386-disp-step.exp: New file.
15085
15086 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15087
15088 * gdb.base/find.exp: Set newline variable
15089 using quotes instead of braces to fix cygwin failures.
15090
15091 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15092
15093 * gdb.base/radix.exp: Add tests to ensure that that set
15094 input-radix 0 and set output-radix 0 are really rejected.
15095
15096 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15097
15098 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15099 copyright years.
15100
15101 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15102
15103 PR gdb/9664:
15104 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15105
15106 2009-01-22 Pedro Alves <pedro@codesourcery.com>
15107
15108 PR c++/9631:
15109 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15110
15111 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15112
15113 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15114 binfile definition to fix Windows OS failure.
15115
15116 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15117
15118 PR gdb/9346
15119 * gdb.base/interrupt.c (sigint_handler): New.
15120 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15121 on error.
15122 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15123 Test "signal SIGINT".
15124
15125 2009-01-19 Doug Evans <dje@google.com>
15126
15127 * gdb.base/break.exp: Update expected gdb output.
15128 * gdb.base/sepdebug.exp: Ditto.
15129 * gdb.mi/mi-syn-frame.exp: Ditto.
15130 * gdb.mi/mi2-syn-frame.exp: Ditto.
15131 * gdb.base/call-signal-resume.exp: New file.
15132 * gdb.base/call-signals.c: New file.
15133 * gdb.base/unwindonsignal.exp: New file.
15134 * gdb.base/unwindonsignal.c: New file.
15135 * gdb.threads/interrupted-hand-call.exp: New file.
15136 * gdb.threads/interrupted-hand-call.c: New file.
15137 * gdb.threads/thread-unwindonsignal.exp: New file.
15138
15139 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15140
15141 * gdb.base/define.exp: Test defining and hooking prefix commands.
15142 * gdb.python/python.exp: Update test for "show user" output.
15143
15144 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15145
15146 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15147 now the output exactly, using less wildcards. Expect also the output
15148 of gfortran-4.3. Update for the f-valprint.c modification from
15149 2008-04-22.
15150 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15151 Remove gdb_test test names where matching the command.
15152
15153 2009-01-01 Pedro Alves <pedro@codesourcery.com>
15154
15155 PR breakpoints/9681:
15156 * gdb.base/watchpoint.exp: Add regression test.
15157
15158 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15159
15160 * gdb.threads/attach-into-signal.exp: Don't use
15161 gdb_suppress_entire_file.
15162 * gdb.threads/attach-stopped.exp: Ditto.
15163 * gdb.threads/attachstop-mt.exp: Ditto.
15164
15165 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15166
15167 PR gdb/8812:
15168 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15169
15170 2008-12-29 Pedro Alves <pedro@codesourcery.com>
15171
15172 PR gdb/7536:
15173 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15174 and unsupported output radices are really rejected.
15175
15176 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15177
15178 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15179
15180 2008-12-22 Tom Tromey <tromey@redhat.com>
15181
15182 * gdb.cp/punctuator.exp: New file.
15183
15184 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15185
15186 * gdb.base/completion.exp (Completing non-existing component): New test.
15187
15188 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15189
15190 Fix for PR gdb/8648.
15191 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15192 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15193 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15194 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15195
15196 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15197
15198 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15199
15200 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
15201
15202 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15203 compiler actually generate code at the expected line number.
15204
15205 2008-12-15 Jie Zhang <jie.zhang@analog.com>
15206
15207 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15208
15209 2008-12-12 Tom Tromey <tromey@redhat.com>
15210
15211 * gdb.base/commands.exp (redefine_hook_test): New proc.
15212 Call it.
15213
15214 2008-12-11 Tom Tromey <tromey@redhat.com>
15215
15216 * gdb.base/macscp.exp: New regression test.
15217
15218 2008-12-11 Tom Tromey <tromey@redhat.com>
15219
15220 * gdb.base/macscp.exp: Print "address.addr".
15221 * gdb.base/macscp1.c (struct outer): New struct.
15222 (address): New global.
15223
15224 2008-12-09 Tom Tromey <tromey@redhat.com>
15225
15226 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15227 Call it.
15228
15229 2008-12-04 Doug Evans <dje@google.com>
15230
15231 * gdb.server/ext-run.exp: Relax regexp for init program.
15232
15233 2008-12-03 Tristan Gingold <gingold@adacore.com>
15234
15235 * gdb.base/macscp.exp: Generate an object file during compilation
15236 to work around Darwin dsymutil limitations.
15237
15238 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15239
15240 Test resolving external references to TLS variables.
15241 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15242 FILE2_THREAD_LOCAL.
15243 (testfile2, srcfile2): New variables.
15244 * gdb.threads/tls.c (file2_thread_local)
15245 (function_referencing_file2_thread_local): New.
15246 * gdb.threads/tls2.c: New file.
15247
15248 2008-11-28 Joel Brobecker <brobecker@adacore.com>
15249
15250 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
15251 rather than integer, as integer might not be big enough when
15252 on 64bit targets.
15253
15254 2008-11-27 Jerome Guitton <guitton@adacore.com>
15255
15256 * gdb.cp/formatted-ref.exp: Add equality test.
15257 * gdb.ada/formatted_ref.exp: Ditto.
15258
15259 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15260
15261 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15262 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15263
15264 2008-11-20 Andreas Schwab <schwab@suse.de>
15265
15266 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15267 matching syscall entry point.
15268 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15269 (tcatch_vfork_then_child_follow): Likewise. Finish through
15270 vfork even if we stopped at the syscall trampoline.
15271
15272 2008-11-20 Doug Evans <dje@google.com>
15273
15274 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15275
15276 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15277
15278 * gdb.arch/ppc-dfp.exp: New file.
15279 * gdb.arch/ppc-dfp.c: New file.
15280
15281 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15282
15283 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
15284
15285 2008-11-17 Doug Evans <dje@google.com>
15286
15287 * gdb.mi/mi-syn-frame.exp: Update expected output.
15288 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15289
15290 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15291
15292 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
15293 "thread N" results in =thread-selected.
15294 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15295 (mi_send_resuming_command_raw): Be prepared for
15296 =thread-selected.
15297
15298 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15299
15300 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15301 * lib/mi-support.exp: Likewise.
15302
15303 2008-11-16 Joel Brobecker <brobecker@adacore.com>
15304
15305 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15306 commands from the expected output for "help catch".
15307
15308 2008-11-15 Joel Brobecker <brobecker@adacore.com>
15309
15310 * gdb.ada/int_deref.exp: New testcase.
15311
15312 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
15313
15314 * gdb.mi/gdb2549.exp: New file.
15315
15316 2008-11-11 Doug Evans <dje@google.com>
15317
15318 * gdb.base/callexit.exp: New file.
15319 * gdb.base/callexit.c: New file.
15320
15321 2008-11-10 Doug Evans <dje@google.com>
15322
15323 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15324 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15325 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15326 (default_gdb_start,default_gdb_exit): Ditto.
15327 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15328 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15329 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15330 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15331 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15332 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15333
15334 2008-11-03 Andreas Schwab <schwab@suse.de>
15335
15336 * gdb.base/hashline2.exp: Fix typo.
15337 * gdb.base/hashline3.exp: Likewise.
15338
15339 2008-10-30 Tom Tromey <tromey@redhat.com>
15340
15341 * gdb.base/pointers.exp: Add test.
15342 * gdb.base/pointers.c (k, S): New typedefs.
15343 (instance): New global.
15344
15345 2008-10-30 Andreas Schwab <schwab@suse.de>
15346
15347 * gdb.base/args.exp: Add tests for newlines.
15348
15349 2008-10-30 Joel Brobecker <brobecker@adacore.com>
15350
15351 gdb.base/foll-exec.exp: Update the expected output of a couple
15352 of "info breakpoints" tests.
15353
15354 2008-10-28 Tom Tromey <tromey@redhat.com>
15355
15356 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15357
15358 2008-10-24 Pedro Alves <pedro@codesourcery.com>
15359
15360 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15361 gdb_start_cmd.
15362 Use runto_main before any test that requires execution.
15363
15364 2008-10-23 Pedro Alves <pedro@codesourcery.com>
15365
15366 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15367 instead of SIGINT.
15368
15369 2008-10-22 Joel Brobecker <brobecker@adacore.com>
15370
15371 * gdb.base/completion.exp: Update expected output following
15372 the addition of the "info tasks" command.
15373
15374 2008-10-22 Tom Tromey <tromey@redhat.com>
15375
15376 * gdb.base/exprs.exp (test_expr): Add test for string
15377 concatenation.
15378
15379 2008-10-19 Pedro Alves <pedro@codesourcery.com>
15380
15381 * configure.ac: Output gdb.python/Makefile.
15382 * configure: Regenerate.
15383 * gdb.python/Makefile.in: New.
15384
15385 2008-10-16 Joel Brobecker <brobecker@adacore.com>
15386
15387 * gdb.base/foll-fork.exp: Adjust the expected output to match
15388 the new description for fork/vfork catchpoints in the "info
15389 breakpoints" output.
15390
15391 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15392
15393 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15394
15395 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15396
15397 * gdb.python/python-value.c: New file.
15398 * gdb.python/python-value.exp: New file.
15399
15400 2008-10-15 Pedro Alves <pedro@codesourcery.com>
15401
15402 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15403
15404 2008-10-15 Denis Pilat <denis.pilat@st.com>
15405
15406 * gdb.cp/mb-ctor.exp: Fix a typo.
15407
15408 2008-10-09 Tom Tromey <tromey@redhat.com>
15409
15410 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15411 'fprintf' and 'stderr'.
15412
15413 2008-10-07 Joel Brobecker <brobecker@adacore.com>
15414
15415 * gdb.ada/ref_tick_size.exp: New testcase.
15416
15417 2008-10-06 Doug Evans <dje@google.com>
15418
15419 * gdb.dwarf2/dw2-cu-size.exp: New file.
15420 * gdb.dwarf2/dw2-cu-size.S: New file.
15421
15422 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15423 .Ltype_int for clarity.
15424
15425 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15426
15427 PR gdb/2384:
15428 * gdb.cp/gdb2384.exp: Extended to test more cases.
15429 * gdb.cp/gdb2384.cc: Likewise.
15430 * gdb.cp/gdb2384-base.h: Likewise.
15431 * gdb.cp/gdb2384-base.cc: Likewise.
15432
15433 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15434
15435 * gdb.base/maint.exp (maint print type): Remove printing
15436 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15437
15438 2008-09-30 Tom Tromey <tromey@redhat.com>
15439
15440 * gdb.base/macscp.exp: Add completion tests.
15441 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15442 (TWENTY_THREE): Likewise.
15443 (FORTY_EIGHT): Likewise.
15444
15445 2008-09-30 Tom Tromey <tromey@redhat.com>
15446
15447 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15448 everywhere.
15449 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15450
15451 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15452
15453 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15454 testcase is derived from. Fix racy dependency on an expected PID
15455 number. No longer support the testcase on Linux kernel 2.4.x.
15456
15457 2008-09-27 Tom Tromey <tromey@redhat.com>
15458
15459 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15460 and varargs.
15461
15462 2008-09-22 Pedro Alves <pedro@codesourcery.com>
15463
15464 * lib/mi-support.exp (mi_expect_interrupt): New.
15465 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15466 from gdb.mi/mi-nonstop.exp.
15467 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15468 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15469 lib/mi-support.exp.
15470 Use mi_check_thread_states throughout. Avoid ".*" and do not
15471 require an anchor after -exec-run.
15472
15473 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15474
15475 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15476 stop is pending. Avoid ".*" when two stops are pending.
15477 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15478 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15479 newlines in fullnames.
15480 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15481 (mi_expect_stop): Update comments. Only anchor in sync mode.
15482 Do not match newlines.
15483 (mi_send_resuming_command_raw): Always return status.
15484 (mi_get_stop_line): Do not match more than one line by accident.
15485 Only anchor in sync mode.
15486 (mi_run_inline_test): If -exec-next fails, give up.
15487
15488 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15489
15490 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15491 on SPU.
15492
15493 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15494
15495 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15496
15497 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15498
15499 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15500 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15501 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15502 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15503 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15504 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15505 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15506 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15507 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15508 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15509 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15510 Include the "= " sequence in the expected output of print tests.
15511
15512 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15513
15514 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15515 description for boolean types.
15516
15517 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15518
15519 * gdb.base/hook-stop-continue.c: New.
15520 * gdb.base/hook-stop-continue.exp: New.
15521
15522 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15523
15524 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15525
15526 2008-09-08 Jerome Guitton <guitton@adacore.com>
15527
15528 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15529 (stack_check_probe_2, stack_check_probe_loop_1)
15530 (stack_check_probe_loop_2): New functions.
15531 (main): Add call to these new functions.
15532 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15533 functions, check that the breakpoint is inserted at the appropriate
15534 location.
15535 (insert_breakpoint): Slightly refine this procedure so that it can
15536 be called several times in the test.
15537
15538 2008-09-08 Jerome Guitton <guitton@adacore.com>
15539
15540 * gdb.base/stack-checking.c: New file.
15541 * gdb.base/stack-checking.exp: New file.
15542
15543 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15544
15545 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15546 * gdb.arch/altivec-regs.exp: Likewise.
15547 * gdb.arch/vsx-regs.exp: Likewise.
15548
15549 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15550
15551 * gdb.arch/ppc-fp.exp: New file.
15552 * gdb.arch/ppc-fp.c: New file.
15553
15554 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15555
15556 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15557 lest gcc-4.3.1 optimizes the whole thing away.
15558
15559 2008-09-04 Michael Snyder <msnyder@vmware.com>
15560
15561 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15562 as "at" (for non-debug functions such as _start).
15563
15564 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15565
15566 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15567 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15568 software watchpoints.
15569 * gdb.base/watch_thread_num.exp: Likewise.
15570
15571 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15572
15573 * gdb.arch/i386-bp_permanent.exp: New test.
15574
15575 2008-08-24 Tom Tromey <tromey@redhat.com>
15576
15577 * gdb.base/maint.exp: Update "maint print type".
15578
15579 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15580
15581 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15582 support. Adjust the order of "*running" notifications.
15583 * gdb.mi/non-stop.c: Don't cast from int to void* and
15584 back.
15585
15586 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15587
15588 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15589 expect to find it in the "info frame" output.
15590
15591 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15592
15593 * gdb.base/interp.exp: Always consume both prompts.
15594
15595 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15596
15597 * gdb.base/pending.exp: Test pending breakpoints without symbols
15598 loaded.
15599
15600 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15601
15602 * lib/mi-support.exp (mi_expect_stop): Produce
15603 more details on failures.
15604 * gdb.mi/mi-nonstop.exp: New.
15605 * gdb.mi/non-stop.c: New.
15606
15607 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15608
15609 * gdb.mi/mi-async.exp: Use 'set target-async'.
15610 * lib/mi-support.exp: Use 'set/show target-async'.
15611
15612 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15613
15614 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15615
15616 2008-08-17 Tom Tromey <tromey@redhat.com>
15617
15618 * gdb.base/help.exp (help catch): Rewrite.
15619
15620 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15621
15622 * gdb.base/define.exp: Test indented command documentation.
15623 * gdb.python/python.exp: Test indented multi-line command.
15624
15625 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15626
15627 * testsuite/gdb.arch/vsx-regs.c: New source file.
15628 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15629 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15630
15631 2008-08-14 Tom Tromey <tromey@redhat.com>
15632
15633 * gdb.base/macscp.exp: Add regression test for "macro define" or
15634 "macro undef" with no arguments.
15635
15636 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15637
15638 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15639
15640 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15641
15642 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15643
15644 2008-08-06 Tom Tromey <tromey@redhat.com>
15645
15646 * gdb.python/python.exp: New file.
15647
15648 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15649
15650 Fix for PR gdb/1543.
15651 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15652 $LOCATION.
15653 (location): New variable.
15654 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15655 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15656 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15657 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15658 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15659 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15660 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15661 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15662 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15663 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15664 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15665 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15666 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15667 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15668 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15669 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15670 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15671 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15672 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15673 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15674 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15675 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15676 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15677 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15678 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15679 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15680 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15681 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15682 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15683 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15684 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15685 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15686 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15687 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15688 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15689 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15690 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15691 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15692 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15693 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15694 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15695 gdb.base/type-opaque.exp, gdb.base/until.exp,
15696 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15697 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15698 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15699 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15700 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15701 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15702 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15703 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15704 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15705 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15706 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15707 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15708 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15709 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15710 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15711 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15712 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15713 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15714 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15715 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15716 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15717 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15718 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15719 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15720 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15721 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15722 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15723 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15724 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15725 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15726 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15727 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15728 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15729 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15730 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15731 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15732 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15733 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15734 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15735 to bug-gdb@prep.ai.mit.edu .
15736
15737 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15738
15739 * lib/mi-support.exp (mi_load_shlibs): New.
15740 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15741
15742 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15743
15744 * lib/mi-support.exp (get_mi_thread_list)
15745 (check_mi_and_console_threads): New, moved from ...
15746 * gdb.mi/mi-pthread.exp: ...here.
15747 * gdb.mi/gdb669.exp (get_mi_thread_list)
15748 (check_mi_and_console_threads): Delete.
15749 * gdb.mi/mi2-pthread.exp: Likewise.
15750
15751 2008-07-28 Tom Tromey <tromey@redhat.com>
15752
15753 * Makefile.in (just-check): Remove. Move body to...
15754 (check): ... here.
15755
15756 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15757
15758 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15759 Add a test for duplicated SIGINTs.
15760
15761 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15762
15763 * gdb.threads/schedlock.exp (get_args): Update to work for any
15764 value of NUM.
15765 (Top level): Report the number of threads that did not resume.
15766
15767 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15768
15769 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15770
15771 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15772
15773 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15774 non-MI prompt.
15775
15776 2008-07-26 Tom Tromey <tromey@redhat.com>
15777
15778 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15779 (function_struct, function_struct_ptr): New globals.
15780 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15781 function pointer in a struct.
15782
15783 2008-07-26 Tom Tromey <tromey@redhat.com>
15784
15785 * gdb.base/macscp.exp: Add test for macro lexing bug.
15786
15787 2008-07-18 Tom Tromey <tromey@redhat.com>
15788
15789 * gdb.base/macscp.exp: Add macro tests.
15790
15791 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15792
15793 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15794
15795 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15796
15797 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15798
15799 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15800
15801 * gdb.cp/class2.exp: fix for failure on spu-elf
15802
15803 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15804
15805 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15806
15807 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15808
15809 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15810
15811 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15812
15813 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15814
15815 2008-07-11 Kevin Buettner <kevinb@redhat.com>
15816
15817 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15818 of regexp to account for changes made to GDB in the printing of
15819 byte vectors.
15820
15821 2008-07-11 Tom Tromey <tromey@redhat.com>
15822
15823 * gdb.base/completion.exp: Add 'help' completion test.
15824
15825 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15826
15827 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15828
15829 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15830
15831 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15832
15833 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15834
15835 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15836
15837 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15838
15839 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15840
15841 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15842
15843 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15844
15845 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15846
15847 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15848 previous commit. Add a comment.
15849
15850 2008-06-28 Pedro Alves <pedro@codesourcery.com>
15851
15852 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15853
15854 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15855
15856 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15857
15858 2008-06-27 Pedro Alves <pedro@codesourcery.com>
15859
15860 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15861 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15862 compiling an executable, link in an object that forces unbuffered
15863 output.
15864 * lib/set_unbuffered_mode.c: New file.
15865
15866 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15867
15868 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15869
15870 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15871
15872 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15873 mi_expect_stop.
15874 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15875 Demand that *running is output.
15876 (detect_async): Perform checking every time.
15877 (mi_send_resuming_command): Extract everything into...
15878 (mi_send_resuming_command_raw): ...this.
15879 (mi_expect_stop): Don't accept any output before *stopped.
15880
15881 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15882
15883 Robustify mi-simplerun.
15884 * gdb.mi/basics.c (main): Add a call to sleep.
15885 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15886 * gdb.mi/mi2-cli.exp: Likewise.
15887 * gdb.mi/mi-break.exp: Likewise.
15888
15889 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
15890
15891 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15892
15893 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15894
15895 * gdb.mi/mi-console.exp: Adjust.
15896 * gdb.mi/mi-syn-frame.exp: Adjust.
15897 * gdb.mi/mi2-console.exp: Adjust.
15898 * gdb.mi/mi2-syn-frame.exp: Adjust.
15899 * lib/mi-support.exp (mi_run_cmd): Adjust.
15900 (mi_send_resuming_command): Adjust.
15901
15902 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15903
15904 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15905 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15906 testing of stopped.
15907 * gdb.mi/mi2-syn-frame.exp: Likewise.
15908 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15909 (async, detect_async): New.
15910 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15911 depending on if we're running in sync or async mode.
15912
15913 2008-06-09 Tom Tromey <tromey@redhat.com>
15914
15915 * gdb.base/completion.exp: New tests for field name completion
15916 with spaces, and field name completion with '->'.
15917
15918 2008-06-06 Tom Tromey <tromey@redhat.com>
15919
15920 * gdb.base/break1.c (struct some_struct): New struct.
15921 (values): New global.
15922 * gdb.base/completion.exp: Add field name completion test.
15923
15924 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15925
15926 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15927 to pointer.
15928 * gdb.cp/call-c.cc: Likewise.
15929
15930 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
15931
15932 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15933 annotation.
15934
15935 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15936 Pedro Alves <pedro@codesourcery.com>
15937
15938 * gdb.threads/execl.c, gdb.threads/execl1.c,
15939 gdb.threads/execl.exp: New tests.
15940
15941 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15942 Daniel Jacobowitz <dan@codesourcery.com>
15943
15944 * gdb.cp/exception.exp: Activate test, make it work with pending
15945 catchpoints.
15946
15947 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15948
15949 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15950
15951 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15952
15953 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15954 now printed.
15955 * gdb.mi/mi2-var-cmd.exp: Likewise.
15956
15957 2008-05-27 Andreas Schwab <schwab@suse.de>
15958
15959 * gdb.base/frame-args.exp: Handle arguments that are optimized
15960 out.
15961
15962 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
15963
15964 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15965 quiet for ppc32 and group options into a single variable.
15966
15967 2008-05-23 Joel Brobecker <brobecker@adacore.com>
15968
15969 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15970 of zero-size elements.
15971 * gdb.ada/null_array.exp: Test printing this new array.
15972
15973 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15974
15975 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15976
15977 2008-05-21 Joel Brobecker <brobecker@adacore.com>
15978
15979 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15980 of the "finish" command.
15981
15982 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
15983
15984 * gdb.base/annota1.exp: Test for new annotation.
15985
15986 2008-05-16 Pedro Alves <pedro@codesourcery.com>
15987
15988 * gdb.base/fixsection.exp: New file.
15989 * gdb.base/fixsection0.c: New file.
15990 * gdb.base/fixsection1.c: New file.
15991
15992 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15993
15994 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15995 * gdb.base/annota3.exp: Likewise.
15996
15997 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15998
15999 * gdb.base/watch_thread_num.exp: Don't run tests that require
16000 watchpoints if the target doesn't support them.
16001
16002 2008-05-12 Doug Evans <dje@google.com>
16003
16004 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16005
16006 2008-05-09 Joel Brobecker <brobecker@adacore.com>
16007
16008 * gdb.ada/assign_1.exp: New testcase.
16009
16010 2008-05-09 Doug Evans <dje@google.com>
16011
16012 * gdb.base/find.exp: New file.
16013 * gdb.base/find.c: New file.
16014
16015 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16016
16017 * gdb.base/commands.exp (watchpoint_command_test): Handle
16018 gdb,no_hardware_watchpoints.
16019 * gdb.base/float.exp: Allow ARM targets without floating point.
16020 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16021
16022 2008-05-06 Jerome Guitton <guitton@adacore.com>
16023 Joel Brobecker <brobecker@adacore.com>
16024
16025 * gdb.ada/lang_switch: New test program.
16026 * gdb.ada/lang_switch.exp: New testcase.
16027
16028 2008-05-05 Doug Evans <dje@google.com>
16029
16030 * gdb.base/help.exp (disassemble): Update expected help text.
16031
16032 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16033
16034 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16035
16036 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16037
16038 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16039 different times.
16040
16041 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16042
16043 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16044 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16045 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16046 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16047
16048 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16049
16050 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16051 notification to appear.
16052
16053 2008-05-04 Daniel Jacobowitz <dan@debian.org>
16054
16055 * gdb.base/fullname.c: New file.
16056 * gdb.base/fullname.exp: New file.
16057 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16058
16059 2008-05-03 Pedro Alves <pedro@codesourcery.com>
16060
16061 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16062 expressions with macros.
16063
16064 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16065
16066 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16067
16068 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16069
16070 * gdb.base/completion.exp: Handle lack of other symbols beginning
16071 with "a".
16072
16073 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16074
16075 2008-05-02 Jim Blandy <jimb@codesourcery.com>
16076
16077 * gdb.asm/asmsrc1.s: Add scratch space.
16078
16079 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16080 Daniel Jacobowitz <dan@codesourcery.com>
16081
16082 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16083 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16084 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16085
16086 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16087
16088 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16089
16090 2008-05-01 Joel Brobecker <brobecker@adacore.com>
16091
16092 * gdb.base/info-target.exp: New testcase.
16093
16094 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16095
16096 * gdb.cp/hang.exp: Use .cc instead of .C.
16097 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16098 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16099
16100 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16101
16102 * gdb.base/gdb1250.exp: Remove perror.
16103 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16104
16105 2008-04-30 Pedro Alves <pedro@codesourcery.com>
16106
16107 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16108 .2byte.
16109
16110 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16111
16112 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16113 (maybe_kfail): New.
16114
16115 2008-04-25 Pedro Alves <pedro@codesourcery.com>
16116
16117 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16118
16119 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16120
16121 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16122 * gdb.mi/mi2-syn-frame.exp: Likewise.
16123 * lib/mi-support.exp: Likewise.
16124
16125 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16126
16127 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16128 to specify regexp for the location to stop at.
16129 * gdb.base/break-always.c: New.
16130 * gdb.base/break-always.exp: New.
16131
16132 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16133
16134 * lib/mi-support.exp (mi_runto_helper): Adjust
16135 for the original-location field.
16136 (mi_create_breakpoint, mi_list_breakpoints): New.
16137 * gdb.mi/mi-break.exp: Adjust.
16138 * gdb.mi/mi2-break.exp: Adjust.
16139 * gdb.mi/mi-pending.exp: Adjust.
16140 * gdb.mi/mi-simplerun.exp: Adjust.
16141 * gdb.mi/mi2-simplerun.exp: Adjust.
16142 * gdb.mi/mi-syn-frame.exp: Adjust.
16143 * gdb.mi/mi2-syn-frame.exp: Adjust.
16144 * gdb.mi/mi-until.exp: Adjust.
16145 * gdb.mi/mi2-until.exp: Adjust.
16146 * gdb.mi/mi-var-display.exp: Adjust.
16147 * gdb.mi/mi2-var-display.exp: Adjust.
16148 * gdb.mi/mi-watch.exp: Adjust.
16149 * gdb.mi/mi2-watch.exp: Adjust.
16150
16151 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
16152
16153 * aclocal.m4: Add override.m4.
16154 * configure: Regenerate.
16155
16156 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16157
16158 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16159 '-var-update --all-values' reports new value even the type
16160 of a variable object has changed.
16161
16162 2008-04-18 Craig Silverstein <csilvers@google.com>
16163
16164 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16165 files.
16166
16167 2008-04-18 Joel Brobecker <brobecker@adacore.com>
16168
16169 * gdb.ada/atomic_enum: New test program.
16170 * gdb.ada/atomic_enum.exp: New testcase.
16171
16172 2008-04-17 Doug Evans <dje@google.com>
16173
16174 * gdb.opt/Makefile.in: Fix whitespace.
16175
16176 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16177
16178 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16179
16180 2008-04-17 Doug Evans <dje@google.com>
16181
16182 * gdb.base/hashline1.exp: New testcase.
16183 * gdb.base/hashline2.exp: New testcase.
16184 * gdb.base/hashline2.exp: New testcase.
16185
16186 2008-04-17 Pedro Alves <pedro@codesourcery.com>
16187
16188 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16189
16190 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16191
16192 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16193 temporary breakpoint to match "Temporary breakpoint".
16194 * gdb.base/break.exp (delete_breakpoints): Likewise.
16195 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16196 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16197 * gdb.base/display.exp: Likewise.
16198 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16199 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16200 * gdb.base/restore.exp (restore_tests): Likewise.
16201 * gdb.base/sepdebug.exp: Likewise.
16202 * gdb.base/watchpoint.exp: Likewise.
16203 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16204 * gdb.mi/mi-pending.exp: Likewise.
16205 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16206 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16207 * gdb.mi/mi-var-cmd.exp: Likewise.
16208 * gdb.mi/mi-var-display.exp: Likewise.
16209 * gdb.mi/mi2-cli.exp: Likewise.
16210 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16211 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16212 * gdb.mi/mi2-var-display.exp: Likewise.
16213 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16214 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16215 new "disp" field.
16216 (mi_expect_stop): Move after_reason argument to be really after
16217 reason. This is to support fix for PR2424.
16218
16219 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16220
16221 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16222
16223 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16224
16225 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
16226 field. Add more floating varobj tests.
16227 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
16228 field.
16229 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16230 (main): Call do_at_tests.
16231 * lib/mi-support.exp (mi_create_floating_varobj)
16232 (mi_varobj_update_with_type_change): New.
16233
16234 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16235
16236 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16237 option of -var-evaluate-expression.
16238 * gdb.mi/mi2-var-display.exp: Likewise.
16239
16240 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16241
16242 Introduce test setup helpers.
16243 * lib/gdb.exp (build_executable, clean_restart)
16244 (prepare_for_testing): New.
16245 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16246 * gdb.base/return.exp: Likewise.
16247 * gdb.base/ending-run.exp: Likewise.
16248
16249 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
16250
16251 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16252 Interface (MI) responses.
16253
16254 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16255
16256 * gdb.cp/breakpoint.cc: New code to test conditions involving
16257 member variables.
16258 * gdb.cp/breakpoint.exp: Test condition involving member
16259 variables.
16260
16261 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16262
16263 * lib/mi-support.exp (mi_expect_stop): New.
16264 (mi_run_cmd): Change the
16265 token. Use mi_send_resuming_command, use
16266 mi_expect_stop.
16267 (mi_execute_to_helper): Rename to mi_execute_to.
16268 (mi_send_resuming_command): Add more error patterns.
16269 (mi_wait_for_stop): Renamed to...
16270 (mi_get_stop_line): ...this.
16271 (mi_run_inline_test): Adjust.
16272
16273 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16274 * gdb.mi/mi-console.exp: Likewise.
16275 * gdb.mi/mi-pending.exp: Likewise.
16276 * gdb.mi/mi-simplerun.exp: Likewise.
16277 * gdb.mi/mi-stack.exp: Likewise.
16278 * gdb.mi/mi-stepi.exp: Likewise.
16279 * gdb.mi/mi-syn-frame.exp: Add comment.
16280 * gdb.mi/mi-until.exp: Likewise.
16281 * gdb.mi/mi-var-display.exp: Likewise.
16282 * gdb.mi/mi-watch.exp: Likewise.
16283 * gdb.mi/mi2-cli.exp: Likewise.
16284 * gdb.mi/mi2-console.exp: Likewise.
16285 * gdb.mi/mi2-simplerun.exp: Likewise.
16286 * gdb.mi/mi2-stack.exp: Likewise.
16287 * gdb.mi/mi2-stepi.exp: Likewise.
16288 * gdb.mi/mi2-until.exp: Likewise.
16289 * gdb.mi/mi2-var-display.exp: Likewise.
16290 * gdb.mi/mi2-watch.exp: Likewise.
16291
16292 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16293
16294 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16295
16296 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16297
16298 2008-04-04 Pedro Alves <pedro@codesourcery.com>
16299
16300 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16301 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16302 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16303 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16304 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16305 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16306 expect an mi error duplicated in stderr.
16307
16308 2008-04-03 Joel Brobecker <brobecker@adacore.com>
16309
16310 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16311 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16312 Add a couple of tests that verify the behavior when the new setting
16313 is set to "cancel" and "all".
16314 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16315 "ask" before we start the testing.
16316
16317 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16318
16319 * gdb.cp/casts.cc: Add class reference variables.
16320 * gdb.cp/casts.exp: New test cases for up/down casting references.
16321
16322 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16323
16324 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16325 instead of beginning to make an extra test pass.
16326 * gdb.mi/mi2-var-display.exp: Likewise.
16327
16328 2008-03-31 Maciej W. Rozycki <macro@mips.com>
16329
16330 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16331
16332 2008-03-31 Markus Deuling <deuling@de.ibm.com>
16333 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16334
16335 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16336 value. Add xfail for older kernels.
16337
16338 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16339
16340 Bring mi-support in line with gdb.exp.
16341 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16342 (mi_gdb_start): New function.
16343
16344 2008-03-28 Maciej W. Rozycki <macro@mips.com>
16345
16346 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16347
16348 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16349
16350 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16351 * gdb.mi/mi2-var-display.exp: Likewise.
16352
16353 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16354
16355 * lib/mi-support.exp (mi_create_varobj_checked): New.
16356 (mi_list_varobj_children): Allow to check for a
16357 value.
16358 (mi_list_array_varobj_children): New.
16359
16360 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16361 and mi_list_varobj_children, as opposed to hardcoding
16362 expected strings.
16363 * gdb.mi/gdb701.exp: Likewise.
16364 * gdb.mi/gdb792.exp: Likewise.
16365 * gdb.mi/mi-var-block.exp: Likewise.
16366 * gdb.mi/mi-var-cmd.exp: Likewise.
16367 * gdb.mi/mi-var-invalidate.exp: Likewise.
16368 * gdb.mi/mi2-var-block.exp: Likewise.
16369 * gdb.mi/mi2-var-child.exp: Likewise.
16370 * gdb.mi/mi2-var-cmd.exp: Likewise.
16371 * gdb.mi/mi2-var-display.exp: Likewise.
16372
16373 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16374
16375 Fix random false FAILs on i386.
16376 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16377
16378 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16379
16380 PR gdb/544
16381 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16382
16383 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16384
16385 PR gdb/544
16386 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16387
16388 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16389
16390 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16391 fixed PR gdb/544.
16392
16393 2008-03-21 Pedro Alves <pedro@codesourcery.com>
16394
16395 * gdb.threads/fork-child-threads.exp: Test next over fork.
16396
16397 2008-03-21 Chris Demetriou <cgd@google.com>
16398
16399 * gdb.base/break.exp (rbreak junk): New test for rbreak
16400 "Junk at end of arguments" issue.
16401
16402 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16403
16404 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16405 *& to work on created array elements.
16406 (Top level): Test print $pc with a file. Test string operations
16407 without a target.
16408 * gdb.base/ptype.exp: Do not expect *& to work on created array
16409 elements.
16410
16411 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16412
16413 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16414 gdb.threads/staticthreads.exp: Update exit query.
16415
16416 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16417
16418 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16419
16420 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16421
16422 * gdb.base/watchpoint.c (global_ptr, func4): New.
16423 (main): Call func4.
16424 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16425 (test_inaccessible_watchpoint): New.
16426
16427 2008-02-29 Maciej W. Rozycki <macro@mips.com>
16428
16429 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16430 select the largest.
16431
16432 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16433
16434 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16435 frames-invalid annotations.
16436
16437 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16438
16439 * gdb.base/assign.exp: avoid same output for different tests.
16440
16441 2008-02-27 Doug Evans <dje@google.com>
16442
16443 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16444 for bug 1738.
16445 (breakpoint_to_handler_entry): Ditto.
16446
16447 2008-02-27 Joel Brobecker <brobecker@adacore.com>
16448
16449 * gdb.base/ending-run.exp: Use the first line of code inside
16450 function body to test breakpoints.
16451 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16452 location where the breakpoint is inserted when using the line
16453 where a function is declared. Fix typo in the description of
16454 one of the tests.
16455 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16456
16457 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16458
16459 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16460 tests.
16461
16462 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16463
16464 * gdb.base/args.exp: avoid same output for tests
16465 with single quotes.
16466
16467 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16468
16469 * gdb.base/annota1.exp: Adjust for 'info break'
16470 format changes.
16471 * gdb.base/annota3.exp: Likewise.
16472 * gdb.base/break.exp: Likewise.
16473 * gdb.base/condbreak.exp: Likewise.
16474 * gdb.base/pending.exp: Likewise.
16475 * gdb.base/sepdebug.exp: Likewise.
16476 * gdb.base/unload.exp: Likewise.
16477 * gdb.cp/ovldbreak.exp: Likewise.
16478 * gdb.mi/mi-pending.exp: Likewise.
16479
16480 2008-02-07 Doug Evans <dje@google.com>
16481
16482 * gdb.cp/mb-inline.exp: New.
16483 * gdb.cp/mb-inline.h: New.
16484 * gdb.cp/mb-inline1.cc: New.
16485 * gdb.cp/mb-inline2.cc: New.
16486
16487 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16488
16489 * gdb.pascal/floats.pas: New test program.
16490 * gdb.pascal/floats.exp: New testcase.
16491
16492 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16493
16494 * gdb.base/callfuncs.c (t_float_many_args): New function.
16495 (t_double_many_args): New function.
16496 * gdb.base/callfuncs.exp: Add tests for exceeding float
16497 and double parameters passed through the stack.
16498
16499 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16500
16501 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16502 gdb.ada/complete/foo.adb: New files.
16503 * gdb.ada/complete.exp: New testcase.
16504
16505 2008-02-03 Doug Evans <dje@google.com>
16506
16507 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16508
16509 * gdb.cp/gdb2384.exp: New file.
16510 * gdb.cp/gdb2384.cc: New file.
16511 * gdb.cp/gdb2384-base.h: New file.
16512 * gdb.cp/gdb2384-base.cc: New file.
16513
16514 2008-02-02 Doug Evans <dje@google.com>
16515
16516 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16517
16518 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16519
16520 * gdb.ada/sym_print_name: New test program.
16521 * gdb.ada/sym_print_name.exp: New testcase.
16522
16523 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16524
16525 * gdb.ada/nested/hello.adb: New file.
16526 * gdb.ada/nested.exp: New testcase.
16527 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16528
16529 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16530
16531 * gdb.mi/basic.c (return_1): New function.
16532 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16533 don't cause future evaluations of function to report
16534 creation of internal breakpoints.
16535
16536 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16537
16538 * gdb.mi/mi-break.exp (test_error): New.
16539 Call it.
16540
16541 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16542
16543 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16544 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16545
16546 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16547
16548 * gdb.pascal/integers.pas: New test program.
16549 * gdb.pascal/integers.exp: New testcase.
16550
16551 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16552
16553 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16554
16555 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16556
16557 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16558 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16559
16560 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16561
16562 * gdb.ada/formatted_ref: New test program.
16563 * gdb.ada/formatted_ref.exp: New testcase.
16564
16565 * gdb.cp/formatted-ref.cc: New file.
16566 * gdb.cp/formatted-ref.exp: New testcase.
16567
16568 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16569
16570 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16571
16572 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16573
16574 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16575 (test_file_list_exec_source_file): Update to new macro-info field.
16576
16577 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16578
16579 * gdb.ada/exprs: New test program.
16580 * gdb.ada/exprs.exp: New testcase.
16581
16582 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16583
16584 * dfp-test.c (DELTA, DELTA_B): New definitions.
16585 (double_val1, double_val2, double_val3, double_val4, double_val5,
16586 double_val6, double_val7, double_val8, double_val9, double_val10,
16587 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16588 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16589 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16590 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16591 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16592 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16593 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16594 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16595 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16596 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16597 dec128_val16): New global variables.
16598 (decimal_dec128_align): New function.
16599 (decimal_mixed): Likewise.
16600 (decimal_many_args_dec32): Likewise.
16601 (decimal_many_args_dec64): Likewise.
16602 (decimal_many_args_dec128): Likewise.
16603 (decimal_many_args_mixed): Likewise.
16604 * dfp-test.exp: Add tests calling new inferior functions.
16605
16606 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16607
16608 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16609 gdb.server/ext-run.exp: New files.
16610 * lib/gdbserver-support.exp (gdbserver_download): New.
16611 (gdbserver_start): New. Update gdbserver expected
16612 output.
16613 (gdbserver_spawn): Use them.
16614 (gdbserver_start_extended): New.
16615
16616 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16617
16618 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16619 Run on GNU/Linux.
16620 (do_exec_tests): Check for systems which do not support catchpoints.
16621 Do not match START.
16622 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16623 Run on GNU/Linux. Enable verbose output.
16624 (check_fork_catchpoints): New.
16625 (explicit_fork_child_follow, catch_fork_child_follow)
16626 (tcatch_fork_parent_follow): Update expected messages.
16627 (do_fork_tests): Use check_fork_catchpoints.
16628 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16629 Run on GNU/Linux. Enable verbose output.
16630 (check_vfork_catchpoints): New.
16631 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16632 expected messages.
16633 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16634
16635 2008-01-29 Jim Blandy <jimb@red-bean.com>
16636
16637 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16638 host' errors.
16639 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16640
16641 2008-01-29 Jim Blandy <jimb@red-bean.com>
16642
16643 * gdb.threads/sigthread.c: Use barriers to ensure that
16644 child_thread and child_thread_two are always initialized before we
16645 start to use them.
16646
16647 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16648
16649 * gdb.base/watchpoint-solib.exp: New.
16650 * gdb.base/watchpoint-solib.c: New.
16651 * gdb.base/watchpoint-solib-shr.c: New.
16652
16653 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16654
16655 * gdb.base/gdb1056.exp: Add unsigned integer test.
16656
16657 2008-01-28 Doug Evans <dje@google.com>
16658
16659 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16660
16661 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16662
16663 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16664
16665 * gdb.base/expand-psymtabs.exp: Doc fix.
16666
16667 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16668
16669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16670
16671 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16672
16673 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16674 -var-set-format.
16675
16676 2008-01-23 Chris Demetriou <cgd@google.com>
16677
16678 * gdb.threads/thread_events.c: New testcase source file.
16679 * gdb.threads/thread_events.exp: New testcase expect file.
16680
16681 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16682
16683 * lib/gdb.exp: Add the variable octal.
16684
16685 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16686 -var-set-format.
16687
16688 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16689 Vladimir Prus <vladimir@codesourcery.com>
16690
16691 * gdb.base/float.exp: Allow missing floating point for m68k and
16692 PowerPC.
16693
16694 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16695
16696 * gdb.mi/basics.c: Setup for testing breakpoints
16697 ignore count.
16698 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16699 * gdb.mi/mi-cli.exp: Adjust.
16700 * gdb.mi/mi2-cli.exp: Adjust.
16701
16702 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16703
16704 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16705 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16706 with dummy_ptr's address.
16707 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16708 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16709 all targets.
16710 * gdb.mi/mi2-var-child.exp: Likewise.
16711
16712 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16713
16714 * gdb.ada/null_array: New test program.
16715 * gdb.ada/null_array.exp: New testcase.
16716
16717 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16718
16719 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16720 with required float modifiers.
16721
16722 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16723
16724 * gdb.ada/funcall_param: New test program.
16725 * gdb.ada/funcall_param.exp: New testcase.
16726
16727 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16728
16729 * gdb.ada/arrayparam: New test program.
16730 * gdb.ada/arrayparam.exp: New testcase.
16731
16732 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16733
16734 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16735 landed. Should also fix random failures in the test following it.
16736
16737 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16738
16739 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16740 for expressions with decimal float values.
16741 (test_dfp_conversions): New function to test casts to and from
16742 decimal float types.
16743 Call test_dfp_conversions.
16744 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16745 elements.
16746 (main): Initialize ds.float4 and ds.double8 elements.
16747 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16748 string to new error message.
16749 (d64_set_tests): Likewise.
16750 (d128_set_tests): Likewise.
16751 Add tests for expressions with decimal float variables. Add tests for
16752 conversions to and from decimal float types.
16753
16754 2008-01-05 Joel Brobecker <brobecker@adacore.com>
16755
16756 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16757 * gdb.ada/packed_tagged.exp: New testcase.
16758
16759 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16760
16761 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16762 gdb.ada/homonym/homonym_main.adb: New files.
16763 * gdb.ada/homonym.exp: New testcase.
16764
16765 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16766
16767 * gdb.ada/packed_array.exp: Add testing of references to
16768 a packed array.
16769
16770 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16771
16772 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16773 New files.
16774 * gdb.ada/type_coercion.exp: New testcase.
16775
16776 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16777
16778 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16779 gdb.ada/tagged/foo.adb: New file.
16780 * gdb.ada/tagged.exp: New testcase.
16781
16782 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16783
16784 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16785 gdb.ada/ptype_field/foo.adb: New files.
16786 * gdb.ada/ptype_field.exp: New testcase.
16787
16788 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16789
16790 * gdb.ada/print_pc.exp: New testcase.
16791
16792 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16793
16794 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16795 gdb.ada/taft_type/p.adb: New files.
16796 * gdb.ada/taft_type.exp: New testcase.
16797
16798 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16799
16800 * gdb.ada/array_bounds/bar.adb: New file.
16801 * gdb.ada/array_bounds.exp: New testcase.
16802
16803 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16804
16805 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16806 gdb.ada/arrayptr/foo.adb: New files.
16807 * gdb.ada/arrayptr.exp: New testcase.
16808
16809 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16810
16811 * gdb.base/set-lang-auto.exp: New testcase.
16812
16813 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16814
16815 * gdb.ada/fun_addr/foo.adb: New file.
16816 * gdb.ada/fun_addr.exp: New testcase.
16817
16818 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16819
16820 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16821 New files
16822
16823 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16824
16825 * array_subscript_addr/p.adb: New file.
16826 * array_subscript_addr.exp: New testcase.
16827
16828 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16829
16830 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16831 New files.
16832 * gdb.ada/str_cmp_ref.exp: New testcase.
16833
16834 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16835
16836 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16837 gdb.ada/fun_in_declare/foo.adb: New files.
16838 * gdb.ada/fun_in_declare.exp: New testcase.
16839
16840 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16841
16842 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16843 gdb.ada/ref_param/pck.ads: New files.
16844 * gdb.ada/ref_param.exp: New testcase.
16845
16846 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16847
16848 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16849 gdb.ada/interface/foo.adb: New files.
16850 * gdb.ada/interface.exp: New testcase.
16851
16852 2007-12-31 Jim Blandy <jimb@codesourcery.com>
16853
16854 * gdb.base/multi-forks.exp: Consume all output from child
16855 processes before proceeding to next test.
16856
16857 2007-12-29 Jim Blandy <jimb@codesourcery.com>
16858
16859 * configure: Regenerated.
16860
16861 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16862
16863 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16864 gdb.ada/fixed_cmp/fixed.adb: New files.
16865 * gdb.ada/fixed_cmp.exp: New testcase.
16866
16867 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16868
16869 * gdb.ada/boolean_expr.exp: New testcase.
16870
16871 2007-12-26 Jim Blandy <jimb@codesourcery.com>
16872
16873 * gdb.base/multi-forks.exp: Doc fix.
16874
16875 2007-12-26 Joel Brobecker <brobecker@adacore.com>
16876
16877 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16878 * gdb.ada/char_param.exp: Do not compile our test program with
16879 -gnata, this is unnecessary.
16880 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16881
16882 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16883
16884 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16885 gdb.ada/print_chars/foo.adb: New files.
16886 * gdb.ada/print_chars.exp: New testcase.
16887
16888 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16889
16890 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16891 gdb.ada/char_param/foo.adb: New files.
16892 * gdb.ada/char_param.exp: New testcase.
16893
16894 2007-12-22 Jim Blandy <jimb@codesourcery.com>
16895
16896 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16897 hard-coding source line numbers into the test.
16898 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16899 gdb_get_line_number to find.
16900
16901 2007-12-22 Joel Brobecker <brobecker@adacore.com>
16902
16903 * gdb.base/ptype.c (highest): New struct type.
16904 (the_highest): New variable of that type.
16905 (main): Add dummy assignment to a field of variable the_highest.
16906 * gdb.base/ptype.exp: Test type printing of our new variable.
16907
16908 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16909
16910 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16911 and record first explicitly generated thread number.
16912 Use that thread number for thread specific watchpoint test.
16913 Add iteration number to repetitive tests.
16914
16915 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16916 Jim Blandy <jimb@codesourcery.com>
16917
16918 * gdb.base/expand-psymtabs.c: New testcase
16919 source file.
16920 * gdb.base/expand-psymtabs.exp: New testcase
16921 expect file.
16922
16923 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
16924
16925 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16926 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16927
16928 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16929
16930 * gdb.ada/frame_args/foo.adb: New file.
16931 * gdb.ada/frame_args/pck.ads: New file.
16932 * gdb.ada/frame_args/pck.adb: New file.
16933 * gdb.ada/frame_args.exp: New testcase.
16934
16935 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16936
16937 * gdb.base/frame-args.c: New file.
16938 * gdb.base/frame-args.exp: New testcase.
16939
16940 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
16941 Joseph Myers <joseph@codesourcery.com>
16942
16943 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16944
16945 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
16946
16947 * gdb.mi/mi-pending.exp: New.
16948 * gdb.mi/mi-pending.c: New.
16949 * gdb.mi/mi-pendshr.c: New.
16950
16951 2007-12-06 Jim Blandy <jimb@codesourcery.com>
16952
16953 * gdb.base/default.exp: Update expected output for 'info catch'.
16954
16955 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16956
16957 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16958 must be set to binary.
16959
16960 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16961
16962 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16963
16964 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16965
16966 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16967 gdb.mi/mi-file-transfer.exp: New.
16968
16969 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16970
16971 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16972
16973 2007-11-22 Maciej W. Rozycki <macro@mips.com>
16974
16975 * gdb.trace/backtrace.exp: Fix a typo.
16976 * gdb.trace/circ.exp: Likewise.
16977 * gdb.trace/collection.exp: Likewise.
16978 * gdb.trace/limits.exp: Likewise.
16979 * gdb.trace/report.exp: Likewise.
16980 * gdb.trace/tfind.exp: Likewise.
16981 * gdb.trace/while-dyn.exp: Likewise.
16982
16983 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
16984
16985 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16986 objects of pointers that can't be dereferenced are now
16987 "noneditable".
16988
16989 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16990
16991 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16992 (target_cpu): Remove.
16993
16994 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16995
16996 * gdb.base/ending-run.exp: Expect the list of cleared
16997 breakpoint to come in natural order, not the reversed one.
16998
16999 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17000
17001 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17002 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
17003
17004 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
17005
17006 * gdb.base/printcmds.exp: New function
17007 test_printf_with_dfp.
17008
17009 2007-11-02 Doug Evans <dje@google.com>
17010
17011 * gdb.disasm/t01_mov.s: Remove carriage returns.
17012 * gdb.disasm/t02_mova.s: Ditto.
17013 * gdb.disasm/t03_add.s: Ditto.
17014 * gdb.disasm/t04_sub.s: Ditto.
17015 * gdb.disasm/t05_cmp.s: Ditto.
17016 * gdb.disasm/t06_ari2.s: Ditto.
17017 * gdb.disasm/t07_ari3.s: Ditto.
17018 * gdb.disasm/t08_or.s: Ditto.
17019 * gdb.disasm/t09_xor.s: Ditto.
17020 * gdb.disasm/t10_and.s: Ditto.
17021 * gdb.disasm/t11_logs.s: Ditto.
17022 * gdb.disasm/t12_bit.s: Ditto.
17023 * gdb.disasm/t13_otr.s: Ditto.
17024
17025 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17026
17027 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17028
17029 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17030
17031 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17032 provide DFP support.
17033
17034 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17035
17036 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17037 Test "set powerpc vector-abi". Skip auto-detection tests for old
17038 toolchains.
17039
17040 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17041
17042 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17043 with [string compare].
17044
17045 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17046
17047 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17048 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17049
17050 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
17051
17052 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17053 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17054 * gdb.opt/Makefile.in: New makefile.
17055 * Makefile.in: Create new directory "gdb.opt".
17056 * configure.ac: Add "gdb.opt" directory.
17057 * configure: Regenerated.
17058
17059 2007-10-25 Doug Evans <dje@google.com>
17060
17061 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17062 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17063
17064 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
17065 Thiago Jung Bauermann <bauerman@br.ibm.com>
17066
17067 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17068 Floating Point expressions.
17069 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17070 Floating Point variables.
17071 * gdb.base/dfp-test.c: new file containing program with Decimal
17072 Floating variables, used by gdb.base/dfp-test.exp.
17073
17074 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17075
17076 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17077
17078 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17079
17080 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17081 compiling test case with GCC.
17082 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17083
17084 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17085
17086 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17087 format changes.
17088
17089 2007-10-18 Michael Snyder <msnyder@specifix.com>
17090
17091 * gdb.base/dbx.exp: Add missing "-re " operator.
17092
17093 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17094
17095 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17096 * configure.ac: Removed trailing spaces after backslash.
17097 * gdb.modula2: New directory.
17098 * gdb.modula2/Makefile.in: New file.
17099 * gdb.modula2/unbounded-array.exp: New file.
17100 * gdb.modula2/unbounded1.c: New file.
17101
17102 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17103
17104 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17105
17106 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
17107
17108 * gdb.base/sigstep.c (main): Add checks for
17109 return values for setitimer call.
17110 Call setitimer again with itimer = ITIMER_REAL
17111 if first call to setitimer fails.
17112
17113 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
17114
17115 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17116 of $timeout.
17117
17118 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17119
17120 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17121
17122 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
17123
17124 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17125 of gdb_expect call, to avoid interruption.
17126
17127 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17128
17129 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17130 (v_unsigned_long_long, v_long_long_array)
17131 (v_signed_long_long_array, v_unsigned_long_long_array)
17132 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17133 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17134 [!NO_LONG_LONG]: New.
17135 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17136 v_long_long_member.
17137
17138 (v_long_long_func, v_signed_long_long_func)
17139 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17140 (main) [!NO_LONG_LONG]: Initialize long long variants.
17141
17142 * gdb.base/whatis.exp: If board file requests no_long_long, build
17143 test with NO_LONG_LONG defined. Test long long, signed long long,
17144 and unsigned long long variants but only if board file doesn't
17145 disable it.
17146
17147 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
17148 Daniel Jacobowitz <dan@codesourcery.com>
17149
17150 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17151 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17152 * configure: Regenerated.
17153 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17154 gdb.pascal/types.exp, lib/pascal.exp: New files.
17155
17156 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17157
17158 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17159 call.
17160 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17161 to return to the call.
17162 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17163 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17164 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17165 * gdb.mi/mi-until.exp (test_until): Likewise.
17166 * gdb.mi/mi2-until.exp (test_until): Likewise.
17167
17168 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17169
17170 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17171 two-char array.
17172 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17173
17174 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17175
17176 * gdb.threads/watchthreads.c (thread_function): Sleep between
17177 iterations.
17178 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17179 at once for S/390. Generate matching fails and passes.
17180
17181 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17182
17183 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17184 the 'struct_declarations' variable to zeros.
17185
17186 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17187
17188 * gdb.cp/mb-ctor.cc: New.
17189 * gdb.cp/mb-ctor.exp: New.
17190 * gdb.cp/mb-templates.cc: New.
17191 * gdb.cp/mb-templates.exp: New.
17192
17193 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17194
17195 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17196
17197 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17198
17199 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17200 targets.
17201 * configure: Regenerate.
17202
17203 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
17204
17205 * gdb.base/annota1.exp: Adjust for 'info break'
17206 format changes.
17207 * gdb.base/annota3.exp: Likewise.
17208 * gdb.base/break.exp: Likewise.
17209 * gdb.base/condbreak.exp: Likewise.
17210 * gdb.base/pending.exp: Likewise.
17211 * gdb.base/sepdebug.exp: Likewise.
17212 * gdb.base/unload.exp: Likewise.
17213 * gdb.base/ovldbreak.exp: Likewise.
17214
17215 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17216
17217 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17218 messages.
17219 * gdb.base/chng-syms.exp: Likewise.
17220 * gdb.base/unload.exp: Likewise.
17221
17222 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17223
17224 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17225
17226 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17227
17228 * schedlock.c (NUM): Change to 1.
17229 (main): Use args[0] for the main thread.
17230 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17231 regardless of the number of threads.
17232
17233 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17234
17235 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17236 type down.
17237 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17238 test.
17239 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17240 watchpoint type down.
17241 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17242 test.
17243
17244 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17245
17246 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17247 Move all the tests here and run them twice, once using software
17248 watchpoints and once using hardware watchpoints.
17249 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17250
17251 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17252
17253 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17254 test.
17255
17256 2007-09-10 Mark Kettenis <kettenis@gnu.org>
17257
17258 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17259 build-id.
17260
17261 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17262 know about $ORIGIN. Calculate output dir from $dest instead of
17263 using ${objdir}/{$subdir}.
17264
17265 2007-09-09 Mark Kettenis <kettenis@gnu.org>
17266
17267 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17268 gcore, before continuing with the test.
17269
17270 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17271
17272 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17273 * gdb.mi/mi-watch.exp: Likewise.
17274
17275 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17276 Jim Blandy <jimb@codesourcery.com>
17277
17278 * gdb.arch/i386-sse.exp: Do not expect character constants.
17279 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17280 * gdb.base/display.exp: Allow print/s.
17281 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17282 and unsigned char array changes.
17283
17284 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17285
17286 * gdb.base/display.exp: Add tests for printf %p.
17287
17288 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17289
17290 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17291 the dll name to unicode.
17292
17293 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17294
17295 * gdb.base/default.exp (show version): Update the version text.
17296 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17297
17298 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17299
17300 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17301 New files.
17302
17303 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17304
17305 * lib/gdb.exp (build_id_debug_filename_get): New function.
17306 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17307 Remove the generate DEBUG file for the future testcase runs.
17308 New testcase for the NT_GNU_BUILD_ID retrieval.
17309 Move the final testing step to ...
17310 (test_different_dir): ... a new function.
17311 New parameter XFAIL to XFAIL all the tests performed.
17312 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17313 New parameter TYPE to PF_PREFIX all the tests performed.
17314
17315 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17316
17317 * gdb.mi/mi-var-cp.cc (path_expression): New
17318 function.
17319 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17320
17321 2007-08-27 Markus Deuling <deuling@de.ibm.com>
17322
17323 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17324 to fit into SPU Local Store memory.
17325
17326 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17327
17328 * gdb.base/default.exp: Adjust the expected output of "info
17329 warranty" after the switch to GPLv3.
17330
17331 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17332
17333 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17334 to 30000 (from 20000).
17335
17336 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17337
17338 Switch the license of all .exp files to GPLv3.
17339 Switch the license of all .f and .f90 files to GPLv3.
17340 Switch the license of all .s and .S files to GPLv3.
17341
17342 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17343
17344 * configure.ac: Switch license to GPLv3.
17345
17346 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17347
17348 Switch the licensing to GPLv3 for all .ads and .adb files.
17349
17350 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17351
17352 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17353 and t_int_double.
17354 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17355
17356 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17357
17358 * gdb.base/step-line.c: Switch license to GPL version 3, and
17359 update copyright year.
17360 * gdb.base/step-line.inp: Likewise.
17361
17362 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17363
17364 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17365 changes inside gdb1555.c.
17366 * gdb.base/pending.exp: Likewise.
17367
17368 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17369
17370 * config/default.exp: New file.
17371
17372 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17373
17374 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17375 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17376
17377 2007-07-30 Maciej W. Rozycki <macro@mips.com>
17378
17379 * gdb.base/dump.exp: Force the correct endianness for binary
17380 formats not carrying this information.
17381
17382 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17383
17384 * gdb.threads/staticthreads.exp: Match .*sem_post.
17385
17386 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17387
17388 * gdb.base/readline.exp (operate_and_get_next): Match the final
17389 prompt.
17390
17391 2007-07-23 Kevin Buettner <kevinb@redhat.com>
17392
17393 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17394 to restarting SID.
17395
17396 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17397
17398 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17399 prior to `gdb_start'.
17400
17401 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17402
17403 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17404 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17405 Remove call to gdb_unload.
17406
17407 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17408 Daniel Jacobowitz <dan@codesourcery.com>
17409
17410 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17411 for __WIN32__.
17412 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17413 * gdb.base/unload.exp: Use shared library test routines.
17414
17415 2007-07-03 Markus Deuling <deuling@de.ibm.com>
17416
17417 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17418 * gdb.base/solib-symbol-lib.c: Likewise.
17419 * gdb.base/solib-symbol-main.c: Likewise.
17420
17421 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17422
17423 * config/gdbserver.exp (gdb_reconnect): New.
17424 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17425 gdb.base/solib-disc.exp: New files.
17426 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17427 remote debugging".
17428 (gdb_compile): Add shlib_load flag.
17429 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17430 port.
17431 (gdbserver_reconnect): New.
17432
17433 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
17434 Daniel Jacobowitz <dan@codesourcery.com>
17435
17436 * gdb.base/annota3.exp: Test for if construct.
17437
17438 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17439
17440 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17441
17442 2007-06-21 Chris Dearman <chris@mips.com>
17443 Maciej W. Rozycki <macro@mips.com>
17444
17445 * gdb.base/display.exp: Allow a newline after display/i.
17446 * gdb.base/pc-fp.exp: Likewise.
17447 * gdb.base/sigbpt.exp: Likewise.
17448
17449 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17450
17451 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17452 required features to be included.
17453
17454 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17455
17456 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17457 in info threads output.
17458
17459 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17460 Markus Deuling <deuling@de.ibm.com>
17461
17462 * gdb.arch/spu-info.exp: New testcase.
17463 * gdb.arch/spu-info.c: New file.
17464
17465 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17466
17467 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17468 tpcs_offset. Restore lr after the call.
17469 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17470
17471 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17472
17473 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17474 (gdbserver_run): Kill any running gdbserver.
17475 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17476
17477 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17478
17479 * gdb.base/sigbpt.exp: Preset segv_addr.
17480
17481 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17482
17483 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17484 (gdb_compile_shlib): Likewise.
17485 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17486 (default_gdb_init): Clear cleanfiles.
17487 (gdb_finish): Delete recorded cleanfiles.
17488 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17489
17490 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17491 Do not use isnative.
17492 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17493 gdb.base/so-impl-ld.exp: Likewise.
17494 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17495 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17496 gdb_compile.
17497
17498 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17499
17500 * config/unknown.exp: Remove.
17501
17502 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17503
17504 * gdb.base/info-proc.exp: Check is_remote.
17505
17506 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17507
17508 * gdb.base/gcore.exp: Initialize variable core_supported.
17509
17510 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17511
17512 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17513
17514 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17515
17516 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17517 * gdb.threads/print-threads.exp (test_all_threads): Allow
17518 negative and hexadecimal thread IDs.
17519
17520 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17521
17522 * gdb.java/jprint.java (public): Avoid invalid call to static
17523 method.
17524
17525 2007-05-14 Denis Pilat <denis.pilat@st.com>
17526
17527 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17528 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17529 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17530 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17531 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17532
17533 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17534
17535 * gdb.base/overlays.exp: Add support for targets with only code
17536 overlay support, not data overlay. Support spu-*-* target in
17537 this mode.
17538 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17539 * gdb.base/spu.ld: New file.
17540
17541 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17542
17543 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17544
17545 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17546
17547 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17548
17549 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17550
17551 * gdb.java/jmain.exp: Handle demangled names with and without method
17552 signatures.
17553
17554 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17555
17556 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17557 (have_a_very_merry_interrupt): Remove calls to puts.
17558 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17559 inferior output.
17560 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17561 test names.
17562
17563 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17564 Daniel Jacobowitz <dan@codesourcery.com>
17565
17566 * gdb.base/auxv.exp (core_works): Also check is_remote.
17567 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17568
17569 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17570
17571 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17572 message, not the undefined 'module' variable.
17573 * gdb.base/siginfo.exp: Likewise.
17574 * gdb.base/sigstep.exp: Likewise.
17575 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17576 serialport.
17577 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17578
17579 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17580
17581 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17582 target sim fails. Return 0 otherwise.
17583 (gdb_load): Return prematurely if gdb_target_sim fails.
17584
17585 2007-04-16 Denis Pilat <denis.pilat@st.com>
17586
17587 * gdb.base/setshow.exp: Reset height after having set it to 100.
17588
17589 2007-04-16 Denis Pilat <denis.pilat@st.com>
17590
17591 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17592
17593 2007-04-16 Denis Pilat <denis.pilat@st.com>
17594
17595 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17596
17597 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17598
17599 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17600 tests. Run the frozen varobjs test.
17601 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17602 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17603
17604 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17605
17606 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17607 gdb.base/type-opaque.exp: New files.
17608
17609 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17610
17611 * gdb.mi/mi-var-child.c
17612 (do_children_tests): User char[2] instead of
17613 char so that automatic printing of pointers to char
17614 don't give unpredicable result.
17615 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17616 local variables.
17617 * gdb.mi/mi-var-child.exp: Step to right line
17618 of do_children_tests.
17619 * gdb.mi/mi2-var-child.exp: Likewise.
17620 * gdb.mi/mi-var-cmd.exp: Step to right line of
17621 do_locals_tests.
17622 (do_children_tests): User char[2] instead of
17623 char so that automatic printing of pointers to char
17624 don't give unpredicable result.
17625 * gdb.mi/mi2-var-cmd.exp: Likewise.
17626 * lib/mi-support.exp (mi_continue_to_line):
17627 Pass test name to mi_wait_for_stop.
17628
17629 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17630
17631 * gdb.asm/asm-source.exp: Remove d10v case.
17632 * lib/gdb.exp (skip_cplus_tests): Likewise.
17633 * gdb.asm/d10v.inc: Deleted.
17634
17635 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17636
17637 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17638
17639 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17640
17641 * config/netware.exp: Delete file.
17642
17643 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17644
17645 * gdb.dwarf2/dw2-noloc.S: New file.
17646 * gdb.dwarf2/dw2-noloc.exp: New file.
17647
17648 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17649
17650 * gdb.cp/method2.cc: New test.
17651 * gdb.cp/method2.exp: New test.
17652 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17653
17654 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17655
17656 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17657
17658 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17659
17660 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17661
17662 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17663
17664 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17665 (gdb_load): Delete, replace with...
17666 (gdb_reload): ...this.
17667 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17668 * gdb.server/server-mon.exp: Likewise.
17669 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17670 (gdb_start_cmd): New.
17671 (gdb_file_cmd): Save the last loaded file.
17672 (gdb_reload): New.
17673 (gdb_gnu_strip_debug): Use transform.
17674 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17675 support here. Use new $last_loaded_file. Check mtime.
17676 (gdb_target_cmd): Handle ObjC failure case.
17677 (infer_host_exec): Delete.
17678 (gdbserver_load): Rename to...
17679 (gdbserver_run): ...this. Simplify.
17680 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17681 (mi_gdb_load): Move most contents to a new function...
17682 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17683 (mi_run_cmd): Use mi_gdb_target_load.
17684 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17685 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17686 Use gdb_run_cmd.
17687 * gdb.base/charsign.exp: Remove incorrect comment.
17688 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17689 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17690 gdb.base/start.exp: Use gdb_start_cmd.
17691
17692 2007-03-23 Nigel Stephens <nigel@mips.com>
17693 Maciej W. Rozycki <macro@mips.com>
17694
17695 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17696 * gdb.base/signull.exp: Similarly.
17697
17698 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17699
17700 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17701 messages available to test cases (like chng-sym.exp).
17702
17703 2007-03-14 Andreas Schwab <schwab@suse.de>
17704
17705 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17706 format changes.
17707
17708 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17709
17710 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17711 (optimized_1): New.
17712 (main): Call optimized_1.
17713 (gdb2029): Correct typos. Call gdb2029_marker.
17714 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17715 for gdb2029.
17716
17717 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17718
17719 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17720 as tabs. Remove redundant test pattern.
17721
17722 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17723
17724 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17725 for /a format output.
17726
17727 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17728
17729 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17730 collect output incrementally.
17731
17732 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17733
17734 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17735 for -var-create lpcharacter test.
17736 * gdb.mi/mi2-var-cmd.exp: Likewise.
17737
17738 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17739
17740 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17741 pass on targets where address zero is readable.
17742
17743 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17744
17745 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17746 just a single architecture.
17747
17748 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17749
17750 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17751 (fetch_all_registers): New function, uses gdb_test_multiple and
17752 exp_continue to fetch inferior output line-by-line.
17753 Replace all uses of do_get_all_registers by fetch_all_registers.
17754
17755 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17756
17757 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17758 in target_info.
17759
17760 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17761
17762 * gdb.threads/manythreads.exp: Use $message string for
17763 consistancy; add a default (timeout) case.
17764
17765 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17766
17767 * gdb.base/watchpoint.exp: Fix truncated comment.
17768
17769 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17770
17771 * Makefile.in: Remove spurious single-quotes from sed command.
17772
17773 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17774
17775 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17776 func.
17777 * gdb.mi/mi2-var-cmd.exp: Likewise.
17778
17779 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17780
17781 * gdb.dwarf2/dw2-producer.S: New file.
17782 * gdb.dwarf2/dw2-producer.exp: New testcase.
17783
17784 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
17785
17786 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17787 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17788 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17789 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17790 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17791 Revert tests to use mi_gdb_test and include value field in output
17792 of -var-create.
17793
17794 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17795
17796 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17797
17798 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17799
17800 * gdb.base/maint.exp: Remove full paths from test names.
17801 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17802 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17803
17804 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17805
17806 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17807
17808 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17809
17810 * gdb.server/server-mon.exp: New test.
17811
17812 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17813
17814 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17815
17816 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17817
17818 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17819 register capitalization.
17820
17821 2007-02-13 Denis Pilat <denis.pilat@st.com>
17822
17823 * gdb.mi/mi-var-invalidate.exp: New file.
17824
17825 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17826
17827 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17828
17829 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17830
17831 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17832
17833 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17834
17835 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17836 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17837
17838 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
17839
17840 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17841 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17842 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17843 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17844 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17845 * gdb.mi/gdb792.exp, lib/mi-support.exp:
17846 Update tests to include value field in output of -var-create.
17847
17848 2007-02-08 Andreas Schwab <schwab@suse.de>
17849
17850 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17851
17852 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17853
17854 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17855 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17856
17857 2007-02-02 Denis Pilat <denis.pilat@st.com>
17858
17859 * gdb.threads/threadapply.exp: check that frame is not changed by
17860 the thread apply all command.
17861
17862 2007-01-31 Andreas Schwab <schwab@suse.de>
17863
17864 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17865
17866 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17867 in the dwarf sections.
17868 * gdb.dwarf2/mac-fileno.S: Likewise.
17869
17870 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17871 bspstore register on ia64.
17872
17873 2007-01-29 Andreas Schwab <schwab@suse.de>
17874
17875 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17876 "frame-begin" annotation.
17877
17878 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17879 number of "frames-invalid" annotations.
17880
17881 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17882
17883 * gdb.base/commands.exp: Call if_commands_test.
17884 (gdb_test_no_prompt, if_commands_test): New.
17885
17886 2007-01-28 Mark Kettenis <kettenis@gnu.org>
17887
17888 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17889
17890 2007-01-27 Andreas Schwab <schwab@suse.de>
17891
17892 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17893 .short/.int/.quad in the dwarf sections.
17894 * gdb.dwarf2/dw2-intercu.S: Likewise.
17895 * gdb.dwarf2/dw2-intermix.S: Likewise.
17896
17897 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17898
17899 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17900 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17901 array.
17902 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17903 * gdb.base/setvar.exp: Likewise.
17904
17905 2007-01-26 Andreas Schwab <schwab@suse.de>
17906
17907 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17908 test.
17909
17910 * gdb.base/multi-forks.exp ("restart $i"): Also match
17911 __kernel_syscall_via_break.
17912
17913 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17914
17915 * lib/mi-support.exp (mi_delete_varobj): New.
17916 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17917 testcase.
17918 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17919 (main): Call the above.
17920 (reference_update_test, base_in_reference_test)
17921 (reference_to_pointer): Delete the created varobjs.
17922
17923 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17924
17925 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17926 * configure: Regenerated.
17927 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17928 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17929 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17930 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17931 * lib/gdb.exp (gdb_skip_xml_test): New function.
17932
17933 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17934
17935 * gdb.base/sigrepeat.exp: Correct error message.
17936
17937 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17938 Daniel Jacobowitz <dan@codesourcery.com>
17939
17940 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17941 gdb.arch/i386-gnu-cfi-asm.S: New files.
17942
17943 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17944
17945 * lib/gdb.exp: Abort on missing `site.exp'.
17946
17947 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17948 Daniel Jacobowitz <dan@codesourcery.com>
17949
17950 * gdb.base/included.c, gdb.base/included.exp,
17951 gdb.base/included.h: New files.
17952
17953 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17954
17955 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17956 (maximize_rlimit): Reduce limits on 64-bit systems.
17957
17958 2007-01-19 Mark Kettenis <kettenis@gnu.org>
17959
17960 From Marcus Deuling <deuling@de.ibm.com>:
17961 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17962 every case.
17963
17964 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
17965
17966 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17967 (test_path_specification): Use objdir instead of srcdir to always
17968 get an absolute filename.
17969
17970 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17971
17972 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17973
17974 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17975
17976 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17977 Make sure the variable we're using is in scope.
17978 (reference_to_pointer): Likewise.
17979
17980 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17981
17982 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17983 has no debug information.
17984
17985 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17986
17987 * gdb.base/annota1.exp: Remove extra send_gdb.
17988
17989 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17990
17991 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17992
17993 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17994
17995 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17996
17997 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
17998 Daniel Jacobowitz <dan@codesourcery.com>
17999
18000 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18001 lcharacter or linteger change. Correct duplicated test name.
18002 * gdb.mi/mi2-var-cmd.exp: Likewise.
18003
18004 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18005
18006 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18007
18008 2007-01-05 Joel Brobecker <brobecker@adacore.com>
18009
18010 * gdb.base/nofield.c: New file.
18011 * gdb.base/nofield.exp: New testcase.
18012
18013 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
18014
18015 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18016
18017 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18018 test.
18019
18020 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18021
18022 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18023
18024 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18025
18026 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18027 when continuing.
18028
18029 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18030
18031 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18032 Expect ".exe" extension.
18033
18034 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18035
18036 * gdb.base/charset.exp: Add explicit filename to break.
18037 * gdb.base/dbx.exp: Add explicit filename to breaks.
18038
18039 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18040
18041 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18042 * gdb.mi/mi2-file.exp: Likewise.
18043
18044 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18045
18046 Implement specification of MI tests as comments
18047 in C and C++ sources.
18048 * lib/mi-support.exp (mi_autotest_data): New variable.
18049 (mi_autotest_source): New variable.
18050 (count_newlines, mi_prepare_inline_tests)
18051 (mi_get_inline_test, mi_continue_to_line)
18052 (mi_run_inline_test, mi_tbreak)
18053 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18054 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18055 Run inline tests.
18056 * gdb.mi/mi-var-cp.cc: Define tests here.
18057
18058 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18059
18060 Simplify usage of mi_continue_to.
18061 * lib/mi-support.exp (mi_runto_helper): Renamed
18062 from mi_runto, added new parameter 'run_or_continue'.
18063 (mi_runto): Use mi_runto_helper.
18064 (mi_continue_to): Accept just function name as parameter.
18065 Use mi_runto_helper.
18066 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18067 * gdb.mi/mi2-var-cmd.exp: Likewise.
18068
18069 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18070
18071 Make this testcase a bit more realistic. The current code
18072 is too simplistic, and allows the compiler to optimize out
18073 some of the entities we need for this testcase.
18074 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18075 (Do_Nothing): Add extra parameter.
18076 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18077 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18078 by using a variable of type Void_Star.
18079
18080 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18081
18082 * gdb.ada/catch_ex/foo.adb: New file.
18083 * gdb.ada/catch_ex.exp: New testcase.
18084
18085 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18086
18087 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18088 pass --image-base to linker.
18089
18090 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18091 Daniel Jacobowitz <dan@codesourcery.com>
18092
18093 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18094 secondary prompts.
18095
18096 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18097
18098 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18099 output. Test the types of members and member pointers.
18100 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18101 gdb/2092.
18102 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18103 statement. Enable for GCC. Update expected output for some tests
18104 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18105 layout.
18106 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18107 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18108 (Diamond::vget_base): New.
18109 (main): Add new tests.
18110 * gdb.cp/printmethod.exp: Update expected output for member functions.
18111 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18112 print pEe->D::vg().
18113
18114 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18115
18116 * gdb.threads/tls.exp: Allow stops in sem_post.
18117
18118 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18119
18120 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18121 * gdb.base/annota3.exp: Likewise.
18122 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18123 again (instead of timing out).
18124 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18125 GCC bug 26475.
18126 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18127 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18128 test from jmisc1.exp.
18129 * gdb.java/jmisc1.exp: Delete.
18130 * gdb.java/jprint.exp: Adjust to work with method signatures including
18131 return types.
18132 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18133 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18134 * lib/java.exp (compile_java_from_source): Pass the correct type
18135 to target_compile.
18136
18137 2006-12-31 Joel Brobecker <brobecker@adacore.com>
18138
18139 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18140 (stack_align_edx): New function.
18141 (stack_align_eax): New function.
18142 (main): Add calls to stack_align_edx and stack_align_eax.
18143 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18144 Add testing for the cases where the register used during a stack
18145 realignment is edx. Same for eax.
18146
18147 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18148
18149 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18150 and generic PE targets.
18151
18152 2006-12-29 Joel Brobecker <brobecker@adacore.com>
18153
18154 * gdb.ada/array_return.exp: Update copyright date list.
18155
18156 2006-12-27 Joel Brobecker <brobecker@adacore.com>
18157
18158 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18159 (Create_Small_Float_Vector): New function.
18160 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18161 function body.
18162 * gdb.ada/array_return/p.adb: Use new type and function from
18163 package Pck.
18164 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18165 able to print the value returned by a function returning an
18166 array of float.
18167
18168 2006-12-20 Joel Brobecker <brobecker@adacore.com>
18169
18170 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18171 The associated tests should be PASSing.
18172
18173 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18174
18175 Test for base in references.
18176 * gdb.mi/mi-var-cp.cc: Add test code.
18177 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18178 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18179 * gdb.mi/mi2-watch.exp: Likewise.
18180 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18181 (mi_list_varobj_children): New function.
18182
18183 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18184
18185 * lib/mi-support.exp
18186 (mi_runto): Accept "()" after function name.
18187 (mi_create_varobj): New function.
18188 (mi_varobj_update): New function.
18189 (mi_Check_varobj_value): New function.
18190 * gdb.mi/mi-var-cp.exp: New file.
18191 * gdb.mi/mi-var-cp.cc: New file.
18192
18193 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18194
18195 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18196 gdb.base/weaklib2.c: New files.
18197
18198 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
18199
18200 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18201 info. Adjust test names.
18202
18203 * gdb.base/break.c (main): Move position of malloc.
18204 * gdb.base/break.exp: Revert mistaken checkin.
18205
18206 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18207
18208 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18209 assignement of arrays and function pointers.
18210 * gdb.mi/var-cmd.c: Add declaration necessary for above
18211 tests.
18212
18213 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18214
18215 * gdb.base/break.c (main): Call malloc.
18216
18217 * gdb.threads/linux-dp.exp: Read thread table before and after
18218 creating each philosopher and verify it.
18219
18220 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18221 Paul Brook <paul@codesourcery.com>
18222 Daniel Jacobowitz <dan@codesourcery.com>
18223
18224 * gdb.base/ending-run.exp: Flatten expect script stepping out of
18225 main to remove duplication. Add start function of the form
18226 '_*start[1-9]*'. Add RVDS start function.
18227
18228 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18229
18230 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18231
18232 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18233
18234 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18235 * gdb.asm/spu.inc: New file.
18236 * gdb.base/term.exp: Disable if [target_info exists noargs].
18237 * gdb.gdb/complaints.exp: Disable if ![isnative].
18238 * gdb.gdb/selftest.exp: Likewise.
18239 * gdb.gdb/observer.exp: Likewise.
18240 * gdb.gdb/xfullpath.exp: Likewise.
18241 * gdb.base/attach.exp: Disable on SPU target.
18242 * gdb.cp/bs145503.exp: Likewise.
18243 * gdb.cp/exception.exp: Likewise.
18244 * gdb.cp/userdef.exp: Likewise.
18245
18246 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18247
18248 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18249
18250 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18251
18252 * gdb.base/completion.exp: Fix completion tests for
18253 'info' and 'info '.
18254 * gdb.base/help.exp (help_test_raw, test_class_help)
18255 (test_prefix_command_help): Move...
18256 * lib/gdb.exp: Here.
18257 * gdb.base/main.exp: Adjust.
18258 * gdb.cp/maint.exp: Adjust.
18259 * gdb.trace/tracecmd.exp: Use test_help_class.
18260
18261 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18262
18263 * gdb.stabs/weird.exp (print_weird_var): Use
18264 gdb_test_multiple instead of gdb_expect.
18265
18266 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18267
18268 * gdb.base/help.exp (help_test_raw): New.
18269 (test_class_help): New.
18270 (test_prefix_command_help): New.
18271 Adjust testcases.
18272
18273 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
18274
18275 * gdb.base/constvars.c (main): Write to crass and crips, so that
18276 they are allocated by the compiler.
18277
18278 2006-10-27 Andreas Schwab <schwab@suse.de>
18279
18280 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18281 "detach-fork".
18282
18283 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18284
18285 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18286 of patterns.
18287
18288 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18289
18290 * gdb.base/sepdebug.exp: Remove debug format test.
18291 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18292 Handle no-symtab.
18293 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18294
18295 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18296
18297 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18298 int to pointer or pointer to int.
18299 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18300
18301 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18302
18303 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18304
18305 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18306
18307 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18308
18309 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18310
18311 PR c++/2116
18312 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18313
18314 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18315
18316 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18317 the corresponding bug has been fixed in GDB (PR/2018).
18318
18319 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18320
18321 * gdb.base/subst.exp: New testcase.
18322
18323 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18324
18325 * gdb.ada/array_return/pck.ads: Add copyright notice.
18326 * gdb.ada/array_return/pck.adb: Likewise.
18327 * gdb.ada/array_return/p.adb: Likewise.
18328 * gdb.ada/exec_changed/first.adb: Likewise.
18329 * gdb.ada/exec_changed/second.adb: Likewise.
18330
18331 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18332
18333 * gdb.ada/watch_arg/watch.adb: New file.
18334 * gdb.ada/watch_arg.exp: New testcase.
18335
18336 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18337
18338 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
18339 via string_to_regexp.
18340 * gdb.mi/mi2-basics.exp: Likewise.
18341
18342 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
18343
18344 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18345 Remove unused / obsolete files.
18346
18347 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
18348
18349 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18350
18351 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18352
18353 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18354 HIGH_FRAME argument to -stack-list-arguments can be larger than
18355 the number of frames.
18356
18357 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18358
18359 * gdb.base/args.c (main): Add breakpoint marker.
18360 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18361 really test empty arguments.
18362 (args_load): Delete.
18363 (args_test): New.
18364
18365 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
18366
18367 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
18368 check for one file.
18369
18370 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18371
18372 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18373 HIGH_FRAME argument to -stack-list-locals can be larger than
18374 the number of frames.
18375
18376 2006-08-18 Fred Fish <fnf@specifix.com>
18377
18378 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18379 '$' in front of skip_vmx_tests_saved when setting that.
18380
18381 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18382
18383 * gdb.base/trace-commands.exp: New file.
18384
18385 2006-08-10 Joel Brobecker <brobecker@adacore.com>
18386 Daniel Jacobowitz <dan@codesourcery.com>
18387
18388 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18389 expected output of the backtrace commands.
18390
18391 2006-08-09 Joel Brobecker <brobecker@adacore.com>
18392
18393 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18394 untested followed by return combination.
18395 * gdb.arch/altivec-regs.exp: Likewise.
18396 * gdb.arch/e500-abi.exp: Likewise.
18397 * gdb.arch/e500-regs.exp: Likewise.
18398 * gdb.arch/gdb1291.exp: Likewise.
18399 * gdb.arch/gdb1431.exp: Likewise.
18400 * gdb.arch/gdb1558.exp: Likewise.
18401 * gdb.arch/i386-prologue.exp: Likewise.
18402 * gdb.arch/i386-unwind.exp: Likewise.
18403 * gdb.asm/asm-source.exp: Likewise.
18404 * gdb.base/a2-run.exp: Likewise.
18405 * gdb.base/advance.exp: Likewise.
18406 * gdb.base/all-bin.exp: Likewise.
18407 * gdb.base/annota1.exp: Likewise.
18408 * gdb.base/annota3.exp: Likewise.
18409 * gdb.base/args.exp: Likewise.
18410 * gdb.base/arithmet.exp: Likewise.
18411 * gdb.base/assign.exp: Likewise.
18412 * gdb.base/async.exp: Likewise.
18413 * gdb.base/attach.exp: Likewise.
18414 * gdb.base/bang.exp: Likewise.
18415 * gdb.base/bigcore.exp: Likewise.
18416 * gdb.base/bitfields.exp: Likewise.
18417 * gdb.base/bitfields2.exp: Likewise.
18418 * gdb.base/break.exp: Likewise.
18419 * gdb.base/call-sc.exp: Likewise.
18420 * gdb.base/call-strs.exp: Likewise.
18421 * gdb.base/callfuncs.exp: Likewise.
18422 * gdb.base/checkpoint.exp: Likewise.
18423 * gdb.base/chng-syms.exp: Likewise.
18424 * gdb.base/code-expr.exp: Likewise.
18425 * gdb.base/commands.exp: Likewise.
18426 * gdb.base/completion.exp: Likewise.
18427 * gdb.base/cond-expr.exp: Likewise.
18428 * gdb.base/condbreak.exp: Likewise.
18429 * gdb.base/consecutive.exp: Likewise.
18430 * gdb.base/constvars.exp: Likewise.
18431 * gdb.base/corefile.exp: Likewise.
18432 * gdb.base/cvexpr.exp: Likewise.
18433 * gdb.base/dbx.exp: Likewise.
18434 * gdb.base/define.exp: Likewise.
18435 * gdb.base/detach.exp: Likewise.
18436 * gdb.base/display.exp: Likewise.
18437 * gdb.base/dump.exp: Likewise.
18438 * gdb.base/ena-dis-br.exp: Likewise.
18439 * gdb.base/ending-run.exp: Likewise.
18440 * gdb.base/environ.exp: Likewise.
18441 * gdb.base/eval-skip.exp: Likewise.
18442 * gdb.base/exprs.exp: Likewise.
18443 * gdb.base/fileio.exp: Likewise.
18444 * gdb.base/finish.exp: Likewise.
18445 * gdb.base/float.exp: Likewise.
18446 * gdb.base/foll-exec.exp: Likewise.
18447 * gdb.base/foll-fork.exp: Likewise.
18448 * gdb.base/foll-vfork.exp: Likewise.
18449 * gdb.base/freebpcmd.exp: Likewise.
18450 * gdb.base/funcargs.exp: Likewise.
18451 * gdb.base/gcore.exp: Likewise.
18452 * gdb.base/gdb1090.exp: Likewise.
18453 * gdb.base/gdb1250.exp: Likewise.
18454 * gdb.base/huge.exp: Likewise.
18455 * gdb.base/info-proc.exp: Likewise.
18456 * gdb.base/interrupt.exp: Likewise.
18457 * gdb.base/jump.exp: Likewise.
18458 * gdb.base/langs.exp: Likewise.
18459 * gdb.base/lineinc.exp: Likewise.
18460 * gdb.base/list.exp: Likewise.
18461 * gdb.base/logical.exp: Likewise.
18462 * gdb.base/long_long.exp: Likewise.
18463 * gdb.base/macscp.exp: Likewise.
18464 * gdb.base/maint.exp: Likewise.
18465 * gdb.base/mips_pro.exp: Likewise.
18466 * gdb.base/miscexprs.exp: Likewise.
18467 * gdb.base/multi-forks.exp: Likewise.
18468 * gdb.base/opaque.exp: Likewise.
18469 * gdb.base/overlays.exp: Likewise.
18470 * gdb.base/pc-fp.exp: Likewise.
18471 * gdb.base/pointers.exp: Likewise.
18472 * gdb.base/printcmds.exp: Likewise.
18473 * gdb.base/psymtab.exp: Likewise.
18474 * gdb.base/ptype.exp: Likewise.
18475 * gdb.base/recurse.exp: Likewise.
18476 * gdb.base/relational.exp: Likewise.
18477 * gdb.base/relocate.exp: Likewise.
18478 * gdb.base/remote.exp: Likewise.
18479 * gdb.base/reread.exp: Likewise.
18480 * gdb.base/restore.exp: Likewise.
18481 * gdb.base/return.exp: Likewise.
18482 * gdb.base/return2.exp: Likewise.
18483 * gdb.base/scope.exp: Likewise.
18484 * gdb.base/sect-cmd.exp: Likewise.
18485 * gdb.base/sep.exp: Likewise.
18486 * gdb.base/sepdebug.exp: Likewise.
18487 * gdb.base/setshow.exp: Likewise.
18488 * gdb.base/setvar.exp: Likewise.
18489 * gdb.base/sigall.exp: Likewise.
18490 * gdb.base/sigbpt.exp: Likewise.
18491 * gdb.base/signals.exp: Likewise.
18492 * gdb.base/signull.exp: Likewise.
18493 * gdb.base/sizeof.exp: Likewise.
18494 * gdb.base/solib.exp: Likewise.
18495 * gdb.base/step-line.exp: Likewise.
18496 * gdb.base/step-test.exp: Likewise.
18497 * gdb.base/structs.exp: Likewise.
18498 * gdb.base/structs2.exp: Likewise.
18499 * gdb.base/term.exp: Likewise.
18500 * gdb.base/twice.exp: Likewise.
18501 * gdb.base/until.exp: Likewise.
18502 * gdb.base/varargs.exp: Likewise.
18503 * gdb.base/volatile.exp: Likewise.
18504 * gdb.base/watchpoint.exp: Likewise.
18505 * gdb.base/whatis-exp.exp: Likewise.
18506 * gdb.base/whatis.exp: Likewise.
18507 * gdb.cp/ambiguous.exp: Likewise.
18508 * gdb.cp/annota2.exp: Likewise.
18509 * gdb.cp/annota3.exp: Likewise.
18510 * gdb.cp/bool.exp: Likewise.
18511 * gdb.cp/breakpoint.exp: Likewise.
18512 * gdb.cp/casts.exp: Likewise.
18513 * gdb.cp/class2.exp: Likewise.
18514 * gdb.cp/classes.exp: Likewise.
18515 * gdb.cp/cplusfuncs.exp: Likewise.
18516 * gdb.cp/ctti.exp: Likewise.
18517 * gdb.cp/derivation.exp: Likewise.
18518 * gdb.cp/exception.exp: Likewise.
18519 * gdb.cp/gdb1355.exp: Likewise.
18520 * gdb.cp/hang.exp: Likewise.
18521 * gdb.cp/inherit.exp: Likewise.
18522 * gdb.cp/local.exp: Likewise.
18523 * gdb.cp/m-data.exp: Likewise.
18524 * gdb.cp/m-static.exp: Likewise.
18525 * gdb.cp/member-ptr.exp: Likewise.
18526 * gdb.cp/method.exp: Likewise.
18527 * gdb.cp/misc.exp: Likewise.
18528 * gdb.cp/namespace.exp: Likewise.
18529 * gdb.cp/overload.exp: Likewise.
18530 * gdb.cp/ovldbreak.exp: Likewise.
18531 * gdb.cp/pr-1023.exp: Likewise.
18532 * gdb.cp/pr-1210.exp: Likewise.
18533 * gdb.cp/pr-574.exp: Likewise.
18534 * gdb.cp/printmethod.exp: Likewise.
18535 * gdb.cp/psmang.exp: Likewise.
18536 * gdb.cp/ref-params.exp: Likewise.
18537 * gdb.cp/ref-types.exp: Likewise.
18538 * gdb.cp/rtti.exp: Likewise.
18539 * gdb.cp/templates.exp: Likewise.
18540 * gdb.cp/try_catch.exp: Likewise.
18541 * gdb.cp/userdef.exp: Likewise.
18542 * gdb.cp/virtfunc.exp: Likewise.
18543 * gdb.disasm/am33.exp: Likewise.
18544 * gdb.disasm/h8300s.exp: Likewise.
18545 * gdb.disasm/mn10300.exp: Likewise.
18546 * gdb.disasm/sh3.exp: Likewise.
18547 * gdb.disasm/t01_mov.exp: Likewise.
18548 * gdb.disasm/t02_mova.exp: Likewise.
18549 * gdb.disasm/t03_add.exp: Likewise.
18550 * gdb.disasm/t04_sub.exp: Likewise.
18551 * gdb.disasm/t05_cmp.exp: Likewise.
18552 * gdb.disasm/t06_ari2.exp: Likewise.
18553 * gdb.disasm/t07_ari3.exp: Likewise.
18554 * gdb.disasm/t08_or.exp: Likewise.
18555 * gdb.disasm/t09_xor.exp: Likewise.
18556 * gdb.disasm/t10_and.exp: Likewise.
18557 * gdb.disasm/t11_logs.exp: Likewise.
18558 * gdb.disasm/t12_bit.exp: Likewise.
18559 * gdb.disasm/t13_otr.exp: Likewise.
18560 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18561 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18562 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18563 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18564 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18565 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18566 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18567 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18568 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18569 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18570 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18571 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18572 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18573 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18574 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18575 * gdb.mi/gdb701.exp: Likewise.
18576 * gdb.mi/gdb792.exp: Likewise.
18577 * gdb.mi/mi-basics.exp: Likewise.
18578 * gdb.mi/mi-break.exp: Likewise.
18579 * gdb.mi/mi-cli.exp: Likewise.
18580 * gdb.mi/mi-console.exp: Likewise.
18581 * gdb.mi/mi-disassemble.exp: Likewise.
18582 * gdb.mi/mi-eval.exp: Likewise.
18583 * gdb.mi/mi-file.exp: Likewise.
18584 * gdb.mi/mi-read-memory.exp: Likewise.
18585 * gdb.mi/mi-regs.exp: Likewise.
18586 * gdb.mi/mi-return.exp: Likewise.
18587 * gdb.mi/mi-simplerun.exp: Likewise.
18588 * gdb.mi/mi-stack.exp: Likewise.
18589 * gdb.mi/mi-stepi.exp: Likewise.
18590 * gdb.mi/mi-syn-frame.exp: Likewise.
18591 * gdb.mi/mi-until.exp: Likewise.
18592 * gdb.mi/mi-var-block.exp: Likewise.
18593 * gdb.mi/mi-var-child.exp: Likewise.
18594 * gdb.mi/mi-var-cmd.exp: Likewise.
18595 * gdb.mi/mi-var-display.exp: Likewise.
18596 * gdb.mi/mi-watch.exp: Likewise.
18597 * gdb.mi/mi2-basics.exp: Likewise.
18598 * gdb.mi/mi2-break.exp: Likewise.
18599 * gdb.mi/mi2-cli.exp: Likewise.
18600 * gdb.mi/mi2-console.exp: Likewise.
18601 * gdb.mi/mi2-disassemble.exp: Likewise.
18602 * gdb.mi/mi2-eval.exp: Likewise.
18603 * gdb.mi/mi2-file.exp: Likewise.
18604 * gdb.mi/mi2-read-memory.exp: Likewise.
18605 * gdb.mi/mi2-regs.exp: Likewise.
18606 * gdb.mi/mi2-return.exp: Likewise.
18607 * gdb.mi/mi2-simplerun.exp: Likewise.
18608 * gdb.mi/mi2-stack.exp: Likewise.
18609 * gdb.mi/mi2-stepi.exp: Likewise.
18610 * gdb.mi/mi2-syn-frame.exp: Likewise.
18611 * gdb.mi/mi2-until.exp: Likewise.
18612 * gdb.mi/mi2-var-block.exp: Likewise.
18613 * gdb.mi/mi2-var-child.exp: Likewise.
18614 * gdb.mi/mi2-var-cmd.exp: Likewise.
18615 * gdb.mi/mi2-var-display.exp: Likewise.
18616 * gdb.mi/mi2-watch.exp: Likewise.
18617 * gdb.stabs/exclfwd.exp: Likewise.
18618 * gdb.stabs/weird.exp: Likewise.
18619 * gdb.threads/gcore-thread.exp: Likewise.
18620 * gdb.trace/actions.exp: Likewise.
18621 * gdb.trace/backtrace.exp: Likewise.
18622 * gdb.trace/circ.exp: Likewise.
18623 * gdb.trace/collection.exp: Likewise.
18624 * gdb.trace/deltrace.exp: Likewise.
18625 * gdb.trace/infotrace.exp: Likewise.
18626 * gdb.trace/limits.exp: Likewise.
18627 * gdb.trace/packetlen.exp: Likewise.
18628 * gdb.trace/passc-dyn.exp: Likewise.
18629 * gdb.trace/passcount.exp: Likewise.
18630 * gdb.trace/report.exp: Likewise.
18631 * gdb.trace/save-trace.exp: Likewise.
18632 * gdb.trace/tfind.exp: Likewise.
18633 * gdb.trace/tracecmd.exp: Likewise.
18634 * gdb.trace/while-dyn.exp: Likewise.
18635 * gdb.trace/while-stepping.exp: Likewise.
18636
18637 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18638
18639 * gdb.base/step-bt.c: New file.
18640 * gdb.base/step-bt.exp: New testcase.
18641
18642 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18643
18644 * config/monitor.exp (gdb_load): Remove support for obsolete
18645 download-write-size.
18646 * gdb.base/remote.exp: Likewise. Update all callers of
18647 gdb_timed_load.
18648
18649 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18650
18651 * cursal.exp: Pass binfile to gdb_load.
18652
18653 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18654
18655 * gdb.base/cursal.exp: Add "" to gdb_load call.
18656
18657 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18658
18659 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18660 NetBSD/ELF targets.
18661
18662 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18663
18664 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18665 operator*.
18666
18667 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18668
18669 * gdb.base/completion.exp: Update for change in "file" behavior.
18670 * gdb.stabs/weird.exp: Likewise.
18671 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18672 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18673
18674 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18675
18676 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18677 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18678
18679 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18680
18681 * gdb.base/default.exp: Update source command error message.
18682 * gdb.base/help.exp: Update 'help source' message.
18683
18684 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18685
18686 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18687 test.
18688
18689 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18690
18691 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18692
18693 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18694
18695 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18696
18697 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18698
18699 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18700
18701 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18702
18703 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18704 *-*-openbsd* from targets for wich we expect ARM FPA floating
18705 point format.
18706
18707 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18708
18709 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18710
18711 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18712
18713 * gdb.base/annota3.exp: Expect frame-begin annotation.
18714
18715 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18716
18717 * gdb.base/help.exp: Adjust "help unset" test to accept
18718 any list of unset commands.
18719
18720 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18721 Daniel Jacobowitz <dan@codesourcery.com>
18722
18723 * gdb.cp/ref-params.exp: New test.
18724 * gdb.cp/ref-params.cc: New source file.
18725 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18726
18727 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18728
18729 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18730 spaces/tabs in regular expressions since they might not be there.
18731
18732 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18733
18734 * gdb.base/ifelse.exp: New file.
18735
18736 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18737
18738 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18739 line.
18740 * gdb.base/huge.exp: Loop over compilation to find a size that
18741 is acceptable.
18742 * gdb.base/remote.exp: Correct expected strings.
18743 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18744
18745 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18746
18747 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18748
18749 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18750
18751 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18752 native.
18753
18754 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18755
18756 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18757 enable stabs testing.
18758
18759 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18760
18761 * gdb.base/auxv.exp: Intercept undefined command messages before
18762 gdb_test_multiple does.
18763
18764 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18765
18766 * Makefile.in (host_alias): Remove.
18767 (target_alias): Use @target_noncanonical@.
18768 (site.exp): Don't set host_alias.
18769 * aclocal.m4: Remove contents. Include acx.m4.
18770 * configure: Regenerated.
18771 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18772
18773 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18774
18775 * lib/gdb.exp (gdb_load_cmd): New.
18776
18777 * gdb.base/fileio.c: Add system(NULL) test.
18778 * gdb.base/fileio.exp: Check it.
18779
18780 * gdb.base/break.c: Add 10a breakpoint at }
18781 * gdb.base/break.exp: Add test for breakpoint at }
18782 * gdb.cp/anon-union.cc: Add code at end of function.
18783 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18784 * gdb.mi/var-cmd.c: Add code at end of function.
18785 * gdb.mi/mi-var-display.exp: Adjust end of next.
18786 * gdb.mi/mi2-var-display.exp: Likewise.
18787 * gdb.base/fileio.c: Add stop function and insert calls at
18788 stopping places.
18789 * gdb.base/fileio.exp: Breakpoint stop function and remove
18790 explicit line number references.
18791
18792 2006-05-19 Joel Brobecker <brobecker@adacore.com>
18793
18794 * gdb.base/del.exp (test_delete_alias): New function.
18795 Now check that both "del" and "d" work as aliases for "delete".
18796
18797 2006-05-18 Fred Fish <fnf@specifix.com>
18798
18799 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18800 required. Check for spurious output after program exits normally.
18801
18802 2006-05-17 Fred Fish <fnf@specifix.com>
18803
18804 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18805 gdb_load, so it works in the simulator.
18806
18807 2006-05-11 Fred Fish <fnf@specifix.com>
18808
18809 * gdb.base/bang.exp: Ignore unexpected output between the
18810 "program exited normally" and the gdb prompt, as many other
18811 tests do.
18812
18813 2006-05-07 Mark Kettenis <kettenis@gnu.org>
18814
18815 * gdb.base/help.exp: Make "delete checkpoint" part option for
18816 "help d" and "help delete" tests.
18817
18818 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18819
18820 * gdb.mi/mi-basics.exp: Add missing serial number to
18821 expected output in some mi_gdb_test statements.
18822 * gdb.mi/mi2-basics.exp: Likewise.
18823
18824 2006-05-05 Joel Brobecker <brobecker@adacore.com>
18825
18826 * gdb.base/del.c: New file.
18827 * gdb.base/del.exp: New testcase.
18828
18829 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
18830
18831 * gdb.base/break.exp: Do not assume a breakpoint on
18832 main will actually be in $srcfile when optimizing.
18833 * gdb.base/savedregs.exp: Do not require that the dummy
18834 frame location match up to a symbol and source file location.
18835 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18836 will get printed without a mi_cmd_data_list_register_values prefix.
18837 (*-data-list-register-*): Correct regular expressions to expect the new
18838 pseudo d? floating point registers.
18839 * gdb.mi/mi2-regs.exp: Likewise.
18840
18841 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
18842
18843 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18844 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18845 is allocated by the compiler.
18846 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18847 anons, e, anone to force their allocation by the compiler.
18848
18849 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
18850
18851 * gdb.base/help.exp: Update expected text for help d and
18852 help delete.
18853
18854 2006-05-02 Mark Kettenis <kettenis@gnu.org>
18855
18856 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18857 NetBSD/ELF targets.
18858
18859 2006-04-30 Mark Kettenis <kettenis@gnu.org>
18860
18861 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18862 single-step breakpoint fails; make this a KFAIL on
18863 sparc*-*-openbsd*.
18864 * gdb.base/siginfo.exp: Likewise.
18865 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18866
18867 2006-04-26 Michael Snyder <msnyder@redhat.com>
18868
18869 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18870 which may have to consume output from other forks.
18871 Add tests to make sure that "delete fork" succeeded.
18872
18873 2006-04-20 Michael Snyder <msnyder@redhat.com>
18874
18875 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18876 Add support for the Renesas M32C and M16C.
18877
18878 * gdb.asm/asm-source.exp: Add m32c target.
18879 * gdb.asm/m32c.inc: Support for m32c target.
18880
18881 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18882
18883 * gdb.base/commands.exp (recursive_source_test): New test.
18884
18885 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
18886
18887 * gdb.base/float.exp: Add pattern for sparc targets.
18888
18889 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18890
18891 * gdb.base/commands.exp (stray_arg0_test): New test.
18892
18893 2006-03-30 Paul Brook <paul@codesourcery.com>
18894
18895 * gdb.mi/mi-until.exp: kfail broken until command.
18896 * gdb.mi/mi2-until.exp: Ditto.
18897
18898 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
18899
18900 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18901
18902 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
18903
18904 * gdb.base/prelink.exp: Anchor tested-for regular expression
18905 on gdb prompt.
18906
18907 2006-03-07 Paul Brook <paul@codesourcery.com>
18908
18909 * gdb.base/assign.exp: Correct fail message.
18910
18911 2006-03-07 Paul Brook <paul@codesourcery.com>
18912
18913 * lib/compiler.c: Extract armcc version number.
18914 * lib/compiler.cc: Ditto.
18915
18916 2006-03-07 Paul Brook <paul@codesourcery.com>
18917
18918 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18919 additional_flags=-w.
18920 * gdb.arch/altivec-regs.exp: Ditto.
18921 * gdb.arch/e500-abi.exp: Ditto.
18922 * gdb.arch/e500-regs.exp: Ditto.
18923 * gdb.base/all-bin.exp: Ditto.
18924 * gdb.base/annota1.exp: Ditto.
18925 * gdb.base/annota3.exp: Ditto.
18926 * gdb.base/args.exp: Ditto.
18927 * gdb.base/arithmet.exp: Ditto.
18928 * gdb.base/assign.exp: Ditto.
18929 * gdb.base/async.exp: Ditto.
18930 * gdb.base/bang.exp: Ditto.
18931 * gdb.base/break.exp: Ditto.
18932 * gdb.base/call-rt-st.exp: Ditto.
18933 * gdb.base/completion.exp: Ditto.
18934 * gdb.base/cond-expr.exp: Ditto.
18935 * gdb.base/condbreak.exp: Ditto.
18936 * gdb.base/consecutive.exp: Ditto.
18937 * gdb.base/define.exp: Ditto.
18938 * gdb.base/display.exp: Ditto.
18939 * gdb.base/ena-dis-br.exp: Ditto.
18940 * gdb.base/environ.exp: Ditto.
18941 * gdb.base/eval-skip.exp: Ditto.
18942 * gdb.base/info-proc.exp: Ditto.
18943 * gdb.base/jump.exp: Ditto.
18944 * gdb.base/logical.exp: Ditto.
18945 * gdb.base/long_long.exp: Ditto.
18946 * gdb.base/maint.exp: Ditto.
18947 * gdb.base/miscexprs.exp: Ditto.
18948 * gdb.base/pc-fp.exp: Ditto.
18949 * gdb.base/pointers.exp: Ditto.
18950 * gdb.base/relational.exp: Ditto.
18951 * gdb.base/reread.exp: Ditto.
18952 * gdb.base/sect-cmd.exp: Ditto.
18953 * gdb.base/sep.exp: Ditto.
18954 * gdb.base/sepdebug.exp: Ditto.
18955 * gdb.base/until.exp: Ditto.
18956 * gdb.base/whatis-exp.exp: Ditto.
18957 * gdb.cp/annota2.exp: Ditto.
18958 * gdb.cp/annota3.exp: Ditto.
18959 * gdb.trace/actions.exp: Ditto.
18960 * gdb.trace/backtrace.exp: Ditto.
18961 * gdb.trace/circ.exp: Ditto.
18962 * gdb.trace/collection.exp: Ditto.
18963 * gdb.trace/deltrace.exp: Ditto.
18964 * gdb.trace/infotrace.exp: Ditto.
18965 * gdb.trace/limits.exp: Ditto.
18966 * gdb.trace/packetlen.exp: Ditto.
18967 * gdb.trace/passc-dyn.exp: Ditto.
18968 * gdb.trace/passcount.exp: Ditto.
18969 * gdb.trace/report.exp: Ditto.
18970 * gdb.trace/save-trace.exp: Ditto.
18971 * gdb.trace/tfind.exp: Ditto.
18972 * gdb.trace/tracecmd.exp: Ditto.
18973 * gdb.trace/while-dyn.exp: Ditto.
18974 * gdb.trace/while-stepping.exp: Ditto.
18975 * lib/gdb.exp: Ditto.
18976 (gdb_compile): Handle nowarning option.
18977
18978 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
18979
18980 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18981 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18982 Rename executable to prelinkt. Don't re-prelink if we didn't
18983 get a core file. Test prelink -u exit status to tell whether
18984 prelinking failed. Use gdb_test_multiple.
18985
18986 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18987
18988 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18989 (do_tests): Call it.
18990
18991 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
18992
18993 * gdb.base/prelink.exp: New test.
18994 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18995
18996 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18997
18998 * gdb.fortran/derived-type.f90: New file.
18999 * gdb.fortran/derived-type.exp: New testcase.
19000
19001 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19002
19003 * gdb.base/default.exp: Allow ';' as a directory separator.
19004
19005 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19006
19007 * gdb.base/help.exp (help add-symbol-file): Update.
19008
19009 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19010
19011 * gdb.base/help.exp (help load): Update expected results.
19012
19013 2006-02-19 Fred Fish <fnf@specifix.com>
19014
19015 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19016 specifix hex value as part of results.
19017 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
19018
19019 2006-02-16 Fred Fish <fnf@specifix.com>
19020
19021 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19022 ushort_addr, and slong_addr, so the typedefs are not optimized
19023 away.
19024 * gdb.base/whatis.exp: Add tests using type name for struct type,
19025 union type, enum type, and typedef.
19026
19027 2006-02-13 Mark Kettenis <kettenis@gnu.org>
19028
19029 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19030
19031 2006-02-13 Jim Blandy <jimb@redhat.com>
19032
19033 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19034 case where it takes two "next" commands to skip past the init
19035 call.
19036
19037 2006-02-12 Fred Fish <fnf@specifix.com>
19038
19039 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19040 to handle cases where it takes two "next" commands to skip
19041 past the init call.
19042
19043 2006-02-07 Joel Brobecker <brobecker@adacore.com>
19044
19045 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19046 on hppa32 targets.
19047
19048 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
19049
19050 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19051 field.
19052
19053 2006-01-29 Mark Kettenis <kettenis@gnu.org>
19054
19055 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19056
19057 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19058
19059 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19060 files.
19061
19062 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19063
19064 * gdb.cp/maint.exp: Set complaints to a positive value.
19065
19066 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19067
19068 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19069 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19070 function name.
19071
19072 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19073
19074 * gdb.base/checkpoint.c: Update copyright notice. Include
19075 <stdlib.h>.
19076
19077 2006-01-04 Jim Blandy <jimb@redhat.com>
19078
19079 * gdb.asm/asm-source.exp: Independently provide default values for
19080 asm-flags and debug-flags. Use 'string equal' to do the
19081 comparison, not the implicit expr's '==' operator. Remove
19082 now-unneeded assignments to asm-flags. In h8300 case, place
19083 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19084
19085 2006-01-04 Michael Snyder <msnyder@redhat.com>
19086
19087 * gdb.base/checkpoint.c: New file.
19088 * gdb.base/checkpoint.exp: New file.
19089 * gdb.base/multi-fork.c: New file.
19090 * gdb.base/multi-fork.exp: New file.
19091 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19092
19093 2006-01-04 Fred Fish <fnf@specifix.com>
19094
19095 * gdb.base/ptype.c (foo): Add typedef.
19096 (intfoo): Add function.
19097 * gdb.base/ptype1.c: New file.
19098 * gdb.base/ptype.exp: Handle compilation and linking with two
19099 source files. Test that proper type for "foo" is found based
19100 on source context rather than first match found in symtabs.
19101
19102 2005-12-28 Mark Kettenis <kettenis@gnu.org>
19103
19104 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19105 * gdb.asm/openbsd.inc: Indent commands.
19106
19107 2005-12-26 Mark Kettenis <kettenis@gnu.org>
19108
19109 * gdb.base/freebpcmd.exp: Increase timeout.
19110
19111 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19112
19113 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19114
19115 * gdb.base/default.exp: Update check for "show version".
19116
19117 2005-12-09 Randolph Chung <tausq@debian.org>
19118
19119 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19120 * gdb.asm/pa64.inc: New file.
19121
19122 2005-12-09 Randolph Chung <tausq@debian.org>
19123
19124 * gdb.asm/common.inc: Indent commands.
19125 * gdb.asm/asmsrc1.s: Likewise.
19126 * gdb.asm/asmsrc2.s: Likewise.
19127
19128 2005-12-09 Randolph Chung <tausq@debian.org>
19129
19130 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19131 (get_addr_of_sym): Remove duplicate print.
19132 (gen_core): xfail hppa*-*-hpux*, update expected output.
19133 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19134 * gdb.arch/pa64-nullify.s: New file.
19135
19136 2005-12-09 Randolph Chung <tausq@debian.org>
19137
19138 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19139
19140 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
19141
19142 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19143 code generation for these functions.
19144 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19145 error message.
19146
19147 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19148
19149 * gdb.base/help.exp (help b, help br, help bre, help brea)
19150 (help break): Update the expected message.
19151
19152 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19153
19154 * gdb.asm/m68hc11.inc: Setup the data section.
19155 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19156 script for this test.
19157 (m6812-*-*): Likewise.
19158
19159 2005-11-09 Randolph Chung <tausq@debian.org>
19160
19161 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19162
19163 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19164
19165 * gdb.base/break.exp: Fix a comment typo.
19166
19167 2005-11-03 Jim Blandy <jimb@redhat.com>
19168
19169 Checked in by Elena Zannoni <ezannoni@redhat.com>
19170
19171 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
19172
19173 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
19174
19175 * gdb.arch/gdb1558.c: Include stdio.h.
19176
19177 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19178
19179 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19180
19181 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19182
19183 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19184
19185 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19186
19187 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19188 vscr" tests to better match output.
19189
19190 2005-10-12 Jim Blandy <jimb@redhat.com>
19191
19192 * gdb.base/structs.exp (any): New function.
19193 (test_struct_returns): Don't make any assumptions at all about
19194 what value the function returns when GDB can't set the return
19195 value.
19196
19197 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19198
19199 * gdb.ada/arrayidx/p.adb: New file.
19200 * gdb.ada/arrayidx.exp: New testcase
19201
19202 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19203
19204 * gdb.ada/array_return/pck.ads: New file.
19205 * gdb.ada/array_return/pck.adb: New file.
19206 * gdb.ada/array_return/p.adb: New file.
19207 * gdb.ada/array_return.exp: New testcase.
19208
19209 2005-10-03 Joel Brobecker <brobecker@adacore.com>
19210
19211 * gdb.base/arrayidx.c: New file.
19212 * gdb.base/arrayidx.exp: New testcase.
19213
19214 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
19215
19216 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19217 frames-invalid and breakpoints-invalid are no longer generated
19218 with level 3 so don't expect them in the output.
19219
19220 2005-09-27 Bob Rossi <bob@brasko.net>
19221
19222 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
19223 from test. Escape the | in mi_gdb_test call.
19224 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19225 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19226 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19227 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19228 expected regex's in mi_gdb_test calls.
19229 * lib/mi-support.exp: Remove arbitrary .* from tests.
19230 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19231 Fully anchor GDB/MI expected results in mi_gdb_test.
19232 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19233 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19234
19235 2005-09-26 Paul Brook <paul@codesourcery.com>
19236
19237 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19238
19239 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19240
19241 * bfp-test.c: New file.
19242 * bfp-test.exp: New testcase.
19243
19244 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19245
19246 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19247 of subarray and substring variable.
19248 * gdb.fortran/subarray.f: New source file for the test of subarray
19249 and substring variable evaluation.
19250 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19251 of string constant.
19252
19253 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19254
19255 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19256 copyright dates.
19257
19258 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19259
19260 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19261 powerpc altivec' test with an almost identical 'info vector' test.
19262
19263 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19264
19265 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19266 vscr" tests to match output.
19267
19268 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19269
19270 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19271 output.
19272
19273 2005-09-11 Bob Rossi <bob@brasko.net>
19274
19275 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19276 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19277 commands that return an MI output command and an asyncronous MI output
19278 command.
19279 * gdb.mi/mi-console.exp: Ditto.
19280
19281 2005-09-11 Bob Rossi <bob@brasko.net>
19282
19283 * gdb.mi/mi-var-child.c: Include <string.h>.
19284
19285 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19286
19287 * killed.exp: Correct gdb_expect syntax.
19288
19289 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
19290
19291 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19292
19293 2005-08-02 Bob Rossi <bob@brasko.net>
19294
19295 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19296 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19297 Change tests to inferior-tty-set/show.
19298 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19299 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19300 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19301 inferior. Use mi_gdb_test to get GDB and Inferior output.
19302 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19303 descriptor.
19304 (mi_inferior_tty_name): Add inferior PTY file name.
19305 (mi_gdb_start): Add INFERIOR_PTY parameter.
19306 (mi_gdb_test): Add IPATTERN parameter.
19307
19308 2005-08-02 Bob Rossi <bob@brasko.net>
19309
19310 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19311 parameter to mi_gdb_test.
19312 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19313
19314 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19315
19316 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19317 struct_declarations.
19318 * gdb.mi/mi-var-child.exp: Step over the initialization of
19319 struct_declarations.
19320
19321 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19322
19323 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19324 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19325 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19326 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19327 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19328 file.
19329
19330 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
19331
19332 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19333 (do_children_tests): Assign values to the extra elements.
19334
19335 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19336 them for tests for "-var-update --no-values" and
19337 "-var-update --all-values".
19338 Add test for "-var-list-children --simple-values".
19339
19340 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19341
19342 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19343 "-stack-list-locals --simple-values" Improve doc strings and
19344 comments.
19345
19346 2005-07-18 Mark Kettenis <kettenis@gnu.org>
19347
19348 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19349 *-*-openbsd*.
19350 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19351
19352 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19353 sigaltsatck'.
19354
19355 2005-07-14 Bob Rossi <bob@brasko.net>
19356
19357 * gdb.base/default.exp (tty): Changed output of command.
19358 * gdb.base/help.exp (help tty): Ditto.
19359
19360 2005-07-12 Mark Kettenis <kettenis@gnu.org>
19361
19362 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19363
19364 2005-07-10 Mark Kettenis <kettenis@gnu.org>
19365
19366 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19367 -stack-select-frame without arguments.
19368 (test_stack_frame_listing): Add test for newly implemented command
19369 -stack-info-frame.
19370
19371 2005-07-06 Bob Rossi <bob@brasko.net>
19372
19373 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19374 command.
19375 (Copyright): Update copyright.
19376
19377 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19378
19379 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19380 tests to evaluate exponentiation expression.
19381
19382 2005-06-29 Andreas Schwab <schwab@suse.de>
19383
19384 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19385 main to avoid warnings.
19386
19387 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19388
19389 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
19390
19391 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19392 -stack-select-frame without arguments.
19393 (test_stack_frame_listing): Add test for newly implemented command
19394 -stack-info-frame.
19395
19396 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19397
19398 * gdb.fortran/array-element.f: New file.
19399 * gdb.fortran/array-element.exp: New testcase.
19400
19401 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19402
19403 * gdb.base/bigcore.exp: Correct checks for systems which can
19404 not dump a large core file.
19405
19406 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19407
19408 * gdb.base/relocate.c: Add a copyright notice.
19409 (dummy): Remove.
19410 * gdb.base/relocate.exp: Test printing the values of variables
19411 from a relocatable file.
19412
19413 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19414
19415 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19416 excess MI output after an error.
19417
19418 2005-05-29 Joel Brobecker <brobecker@adacore.com>
19419
19420 * gdb.arch/alpha-step.c: New file.
19421 * gdb.arch/alpha-step.exp: New testcase.
19422
19423 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19424 Dennis Brueni <dennis@slickedit.com>
19425
19426 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19427 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19428 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19429 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19430 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19431 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19432 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19433
19434 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19435 Wu Zhou <woodzltc@cn.ibm.com>
19436
19437 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19438 IBM's xlc compiler.
19439 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19440 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19441
19442 2005-05-13 Jim Blandy <jimb@redhat.com>
19443
19444 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19445 calling gdb_suppress_entire_file.
19446 * gdb.base/charset.exp: Same.
19447 * gdb.base/call-rt-st.exp: Same.
19448
19449 2005-05-05 Bob Rossi <bob_rossi@cox.net>
19450
19451 * lib/gdb.exp (fullname_syntax): Added global regex.
19452 (fullname_syntax_POSIX): Ditto.
19453 (fullname_syntax_UNC): Ditto.
19454 (fullname_syntax_DOS_CASE): Ditto.
19455 (fullname_syntax_DOS): Ditto.
19456 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19457 fullname_syntax variable to scope and use it.
19458 (test_file_list_exec_source_files): Ditto.
19459 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19460
19461 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19462
19463 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19464
19465 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19466
19467 * lib/gdb.exp (skip_altivec_tests): New function, based on
19468 check_vmx_hw_available from the GCC testsuite.
19469 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19470 * lib/gdb.arch/altivec-regs.exp: Likewise.
19471
19472 2005-05-02 Jim Blandy <jimb@redhat.com>
19473
19474 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19475 calling gdb_suppress_entire_file.
19476
19477 2005-04-30 Randolph Chung <tausq@debian.org>
19478
19479 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19480 Slightly relax "sem_post" name checking.
19481
19482 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19483
19484 * gdb.base/unload.exp: Use new shared library infrastructure.
19485
19486 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19487
19488 * gdb.base/so-impl-ld.exp: Use new shared library
19489 infrastructure.
19490
19491 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19492
19493 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19494 * gdb.asm/h8300.inc: New file.
19495
19496 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19497
19498 * gdb.base/shlib-call.exp: Change to use new shared library
19499 infrastructure.
19500
19501 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19502
19503 * gdb.base/pending.exp: Change to use new shared library
19504 infrastructure.
19505
19506 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19507
19508 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19509 use test_compiler_info instead of gcc_compiled, and update copyright.
19510
19511 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19512
19513 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19514 shared objects being adjusted and update copyright years.
19515
19516 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19517
19518 * ChangeLog: Correct some 2003-01-13 dates.
19519 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19520 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19521 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19522 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19523 gdb.trace/tfind.exp: Update copyright years.
19524
19525 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19526 Daniel Jacobowitz <dan@codesourcery.com>
19527
19528 * lib/gdb.exp (gdb_compile): Handle shlib=.
19529 (gdb_compile_shlib): New function.
19530
19531 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19532
19533 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19534
19535 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19536
19537 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19538 gdb.server.
19539 * configure.ac: Likewise.
19540 * configure: Regenerated.
19541 * gdb.gdbserver/Makefile.in: Moved to...
19542 * gdb.server/Makefile.in: ... here.
19543 * gdb.gdbserver/server.c: Moved to...
19544 * gdb.server/server.c: ... here.
19545 * gdb.gdbserver/server-run.exp: Moved to...
19546 * gdb.server/server-run.exp: ... here.
19547
19548 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19549
19550 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19551 * configure.ac: Create gdb.gdbserver/Makefile.
19552 * configure: Regenerated.
19553 * lib/gdbserver-support.exp: New file, derived from
19554 config/gdbserver.exp.
19555 * config/gdbserver.exp: Use gdbserver-support.exp.
19556 * gdb.gdbserver/Makefile.in: New file.
19557 * gdb.gdbserver/server.c: New file.
19558 * gdb.gdbserver/server-run.exp: New file.
19559
19560 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19561
19562 * lib/gdb.exp (test_compiler_info): Return compiler_info
19563 if no arguments are given.
19564
19565 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19566
19567 * gdb.arch/altivec-abi.exp: Check for compiler and set
19568 use altivec' flag accordingly.
19569 * gdb.arch/altivec-regs.exp: Likewise.
19570
19571 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19572
19573 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19574
19575 2005-03-27 Andreas Schwab <schwab@suse.de>
19576
19577 * gdb.base/bigcore.c (main): Add missing mode argument in open
19578 call.
19579
19580 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19581
19582 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19583 downloads.
19584 * config/gdbserver.exp (gdb_load): Likewise.
19585
19586 2005-03-14 Paul Brook <paul@codesourcery.com>
19587
19588 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19589 targets.
19590
19591 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19592
19593 * gdb.dwarf2/dup-psym.S: New file.
19594 * gdb.dwarf2/dup-psym.exp: New testcase.
19595
19596 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19597
19598 * gdb.ada/exec_changed/first.adb: New file.
19599 * gdb.ada/exec_changed/second.adb: New file.
19600 * gdb.ada/exec_changed.exp: New testcase.
19601
19602 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19603
19604 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19605 (A2): New class.
19606 (main): Test operator+.
19607 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19608 breakpoint test.
19609
19610 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19611 * gdb.base/signull.exp: Disable if gdb,nosignals.
19612 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19613 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19614 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19615 * gdb.mi/mi2-console.exp: Likewise.
19616 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19617 continue output at start.
19618 (gdb_collect_locals_test): Robustify regexp.
19619 * gdb.trace/passc-dyn.exp: Fix comment typo.
19620 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19621
19622 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19623
19624 * gdb.asm/asm-source.exp: Add iq2000 case.
19625 * gdb.asm/iq2000.inc: New file.
19626
19627 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19628
19629 * gdb.base/command.exp: Change hardcoded value to regular expression.
19630 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19631
19632 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19633
19634 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19635 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19636 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19637 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19638 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19639
19640 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19641
19642 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19643 changes.
19644
19645 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19646
19647 * lib/compiler.c: Add test for IBM's xlc compiler.
19648 * lib/compiler.cc: Likewise.
19649
19650 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19651
19652 * gdb.ada/fixed_points.exp: Create compilation object directory
19653 before running the test.
19654 * gdb.ada/null_record.exp: Likewise.
19655 * gdb.ada/packed_array.exp: Likewise.
19656 * gdb.ada/start.exp: Likewise.
19657
19658 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19659
19660 * gdb.ada/packed_array/pa.adb: New file.
19661 * gdb.ada/packed_array.exp: New testcase.
19662
19663 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19664
19665 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19666 files.
19667
19668 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19669 on *-*-openbsd*. Correctly match whitespace in regukar
19670 expressions.
19671
19672 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19673
19674 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19675 PR exp/1821
19676 * gdb.base/gdb1821.c: New test file.
19677 * gdb.base/gdb1821.exp: New test file.
19678
19679 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19680
19681 * gdb.base/start.c: New file.
19682 * gdb.base/start.exp: New testcase.
19683
19684 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19685
19686 * gdb.ada/start/dummy.adb: New file.
19687 * gdb.ada/start.exp: New testcase.
19688
19689 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19690
19691 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19692 for printing symbols and statistics.
19693 Add test for using relative pathnames in "maint print msymbols" test.
19694 Mark "maint info sections DATA" XFAIL on Cygwin.
19695 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19696 tests.
19697
19698 2005-02-09 Andreas Schwab <schwab@suse.de>
19699
19700 Committed by Andrew Cagney <cagney@gnu.org>
19701 * gdb.base/remotetimeout.exp: New file.
19702
19703 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19704
19705 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19706
19707 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19708
19709 * gdb.ada/gnat_ada.gpr: New file.
19710 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19711 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19712 * configure.ac: No longer generate gnat_ada.gpr.
19713 * configure: Regenerate.
19714 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19715 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19716 * gdb.ada/null_record/bar.ads: Likewise.
19717 * gdb.ada/null_record/bar.adb: Likewise.
19718 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19719 * gdb.ada/null_record.exp (testdir): New variable.
19720 (testfile): executable is now in testdir subdirectory.
19721 (srcfile): Use full path to the main compilation unit.
19722 * gdb.ada/fixed_points.exp: Same changes as above.
19723
19724 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19725
19726 * gdb.base/interp.exp: New test.
19727
19728 2005-01-24 Andrew Cagney <cagney@gnu.org>
19729
19730 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19731
19732 2005-01-19 Andrew Cagney <cagney@gnu.org>
19733
19734 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19735 configure.ac not configure.in.
19736
19737 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19738 of powerpc*-*-*.
19739 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19740 * gdb.base/list.exp (test_list_function)
19741 (test_list_filename_and_function): Ditto.
19742 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19743
19744 2005-01-16 Andrew Cagney <cagney@gnu.org>
19745
19746 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19747
19748 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19749
19750 2005-01-14 Andrew Cagney <cagney@gnu.org>
19751
19752 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19753 * gdb.mi/mi2-var-cmd.exp: Ditto.
19754
19755 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
19756
19757 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19758
19759 2005-01-07 Andrew Cagney <cagney@gnu.org>
19760
19761 * configure.ac: Rename configure.in, require autoconf 2.59.
19762 * configure: Re-generate.
19763 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19764 * gdb.stabs/configure: Re-generate.
19765 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19766 * gdb.hp/configure: Re-generate.
19767 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19768 autoconf 2.59.
19769 * gdb.hp/gdb.objdbg/configure: Re-generate.
19770 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19771 autoconf 2.59.
19772 * gdb.hp/gdb.defects/configure: Re-generate.
19773 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19774 autoconf 2.59.
19775 * gdb.hp/gdb.compat/configure: Re-generate.
19776 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19777 autoconf 2.59.
19778 * gdb.hp/gdb.base-hp/configure: Re-generate.
19779 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19780 autoconf 2.59.
19781 * gdb.hp/gdb.aCC/configure: Re-generate.
19782
19783 2004-12-15 Jim Blandy <jimb@redhat.com>
19784
19785 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19786 under NPTL when there is debugging info available for libpthread.
19787
19788 2004-12-13 Jerome Guitton <guitton@gnat.com>
19789
19790 * gdb.ada/fixed_points.c: New file.
19791 * gdb.ada/fixed_points.exp: New file.
19792
19793 2004-12-03 Randolph Chung <tausq@debian.org>
19794
19795 * gdb.arch/pa-nullify.exp: New file.
19796 * gdb.arch/pa-nullify.s: New file.
19797
19798 2004-11-30 Randolph Chung <tausq@debian.org>
19799
19800 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19801 instead of "tbug". Fix regexp to work properly with gdb_test.
19802
19803 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19804
19805 * gdb.base/bitfields2.exp: New test.
19806 * gdb.base/bitfields2.c: New file.
19807
19808 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
19809
19810 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19811
19812 2004-11-16 Randolph Chung <tausq@debian.org>
19813
19814 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19815
19816 2004-11-14 Daniel Jacobowitz <dan@debian.org>
19817
19818 * gdb.threads/threadapply.exp: Correct "macro details" test.
19819
19820 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19821
19822 * gdb.threads/threadapply.exp: New test.
19823 * gdb.threads/threadapply.c: New file.
19824
19825 2004-11-07 Mark Kettenis <kettenis@gnu.org>
19826
19827 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19828 frames.
19829
19830 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
19831
19832 * gdb.base/cursal.exp: New file.
19833 * gdb.base/cursal.c: New file.
19834
19835 2004-11-03 Andrew Cagney <cagney@gnu.org>
19836
19837 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19838
19839 2004-10-30 Mark Kettenis <kettenis@gnu.org>
19840
19841 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19842 NetBSD/ELF targets.
19843
19844 2004-10-29 Joel Brobecker <brobecker@gnat.com>
19845
19846 * gdb.threads/bp_in_thread.c: New file, copied from
19847 pthread_cond_wait.c.
19848 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19849 file, rather than reusing the .c file from another testcase.
19850
19851 2004-10-20 Joel Brobecker <brobecker@gnat.com>
19852
19853 * gdb.ada/null_record.exp: Check where we stopped after
19854 sending the start command, instead of where the associated
19855 temporary breakpoint was inserted.
19856
19857 2004-10-14 Andrew Cagney <cagney@gnu.org>
19858
19859 * gdb.mi/gdb701.c (main): Return 0.
19860
19861 2004-10-13 Daniel Jacobowitz <dan@debian.org>
19862
19863 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19864
19865 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19866
19867 * gdb.threads/schedlock.c: Add comment markers to use to find
19868 line numbers.
19869 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19870 comments.
19871 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19872 breakpoint lines.
19873
19874 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19875
19876 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19877
19878 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19879
19880 * configure.in: Add gdb.dwarf2.
19881 * configure: Regenerated.
19882 * Makefile.in: Add gdb.dwarf2.
19883 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19884 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19885 gdb.dwarf2/file1.txt: New files.
19886
19887 2004-10-11 Orjan Friberg <orjanf@axis.com>
19888
19889 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19890 of "run", since the latter doesn't work with remote targets. Adjust
19891 the breakpoint numbering accordingly.
19892 * gdb.threads/pthread_cond_wait.exp: Ditto.
19893
19894 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19895
19896 * gdb.base/overlays.exp: Update copyright years.
19897
19898 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19899
19900 * gdb.base/overlays.exp: Disable if target is Linux.
19901
19902 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
19903
19904 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19905
19906 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19907
19908 * gdb.asm/asm-source.exp: Add m32r-linux target.
19909 * gdb.asm/m32r-linux.inc: New file.
19910
19911 2004-09-24 Andrew Cagney <cagney@redhat.com>
19912 David Anderson <anderson@redhat.com>
19913
19914 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19915 command fails, assume things will work.
19916 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19917 (_GNU_SOURCE): Define.
19918 (print_unsigned, print_hex): Change parameter to "long long".
19919 (print_byte_count): New function, use to print byte counts.
19920 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19921 O_LARGEFILE.
19922 (main): Compute an upper bound on a corefile in max_core_size.
19923 Limit memory chunk size to max_core_size. Limit total memory
19924 allocated to max_core_size.
19925
19926 2004-09-23 Andrew Cagney <cagney@gnu.org>
19927
19928 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19929 from a separate process with code that creates a corefile by
19930 making the inferior dump core.
19931
19932 2004-09-23 Mark Kettenis <kettenis@gnu.org>
19933
19934 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19935 block.
19936
19937 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19938
19939 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19940 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19941 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19942 Likewise.
19943
19944 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19945
19946 * gdb.java/jprint.exp: New test case for java inferior call.
19947 * gdb.java/jprint.java: Ditto.
19948
19949 2004-09-15 Joel Brobecker <brobecker@gnat.com>
19950
19951 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19952
19953 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19954
19955 * gdb.threads/killed.c: Include <stdlib.h>.
19956 * gdb.threads/pthreads.c: Likewise.
19957
19958 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19959
19960 * gdb.threads/killed.c: Add copyright notice.
19961
19962 2004-09-10 Jason Molenda (jmolenda@apple.com)
19963
19964 * gdb.base/define.exp: Two new tests to verify zero space chars
19965 after 'if' and 'while' commands in a user-defined command is correctly
19966 parsed.
19967
19968 2004-09-08 Andrew Cagney <cagney@gnu.org>
19969
19970 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19971 delivery test with duplicate at end of file.
19972
19973 2004-09-06 Mark Kettenis <kettenis@jive.nl>
19974
19975 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19976
19977 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19978
19979 * config/hppro.exp: Removed.
19980
19981 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19982
19983 * config/sparclet.exp: Removed.
19984
19985 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19986
19987 * config/udi.exp: Removed.
19988
19989 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19990
19991 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19992 of "exp_continue".
19993 (advancei): Likewise.
19994
19995 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19996
19997 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19998
19999 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20000
20001 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
20002 to check for nodebug in executable.
20003 * gdb.gdb/observer.exp (setup_test): Likewise.
20004 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20005 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20006
20007 2004-09-01 Andrew Cagney <cagney@gnu.org>
20008
20009 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20010 files.
20011
20012 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20013
20014 * gdb.base/unload.exp: Fix expected warning message to match
20015 latest format.
20016
20017 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
20018
20019 * gdb.base/call-rt-st.exp: Fix typos.
20020
20021 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20022
20023 * gdb.threads/thread_check.exp: New testcase.
20024 * gdb.threads/thread_check.c: New testcase.
20025
20026 2004-08-31 Andrew Cagney <cagney@gnu.org>
20027
20028 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20029 (skip_to_handler_entry): New procedures. Test stepping into a
20030 handler when the breakpoint is at the handler's entry point.
20031
20032 2004-08-30 Andrew Cagney <cagney@gnu.org>
20033
20034 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20035 gdb/1757.
20036
20037 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20038
20039 With code from Manoj Iyer <manjo@austin.ibm.com>:
20040 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20041 return value. Add an arm for "no debugging symbols found".
20042 Change a stray "error" to "perror".
20043 (gdb_run_cmd): Adapt to new return value.
20044 * gdb.base/remote.exp: Adapt to new return value.
20045 * gdb.gdb/complaints.exp: Likewise.
20046 * gdb.gdb/observer.exp: Likewise.
20047 * gdb.gdb/selftest.exp: Likewise.
20048 * gdb.gdb/xfullpath.exp: Likewise.
20049
20050 2004-08-27 Joel Brobecker <brobecker@gnat.com>
20051
20052 * gdb.threads/bp_in_thread.exp: New testcase.
20053
20054 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20055
20056 Fix PR testsuite/1735.
20057 * gdb.threads/schedlock.c (thread_function): Add a cast
20058 to suppress a gcc warning.
20059 * gdb.threads/thread-specific.c (thread_function): Likewise.
20060
20061 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20062
20063 * gdb.base/unload.c: Include <stdlib.h>.
20064
20065 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20066
20067 From Paul Gilliam <pgilliam@us.ibm.com>:
20068 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20069 synchronized after the "return".
20070
20071 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20072
20073 * gdb.mi/basics.c: Include <stdio.h>.
20074 * gdb.mi/pthreads.c: Include <stdlib.h>.
20075 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20076
20077 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20078
20079 * gdb.threads/schedlock.c: Add copyright notice.
20080
20081 2004-08-25 Andrew Cagney <cagney@gnu.org>
20082
20083 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20084 (skip_over_handler, breakpoint_over_hander): New test procedures.
20085 (advance, advancei): Add a proper prefix, do not use
20086 rerun_to_main.
20087 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20088
20089 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20090
20091 * gdb.mi/basics.c: Add copyright notice.
20092 * gdb.mi/var-cmd.c: Add copyright notice.
20093
20094 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20095
20096 * lib/gdb.exp: Remove signed_keyword_not_used.
20097 * lib/compiler.c: Likewise.
20098 * lib/compiler.cc: Likewise.
20099
20100 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20101
20102 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20103 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20104
20105 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20106
20107 * gdb.base/whatis.c: Add copyright notice.
20108
20109 2004-08-20 Mark Kettenis <kettenis@gnu.org>
20110
20111 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20112 it to skip the breakpoints encoded in the inline assembly.
20113
20114 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20115
20116 * Makefile.in: Add gdb.fortran.
20117
20118 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20119
20120 * gdb.base/call-sc.exp (test_scalar_returns):
20121 Fix cut-and-paste glitch in "Make fun return now".
20122
20123 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20124
20125 * configure.in: Add gdb.fortran.
20126 * configure: Regenerate.
20127 * gdb.fortran/Makefile.in: New file.
20128 * lib/gdb.exp (skip_fortran_tests): New procedure.
20129
20130 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20131
20132 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20133 reference to bug-gnu@prep.ai.mit.edu.
20134 * gdb.mi/mi-var-child.exp: Likewise.
20135 * gdb.mi/mi-var-cmd.exp: Likewise.
20136 * gdb.mi/mi-var-display.exp: Likewise.
20137 * gdb.mi/mi2-var-block.exp: Likewise.
20138 * gdb.mi/mi2-var-child.exp: Likewise.
20139 * gdb.mi/mi2-var-cmd.exp: Likewise.
20140 * gdb.mi/mi2-var-display.exp: Likewise.
20141
20142 2004-08-15 Mark Kettenis <kettenis@gnu.org>
20143
20144 * gdb.base/unload.c (main): Make local variable msg const.
20145
20146 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20147
20148 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20149 to bug-gnu@prep.ai.mit.edu.
20150 * gdb.mi/mi-disassemble.exp: Likewise.
20151 * gdb.mi/mi-eval.exp: Likewise.
20152 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20153 default line number.
20154 * gdb.mi/mi-return.exp: Likewise.
20155 * gdb.mi/mi-simplerun.exp: Likewise.
20156 * gdb.mi/mi-stack.exp: Likewise.
20157 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20158 number with explicit range test.
20159 * gdb.mi/mi-watch.exp: Likewise.
20160 * gdb.mi/mi2-break.exp: Likewise.
20161 * gdb.mi/mi2-cli.exp: Likewise.
20162 * gdb.mi/mi2-disassemble.exp: Likewise.
20163 * gdb.mi/mi2-eval.exp: Likewise.
20164 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20165 default line number.
20166 * gdb.mi/mi2-return.exp: Likewise.
20167 * gdb.mi/mi2-simplerun.exp: Likewise.
20168 * gdb.mi/mi2-stack.exp: Likewise.
20169 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20170 number with explicit range test.
20171 * gdb.mi/mi2-watch.exp: Likewise.
20172
20173 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20174
20175 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20176 * gdb.cp/m-static.exp: Likewise.
20177 * gdb.cp/rtti.exp: Likewise.
20178
20179 2004-08-14 Mark Kettenis <kettenis@gnu.org>
20180
20181 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20182
20183 2004-08-14 Eli Zaretskii <eliz@gnu.org>
20184
20185 * ChangeLog: Prefix Local Variables with semi-colons and indent
20186 the reference to older ChangeLog files, to fix fontification in
20187 Emacs.
20188
20189 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20190
20191 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20192 * gdb.mi/mi2-break.exp: Likewise.
20193
20194 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20195
20196 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20197
20198 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20199
20200 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20201
20202 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20203
20204 * gdb.cp/classes.exp: Remove unused declarations. Just let
20205 test names default instead of providing special names. Remove
20206 extraneous demangler test.
20207
20208 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20209
20210 * gdb.base/unload.exp: New test for breakpoints in dynamically
20211 loaded libraries.
20212 * gdb.base/unload.c: Ditto.
20213 * gdb.base/unloadshr.c: Ditto.
20214
20215 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20216
20217 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20218 cp_test_ptype_class.
20219 (test_enums): Likewise.
20220
20221 2004-08-10 Andrew Cagney <cagney@gnu.org>
20222
20223 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20224 files.
20225
20226 2004-08-10 Andrew Cagney <cagney@gnu.org>
20227
20228 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20229 init_malloc call.
20230
20231 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20232
20233 * ChangeLog: Add copyright notice. The notice is copied
20234 from emacs 21.3 top level ChangeLog.
20235
20236 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20237
20238 * lib/cp-support.exp: New file.
20239 * lib/cp-support.exp (cp_test_type_class): New function.
20240 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20241 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20242 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20243 cp_test_ptype_class.
20244
20245 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20246
20247 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20248 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20249 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20250 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20251 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20252 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20253 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20254 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20255 gdb.mi/mi2-watch.exp: Update copyright years.
20256
20257 2004-08-09 Mark Kettenis <kettenis@gnu.org>
20258
20259 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20260
20261 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20262
20263 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20264 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20265 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20266 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20267 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20268 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20269 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20270 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20271 gdb.mi/mi-watch.exp: Update copyright years.
20272
20273 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20274
20275 PR gdb/1738
20276 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20277 from a breakpoint with a pending signal.
20278
20279 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20280
20281 PR gdb/1736
20282 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20283 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20284 the prompt.
20285 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20286
20287 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20288
20289 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20290
20291 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20292
20293 PR gdb/1736
20294 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20295 for i?86-*-linux*.
20296
20297 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20298
20299 * gdb.arch/i386-prologue.exp: Compile without debug information.
20300
20301 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20302
20303 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20304 rather than asking gdb to search.
20305
20306 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20307
20308 * gdb.base/gcore.c: Include <string.h>.
20309
20310 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20311
20312 * gdb.base/gcore.c: Add copyright notice.
20313
20314 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20315
20316 * gdb.base/freebpcmd.c: Include <stdio.h>.
20317 * gdb.base/long_long.c: Include <string.h>.
20318 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20319 * gdb.base/siginfo.c: Include <string.h>.
20320 * gdb.base/sigstep.c: Include <string.h>.
20321
20322 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20323
20324 * gdb.base/complex.c: Include <stdlib.h>.
20325
20326 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20327
20328 * gdb.base/complex.c: Add copyright notice.
20329
20330 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20331
20332 * gdb.base/charset.c: Include <stdlib.h>.
20333
20334 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20335
20336 * gdb.base/auxv.c: Include <stdlib.h>.
20337
20338 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20339
20340 * gdb.base/auxv.c: Add copyright notice.
20341
20342 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20343
20344 * gdb.base/coremaker.c: Add copyright notice.
20345 * gdb.base/coremaker2.c: Add copyright notice.
20346
20347 2004-08-04 Andrew Cagney <cagney@gnu.org>
20348
20349 * gdb.base/store.exp: Update copyright.
20350 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20351 names, do not import gdb_prompt.
20352
20353 2004-08-01 Andrew Cagney <cagney@gnu.org>
20354
20355 Fix PR testsuite/1729.
20356 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20357 not use capture_value with value 4.
20358 (capture_value): Add optional test name parameter.
20359 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20360 the prefix, pass to capture_value.
20361
20362 2004-08-01 Mark Kettenis <kettenis@gnu.org>
20363
20364 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20365 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20366 (main): Call new function.
20367
20368 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20369
20370 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20371
20372 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20373
20374 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20375
20376 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20377
20378 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
20379 Accept more values of vtbl pointer. Remove some messages
20380 about "obsolete gcc or gdb".
20381
20382 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20383
20384 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20385
20386 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20387
20388 * gdb.base/asm-source.exp: Properly convert target board
20389 debug flags from gcc format to binutils format.
20390
20391 2004-07-28 Mark Kettenis <kettenis@gnu.org>
20392
20393 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20394 gdb1718". PR backtrace/1718 partially fixed.
20395
20396 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20397
20398 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20399
20400 2004-07-26 Nick Clifton <nickc@redhat.com>
20401
20402 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20403 good default value for a specific architecture is available then
20404 set it to that value. Otherwise default to the -gstabs switch.
20405 Remove the -g... switches from the asm-flags variable. Allow the
20406 target board info to override the value if it wants to. Pass the
20407 switch on the assembler command line.
20408
20409 2004-07-23 Mark Kettenis <kettenis@gnu.org>
20410
20411 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20412 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20413 (main): Call new function.
20414
20415 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20416
20417 Test for PR exp/1715.
20418 * gdb.base/radix.exp: Refactor common procedures. Make all
20419 test names unique. Change XFAIL to KFAIL.
20420
20421 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20422
20423 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20424 * gdb.ada/gnat_ada.gin: ... to here.
20425 * configure.in: Use gnat_ada.gin.
20426 * configure: Regenerate.
20427
20428 2004-07-20 Andrew Cagney <cagney@gnu.org>
20429
20430 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20431 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20432 XFAILs. Clean up test messages and comments. Check backtraces.
20433 Delete re-sync code.
20434
20435 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20436
20437 Fix PR cli/740.
20438 * gdb.base/annota1.exp: Honor gdb,nosignals.
20439 * gdb.base/annota3.exp: Likewise.
20440
20441 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20442
20443 * lib/java.exp: Update copyright notice.
20444
20445 2004-07-19 Andrew Cagney <cagney@gnu.org>
20446
20447 * gdb.base/selftest.exp: Copy file from here ...
20448 * gdb.gdb/selftest.exp: ... to here.
20449
20450 2004-07-16 Andrew Cagney <cagney@redhat.com>
20451
20452 * lib/insight-support.exp: Delete file.
20453 * lib/java.exp (java_init): Fix copyright.
20454
20455 2004-07-16 Andrew Cagney <cagney@gnu.org>
20456
20457 * gdb.base/restore.c: Append "prologue" to comments marking the a
20458 function's prologue.
20459 * gdb.base/restore.exp: Update copyright, re-indent.
20460 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20461 callerN" prefix where needed. Update patterns that match a
20462 function's prologue.
20463
20464 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20465
20466 * gdb.base/restore.c: Add copyright notice.
20467
20468 2004-07-16 Andrew Cagney <cagney@gnu.org>
20469
20470 * gdb.base/logical.exp: Update copyright.
20471 (evaluate): New procedure. Use to re-implement tests using
20472 several tables.
20473
20474 2004-07-14 Martin Hunt <hunt@redhat.com>
20475
20476 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20477 which fixes some problems where init.tcl was not found.
20478
20479 2004-07-13 Andrew Cagney <cagney@gnu.org>
20480
20481 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20482 (check_sizeof, check_valueof): Do not include the output in the
20483 test name. Use gdb_test.
20484 (get_valueof): Use gdb_test_multiple.
20485
20486 * gdb.base/step-test.exp: Update copyright. Use
20487 gdb_test_multiple. Ensure that test names do not include
20488 architecture dependent output.
20489
20490 * gdb.gdb/observer.exp: Update copyright.
20491 (setup_test): Use gdb_test_multiple.
20492 (attach_first_observer, attach_second_observer)
20493 (attach_third_observer, detach_first_observer)
20494 (detach_second_observer, detach_third_observer)
20495 (reset_counters, check_counters): Make $message a prefix.
20496 (test_normal_stop_notifications): Add "args" parameter - a list of
20497 init functions to be called. Make $message a prefix,
20498 (test_observer_normal_stop): Change the message prefixes so that
20499 they are unique, pass the attach / detach procedures to
20500 test_normal_stop_notifications.
20501
20502 * gdb.base/signull.exp (test_segv): Prefix all tests with
20503 "${name}". Clean up test messages.
20504
20505 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20506
20507 * gdb.base/ena-dis-br.exp: Update copyright.
20508 (break_at): New function. Replace send_gdb with gdb_test,
20509 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20510 ignore count, not stopped at bpt", with KFAIL.
20511
20512 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20513
20514 * gdb.base/attach.exp: Remove cleanupfile handling.
20515
20516 2004-07-12 Andrew Cagney <cagney@gnu.org>
20517
20518 * gdb.base/annota1.exp: Cleanup corefile test name.
20519 * gdb.base/annota3.exp: Ditto.
20520
20521 2004-07-12 Andrew Cagney <cagney@gnu.org>
20522
20523 * gdb.base/signals.exp: Clean up copyright, re-indent.
20524
20525 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20526 gdb_test and gdb_test_multiple.
20527
20528 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20529
20530 * gdb.java/jmain.exp: Fix expected line number for main to
20531 break at. Set XFAIL for break at main test since gcj does not
20532 provide line number info for first statement in main.
20533
20534 2004-07-08 Andrew Cagney <cagney@gnu.org>
20535
20536 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20537
20538 * gdb.base/sigbpt.exp: Make the common part of each test name a
20539 prefix instead of suffix.
20540
20541 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20542
20543 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20544 test from test_tbreak_creation_and_listing to
20545 test_file_list_exec_source_file
20546 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20547 Changed name of test from test_tbreak_creation_and_listing to
20548 test_file_list_exec_source_file
20549
20550 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20551
20552 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20553 the jmisc() constructor instead of <init>.
20554 * gdb.java/jmisc1.exp: Ditto.
20555
20556 2004-07-07 Andrew Cagney <cagney@gnu.org>
20557
20558 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20559 corrupting the PC.
20560
20561 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20562
20563 * gdb.cp/templates.exp: Accept whitespace change in demangler
20564 output.
20565
20566 2004-07-06 Andrew Cagney <cagney@gnu.org>
20567
20568 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20569
20570 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20571
20572 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20573 * lib/compiler.cc: Likewise.
20574
20575 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20576
20577 * lib/compiler.cc: Work around string preprocessing problem
20578 with old hp c++ compiler.
20579 * lib/compiler.c: Likewise.
20580
20581 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20582
20583 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20584 directives to conditionalize symbol prefixing.
20585 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20586 additional_flags handling. Add underscore prefix for Cygwin.
20587 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20588 conditionalize symbol prefixing.
20589 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20590 additional_flags handling. Add underscore prefix for Cygwin.
20591
20592 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20593
20594 * gdb.base/bigcore.exp: Skip test on Cygwin.
20595
20596 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20597
20598 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20599 formats for "info register". Use gdb_test_multiple. Fix
20600 the "invalid register" test.
20601
20602 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20603
20604 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20605 PID for Cygwin. Add Cygwin specific strings to check for in some
20606 tests.
20607 (do_attach_tests): Add a test for user interaction when attaching
20608 to a process with no matching symbol table already loaded.
20609
20610 2004-06-26 Andrew Cagney <cagney@gnu.org>
20611
20612 Test PR java/1567 and PR java/1565.
20613 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20614 * gdb.java/jmisc2.exp: Delete file.
20615
20616 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20617
20618 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20619
20620 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20621
20622 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20623 attach process.
20624
20625 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20626
20627 * gdb.cp/pr-1553.exp: Remove.
20628
20629 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20630
20631 * gdb.cp/pr-1553.cc: Remove.
20632 * gdb.cp/pr-1553.exp: Disable this test.
20633
20634 2004-06-20 Jim Blandy <jimb@redhat.com>
20635
20636 Fix PR testsuite/1680.
20637 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20638 regular expressions.
20639
20640 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20641
20642 Fix PR testsuite/1679.
20643 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20644 Issue an UNSUPPORTED result instead.
20645
20646 2004-06-18 Jim Blandy <jimb@redhat.com>
20647
20648 * gdb.base/charset.exp: Only send a control-C if we see a new
20649 prompt and incomplete command.
20650
20651 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20652
20653 * gdb.cp/pr-574.cc: Add copyright notice.
20654
20655 2004-06-17 Jim Blandy <jimb@redhat.com>
20656
20657 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20658 cases where the regexp has no groups; this grabs random text from
20659 the previous test suite, whatever that was.
20660
20661 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20662
20663 * gdb.cp/printmethod.cc: Add copyright notice.
20664
20665 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20666
20667 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20668
20669 2004-06-16 Andrew Cagney <cagney@gnu.org>
20670
20671 * gdb.base/signull.c: Update copyright. Include <string.h>.
20672 (bowler): Replace data_pointer with data_read
20673 and data_write cases. Add code_descriptor case.
20674 (zero, desc): New array and pointer.
20675 (data, code): Change to simple pointers.
20676 * gdb.base/signull.exp: Fix probe pattern matching a function
20677 descriptor SIGSEGV. Replace data_pointer with data_read and
20678 data_write tests.
20679
20680 2004-06-16 Andrew Cagney <cagney@gnu.org>
20681
20682 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20683
20684 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20685
20686 * gdb.base/long_long.c: Add copyright notice.
20687
20688 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20689
20690 * gdb.base/long_long.exp: Remove reference to
20691 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20692 to gdb_breakpoint and gdb_continue_to_breakpoint.
20693
20694 2004-06-14 Jim Blandy <jimb@redhat.com>
20695
20696 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20697 endian case.
20698
20699 2004-06-14 Andrew Cagney <cagney@gnu.org>
20700
20701 * gdb.base/gcore.exp (capture_command_output): Delete the always
20702 passing tests containing inferior values.
20703 * gdb.base/ending-run.exp: Do not include the breakpoint address
20704 in the test message. Update copyright.
20705 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20706 size in the test name, use gdb_test_multiple. Update copyright.
20707
20708 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20709
20710 * gdb.cp/ref-types.cc: Add copyright notice.
20711
20712 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20713
20714 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20715 hp_aCC_compiler.
20716 * lib/compiler.cc: Likewise.
20717 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20718 'set' commands. Log diagnostics for other lines. Set
20719 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20720
20721 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20722
20723 * gdb.cp/try_catch.cc: Add copyright notice.
20724
20725 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20726
20727 * gdb.cp/userdef.cc: Add copyright notice.
20728
20729 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20730
20731 * gdb.cp/virtfunc.cc: Add copyright notice.
20732
20733 2004-06-11 Randolph Chung <tausq@debian.org>
20734
20735 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20736 problem.
20737
20738 2004-06-10 Andrew Cagney <cagney@gnu.org>
20739
20740 * lib/compiler.cc, lib/compiler.c: Append either
20741 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20742 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20743 instead of gcc-3-3.
20744
20745 2004-06-09 Andrew Cagney <cagney@gnu.org>
20746
20747 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20748 gdb/1455, bug is specific to "long long" and "double".
20749
20750 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20751 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20752 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20753 fixed.
20754
20755 2004-06-09 Andrew Cagney <cagney@gnu.org>
20756
20757 * gdb.base/structs.exp (test_struct_returns): Replace
20758 "return_value_unknown" and "finish_value_unknown" by
20759 "return_value_known" and "finish_value_known". Instead of
20760 "return_value_unknown" iff "finish_value_unknown", check
20761 "return_value_known" implies "finish_value_known".
20762
20763 2004-06-08 Martin Hunt <hunt@redhat.com>
20764
20765 * gdb.base/float.exp: Add pattern for mips targets.
20766
20767 2004-06-08 Randolph Chung <tausq@debian.org>
20768
20769 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20770 message for unknown architectures more clear.
20771
20772 2004-06-08 Joel Brobecker <brobecker@gnat.com>
20773
20774 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20775 start the execution of the program.
20776
20777 2004-06-07 Jim Blandy <jimb@redhat.com>
20778
20779 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20780 * gdb.arch/i386-cpuid.h: New helper file.
20781
20782 2004-06-07 Randolph Chung <tausq@debian.org>
20783
20784 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20785 has started.
20786
20787 2004-06-04 Roland McGrath <roland@redhat.com>
20788
20789 Fix PR gdb/1647.
20790 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20791 differently to be robust to output buffering differences.
20792
20793 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20794
20795 * gdb.threads/pthreads.exp: Update copyright years.
20796 (check_control_c): Change asynchronous 'after' to synchronous.
20797
20798 2004-06-04 Roland McGrath <roland@redhat.com>
20799
20800 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20801 next gdb prompt.
20802
20803 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20804
20805 Fix PR gdb/1636.
20806 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20807 calls to synchronous.
20808
20809 2004-05-26 Jim Blandy <jimb@redhat.com>
20810
20811 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20812
20813 2004-05-24 Randolph Chung <tausq@debian.org>
20814
20815 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20816 * gdb.asm/pa.inc: New file.
20817
20818 2004-05-22 Mark Kettenis <kettenis@gnu.org>
20819
20820 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20821
20822 2004-05-21 Joel Brobecker <brobecker@gnat.com>
20823 Daniel Jacobowitz <drow@mvista.com>
20824
20825 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20826 GDB prompt.
20827
20828 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20829
20830 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20831 setjmp/longjmp. Use sigaction instead of signal.
20832
20833 2004-05-19 J. Brobecker <brobecker@gnat.com>
20834 Michael Snyder <msnyder@redhat.com>
20835
20836 * gdb.threads/pthread_cond_wait.c: New file.
20837 * gdb.threads/pthread_cond_wait.exp: New testcase.
20838
20839 2004-05-13 Andrew Cagney <cagney@redhat.com>
20840
20841 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20842 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20843
20844 2004-05-11 Andrew Cagney <cagney@redhat.com>
20845
20846 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20847 fixed but revealed gdb/1639.
20848
20849 2004-05-10 Andrew Cagney <cagney@redhat.com>
20850
20851 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20852 func1" and "next to 2nd alarm", kernel bug avoided.
20853
20854 2004-05-10 Daniel Jacobowitz <dan@debian.org>
20855
20856 PR external/1568
20857 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20858 XFAIL if it is smaller than bytes_allocated.
20859 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20860 (main): Make chunks_allocated unsigned. Correct comment.
20861
20862 2004-05-07 Joel Brobecker <brobecker@gnat.com>
20863
20864 * gdb.arch/powerpc-aix-prologue.c: New file.
20865 * gdb.arch/powerpc-aix-prologue.exp: New file.
20866
20867 2004-05-07 Jim Blandy <jimb@redhat.com>
20868
20869 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20870 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20871
20872 2004-05-06 Joel Brobecker <brobecker@gnat.com>
20873
20874 * gdb.base/sep.exp: No longer setup_kfail when the program was
20875 built with dwarf2.
20876
20877 2004-05-05 Jim Ingham <jingham@apple.com>
20878
20879 * gdb.base/pending.exp: Make sure pending breakpoints
20880 preserve the ignore count.
20881
20882 2004-04-27 Jerome Guitton <guitton@gnat.com>
20883
20884 * i386-prologue.exp: Add testcase for jump instruction as first
20885 instruction of the real code.
20886 * i386-prologue.c (jump_at_beginning): New function.
20887
20888 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20889
20890 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20891 x86_64-*-*.
20892
20893 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20894
20895 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20896 i*86-*-*.
20897
20898 2004-04-25 Mark Kettenis <kettenis@gnu.org>
20899
20900 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20901 expression that checks the return type.
20902
20903 2004-04-23 Andrew Cagney <cagney@redhat.com>
20904
20905 * gdb.base/call-sc.exp: New test of scalar call/return values.
20906 * gdb.base/call-sc.c: Ditto.
20907
20908 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20909
20910 * gdb.threads/manythreads.c: Reduce thread stack size.
20911
20912 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20913
20914 * gdb.threads/manythreads.c: Add copyright notice.
20915
20916 2004-04-23 Andrew Cagney <cagney@redhat.com>
20917
20918 * gdb.base/siginfo.exp: Better handle step out of signal.
20919 * gdb.base/sigstep.exp: Ditto.
20920
20921 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
20922 Daniel Jacobowitz <drow@mvista.com>
20923
20924 * gdb.threads/manythreads.c: New testcase.
20925 * gdb.threads/manythreads.exp: Ditto.
20926
20927 2004-04-22 Jim Blandy <jimb@redhat.com>
20928
20929 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20930 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20931
20932 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20933
20934 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20935
20936 2004-04-21 Andrew Cagney <cagney@redhat.com>
20937
20938 * gdb.base/sigstep.c: New file.
20939 * gdb.base/sigstep.exp: New file.
20940
20941 2004-04-16 Joel Brobecker <brobecker@gnat.com>
20942
20943 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20944 call to observer_notify_normal_stop.
20945
20946 2004-04-15 Andrew Cagney <cagney@redhat.com>
20947
20948 * gdb.base/siginfo.c: New file.
20949 * gdb.base/siginfo.exp: New file.
20950
20951 2004-04-12 J. Brobecker <brobecker@gnat.com>
20952
20953 * gdb.base/sep.exp: Fix typo in comment.
20954
20955 2004-04-12 J. Brobecker <brobecker@gnat.com>
20956
20957 * gdb.base/sep.c: New file.
20958 * gdb.base/sep-proc.c: New file.
20959 * gdb.base/sep.exp: New testcase.
20960
20961 2004-04-09 Mark Kettenis <kettenis@gnu.org>
20962
20963 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20964 support.
20965
20966 2004-04-05 Andrew Cagney <cagney@redhat.com>
20967
20968 * gdb.base/sigaltstack.c: New file.
20969 * gdb.base/sigaltstack.exp: New file.
20970
20971 2004-04-04 Joel Brobecker <brobecker@gnat.com>
20972
20973 * gdb.base/foll-fork.exp: Update the expected output for
20974 "help set follow-fork-mode", to match a change that was made
20975 to the help of this variable on 2004-01-13.
20976
20977 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20978
20979 * lib/ada.exp: Add copyright notice.
20980 * bar.ads: Likewise.
20981 * bar.adb: Likewise.
20982 * null_record.adb: Likewise.
20983 * null_record.exp: Likewise.
20984 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20985
20986 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20987
20988 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20989 * configure: Regenerate.
20990
20991 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20992
20993 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20994 to build the application. Remove the message printed when in
20995 verbose mode, redundant with the UNSUPPORTED message above.
20996
20997 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20998
20999 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21000 * gdb.ada (null_record.exp): New testcase.
21001
21002 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21003
21004 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21005
21006 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21007
21008 * gdb.ada: New subdirectory.
21009 * gdb.ada/Makefile.in: New file.
21010 * gdb.ada/gnat_ada.gpr.in: New file.
21011
21012 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21013
21014 * lib/ada.exp: New file.
21015
21016 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
21017
21018 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21019 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21020
21021 2004-03-22 Andrew Cagney <cagney@redhat.com>
21022
21023 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21024 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21025 Problem identified by Ulrich Weigand.
21026
21027 2004-03-17 David Carlton <carlton@kealia.com>
21028
21029 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21030 PR c++/826.
21031
21032 2004-03-16 Roland McGrath <roland@redhat.com>
21033
21034 * gdb.base/auxv.exp: New file.
21035 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21036
21037 2004-03-12 David Carlton <carlton@kealia.com>
21038
21039 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21040 * gdb.cp/pr-1553.cc: Ditto.
21041 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21042 pass branch.
21043
21044 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21045
21046 * gdb.cp/templates.exp: Accept more template types.
21047
21048 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21049
21050 From Corinna Vinschen with modifications.
21051 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21052 local variable obj_with_enum.
21053 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21054 results with obj_with_enum.
21055
21056 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21057
21058 * gdb.cp/classes.cc: New file, copied from misc.cc.
21059 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21060
21061 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21062
21063 * gdb.cp/misc.cc: Add copyright notice.
21064
21065 2004-03-05 David Carlton <carlton@kealia.com>
21066
21067 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21068 * gdb.cp/rtti.h: Update copyright.
21069 (namespace n2::n3): New.
21070 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21071 (n2::n3::func3): New.
21072 (main): Call n2::n3::func3.
21073 * gdb.cp/rtti2.cc: Update copyright.
21074 (n2::create3): New.
21075
21076 2004-03-04 Mark Kettenis <kettenis@gnu.org>
21077
21078 * gdb.asm/openbsd.inc: Fix typo.
21079
21080 2004-03-03 Fred Fish <fnf@redhat.com>
21081
21082 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21083 "val" instead of unused "size". Update copyright year.
21084
21085 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21086
21087 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21088 to use unsigned char.
21089 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21090 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21091
21092 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21093
21094 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21095 line of output.
21096
21097 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21098
21099 * gdb.base/relocate.c (dummy): Initialize.
21100
21101 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21102
21103 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21104 a breakpoint at exit.
21105
21106 2004-02-27 Fred Fish <fnf@redhat.com>
21107
21108 * gdb.base/chng-syms.exp: Add expect condition to match failing
21109 case that isn't a timeout.
21110
21111 2004-02-27 Andrew Cagney <cagney@redhat.com>
21112
21113 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21114 support.
21115
21116 2004-02-26 Fred Fish <fnf@redhat.com>
21117
21118 * gdb.arch/gdb1431.c: Remove.
21119 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21120 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21121 of "until" incorrectly.
21122
21123 2004-02-26 J. Brobecker <brobecker@gnat.com>
21124
21125 * gdb.cp/class2.cc (empty): New class.
21126 (refer): New function.
21127 (main): Declare an object of type empty and use it.
21128 * gdb.cp/class2.exp: Print the value of an object of type empty.
21129
21130 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21131
21132 * gdb.base/langs.exp: Update query string to match the
21133 new nquery format used for pending breakpoints.
21134
21135 2004-02-26 Andrew Cagney <cagney@redhat.com>
21136
21137 Fix PR i18n/1570.
21138 * gdb.base/charset.c: Update copyright notice.
21139 (main, init_string): Remove the escape character '\e' tests.
21140 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21141 * gdb.base/charset.exp (valid_host_charset): Ditto.
21142 * gdb.base/setvar.exp: Ditto.
21143
21144 2004-02-24 Andrew Cagney <cagney@redhat.com>
21145
21146 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21147 mmapped data in core file" PASS and FAIL messages consistent.
21148
21149 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21150 setting a breakpoint. Work around PR java/1565.
21151
21152 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21153
21154 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21155 new nquery format.
21156 * gdb.base/pending.exp: Ditto.
21157
21158 2004-02-22 Mark Kettenis <kettenis@gnu.org>
21159
21160 * configure.in: Run stabs tests on *BSD.
21161 * configure: Regenerated.
21162
21163 2004-02-21 Mark Kettenis <kettenis@gnu.org>
21164
21165 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21166
21167 2004-02-20 Fred Fish <fnf@redhat.com>
21168
21169 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21170 blank in test for "returns short", for consistency with other
21171 "returns xxx" tests. Update copyright year.
21172
21173 2004-02-19 Fred Fish <fnf@redhat.com>
21174
21175 New testcase for PR breakpoint/1558.
21176 * gdb.arch/gdb1558.exp: New file.
21177 * gdb.arch/gdb1558.c: New file.
21178
21179 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
21180
21181 * gdb.base/nodebug.exp: Fix typo.
21182
21183 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21184
21185 Committed by Jim Blandy <jimb@redhat.com>.
21186
21187 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21188
21189 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21190
21191 * gdb.base/float.exp: Support s390*-*-* targets.
21192
21193 2004-02-17 Adam Fedor <fedor@gnu.org>
21194
21195 * gdb.base/gdb1555.exp: New file.
21196 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21197
21198 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
21199
21200 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21201
21202 2004-02-16 Fred Fish <fnf@redhat.com>
21203
21204 * gdb.arch/gdb1291.c: Remove
21205 * gdb.arch/gdb1291.s: New test input file.
21206 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21207 fail. Test for correct result, known incorrect result, other
21208 failures and timeouts.
21209
21210 2004-02-16 Andrew Cagney <cagney@redhat.com>
21211
21212 * gdb.base/bigcore.exp: New file.
21213 * gdb.base/bigcore.c: New file.
21214
21215 2004-02-13 Andrew Cagney <cagney@redhat.com>
21216
21217 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21218 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21219 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21220 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21221 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21222 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21223 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21224 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21225 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21226 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21227
21228 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21229
21230 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21231 executed is an alloc instruction.
21232
21233 2004-02-11 David Carlton <carlton@kealia.com>
21234
21235 * gdb.cp/breakpoint.exp: New.
21236 * gdb.cp/breakpoint.cc: New.
21237
21238 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21239
21240 Partial fix for PR gdb/1543.
21241 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21242 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21243 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21244 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21245 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21246 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21247 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21248 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21249 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21250 to bug-gdb@prep.ai.mit.edu .
21251 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21252 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21253 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21254 Likewise.
21255
21256 2004-02-10 Andrew Cagney <cagney@redhat.com>
21257
21258 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21259 using gdb_internal_error_resync.
21260
21261 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
21262
21263 * gdb.threads/thread-specific.exp: Stop early if no threads are
21264 found.
21265
21266 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21267
21268 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21269
21270 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
21271
21272 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21273 breakpoints.
21274
21275 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
21276
21277 * config/sim.exp (gdb_load): Handle $arg == "".
21278 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21279 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21280
21281 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
21282
21283 * gdb.base/maint.exp: Update test to reflect
21284 obstack changes.
21285
21286 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21287
21288 * gdb.base/pendshr.c (pendfunc): New function that calls
21289 pendfunc1.
21290 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21291
21292 2004-02-04 Fred Fish <fnf@redhat.com>
21293
21294 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21295 function symbols and update copyright years.
21296 * gdb.arch/gdb1291.c: Ditto.
21297
21298 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21299
21300 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21301
21302 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21303
21304 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21305
21306 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21307
21308 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21309
21310 2004-02-02 Fred Fish <fnf@redhat.com>
21311
21312 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21313 remote targets. Update copyright years.
21314
21315 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21316
21317 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21318 support.
21319 * gdb.base/langs.exp: Fix test which attempts to create
21320 breakpoint on non-existent function to handle new pending
21321 support.
21322 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21323 a breakpoint.
21324 * gdb.base/pending.exp: New test.
21325 * gdb.base/pending.c: New file.
21326 * gdb.base/pendshr.c: Ditto.
21327
21328 2004-02-02 David Carlton <carlton@kealia.com>
21329
21330 * gdb.cp/overload.exp: Add overloadNamespace tests.
21331 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21332 (overloadNamespace, XXX): New.
21333 (main): Call XXX::marker2.
21334
21335 2004-02-01 Fred Fish <fnf@redhat.com>
21336
21337 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21338 * gdb.base/finish.exp: Ditto.
21339 * gdb.base/gcore.exp: Ditto.
21340 * gdb.base/huge.exp: Ditto.
21341 * gdb.base/info-proc.exp: Ditto.
21342 * gdb.base/return2.exp: Ditto.
21343 * gdb.threads/gcore-thread.exp: Ditto.
21344
21345 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21346
21347 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21348
21349 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21350
21351 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21352 that opening the file succeeds on OpenBSD.
21353
21354 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21355
21356 * gdb.threads/thread-specific.c: New file.
21357 * gdb.threads/threads-specific.exp: New test script.
21358 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21359 to expect_out.
21360
21361 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21362
21363 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21364 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21365 only on the "print_small_structs from print_long_arg_list" test.
21366
21367 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21368
21369 * gdb.base/completion.exp: Kill a stray backslash.
21370
21371 From Jim Ingham <jingham@apple.com>:
21372 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21373 agrees with the result from sending a tab.
21374
21375 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
21376
21377 * gdb.base/chng-syms.exp: Remove stray newline.
21378
21379 2004-01-31 Mark Kettenis <kettenis@gnu.org>
21380
21381 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21382 *-*-openbsd*.
21383 * gdb.asm/openbsd.inc: New file.
21384
21385 2004-01-30 Mark Kettenis <kettenis@gnu.org>
21386
21387 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21388 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21389 *-*solaris2*. Remove commented out default settings for
21390 asm-flags. Replace gdb_compile with target_link.
21391
21392 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21393
21394 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21395 for all tests. Remove old hp-ux and cygnus xfail cases.
21396
21397 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21398
21399 * gdb.base/chng-syms.exp: New file.
21400 * gdb.base/chng-syms.c: New file.
21401
21402 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21403
21404 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21405 Provide arms for current output in all my configurations.
21406
21407 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21408
21409 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21410 * lib/compiler.cc: Likewise.
21411 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21412 get the right preprocessor. Eval the output directly. Remove
21413 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21414 hp_f77_compiler and hp_f90_compiler completely.
21415 (gdb_preprocess): Delete.
21416 (get_compiler): Delete.
21417
21418 2004-01-24 Mark Kettenis <kettenis@gnu.org>
21419
21420 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21421 <string.h>.
21422
21423 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
21424
21425 * gdb.mi/mi-stack.exp: Update copyright.
21426
21427 2004-01-23 David Carlton <carlton@kealia.com>
21428
21429 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21430 test for cp_lookup_transparent_type.
21431 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21432 call them.
21433
21434 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
21435
21436 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21437 after -var-update.
21438
21439 2004-01-23 David Carlton <carlton@kealia.com>
21440
21441 * gdb.cp/namespace.cc (C::ensureRefs): New.
21442 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21443
21444 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
21445
21446 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21447 case "-stack-list-locals 2".
21448 * gdb.mi/mi-var-child.exp: Test for case
21449 "-var-list-children --all-values NAME".
21450
21451 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21452
21453 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21454
21455 2004-01-18 Mark Kettenis <kettenis@gnu.org>
21456
21457 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21458 used with gdb_test_multiple.
21459
21460 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21461 read at address 0. This fixes PR testsuite/1504.
21462
21463 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
21464
21465 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21466 Remove downloading, guessing the host executable, the calls to
21467 gdb_file_cmd and gdb_target_cmd, and "load" support.
21468 (infer_host_exec): New function broken out from gdb_load.
21469 (gdb_load): New wrapper for gdbserver_gdb_load.
21470 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21471 gdb_target_cmd. Use -target-select.
21472 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21473 Download binaries to the host. Clear last_mi_remote_file when
21474 we load a new binary.
21475 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21476 call gdbserver_gdb_load and mi_gdb_target_cmd.
21477
21478 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21479
21480 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21481 type patterns.
21482
21483 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21484
21485 * gdb.cp/templates.exp: Fix typo in test name of
21486 "print Foo<volatile char*>::foo".
21487
21488 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21489
21490 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21491
21492 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21493
21494 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21495 (clean mostlyclean): Remove empty rm.
21496
21497 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21498
21499 * gdb.base/setvar.exp: Add copyright years.
21500
21501 2004-01-14 David Carlton <carlton@bactrian.org>
21502
21503 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21504 PR c++/1511 and update coment.
21505 * gdb.cp/templates.exp: Update patterns to match current output.
21506 If changes involve something other than whitespace, KFAIL
21507 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21508
21509 2004-01-14 David Carlton <carlton@kealia.com>
21510
21511 * gdb.cp/namespace.exp: Add tests involving classes defined within
21512 namespaces.
21513 * gdb.cp/namespace.cc (C::CClass): New.
21514 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21515
21516 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21517
21518 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21519 what debug info we have. Print a better message if something goes
21520 wrong while producing the separate debug info file.
21521
21522 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21523
21524 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21525
21526 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21527
21528 * gdb.base/callfuncs.c: Add copyright notice.
21529
21530 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21531
21532 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21533 inheritance. PR gdb/1498, PR gcc/13539.
21534
21535 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
21536
21537 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21538 test specific name.
21539 * gdb.mi/gdb669.exp: Ditto.
21540 * gdb.mi/mi-pthreads.exp: Ditto.
21541 * gdb.mi/mi1-pthreads.exp: Ditto.
21542 * gdb.mi/mi2-pthreads.exp: Ditto.
21543
21544 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21545
21546 * gdb.cp/member-ptr.cc: Add copyright notice.
21547
21548 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21549
21550 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21551 some patterns for recent versions of gcc and hpacc. Delete
21552 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21553 Delete tests that access a NULL pointer-to-member-data. This
21554 script is still disabled for gcc.
21555
21556 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21557
21558 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21559 escaped correctly.
21560
21561 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21562
21563 * gdb.base/sepdebug.exp: New file.
21564 * gdb.base/sepdebug.c: New file.
21565 * lib/gdb.exp (separate_debug_filename): New procedure.
21566 (gdb_gnu_strip_debug): New procedure.
21567
21568 2004-01-12 Andrew Cagney <cagney@redhat.com>
21569
21570 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21571 * gdb.mi/ChangeLog-1999-2003: New file.
21572
21573 2004-01-12 Andrew Cagney <cagney@redhat.com>
21574
21575 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21576 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21577 or EEXIST", treat EBUSY as an XFAIL.
21578
21579 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21580
21581 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21582 hp_cc_compiler.
21583
21584 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21585
21586 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21587 decorations.
21588
21589 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21590
21591 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21592 and "(aCC)" decorations. Remove obsolete doco about old
21593 test results.
21594
21595 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21596
21597 * gdb.cp/exception.exp: Fix typo in doco.
21598
21599 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21600
21601 * gdb.base/gdb1476.exp: Fix typo.
21602
21603 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21604
21605 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21606 file.
21607
21608 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21609
21610 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21611 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21612 Use gdb_compile. Remove restriction on gcc. Add some patterns
21613 for recent version of gdb. Delete second half, which was a copy
21614 of the first half with different build flags. This test is
21615 still disabled because it is still not ready for production.
21616
21617 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21618
21619 * gdb.cp/exception.cc: Add copyright notice.
21620 * gdb.cp/exception.exp: Add a notice that this file is broken
21621 because of line number changes caused by addition of copyright
21622 notice.
21623
21624 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21625
21626 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21627 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21628
21629 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21630
21631 * gdb.cp/classes.exp: Accept gnu abi 2.
21632 * gdb.cp/derivation.exp: Likewise.
21633 * gdb.cp/overload.exp: Likewise.
21634 * gdb.cp/virtfunc.exp: Likewise.
21635
21636 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21637
21638 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21639 semicolon after end of function.
21640
21641 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21642
21643 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21644 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21645 boilerplate code for compiling and running the program under
21646 test. Add some string method tests.
21647
21648 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21649
21650 * gdb.cp/bs15503.cc: Add copyright notice.
21651 * gdb.cp/bs15503.exp: Adjust line number.
21652
21653 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21654
21655 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21656 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21657
21658 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21659
21660 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21661 hp_cc_compiler.
21662
21663 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21664
21665 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21666 * gdb.cp/ctti.exp: Use the marker instead of "next".
21667 With gcc, run further before bailing.
21668
21669 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21670
21671 * gdb.cp/cttiadd.cc: Add copyright notice.
21672 * gdb.cp/cttiadd1.cc: Likewise.
21673 * gdb.cp/cttiadd2.cc: Likewise.
21674 * gdb.cp/cttiadd3.cc: Likewise.
21675
21676 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21677
21678 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21679 Use gdb_test, gdb_test_multiple. Use floating-point values that
21680 have exact representations in IEEE-ish formats.
21681
21682 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21683
21684 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21685 compilers. Delete duplicate call to get_compiler_info.
21686 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21687 * gdb.base/volatile.exp: Likewise.
21688
21689 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21690
21691 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21692 memory at address 0.
21693
21694 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21695
21696 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21697 to test for hp-ux assembler. Fix copyright years.
21698
21699 2004-01-07 Andrew Cagney <cagney@redhat.com>
21700
21701 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21702
21703 2004-01-07 Andrew Cagney <cagney@redhat.com>
21704
21705 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21706 when creating the read-only file. From analysis by Roland McGrath
21707 and Elena Zannoni.
21708
21709 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21710
21711 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21712
21713 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21714
21715 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21716 data pointers.
21717
21718 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21719
21720 * gdb.cp/m-static.exp: Compile one source file at a time.
21721 Delete unused call to get_compiler_info.
21722
21723 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21724
21725 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21726 * gdb.base/call-rt-st.exp: Likewise.
21727 * gdb.base/nodebug.exp: Likewise.
21728 * gdb.base/volatile.exp: Likewise.
21729 * gdb.cp/ref-types.exp: Likewise.
21730 * gdb.cp/templates.exp: Likewise.
21731
21732 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21733
21734 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21735
21736 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21737
21738 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21739 hppa*-hp-hpux*.
21740
21741 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21742
21743 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21744 x86_64-*-*.
21745
21746 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21747 sparc64-*-* and sparc*-solaris2*.
21748
21749 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21750
21751 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21752 return ${tests}" test. The ${tests} already mentions the
21753 filename.
21754
21755 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21756
21757 * gdb.cp/local.exp: Accept gcc abi 2.
21758
21759 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21760
21761 * gdb.cp/templates.exp: Accept gcc abi 2.
21762
21763 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21764
21765 * lib/compiler.cc: Remove supports_template_debugging.
21766 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21767
21768 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21769
21770 * gdb.cp/namespace.exp: Accept gcc abi 2.
21771
21772 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21773
21774 * gdb.cp/method.exp: Accept gcc abi 2.
21775
21776 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21777
21778 * gdb.cp/classes.exp: Generate identical results as old version.
21779 * gdb.cp/derivation.exp: Likewise.
21780 * gdb.cp/overload.exp: Likewise.
21781 * gdb.cp/virtfunc.exp: Likewise.
21782
21783 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21784
21785 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21786 mysterious bug with sourceware version of expect.
21787
21788 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21789
21790 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21791 current versions of gcc, including gcc abi 2. Remove gratuitous
21792 restart of test program. Use gdb_test_multiple and gdb_test for
21793 all tests. Add patterns to xfail missing "const" in "const char *"
21794 and kfail PR gdb/1155.
21795
21796 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21797
21798 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21799 current versions of gcc, including gcc abi 2. Remove gratuitous
21800 restart of test program. Use gdb_test_multiple and gdb_test for
21801 all tests. Add patterns to kfail PR gdb/1498.
21802
21803 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21804
21805 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21806 current versions of gcc, including gcc abi 2. Use "breakpoint"
21807 and "continue" instead of restarting the target program. Use
21808 gdb_test_multiple and gdb_test for all tests.
21809
21810 2004-01-01 Mark Kettenis <kettenis@gnu.org>
21811
21812 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21813 for *-*-solaris2*.
21814
21815 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21816
21817 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21818 current versions of gcc, including gcc abi 2. Use "breakpoint"
21819 and "continue" instead of restarting the target program several
21820 times. Use gdb_test_multiple and gdb_test for all tests.
21821
21822 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21823
21824 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21825 source files.
21826
21827 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21828
21829 * gdb.base/environ.exp: Handle compiling test case from multiple
21830 source files.
21831
21832 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21833
21834 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21835
21836 2003-12-17 Jim Blandy <jimb@redhat.com>
21837
21838 * gdb.base/freebpcmd.c: Add copyright notice.
21839
21840 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21841
21842 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21843
21844 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21845
21846 2003-12-13 Jim Blandy <jimb@redhat.com>
21847
21848 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21849
21850 2003-12-12 Kevin Buettner <kevinb@redhat.com>
21851
21852 * gdb.asm/frv.inc: New file.
21853 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21854
21855 2003-12-09 Fred Fish <fnf@redhat.com>
21856
21857 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21858 functions to break1.c and leave prototypes behind. Add more
21859 "set breakpoint NN here" comments.
21860 * gdb.base/break1.c: New file.
21861
21862 * gdb.base/break.exp: Handle compiling test case from multiple
21863 source files and change source file references as needed.
21864 * gdb.base/completion.exp: Ditto.
21865 * gdb.base/condbreak.exp: Ditto.
21866 * gdb.base/define.exp: Ditto.
21867 * gdb.base/ena-dis-br.exp: Ditto.
21868 * gdb.base/info-proc.exp: Ditto.
21869 * gdb.base/maint.exp: Ditto.
21870 * gdb.base/until.exp: Ditto.
21871
21872 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21873 hardcoded line numbers.
21874 * gdb.base/define.exp: Ditto.
21875 * gdb.base/ena-dis-br.exp: Ditto.
21876 * gdb.base/maint.exp: Ditto.
21877 * gdb.base/until.exp: Ditto.
21878
21879 * gdb.base/completion.exp: Use "break1" for completion tests since
21880 "break" is no longer a unique prefix.
21881
21882 2003-12-06 Andrew Cagney <cagney@redhat.com>
21883
21884 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21885 "return_value_unimplemented". When an unimplemented struct return
21886 architecture, report incorrect values as a KFAIL
21887
21888 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21889
21890 * gdb.cp/rtti.exp: Accept new wording of warning from
21891 cp_lookup_rtti_type.
21892
21893 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21894
21895 Partial fix for PR testsuite/1456.
21896 * gdb.base/scope.exp (test_at_main): Replace references to
21897 gcc_compiled with calls to test_compiler_info.
21898 (test_at_foo): Likewise.
21899 (test_at_bar): Likewise.
21900
21901 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21902
21903 Partial fix for PR testsuite/1456.
21904 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21905 to test_compiler_info.
21906
21907 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21908
21909 * gdb.base/so-impl-ld.exp: Update copyright notice.
21910
21911 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21912
21913 Partial fix for PR testsuite/1456.
21914 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21915 to test_compiler_info.
21916
21917 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21918
21919 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21920 from current versions of gdb. Clean up regular expressions.
21921 Delete redundant timeout case.
21922
21923 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21924
21925 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21926 from current versions of gdb. Clean up regular expressions.
21927 Delete redundant timeout case.
21928
21929 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21930
21931 Partial fix for PR testsuite/1456.
21932 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21933 gcc_compiled with call to test_compiler_info.
21934
21935 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21936
21937 Partial fix for PR testsuite/1456.
21938 * gdb.base/list.exp (test_list_function): Delete unused declaration
21939 of gcc_compiled.
21940
21941 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21942
21943 Partial fix for PR testsuite/1456.
21944 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21945 call to test_compiler_info.
21946
21947 2003-11-29 Mark Kettenis <kettenis@gnu.org>
21948
21949 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21950 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21951 it to create the appropriate note.inc.
21952 * gdb.asm/asmsrc1.s: Include "note.inc".
21953 * gdb.asm/netbsd.inc: New file.
21954 * gdb.asm/empty.inc: New file.
21955
21956 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21957
21958 Partial fix for PR testsuite/1456.
21959 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21960 calls to test_compiler_info.
21961
21962 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21963
21964 Partial fix for PR testsuite/1456.
21965 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21966 calls to test_compiler_info.
21967
21968 2003-11-27 Mark Kettenis <kettenis@gnu.org>
21969
21970 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21971 pattern for the KFAILs.
21972
21973 2003-11-25 Adam Fedor <fedor@gnu.org>
21974
21975 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21976 * gdb.objc/objcdecode.m: New file.
21977
21978 2003-11-25 Adam Fedor <fedor@gnu.org>
21979
21980 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21981 * gdb.objc/nondebug.m: New file.
21982
21983 2003-11-26 Ben Elliston <bje@wasabisystems.com>
21984
21985 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21986 NetBSD as it does on FreeBSD. Modelled on a similar change by
21987 Mark Kettenis on 2003-05-30.
21988 (link-flags): Set to "--entry _start" regardless of target.
21989 Special linker flags are to be appended to $link-flags.
21990 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21991
21992 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21993
21994 * gdb.cp/method.exp: Accept output of new demangler.
21995
21996 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21997
21998 * gdb/class2.exp: New file.
21999 * gdb/class2.cc: New file.
22000
22001 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22002
22003 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22004 of new demangler.
22005
22006 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22007
22008 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22009 of gdb_test "run".
22010
22011 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22012
22013 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22014 "continue" into "run".
22015
22016 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22017
22018 Partial fix for PR testsuite/1456.
22019 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22020 call to test_compiler_info.
22021 * gdb.cp/ctti.exp: Likewise.
22022 * gdb.cp/derivation.exp: Likewise.
22023 * gdb.cp/member-ptr.exp: Likewise.
22024 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22025 reference to gcc_compiled.
22026
22027 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22028
22029 Fix PR testsuite/1463.
22030 * gdb.base/structs.exp (start_structs_test): Call
22031 get_debug_format before using the debug format.
22032
22033 2003-11-22 Andrew Cagney <cagney@redhat.com>
22034
22035 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22036 * gdb.base/structs.exp: Use gdb_test_multiple.
22037
22038 2003-11-20 Andrew Cagney <cagney@redhat.com>
22039
22040 * gdb.base/structs.exp: Handle and recover from internal errors.
22041 Replace "foo${n}" with "foo<n>" in test messages.
22042
22043 * gdb.base/structs.exp: Update copyright. Rewrite.
22044 * gdb.base/structs.c: Update copyright. Rewrite.
22045
22046 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22047 resync count exceeded.
22048
22049 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22050 from the internal error.
22051 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22052 Original from Jim Blandy.
22053 (gdb_test_multiple): Use gdb_internal_error_resync.
22054
22055 2003-11-19 Andrew Cagney <cagney@redhat.com>
22056
22057 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22058 KFAIL.
22059
22060 2003-11-17 Mark Kettenis <kettenis@gnu.org>
22061
22062 New testcase for PR backtrace/1435.
22063 * gdb.arch/i386-unwind.exp: New file.
22064 * gdb.arch/i386-unwind.c: New file.
22065
22066 2003-11-17 Andrew Cagney <cagney@redhat.com>
22067
22068 * lib/gdb.exp (compiler_info): New global.
22069 (test_compiler_info): New function.
22070 (get_compiler_info): Set compiler_info.
22071 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22072 "compiler_info" to gcc-<major>-<minor>.
22073
22074 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22075
22076 * gdb.trace/configure: Remove.
22077
22078 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
22079
22080 * gdb.base/break.c: Add comments to aid finding line numbers for
22081 breakpoints.
22082 * gdb.base/break.exp: Remove all references to explicit line
22083 numbers.
22084
22085 2003-11-11 Nick Clifton <nickc@redhat.com>
22086
22087 * gdb.base/shreloc.exp: Do not run for targets which do not
22088 support shared objects.
22089
22090 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
22091
22092 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22093 Don't run tests if nofileio flag is given.
22094
22095 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
22096
22097 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
22098 as well as 'Watchpoint'.
22099
22100 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22101
22102 Reported by Jim Ingham <jingham@apple.com>:
22103 * gdb.base/annota1.exp: Match at least one occurrence of the
22104 signal handler annotation.
22105
22106 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22107
22108 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22109 as well as 'Watchpoint'.
22110
22111 2003-11-05 Michael Chastain <mec@shout.net>
22112
22113 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22114
22115 2003-11-03 Kris Warkentin <kewarken@qnx.com>
22116
22117 * gdb.arch/gdb1291.c: New test file.
22118 * gdb.arch/gdb1291.exp: New test script.
22119 * gdb.arch/gdb1431.c: New test file.
22120 * gdb.arch/gdb1431.exp: New test script.
22121
22122 2003-10-22 Michael Chastain <mec@shout.net>
22123
22124 * gdb.mi/pthreads.c: Add copyright notice.
22125
22126 2003-10-22 Michael Chastain <mec@shout.net>
22127
22128 * gdb.threads/pthreads.c: Add copyright notice.
22129
22130 2003-10-20 Michael Chastain <mec@shout.net>
22131
22132 * gdb.base/gdb1056.exp: New test script.
22133
22134 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22135
22136 * gdb.threads/killed.exp: Use gdb_run_cmd.
22137
22138 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22139
22140 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22141 create a core file.
22142 * gdb.threads/gcore-thread.exp: Likewise.
22143
22144 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
22145
22146 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22147 type, based on char type.
22148 (struct bit_flags_short_t): New bitfield type, based on short type.
22149 (init_bit_flags_char): New fuction.
22150 (init_bit_flags_short): Ditto.
22151 (print_bit_flags_char): Ditto.
22152 (print_bit_flags_short): Ditto.
22153 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22154
22155 2003-10-11 Michael Chastain <mec@shout.net>
22156
22157 * gdb.base/call-rt-st.exp: Update copyright year.
22158
22159 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22160
22161 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22162 * gdb.disasm/sh3.s: Ditto.
22163
22164 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
22165
22166 * gdb.threads/switch-threads.exp: New test.
22167 * gdb.threads/switch-threads.c: New source file.
22168
22169 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
22170
22171 * gdb.base/ending-run.exp: Add sh specific case.
22172
22173 2003-10-06 Andrew Cagney <cagney@redhat.com>
22174
22175 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22176 * gdb.disasm/mn10200.exp: Delete obsolete file.
22177
22178 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
22179
22180 * ChangeLog: Correct an entry command.exp -> commands.exp.
22181 * gdb.base/commands.exp (bp_deleted_in_command_test)
22182 (temporary_breakpoint_commands): Check noargs.
22183
22184 2003-09-25 David Carlton <carlton@kealia.com>
22185
22186 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22187 of some print tests, where appropriate. Add tests for C::D::cd,
22188 E::ce, F::cXfX, G::XgX.
22189 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22190
22191 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
22192
22193 * lib/java.exp (java_init): Import target_alias before using it.
22194
22195 2003-09-25 David Carlton <carlton@kealia.com>
22196
22197 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22198
22199 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
22200
22201 * gdb.base/selftest.exp: Accomodate more instruction reordering
22202 weirdness.
22203
22204 2003-09-17 Michael Chastain <mec@shout.net>
22205
22206 * gdb.cp/gdb1355.exp: New file.
22207 * gdb.cp/gdb1355.c: New file.
22208
22209 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
22210
22211 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22212 * gdb.asm/sh.inc: New file.
22213
22214 2003-09-11 David Carlton <carlton@kealia.com>
22215
22216 * gdb.cp/namespace.exp: Add tests for namespace types.
22217 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
22218 (test_namespace): New.
22219
22220 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
22221
22222 * gdb.base/relocate.exp: Handle new gdb output at startup.
22223 * gdb.stabs/weird.exp: Ditto.
22224
22225 2003-09-08 Michael Chastain <mec@shout.net>
22226
22227 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22228
22229 2003-09-07 Michael Chastain <mec@shout.net>
22230
22231 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22232 'parse error'.
22233
22234 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22235
22236 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22237
22238 2003-08-30 Michael Chastain <mec@shout.net>
22239
22240 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22241 * gdb.gdb/observer.exp: Ditto.
22242 * gdb.gdb/xfullpath.exp: Ditto.
22243
22244 2003-08-29 Mark Kettenis <kettenis@gnu.org>
22245
22246 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22247 *-*-*bsd*.
22248
22249 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22250
22251 * gdb.base/dump.exp: Skip for ia64.
22252
22253 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22254
22255 * gdb.asm/asm-source.exp: Add ia64 support.
22256 * gdb.asm/ia64.inc: New file.
22257
22258 2003-08-22 Michael Chastain <mec@shout.net>
22259
22260 * gdb.cp: New directory.
22261 * gdb.cp/*: Copy from gdb.c++/*.
22262 * gdb.c++/*: Remove.
22263 * Makefile.in: Change gdb.c++ to gdb.cp.
22264 * configure.in: Ditto.
22265 * configure: Regnerate.
22266
22267 2003-08-18 Mark Kettenis <kettenis@gnu.org>
22268
22269 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22270 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22271
22272 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22273
22274 * mi-var-display.exp (-var-list-children weird): Accept function
22275 pointers with argument types.
22276 * mi1-var-display.exp (-var-list-children weird): Likewise.
22277 * mi2-var-display.exp (-var-list-children weird): Likewise.
22278
22279 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22280
22281 * gdb.base/annota3.exp: Add missing newline.
22282
22283 2003-08-06 Michael Chastain <mec@shout.net>
22284
22285 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22286
22287 2003-08-12 Michael Snyder <msnyder@redhat.com>
22288
22289 * gdb.base/float.exp: Add test for SH.
22290
22291 2003-08-10 Mark Kettenis <kettenis@gnu.org>
22292
22293 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22294
22295 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22296
22297 * gdb.base/completion.exp: Remove reduntant completion test
22298 on filename.
22299
22300 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22301
22302 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22303 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22304 gdb.trace/save-trace.exp: Make sure that full pathnames are
22305 escaped correctly.
22306
22307 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22308
22309 * configure.in: Don't generate config.h from config.hin.
22310 * configure: Regenerate.
22311 * config.hin: Remove file.
22312 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22313 * gdb.threads/pthreads.c: Ditto.
22314
22315 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
22316
22317 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22318 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22319 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22320 Replace ld24 with seth/add3.
22321
22322 2003-08-02 Andrew Cagney <cagney@redhat.com>
22323
22324 * gdb.base/annota3.exp: New file.
22325 * gdb.base/annota3.c: New file.
22326 * gdb.c++/annota3.exp: New file.
22327 * gdb.c++/annota3.cc: New file.
22328
22329 2003-07-29 Michael Chastain <mec@shout.net>
22330
22331 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22332 actually failed.
22333 (do_pass): Likewise.
22334 * gdb.threads/tls.exp: Always initialize no_of_threads.
22335
22336 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
22337
22338 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22339 pattern.
22340 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22341 * gdb.threads/tls.exp: Recognize one case of the host library not
22342 supporting TLS.
22343
22344 2003-07-27 Andrew Cagney <cagney@redhat.com>
22345
22346 * gdb.base/fileio.exp: Use SH when running commands using
22347 remote_exec.
22348
22349 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
22350
22351 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22352 * gdb.base/relocate.c (dummy): New padding array.
22353
22354 2003-07-22 Michael Snyder <msnyder@redhat.com>
22355
22356 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
22357
22358 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22359 patterns to be more general, accepting old and new output.
22360 Some output chars (such as '+') also must be quoted.
22361 Some addresses are displayed numerically instead of
22362 symbolically.
22363
22364 2003-07-23 Michael Snyder <msnyder@redhat.com>
22365
22366 * gdb.base/return2.exp: Don't test long-long return.
22367
22368 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22369 * gdb.disasm/t01_mov.exp: Ditto.
22370 * gdb.disasm/t02_mova.s: Ditto.
22371 * gdb.disasm/t02_mova.exp: Ditto.
22372 * gdb.disasm/t03_add.s: Ditto.
22373 * gdb.disasm/t03_add.exp: Ditto.
22374 * gdb.disasm/t04_sub.s: Ditto.
22375 * gdb.disasm/t04_sub.exp: Ditto.
22376 * gdb.disasm/t05_cmp.s: Ditto.
22377 * gdb.disasm/t05_cmp.exp: Ditto.
22378 * gdb.disasm/t06_ari2.s: Ditto.
22379 * gdb.disasm/t06_ari2.exp: Ditto.
22380 * gdb.disasm/t07_ari3.s: Ditto.
22381 * gdb.disasm/t07_ari3.exp: Ditto.
22382 * gdb.disasm/t08_or.s: Ditto.
22383 * gdb.disasm/t08_or.exp: Ditto.
22384 * gdb.disasm/t09_xor.s: Ditto.
22385 * gdb.disasm/t09_xor.exp: Ditto.
22386 * gdb.disasm/t10_and.s: Ditto.
22387 * gdb.disasm/t10_and.exp: Ditto.
22388 * gdb.disasm/t11_logs.s: Ditto.
22389 * gdb.disasm/t11_logs.exp: Ditto.
22390 * gdb.disasm/t12_bit.s: Ditto.
22391 * gdb.disasm/t12_bit.exp: Ditto.
22392 * gdb.disasm/t13_otr.s: Ditto.
22393 * gdb.disasm/t13_otr.exp: Ditto.
22394
22395 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22396
22397 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22398
22399 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22400
22401 * gdb.threads/tls.c : New file.
22402 * gdb.threads/tls.exp : New file.
22403 * gdb.threads/tls-main.c : New file.
22404 * gdb.threads/tls-shared.c : New file.
22405 * gdb.threads/tls-shared.exp : New file.
22406
22407 2003-07-22 Andreas Schwab <schwab@suse.de>
22408
22409 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22410
22411 2003-07-20 Andreas Schwab <schwab@suse.de>
22412
22413 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22414 due to insn reordering.
22415
22416 2003-07-15 Andrew Cagney <cagney@redhat.com>
22417
22418 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22419
22420 2003-07-15 Michael Chastain <mec@shout.net>
22421
22422 * gdb.base/gdb1250.exp: New file.
22423 * gdb.base/gdb1250.c: New file.
22424
22425 2003-07-09 Michal Ludvig <mludvig@suse.cz>
22426
22427 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22428 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22429
22430 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22431
22432 * gdb.threads/tls.c: New file.
22433 * gdb.threads/tls.exp: New file.
22434 * gdb.threads/tls-main.c: New file.
22435 * gdb.threads/tls-shared.c: New file.
22436 * gdb.threads/tls-shared.exp: New file.
22437
22438 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22439
22440 * gdb.base/annota1.exp: Make sure that we properly escape the
22441 full path of the source file. Xfail more permissive patterns,
22442 due to a compiler debug info problem.
22443
22444 2003-07-07 Andreas Schwab <schwab@suse.de>
22445
22446 * gdb.asm/m68k.inc: New file.
22447 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22448
22449 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22450 arguments"): Also match negative number.
22451
22452 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22453
22454 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
22455
22456 * gdb.base/store.c (charest): New typedef.
22457 (add_char): Rename to add_charest, update.
22458 (wack_char): Rename to wack_charest, update types. Return l + r
22459 to keep r live across the call.
22460 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22461 (wack_double, wack_doublest): Return l + r to keep r live across
22462 the call.
22463 * gdb.base/store.exp: Accomodate store.c changes.
22464
22465 2003-06-30 David Carlton <carlton@kealia.com>
22466
22467 * gdb.c++/maint.exp (test_invalid_name): New.
22468 (test_first_component): Add tests for invalid names.
22469
22470 2003-06-29 Michael Chastain <mec@shout.net>
22471
22472 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22473 output of '<VTT for class>' for virtual base classes.
22474
22475 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22476
22477 * gdb.base/completion.exp: Tab-complete "complet" instead of
22478 "compl".
22479 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22480
22481 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22482
22483 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22484 * gdb.base/volatile.exp: Likewise.
22485
22486 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22487
22488 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22489 gdb/1265.
22490
22491 2003-06-28 Michael Chastain <mec@shout.net>
22492 Daniel Jacobowitz <drow@mvista.com>
22493
22494 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22495 initial line count of 'captured_main' from 26 to 32.
22496 (test_with_self): Allow xmalloc call to be interleaved with the
22497 preceding two lines.
22498
22499 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22500
22501 * gdb.base/bang.exp: New testcase.
22502
22503 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22504
22505 * gdb.base/langs.exp: Add some tests for the "minimal" language
22506 support.
22507
22508 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22509
22510 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22511 the testcase.
22512
22513 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22514
22515 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22516 offset.
22517
22518 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22519
22520 * gdb.c++/pr-1210.cc: New file.
22521 * gdb.c++/pr-1210.exp: New file.
22522
22523 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
22524
22525 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22526 000-exec-continue.
22527
22528 2003-06-15 Mark Kettenis <kettenis@gnu.org>
22529
22530 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22531 on *-*-*bsd* instead of *-*-freebsd*.
22532
22533 2003-06-14 Andrew Cagney <cagney@redhat.com>
22534
22535 * gdb.base/store.exp: Test longest and doublest. Test all
22536 parameters. Weaken return statement match.
22537 * gdb.base/store.c: Add longest and doublest - aka long long and
22538 long double functions. Put all parameters into local register
22539 variables. Use negative values.
22540
22541 2003-06-14 Andrew Cagney <cagney@redhat.com>
22542
22543 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22544 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22545 exit status.
22546 * gdb.base/fileio.exp: Disable target when nointerrupts and
22547 noinferiorio, instead of limiting it to remote. Use remote_exec
22548 instead of system.
22549
22550 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22551
22552 * gdb.base/float.exp: Add ia64 support.
22553
22554 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22555
22556 * gdb.base/fileio.exp: Run only on remote targets.
22557
22558 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22559
22560 * gdb.base/fileio.c: New file, testing File-I/O.
22561 * gdb.base/fileio.exp: Ditto.
22562
22563 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22564
22565 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22566 shared objects after relocation at load time (gdb PR/1132).
22567 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22568 as above, part of the shared object relocation test.
22569
22570 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22571
22572 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22573 fully filled history list.
22574 * gdb.base/gdb_history: New file.
22575
22576 * gdb.base/signals.exp: XFAIL "continue to func1" on
22577 i*86-*-freebsd*.
22578
22579 * gdb.base/attach.exp: When trying to attach to a nonexistent
22580 process, make it possible to specify the PID based on the target,
22581 and do so for *-*-freebsd*.
22582
22583 2003-06-02 Richard Henderson <rth@redhat.com>
22584
22585 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22586
22587 2003-06-02 Richard Henderson <rth@redhat.com>
22588
22589 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22590
22591 2003-06-02 Richard Henderson <rth@redhat.com>
22592
22593 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22594
22595 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22596
22597 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22598 of globalvar.
22599
22600 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22601
22602 * gdb.asm/asm-source.exp: Check for memory read errors in
22603 disassembler test on *BSD too.
22604
22605 2003-06-01 Richard Henderson <rth@redhat.com>
22606
22607 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22608 for .frame.
22609 (gdbasm_call): Lose ldgp.
22610 (gdbasm_startup): Add frame information.
22611 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22612
22613 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22614
22615 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22616 i?86-*-*.
22617
22618 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22619
22620 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22621 FreeBSD.
22622
22623 2003-05-29 Richard Henderson <rth@redhat.com>
22624
22625 * gdb.asm/alpha.inc: New file.
22626 * gdb.asm/asm-source.exp: Use it.
22627
22628 2003-05-29 Jim Blandy <jimb@redhat.com>
22629
22630 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22631 'core.PID'.
22632
22633 2003-05-22 Jim Blandy <jimb@redhat.com>
22634
22635 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22636 backtrace.
22637
22638 2003-05-20 David Carlton <carlton@math.stanford.edu>
22639
22640 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22641 this time.
22642
22643 2003-05-19 David Carlton <carlton@bactrian.org>
22644
22645 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22646 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22647
22648 2003-05-19 David Carlton <carlton@bactrian.org>
22649
22650 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22651 namespace tests.
22652 Bump copyright date.
22653 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22654 (main): Call C::D::marker2.
22655 * gdb.c++/namespace1.cc: New file.
22656
22657 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22658
22659 Roland McGrath <roland@redhat.com>
22660 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22661 there is no manager thread.
22662
22663 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22664
22665 * gdb.threads/schedlock.exp: Remove assumption that all threads
22666 will run in a particular small time slice. Also ensure we break
22667 in one of the child threads rather than the main thread.
22668
22669 2003-05-07 Jim Blandy <jimb@redhat.com>
22670
22671 Add support for assembly source testing on the s390x.
22672 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22673 architecture.
22674 * gdb.asm/s390x.inc: New file.
22675
22676 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22677 succession of 'if' statements.
22678
22679 2003-05-05 Andrew Cagney <cagney@redhat.com>
22680
22681 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22682
22683 2003-05-05 Andrew Cagney <cagney@redhat.com>
22684
22685 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22686 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22687
22688 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22689
22690 * gdb.base/charset.exp: Update based on new behavior of set/show
22691 charset commands.
22692
22693 2003-05-01 Andrew Cagney <cagney@redhat.com>
22694
22695 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22696 variable do not give memory errors.
22697
22698 2003-04-30 Adam Fedor <fedor@gnu.org>
22699
22700 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22701 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22702 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22703 gdb.objc/basicclass.m: : New files
22704
22705 * lib/gdb.exp (gdb_compile_objc): New procedure.
22706
22707 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22708
22709 * gdb.base/signals.exp: Make backtrace tests more specific.
22710
22711 2003-04-23 David Carlton <carlton@bactrian.org>
22712
22713 * gdb.c++/maint.exp (test_first_component): Add tests for
22714 'operator' in more locations.
22715
22716 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22717
22718 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22719
22720 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22721
22722 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22723 func marke' instead. Update test name.
22724
22725 2003-04-15 David Carlton <carlton@math.stanford.edu>
22726
22727 * gdb.c++/maint.exp: New file.
22728
22729 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22730
22731 * gdb.threads/schedlock.c: Change type of thread function argument
22732 to long, to avoid warnings on 64-bit platforms.
22733
22734 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22735
22736 * gdb.base/attach.exp: Add new message from ptrace in case of
22737 attaching to nonexistent process.
22738
22739 2003-04-11 Jim Blandy <jimb@redhat.com>
22740
22741 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22742 gdb.c++/userdef.cc: Place comments on the lines to which the
22743 marker function might return.
22744 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22745 gdb.c++/userdef.exp: Look for those comments to check that we've
22746 returned to the right place, instead of checking line numbers.
22747
22748 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
22749
22750 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22751 match on sourcefile name, instead of directory name.
22752
22753 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
22754
22755 * gdb.base/completion.exp: Use string_to_regexp to match the
22756 working directory name.
22757
22758 2003-04-09 Jim Blandy <jimb@redhat.com>
22759
22760 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22761 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22762 after an inferior function call, report the failure, but allow the
22763 test to continue.
22764
22765 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22766
22767 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22768 with -DPROTOTYPES.
22769
22770 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22771
22772 * gdb.base/break.exp: Revert last patch.
22773
22774 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22775
22776 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22777 with -DPROTOTYPES.
22778
22779 2003-04-02 Andrew Cagney <cagney@redhat.com>
22780
22781 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22782 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22783 matching directories by the name breakpoint.
22784 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22785 Make "continue to marker1" consistent.
22786 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22787 message consistent.
22788 * lib/gdb.exp: Put "the program is no longer running", and "the
22789 program exited" in parenthesis.
22790 * lib/mi-support.exp: Ditto.
22791
22792 2003-04-02 Bob Rossi <bob_rossi@cox.net>
22793
22794 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22795
22796 2003-03-29 Andrew Cagney <cagney@redhat.com>
22797
22798 * gdb.base/sizeof.c (main): Print the value of '\377'.
22799 * gdb.base/sizeof.exp: Check the sign of '\377'.
22800
22801 2003-03-27 Michael Chastain <mec@shout.net>
22802
22803 * gdb.base/gdb1090.exp: New file.
22804 * gdb.base/gdb1090.cc: New file.
22805
22806 2003-03-27 J. Brobecker <brobecker@gnat.com>
22807
22808 * gdb.gdb/observer.exp: New regression test.
22809
22810 2003-03-27 Michael Chastain <mec@shout.net>
22811
22812 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22813 * gdb.base/ptype.exp: Likewise.
22814
22815 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
22816
22817 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22818
22819 2003-03-26 Michael Chastain <mec@shout.net>
22820
22821 * gdb.base/ptype.exp: Actually use some typedef'd types.
22822
22823 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22824
22825 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22826 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22827
22828 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22829
22830 * gdb.base/default.exp: Fix regular expression.
22831
22832 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22833
22834 * gdb.base/args.exp: Fix regular expression.
22835
22836 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22837
22838 * gdb.base/help.exp: Allow Win32 child process.
22839
22840 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22841
22842 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22843 when stepping out of main().
22844
22845 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22846
22847 * gdb.base/default.exp: Check for win32 specific message when calling
22848 "run" without executable.
22849
22850 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22851
22852 * gdb.base/args.exp: Expect .exe in output.
22853
22854 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22855
22856 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22857 Cygwin native.
22858
22859 2003-03-17 Andrew Cagney <cagney@redhat.com>
22860
22861 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22862 vector registes.
22863 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22864 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22865
22866 2003-03-17 David Carlton <carlton@math.stanford.edu>
22867
22868 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22869 test, for PR breakpoints/38.
22870 Call test_watchpoint_and_breakpoint.
22871 * gdb.base/watchpoint.c (func3): New function.
22872 (main): Call func3.
22873
22874 2003-03-04 David Carlton <carlton@math.stanford.edu>
22875
22876 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22877 Garply<Garply<char> >:: garply".
22878 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22879 with respect to PR c++/1111; note also PR c++/1113.
22880 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22881 respect to PR c++/1062.
22882 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22883
22884 2003-03-03 David Carlton <carlton@math.stanford.edu>
22885
22886 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22887 with respect to PR c++/57.
22888 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22889 c++/826.
22890 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22891 respect to PR c++/57.
22892
22893 2003-03-03 David Carlton <carlton@math.stanford.edu>
22894
22895 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22896 respect to PR c++/33 into FAILs.
22897
22898 2003-03-03 Michael Chastain <mec@shout.net>
22899
22900 * configure.in: Update copyright years.
22901
22902 2003-03-03 Michael Chastain <mec@shout.net>
22903
22904 * Makefile.in: Update copyright years.
22905
22906 2003-02-28 David Carlton <carlton@math.stanford.edu>
22907
22908 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22909 print class instead of struct and/or superfluous protection
22910 specifiers, as long as the resulting output is equivalent to the
22911 source code.
22912 Delete FIXME from end of messages on tests that don't need
22913 fixing.
22914
22915 2003-02-28 David Carlton <carlton@math.stanford.edu>
22916
22917 * gdb.c++/templates.exp (do_tests): Allow const in the two
22918 Foo<volatile char *>::foo tests.
22919
22920 2003-02-27 Michael Snyder <msnyder@redhat.com>
22921
22922 * gdb.base/restore.c (main): Return zero, so exit code
22923 will be consistant.
22924
22925 2003-02-26 David Carlton <carlton@math.stanford.edu>
22926
22927 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22928 char *>::foo" test with respect to PR c++/33. Create a new test
22929 which is identical to that one except that it doesn't put the
22930 space between the "char" and the "*"; KFAIL it, too.
22931
22932 2003-02-26 David Carlton <carlton@math.stanford.edu>
22933
22934 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22935 template types into either PASSes or KFAILs (corresponding to PR
22936 c++/57). Tweak indentation. Update copyright.
22937
22938 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22939
22940 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22941
22942 2003-02-13 Michael Chastain <mec@shout.net>
22943
22944 * gdb.base/exprs.exp: Remove i960 remnants.
22945 * gdb.base/funcargs.exp: Likewise.
22946 * gdb.base/list.exp: Likewise.
22947 * gdb.base/ptype.exp: Likewise.
22948
22949 2003-02-14 David Carlton <carlton@math.stanford.edu>
22950
22951 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22952 pEe->D::vg()" from XFAIL to KFAIL.
22953
22954 2003-02-13 Jason Molenda (jmolenda@apple.com)
22955
22956 * gdb.base/maint.exp: Update maint print statistics regexp to include
22957 new entries.
22958
22959 2003-02-13 Michael Chastain <mec@shout.net>
22960
22961 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22962
22963 2003-02-12 Michael Chastain <mec@shout.net>
22964
22965 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22966 * gdb.c++/inherit.exp: Likewise.
22967 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22968 * gdb.c++/templates.exp: Likewise.
22969 * gdb.c++/virtfunc.exp: Likewise.
22970
22971 2003-02-06 Jason Molenda (jason-cl@molenda.com)
22972
22973 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22974 why the code is written that way.
22975
22976 2003-02-05 Michael Chastain <mec@shout.net>
22977
22978 * gdb.base/dump.exp: Add missing copyright line.
22979
22980 2003-02-05 Jason Molenda (jason-cl@molenda.com)
22981
22982 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22983 at the beginning so the breakpoint doesn't get set on the loop.
22984
22985 2003-02-05 Michael Chastain <mec@shout.net>
22986
22987 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22988 output for configurations with gcc 2.95.3.
22989
22990 2003-02-05 Keith Seitz <keiths@redhat.com>
22991 Andrew Cagney <ac131313@redhat.com>
22992
22993 * gdb.mi/mi-cli.exp: New file.
22994
22995 2003-02-04 Michael Chastain <mec@shout.net>
22996
22997 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22998 Call perror and then continue.
22999
23000 2003-02-03 Michael Chastain <mec@shout.net>
23001
23002 * gdb.c++/pr-1023.cc: New file.
23003 * gdb.c++/pr-1023.exp: New file.
23004
23005 2003-02-05 Jim Blandy <jimb@redhat.com>
23006
23007 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23008 it's local to foobar. Check for it there, and check that it's not
23009 present in main.
23010 * gdb.c++/local.cc (marker2): New function.
23011 (foobar): Call marker1.
23012 (main): Call marker2 instead of marker1.
23013
23014 2003-02-04 Andrew Cagney <ac131313@redhat.com>
23015
23016 * gdb.disasm/mn10200.exp: Obsolete file.
23017 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23018 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23019 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23020
23021 2003-02-04 David Carlton <carlton@math.stanford.edu>
23022
23023 * gdb.c++/overload.exp: Test intToChar(1).
23024 * gdb.c++/overload.cc (intToChar): New.
23025 (main): Call intToChar.
23026
23027 2003-02-03 David Carlton <carlton@math.stanford.edu>
23028
23029 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23030 'might_kfail' arg.
23031 KFAIL some of the continue_to_bp_overloaded calls, according to
23032 PR c++/1025.
23033
23034 2003-02-01 Michael Chastain <mec@shout.net>
23035
23036 * gdb.base/advance.c (marker1): New marker function.
23037 * gdb.base/advance.exp: When the 'advance' command lands on the
23038 return breakpoint, it can legitimately stop on either the
23039 current line or the next line. Accommodate both outcomes.
23040 * gdb.base/until.exp: Likewise.
23041
23042 2003-02-02 Andrew Cagney <ac131313@redhat.com>
23043
23044 2002-11-10 Jason Molenda (jason-cl@molenda.com):
23045 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23046 now a list, not a tuple.
23047 * gdb.mi/mi-var-display.exp: Ditto.
23048 * gdb.mi/gdb792.exp: Ditto.
23049
23050 2003-02-01 Andrew Cagney <ac131313@redhat.com>
23051
23052 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
23053 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23054 stack backtraces.
23055 * gdb.mi/mi-syn-frame.c: Part of same.
23056
23057 2003-02-01 Mark Kettenis <kettenis@gnu.org>
23058
23059 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23060 gdb.mi/mi1-pthreads.exp: Return instead of calling
23061 gdb_suppress_entire_file.
23062
23063 2003-02-01 Mark Salter <msalter@redhat.com>
23064
23065 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23066
23067 2003-01-31 Mark Salter <msalter@redhat.com>
23068
23069 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23070 Support empty arg.
23071
23072 2003-01-30 Michael Chastain <mec@shout.net>
23073
23074 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23075 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23076 has been fixed in gdb/readline on 2003-01-09.
23077
23078 2003-01-29 Michael Snyder <msnyder@redhat.com>
23079
23080 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23081 * gdb.base/display.exp: Allow for leading underscore in symbol.
23082 * gdb.base/args.exp: Skip if target does not support args passing.
23083
23084 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
23085
23086 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
23087 gdb_test. Accept a list of expect arguments as the third
23088 parameter.
23089 (gdb_test): Use it.
23090
23091 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
23092
23093 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23094 allow for different test tree configurations. Update some
23095 tescases accordingly.
23096 * gdb.arch/altivec-regs.exp: Ditto.
23097 * gdb.asm/asm-source.exp: Ditto.
23098 * gdb.base/advance.exp: Ditto.
23099 * gdb.base/display.exp: Ditto.
23100 * gdb.base/long_long.exp: Ditto.
23101 * gdb.base/mips_pro.exp: Ditto.
23102 * gdb.base/overlays.exp: Ditto.
23103 * gdb.base/relocate.exp: Ditto.
23104 * gdb.base/setshow.exp: Ditto.
23105 * gdb.base/step-line.exp: Ditto.
23106 * gdb.base/step-test.exp: Ditto.
23107 * gdb.base/until.exp: Ditto.
23108 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23109
23110 2003-01-17 David Carlton <carlton@math.stanford.edu>
23111
23112 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23113 corresponding to PR c++/945.
23114 Update copyright.
23115
23116 2003-01-17 David Carlton <carlton@math.stanford.edu>
23117
23118 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23119 corresponding to PR c++/68.
23120
23121 2003-01-17 David Carlton <carlton@math.stanford.edu>
23122
23123 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23124 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23125 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23126
23127 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23128
23129 * gdb.base/break.exp: Fix change of default location, because of
23130 removal of until tests.
23131 * gdb.base/help.exp: Update test for new 'until' help message.
23132 Add test for help on 'advance'.
23133 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
23134
23135 2003-01-15 Mark Kettenis <kettenis@gnu.org>
23136
23137 * gdb.base/default.exp: Adapt "info float" test for recent changes
23138 to that command. Add test for "info vector".
23139 * gdb.base/float.exp: New file. Add test for "info float" that
23140 resembles the old test in gdb.base/default.exp.
23141
23142 2003-01-15 David Carlton <carlton@math.stanford.edu>
23143
23144 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23145
23146 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23147
23148 * gdb.base/break.exp: Move the tests of until command from here...
23149 * gdb.base/until.exp: ... to here. New file. Add other tests.
23150 * gdb.base/advance.c: New file.
23151 * gdb.base/advance.exp: New file.
23152
23153 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
23154
23155 * gdb.base/args.c: New file.
23156 * gdb.base/args.exp: New file.
23157
23158 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23159
23160 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23161
23162 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23163
23164 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23165
23166 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23167
23168 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23169 dates.
23170
23171 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23172
23173 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23174
23175 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23176
23177 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23178 (ptype &*"foo").
23179 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23180
23181 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23182
23183 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23184 * gdb.mi/mi1-console.exp: Likewise.
23185
23186 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23187
23188 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23189 * gdb.mi/mi1-console.exp: Likewise.
23190
23191 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23192
23193 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23194
23195 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23196
23197 * gdb.base/detach.exp: New test.
23198
23199 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23200
23201 * Makefile.in (ALL_SUBDIRS): New variable.
23202 (subdirs, clean, distclean): Use it.
23203 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23204 regenerating Makefile, since it is generated from the top level.
23205 * gdb.asm/Makefile.in: Likewise.
23206 * gdb.base/Makefile.in: Likewise.
23207 * gdb.c++/Makefile.in: Likewise.
23208 * gdb.disasm/Makefile.in: Likewise.
23209 * gdb.java/Makefile.in: Likewise.
23210 * gdb.mi/Makefile.in: Likewise.
23211 * gdb.threads/Makefile.in: Likewise.
23212 * gdb.trace/Makefile.in: Likewise.
23213
23214 2003-01-09 David Carlton <carlton@math.stanford.edu>
23215
23216 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23217 Add copyright year 2003.
23218
23219 2003-01-06 Michael Chastain <mec@shout.net>
23220
23221 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23222 When selecting a thread, 'line' and 'file' are optional.
23223 * gdb.mi/mi1-pthreads.exp: Likewise.
23224
23225 2003-01-06 Andreas Schwab <schwab@suse.de>
23226
23227 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23228 failures.
23229
23230 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23231
23232 Fix PR gdb/844
23233 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23234 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23235
23236 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23237 instead of calling gdb_suppress_entire_file.
23238 * gdb.threads/print-threads.exp: Likewise.
23239 * gdb.threads/schedlock.exp: Likewise.
23240
23241 * gdb.threads/killed.exp: Return instead of calling
23242 gdb_suppress_entire_file.
23243 * gdb.threads/linux-dp.exp: Likewise.
23244 * gdb.threads/pthreads.exp: Likewise.
23245
23246 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23247
23248 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23249 stabs.
23250 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23251 * gdb.base/whatis.exp: Always allow (void) after function names.
23252
23253 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23254
23255 * gdb.c++/casts.exp: Correct regexp.
23256
23257 2003-01-04 Mark Kettenis <kettenis@gnu.org>
23258
23259 * configure.in: Call AC_CONFIG_HEADER. Don't call
23260 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23261 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23262 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23263 aforementioned directories in the AC_OUPUT call.
23264 * config.hin: New file.
23265 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23266 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23267 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23268 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23269 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23270 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23271 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23272 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23273 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23274 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23275 gdb.threads/configure.in, gdb.threads/configure,
23276 gdb.threads/config.in, gdb.trace/configure.in,
23277 gdb.trace/configure: Removed.
23278
23279 2003-01-03 Michael Chastain <mec@shout.net>
23280
23281 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23282 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23283
23284 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
23285
23286 * gdb.base/store.exp: Fix regular expressions.
23287
23288 2002-12-28 Mark Kettenis <kettenis@gnu.org>
23289
23290 * configure.in: Rewrite.
23291 * configure: Regenerated.
23292
23293 2003-01-03 David Carlton <carlton@math.stanford.edu>
23294
23295 * gdb.base/psymtab.exp: New file.
23296 * gdb.base/psymtab1.c: Ditto.
23297 * gdb.base/psymtab2.c: Ditto.
23298
23299 2002-12-23 Adam Fedor <fedor@gnu.org>
23300
23301 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23302
23303 2002-12-23 David Carlton <carlton@math.stanford.edu>
23304
23305 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23306 and current_directory initialization.
23307
23308 2002-12-22 Jim Blandy <jimb@redhat.com>
23309
23310 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23311 rather than as part of the output file name.
23312
23313 * gdb.base/attach.exp: There's no need to copy the test program to
23314 /tmp; that was only ever necessary on HP/UX, and this test is
23315 entirely disabled there anyway.
23316
23317 2002-12-21 Jim Blandy <jimb@redhat.com>
23318
23319 * gdb.c++/psmang.exp: Doc fix.
23320
23321 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23322 test.
23323
23324 2002-12-20 David Carlton <carlton@math.stanford.edu>
23325
23326 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23327
23328 2002-12-18 Michael Chastain <mec@shout.net>
23329
23330 * gdb.c++/annota2.exp: Add copyright year 2002.
23331
23332 2002-12-17 David Carlton <carlton@math.stanford.edu>
23333
23334 * gdb.c++/try_catch.cc: Add marker comments.
23335 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23336 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23337 * gdb.c++/m-static.cc: Ditto.
23338 * gdb.c++/m-static1.cc: Ditto.
23339 * gdb.c++/try_catch.cc: Ditto.
23340
23341 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23342
23343 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23344 to see whether we are using the new -environment-directory
23345 command which resets via -r or the old version of the command
23346 which may prompt the user. Part of fix for gdb/741.
23347
23348 2002-12-13 Andrew Cagney <ac131313@redhat.com>
23349
23350 * gdb.fortran/types.exp: Update obsolete comment.
23351 * gdb.fortran/exprs.exp: Ditto.
23352 * lib/gdb.exp: Delete obsolete code.
23353 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23354 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23355 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23356 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23357 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23358 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23359 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23360 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23361 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23362 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23363 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23364 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23365 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23366 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23367 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23368 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23369 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23370 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23371 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23372 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23373 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23374 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23375 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23376 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23377 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23378 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23379 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23380 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23381 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23382 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23383 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23384 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23385 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23386 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23387 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23388 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23389 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23390
23391 2002-12-11 David Carlton <carlton@math.stanford.edu>
23392
23393 * gdb.c++/m-data.exp: Add test for members that shadow global
23394 variables: see PR gdb/804.
23395 * gdb.c++/m-data.cc: Ditto.
23396
23397 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
23398
23399 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23400
23401 2002-12-06 David Carlton <carlton@math.stanford.edu>
23402
23403 * gdb.base/store.c: Don't declare functions static.
23404
23405 2002-12-04 Andrew Cagney <ac131313@redhat.com>
23406
23407 * gdb.base/store.exp, gdb.base/store.c: New files.
23408
23409 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23410
23411 * gdb.base/selftest.exp: Update for current gdb.
23412
23413 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23414
23415 * gdb.base/maint.exp: Only dump symbols from one source file
23416 or objfile.
23417
23418 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23419
23420 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23421 function call.
23422
23423 2002-11-25 Jim Blandy <jimb@redhat.com>
23424
23425 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23426 function appearing in error message.
23427
23428 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
23429
23430 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23431
23432 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23433
23434 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23435 for mi1 and current mi is in correct format. New mi startup message
23436 should be in mi console format. This is part of fix for PR gdb/604.
23437
23438 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23439
23440 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23441 which explicitly prints the zero offset as "+0".
23442
23443 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
23444
23445 * gdb.threads/schedlock.c (args): Make unsigned.
23446
23447 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
23448
23449 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23450 numbers. Allow "foo2|selected stack frame".
23451 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23452 * gdb.asm/asmsrc2.s: Likewise.
23453 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23454 comments.
23455 * gdb.asm/mips.inc: New file.
23456
23457 2002-10-18 Adam Fedor <fedor@gnu.org>
23458
23459 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23460 * gdb.base/help.exp: Likewise.
23461
23462 2002-10-17 Kevin Buettner <kevinb@redhat.com>
23463
23464 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23465 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23466
23467 2002-10-02 Jim Blandy <jimb@redhat.com>
23468
23469 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23470
23471 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23472
23473 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23474 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23475 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23476 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23477 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23478 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23479 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23480
23481 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23482
23483 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23484 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23485 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23486 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23487 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23488 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23489 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23490
23491 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23492
23493 * gdb.base/annota1.exp (info break): Make directory components of
23494 path optional since not all compilers emit this debug information.
23495
23496 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23497 step ends up stepping out of the function instead of stopping on
23498 the epilogue.
23499
23500 2002-09-26 Keith Seitz <keiths@redhat.com>
23501
23502 * lib/insight-support.exp (gdbtk_start): Figure out where
23503 the insight executable is based on where gdb is. Use this
23504 executable to start insight instead of gdb.
23505
23506 2002-09-25 Andrew Cagney <cagney@redhat.com>
23507
23508 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23509
23510 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23511
23512 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23513 test_isolated_complaints.
23514 (test_empty_complaint): New function.
23515 (test_empty_complaints): New function. Check no output when no
23516 complaints.
23517
23518 2002-09-19 Jim Blandy <jimb@redhat.com>
23519
23520 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23521
23522 2002-09-19 Andrew Cagney <ac131313@redhat.com>
23523
23524 * gdb.gdb/complaints.exp: New file.
23525
23526 2002-09-18 Andrew Cagney <ac131313@redhat.com>
23527
23528 * gdb.base/maint.exp: Check `help maint internal-warning'.
23529
23530 2002-09-18 David Carlton <carlton@math.stanford.edu>
23531
23532 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23533 numbers, and replace them by a single breakpoint after the
23534 constructors are all finished.
23535 Add test 4.
23536 * gdb.c++/m-static.cc: Add test 4.
23537 * gdb.c++/m-static.h: New file.
23538 * gdb.c++/m-static1.cc: New file.
23539
23540 * gdb.c++/printmethod.exp: New file.
23541 * gdb.c++/printmethod.cc: New file.
23542
23543 * gdb.c++/pr-574.exp: New file.
23544 * gdb.c++/pr-574.cc: New file.
23545
23546 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23547
23548 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23549 embedded targets which never actually exit.
23550
23551 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23552
23553 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23554 "don't step after run" as unresolved or unsupported, instead of xfail.
23555
23556 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23557
23558 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23559 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23560 Add newline to expected string in "step out of main (status wrapper)"
23561 case.
23562
23563 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23564
23565 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23566 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23567
23568 2002-09-17 Tom Tromey <tromey@redhat.com>
23569
23570 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23571 \000, not \0, in double-quoted string.
23572
23573 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23574
23575 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23576 string after running the commands execution on breakpoint tests.
23577
23578 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23579
23580 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23581
23582 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23583
23584 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23585
23586 2002-09-10 Keith Seitz <keiths@redhat.com>
23587
23588 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23589 runto proc.
23590 (mi_run_to_main): Use mi_runto.
23591 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23592
23593 2002-09-10 Keith Seitz <keiths@redhat.com>
23594
23595 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23596 regexp for stopping at main. Could have multiple event notifications.
23597 Don't assume that main was declared with no parameters.
23598 (mi_next): Use mi_step_to.
23599 (mi_step): Use mi_next_to.
23600
23601 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23602
23603 * gdb.base/default.exp: Fix expected string in `info float' test.
23604
23605 2002-09-09 Ben Elliston <bje@redhat.com>
23606
23607 * config/mips.exp: Update comments.
23608 * config/mips-idt.exp: Likewise.
23609 * config/nind.exp: Likewise.
23610 * config/slite.exp: Likewise.
23611 * config/sparclet.exp: Likewise.
23612 * config/udi.exp: Likewise.
23613 * config/vx.exp: Likewise.
23614 * config/vxworks29k.exp: Likewise.
23615
23616 2002-09-05 Jim Blandy <jimb@redhat.com>
23617
23618 * gdb.threads/killed.exp: Fix test failure message.
23619
23620 2002-09-04 Keith Seitz <keiths@redhat.com>
23621
23622 * lib/mi-support.exp: Update copyright.
23623 (mi_gdb_test): Increase the priority of the expected pattern
23624 so that it matches gdb_test.
23625
23626 2002-09-03 Keith Seitz <keiths@redhat.com>
23627
23628 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23629 Use integer comparison instead of string comparison for testing
23630 whether binary was built.
23631
23632 2002-09-03 Jim Blandy <jimb@redhat.com>
23633
23634 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23635
23636 2002-08-29 Jim Blandy <jimb@redhat.com>
23637
23638 * gdb.threads/pthreads.exp: Move the portable thread compilation
23639 code into a function in lib/gdb.exp, and call that from here.
23640 * lib/gdb.exp (gdb_compile_pthreads): New function.
23641
23642 2002-08-29 Keith Seitz <keiths@redhat.com>
23643
23644 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23645 expect_out so that callers can get at it.
23646
23647 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23648
23649 * gdb.threads/print-threads.c: New file.
23650 * gdb.threads/print-threads.exp: New file.
23651 * gdb.threads/schedlock.c: New file.
23652 * gdb.threads/schedlock.exp: New file.
23653
23654 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23655
23656 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23657 not altivec.c.
23658
23659 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23660
23661 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23662 targets. The problem should be fixed now.
23663
23664 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23665
23666 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23667 2002-07-24 change that removes final dots from error messages.
23668
23669 2002-08-13 Tom Tromey <tromey@redhat.com>
23670
23671 * gdb.base/readline.exp: New file.
23672
23673 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23674
23675 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23676 supress message.
23677
23678 2002-08-01 Andrew Cagney <cagney@redhat.com>
23679
23680 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23681 CHILL_FOR_TARGET and CHILL_LIB.
23682 * configure.in (configdirs): Remove gdb.chill.
23683 * configure: Regenerate.
23684 * lib/gdb.exp: Obsolete references to chill.
23685 * gdb.fortran/types.exp: Ditto.
23686 * gdb.fortran/exprs.exp: Ditto.
23687
23688 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23689
23690 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23691 set Irix-specific compile and link flags.
23692
23693 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23694
23695 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23696 source files. The ``-o'' option doesn't work with the ``-E'' option
23697 when using the Irix compiler.
23698
23699 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23700
23701 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23702 Improve support for reusing an exec file. Copy exec file
23703 to target, and run gdbserver on the target instead of on the host.
23704
23705 2002-07-18 Jim Blandy <jimb@redhat.com>
23706
23707 * gdb.base/ending-run.exp: Don't expect to see the program end in
23708 some orderly fashion when we're running on a real stand-alone
23709 board.
23710
23711 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23712 targets that don't support interrupts.
23713
23714 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23715
23716 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23717 systems.
23718 Move comments in expect statements to inside the actions, so that they
23719 don't get matched against.
23720
23721 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23722
23723 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23724 function when asleep" test.
23725
23726 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23727
23728 * gdb.base/page.exp: Rewrite to handle problems with very long
23729 `info set' output. Update copyright.
23730
23731 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23732
23733 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23734 gdb.threads-hp.
23735 * gdb.hp/configure: Regenerate.
23736 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23737 * gdb.hp/gdb.threads-hp/configure: Delete file.
23738 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23739
23740 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23741
23742 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23743 setlocale, bindtextdomain and textdomain.
23744
23745 2002-06-11 Jim Blandy <jimb@redhat.com>
23746
23747 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23748 preprocessor macro information is present.
23749
23750 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23751 tests.
23752
23753 2002-06-06 Michael Snyder <msnyder@redhat.com>
23754
23755 * gdb.base/overlays.exp: Record addresses of overlay
23756 functions in TCL variables rather than in GDB variables,
23757 to avoid having GDB convert them to pointers (with loss
23758 of information).
23759
23760 * gdb.base/d10v.ld: Merge in several years worth of
23761 default linker script changes.
23762 * gdb.base/long_long.exp: Add check for sizeof (long double).
23763
23764 2002-06-06 Michal Ludvig <mludvig@suse.cz>
23765
23766 * gdb.asm/asm-source.exp: Add x86-64 target.
23767 * gdb.asm/x86_64.inc: New.
23768
23769 2002-05-30 Michael Chastain <mec@shout.net>
23770
23771 From Benjamin Kosnik <bkoz@redhat.com>:
23772 * gdb.c++/m-static.cc: New file.
23773 * gdb.c++/m-static.exp: New file.
23774
23775 2002-05-28 Michael Snyder <msnyder@redhat.com>
23776
23777 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23778 precision.
23779
23780 2002-05-27 Michael Chastain <mec@shout.net>
23781
23782 From Benjamin Kosnik <bkoz@redhat.com>:
23783 * gdb.c++/m-data.cc: New file.
23784 * gdb.c++/m-data.exp: New file.
23785
23786 2002-05-27 Michael Chastain <mec@shout.net>
23787
23788 From Benjamin Kosnik <bkoz@redhat.com>:
23789 * gdb.c++/try_catch.cc: New file.
23790 * gdb.c++/try_catch.exp: New file.
23791
23792 2002-05-27 Michael Chastain <mec@shout.net>
23793
23794 * gdb.c++/local.exp: Accept more nested types in output.
23795
23796 2002-05-26 Michael Chastain <mec@shout.net>
23797
23798 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23799
23800 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23801
23802 * lib/gdb.exp (gdb_wrapper_init): Just because
23803 gdb_wrapper_file exists, this does not mean that the file
23804 should not be rebuilt. That is what gdb_wrapper_initialized
23805 is for.
23806 (default_gdb_init): Reset gdb_wrapper_initialized.
23807
23808 2002-05-23 Michael Snyder <msnyder@redhat.com>
23809
23810 * gdb.base/all-bin.exp: Revise previous patch by just reducing
23811 the precision of the floating point test results.
23812 * gdb.base/call-rt-st.exp: Ditto.
23813
23814 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23815 * gdb.base/call-rt-st.exp: Ditto.
23816
23817 2002-05-19 Michael Chastain <mec@shout.net>
23818
23819 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23820
23821 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
23822
23823 * configure.in (configdirs): Add gdb.arch.
23824 * configure: Regenerate.
23825
23826 2002-05-17 Jim Blandy <jimb@redhat.com>
23827
23828 * gdb.base/completion.exp: Recognize the more detailed error
23829 messages produced by the macro expander's lexical analyzer.
23830
23831 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23832
23833 * gdb.arch/altivec-abi.c: New file.
23834 * gdb.arch/altivec-abi.exp: New file.
23835 * gdb.arch/altivec-regs.c: New file.
23836 * gdb.arch/altivec-regs.exp: New file.
23837
23838 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
23839
23840 * gdb.base/maint.exp (maint print type): Update for new type
23841 structure.
23842
23843 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23844
23845 * gdb.arch: New directory.
23846 * gdb.arch/configure.in: New file.
23847 * gdb.arch/configure: New file.
23848 * gdb.arch/Makefile.in: New file.
23849
23850 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
23851
23852 * gdb.asm/asm-source.exp: Add v850 as supported target.
23853 * gdb.asm/v850.inc: New file.
23854
23855 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
23856
23857 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23858
23859 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
23860
23861 * gdb.base/break.exp: Check 'break "marker2"'.
23862
23863 2002-05-10 Michael Snyder <msnyder@redhat.com>
23864
23865 * gdb.base/long_long.exp: Fix typo.
23866
23867 2002-05-10 Jim Blandy <jimb@redhat.com>
23868
23869 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23870 a bug.
23871
23872 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23873 Recognize more detailed error message produced by the macro
23874 expander's lexical analyzer.
23875 * lib/gdb.exp (test_print_reject): Same.
23876
23877 2002-05-09 Mark Kettenis <kettenis@gnu.org>
23878
23879 * gdb.c++/method.exp: Fix typo.
23880
23881 2002-05-08 Michael Snyder <msnyder@redhat.com>
23882
23883 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23884 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23885 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23886 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23887 Add iftarget clause for strongarm.
23888
23889 2002-05-06 Michael Snyder <msnyder@redhat.com>
23890
23891 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23892 (gdb_continue_to_end): Accept output from status wrapper.
23893 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23894 Clean up fail messages to match pass messages.
23895
23896 Enable the "needs_status_wrapper" testsuite feature.
23897 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23898 (gdb_compile): Conditionally call gdb_wrapper_init.
23899 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23900 * gdb.c++/method.exp: Recognize output from status wrapper.
23901
23902 2002-05-06 Ben Elliston <bje@redhat.com>
23903 From Graydon Hoare <graydon@redhat.com>
23904
23905 * config/sid.exp: Include support for "rawsid" protocol.
23906
23907 2002-05-03 Jim Blandy <jimb@redhat.com>
23908
23909 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23910 * gdb.c++/hang3.C: New file.
23911
23912 2002-05-04 Andrew Cagney <ac131313@redhat.com>
23913
23914 * gdb.base/default.exp: Remove obsolete code.
23915 * gdb.c++/misc.exp: Ditto. Update copyright.
23916 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23917 * gdb.base/whatis.exp: Ditto. Update copyright.
23918 * gdb.base/scope.exp: Ditto. Update copyright.
23919 * gdb.base/ptype.exp: Ditto. Update copyright.
23920 * gdb.base/printcmds.exp: Ditto. Update copyright.
23921 * gdb.base/opaque.exp: Ditto. Update copyright.
23922 * gdb.base/list.exp: Ditto.
23923 * gdb.base/funcargs.exp: Ditto. Update copyright.
23924 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23925 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23926 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23927 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23928 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23929 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23930
23931 2002-05-02 Michael Snyder <msnyder@redhat.com>
23932
23933 * gdb.base/watchpoint.exp: Add xscale target.
23934 * gdb.base/long_long.exp: Add xscale target.
23935 * gdb.base/default.exp: Add xscale target.
23936
23937 2002-05-01 Jim Blandy <jimb@redhat.com>
23938
23939 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23940 gdb.c++/hang.exp: New test.
23941
23942 2002-05-01 Fred Fish <fnf@redhat.com>
23943
23944 * gdb.base/completion.exp: Handle completions of "./Make" for
23945 more than one completion possibility, as is the case when we
23946 build and test in the source tree.
23947
23948 2002-04-29 Anthony Green <green@redhat.com>
23949
23950 * gdb.java/jmisc1.exp: New file.
23951 * gdb.java/jmisc2.exp: New file.
23952
23953 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
23954
23955 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23956
23957 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
23958
23959 * gdb.base/help.exp: Change 'help status' to allow for target
23960 dependent output differences.
23961
23962 2002-04-22 Michael Chastain <mec@shout.net>
23963
23964 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23965
23966 2002-04-22 Michael Chastain <mec@shout.net>
23967
23968 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23969
23970 2002-04-17 David S. Miller <davem@redhat.com>
23971
23972 * gdb.asm/sparc64.inc: New file.
23973 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23974
23975 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
23976
23977 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23978 instruction file directly into the build tree. Clean up at end of
23979 test.
23980
23981 2002-04-18 David S. Miller <davem@redhat.com>
23982
23983 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23984 handle 64-bit platforms correctly.
23985 * gdb.base/maint.exp: Likewise.
23986
23987 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23988
23989 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23990 ``-fpic'' when compiling files comprising a shared library, but
23991 it does need additional linker flags in order to find shared
23992 libraries at run time.
23993
23994 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23995
23996 * gdb.base/cvexpr.c (use): New function.
23997 (main): Invoke use() on all global variables to prevent
23998 some linkers from deleting these otherwise unused symbols.
23999
24000 2002-04-17 Michael Chastain <mec@shout.net>
24001 From David S. Miller <davem@redhat.com>
24002
24003 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24004 handle 64-bit platforms correctly.
24005
24006 2002-04-12 Michael Snyder <msnyder@redhat.com>
24007 From Jim Blandy <jimb@redhat.com>
24008 * gdb.base/foo.c (foox): Remove section attribute; the linker
24009 script can handle this instead.
24010 * gdb.base/bar.c (barx): Same.
24011 * gdb.base/baz.c (bazx): Same.
24012 * gdb.base/grbx.c (grbxx): Same.
24013
24014 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24015 manager doesn't automatically unmap overlays unnecessarily.
24016
24017 2002-04-10 Martin M. Hunt <hunt@redhat.com>
24018
24019 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24020 stepping out of main.
24021
24022 2002-04-09 Michael Chastain <mec@shout.net>
24023
24024 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24025 scope so that the nested scope tests will make sense.
24026 * gdb.c++/local.exp: Write patterns that actually work with gcc
24027 (the HP patterns "were never known to work with gcc").
24028 Keep the old aCC patterns too.
24029
24030 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
24031
24032 * gdb.base/attach.exp: Correct target board test.
24033
24034 2002-04-08 Michael Chastain <mec@shout.net>
24035
24036 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24037 in a const method. Add some xfail and fail cases for configurations
24038 that do not emit the "const ...".
24039
24040 2002-04-07 Michael Chastain <mec@shout.net>
24041
24042 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24043 Accept "A * const" and "const A * const" as type of "this".
24044 Fix spelling of getFunky throughout. Make messages uniform.
24045
24046 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24047
24048 Work around for PR gdb/285:
24049 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24050
24051 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24052
24053 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24054 instructions file at run time instead of configure time.
24055 Sometimes we run the test in a directory that is not the one we
24056 configured in.
24057 * gdb.asm/configure.in: Delete creation of symlink.
24058 * gdb.asm/configure: Regenerate.
24059
24060 2002-04-05 J. Brobecker <brobecker@gnat.com>
24061
24062 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24063 xfullpath () function.
24064
24065 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24066
24067 * gdb.asm/Makefile.in: Correct dependencies.
24068
24069 * gdb.asm/powerpc.inc: New file.
24070 * gdb.asm/asm-source.exp: Add PowerPC.
24071 * gdb.asm/configure.in: Likewise.
24072 * gdb.asm/configure: Regenerated.
24073
24074 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24075
24076 * gdb.base/relocate.exp: New file.
24077 * gdb.base/relocate.c: New file.
24078
24079 2002-04-04 Fred Fish <fnf@redhat.com>
24080
24081 * gdb.base/step-test.exp: Update comment regarding stopping in
24082 memcpy/bcopy calls inserted as part of the compiler runtime.
24083
24084 2002-04-04 Michael Snyder <msnyder@redhat.com>
24085
24086 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24087
24088 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
24089
24090 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24091 (gdb_expect): Remove $notransfer hack.
24092
24093 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
24094
24095 * gdb.c++/classes.exp ("calling method for small class"): Match
24096 updated register output.
24097
24098 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24099
24100 Fix PR gdb/452
24101 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24102 when finished. Make gdb_file_cmd send "exec-file" when
24103 appropriate.
24104
24105 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24106
24107 * gdb.base/attach.exp: Remove extra setup_xfail.
24108
24109 2002-03-26 Michael Snyder <msnyder@redhat.com>
24110
24111 * gdb.base/default.exp: Add tests for dump, append, and restore.
24112 * gdb.base/help.exp: Add tests for dump, append, and restore.
24113 * gdb.base/dump.exp: New file, test dump, append and restore.
24114 * gdb.base/dump.c: New file.
24115
24116 2002-03-27 Michael Snyder <msnyder@redhat.com>
24117
24118 * gdb.base/help.exp: Modify expect strings to reflect
24119 clean-ups in help messages.
24120
24121 2002-03-26 Fred Fish <fnf@redhat.com>
24122
24123 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24124 have debugging info for those functions and the compiler uses them
24125 internally to copy structs around.
24126
24127 2002-03-26 Fred Fish <fnf@redhat.com>
24128
24129 * gdb.base/list.exp: Revert the change made yesterday and add note
24130 about why we don't list the default lines for remote targets.
24131
24132 2002-03-25 Michael Snyder <msnyder@redhat.com>
24133
24134 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24135
24136 2002-03-25 Fred Fish <fnf@redhat.com>
24137
24138 * gdb.base/list.exp: This test works on remote targets so remove
24139 the short circuit for remote targets. Update copyright.
24140
24141 2002-03-25 Fred Fish <fnf@redhat.com>
24142
24143 * gdb.base/attach.exp: Fix logic error that was suppressing this
24144 test for all non hppa*-*-hpux* targets, instead of the hp target.
24145 Move comments closer to the suppression point. Also now need to
24146 check that we are running natively.
24147
24148 2002-03-22 Michael Snyder <msnyder@redhat.com>
24149
24150 * gdb.base/default.exp: Add test for gcore. Update copyright.
24151 * gdb.base/help.exp: Add test for gcore. Update copyright.
24152
24153 2002-03-06 Fred Fish <fnf@redhat.com>
24154
24155 * gdb.base/funcargs.c: Remove extraneous ';' character.
24156 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24157
24158 2002-03-04 Michael Chastain <mec@shout.net>
24159
24160 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24161 accommodate gcc v3 function signature.
24162 * gdb.mi/mi0-var-cmd-exp: Ditto.
24163
24164 2002-02-24 Andrew Cagney <ac131313@redhat.com>
24165
24166 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24167 ``GNU/Linux'' or ``Linux kernel''
24168 * testsuite/gdb.threads/pthreads.c: Ditto.
24169
24170 2002-02-24 Michael Chastain <mec@shout.net>
24171
24172 * gdb.threads/pthreads.c (thread1): Add a return statement.
24173 (thread2): Likewise.
24174 (foo): Likewise.
24175
24176 2002-02-23 Michael Chastain <mec@shout.net>
24177
24178 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24179 to placate gcc.
24180
24181 2002-02-23 Michael Chastain <mec@shout.net>
24182
24183 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24184 test "ptype bint". The test passes on all my stabs configurations.
24185
24186 2002-02-21 Jim Blandy <jimb@redhat.com>
24187
24188 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24189 filename at a time, and watch for the ones we want to see.
24190
24191 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24192 types of pointers to prototyped functions.
24193
24194 2002-02-20 Andrew Cagney <ac131313@redhat.com>
24195
24196 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24197 signed, unsigned and straight char.
24198 (padding_char, padding_short, padding_int, padding_long,
24199 padding_long_long, padding_float, padding_double,
24200 padding_long_double): New global variables.
24201 (fill, fill_structs): New functions.
24202
24203 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24204 for correctly sized writes. Update copyright.
24205 (get_valueof): New procedure.
24206 (get_sizeof): Call get_valueof.
24207 (check_valueof): New procedure.
24208 (check_padding): New procedure.
24209
24210 2002-02-20 Michael Chastain <mec@shout.net>
24211
24212 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24213 to setup_xfail. Document some of the remaining calls.
24214
24215 2002-02-18 Michael Chastain <mec@shout.net>
24216
24217 * gdb.c++/userdef.exp: Update copyright year.
24218
24219 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
24220
24221 * gdb.c++/userdef.exp: Test overloaded operators properly.
24222 Remove xfails.
24223
24224 2002-02-14 Michael Snyder <msnyder@redhat.com>
24225
24226 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24227
24228 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
24229
24230 * gdb.base/a2-run.exp: Check for a remote target properly.
24231 * gdb.base/annota1.exp: Likewise.
24232 * gdb.base/list.exp: Likewise.
24233 * gdb.base/reread.exp: Likewise.
24234 * gdb.base/scope.exp: Likewise.
24235 * gdb.base/shlib-call.exp: Likewise.
24236 * gdb.base/term.exp: Likewise.
24237 * gdb.c++/annota2.exp: Likewise.
24238
24239 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
24240
24241 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24242
24243 2002-02-10 Michael Chastain <mec@shout.net>
24244
24245 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24246 (call_after_alloca): Ditto.
24247
24248 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
24249
24250 * gdb.base/ending-run.exp: Guard "cont" test with
24251 gdb_skip_stdio_test.
24252
24253 2002-02-06 Jim Blandy <jimb@redhat.com>
24254
24255 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24256 from here...
24257 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24258 To here. Disable this test on non-HP platforms. Add big comment.
24259
24260 2002-02-04 Michael Snyder <msnyder@redhat.com>
24261
24262 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24263 other than d10v and m32r.
24264
24265 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
24266
24267 * gdb.base/default.exp: Rewrite test patterns to reduce time
24268 taken to match them.
24269
24270 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24271
24272 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24273 Allow a start function above main.
24274 * gdb.threads/linux-dp.exp: Fix copyright date.
24275
24276 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24277
24278 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24279 (check_philosopher_stack): Check for manager thread before checking
24280 for a just-starting thread.
24281
24282 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24283
24284 From Neil Booth <neil@daikokuya.demon.co.uk>:
24285 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24286 warnings.
24287
24288 2002-01-21 Fred Fish <fnf@redhat.com>
24289
24290 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24291 not caller.
24292
24293 2002-01-21 Jim Blandy <jimb@redhat.com>
24294
24295 * gdb.base/reread.exp: Check that GDB properly re-reads the
24296 executable file when it changes while no inferior is running.
24297
24298 2002-01-21 Fred Fish <fnf@redhat.com>
24299
24300 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24301 optionally accept the "shlib events" variation.
24302
24303 2002-01-21 Jim Blandy <jimb@redhat.com>
24304
24305 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24306 call `fflush' after every `printf', so that the output is produced
24307 at predictable points, regardless of whatever buffering does (or
24308 doesn't) take place.
24309 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24310 at different points.
24311
24312 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24313
24314 * gdb.c++/inherit.exp: Update copyright years.
24315 * gdb.c++/method.exp: Likewise.
24316
24317 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24318
24319 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24320 artificial methods/arguments.
24321 * gdb.c++/derivation.exp: Likewise.
24322 * gdb.c++/inherit.exp: Likewise.
24323 * gdb.c++/method.exp: Likewise.
24324 * gdb.c++/virtfunc.exp: Likewise.
24325
24326 2002-01-18 Andrew Cagney <ac131313@redhat.com>
24327
24328 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24329 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24330 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24331 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24332 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24333 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24334
24335 2002-01-17 Jim Blandy <jimb@redhat.com>
24336
24337 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24338 anchoring the pattern matching the entry point symbol's name.
24339
24340 2002-01-17 Andrew Cagney <ac131313@redhat.com>
24341
24342 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24343 continue/quit query. Update copyright.
24344
24345 2002-01-14 Michael Snyder <msnyder@redhat.com>
24346
24347 * gdb.base/gcore.exp: Remove extra debugging output.
24348
24349 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24350
24351 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24352 for slightly dubious v2 mangled string.
24353
24354 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24355
24356 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24357
24358 2002-01-10 Jason Merrill <jason@redhat.com>
24359
24360 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
24361
24362 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24363 constructors.
24364 * gdb.c++/derivation.exp: Likewise.
24365 * gdb.c++/templates.exp: Likewise.
24366 * gdb.c++/virtfunc.exp: Likewise.
24367
24368 2002-01-10 Michael Snyder <msnyder@redhat.com>
24369
24370 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
24371
24372 2002-01-08 Michael Snyder <msnyder@redhat.com>
24373
24374 * gdb.base/gcore.exp: New test for generate-core-file command.
24375 * gdb.base/gcore.c: Testcase for above.
24376 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24377
24378 2002-01-08 Jason Merrill <jason@redhat.com>
24379
24380 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24381
24382 2002-01-07 Fred Fish <fnf@redhat.com>
24383
24384 * gdb.c++/overload.exp: Remove unconditional xfails for:
24385 print foo_instance1.overloadargs(1)
24386 print foo_instance1.overloadargs(1, 2)
24387 print foo_instance1.overloadargs(1, 2, 3)
24388 print foo_instance1.overloadargs(1, 2, 3, 4)
24389 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24390 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24391 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24392 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24393 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24394 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24395 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24396 print foo_instance1.overload1arg()
24397 print foo_instance1.overload1arg((char)arg2)
24398 print foo_instance1.overload1arg((signed char)arg3)
24399 print foo_instance1.overload1arg((unsigned char)arg4)
24400 print foo_instance1.overload1arg((int)arg7)
24401 print foo_instance1.overload1arg((unsigned int)arg8)
24402 print foo_instance1.overload1arg((float)arg11)
24403 print foo_instance1.overload1arg((double)arg12)
24404
24405 2002-01-07 Michael Snyder <msnyder@redhat.com>
24406
24407 * gdb.base/huge.exp: New test. Print a very large target data object.
24408 (skip_huge_test): New test variable. Define if you want to skip this
24409 test. The test reads an 8 megabyte data object from the target, so it
24410 might be very time consuming on remote targets with a slow connection.
24411 * gdb.base/huge.c: New file. Test case for above.
24412
24413 2002-01-07 Fred Fish <fnf@redhat.com>
24414
24415 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24416 g_instance.bfoo, and g_instance.cfoo.
24417
24418 2002-01-07 Jeffrey A Law <law@redhat.com>
24419
24420 * gdb.base/break.c (multi_line_if_conditional): New function.
24421 (multi_ilne_while_conditional): Likewise.
24422 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24423 IF or WHILE condition puts the breakpoint at the start of
24424 the condition.
24425
24426 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24427 hppa*-*-hpux* expected failure.
24428 * gdb.base/structs.exp (do_function_calls): Similarly.
24429
24430 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24431 watchpoints.
24432
24433 2002-01-06 Andrew Cagney <ac131313@redhat.com>
24434
24435 Fix PR gdb/66.
24436 * gdb.base/structs.exp: Replace skip for a29k with skip for
24437 gdb,cannot_call_functions.
24438 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24439 * gdb.base/callfuncs.exp: Ditto.
24440 * gdb.base/call-rt-st.exp: Ditto.
24441 * gdb.base/call-strs.exp: Ditto.
24442 * gdb.base/callfwmall.exp: Ditto.
24443 * gdb.base/scope.exp: Obsolete xfail a29k.
24444 * gdb.c++/misc.exp: Ditto.
24445 * gdb.c++/cplusfuncs.exp: Ditto.
24446 * gdb.base/ptype.exp: Ditto.
24447 * gdb.base/printcmds.exp: Ditto.
24448 * gdb.base/opaque.exp: Ditto.
24449 * gdb.base/list.exp: Ditto.
24450 * gdb.base/funcargs.exp: Ditto.
24451 * gdb.base/default.exp: Ditto.
24452
24453 2002-01-04 Michael Snyder <msnyder@redhat.com>
24454
24455 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24456 * gdb.base/maint.exp: Add tests for maint info sections options.
24457
24458 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24459
24460 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24461
24462 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
24463
24464 * gdb.asm/arm.inc: New file.
24465 * gdb.asm/asm-source.exp: Add arm targets.
24466 * gdb.asm/configure.in: Ditto.
24467 * gdb.asm/configure: Recreated from configure.in.
24468
24469 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24470
24471 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24472 with HP's compiler.
24473 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24474 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24475 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24476 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24477
24478 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24479 either HP's compilers or GCC.
24480
24481 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24482 a SIGBUS or SIGSEGV.
24483
24484 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24485
24486 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24487 can be compiled with either HP's compiler or GCC.
24488
24489 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24490 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24491 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24492
24493 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24494 to match current gdb output. Update due to using auto-solib-limit
24495 for limiting instead of overloading auto-solib-add.
24496 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24497 test program.
24498
24499 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24500 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24501 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24502 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24503 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24504 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24505 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24506 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24507 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24508 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24509 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24510 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24511 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24512
24513 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24514 a SIGTRAP to the inferior.
24515
24516 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24517
24518 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24519 Substitute call to target_link by call to gdb_compile.
24520
24521 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24522
24523 * gdb.base/break.exp: Fix HP specific search string when testing
24524 backtracing in a called function.
24525
24526 * gdb.base/constvars.exp: Only set lang to C++ if we're
24527 compiling the test with HP's compilers.
24528 * gdb.base/volatile.exp: Similarly.
24529
24530 2001-12-19 Jim Blandy <jimb@redhat.com>
24531
24532 * gdb.base/printcmds.exp: Expect the null character to be printed
24533 as '\0', and the '\013' to be printed as '\v'.
24534 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24535 * gdb.base/setvar.exp: Same.
24536
24537 2001-12-17 Jim Blandy <jimb@redhat.com>
24538
24539 * gdb.base/completion.exp: Rather than completing very long
24540 filenames, which can make the readline library produce output we
24541 don't recognize, cd to the directory first, and then complete
24542 using nice, short relative paths.
24543
24544 * gdb.base/completion.exp: On some systems, there is, in fact, a
24545 variable named `b' in scope, since GDB treats all static
24546 variables as being in scope. So use `no_var_named_this'
24547 instead of `b'.
24548
24549 * gdb.base/corefile.exp: Recognize the message saying that GDB
24550 can't find the core file's registers as a failure.
24551
24552 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24553
24554 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24555 test expect string more specific.
24556
24557 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24558
24559 * gdb.asm/asm-source.exp: Add support for xstormy16.
24560 * gdb.asm/configure.in: Ditto.
24561 * gdb.asm/configure: Rebuild.
24562 * gdb.asm/xstormy16.inc: New file.
24563
24564 2001-12-10 Fred Fish <fnf@redhat.com>
24565
24566 * gdb.base/maint.exp: Update to match changes in type dumping code.
24567
24568 2001-12-10 Jim Blandy <jimb@redhat.com>
24569
24570 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24571 matching the entry point symbol's name at the beginning of the
24572 line.
24573
24574 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24575
24576 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24577 gdb.c++/inherit.exp, gdb.c++/method.exp,
24578 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24579 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24580 and class layout support.
24581
24582 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24583
24584 * gdb.c++/classes.exp: Add test for static member function.
24585 * gdb.c++/misc.cc: Add class with static member function.
24586
24587 2001-12-07 Jim Blandy <jimb@redhat.com>
24588
24589 If GDB says it can't find the struct the function returned, report
24590 those tests as `unsupported'.
24591 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24592 Rewrite subsequent tests to use it.
24593
24594 If GDB says it can't find the struct the function returned, report
24595 those tests as `unsupported'.
24596 * gdb.base/structs.exp (call_struct_func): New function.
24597 (do_function_calls): Use call_struct_func to call the functions
24598 returning structs.
24599
24600 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24601 whether functions are prototyped or not, so we can't possibly pass
24602 arguments to t_float_values2 properly.
24603
24604 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24605 value of `timeout' for targets other than the mips*tx39-*.
24606
24607 2001-12-06 Michael Snyder <msnyder@redhat.com>
24608
24609 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24610 and detect whether the start symbol has a leading underscore.
24611
24612 2001-12-04 Jim Blandy <jimb@redhat.com>
24613
24614 * gdb.base/completion.exp: Clarify indentation.
24615
24616 2001-12-03 Jim Blandy <jimb@redhat.com>
24617
24618 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24619 variables on the S/390, not `.word'.
24620
24621 2001-11-30 Jim Blandy <jimb@redhat.com>
24622
24623 Add assembly-source tests for s390-ibm-linux.
24624 * gdb.asm/s390.inc: New file.
24625 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24626 the S/390 architecture.
24627 * gdb.asm/configure: Regenerated.
24628
24629 2001-11-30 Michael Snyder <msnyder@redhat.com>
24630
24631 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24632 next, info source, info sources, info line, global and static
24633 variables, and static functions.
24634 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24635 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24636 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24637 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24638 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24639 (gdbasm_leave): Restore frame pointer.
24640 (gdbasm_startup): Copy stack set-up from crt0.S.
24641
24642 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24643
24644 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24645 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24646 to a local (non-static) variable. Copy tstruct.a to a static buffer
24647 and return a pointer to that buffer.
24648 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24649
24650 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24651
24652 * gdb.asm/configure.in: Fix recognition of ix86 target.
24653 * gdb.asm/configure: Regenerate.
24654
24655 2001-11-21 Michael Snyder <msnyder@redhat.com>
24656
24657 * gdb.asm/sparc.inc: New file.
24658 * gdb.asm/asm-source.exp: Recognize sparc target.
24659 * gdb.asm/configure.in: Recognize sparc target.
24660 * gdb.asm/configure: Regenerate.
24661
24662 2001-11-21 Michael Snyder <msnyder@redhat.com>
24663
24664 * gdb.asm/m32r.inc: New file.
24665 * gdb.asm/asm-source.exp: Recognize m32r target.
24666 * gdb.asm/configure.in: Recognize m32r target.
24667 * gdb.asm/configure: Regenerate.
24668
24669 2001-11-20 Michael Snyder <msnyder@redhat.com>
24670
24671 * gdb.asm/i386.inc: New file.
24672 * gdb.asm/asm-source.exp: Recognize ix86 target.
24673 * gdb.asm/configure.in: Recognize ix86 target.
24674 * gdb.asm/configure: Regenerate.
24675
24676 * gdb.c++/namespace.exp: Fix quotes in output messages.
24677
24678 2001-11-14 Michael Snyder <msnyder@redhat.com>
24679
24680 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24681 qualifier in a type cast expression, to designate an address
24682 in the instruction space (Harvard architecture).
24683
24684 2001-11-13 Michael Snyder <msnyder@redhat.com>
24685
24686 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24687 Tests for expressions using 'const' and 'volatile'.
24688
24689 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24690
24691 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24692
24693 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24694
24695 * lib/mi-support.exp (mi_run_to_helper): Move comments
24696 outside of gdb_expect.
24697
24698 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24699
24700 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24701 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24702 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24703 mi0_run_to): New functions.
24704 * gdb.mi/mi-simplerun.exp: Use them.
24705 * gdb.mi/mi0-simplerun.exp: Likewise.
24706 * gdb.mi/mi-var-cmd.exp: Likewise.
24707 * gdb.mi/mi0-var-cmd.exp: Likewise.
24708
24709 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24710
24711 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24712 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24713
24714 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24715
24716 * gdb.base/restore.exp: Include $expected value in restored test
24717 message.
24718
24719 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24720
24721 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24722 implemented.
24723
24724 2001-11-08 Michael Snyder <msnyder@redhat.com>
24725
24726 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24727 Add pass/fail message for stop at breakpoint in call dummy function.
24728
24729 2001-11-07 Michael Snyder <msnyder@redhat.com>
24730
24731 * gdb.c++/templates.exp (test_template_breakpoints):
24732 If we get an overload menu, but it does not match what
24733 we expect, we still need to issue the "cancel" command.
24734 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24735 making the whitespace optional. Argument for "new" may be
24736 "unsigned" as well as "unsigned int/long".
24737 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24738 making the whitespace optional. Also replace "(void) with
24739 "((void|)), making the keyword "void" optional.
24740 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24741 making the whitespace optional. Also replace "(void) with
24742 "((void|)), making the keyword "void" optional.
24743 * gdb.base/callfuncs.c (t_float_values): This function must
24744 _not_ be prototyped, and the following function (t_float_values2)
24745 must be prototyped (if the compiler supports it), so that GDB
24746 can be tested against both cases. Usually one case involves
24747 promotion of float to double, while the other does not.
24748 * gdb.base/callfwmall.c: Ditto.
24749 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24750 includes a stack frame for "start".
24751
24752 2001-11-05 Jim Blandy <jimb@redhat.com>
24753
24754 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24755 pointers are 32 bits long, and that offsets of relocs are always
24756 stored in the data (REL-style), and not in the reloc entry itself
24757 (RELA-style).
24758 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24759 stabs.
24760
24761 2001-11-01 Michael Snyder <msnyder@redhat.com>
24762
24763 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24764 and regular expression operators by using quoting.
24765
24766 2001-10-31 Michael Snyder <msnyder@redhat.com>
24767
24768 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24769 depending on what the symbol table contains.
24770 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24771 the output of the ptype command. Similarly, accept both "const &"
24772 and "const&".
24773
24774 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
24775
24776 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24777 symbol `STORAGE' to allow to choose the storage class of
24778 the local datastructures.
24779 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24780 compiler directive.
24781
24782 2001-10-30 Michael Snyder <msnyder@redhat.com>
24783
24784 * gdb.base/jump.exp: Allow it to run for all targets.
24785
24786 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24787
24788 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24789 with new double_array size.
24790 (main): Change storage class of all local variables to static.
24791 Reduce size of double_array to 9.
24792 * gdb.base/call-ar-st.exp: Increase timeout value.
24793 Change expected output for double array to match new size in
24794 call-ar-st.c.
24795
24796 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24797
24798 * gdb.base/ending-run.exp: Create identical output when passing
24799 `step to end of run' case. Add regular expression branch satisfying
24800 Stormy16 target.
24801
24802 2001-10-28 Mark Kettenis <kettenis@gnu.org>
24803
24804 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24805 that we catch the expected failure under Linux/x86.
24806
24807 2001-10-29 Orjan Friberg <orjanf@axis.com>
24808
24809 * gdb.base/setvar.exp: Escape curly braces.
24810 * gdb.stabs/weird.exp: Ditto.
24811
24812 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
24813
24814 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24815 * gdm.mi/mi0-hack-cli.exp: Likewise.
24816
24817 2001-10-25 Andrew Cagney <ac131313@redhat.com>
24818
24819 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24820 messages.
24821
24822 2001-10-21 Andrew Cagney <ac131313@redhat.com>
24823
24824 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24825 checking MI enabled.
24826
24827 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
24828
24829 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24830
24831 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
24832
24833 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24834 if gdb child process crashes, just signal an error.
24835
24836 2001-10-02 Jim Blandy <jimb@redhat.com>
24837
24838 * lib/gdb.exp (test_xfail_format): Simplify.
24839
24840 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24841 front of the variable name `format'. Simplify `if'.
24842
24843 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24844
24845 * gdb.threads/pthreads.exp: Wait for output and delay
24846 before sending ^C.
24847
24848 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24849
24850 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24851 some incorrect output instead of timing out.
24852 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24853
24854 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
24855
24856 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24857 check to allow additional `int'.
24858
24859 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
24860
24861 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24862 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24863
24864 2001-09-27 Michael Snyder <msnyder@redhat.com>
24865
24866 * lib/gdb.exp (test_debug_format): New proc.
24867 (setup_xfail_format): Use new proc test_debug_format.
24868 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24869 proc; use new service proc test_debug_format.
24870 Replace all other "gcc_compiled" tests with this test.
24871 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24872 proc; use new service proc test_debug_format.
24873 Replace all other "gcc_compiled" tests with this test.
24874
24875 2001-09-27 Michael Snyder <msnyder@redhat.com>
24876
24877 * gdb.base/cvexpr.exp: New file.
24878 * gdb.base/cvexpr.c: New file
24879 Test for expressions using const and volatile keywords.
24880
24881 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
24882
24883 * gdb.base/constvars.exp: Check for different orders of keywords
24884 and additional "int" strings in output.
24885
24886 2001-09-22 Andrew Cagney <ac131313@redhat.com>
24887
24888 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24889 responses from "help maint".
24890
24891 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
24892
24893 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24894 to localhost:NNN instead of :NNN, in case Xvfb is listening
24895 only on TCP.
24896
24897 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
24898
24899 * gdb.base/recurse.exp: When checking leaving the watchpoint
24900 scope, recognize when gdb is in function's epilogue and pass.
24901
24902 2001-09-18 Keith Seitz <keiths@redhat.com>
24903
24904 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24905 support for running tests against sid targets.
24906 (gdbtk_done): Ditto.
24907
24908 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
24909
24910 * gdb.base/ending-run.c (main): Set stdout buffersize
24911 to the same reasonable value for any target.
24912 * gdb.base/ending-run.exp: Add a regular expression
24913 to make testsuite happy on Sanyo Stormy16 target.
24914
24915 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
24916
24917 * gdb.base/display.c (do_loops): Add float variable `f'.
24918 Increment f in loop.
24919 * gdb.base/display.exp: Increment timeout by 60 seconds.
24920 Change float display test to use variable `f'.
24921
24922 2001-09-17 Jim Blandy <jimb@redhat.com>
24923
24924 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24925 overflowing the limited breakpoint tables on some ROM monitors
24926 (like the ROM68K).
24927
24928 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
24929
24930 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24931 the "-ac" (disable access control) flag.
24932
24933 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
24934
24935 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24936 ints.
24937
24938 2001-08-30 Keith Seitz <keiths@redhat.com>
24939
24940 * lib/gdb.exp: Move all insight-related functionality into
24941 separate file.
24942 * lib/insight-support.exp: New file.
24943
24944 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
24945
24946 * config/sid.exp (sid_start): Never set sid verbosity; disable
24947 expect_background {} that consumed its stdout; tolerate </dev/null.
24948 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24949
24950 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24951
24952 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24953 CLI jump command to start it.
24954 (mi_run_to_main): Fail immediatly when unexpected output.
24955
24956 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24957
24958 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24959 beginning of function. Fix PR gdb/191.
24960
24961 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
24962
24963 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24964 what to force sid endianness to.
24965
24966 2001-08-15 Keith Seitz <keiths@redhat.com>
24967
24968 * lib/gdb.exp (gdbtk_start): Don't set environment
24969 variables for TCL_LIBRARY and friends. Insight will
24970 now figure these out for itself.
24971
24972 2001-08-02 Michael Snyder <msnyder@redhat.com>
24973
24974 * gdb.base/completion.exp: Remove the symbol "a64l" from
24975 the expect string; this is target-specific, and not related
24976 to what is being tested.
24977
24978 2001-08-02 Dave Brolley <brolley@redhat.com>
24979
24980 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24981
24982 2001-07-25 Michael Snyder <msnyder@redhat.com>
24983
24984 * gdb.base/consecutive.exp: New file. Test stepping over
24985 breakpoints on consecutive instructions.
24986 * gdb.base/consecutive.c: New file.
24987
24988 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24989 curly braces in regular expressions.
24990
24991 2001-07-25 Michael Snyder <msnyder@redhat.com>
24992
24993 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24994 legitimate output from stepping out of main.
24995
24996 2001-07-22 Keith Seitz <keiths@redhat.com>
24997
24998 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24999 the empty string, do not run the tests.
25000
25001 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25002
25003 * gdb.base/long_long.exp: Detect size of pointer. Take into
25004 account 2-byte pointers when testing for p/a results.
25005
25006 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25007
25008 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
25009 and defined to 1K for m68hc11.
25010 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25011 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25012 (sizeof_random_data): New variable to tell the size of the data table;
25013 don't test past this size; always run to main.
25014
25015 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25016
25017 * gdb.base/return2.exp: return of long long and double fails for
25018 68HC11; don't execute these tests on that platform.
25019 * gdb.base/return.exp: Return of a double fails for 68hc11.
25020
25021 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25022
25023 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25024 tests that print a float.
25025 * call-rt-st.exp: Likewise.
25026
25027 2001-07-12 Mark Kettenis <kettenis@gnu.org>
25028
25029 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25030 running this test on Linux.
25031
25032 2001-06-24 Michael Chastain <chastain@redhat.com>
25033
25034 * gdb.base/arithmet.exp: Remove some tests to make all test names
25035 unique.
25036
25037 2001-07-03 Michael Snyder <msnyder@redhat.com>
25038
25039 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25040 the output of the ptype command.
25041
25042 2001-07-02 Michael Snyder <msnyder@redhat.com>
25043
25044 * gdb.base/completion.exp: Don't assume that break.c is the only
25045 source file that may contain functions named "marker".
25046 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25047
25048 2001-06-28 Andrew Cagney <ac131313@redhat.com>
25049
25050 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25051 of files to delete.
25052
25053 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25054 * gdb.disasm/h8300s.exp: New file.
25055 gdb.disasm/h8300s.s: Likewise.
25056
25057 2001-06-27 Andrew Cagney <ac131313@redhat.com>
25058
25059 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25060 empty breakpoint tables.
25061
25062 2001-06-25 Andrew Cagney <ac131313@redhat.com>
25063
25064 * lib/mi-support.exp: Update args=... part of stop-reason
25065 patterns. Accept either a list or a tuple.
25066
25067 2001-06-23 Andrew Cagney <ac131313@redhat.com>
25068
25069 * lib/mi-support.exp: Remove local emacs variable defining
25070 change-log-default-name.
25071
25072 2001-06-22 Michael Chastain <chastain@redhat.com>
25073
25074 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25075 This is operationally compatible with the previous version.
25076
25077 2001-06-13 Jim Blandy <jimb@redhat.com>
25078
25079 * lib/gdb.exp (gdb_test): Doc fix.
25080
25081 2001-06-10 Michael Chastain <chastain@redhat.com>
25082
25083 * gdb.base/exprs.exp: Remove a duplicate test.
25084
25085 2001-06-06 Jim Blandy <jimb@redhat.com>
25086
25087 * gdb.base/return2.exp (main): Use values to test float and double
25088 returns that are not NaN's, to avoid being confused by IEEE
25089 comparison rules.
25090
25091 2001-06-04 Michael Snyder <msnyder@redhat.com>
25092
25093 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
25094 non-zero if control_c fails. Terminate the test on failure,
25095 rather than wait for 12 more tests to time out.
25096
25097 2001-06-06 Jim Blandy <jimb@redhat.com>
25098
25099 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
25100 Don't forget to match the GDB prompt.
25101
25102 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25103
25104 2001-06-04 Jim Blandy <jimb@redhat.com>
25105
25106 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25107 command.
25108
25109 2001-05-31 Kevin Buettner <kevinb@redhat.com>
25110
25111 * gdb.base/annota1.exp (info break): Match four or more spaces
25112 after "Address".
25113
25114 2001-05-31 Michael Chastain <chastain@redhat.com>
25115
25116 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25117 (dm_type_int_star): Likewise.
25118 (dm_type_long_star): Likewise.
25119 (dm_type_void_star): Likewise.
25120
25121 2001-05-29 Kevin Buettner <kevinb@redhat.com>
25122
25123 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25124 to a known value in order to get consistent results regardless
25125 of the setting of INPUTRC or the presence or contents of .inputrc.
25126
25127 2001-05-24 Michael Snyder <msnyder@redhat.com>
25128
25129 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25130 Don't require that the main thread and the manager thread are the
25131 first in the list.
25132
25133 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25134 debugging. If test fails, issue an "unsupported" not a "fail".
25135
25136 2001-05-24 Jim Blandy <jimb@redhat.com>
25137
25138 Don't assume that short is shorter than int.
25139 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25140 assume that shorts are smaller than ints. On a 16-bit machine,
25141 this isn't true.
25142 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25143 an int, is not equal to ~0 stored in an unsigned char. This tests
25144 the same thing that the previous test meant to, but works on
25145 16-bit machines, too.
25146 ("print unsigned char != (~0)"): Same test, complemented.
25147
25148 2001-05-24 Michael Snyder <msnyder@redhat.com>
25149
25150 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
25151 test for (full_coverage == 0). This makes the test run faster,
25152 and prevents dejagnu getting out of step.
25153
25154 2001-05-23 Kevin Buettner <kevinb@redhat.com>
25155
25156 * gdb.base/finish.exp (finish_void): Revise pattern for
25157 stopping on the call statement to not permit stopping at
25158 the start of the instructions comprising the call sequence.
25159
25160 2001-05-19 Michael Chastain <chastain@redhat.com>
25161
25162 * gdb.base/callfuncs.exp: Make all test names unique.
25163 * gdb.base/commands.exp: Make all test names unique.
25164 * gdb.base/condbreak.exp: Make all test names unique.
25165 * gdb.base/dbx.exp: Make all test names unique.
25166 * gdb.base/default.exp: Make all test names unique.
25167 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25168 and TIMEOUT messages to their corresponding PASS message.
25169 * gdb.base/ending-run.exp: Make all test names unique.
25170 * gdb.base/long_long.exp: Remove duplicate test.
25171
25172 2001-05-21 Kevin Buettner <kevinb@redhat.com>
25173
25174 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25175 stop on the call statement as well as the statement after the
25176 call.
25177
25178 2001-05-21 Michael Snyder <msnyder@redhat.com>
25179
25180 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25181
25182 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25183
25184 * gdb.base/completion.exp: Revamp test. Make it execute on all
25185 platforms.
25186
25187 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25188
25189 * config/gdbserver.exp (gdb_load): Handle the case
25190 in which the arguments to gdbserver are given in the
25191 baseboard configuration file.
25192 Also handle the case in which the server needs to do a
25193 load.
25194
25195 2001-05-07 Keith Seitz <keiths@cygnus.com>
25196
25197 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25198 set up the display for testing.
25199 (gdbtk_start): Convert all paths to paths that tcl will like.
25200 Export target information to environment.
25201 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25202 necessary.
25203 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25204 (to_tcl_path): New proc to convert a given pathname into
25205 a path acceptible as an argument to a tcl command.
25206 (_gdbtk_export_target_info): New proc to export target info
25207 into the environment for gdbtk testing.
25208 (gdbtk_done): New proc to signal end-of-test.
25209
25210 2001-05-06 Jim Blandy <jimb@redhat.com>
25211
25212 * restore.c: Make the code of caller0 correspond to its comment.
25213
25214 2001-05-03 Michael Snyder <msnyder@redhat.com>
25215
25216 * config/sid.exp (gdb_target_sid): Check for error messages.
25217 On error or timeout, don't make expect exit (which will terminate
25218 all subsequent tests); instead just make gdb exit.
25219 (gdb_load): Check for error messages. On error or timeout,
25220 return a negative value.
25221
25222 2001-04-24 Jim Blandy <jimb@redhat.com>
25223
25224 * gdb.c++/templates.exp: If we see the prompt for the overload
25225 list, but we haven't recognized any of the longer patterns,
25226 arrange for this test to fail, not hang.
25227
25228 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25229 variations.
25230
25231 2001-04-22 Michael Chastain <chastain@redhat.com>
25232
25233 * gdb.c++/local.exp: Use the 'runto' library function.
25234 * gdb.c++/namespace.exp: Likewise.
25235 * gdb.c++/overload.exp: Likewise.
25236
25237 2001-03-26 Kevin Buettner <kevinb@redhat.com>
25238
25239 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25240 * gdb.base/step-line.exp: New file. Test step/next in presence of
25241 #line directives.
25242 * gdb.base/step-line.c: New file. Test program for the above.
25243 * gdb.base/step-line.inp: New file. We pretend that this file has
25244 been transformed by some other tool into step-line.c.
25245
25246 2001-03-21 Jim Blandy <jimb@redhat.com>
25247
25248 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25249 unmangled operator names.
25250
25251 2001-03-20 Jim Blandy <jimb@redhat.com>
25252
25253 * gdb.threads/linux-dp.exp: Recognize an additional message
25254 generated by GDB when it doesn't understand how to debug threads
25255 on the target system.
25256
25257 2001-03-19 Andrew Cagney <ac131313@redhat.com>
25258
25259 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25260
25261 2001-03-12 Michael Chastain <chastain@redhat.com>
25262
25263 * gdb.c++/derivation.exp: Use the 'runto' library function.
25264
25265 2001-03-12 Michael Chastain <chastain@redhat.com>
25266
25267 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25268
25269 2001-02-24 Michael Chastain <chastain@redhat.com>
25270
25271 * gdb.c++/ref-types.exp: Change handwritten code to library
25272 function 'runto'.
25273
25274 2001-03-16 Orjan Friberg <orjanf@axis.com>
25275
25276 * gdb.base/signals.exp: Set count to 0 explicitly.
25277
25278 2001-03-15 Mark Salter <msalter@redhat.com>
25279
25280 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25281 (gdb_target_monitor): Add check of gdb_target_cmd return value.
25282 (gdb_load): Add support for additional target_info: gdb_download_size
25283 and gdb_load_timeout.
25284
25285 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25286
25287 * gdb.base/annota1.exp: Move test of isnative to earlier in the
25288 file -- to prevent failing when the compile fails but we have no
25289 intention of running the tests anyway.
25290
25291 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25292 tests if set.
25293
25294 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
25295 integers.
25296
25297 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25298 * gdb.c++/namespace.exp: Ditto.
25299
25300 2001-03-07 Orjan Friberg <orjanf@axis.com>
25301
25302 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25303 * gdb.base/pointers.exp: Relax pattern match of decimals.
25304
25305 2001-03-06 Kevin Buettner <kevinb@redhat.com>
25306
25307 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25308 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25309 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25310 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25311 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25312 config/sh.exp, config/sid.exp, config/slite.exp,
25313 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25314 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25315 config/vxworks.exp, config/vxworks29k.exp,
25316 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25317 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25318 gdb.base/arithmet.exp, gdb.base/assign.exp,
25319 gdb.base/async.exp, gdb.base/attach.exp,
25320 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25321 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25322 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25323 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25324 gdb.base/commands.exp, gdb.base/completion.exp,
25325 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25326 gdb.base/constvars.exp, gdb.base/corefile.exp,
25327 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25328 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25329 gdb.base/ending-run.exp, gdb.base/environ.exp,
25330 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25331 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25332 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25333 gdb.base/funcargs.exp, gdb.base/help.exp,
25334 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25335 gdb.base/logical.exp, gdb.base/long_long.exp,
25336 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25337 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25338 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25339 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25340 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25341 gdb.base/regs.exp, gdb.base/relational.exp,
25342 gdb.base/remote.exp, gdb.base/reread.exp,
25343 gdb.base/restore.exp, gdb.base/return2.exp,
25344 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25345 gdb.base/selftest.exp, gdb.base/setshow.exp,
25346 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25347 gdb.base/sigall.exp, gdb.base/signals.exp,
25348 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25349 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25350 gdb.base/step-test.exp, gdb.base/structs.c,
25351 gdb.base/structs.exp, gdb.base/structs2.exp,
25352 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25353 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25354 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25355 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25356 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25357 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25358 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25359 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25360 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25361 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25362 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25363 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25364 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25365 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25366 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25367 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25368 gdb.trace/circ.exp, gdb.trace/collection.exp,
25369 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25370 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25371 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25372 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25373 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25374 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25375 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25376 notices.
25377
25378 2001-02-27 Michael Snyder <msnyder@cygnus.com>
25379
25380 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25381 first arg is int not float.
25382
25383 2001-02-22 Michael Snyder <msnyder@cygnus.com>
25384
25385 * gdb.base/reread.exp: Unsupported for non-native targets;
25386 doesn't work for remote debugging.
25387
25388 2001-02-19 Fernando Nasser <fnasser@redhat.com>
25389
25390 From Drew Moseley <dmoseley@redhat.com>
25391 * gdb.base/ending-run.exp: Properly handle the BSP state when
25392 stepping past the end of main.
25393
25394 2001-02-19 John Moore <jmoore@redhat.com>
25395
25396 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25397 Converted HPUX fix for non-expected items following multiple
25398 step commands into general solution for all platforms.
25399
25400 2001-02-18 Michael Chastain <chastain@redhat.com>
25401
25402 * gdb.c++/classes.exp (do_tests): Change runto statements
25403 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25404 statements demangler agnostic.
25405 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25406 (gdb_virtfunc_restart): Likewise.
25407
25408 2001-02-14 Michael Chastain <chastain@redhat.com>
25409
25410 * gdb.c++/inherit.exp (do_tests): Change runto statements
25411 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25412 statements demangler agnostic.
25413
25414 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25415
25416 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25417 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25418 before calling common_routine 15 times'' tests.
25419
25420 2001-02-11 Michael Chastain <chastain@redhat.com>
25421
25422 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25423 Helps the test script figure out which demangler is in use.
25424 (dm_type_foo_ref): Ditto.
25425 (dm_type_int_star): Ditto.
25426 (dm_type_long_star): Ditto.
25427 (dm_type_unsigned_int): Ditto.
25428 (dm_type_void): Ditto.
25429 (dm_type_void_star): Ditto.
25430 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25431 Probe the gdb demangler and set variables to accommodate
25432 formatting differences.
25433 (info_func_regexp): New function. Same as info_func, but
25434 matches against a regexp.
25435 (info_func): Match against a literal string.
25436 (print_addr_2): New function. Match against a literal string,
25437 which can be different from the input to gdb.
25438 (print_addr): Simply call print_addr_2 with the same argument twice.
25439 (test_lookup_operator_functions): Use demangler formatting variables.
25440 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25441 the tests in the same order as the C++ class declaration.
25442 (test_paddr_operator_functions): Ditto.
25443 (test_paddr_overloaded_functions): Ditto.
25444 (test_paddr_hairy_functions): Use demangler formatting variables.
25445 Add reference to gdb/19 for related tests.
25446 (do_tests): Call probe_demangler.
25447
25448 2001-01-30 Kevin Buettner <kevinb@redhat.com>
25449
25450 * gdb.c++/templates.cc (printf): Remove unused function definition.
25451
25452 2001-01-26 Felix Lee <flee@redhat.com>
25453
25454 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25455
25456 2001-01-25 matthew green <mrg@redhat.com>
25457
25458 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25459 up sid.
25460 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25461
25462 2001-01-25 matthew green <mrg@redhat.com>
25463
25464 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25465 Deprecate $sid_spawn_id.
25466 (sid_exit): Remove code necessary only for `spawn.'
25467
25468 2001-01-25 matthew green <mrg@redhat.com>
25469
25470 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25471
25472 2001-01-28 Michael Chastain <chastain@redhat.com>
25473
25474 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25475 to call when tests fail. It takes gdb out of the overloaded
25476 function choice menu back to the main prompt, so that the test
25477 program stays synchronized.
25478 (set_bp_overloaded): New proc to collect all the common
25479 code for setting a breakpoint on an overloaded name. Calls
25480 take_gdb_out_of_choice_menu when needed.
25481 (menu_overload1arg): New variable to collect the repeated
25482 instances of the expected menu for an overloaded name. Change
25483 the regular expression to handle changes in g++ type encoding:
25484 "void" can be either "void" or "", and "unsigned int" can be
25485 either "unsigned int" or "unsigned".
25486 (continue_to_bp_overloaded): Change regular expressions to handle
25487 changes in g++ type encoding.
25488 (no proc): Call take_gdb_out_of_choice_menu when needed.
25489 Remove redundant calls to "info break". Accept either "canceled"
25490 or "cancelled". Change regular expressions in "info break"
25491 calls to handle changes in g++ type encoding. Give all tests
25492 unique strings.
25493
25494 2001-01-17 Ben Elliston <bje@redhat.com>
25495
25496 * config/sid.exp: New file.
25497
25498 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25499
25500 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25501
25502 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25503
25504 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25505 Add a RE to accept a non-ascii char if one is ever presented.
25506
25507 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25508
25509 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25510
25511 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25512
25513 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25514 in regexp. One '\' does not suffice on Linux.
25515
25516 2000-12-09 Michael Chastain <chastain@redhat.com>
25517
25518 * gdb.base/break.exp (test_clear_command): Use a marker function
25519 rather than 'main' for the test function. Also move this
25520 test to an execution point where the marker function names are
25521 guaranteed to be bound to functions. (Executing tests after a
25522 'finish' from main runs into name conflicts with local names
25523 in __libc_start_main).
25524
25525 2000-12-07 Michael Snyder <msnyder@cygnus.com>
25526
25527 * gdb.base/finish.exp: New test for gdb's "finish" command.
25528 * gdb.base/return2.exp: New test for gdb's "return" command.
25529 * gdb.base/return2.c: New source file for above.
25530
25531 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25532
25533 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25534 * gdb.base/miscexprs.exp: Ditto.
25535 * gdb.base/pointers.exp: Ditto.
25536 * gdb.c++/derivation.exp: Ditto.
25537 * gdb.c++/local.exp: Ditto.
25538 * gdb.c++/namespace.exp: Ditto.
25539 * gdb.c++/overload.exp: Ditto.
25540 * gdb.c++/ref-types.exp: Ditto.
25541
25542 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25543
25544 * gdb.base/constvars.exp: Test result of "up" command.
25545 * gdb.base/miscexprs.exp: Ditto.
25546 * gdb.base/pointers.exp: Ditto.
25547 * gdb.base/scope.exp: Ditto.
25548 * gdb.c++/derivation.exp: Ditto.
25549 * gdb.c++/local.exp: Ditto.
25550 * gdb.c++/namespace.exp: Ditto.
25551 * gdb.c++/overload.exp: Ditto.
25552 * gdb.c++/ref-types.exp: Ditto.
25553
25554 2000-11-22 Michael Chastain <chastain@redhat.com>
25555
25556 * mips_pro.exp: Accept either "middle -> top -> main" or
25557 "middle -> main" in the backtrace, because gcc can optimize
25558 tail calls to jumps. Remove setup_xfail for the hppa case.
25559 Add a comment with the original warning messages from PR 3016,
25560 which was filed in 1993, to preserve them for posterity.
25561
25562 2000-11-17 Nick Duffek <nsd@redhat.com>
25563
25564 * lib/gdb.exp (gdb_test): Override timeout with board info.
25565
25566 2000-11-17 Nick Duffek <nsd@redhat.com>
25567
25568 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25569 the second kill and detach messages.
25570
25571 2000-11-17 Nick Duffek <nsd@redhat.com>
25572
25573 * configure.in: Add AC_EXEEXT.
25574 * configure: Regenerate.
25575 * Makefile.in (just-check): Export EXEEXT.
25576 * lib/gdb.exp ($EXEEXT): Import from environment.
25577 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25578 expect "maint dump-me" on Cygwin.
25579 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25580 $EXEEXT.
25581
25582 2000-11-17 Nick Duffek <nsd@redhat.com>
25583
25584 * gdb.base/break.exp: Test backtrace and finish from called
25585 function on all platforms, not just HP-UX.
25586
25587 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25588
25589 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25590 code from gdb_target_monitor, so it can be used independantly
25591 for gdbserver. Also comment out an unnecessary PUTS.
25592
25593 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25594
25595 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25596 * gdb.base/corefile.exp: Expect the message "Program is being
25597 debugged already" when we send the "corefile" command, since
25598 the preceeding gdb_load may have connected gdb to a remote target.
25599 * gdb.base/display.exp: Disable hardware watchpoints if new
25600 board info variable "no_hardware_watchpoints" is true.
25601 Replace single-letter commands with more readable ones.
25602 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25603 if new board info variable "no_hardware_watchpoints" is true.
25604 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25605 to see if stdio (printf) testing is possible.
25606 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25607 board info variable "no_hardware_watchpoints" is true. Use new
25608 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25609
25610 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25611
25612 From Orjan Friberg <orjanf@axis.com>:
25613 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25614 in array print pattern match.
25615
25616 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25617
25618 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25619 spelling "cancelled" to U.S. spelling "canceled" to match changes
25620 made to gdb.
25621 * gdb.c++/ovldbreak.exp: Ditto.
25622
25623 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25624
25625 * gdb.base/callfuncs.c (main): Moved to end of file, call
25626 t_double_values to initialize the FPU before inferior calls are made.
25627 * gdb.base/callfuncs.exp: Test for register preservation after calling
25628 inferior functions. Add tests for continuining, finishing and
25629 returning from a stop in a call dummy.
25630
25631 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25632
25633 * gdb.base/commands.exp: Break up long lines, and re-indent.
25634
25635 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25636
25637 * config/gdbserver.exp: Rewritten from the ground up, to make it
25638 compatible with the current dejagnu tree, and to make it work with
25639 the new "gdbserver" in libremote.
25640
25641 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25642
25643 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25644 * gdb.base/varargs.exp: Skip entire test if no printf support.
25645 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25646 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25647
25648 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25649
25650 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25651 no floating point support.
25652 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25653 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25654 * gdb.base/call-rt-st.exp: Ditto.
25655 * gdb.base/call-strs.exp: Ditto.
25656
25657 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25658
25659 * gdb.base/sizeof.c: include <stdio.h>.
25660
25661 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25662 'finish', otherwise uncaptured gdb_prompt would potentially
25663 throw remaining test points out of sync.
25664
25665 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25666
25667 * gdb.base/recurse.exp: Run tests for all targets.
25668 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25669 gnu-oldld case on ARM.
25670 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25671 for ARM targets.
25672
25673 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25674
25675 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25676 * gdb.java/configure: Rebuild.
25677
25678 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25679
25680 * gdb.java/jv-exp.exp: New file.
25681
25682 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25683
25684 * configure: Rebuilt.
25685 * configure.in (configdirs): Add gdb.java.
25686 * gdb.java/jmisc.java: New file.
25687 * gdb.java/jmisc.exp: New file.
25688 * gdb.java/Makefile.in: New file.
25689 * gdb.java/configure: Rebuilt.
25690 * gdb.java/configure.in: New file.
25691 * lib/java.exp: New file.
25692
25693 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25694
25695 * gdb.base/exprs.exp: Test casts to a pointer including over and
25696 underflow.
25697
25698 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25699
25700 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25701 and the compilers sizes.
25702
25703 2000-07-09 Nick Duffek <nsd@redhat.com>
25704
25705 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25706 (use_methods): New function.
25707 (main): Call use_methods().
25708 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25709 (do_tests): Call test_method_param_class.
25710
25711 2000-07-09 Nick Duffek <nsd@redhat.com>
25712
25713 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25714 spelling.
25715 (test_enums): New procedure. Move enum tests from end of script
25716 to here. Set breakpoint on function name instead of line number.
25717 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25718 (enums2): New marker function.
25719 (enums1): New function.
25720 (main): Call enums1(). Move enum tests to enums1().
25721
25722 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25723
25724 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25725 compile/link program. Update line numbers.
25726 * gdb.asm/d10v.inc: Define ``startup''.
25727 * gdb.asm/asmsrc1.s: Add definition of _start.
25728
25729 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25730
25731 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25732
25733 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25734
25735 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25736 of 'help maint print' command.
25737
25738 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25739
25740 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25741 they use gdb_expect_list.
25742
25743 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25744
25745 * gdb.base/commands.exp: Use ``set remote
25746 memory-read-packet-size'' instead of ``set endian big'' to test
25747 long commands.
25748
25749 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
25750
25751 * gdb.c++/templates.exp (do_tests): Make all of these work under
25752 g++, and stop skipping them.
25753
25754 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25755 work under g++.
25756
25757 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25758 initialization.
25759
25760 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25761
25762 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25763 the regular expression: accept an (almost) arbitrary sequence of
25764 "frames-invalid" and "breakpoints-invalid" messages both before
25765 and after the "starting" message.
25766
25767 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25768
25769 * gdb.c++/local.exp: This test has never been known to work with g++.
25770
25771 2000-05-18 Michael Snyder <msnyder@cygnus.com>
25772
25773 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25774 Relax the regular expression a little, make it pass on Solaris 8.
25775
25776 2000-05-12 Kevin Buettner <kevinb@redhat.com>
25777
25778 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25779 a call, do not require that gdb stop on the line after the call.
25780 Instead, it is permissible for gdb to stop on the line of the
25781 call itself.
25782
25783 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
25784
25785 * gdb.base/break.exp (bp on small function, optimized file):
25786 Add a second pass pattern. The behavior differs here between stabs
25787 and dwarf for one-line functions. Stabs preserves two line symbols
25788 (one before the prologue and one after) with the same line number,
25789 but dwarf regards these as duplicates and discards one of them.
25790 Therefore the address after the prologue (where the breakpoint is)
25791 has no exactly matching line symbol, and GDB reports the breakpoint
25792 as if it were in the middle of a line rather than at the beginning.
25793
25794 2000-05-08 Michael Snyder <msnyder@cygnus.com>
25795
25796 * gdb.base/interrupt.exp: Make "pass" message say "send"
25797 rather than "send_gdb" (for consistancy).
25798
25799 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25800
25801 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25802 * gdb.c++/templates.cc: Properly check for GCC version number.
25803 * lib/compiler.cc: Likewise
25804
25805 2000-04-28 Michael Snyder <msnyder@cygnus.com>
25806
25807 * gdb.base/break.exp: When compiled with -O2 optimization,
25808 gdb may not stop at the first line of main, due to code motion.
25809
25810 2000-04-26 Michael Snyder <msnyder@cygnus.com>
25811
25812 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25813 This test depends on parsing the printf output from the target.
25814 Since the sparclet stub doesn't do stdio, this will never work.
25815 * gdb.base/call-rt-st.exp: ditto.
25816 * gdb.base/call-strs: ditto.
25817
25818 2000-04-24 Michael Snyder <msnyder@cygnus.com>
25819
25820 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25821
25822 * gdb.base/ending-run.exp: After connecting to a remote target,
25823 but before running, the target will appear to be in a random
25824 location. Specify both a file and a line for breakpoints.
25825 Also, the function that calls main may be called 'init'
25826 rather than 'start'.
25827
25828 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25829
25830 * gdb.base/help.exp: Update output for add-symbol-file command.
25831
25832 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
25833
25834 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25835 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25836
25837 2000-04-07 J.T. Conklin <jtc@redback.com>
25838
25839 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25840
25841 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25842
25843 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25844
25845 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25846 values that can be represented exactly.
25847 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25848 above change, and to not check against the directory part of the source
25849 file name.
25850 (step into print_long_arg_list): Likewise.
25851 (print print_small_structs from print_long_arg_list): Likewise.
25852 (print print_long_arg_list): Likewise.
25853
25854 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25855
25856 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25857
25858 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25859
25860 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25861
25862 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
25863
25864 * gdb.base/commands.exp (deprecated_command_test): Add test for
25865 deprecate with no arguments.
25866
25867 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25868
25869 * gdb.base/break.exp: Add new test for setting breakpoints on
25870 optimized code so we can test breakpoints work even when function
25871 prologues may be optimized away
25872
25873 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25874
25875 From David Whedon <dwhedon@gordian.com>
25876 * gdb.base/commands.exp : Added command deprecator tests.
25877
25878 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
25879
25880 * gdb.base/help.exp: Added test for new apropos command.
25881
25882 2000-03-21 Kevin Buettner <kevinb@redhat.com>
25883
25884 * gdb.base/pointers.c (usevar): New function.
25885 (main): Make sure that global variables v_int_pointer2, rptr,
25886 and y are all referenced someplace in the program by calling
25887 usevar() on them. [Some linkers delete symbols which are
25888 never referenced. The space remains, but there's no way to
25889 get a (symbolic) handle on the variable from the debugger.]
25890
25891 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25892
25893 * gdb.base/printcmds.c: Add typedeffed arrays.
25894
25895 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25896 procedure to test arrays that are typedef'd.
25897
25898 2000-03-13 James Ingham <jingham@leda.cygnus.com>
25899
25900 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25901 the library directories.
25902
25903 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25904
25905 * configure.in (configdirs): Add sub directory gdb.mi.
25906 * configure: Re-generate.
25907
25908 * gdb.mi: New directory.
25909
25910 2000-02-25 Scott Bambrough <scottb@netwinder.org>
25911
25912 * gdb.base/long_long.exp: Correct test suite failure when printing
25913 a long long value as a double on ARM platforms.
25914
25915 2000-02-16 Jim Blandy <jimb@redhat.com>
25916
25917 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25918 default source file is set properly before running this test.
25919
25920 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25921
25922 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25923 gdbtk/library directory, not in gdbtcl2.
25924
25925 2000-02-04 Jim Blandy <jimb@redhat.com>
25926
25927 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25928 backslash from regexp pattern.
25929
25930 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25931 procedure. Use it to run all the "continue to bp overloaded"
25932 tests. Note that this changes the names of the tests slightly.
25933 If the breakpoint hit message includes a hex PC value, because
25934 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25935 from the real source code, still consider that a pass.
25936
25937 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25938 XFAIL here if the breakpoint message contains a hex address. Note
25939 similar change on 1999-11-02.
25940
25941 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25942
25943 * gdb.base/ptype.exp: Establish a default source file before
25944 calling get_debug_format.
25945
25946 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25947
25948 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25949
25950 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25951
25952 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25953 of successive stepi commands -- while in the prologue we should see
25954 the function entry bracket.
25955
25956 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25957
25958 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25959 reach __change_mode() when stepping through the end of main().
25960
25961 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25962
25963 * gdb.base/default.exp: Fix expected pattern.
25964 * gdb.base/help.exp: Same.
25965
25966 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25967
25968 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25969 Don't use xfail's because that affects only the following test.
25970
25971 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25972 solaris or linux.
25973
25974 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25975
25976 2000-01-07 Michael Snyder <msnyder@cygnus.com>
25977
25978 * gdb.base/display.exp: Some yacc parsers like to say
25979 "A syntax error" rather than "A parse error". Accept both.
25980
25981 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25982
25983 * gdb.base/default.exp: Remove OS dependent string from "target
25984 remote" test.
25985 * gdb.base/help.exp: Same for "help target remote" test.
25986
25987 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25988
25989 From Jim Kingdon <kingdon@redhat.com>:
25990
25991 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25992 prompt (cleanup rather than necessity, but still might keep output
25993 from spilling to next test).
25994
25995 2000-01-02 Fred Fish <fnf@cygnus.com>
25996
25997 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25998 AIX, which defines them in <sys/types.h>.
25999
26000 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
26001
26002 * gdb.base/default.exp: Match arm* etc instead of arm in "info
26003 float" test.
26004
26005 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
26006
26007 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
26008
26009 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26010 outermost frame disallowed".
26011
26012 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26013
26014 * gdb.base/setvar.exp: New tests for setting the value of a struct
26015 with a constant list.
26016
26017 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26018
26019 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26020 require the user to type a cast before setting the value of a struct.
26021
26022 1999-12-06 Jim Blandy <jimb@cygnus.com>
26023
26024 * gdb.base/default.exp: Expect the new 'info float' command on
26025 all i386 platforms.
26026
26027 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26028 LinuxThreads libraries that don't support debugging.
26029
26030 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26031
26032 * gdb.base/remote.c: Fill the buffer with truely random data.
26033 Change the buffer type to ``unsigned char'' to simplify size
26034 arithmetic.
26035
26036 * gdb.base/remote.exp: Reduce download numbers by one. Typical
26037 stub only handles 400-1 byte packets. Verify that the download
26038 worked.
26039
26040 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26041
26042 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26043 tests, using UNRESOLVED for the untested cases. Also, does not wait
26044 for a timeout if the prompt was received before a recognizable pattern.
26045
26046 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26047
26048 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26049
26050 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26051
26052 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
26053 watchpoints.
26054
26055 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
26056
26057 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26058
26059 * gdb.c++/local.exp: Be more flexible in recognizing local class
26060 name mangling. Don't allow horribly truncated method names.
26061 * gdb.c++/derivation.exp: Expect protected inheritance.
26062 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26063 * gdb.c++/virtfunc.exp: Likewise.
26064 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26065 when printing a nested enum.
26066
26067 1999-11-22 Jim Blandy <jimb@cygnus.com>
26068
26069 * gdb.base/step-test.exp: Properly await GDB's response to setting
26070 a breakpoint on the call to large_struct_by_value.
26071
26072 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26073 just because we have debug info for the `start' function.
26074
26075 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26076
26077 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26078 "Unknown signal" messages, which indicate (on LinuxThreads) that
26079 GDB doesn't know how to debug threads on this system. This is
26080 better than hanging while philosopher 0 dumps chatter into gdb.log.
26081
26082 1999-11-18 Tom Tromey <tromey@cygnus.com>
26083
26084 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26085
26086 1999-11-18 Fred Fish <fnf@cygnus.com>
26087
26088 * gdb.base/coremaker2.c: Add sample program for generating
26089 cores that is more self contained than coremaker.c. Eventually
26090 I'll add more code to this and tie it into the testsuite.
26091
26092 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26093
26094 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26095
26096 1999-11-10 Jimmy Guo <guo@cup.hp.com>
26097
26098 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
26099 from $srcdir/lib/.
26100 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
26101 and gdb.c++/.
26102
26103 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26104
26105 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
26106 'continue with watch' test point.
26107
26108 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26109
26110 Merged from p2linux-990323-branch:
26111
26112 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26113
26114 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26115
26116 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
26117 {limit,fixed}''. Test ``set download-write-size''.
26118
26119 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26120
26121 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
26122 gdb_expect_list.
26123
26124 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26125
26126 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26127
26128 1999-11-03 Mark Salter <msalter@cygnus.com>
26129
26130 * gdb.base/break.exp: Fix "stub continue" pattern.
26131
26132 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26133
26134 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26135
26136 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26137
26138 * gdb.base/display.exp ("finish"): Add timeout clause.
26139
26140 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26141 plain prompt clause, so this doesn't have to time out in order to
26142 fail.
26143
26144 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
26145 breakpoint hit messages include an address.
26146
26147 * gdb.base/display.exp: Don't forget to escape parens in regular
26148 expressions. Unix regexp notatation sucks.
26149
26150 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26151
26152 * gdb.base/annota1.exp: Test for annotate-signalled: change output
26153 order for 'signalled' message.
26154
26155 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26156
26157 From Jimmy Guo <guo@cup.hp.com>:
26158 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26159 * gdb.base/annota1.c: Add code for tests to work with.
26160
26161 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26162
26163 * gdb.base/remote.exp: New test for remote downloading settings.
26164 * gdb.base/remote.c: New file with large .data.
26165
26166 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26167
26168 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26169 for LinuxThreads support, merged from the Code Fusion branch.
26170
26171 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26172
26173 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
26174 containing exp_continue into a while within an expect. Don't
26175 attempt a start more than three times. Check return value from
26176 gdb_load.
26177
26178 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26179
26180 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
26181 a pass case.
26182
26183 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
26184
26185 * gdb.base/break.c (main): Added a statement that we can step
26186 off of.
26187 * gdb.base/break.exp: Added tests for setting a breakpoint
26188 at an offset and stepping onto a breakpoint.
26189
26190 1999-10-01 Fred Fish <fnf@cygnus.com>
26191
26192 * gdb.base/help.exp (help add-symbol-file): Update to match current
26193 gdb output.
26194
26195 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26196
26197 * gdb.base/break.exp: Code locations are in hex, don't forget!
26198 (For HP-UX.)
26199
26200 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26201
26202 * condbreak.exp: Use break.c as test program.
26203 * condbreak.c: Remove, redundant with break.c.
26204
26205 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26206
26207 * config/monitor.exp (gdb_target_monitor): Disable X- and
26208 Z-packets if the target needs it.
26209
26210 1999-09-13 James Ingham <jingham@leda.cygnus.com>
26211
26212 * gdb.c++/overload.exp: Added tests for listing overloaded
26213 functions with function pointers in the arg, explicitly calling
26214 out the version you want.
26215
26216 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26217
26218 * long_long.exp: Add variations of test cases that work for
26219 targets with 16-bit ints and 32-bit doubles.
26220
26221 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26222
26223 * break.c (main): Compare a possibly-uninitialized argc with an
26224 unlikely value that fits in 16 bits.
26225
26226 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26227
26228 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26229 0xfeeb, don't want negative numbers if ints are 16 bits.
26230
26231 * lib/gdb.exp (skip_cplus_tests): New proc.
26232 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26233 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26234 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26235 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26236 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26237 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26238 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26239 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
26240
26241 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26242
26243 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26244
26245 * gdb.base/corefile.exp (up): Allow a parameter to appear
26246 in the frame that we're going up to.
26247
26248 From Jim Blandy <jimb@cygnus.com>:
26249
26250 * gdb.base/default.exp (info float): Expect some output now.
26251
26252 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26253 returning floating-point values to fail on the x86.
26254 * gdb.base/callfwmall.exp (do_function_calls): Same.
26255
26256 * gdb.base/list.exp (test_listsize): Correct expectations for
26257 listing line 1 with listsize 2. Also, listing a single line
26258 works now, as does listing three lines. [Kevin's note: There
26259 were a number of other cases fixed too where the expectations
26260 differed...]
26261
26262 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26263
26264 * gdb.base/selftest.exp: Add case for when version prints as
26265 constant string instead of char pointer.
26266
26267 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26268
26269 * gdb.base/ending-run.exp: Add Solaris case for what happens when
26270 stepping out of main.
26271
26272 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26273 G++ used.
26274
26275 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
26276 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
26277
26278 * gdb.c++/ovldbreak.exp: Update match string in test that
26279 includes a warning of multiple breakpoints.
26280
26281 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26282
26283 * gdb.base/display.exp: Improve precision of step-after-finish
26284 added yesterday.
26285
26286 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
26287 test.
26288
26289 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26290 configs when using G++, not just hppa*.
26291
26292 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26293
26294 * gdb.base/async.c: New file.
26295 * gdb.base/async.exp: New file.
26296
26297 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26298
26299 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26300 PA64.
26301
26302 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26303
26304 * gdb.base/display.exp: "finish" can leave us mid-line on many
26305 targets, deal with it. Add a small constant to main, instead of
26306 1000 since main+1000 may not be a valid address in the target.
26307
26308 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26309 on hpux11.
26310
26311 * gdb.base/attach.exp: Handle another hpux11 error message variant
26312 when attaching to a process that does not exist.
26313
26314 1999-08-19 J.T. Conklin <jtc@redback.com>
26315
26316 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
26317 characters in 'continue to 1241' test.
26318
26319 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26320
26321 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26322 stop in print_long_arg_list, define and use a whitespace
26323 variable in print_small_structs test, add an XFAIL for Solaris.
26324 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26325 interested enough to fix.
26326
26327 1999-08-13 Keith Seitz <keiths@cygnus.com>
26328
26329 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26330 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26331 proc knows about targets other than the natives.
26332 (test_assign): Use "gdb_run_cmd" to "run" the target.
26333 Check that we've actually hit the breakpoint at main.
26334 When we attempt to assign a value to a local variable, check
26335 that the variable is in the current scope, i.e., don't use
26336 a test with an empty result.
26337
26338 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26339
26340 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
26341 command.
26342
26343 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26344
26345 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26346 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26347 gdb.compat, gdb.threads-hp.
26348 gdb.hp/configure, gdb.hp/configure.in: New files.
26349 gdb.hp/Makefile.in: Recurse into new subdirs.
26350 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26351 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26352 in object files.
26353 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26354
26355 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26356
26357 * gdb.base/display.exp: Help expect by putting a newline in the
26358 funky printf, remove a bogus p/a test.
26359
26360 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26361
26362 * gdb.base/display.exp: Make sure that when we say 'run', we are
26363 connected to the target. This is necessary when running not
26364 natively.
26365
26366 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26367
26368 * gdb.base/step-test.exp: Removed some extraneous messages.
26369
26370 * gdb.base/long_long.exp: Don't run memory examination tests
26371 on little-endian targets (they will need a different set of
26372 results to match).
26373
26374 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26375
26376 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26377 until somebody decides to fix GDB.
26378
26379 * gdb.base/long_long.c: Stop compiler complaint by specifying long
26380 constant as "ULL".
26381 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26382 matches for a couple x/2 commands.
26383
26384 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26385
26386 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26387 by merging in ref-types2 tests.
26388 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26389
26390 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26391 * gdb.c++/Makefile.in: Add standard actions.
26392 (EXECUTABLES): Rename from PROGS, update list.
26393 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26394 from gdb.hp.
26395 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26396 foo and bar locals.
26397 * gdb.c++/anon-union.exp: Fix tests to match.
26398 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26399 expect matches to handle output variations.
26400 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26401 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
26402 output, add HP alternatives for new and delete prints.
26403 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
26404 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
26405 * gdb.c++/demangle.exp: Use $style when reporting failure.
26406 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26407 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26408 match alternatives.
26409 * gdb.c++/local.exp: Add match alternatives or xfails for HP
26410 compilers.
26411 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26412 * gdb.c++/method.exp: Add match alternatives.
26413 * gdb.c++/misc.cc: Add bool types.
26414 * gdb.c++/misc.exp: Add tests for bool types.
26415 * gdb.c++/overload.exp: Add xfails.
26416 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26417 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26418 add some more template parameter tests (only for HP currently).
26419 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26420 * gdb.c++/virtfunc.cc: Add return type and value for main.
26421 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26422 match alternatives.
26423
26424 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26425
26426 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26427
26428 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26429
26430 * gdb.base/signals.exp: Don't expect getting a backtrace from
26431 within a signal handler to fail on Linux.
26432
26433 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26434
26435 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26436 * lib/gdb.exp: Remove some gratuitious semicolons.
26437 (delete_breakpoints): Increase timeout.
26438 (gdb_expect): Add -notransfer option.
26439 (gdb_test): Use -notransfer option.
26440 (get_compiler_info): Add f77 case.
26441 (get_compiler): New proc, split out from gdb_preprocess, add f77
26442 case.
26443 (gdb_preprocess): Call get_compiler.
26444
26445 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26446 * gdb.base/attach.exp, gdb.base/display.exp,
26447 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26448 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26449 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26450 third arg to gdb_test.
26451 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26452 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26453 HP-UX xfails, add others.
26454 * gdb.base/completion.exp: Reflect name change of self-test.
26455 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26456 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26457 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26458 HP failure number.
26459 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26460 useless HP-UX 10.30 references.
26461 * gdb.base/maint.exp: Loosen matches.
26462 * gdb.base/pointers.c (main): Declare more_code.
26463 * gdb.base/pointers.exp: Match on output of a `next'.
26464 * gdb.base/structs.c: Add prototypes.
26465 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26466 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26467
26468 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26469
26470 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26471 command.
26472
26473 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26474
26475 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26476 Fix run to main failures. Watchpoint can be hardware watchpoint.
26477
26478 * gdb.base/annota1.exp: Clean up some more, in case printf has
26479 debug info. Deal with lack of signal hanlder info in stack.
26480
26481 From Jim Kingdon <kingdon@redhat.com>:
26482 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26483
26484 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26485
26486 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26487 gdb.base/foll-vfork.exp: Don't run for crosses.
26488
26489 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26490
26491 * gdb.base/configure.in: Check for gdbvars.exp instead of
26492 a1-selftest.exp.
26493 * gdb.base/configure: Re-generate.
26494
26495 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26496
26497 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26498 in trying to run first and name is too long.
26499
26500 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26501 pointers2.c and pointers2.exp, respectively.
26502 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26503 doschk happier.
26504
26505 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26506
26507 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26508 callfuncs2.c and callfuncs2.exp.
26509
26510 * gdb.base/list.exp: Remove mistaken xfails.
26511 * gdb.base/list0.h: Add optional prototypes.
26512
26513 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26514
26515 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26516 calling malloc.
26517 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26518 * ptype.exp: Move test for get_debug_format to before its first
26519 use.
26520
26521 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26522
26523 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26524 * gdb.base/annota2.cc, annota2.exp: Move from here.
26525 * gdb.c++/annota2.cc, annota2.exp: To here.
26526 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26527
26528 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26529
26530 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26531 a consistent format.
26532
26533 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26534
26535 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26536 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26537 HP compilers, also set the globals $true and $false.
26538
26539 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26540 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26541 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26542 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26543 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26544 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26545 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26546 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26547 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26548 whatis.c} Add C++ compatible function definitions and return
26549 types, add includes for library functions.
26550 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26551 * gdb.base/step-test.c (myglob): Rename from glob.
26552 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26553 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26554 files, move here from gdb.hp.
26555 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26556 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26557 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26558 Adjust line numbers in regexps.
26559
26560 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26561 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26562 instead of 0/1.
26563
26564 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26565 foll-vfork.exp: New files, move here from gdb.hp.
26566 * gdb.base/page.exp: New file, test of pagination command.
26567
26568 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26569 recursion test.
26570 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26571
26572 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26573 gdb.base/solib.exp: Fix compiler invocation process.
26574
26575 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26576 HP-UX 11, turn off overload resolution explicitly.
26577 * gdb.base/commands.exp: Set argument list explicitly, add
26578 watchpoint test.
26579 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26580 them work.
26581 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26582 expressions properly.
26583 * gdb.base/corefile.exp: Loosen the match slightly.
26584 * gdb.base/default.exp: Allow "Error accessing memory" message
26585 also.
26586 * gdb.base/display.exp: Skip over x/0 j if PA64.
26587 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26588 * gdb.base/interrupt.exp: Ditto.
26589 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26590 in use.
26591 * gdb.base/list.exp: Add xfails for HP-UX.
26592 * gdb.base/long_long.exp: Refine some of the numeric matches.
26593 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26594 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26595 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26596 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26597 * gdb.base/ptype.exp: Succeed on more varieties of output.
26598 * gdb.base/scope.exp: Add xfails for HP-UX.
26599 * gdb.base/sect-cmd.exp: Add more cases.
26600 * gdb.base/setvar.exp: Add xfails for HP-UX.
26601 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26602 * gdb.base/signals.exp: Match on void symbolically.
26603 * gdb.base/step-test.exp: Add case for PA64.
26604 * gdb.base/term.exp: Add exit and restart.
26605 * gdb.base/twice.exp: Clean up after self.
26606 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26607 * gdb.base/whatis.exp: Allow more ways to pass tests.
26608
26609 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26610 no longer useful.
26611
26612 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26613
26614 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26615 list of patterns.
26616 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26617 print_double_array(double_array)", "continuing to breakpoint
26618 1018", "print print_double_array(array_d)" and "continuing to
26619 1034" tests.
26620
26621 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26622
26623 * Makefile.in: Add empty html and install-html targets.
26624
26625 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26626
26627 * config/mt-*: Remove, these haven't been used since 1996.
26628
26629 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26630
26631 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26632 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26633 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26634
26635 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26636
26637 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26638 simpler match case for the ptype of the big class.
26639
26640 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26641
26642 * gdb.exp: Fix test for gdb_prompt existence.
26643
26644 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26645
26646 * gdb.exp (gdb_test): Add fail after calls to perror.
26647
26648 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26649
26650 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26651
26652 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26653
26654 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26655
26656 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26657
26658 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26659 malloc() is linked in.
26660
26661 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26662
26663 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26664 step at end.
26665
26666 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26667
26668 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26669
26670 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26671
26672 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26673
26674 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26675 * gdb.base/mips_pro.exp: Likewise.
26676
26677 1999-06-02 Keith Seitz <keiths@cygnus.com>
26678
26679 * gdb.c++/templates.cc: Change all "new" operators to throw
26680 an exception.
26681 * gdb.c++/cplusfuncs.cc: Likewise.
26682
26683 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26684
26685 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26686
26687 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26688 * gdb.base/ending-run.exp: When stepping out of main, accept a
26689 step into an arbitrary assembler file.
26690
26691 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26692
26693 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26694 "breakpoint-invalid" to be printed.
26695 * gdb.base/annota2.exp: Revise line number for main
26696 breakpoint. Allow any number of "frames-invalid" and
26697 "breakpoint-invalid" to be printed.
26698 * gdb.base/annota2.cc: Initialize a.x to 0.
26699
26700 1999-05-17 Keith Seitz <keiths@cygnus.com>
26701
26702 * gdb.base/call-ar-st.exp: Skip
26703 "print print_double_array (double_array)" when "skip_float_tests" set.
26704 Ditto for "print print_double_array(array_d)",
26705 "print print_small_structs", "print print_ten_doubles", and
26706 "step into print_long_arg_list".
26707 Don't assume we can step into "print_long_arg_list": we could step
26708 into memcpy.
26709 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26710 "skip_float_tests" is set: "print print_one_double(*d1)"
26711 and "print print_two_floats(*f3)".
26712 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26713 "skip_float_tests" is set.
26714 * gdb.base/varargs.exp: Skip
26715 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26716 "skip_float_tests" set.
26717
26718 1999-05-06 Keith Seitz <keiths@cygnus.com>
26719
26720 * gdb.base/annota2.cc: Include stdio.h.
26721
26722 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26723
26724 * gdb.base/crossload.exp: Remove, this has been disabled ever
26725 since BFD stopped including all targets, and cross-GDB gets
26726 plenty of testing anyway.
26727 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26728 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26729 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26730 * gdb.base/README: Remove, was doc for this.
26731 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26732 needed.
26733
26734 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26735
26736 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26737 output.
26738
26739 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26740 * gdb.base/annota2.exp: New file. More annotation tests.
26741 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26742 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26743
26744 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26745
26746 * config/cfdbug.exp: New file.
26747
26748 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26749
26750 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26751 Marcus Daniel's and Dale Hawkins's demangler crashes.
26752
26753 * gdb.c++/demangle.exp (test_gnu_style_demangling,
26754 test_lucid_style_demangling, test_arm_style_demangling,
26755 test_hp_style_demangling): Try Tom Tromey's core-dumping
26756 identifier under each demangling style.
26757
26758 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26759
26760 * gdb.c++/demangle.exp: Include the current demangling style
26761 in all test names.
26762 (current_demangling_style): New global variable.
26763 (set_demangling_style, test_demangling_core, test_demangling,
26764 test_demangling_exact): New functions.
26765 (test_gnu_style_demangling, test_lucid_style_demangling,
26766 test_arm_style_demangling, test_hp_style_demangling): Use those,
26767 instead of calling gdb_test and gdb_test_exact directly.
26768 (catch_demangling_errors): New function, which reports errors
26769 signalled by the demangling test functions in an orderly way.
26770 (do_tests): Use catch_demangling_errors.
26771
26772 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26773
26774 * gdb.base/signals.exp (test_handle_all_print): Use () for
26775 grouping in expressions, not {}.
26776
26777 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
26778 initialized yet.
26779
26780 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26781
26782 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26783 are listed.
26784
26785 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26786
26787 * gdb.stabs/weird.exp: Test for CC being defined before
26788 looking at its value.
26789
26790 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26791
26792 * gdb.base/call-ar-st.exp: Remove stray '#'.
26793 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26794 "short int" and "long int".
26795 * gdb.c++/overload.cc: Cast the string added in the previous
26796 change, to mollify finicky HP compiler.
26797 * gdb.hp/reg-test.exp (testfile): Fix file name.
26798 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26799
26800 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26801 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26802 alternate form of enum ptype.
26803
26804 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26805
26806 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26807 * gdb.hp/*.exp: Change all to run compiler probe only after
26808 passing skip_hp_tests, so as not to waste time on guaranteed
26809 failure.
26810
26811 * gdb.c++/overload.cc: Pass string instead of char addr, always
26812 init ccpfoo.
26813 * gdb.c++/templates.cc: Fix syntax error.
26814
26815 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26816
26817 * gdb.base/commands.exp: Add test for correct position of '>'
26818 when issuing the 'commands' command after a 'while' or 'if'
26819 command.
26820
26821 1999-03-18 James Ingham <jingham@cygnus.com>
26822
26823 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26824
26825 * gdb.c++/method.exp: It was testing an uninitialized int on the
26826 stack and assuming it was positive.
26827
26828 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26829
26830 * gdb.base/step-test.exp: Catch a case where finish is broken and
26831 keep it from killing the rest of the tests.
26832 Use gdb_continue_to_end.
26833
26834 * gdb.base/sigall.exp: use gdb_continue_to_end.
26835
26836 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26837
26838 * gdb.base/display.exp: use runto_main, not run.
26839
26840 * gdb.base/default.exp: Check for the current error message in the
26841 r abbreviation test.
26842 Add strongarm to the targets that know info float.
26843
26844 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26845 run which doesn't work with monitors.
26846
26847 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26848 1034 test.
26849
26850 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26851
26852 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26853 end of a program. Traps the case (in Cygmon) when the program
26854 never really exits. Same as Mark's continue_to_exit, but I had
26855 put it in a lot more places, so I used my name. Sorry Mark...
26856
26857 * config/monitor.exp (gdb_target_monitor): added another
26858 target_info parameter: remotebinarydownload. This will set the
26859 remotebinarydownload flag if this is causing some boards trouble.
26860
26861 1999-03-18 Mark Salter <msalter@cygnus.com>
26862
26863 * lib/gdb.exp (continue_to_exit): New function.
26864
26865 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26866 * gdb.base/ending-run.exp: Ditto.
26867 * gdb.base/step-test.exp: Ditto.
26868
26869 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26870
26871 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26872 (suggested by Art Haas <ahaas@neosoft.com>).
26873
26874 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26875
26876 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26877
26878 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26879
26880 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26881 descriptions of types (short unsigned int vs unsigned short, etc).
26882
26883 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26884
26885 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26886 a call to strlen; sometimes we do have sources.
26887
26888 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26889
26890 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26891 character, so GDB won't print garbage after its end.
26892
26893 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26894 breakpoint there instead. Sometimes GCC emits memcpy to handle
26895 the large structures being passed by value, so we step into that
26896 instead of sum_array_print, which obscures what we're really testing.
26897 * gdb.base/step-test.exp: However, we do want a test that notices
26898 the bizarre steps into memcpy, so do that here. Add check for
26899 stepping into function calls that pass large structures by value.
26900 ("Is that a noun clause, or are you just happy to see me?")
26901 Remove all references to specific line numbers.
26902 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26903 New type and function.
26904 (main): Call large_struct_by_value, passing it a large struct by value.
26905 * lib/gdb.exp (gdb_get_line_number): New function.
26906
26907 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26908 more portable.
26909
26910 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26911
26912 * lib/gdb.exp: Doc fixes.
26913
26914 1999-03-05 Nick Clifton <nickc@cygnus.com>
26915
26916 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26917
26918 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26919
26920 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26921 commands. They're not germane to this test, and they don't work
26922 that way on remote targets.
26923
26924 1999-03-01 James Ingham <jingham@cygnus.com>
26925
26926 * Changelog entries merged over from gdb development branch.
26927
26928 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26929
26930 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26931 for outputting results of test run.
26932
26933 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
26934
26935 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26936
26937 1999-02-25 Felix Lee <flee@cygnus.com>
26938
26939 * lib/gdb.exp (debug_format): initialize
26940
26941 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26942
26943 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26944 * gdb.base/call-rt-st.c: Ditto.
26945
26946 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26947
26948 * gdb.threads/pthreads.exp (horiz): New variable.
26949 (test_startup): Fix regexps that capture thread numbers.
26950
26951 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26952
26953 * gdb.base/smoke.exp: Disambiguate two test case names (both
26954 called ``print'').
26955
26956 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26957
26958 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26959 compilation.
26960
26961 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26962
26963 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26964 actual output formatting.
26965 * gdb.base/smoke.exp: GDB removes leading 0's.
26966 * gdb.base/volatile.exp: Don't check type of remuneration;
26967 that variable is no longer defined in constvars.c.
26968 * gdb.base/step-test.c (main): Exit with explicit exit code.
26969 * gdb.base/step-test.exp: Remove two nexti checks--they are
26970 not portable.
26971
26972 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26973
26974 * gdb.base/help.exp ("help delete display"): Fix test to match
26975 gdb's output.
26976
26977 * gdb.base/long_long.c (known_types): Initialize values to zero.
26978 * gdb.base/long_long.exp: Step one more line
26979 so 'dec' is initialized in "get to known place". GDB removes
26980 leading zeros. Explicitly ask for hex formatting. Use
26981 unique test case names.
26982
26983 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26984
26985 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26986
26987 * gdb.c++/method.exp: Add missing close brace.
26988
26989 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26990
26991 * gdb.base/maint.exp: Use 'set height 0' to disable page
26992 prompting, not 'set height 400'.
26993
26994 Fix a bunch of timeouts.
26995 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26996 four separate tests, so expect doesn't take forever to match a ton
26997 of text against a regexp with lots of .* forms.
26998 ("maint print psymbols", "maint print symbols"): Make some of
26999 these greps more selective, so that expect doesn't try to wade
27000 through huge piles of output and time out.
27001
27002 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27003
27004 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
27005 tests: one which doesn't expect shlib events to be reported, and
27006 another which does, but is XFAIL for all platforms other than
27007 HP/UX.
27008
27009 * gdb.base/break.exp: Teach the test suite that the `catch
27010 fork', `catch vfork', and `catch exec' commands produce error
27011 messages on platforms that don't provide these features.
27012
27013 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27014
27015 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
27016 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27017 (shortening names from solib_threshold.exp etc), won't run on
27018 anything but HP-UX for the foreseeable future.
27019 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
27020 reflect move.
27021
27022 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27023
27024 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27025 gdb.trace/Makefile.in (clean): Remove all test executables.
27026
27027 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27028
27029 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27030 successfully re-sets breakpoints in shared libraries.
27031 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27032
27033 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27034
27035 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27036 and compiled w/o GCC.
27037
27038 * gdb.hp/watch-cmd.exp: ditto.
27039
27040 * gdb.hp/watch-hp.exp: ditto.
27041
27042 * gdb.hp/xdb1.exp: ditto.
27043
27044 * gdb.hp/xdb2.exp: ditto.
27045
27046 * gdb.hp/dbx.exp: ditto.
27047
27048 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27049
27050 * constvars.c: Remove C++-isms.
27051 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
27052 with GCC.
27053
27054 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27055
27056 The following changes are part of the HP merge.
27057
27058 * gdb.base/break.exp: new tests to verify that catchpoints for
27059 fork, vfork, and exec don't trigger inappropriately.
27060
27061 * gdb.base/opaque.exp: compile one file at a time, then link.
27062
27063 * gdb.base/signals.exp: be more restrictive about which hppa
27064 systems receive a setup_xfail. new tests.
27065
27066 * gdb.base/solib_threshold.build: new file.
27067 * gdb.base/solib_threshold.exp: new file.
27068 * gdb.base/solib_threshold.link_opts: new file.
27069 * gdb.base/solib_threshold.mk: new file.
27070 * gdb.base/gen_solib_threshold.c: new file.
27071
27072 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27073 tests. New tests for enums inside classes.
27074
27075 * gdb.c++/compiler.cc: indicate support of template debugging.
27076
27077 * gdb.c++/demangle.exp: run hp style demangling tests.
27078
27079 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27080 tests.
27081
27082 * gdb.c++/misc.cc: changes to support new tests.
27083
27084 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27085 to support new tests.
27086
27087 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27088 gcc, then skip these tests.
27089
27090 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27091
27092 The following files are part of the HP merge; some had longer
27093 names at HP, but have been renamed to be no more than 14
27094 characters in length.
27095
27096 * gdb.hp/ambiguous.cc: new file.
27097 * gdb.hp/ambiguous.exp: new file.
27098 * gdb.hp/attach.exp: new file.
27099 * gdb.hp/attach2.exp: new file.
27100 * gdb.hp/classes-hp.exp: new file.
27101 * gdb.hp/ctti.exp: new file.
27102 * gdb.hp/ctti-add.cc: new file.
27103 * gdb.hp/ctti-add1.cc: new file.
27104 * gdb.hp/ctti-add2.cc: new file.
27105 * gdb.hp/ctti-add3.cc: new file.
27106 * gdb.hp/dbx.exp: new file.
27107 * gdb.hp/exception.cc: new file.
27108 * gdb.hp/exception.exp: new file.
27109 * gdb.hp/foll-exec.c: new file.
27110 * gdb.hp/foll-exec.exp: new file.
27111 * gdb.hp/foll-fork.c: new file.
27112 * gdb.hp/foll-fork.exp: new file.
27113 * gdb.hp/foll-vfork.c: new file.
27114 * gdb.hp/foll-vfork.exp: new file.
27115 * gdb.hp/inherit-hp.exp: new file.
27116 * gdb.hp/more-steps.exp: new file.
27117 * gdb.hp/namespace.cc: new file.
27118 * gdb.hp/namespace.exp: new file.
27119 * gdb.hp/optimize.exp: new file.
27120 * gdb.hp/pxdb.c: new file.
27121 * gdb.hp/pxdb.exp: new file.
27122 * gdb.hp/quicksort.exp: new file.
27123 * gdb.hp/reg-test.exp: new file.
27124 * gdb.hp/reg-test.s: new file.
27125 * gdb.hp/sized-enum.c: new file.
27126 * gdb.hp/sized-enum.exp: new file.
27127 * gdb.hp/start-stop.exp: new file.
27128 * gdb.hp/templ-hp.cc: new file.
27129 * gdb.hp/templ-hp.exp: new file.
27130 * gdb.hp/thr-lib.c: new file.
27131 * gdb.hp/thr-lib.exp: new file.
27132 * gdb.hp/thr-lib.h: new file.
27133 * gdb.hp/thr-liblib.c: new file.
27134 * gdb.hp/virtfun-hp.c: new file.
27135 * gdb.hp/virtfun-hp.exp: new file.
27136 * gdb.hp/watch-cmd.exp: new file.
27137 * gdb.hp/watch-hp.exp: new file.
27138 * gdb.hp/xdb1.exp: new file.
27139 * gdb.hp/xdb2.exp: new file.
27140 * gdb.hp/xdb3.exp: new file.
27141
27142 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27143
27144 The following files are part of the HP merge; some had longer
27145 names at HP, but have been renamed to be no more than 14
27146 characters in length.
27147
27148 * gdb.base/ss.h: new file.
27149 * gdb.base/call-ar-st.c: new file.
27150 * gdb.base/call-ar-st.exp: new file.
27151 * gdb.base/call-rt-st.c: new file.
27152 * gdb.base/call-rt-st-exp: new file.
27153 * gdb.base/call-strs.exp: new file.
27154 * gdb.base/ena-dis-br.exp: new file.
27155 * gdb.base/environ.exp: new file.
27156 * gdb.base/long_long.exp: new file.
27157 * gdb.base/sect-cmd.exp: new file.
27158 * gdb.base/shlib-cl2.exp: new file.
27159 * gdb.base/smoke.exp: new file.
27160 * gdb.base/so-impl-ld.c: new file.
27161 * gdb.base/so-impl-ld.exp: new file.
27162 * gdb.base/so-indr-cl.c: new file.
27163 * gdb.base/so-indr-cl.exp: new file.
27164 * gdb.base/varargs.exp: new file.
27165 * gdb.base/volatile.exp: new file.
27166 * gdb.base/whatis-exp.exp: new file.
27167 * gdb.base/display.exp: new file.
27168 * gdb.c++/derivation.exp: new file.
27169 * gdb.c++/local.exp: new file.
27170 * gdb.c++/member-ptr.exp: new file.
27171 * gdb.c++/overload.exp: new file.
27172 * gdb.c++/ovldbreak.exp: new file.
27173 * gdb.c++/ref-types.exp: new file.
27174 * gdb.c++/ref-types2.exp: new file.
27175 * gdb.c++/userdef.exp: new file.
27176
27177 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27178
27179 * gdb.base/default.exp: Reflect wording change in remote.c.
27180
27181 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
27182
27183 * gdb.base/help.exp: Update to reflect current text.
27184
27185 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27186
27187 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27188 they're stack variables and contain garbage.
27189 * gdb.c++/anon-union.exp: new file.
27190
27191 The following changes were made by David Taylor
27192 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27193 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27194 in changes by HP.
27195
27196 * gdb.base/bitops.exp: new file.
27197 * gdb.base/default.exp: change expected messages for catch and
27198 info catch tests to reflect HP merge changes.
27199 * gdb.base/enable-disable-break.exp
27200 * gdb.base/ending-run.c: new file.
27201 * gdb.base/long_long.c: new file.
27202 * gdb.base/maint.exp: new file.
27203 * gdb.base/pointers2.exp: new file.
27204 * gdb.base/shlib-call2.exp: new file.
27205 * gdb.base/solib.exp: new file.
27206 * gdb.base/step-test.c: new file.
27207 * gdb.c++/anon-union.cc: new file.
27208 * gdb.c++/local.cc: new file.
27209 * gdb.c++/member-pointer.cc: new file.
27210 * gdb.c++/method.cc: new file.
27211 * gdb.c++/ref-types.cc: new file.
27212 * gdb.c++/ref-types2.cc: new file.
27213 * gdb.c++/userdef.cc: new file.
27214
27215 * gdb.base/scope.exp: compile one file at a time, then link.
27216 * gdb.base/langs.exp: ditto.
27217 * gdb.base/list.exp: ditto.
27218
27219 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
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.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27227 skip tests. When compiling pass c++ flag to gdb_compile.
27228 * gdb.c++/
27229
27230 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27231 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27232 (skip_hp_tests): new function.
27233 (gdb_preprocess): new function.
27234
27235 * configure.in (hpdir): decide whether to configure gdb.hp.
27236 * configure: regenerated.
27237
27238 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27239 to delete on clean.
27240 (EXECUTABLES): update to reflect new additions.
27241 * gdb.base/commands.exp: update message expected.
27242 * gdb.base/default.exp: add copyright notice.
27243 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27244 * gdb.base/help.exp: update messages to reflect current text.
27245 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27246 targets for recurse tests.
27247 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27248 skip this file.
27249
27250 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27251 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27252 compilation.
27253 * gdb.c++/misc.exp: ditto.
27254 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27255 run the tests. tell gdb_compile that it's a c++ compilation.
27256
27257 * gdb.threads/pthreads.exp: fix typo in message.
27258
27259 * gdb.base/all-bin.exp: new file.
27260 * gdb.base/arithmet.exp: new file.
27261 * gdb.base/assign.exp: new file.
27262 * gdb.base/completion.exp: new file.
27263 * gdb.base/cond-expr.exp: new file.
27264 * gdb.base/condbreak.exp: new file.
27265 * gdb.base/define.exp: new file.
27266 * gdb.base/dollar.exp: new file.
27267 * gdb.base/environment.exp: new file.
27268 * gdb.base/eval-skip.exp: new file.
27269 * gdb.base/jump.exp: new file.
27270 * gdb.base/logical.exp: new file.
27271 * gdb.base/pointers.exp: new file.
27272 * gdb.base/relational.exp: new file.
27273 * gdb.base/section_command.exp: new file.
27274 * gdb.base/whatis-expr.exp: new file.
27275
27276 * gdb.base/all-types.c: new file.
27277 * gdb.base/call-array-struct.c: new file.
27278 * gdb.base/call-return-struct.c: new file.
27279 * gdb.base/call-strings.c: new file.
27280 * gdb.base/callfuncs2.c: new file.
27281 * gdb.base/condbreak.c: new file.
27282 * gdb.base/constvars.c: new file.
27283 * gdb.base/display.c: new file.
27284 * gdb.base/int-type.c: new file.
27285 * gdb.base/jump.c: new file.
27286 * gdb.base/miscexprs.c: new file.
27287 * gdb.base/pointers.c: new file.
27288 * gdb.base/pointers2.c: new file.
27289 * gdb.base/shmain.c: new file.
27290 * gdb.base/shr1.c: new file.
27291 * gdb.base/shr2.c: new file.
27292 * gdb.base/solib.c: new file.
27293 * gdb.base/solib1.c: new file.
27294 * gdb.base/solib2.c: new file.
27295 * gdb.base/varargs.c: new file.
27296 * gdb.c++/derivation.cc: new file.
27297 * gdb.c++/overload.cc: new file.
27298 * gdb.c++/ovldbreak.cc: new file.
27299 * gdb.hp/attach.c: new file.
27300 * gdb.hp/attach2.c: new file.
27301 * gdb.hp/average.c: new file.
27302 * gdb.hp/compiler.c: new file.
27303 * gdb.hp/compiler.cc: new file.
27304 * gdb.hp/execd-program.c: new file.
27305 * gdb.hp/follow-exec.c: new file.
27306 * gdb.hp/follow-fork.c: new file.
27307 * gdb.hp/follow-vfork-and-exec.c: new file.
27308 * gdb.hp/misc-hp.cc: new file.
27309 * gdb.hp/more-steps.c: new file.
27310 * gdb.hp/optimize.c: new file.
27311 * gdb.hp/quicksort.c: new file.
27312 * gdb.hp/run-hp.c: new file.
27313 * gdb.hp/start-stop.c: new file.
27314 * gdb.hp/sum.c: new file.
27315 * gdb.hp/templates-hp.cc: new file.
27316 * gdb.hp/thread-local-in-lib.c: new file.
27317 * gdb.hp/thread-local-in-lib.h: new file.
27318 * gdb.hp/thread-local-in-lib.lib.c: new file.
27319 * gdb.hp/vforked-program.c: new file.
27320 * gdb.hp/virtfunc-hp.cc: new file.
27321 * gdb.hp/watchpoint-hp.c: new file.
27322 * gdb.hp/xdb.c: new file.
27323 * gdb.hp/xdb0.c: new file.
27324 * gdb.hp/xdb0.h: new file.
27325 * gdb.hp/xdb1.c: new file.
27326
27327 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27328
27329 The following change was made by Edith Epstein
27330 <eepstein@cygnus.com> as part of a project to merge in changes
27331 originally made by HP; HP did not create ChangeLog entries.
27332
27333 * gdb.c++/demangle.exp: changed the expected output for some
27334 ARM-style mangling -- removed second reference to datatype.
27335 For example, maint demangle __dt__11T1__pt__2_cFv
27336 T1<char>::~T1<char>(void)
27337 becomes,
27338 maint demangle __dt__11T1__pt__2_cFv
27339 T1<char>::~T1(void)
27340
27341 (test_hp_style_demangling): new hp specific demangling test cases.
27342
27343 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27344
27345 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27346 * gdb.trace/backtrace.exp: Likewise.
27347 * gdb.trace/circ.exp: Likewise.
27348 * gdb.trace/collection.exp: Likewise.
27349 * gdb.trace/deltrace.exp: Likewise.
27350 * gdb.trace/infotrace.exp: Likewise.
27351 * gdb.trace/limits.exp: Likewise.
27352 * gdb.trace/packetlen.exp: Likewise.
27353 * gdb.trace/passc-dyn.exp: Likewise.
27354 * gdb.trace/passcount.exp: Likewise.
27355 * gdb.trace/report.exp: Likewise.
27356 * gdb.trace/save-trace.exp: Likewise.
27357 * gdb.trace/tfind.exp: Likewise.
27358 * gdb.trace/tracecmd.exp: Likewise.
27359 * gdb.trace/while-dyn.exp: Likewise.
27360 * gdb.trace/while-stepping.exp: Likewise.
27361
27362 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27363
27364 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27365
27366 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27367
27368 From Brendan Kehoe:
27369 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27370 int return types.
27371
27372 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27373
27374 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
27375 remote dos host testing right.
27376
27377 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27378
27379 * gdb.base/corefile.exp: remove some xfails.
27380
27381 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27382
27383 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
27384 have different timestamps.
27385
27386 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27387
27388 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
27389 gdb.base/default.exp: Replace "exec" with "executable".
27390
27391 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27392
27393 * gdb.base/default.exp: Change else if to elseif from previous
27394 delta.
27395
27396 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27397
27398 * gdb.base/default.exp: Add brace missing from previous delta.
27399
27400 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27401
27402 * gdb.base/default.exp: Support test for info float for all
27403 varieties of arm toolchain.
27404
27405 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
27406
27407 * gdb.trace/*.exp: remove "remote_download" command.
27408
27409 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
27410
27411 * gdb.trace/*.exp: remove -gdwarf from compile.
27412
27413 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27414
27415 * gdb.trace/configure.in(AC_INIT): typo
27416 * gdb.trace/configure: regenerated
27417
27418 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27419
27420 * config/m68k-emc.exp: New file.
27421 * lib/<emc-support.exp trace-support.exp}: New files.
27422 * configure.in: add new test directory gdb.trace.
27423 * gdb.trace/{configure configure.in Makefile.in}: New files.
27424 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27425 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27426 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27427 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27428 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27429 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27430 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27431
27432 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27433
27434 * gdb.c++/classes.exp: Change all regular expressions to match
27435 arbitrary combinations of newline/carriage-return, so that they
27436 will work equally well on Unix and Windows.
27437 * gdb.c++/inherit.exp: ditto.
27438 * gdb.c++/virtfunc.exp: ditto.
27439
27440 1998-08-11 Dawn Perchik <dawn@cygnus.com>
27441
27442 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27443
27444 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27445
27446 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27447 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27448 to use a0-a3/d0-d3 as needed.
27449
27450 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27451
27452 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27453 * gdb.disasm/am33.exp: Corresponding changes.
27454
27455 1998-07-11 Felix Lee <flee@cygnus.com>
27456
27457 * gdb.base/callfuncs.exp: add cmp10 test.
27458 * gdb.base/callfuncs.c (cmp10): new function.
27459
27460 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27461
27462 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27463 into two parts to get around a synchronization problem in expect.
27464
27465 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27466
27467 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27468
27469 * configure.in: Add options for gdbtk testsuite.
27470
27471 * configure: Regenerate.
27472
27473 * gdb.gdbtk: New directory to hold gdbtk tests.
27474
27475 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27476
27477 * gdb.fortran/types.exp: Escape brackets in expect patterns
27478 for test_float_literal_types_accepted tests.
27479 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27480 before run test.
27481
27482 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27483
27484 * am33.exp: Just compile, do not link the testcase.
27485 * am33.s: Add ".am33" pseudoop to force am33 mode.
27486
27487 1998-06-25 Felix Lee <flee@cygnus.com>
27488
27489 * gdb.base/setshow.exp: make sure $pc is sane.
27490
27491 * gdb.stabs/weird.exp: split expect patterns properly.
27492
27493 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27494
27495 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27496 * gdb.disasm/am33.exp: Run it.
27497
27498 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27499
27500 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27501 match processing (and eliminate spurious timeouts when running).
27502
27503 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27504
27505 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27506 exception test, but conditionalize it on target [mach | gnu].
27507
27508 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27509
27510 * gdb.base/overlays.exp: fixup compile line for linker script.
27511
27512 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27513
27514 * gdb.fortran/types.exp: don't guess at float size.
27515
27516 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27517
27518 * gdb.base/exprs.exp: delete test that depends on int size.
27519
27520 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27521
27522 * config/sim.exp: Removed checks for target triplets.
27523 (gdb_target_sim): Use gdb,target_sim_options.
27524
27525 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27526
27527 * gdb.base/reread.exp: New file.
27528 * gdb.base/reread1.c: New file.
27529 * gdb.base/reread2.c: New file.
27530
27531 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27532
27533 * config/sim.exp: Use 'target sim -sparclite' when running
27534 SPARClite programs.
27535
27536 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27537
27538 * gdb.base/structs2.exp: New file.
27539 * gdb.base/structs2.c: New file.
27540
27541 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27542
27543 * gdb.asm/common.inc: New file.
27544 * gdb.asm/d10v.inc: New file.
27545 * asm-source.exp: Pass -I's to gas to find .inc files.
27546 Update line numbers in expected output.
27547 * asmsrc1.s: Rewrite.
27548 * asmsrc2.s: Rewrite.
27549 * configure.in: Create arch.inc symlink.
27550 * configure: Regenerate.
27551 * Makefile.in (distclean): Delete arch.inc.
27552
27553 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27554
27555 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27556 (t_enum_value2): ditto
27557 (t_enum_value3): ditto
27558 (main): ditto
27559 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27560
27561 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27562 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27563 change.
27564 Use gdb_test instead of send_gdb/gdb_expect sequences.
27565
27566 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27567
27568 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27569 not void.
27570
27571 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27572
27573 * gdb.base/branches.c: Code with lots of loops and
27574 subroutines. Used to test gdbs ability to single step through PC
27575 changes, especially to test mips-tdep.c:mips_next_pc
27576
27577 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27578
27579 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27580 more rigorous EGCS C++ error checking.
27581
27582 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27583
27584 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27585 tests.
27586 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27587 function when asleep.
27588 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27589 for i*86 Linux and SVR4 signal handling problems.
27590 Remove linux xfail for `next to handler in signals_tests_1', fixed
27591 by recent infrun.c change.
27592 Limit backtrace to 10 frames to avoid timeout problems with infinite
27593 stack backtraces.
27594 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27595 target.[ch] change.
27596
27597 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27598
27599 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27600 for a newline from gdb before continuing.
27601 (default_gdb_exit): Just look for y or n.
27602 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27603 it does, fail the rests of the tests in the file.
27604
27605 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27606
27607 * config/cygmon.exp: New file.
27608
27609 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27610
27611 * gdb.base/list.exp: Fix problem with "list default lines around
27612 main" test on remote targets.
27613
27614 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27615 run test on remote targets.
27616
27617 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27618
27619 * gdb.asm: New directory.
27620 * configure.in: Configure it.
27621 * configure: Regenerate.
27622 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27623 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27624
27625 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27626
27627 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27628
27629 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27630
27631 * gdb.base/overlays (several files): Merge the two overlay
27632 managers into one. Change variables (foox, barx, bazx, grbxx)
27633 back into ints but force them to load in their proper sections.
27634
27635 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27636
27637 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27638 on-chip insn memory and IMAP1 to upper 128k.
27639 (D10VCopy): Handle memory regions crossing 16k boundaries.
27640 (D10VCopy): Transfer data in 32 bit chunks.
27641
27642 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27643
27644 * gdb.base/overlays.c (main): Exit normally when result is
27645 correct.
27646
27647 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27648 map. Include space for printf in .text segment.
27649
27650 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27651 updated d10v memory VMA/LMA map.
27652 (D10VCopy): Call D10VTranslate.
27653
27654 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27655
27656 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27657
27658 * gdb.base/bar.c (barx, bar): Change variable to small array so
27659 that it won't be put into the .sdata - small data -
27660 section. Update reference.
27661 * gdb.base/baz.c (bazx, baz): Ditto.
27662 * gdb.base/foo.c (foox, foo): Ditto.
27663 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27664
27665 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27666 to be arrays.
27667
27668 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27669
27670 * gdb.base/overlays.exp: fix up and get working again.
27671 Add tests for backtraces from an overlay function.
27672
27673 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27674
27675 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27676 "calling function with watchpoint enabled".
27677
27678 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27679
27680 * gdb.base/break.exp (test_next_with_recursion): Remove
27681 gdb_suppress_tests for d10v-*-*.
27682 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27683 pending review of whether it is useful or not.
27684
27685 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27686
27687 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27688
27689 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27690
27691 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27692 * config/dve.exp: New file to support Densan boards.
27693
27694 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27695
27696 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27697 reads and BSD.
27698
27699 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27700
27701 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27702 response.
27703
27704 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27705
27706 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27707
27708 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27709 test.
27710
27711 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27712 target_sizeof_long and target_bigendian_p.
27713 (structs_by_value, structs_by_reference): Check values according
27714 to targets word size and endianess.
27715
27716 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27717
27718 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27719 output.
27720
27721 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27722
27723 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27724 Update test of set args help to match source change.
27725
27726 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27727
27728 * gdb.base/default.exp: Expect help system output to be in
27729 alphabetical order.
27730 * gdb.base/help.exp: Ditto.
27731
27732 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27733
27734 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27735 "i*86-pc-linux-gnu*".
27736 * gdb.base/interrupt.exp: Ditto.
27737 * gdb.base/corefile.exp: Ditto.
27738
27739 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27740 define vxworks when building the testcase.
27741
27742 * gdb.base/ptype.exp: Fix testnames to be unique.
27743 * gdb.base/radix.exp: Ditto.
27744 * gdb.base/term.exp: Ditto.
27745 * gdb.base/whatis.exp: Ditto.
27746 * gdb.c++/classes.exp: Ditto.
27747
27748 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27749
27750 * gdb.base/callfuncs.exp: Fix indentation.
27751
27752 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27753 suppress_flag has been set.
27754 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27755 target feature.
27756
27757 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27758
27759 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27760 the testcase.
27761
27762 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27763 set_debug_traps() and breakpoint().
27764 * gdb.c++/misc.cc (main): Ditto.
27765 * gdb.c++/templates.cc (main): Ditto.
27766 * gdb.c++/virtfunc.cc (main): Ditto.
27767
27768 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27769
27770 * lib/gdb.exp(gdb_step_for_stub): New function.
27771 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27772 exists, reload the executable and do a "continue" instead of
27773 doing a jump.
27774 (runto_main): Use gdb_step_for_stub.
27775
27776 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27777 tests to have unique names.
27778 * gdb.base/callfuncs.exp: Ditto.
27779 * gdb.base/commands.exp: Ditto.
27780 * gdb.base/default.exp: Ditto.
27781 * gdb.base/help.exp: Ditto.
27782 * gdb.base/list.exp: Ditto.
27783 * gdb.base/opaque.exp: Ditto.
27784 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27785 similar tests.
27786
27787 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27788 * gdb.c++/cplusfuncs.cc: Ditto.
27789 * gdb.c++/virtfunc.cc: Ditto.
27790
27791 * config/monitor.exp: Keep track of the last file we saw, rather
27792 than trying to get the info from gdb.
27793
27794 * gdb.fortran/types.exp: Move comment to previous line.
27795
27796 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27797
27798 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27799 target mode.
27800
27801 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27802
27803 From Bob Manson:
27804 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27805 string from GDB when it connects.
27806
27807 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27808
27809 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27810
27811 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27812 if we can't get a debug format from GDB (we may be testing an
27813 older GDB). Use a 10 second timeout when checking for the format.
27814
27815 * gdb.stabs/weird.exp: Fix quoting.
27816
27817 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27818
27819 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27820
27821 * config/arm-ice.exp: New file.
27822
27823 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27824
27825 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27826 until it has been modified to work with the new testsuite.
27827
27828 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27829 testcase won't compile, cause all of the testcases in the file to
27830 fail instead.
27831
27832 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27833 (gdb_clear_suppressed): New procedure.
27834 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27835 it contains a positive value.
27836
27837 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27838
27839 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27840
27841 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27842
27843 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27844
27845 * lib/gdb.exp (setup_xfail_format): New function.
27846 (get_debug_format): New function to get debug format.
27847 (debug_format): New global variable to hold last value set
27848 by get_debug_format.
27849 * gdb.base/list.exp: Call get_debug_format and expect some
27850 tests to fail for DWARF 1 and COFF formats.
27851 * gdb.c++/ptype.exp: Ditto.
27852 * gdb.c++/classes.exp: Ditto.
27853 * gdb.c++/cplusfuncs.exp: Ditto.
27854 * gdb.c++/inherit.exp: Ditto.
27855 * gdb.c++/templates.exp: Ditto.
27856 * gdb.c++/virtfunc.exp: Ditto.
27857
27858 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27859
27860 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27861 host doesn't have a currently-open connection.
27862
27863 * config/sparclet.exp: Cleanups and fixes to make it generic for
27864 any gdb stub target. Handle cases where gdb doesn't respond when
27865 interrupted in a sane fashion.
27866
27867 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27868 same thing in a totally different way.
27869
27870 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27871 setting "timeout".
27872 (gdb_start): We set the global gdb_prompt variable in
27873 default_gdb_init now.
27874
27875 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27876
27877 * gdb.base/printcmds.exp: Fix "check for floating addition"
27878 regexp to accept results within approx +/- .01 of exact value.
27879 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27880
27881 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27882
27883 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27884 properly.
27885 (gdb_expect): Add optional timeout parameter, and add timeout
27886 value to various calls.
27887 (gdb_suppress_tests): Only give one warning message per group.
27888
27889 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27890
27891 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27892 global variables. Handle getting a value for $timeout more
27893 gracefully.
27894
27895 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27896
27897 * lib/gdb.exp: Close connection to remote host if gdb doesn't
27898 initialize.
27899 (default_gdb_init): New procedure; allow gdb_init to be overridden
27900 by a target configuration file.
27901 (gdb_expect): Pass the timeout to remote_expect.
27902
27903 * config/monitor.exp(gdb_load): Fix typo in regexp.
27904
27905 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27906
27907 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27908
27909 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27910
27911 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27912 here. Call gdb_target_exec before rebooting the target, to make
27913 sure the connection to the target is closed.
27914 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27915 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27916 Also detect "Timeout reading from remote" error.
27917
27918 * config/gdbserver.exp: Pass the executable being loaded to
27919 gdb_target_monitor. Don't call gdb_file_cmd here; let
27920 gdb_target_monitor do it.
27921
27922 * gdb.disasm/hppa.exp: Don't use exec_output.
27923
27924 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27925
27926 * gdb.base/list.exp: If we're debugging a non-native target,
27927 try to set the pc register to point to the start of the
27928 program before doing the first list command.
27929
27930 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27931 test_calls after restarting.
27932
27933 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27934 reloading.
27935
27936 * gdb.base/watchpoint.exp: Fix typo.
27937
27938 * gdb.base/setshow.exp: Check for use_gdb_stub.
27939
27940 * gdb.base/break.exp: Fix continue until exit test for the gdb
27941 stub case.
27942 * gdb.base/langs.exp: Ditto.
27943
27944 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27945 gdb_load_offset. If we weren't given a file to load, figure out
27946 what the current file is and use it.
27947
27948 * config/i386-bozo.exp: New file.
27949
27950 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27951
27952 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27953 feature.
27954
27955 * config/proelf.exp: New entry.
27956
27957 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27958
27959 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27960 of regexps.
27961
27962 * gdb.base/watchpoint.exp: Don't run the test_stepping
27963 tests if gdb can't call functions on the target.
27964
27965 * gdb.base/setshow.exp: Don't run the set prompt tests if
27966 the board has gdb_prompt set.
27967
27968 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27969
27970 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27971 * gdb.base/commands.exp: Likewise.
27972 * gdb.base/setshow.exp: Likewise.
27973
27974 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27975
27976 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27977 feature.
27978
27979 * config/i960.exp: New file.
27980
27981 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27982
27983 * gdb.base/funcargs.exp: Check for gdb,short_int target
27984 feature instead of looking for explicit target triplets.
27985
27986 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
27987
27988 * gdb.base/printcmds.exp: add a couple more tests a la
27989 "p 123DEADBEEF", to check parse_number.
27990 * top.c: change "to enable to enable" to "to enable" in a couple
27991 of help strings.
27992
27993 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27994
27995 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27996 on the mn10300.
27997
27998 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27999
28000 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28001 where the test executable is run with explicit args.
28002 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28003
28004 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28005
28006 * gdb.base/run.c: Use FAKEARGV to build test executable that
28007 does not require a command line arg, since most simulators
28008 don't currently support passing such an arg into the simulated
28009 program.
28010 * gdb.base/commands.exp: Change tests to insert the proper
28011 value as the arg to the first recursive factorial call. Change
28012 compilation line to define FAKEARGV at compile time.
28013
28014 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28015
28016 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28017 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28018 function with watchpoint enabled" test.
28019
28020 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28021
28022 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
28023 Don't call gdb_test when the command doesn't return to a gdb prompt.
28024
28025 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
28026 "Tests restarted" messages.
28027
28028 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28029
28030 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28031
28032 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
28033
28034 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28035 for INFO SYMBOL; add help tests for OVERLAY commands.
28036 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28037 add tests for OVERLAY commands
28038 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28039 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28040 * gdb.base/sigall.c: add usestubs code frag
28041 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
28042
28043 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28044
28045 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28046 failures.
28047 (gdb_stop_suppressing_tests): Note that tests have restarted.
28048
28049 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28050
28051 * config/h8300.exp: New file.
28052
28053 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28054
28055 * gdb.base/setshow.exp: Check for the existence of a
28056 feature, not its value.
28057
28058 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28059
28060 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28061
28062 * gdb.base/scope.exp: It's now init0(), not init().
28063
28064 * gdb.base/scope0.c: For now, change init() to be init0().
28065
28066 * config/monitor.exp: Use gdb_serial in preference to serial
28067 or netport.
28068
28069 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
28070 and it's not already set.
28071
28072 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28073
28074 * gdb.base/setshow.exp: Only test the run command if the target
28075 isn't using a stub and if it supports argument passing.
28076
28077 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28078
28079 * config/udi.exp(gdb_start): Make sure UDICONF is set
28080 properly before starting gdb.
28081
28082 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28083
28084 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28085 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28086 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28087
28088 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28089
28090 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
28091 specialized code to reboot the board, use remote_reboot instead.
28092
28093 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28094
28095 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28096
28097 * config/monitor.exp: Make sure we disconnect from the target.
28098 Also, try a reboot/reload cycle instead of failing if the
28099 load fails.
28100
28101 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28102
28103 * gdb.base/default.exp: Don't set match_max.
28104 * gdb.base/help.exp: Ditto.
28105 * gdb.base/list.exp: Ditto.
28106 * gdb.base/signals.exp: Ditto.
28107
28108 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28109 set, use remote_ld to download the testcase instead of
28110 the GDB loader.
28111
28112 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28113
28114 * config/vr5000.exp: New file.
28115
28116 * config/monitor.exp(gdb_target_monitor): Add pattern for
28117 "Ending remote" to detect errors in connecting.
28118
28119 * gdb.base/setshow.exp: Add .* within auto language test.
28120
28121 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28122 target feature.
28123
28124 * config/monitor.exp(gdb_load): Check for a failure when loading,
28125 and reboot the board if necessary.
28126
28127 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28128 a set of tests. Remove print.* from the patterns being checked.
28129
28130 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28131
28132 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28133 refer to gdb_spawn_id.
28134
28135 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28136 longer used.
28137 * config/sparclet.exp: Ditto.
28138 * config/sparclet-old.exp: Ditto.
28139 * config/slite.exp: Ditto.
28140 * config/sim.exp: Ditto.
28141 * gdb.base/funcargs.exp: Ditto.
28142
28143 * lib/gdb.exp:Remove references to gdb_spawn_id.
28144 (gdb_expect): Move to remote.exp.
28145
28146 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28147
28148 * config/monitor.exp: Detect the "Couldn't establish connection"
28149 message from GDB.
28150
28151 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28152
28153 * gdb.base/bitfields.exp: Use runto instead of explicit
28154 gdb_run_cmd/gdb_expect sequences.
28155
28156 * gdb.base/break.exp(text_next_with_recursion): Add match for
28157 gdb_expect call.
28158
28159 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28160 We also need to handle the "A program is being debugged already"
28161 prompt from gdb. Use gdb_test to set the baud rate.
28162
28163 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28164 to 20000. Really. I mean it.
28165
28166 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28167
28168 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
28169 fails. If suppress_flag is set, skip perror message about not
28170 being able to send to GDB.
28171 (send_gdb): If suppress_flag is set, don't try to send commands to
28172 GDB.
28173 (gdb_expect): If suppress_flag is set, always fail immediately.
28174 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28175 (gdb_init): Call gdb_stop_suppressing_tests.
28176 (default_gdb_exit): Ditto.
28177 (default_gdb_start): Ditto.
28178
28179 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
28180 gdb_stop_suppressing_tests as appropriate.
28181 * gdb.base/break.exp: Ditto.
28182 * gdb.base/callfuncs.exp: Ditto.
28183 * gdb.base/commands.exp: Ditto.
28184 * gdb.base/exprs.exp: Ditto.
28185 * gdb.base/funcargs.exp: Ditto.
28186 * gdb.base/list.exp: Ditto.
28187 * gdb.base/recurse.exp: Ditto.
28188 * gdb.base/scope.exp: Ditto.
28189 * gdb.base/structs.exp: Ditto.
28190 * gdb.c++/inherit.exp: Ditto.
28191
28192 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28193
28194 * config/vr4300.exp: New file.
28195
28196 * gdb.*/*.exp: Call gdb_expect instead of expect.
28197
28198 * lib/gdb.exp(gdb_expect): New function.
28199
28200 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28201
28202 * lib/gdb.exp(gdb_init): New function.
28203
28204 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
28205 for each individual variable set.
28206
28207 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28208 name.
28209
28210 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28211
28212 * gdb.base/scope.exp: Use gdb_test.
28213
28214 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28215 aborting; the testsuite driver will do that for us (see
28216 gdb_finish). Also, use gdb_test in a few more places.
28217
28218 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28219
28220 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28221
28222 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28223
28224 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28225 and "add_tests" are not at the same address.
28226
28227 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28228
28229 * gdb.base/ptype.exp: Use gdb_test.
28230
28231 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28232
28233 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28234 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28235 left in. No longer expect them to fail.
28236
28237 * gdb.stabs/*.mt; Deleted, no longer used.
28238 * gdb.stabs/configure.in: Remove references to target makefile
28239 frags.
28240 * gdb.stabs/configure: Rebuilt.
28241
28242 * gdb.disasm/*.mt: Deleted, no longer used.
28243 * gdb.disasm/configure.in: Remove references to target makefile
28244 frags. Use "sh3.s" as the unique filename for this directory.
28245 * gdb.disasm/configure: Rebuilt.
28246
28247 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28248 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28249 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28250
28251 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28252
28253 * config/udi.exp: Use mondfe,name instead of remote_host.
28254
28255 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28256
28257 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28258 a function with a watchpoint enabled on the mn10200.
28259
28260 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28261 before trying to create it!
28262
28263 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28264
28265 * config/vx.exp: Use hostname instead of netport.
28266
28267 * config/vxworks.exp: New file.
28268
28269 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28270
28271 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
28272 gdb before assuming everything worked. Send a ^C if a timeout
28273 occurs.
28274
28275 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28276 $gdb_spawn_id directly.
28277 (gdb_run_cmd): Try _start as well as start. Use the target feature
28278 gdb,start_symbol as the symbol to start from when jumping.
28279
28280 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28281
28282 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28283 redundant) test.
28284
28285 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28286 it doesn't lose for 16bit integer systems.
28287
28288 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28289
28290 * gdb.fortran/types.exp: If the target doesn't support "double"
28291 data types, then expect "real" types to only be 4 bytes.
28292
28293 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28294 call tests if the target doesn't support inferior function calls.
28295
28296 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28297 in printf tests.
28298
28299 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28300
28301 * gdb.base/help.exp: Disable "help set", "help show", and
28302 "help support". Simplify regexp for "help stack".
28303
28304 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28305 to 60 seconds. Temporarily set match_max to 15000 around the
28306 "info copying" test.
28307
28308 * gdb.base/nodebug.exp: Don't try to do an inferior function
28309 call if the target doesn't support them.
28310 * gdb.base/printcmds.exp: Likewise.
28311 * gdb.base/setvar.exp: Likewise.
28312 * gdb.base/structs.exp: Likewise.
28313 * gdb.c++/templates.exp: Likewise.
28314 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28315
28316 * gdb.base/recurse.exp: Enable for the mn10200.
28317
28318 * configure.in: Do configure gdb.stabs directory for *-*-elf
28319 targets.
28320 * configure: Rebuilt.
28321
28322 * gdb.base/break.exp: Check for gdb,noresults before testing
28323 exit status and/or results from the target.
28324 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28325 * lib/gdb.exp: Remove old (now bogus) initialization of
28326 noinferior, noargs, noresults and nosignals.
28327
28328 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28329
28330 * config/sh.exp: New file.
28331
28332 * config/slite.exp: Try to connect multiple times to the board
28333 before rebooting. Only send a "monitor run" if need_monitor_run
28334 is set.
28335
28336 * gdb.base/break.exp: Don't do the "stub continue" test if
28337 the target has gdb_stub set.
28338
28339 * gdb.base/callfuncs.exp: Increase the timeout.
28340
28341 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28342 if the target has gdb,noinferiorio set.
28343
28344 * gdb.base/list.exp: Increase match_max to 10000 characters.
28345
28346 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28347
28348 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28349 target.
28350
28351 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28352
28353 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28354
28355 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
28356 trying to delete the copy of gdb. Catch the file delete so we
28357 don't die if the delete fails; also, the file should be copied to
28358 the host, not to the build.
28359
28360 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28361
28362 * lib/gdb.exp(gdb_test): Surround the result pattern with
28363 parenthesis in case it contains multiple regexps separated
28364 with |.
28365
28366 * gdb.base/watchpoint.exp: Use gdb_test.
28367 * gdb.base/default.exp: Ditto.
28368
28369 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28370
28371 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
28372
28373 * gdb.base/scope.exp: Use gdb_test.
28374 * gdb.c++/classes.exp: Ditto.
28375 * gdb.c++/inherit.exp: Ditto.
28376
28377 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28378
28379 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28380 remote_exec instead.
28381 * gdb.base/corefile.exp: Don't be ridiculous.
28382 * gdb.base/*.c: Add missing stub invocations.
28383
28384 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28385
28386 * config/slite.exp: Miscellaneous fixes.
28387
28388 * lib/gdb.exp: Fix runto.
28389
28390 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28391 the target.
28392
28393 * gdb.base/watchpoint.exp: Fix regexp.
28394
28395 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28396 close and wait commands, as the descriptor may now be
28397 invalid. Always call "remote_close host".
28398
28399 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28400
28401 Major rewrite for testsuite revision.
28402
28403 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28404 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28405 instead of relying on spawn_id to always contain a valid
28406 spawn id.
28407 (get_compiler_info): New procedure to build the ${binfile}.ci
28408 file, instead of replicating this in N different places.
28409 (gdb_compile): New procedure.
28410
28411 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
28412 appropriate arguments) instead of compile. Use gdb_test in a lot
28413 more places. Use send_gdb instead of send. Always run gdb_start
28414 at the start of a testcase, as this is no longer done magically.
28415
28416 config/*-gdb.exp: Rename without the -gdb suffix.
28417
28418 config/mips.exp: Use remote_close instead of exit_remote_shell.
28419 config/monitor.exp: Use target_info instead of looking at
28420 baud, timeout, etc.
28421 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28422
28423 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28424
28425 * gdb.c++/templates.exp (test_ptype_of_templates),
28426 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28427 Update expect patterns for destructors and assignment operators
28428 to match corresponding c-typeprint.c changes.
28429 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28430 to destructor breakpoint test, GDB should be able to set the
28431 destructor breakpoint without specifying arguments.
28432
28433 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28434
28435 * gdb.threads/pthreads.exp: Change result for failure to compile due
28436 to lack of pthreads runtime support from an error to simply an
28437 unsupported test, per dejagnu standards.
28438
28439 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28440
28441 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28442 where GDB exits to reduce pattern match time.
28443 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28444
28445 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28446
28447 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28448
28449 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28450 * gdb.base/default.exp: ditto.
28451 * gdb.base/nodebug.exp: ditto.
28452 * gdb.base/printcmds.exp: ditto.
28453 * gdb.base/ptype.exp: ditto.
28454 * gdb.base/setvar.exp: ditto.
28455 * gdb.base/structs.exp: ditto.
28456 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28457
28458 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28459
28460 * configure, */configure: Rebuild with autoconf 2.12.
28461
28462 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28463
28464 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28465 use new i*86-pc-linux*-gnu quads.
28466 * gdb.base/corefile.exp: Ditto.
28467 * gdb.base/signals.exp: Ditto.
28468 * gdb.base/sigall.exp: Ditto.
28469 * gdb.base/interrupt.exp: Ditto.
28470
28471 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28472 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28473 RedHat 4.0.
28474
28475 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28476 linux. This allows the test case to at least compile on latest
28477 linux, but still not run due to missing the threads runtime library.
28478
28479 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28480
28481 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28482 directory to search gdb directory. Accept and step over conditional
28483 stack alignment code. Consume $prompt in failure cases.
28484 Reset timeout to $oldtimeout instead of some arbitrary value.
28485 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28486 timeout problems with infinite stack backtraces.
28487 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28488 Accept function parameters for linkfunc member.
28489
28490 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28491
28492 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28493 (CXXFLAGS): Remove, unreferenced.
28494 (B_OPTIONS): Add for -B options and add code to initialize with
28495 previous -B options and also add -B option to pick up cross compiled
28496 runtime.
28497 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28498 doing cross compiles.
28499 (target_alias): Declare global.
28500 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28501 to verify that gcc exists in build tree, and if so set CC to that
28502 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28503
28504 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28505
28506 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28507 ptype test for anonymous union. Fixup testcase to match
28508 current gcc debug output.
28509
28510 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28511
28512 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28513 force argument to an unsigned long type.
28514
28515 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28516
28517 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28518 tests and anonymous union print/ptype tests.
28519 * gdb.base/list.exp (test_forward-search): Increase timeout by
28520 5 minutes for the "search extremely long line" case.
28521 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28522 completely optional and that the pass/fail messages use the command as
28523 the message if that third arg is a null string.
28524 (gdb_test_exact): Arrange that a null string pattern means match a
28525 null string output rather than any output, which might include random
28526 errors.
28527 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28528 backtrace test.
28529 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28530 always failing and failure is now exposed by gdb.exp changes.
28531
28532 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28533
28534 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28535 weren't being noted.
28536
28537 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28538
28539 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28540 * gdb.stabs/weird.exp: Remove v_comb xfails.
28541
28542 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28543
28544 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28545 list.exp scope.exp watchpoint.exp]
28546 Make all timeout error msgs explicitly say "(timeout)".
28547
28548 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28549
28550 * config/monitor.exp: Increase download timeout to 1000 seconds.
28551
28552 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28553
28554 * config/m32r.exp: Increase timeout to 120 seconds.
28555
28556 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28557
28558 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28559 and accept older ordering as obsolescent gcc or gdb.
28560 * gdb.c++/templates.exp: Ditto.
28561 * gdb.c++/virtfunc.exp: Ditto.
28562
28563 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28564
28565 * gdb.base/coremaker.c: Add code to mmap some data so we
28566 can check that it ends up in the core file.
28567 * gdb.base/corefile.exp: Add test to read mmapped data
28568 from core file.
28569
28570 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28571
28572 * config/m32r.exp: New file.
28573
28574 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28575
28576 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28577 that cflags can contains -gstabs, and work correctly for other tests.
28578
28579 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28580
28581 * gdb.base/setshow.exp: New file, tests show and set.
28582 * gdb.base/setshow.c: New file, tests show and set.
28583 * gdb.base/help.exp: Add test for help set|show annotate.
28584 * gdb.base/default.exp: Add test for set|show annotate.
28585
28586 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28587
28588 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28589 errors unique.
28590 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28591 explicitly.
28592
28593 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28594
28595 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28596 and width commands. This is done elsewhere.
28597 * (gdb_start): Don't call gdb_start_sim here. That's already
28598 done in gdb_load. This fixes lots of failures in default.exp.
28599
28600 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28601
28602 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28603 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28604 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28605 in the same we we treat other failures (since it may be an expected
28606 condition), rather than as an error.
28607 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28608 old test format.
28609
28610 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28611
28612 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28613 (distclean maintainer-clean realclean): No need to remove files
28614 twice. Nuke the duplicates.
28615 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28616 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28617 Remove config.h along with other config files.
28618
28619 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28620
28621 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28622 "p func1 ()" and note that rests of tests are skipped.
28623 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28624 setup_xfails for "print func2::coremaker_local".
28625 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28626 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28627 affected by the previous run test.
28628 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28629 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28630 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28631 "pass int powerset tuple" and "pass modeless int powerset tuple".
28632 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28633 "real write 4" and "real write 8".
28634 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28635 setup_xfails for "print vs1 after tuple assign 2",
28636 "print \$i after tuple assign 2", and
28637 "print vs2 after tuple assign 2".
28638 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28639 meaningful error message and return -1 so the caller can
28640 suppress further tests and avoid a cascade of errors.
28641
28642 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28643
28644 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28645 format for printing version.
28646 * gdb.base/default.exp: Ditto.
28647 * gdb.base/interrupt.exp: Fix problem with cascade of
28648 errors if child process dies while calling a function.
28649
28650 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28651
28652 * Makefile.in (VPATH): Add
28653 * Makefile.in (Makefile, config.status): Fix rules so things get
28654 remade when necessary.
28655
28656 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28657
28658 * Makefile.in (just-check): Add path to sibling expect dir
28659 to environment variable specified by RPATH_ENVVAR.
28660
28661 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28662
28663 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28664 (just-check): Add shared library paths for libstdc++, tk,
28665 tcl, bfd, and opcodes to the environment variable specified
28666 in RPATH_ENVVAR.
28667 * configure.in: Add support to recognize --enable-shared flag
28668 and generate correct value for RPATH_ENVVAR.
28669 * configure: Regenerated with autoconf.
28670
28671 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28672
28673 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28674 include all osf versions.
28675 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28676 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28677 when target is linux. When failing to build pthreads test
28678 executable, give more meaningful message.
28679 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28680 arg for pthread_create.
28681
28682 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28683
28684 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28685 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28686 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28687 and -lpthreads (everybody else).
28688 (test_startup): Fail gracefully if threads are not supported.
28689 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28690 "p/c array_index("abcdef",2)" when not gcc compiled.
28691 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28692 "print func2::coremaker_local" when not gcc compiled.
28693 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28694 "ptype on opaque struct tagname (statically)",
28695 "ptype on opaque struct tagname (dynamically) 1", and
28696 "ptype on opaque struct tagname (dynamically) 2"
28697 for not compiled with gcc.
28698 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28699 backtrace when compiled with gcc.
28700 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28701 than always return success.
28702
28703 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28704
28705 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28706
28707 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28708
28709 * gdb.base/structs.exp: Undo last change.
28710
28711 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28712
28713 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28714 encapsulate all the steps/nexts done during self test, starting
28715 at main, and makes them less sensitive to optimization issues.
28716 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28717 signal handler" test.
28718 * gdb.threads/pthreads.exp: Only run this for native configs.
28719 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28720 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28721 tests.
28722 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28723 for "runto test_calls(void)" test.
28724
28725 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28726
28727 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28728 and don't expect address info in breakpoint confirmations.
28729
28730 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28731
28732 * gdb.base/list.exp (test_forward_search): Increase timeout
28733 temporarily by 60 seconds for searching extremely long line,
28734 and then reset to old value when done. Increase expect input
28735 buffer to 10000.
28736
28737 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28738
28739 * gdb.base/list.exp (test_forward_search): Fix to handle very
28740 long source line without overflowing expect's input buffer.
28741
28742 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28743
28744 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28745 "buffer_full".
28746
28747 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28748 "buffer_full".
28749
28750 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28751 "buffer_full".
28752
28753 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28754 "buffer_full".
28755
28756 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28757
28758 * configure.in (configdirs): Add gdb.threads.
28759 * configure: Regenerated with autoconf.
28760 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28761 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28762 * gdb.threads/configure: New, generated with autoconf.
28763
28764 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28765
28766 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28767
28768 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28769
28770 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28771 each signal's status in the output of "handle all print".
28772 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28773 the \r\n sequence that immediately precedes the gdb prompt.
28774 * gdb.base/a1-selftest.exp: Save original timeout and restore
28775 after test.
28776
28777 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28778
28779 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28780 symbol.
28781
28782 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28783
28784 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28785
28786 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28787
28788 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28789 timeout by 60 seconds.
28790
28791 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28792
28793 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28794 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28795 error return.
28796
28797 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28798
28799 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28800 gdb initialization, also report how long dejagnu waited. Restore
28801 old timeout before doing error return. Temporarily increase timeout
28802 by 3 minutes to allow for slow startups over heavy NFS use.
28803
28804 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28805
28806 * lib/gdb.exp: Report timeout value for verbosity level 2.
28807 * config/gdbserver.exp: Ditto.
28808 * config/hppro.exp: Ditto.
28809 * config/mips-gdb.exp: Ditto.
28810 * config/monitor.exp: Ditto.
28811 * config/netware.exp: Ditto.
28812 * config/sim-gdb.exp: Ditto.
28813 * config/slite-gdb.exp: Ditto.
28814 * config/udi-gdb.exp: Ditto.
28815 * config/unix-gdb.exp: Ditto.
28816 * config/vx-gdb.exp: Ditto.
28817 * gdb.base/a1-selftest.exp: Ditto.
28818 * gdb.base/a2-run.exp: Ditto.
28819 * gdb.base/break.exp: Ditto.
28820 * gdb.base/corefile.exp: Ditto.
28821 * gdb.base/list.exp: Ditto.
28822 * gdb.base/recurse.exp: Ditto.
28823 * gdb.base/scope.exp: Ditto.
28824 * gdb.base/signals.exp: Ditto.
28825
28826 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28827
28828 * gdb.threads/Makefile.in (docdir): Removed.
28829
28830 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28831
28832 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28833 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28834 @srcdir@.
28835 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28836 autoconf 2.5 or higher.
28837 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28838
28839 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28840
28841 * configure: Regenerated.
28842 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28843 avoid name clashes with SunOS headers.
28844
28845 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28846
28847 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28848
28849 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28850
28851 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28852 prototype information ends up in the compiler info file.
28853
28854 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28855
28856 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28857 attempting to regenerate it. Eliminate use of a temporary file
28858 and just generate the info file directly. Source it immediately,
28859 for consistency of use.
28860 * gdb.base/corefile.exp: Ditto
28861 * gdb.base/exprs.exp: Ditto.
28862 * gdb.base/funcargs.exp: Ditto.
28863 * gdb.base/langs.exp: Ditto.
28864 * gdb.base/list.exp: Ditto.
28865 * gdb.base/mips_pro.exp: Ditto.
28866 * gdb.base/nodebug.exp: Ditto.
28867 * gdb.base/opaque.exp: Ditto.
28868 * gdb.base/ptype.exp: Ditto.
28869 * gdb.base/scope.exp: Ditto.
28870 * gdb.base/setvar.exp: Ditto.
28871 * gdb.base/signals.exp: Ditto.
28872 * gdb.base/whatis.exp: Ditto.
28873 * gdb.c++/templates.exp: Ditto.
28874 * gdb.c++/virtfunc.exp: Ditto.
28875 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28876 whether or not to add -lstdc++ to the compile command line args.
28877
28878 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28879
28880 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28881 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28882 Increase timeout, a lot of single stepping might be needed if the
28883 target has no hardware watchpoints.
28884
28885 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28886
28887 * gdb.base/break.exp: Ignore compiler warnings when compiling
28888 break.c.
28889 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28890 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28891 from remote-sim.
28892 * gdb.base/exprs.exp: Add h8300 xfails.
28893 * gdb.base/funcargs.exp: Likewise.
28894 * gdb.base/nodebug.exp: Likewise.
28895 * gdb.base/printcmds.exp: Likewise.
28896 * gdb.base/ptype.exp: Likewise.
28897 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28898 h8300 xfails.
28899 * gdb.base/return.exp: Handle float/double precision problems
28900 on the h8300.
28901 * gdb.base/funcargs.c: Explicitly make last constant argument to
28902 call_after_alloca_subr an unsigned long type.
28903 * gdb.base/return.c: Include stdio.h.
28904
28905 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28906
28907 * config/abug.exp: New file for the older Motorola Bug monitor
28908 that runs on the mvme13x series VME boards.
28909 * config/monitor.exp: Use the new config array for target settings
28910 if they exist.
28911
28912 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28913
28914 * sim-gdb.exp: Make the SH simulator allocate less space when
28915 it is targeted.
28916
28917 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28918
28919 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28920 test.
28921
28922 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28923
28924 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28925 "rs6000-*-*" for "list function in include file" when gcc compiled.
28926 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28927 for "p ctable1[120]".
28928 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28929 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28930 Remove setup_xfail for "rs6000-*-*" for
28931 "print 'scope0.c'::filelocal before run".
28932 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28933 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28934 since some compilers don't allow both options to be given
28935 on the same command line. Create object file and move it.
28936
28937 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28938
28939 * gdb.base/corefile.exp: Always regenerate the core file, since
28940 we always regenerate the coremaker program. Detect special case
28941 where registers cannot be read from core file.
28942
28943 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28944
28945 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28946 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28947 * gdb.c++/templates.exp: Only match on basename of file since
28948 some formats like xcoff don't encode directory information.
28949 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28950 and rs6000 AIX xcoff targets.
28951 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28952 * configure: Regenerate.
28953 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28954 here, rather than in distclean.
28955
28956 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28957
28958 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28959 defined, and use it to compile the test case with -O2. The
28960 native compilation still uses no optimization.
28961 * gdb.base/mips_pro.c: Remove inline assembly code since
28962 it is compiled PIC by default, which results in assembler
28963 warnings that make the testsuite think the compilation
28964 was unsuccessful.
28965
28966 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28967
28968 * gdb.c++/misc.exp: Add note to message for
28969 "print s.a for foo struct" that this is a known gcc 2.7.2
28970 and earlier bug.
28971
28972 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28973
28974 * gdb.base/break.exp: Fix pattern for matching "Delete all
28975 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28976 setup_xfail for deleting all breakpoints test. Fix various
28977 timeout messages to include "(timeout)".
28978 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28979 for "p t_float_values2(3.14159,float_val2)".
28980 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28981 for "continue to call2g" when gcc compiled.
28982 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28983 "up to foo in langs.exp", "show language at foo in langs.exp",
28984 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28985 and "show language at fsub in langs.exp".
28986 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28987 "list line 1 in include file", "list message for lines past EOF",
28988 "list function in include file", "list list0.h:foo", and
28989 "list filename:function; nonexistant function".
28990 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28991 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28992 and "ptype t_char_array" to be for native cc only.
28993
28994 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28995
28996 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28997 setup_xfail for "print coremaker_bss", "print coremaker_ro",
28998 "print func2::coremaker_local", and "backtrace in corefile.exp".
28999
29000 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29001
29002 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29003 "bt in signals.exp". This problem only appears when running
29004 the testsuite, and then only intermittently.
29005
29006 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29007
29008 * gdb.base/return.exp (return_tests): Differentiate between
29009 two tests of continuing.
29010
29011 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29012
29013 * */Makefile.in (maintainer-clean): Remove config.log.
29014 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29015 * gdb.c++/Makefile.in (PROGS): Add inherit.
29016 (clean): Remove *.ci.
29017
29018 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29019
29020 * gdb.c++/misc.cc: Add test code from Mike Stump.
29021 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29022
29023 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29024
29025 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29026 to "alpha-*-osf2*" and add comment.
29027 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
29028 setup_xfail for "step over execarg initialization" and
29029 "step over corearg initialization".
29030 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29031 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29032 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
29033 gcc compiled for "print coremaker_bss", "print coremaker_ro",
29034 "print func2::coremaker_local", and "backtrace in corefile.exp".
29035 * gdb.base/signals.exp: Build and source signals.ci.
29036 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29037 to be for gcc only.
29038 * lib/gdb.exp: Move verbose statements outside conditionals.
29039
29040 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29041
29042 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29043 Feb 3 procfs.c change.
29044
29045 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29046
29047 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29048
29049 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29050
29051 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29052 from dejagnu's apparent default of 10 seconds, which gives random
29053 results when running the tests over NFS on moderately loaded systems.
29054 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29055
29056 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29057
29058 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29059 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
29060 result reports.
29061
29062 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29063
29064 * configure.in (CY_AC_PATH_TCLH): Remove.
29065 * configure: Regenerate.
29066
29067 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29068
29069 * gdb.c++/Makefile.in (clean): Add missing '{'.
29070
29071 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29072
29073 * lib/gdb.exp: Provide a default value for noinferior.
29074
29075 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29076 Load libgloss.exp.
29077
29078 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29079
29080 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29081 the executable, not the .o to run the tests from.
29082
29083 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29084
29085 * gdb.base/break.exp: Don't test for program exit or exit status
29086 if $noresults if nonzero.
29087 * gdb.base/langs.exp: Likewise.
29088 * gdb.base/watchpoint.exp: Likewise.
29089
29090 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29091 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29092 trying to compile the testcase.
29093
29094 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29095
29096 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29097 * gdb.base/signals.exp (continue to handler): Likewise.
29098
29099 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29100
29101 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29102
29103 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29104
29105 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29106
29107 * gdb.base/corefile.exp: Recognize "not found" as failure
29108 when trying to determine if a core file was generated.
29109 If no core file was generate the first time, try again without
29110 the ulimit -c to work around braindamaged shells.
29111
29112 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29113
29114 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29115 [] tests with "test" and enclose string in quotes.
29116 * gdb.stabs/configure: Rebuild
29117
29118 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29119
29120 Changes in sync with expect:
29121 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29122 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29123 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29124 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29125 argument to AC_REQUIRE.
29126 * configure: Regenerated.
29127
29128 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29129
29130 * gdb.base/corefile.exp: When generating a core, discard any
29131 error messages about ulimit not found and the "core dumped"
29132 message from the shell that runs the coredumper.
29133
29134 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29135
29136 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29137
29138 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29139 which sed script to run. Expect failure for v_comb test
29140 on PA targets too.
29141
29142 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29143
29144 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
29145 "print func2::coremaker_local" and for "backtrace in corefile.exp"
29146
29147 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29148
29149 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29150 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
29151 "sparc-sun-solaris*" xfails for "p v_comb".
29152 * lib/gdb.exp (default_gdb_start): Fix typo.
29153 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29154 messages to not include the full program name that caused
29155 the core dump since some systems (such as solaris) apparently
29156 truncate this path to about 80 characters.
29157 When generating a core file first try increasing the core file
29158 size limit to unlimited since some systems may default it to
29159 zero, and it is harmless to try it. Move the test for failing
29160 to generate a core file to where it will actually get executed.
29161 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29162 new gdb result from g++ debug info improvements and make old
29163 pattern obsolescent. Also account for size_t differences
29164 (may be int or long).
29165 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29166 initialization before function call is placed in the delay slot
29167 and thus appears to be skipped over by commands such as "next".
29168
29169 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29170
29171 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29172
29173 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29174
29175 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29176 input source file; fix code to compile test to deal with this
29177 convention.
29178 * gdb.c++/*.exp: Likewise.
29179
29180 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29181
29182 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29183 "bt in signals.exp".
29184
29185 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29186
29187 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29188 "step over execarg initialization" and
29189 "step over corearg initialization".
29190
29191 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29192
29193 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29194 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29195
29196 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29197
29198 From Rob Savoye (rob@poseidon.cygnus.com)
29199 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29200 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
29201 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29202 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29203 configure.in}: Major reworking for autoconfig.
29204 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29205 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
29206 New files.
29207 * config/unix-gdb.exp: Make GDB global.
29208 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
29209 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29210 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29211 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29212 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29213 term.exp, twice.exp, watchpoint.exp, whatis.exp},
29214 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
29215 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29216 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29217 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29218 pr-8136.exp, result.exp, string.exp, tuples.exp},
29219 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
29220 to returns as necessary, arrange for test to compile own testcase
29221 executable.
29222 * lib/gdb.exp: Changes for testsuite to compile own test cases.
29223
29224 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29225
29226 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
29227 clear_xfail at end of test which might not call either pass or fail.
29228 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29229 "backtrace through signal handler".
29230
29231 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29232
29233 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29234 continuing from a job control stop signal.
29235 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29236
29237 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29238
29239 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29240 * gdb.base/corefile.exp: Likewise.
29241 * gdb.base/funcargs.exp: Likewise.
29242
29243 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29244
29245 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29246 * config/monitor.exp: Add support for setting baud rate.
29247
29248 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29249
29250 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29251 i*86-*-linux* xfails for "backtrace through signal handler".
29252 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29253 "print func2::coremaker_local".
29254 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
29255 alpha-dec-osf2* xfail for
29256 "delete all breakpoints when none".
29257
29258 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29259
29260 * gdb.base/break.exp: Change test that deletes all breakpoints
29261 when no user breakpoints are installed. A post 4.15 change
29262 causes gdb to no longer prompt in this case.
29263
29264 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29265
29266 * gdb.base/return.exp (return_tests): Change xfail for test
29267 "correct value returned double test" to stop xfailing at
29268 Solaris 2.5. Apparently the bug has been fixed.
29269
29270 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29271
29272 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29273 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29274
29275 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29276
29277 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29278 * gdb.disasm/hppa.s: Corresponding changes.
29279
29280 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29281
29282 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29283 makefile fragment.
29284 * config/mt-hpux: Deleted.
29285
29286 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29287
29288 * Many files: When warning about suppressed tests due to a
29289 nonexistant test binary, avoid incrementing the warning count.
29290
29291 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29292
29293 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
29294
29295 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29296
29297 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29298 "sparc-*-solaris2*".
29299
29300 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29301
29302 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29303 Add global and local variables and initialize them.
29304 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29305 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29306 extracts the file name and terminating signal from the core file.
29307 * TODO: Remove note about tests for correct mapping of corefile.
29308 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29309 from optimizing it away.
29310 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29311 handles common blocks.
29312
29313 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29314
29315 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29316 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29317
29318 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29319
29320 * Makefile.in (maintainer-clean): New target, synonym for
29321 realclean.
29322 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29323 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29324 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29325 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29326 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29327 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29328
29329 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29330
29331 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29332 xfails when not gcc compiled for "print foo::funclocal".
29333 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29334 "print foo::funclocal at foo",
29335 "print 'scope1.c'::foo::funclocal at foo",
29336 "print foo::funclocal_bss at foo",
29337 "print 'scope1.c'::foo::funclocal_bss at foo",
29338 "print foo::funclocal_ro at foo",
29339 "print 'scope1.c'::foo::funclocal_ro at foo",
29340 "print bar::funclocal at foo" and
29341 "print 'scope1.c'::bar::funclocal at foo".
29342 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29343 gcc compiled for "print foo::funclocal at bar".
29344 Expand all messages to ensure that they identify that
29345 the test is at bar().
29346 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29347 gcc compiled for:
29348 "ptype on opaque struct pointer (statically)",
29349 "ptype on opaque struct tagname (statically)",
29350 "ptype on opaque struct pointer (dynamically) 1",
29351 "ptype on opaque struct tagname (dynamically) 1",
29352 "ptype on opaque struct pointer (dynamically) 2" and
29353 "ptype on opaque struct tagname (dynamically) 2
29354 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29355 gcc compiled for:
29356 "p datalocal"
29357 "whatis datalocal",
29358 "ptype datalocal",
29359 "p bsslocal",
29360 "whatis bsslocal", and
29361 "ptype bsslocal".
29362 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29363 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29364 when not gcc compiled.
29365 * gdb.base/funcargs.exp (float_and_integral_args): Add
29366 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29367 compiled.
29368 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29369 "backtrace from call6a" when not gcc compiled.
29370 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29371 "backtrace from call7a" when not gcc compiled.
29372 * gdb.base/callfuncs.exp (do_function_calls):
29373 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29374 "p t_char_array_values(char_array_val2,char_array_val1)",
29375 "p t_char_array_values(char_array_val1,char_array_val2)",
29376 "p t_char_array_values("carray 1","carray 2")",
29377 "p t_char_array_values("carray 1",char_array_val2)",
29378 "p t_char_array_values(char_array_val1,"carray 2")",
29379 "p sum_args(1,{2})",
29380 "p sum_args(2,{2,3})",
29381 "p sum_args(3,{2,3,4})",
29382 "p sum_args(4,{2,3,4,5})"
29383 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29384 "backtrace in corefile.exp" when not gcc compiled.
29385
29386 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29387
29388 * gdb.base/signals.exp: Rewrite `handle all print' test as
29389 a procedure. Accept blanks or TABs as whitespace, increase
29390 timeout and expect input buffer size for the large output
29391 from the command. Remove "i*86-*-bsdi2.0" xfail.
29392
29393 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29394
29395 * gdb.base/setvar.exp: Add new testcases for truncation when
29396 assigning invalid values to bitfields.
29397
29398 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29399
29400 * gdb.base/callfuncs.exp (do_function_calls): Remove
29401 mips-sgi-irix* xfail for
29402 "call inferior func with struct - returns char *"
29403 and fix test so that an optional (unsigned char *) cast is
29404 accepted in the result.
29405
29406 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29407
29408 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29409 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29410 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29411 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29412 that accidentally got checked in.
29413
29414 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29415
29416 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29417 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29418 compiled test.
29419 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29420 Add mips-sgi-irix5* xfail for not gcc compiled.
29421 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29422 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29423 compiled for "p top", "whatis top", "p middle", and "whatis
29424 middle".
29425 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29426 "whatis signed char" for not gcc compiled.
29427 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29428 "set variable signed char=-1 (-1)" and
29429 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29430 * gdb.base/funcargs.exp (float_and_integral_args):
29431 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29432 Add mips-sgi-irix* xfail when not gcc compiled for
29433 "continue to call2b".
29434 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29435 "continue to call2g".
29436 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29437 compiled for "backtrace from call6a"
29438 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29439 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29440 when not gcc compiled for "backtrace from call7a".
29441 (localvars_after_alloca): Fix gdb_test cmds for
29442 "print * after runto ...".
29443 Remove rs6000-*-* xfails for
29444 "print i after runto localvars_after_alloca" and
29445 "print l after runto localvars_after_alloca"
29446 for all compilers.
29447 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29448 when not compiled with gcc, for:
29449 "print signed char == (minus)",
29450 "print signed char != (minus)",
29451 "print signed char < (minus)",
29452 "print signed char > (minus)".
29453 * gdb.base/callfuncs.exp (do_function_calls):
29454 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29455 "call inferior func with struct - returns char *".
29456 * gdb.base/return.exp (return_tests): Change xfail for
29457 "correct value returned double test" to include Solaris 2.4.
29458 * gdb.base/funcargs.exp (float_and_integral_args):
29459 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29460
29461 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29462
29463 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29464 enumeration bitfields if compiling with GNU C.
29465 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29466 to empty' prompt.
29467
29468 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29469
29470 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29471 test for PRO targets.
29472
29473 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29474 breakpoints in the inferior at any given time by making
29475 two groups of breakpoints for call2*, call6* and call7*
29476 tests.
29477
29478 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29479
29480 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29481 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29482 from optimizing it away.
29483 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29484 "call inferior func with struct".
29485
29486 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29487
29488 * configure.in: Only configure gdb.chill for particular targets.
29489
29490 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29491
29492 * gdb.base/Makefile.in: Add action to .c.o transformation
29493 rule that generates a .ci file for each .o file and remove
29494 explicit .c.o rules except for callfuncs.o.
29495 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29496 generates a .ci file for each .o file and remove explicit
29497 .cc.o rules.
29498 (clean): Remove *.tmp *.ci files.
29499 (EXECUTABLES): Remove templ-info.exp.
29500 * gdb.base/compiler.c: New file.
29501 * gdb.c++/compiler.cc: New file
29502 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29503 Change rs6000-*-* xfail for
29504 "print 'scope0.c'::filelocal_ro" and
29505 "print 'scope1.c'::filelocal" and
29506 "print 'scope1.c'::filelocal_bss" and
29507 "print 'scope1.c'::filelocal_ro" and
29508 "print 'scope1.c'::foo::funclocal" and
29509 "print 'scope1.c'::foo::funclocal_ro" and
29510 "print 'scope1.c'::bar::funclocal" and
29511 "print 'scope0.c'::filelocal_ro" and
29512 "print 'scope1.c'::filelocal at foo" and
29513 "print 'scope1.c'::filelocal_bss at foo" and
29514 "print 'scope1.c'::filelocal_ro at foo" and
29515 "print 'scope1.c'::foo::funclocal at foo" and
29516 "print 'scope1.c'::foo::funclocal_bss at foo" and
29517 "print 'scope1.c'::foo::funclocal_ro at foo" and
29518 "print 'scope1.c'::bar::funclocal at foo" and
29519 "print 'scope0.c'::filelocal_ro" and
29520 "print 'scope1.c'::filelocal" and
29521 "print 'scope1.c'::filelocal_bss" and
29522 "print 'scope1.c'::filelocal_ro" and
29523 "print 'scope1.c'::foo::funclocal" and
29524 "print 'scope1.c'::foo::funclocal_bss" and
29525 "print 'scope1.c'::foo::funclocal_ro" and
29526 "print 'scope1.c'::bar::funclocal" and
29527 "print 'scope1.c'::bar::funclocal_bss"
29528 to only be xfail'd when not compiled with gcc.
29529 Add rs6000-*-* xfail for
29530 "print 'scope0.c'::filelocal_bss before run"
29531 when compiled with gcc.
29532 (test_at_main): Add rs6000-*-* xfail for
29533 "print filelocal_ro in test_at_main"
29534 when compiled with gcc.
29535 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29536 Add rs6000-*-aix* xfail for
29537 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29538 "ptype t_char_array", not compiled with gcc.
29539 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29540 xfail for "list foo (in include file)" when gcc compiled.
29541 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29542 (integral_args): Add rs6000-*-* xfail for
29543 "run to call0a" if not compiled with gcc.
29544 (unsigned_integral_args): Add rs6000-*-* xfail for
29545 "run to call1a" if not compiled with gcc.
29546 (float_and_integral_args): Add rs6000-*-* xfail for
29547 "run to call2a" if not compiled with gcc and for
29548 "continue to call2b" for any compiler.
29549 Add rs6000-*-* xfail to
29550 "print f1 after run to call2a" for gcc compiled.
29551 (discard_and_shuffle): Add rs6000-*-* xfail for
29552 "run to call6a".
29553 (shuffle_round_robin): Add rs6000-*-* xfail for
29554 "backtrace from call7a" if not compiled with gcc.
29555 Add rs6000-*-* xfail for
29556 "backtrace from call7b" if compiled with gcc.
29557 (call_after_alloca): Add rs6000-*-* xfail for
29558 "print c in call_after_alloca" and
29559 "print s in call_after_alloca" and
29560 "backtrace from call_after_alloca_subr"
29561 if not compiled with gcc.
29562 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29563 "print c in localvars_in_indirect_call" and
29564 "print c in localvars_in_indirect_call" and
29565 "backtrace in indirectly called function" and
29566 "stepping into indirectly called function"
29567 if not compiled with gcc.
29568 (localvars_after_alloca): Add rs6000-*-* xfail for
29569 "print c after runto localvars_after_alloca" and
29570 "print s after runto localvars_after_alloca" and
29571 "print i after runto localvars_after_alloca" and
29572 "print l after runto localvars_after_alloca"
29573 for all compilers.
29574 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29575 than whatis-info.exp.
29576 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29577 than opaque-info.exp.
29578 Setup rs6000-*-* xfail for
29579 "ptype on opaque struct pointer (statically)" and
29580 "ptype on opaque struct pointer (dynamically)" when
29581 not compiled with gcc.
29582 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29583 rather than callf-info.exp.
29584 (do_function_calls): Add clear_xfail for rs6000-*-* for
29585 "p t_float_values2(3.14159,float_val2)". Seems to work
29586 fine there, both with xlc and gcc. Need to find out what
29587 it is doing right and fix other platforms.
29588 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29589 "call inferior func with struct - returns int",
29590 "call inferior func with struct - returns long",
29591 "call inferior func with struct - returns float",
29592 "call inferior func with struct - returns double",
29593 "call inferior func with struct - returns char *",
29594 but only if not gcc compiled (presumes xlc compiled).
29595 Change rs6000-*-* xfails for
29596 "call inferior func with struct - returns char" and
29597 " call inferior func with struct - returns short" to only
29598 xfail if not using gcc.
29599 (clean mostlyclean): Remove *.ci and *.tmp files.
29600 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29601 than templ-info.exp.
29602 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29603 Add rs6000-*-* xfail for "up to foo in langs.exp"
29604 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29605 when not gcc compiled.
29606
29607 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29608
29609 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29610 * gdb.base/corefile.exp: Likewise.
29611 * gdb.base/list.exp: Likewise.
29612 * gdb.base/scope.exp: Likewise.
29613 * gdb.base/siganls.exp: Likewise.
29614
29615 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29616 compiler output.
29617 * gdb.base/whatis.exp: Likewise.
29618
29619 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29620
29621 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29622 failure (opcode table has been fixed to match reality).
29623
29624 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29625
29626 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29627 "call inferior func with struct - returns char",
29628 "call inferior func with struct - returns short"
29629
29630 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29631 "print 'scope0.c'::filelocal at main",
29632 "print 'scope0.c'::filelocal_bss in test_at_main",
29633 "print 'scope0.c'::filelocal at foo",
29634 "print 'scope0.c'::filelocal_bss in test_at_foo",
29635 "print 'scope0.c'::filelocal at bar",
29636 "print 'scope0.c'::filelocal_bss in test_at_bar"
29637
29638 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29639 in source file 1". This bug seems to have been fixed with both
29640 gcc and native cc (was native assembler bug?).
29641
29642 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29643
29644 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29645 "backtrace through signal handler" to "i*86-*-sysv4*".
29646 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29647 continue" case. Add "known SVR4 bug" to fail message.
29648 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29649 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29650 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29651 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29652 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29653 "up to foo in langs.exp", "show language at foo in
29654 langs.exp", "up to cppsub_ in langs.exp", "show
29655 language at cppsub_ in langs.exp", "up to fsub in
29656 langs.exp", and "show language at fsub in langs.exp".
29657 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29658 "bactrace in corefile.exp".
29659 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29660 "call inferior function with struct - returns float" and
29661 "call inferior function with struct - returns double".
29662
29663 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29664
29665 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29666 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29667 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29668 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29669
29670 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29671
29672 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29673 (or overriden) "CHILL" macro rather then bare "gcc".
29674 Also look for ../../gcc/xgcc since that is what we will
29675 actually need, not "Makefile". Remove following assignment
29676 of CHILL to CHILL_FOR_TARGET because that results in
29677 recursive definition.
29678
29679 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29680
29681 * gdb.base/corefile.exp: Change xfail for backtrace in
29682 corefile.exp from linuxaout to all linux.
29683 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29684 cases where we miss the breakpoint at the signal handler
29685 for some reason. Setup xfail for linuxoldld/linuxaout and
29686 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29687 hitting SIGURG breakpoint.
29688 * gdb.base/signals.exp: Setup xfail for "next" acting like
29689 continue to add linuxoldld. Setup xfail for all linux for
29690 "next to handler in signals_tests_1", "backtrace in
29691 signals_tests_1", "continue to func1", "pass SIGUSR1",
29692 and continue to handler".
29693
29694 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29695
29696 * Update all FSF addresses except those in COPYING* files.
29697
29698 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29699
29700 * gdb.base/a2-run.exp: Change messages to be more explicit about
29701 the status of args, and quote binfile in results.
29702
29703 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29704
29705 * gdb.base/callfuncs.exp: Add tests for passing structs to
29706 inferior functions and return various types.
29707 * gdb.base/callfuncs.c: Add functions to receive a struct
29708 and return a member of the struct, in various types.
29709
29710 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29711
29712 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29713
29714 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29715
29716 * config/vxworks29k.exp: New file, sources vxworks.exp.
29717
29718 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29719
29720 * config/gdbremote.exp: New file. Testing framework using
29721 gdbserver.
29722
29723 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29724
29725 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29726 "call function when asleep" and "send end of file".
29727 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29728 for "backtrace in corefile.exp".
29729 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29730 for "backtrace through signal handler".
29731 * gdb.base/corefile.exp: Make sure we actually generate a core file
29732 before trying the core tests. Some systems allow the user to suppress
29733 generation of core files and default to that (linux for example).
29734 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29735 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29736
29737 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29738
29739 * gdb.threads: New directory with some crude multi-threaded
29740 gdb tests (step.exp and step2.exp).
29741 * config/mt-lynx (STEP_EXECUTABLE): Define.
29742 (THREADFLAGS): Define.
29743
29744 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29745
29746 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29747
29748 * gdb.base/signals.exp: Disable whole file for lynx until
29749 further notice.
29750
29751 * gdb.base/signals.exp: xfail test where "next" acts like
29752 "continue" for lynx.
29753
29754 * gdb.base/interrupt.exp: xfail test for calling function while
29755 inferior is asleep for lynx.
29756
29757 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29758 than one cr-lf after each command.
29759
29760 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29761
29762 * configure.in: Reinstate setting of stabsdirs variable, fix
29763 typo in setting up configdirs for native builds.
29764
29765 * gdb.base/return.exp: Fix typo in return double test.
29766 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29767 compiler from optimizing them away.
29768
29769 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29770
29771 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29772 sequences to be echo'd by gdb when using gdb_test.
29773 * gdb.chill/chexp.exp: Likewise.
29774 * gdb.fortran/exprs.exp: Likewise
29775
29776 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29777
29778 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29779 after the inferior gdb has started.
29780
29781 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29782 after each command.
29783 * gdb.base/funcargs.exp: Likewise.
29784 * gdb.base/gdbvars.exp: Likewise.
29785 * gdb.base/interrupt.exp: Likewise.
29786 * gdb.base/list.exp: Likewise.
29787 * gdb.base/watchpoint.exp: Likewise.
29788 * gdb.c++/demangle.exp: Likewise.
29789 * gdb.c++/inherit.exp: Likewise.
29790 * gdb.chill/chexp.exp: Likewise.
29791 * gdb.fortran/exprs.exp: Likewise.
29792
29793 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29794 test if we can't handle IO to/from the inferior.
29795
29796 * gdb.c++/misc.exp: Always check for a program already being
29797 started after sending a "run" command to gdb.
29798
29799 * gdb.base/twice.exp: Start with a fresh gdb.
29800
29801 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29802 only depend on gdb's expression code, not the chill runtime.
29803
29804 * gdb.base/return.c: Put return values into variables so we
29805 can have gdb print them rather than depending on the program
29806 to print them.
29807 * gdb.base/return.exp: Corresponding changes.
29808
29809 * lib/gdb.exp: Provide default value for noinferiorio.
29810 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29811 the inferior.
29812
29813 * gdb.base/break.exp: Always check for a program already being
29814 started after sending a "run" command to gdb.
29815 (text_next_with_recursion): Don't check the output from the
29816 program's printf statement. Instead just make sure the program
29817 exited.
29818
29819 * gdb.base/commands.exp: Protect tests which need arguments with
29820 $noargs conditionals.
29821
29822 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29823
29824 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29825 of structure member arrays to match gdb/valops.c:value_addr change.
29826
29827 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29828
29829 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29830 cases.
29831
29832 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29833
29834 * configure.in (configdirs): Remove gdb.chill from default list
29835 of subdirs and then add it back in only if doing a native build.
29836 The current chill compiler does not yet work in any cross build.
29837 * Revert all signal changes from Jul 6.
29838 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29839 for sh-hms targets, allowing these tests to link, with no other
29840 changes. Testing is suppressed by setting "nosignals" in site.exp.
29841
29842 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29843
29844 * configure.in (signaldirs): Define and add to configdirs for all
29845 targets except some specific ones that are known to not support signals.
29846 Also clean up formatting.
29847 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29848 (signals, sigall): Remove rules to build.
29849 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29850 Moved to new gdb.signals directory.
29851 * gdb.signals: New test directory.
29852 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29853 signals.c signals.exp}: New or moved files.
29854
29855 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29856
29857 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29858
29859 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29860
29861 * gdb.base/return.exp: Xfail `return double' test failure
29862 on at least Solaris 2.3 and handle future/past versions on
29863 a case by case basis as appropriate. Also update message
29864 to include i*86 failures.
29865
29866 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29867
29868 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29869
29870 * lib/gdb.exp: Fix comment which erroneously identified
29871 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29872 gdb_file_cmd not gdb_load).
29873 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29874
29875 * gdb.base/setvar.exp: Make test names consistent between pass and
29876 fail cases. Use gdb_test more.
29877
29878 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29879
29880 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29881
29882 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29883
29884 * gdb.base/help.exp: Fix expected help string for `show commands'.
29885
29886 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29887
29888 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29889
29890 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29891 of a text section.
29892
29893 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29894
29895 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29896 that loop eventually terminates. Fix Connection refused logic so
29897 that testsuite will expire nicely.
29898
29899 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29900
29901 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29902 config/rom68k.exp: New tcl glue for the appropriate monitors.
29903 These all just end up calling monitor.exp.
29904 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29905 refused' by retrying. Cleanup some timeout issues.
29906 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29907 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29908 callers don't have to set/restore global timeout variable.
29909
29910 * The following set of changes centralizes management of the global
29911 timeout variable. This way, it can be set in one target dependent
29912 place instead of dozens of places scattered throughout the test suite.
29913 If you need to lengthen a timeout, then you should either set timeout
29914 in one of the config/{target}.exp files, or multiply it by a factor.
29915 Setting it to an absolute value is always going to lose for some
29916 targets.
29917 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29918 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29919 * gdb.base/funcargs.exp: Don't set timeout.
29920 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29921 * gdb.base/printcmds.exp (test_print_string_constants
29922 test_print_array_constants): Don't set timeout.
29923 * gdb.base/ptype.exp: Don't set timeout.
29924 * gdb.base/recurse.exp: Don't set timeout.
29925 * gdb.base/return.exp: Don't set timeout.
29926 * gdb.base/watchpoint.exp: Don't set timeout.
29927 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29928 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29929
29930 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29931
29932 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29933
29934 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29935
29936 * lib/gdb.exp: Disable chill tests for irix5.
29937
29938 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29939
29940 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29941 each test pass or fail.
29942
29943 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29944
29945 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29946 xlc not gcc.
29947
29948 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29949
29950 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29951
29952 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29953
29954 * config/est.exp: Fix copyright and comments. Remove dead code.
29955 Use targetname, serialport and baud variables instead of fixed
29956 constants.
29957 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29958 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29959
29960 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29961
29962 * gdb.base/watchpoint.exp: Don't run
29963 test_watchpoint_triggered_in_syscall for sunos.
29964
29965 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29966
29967 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29968 they don't seem to exist. Do include stdio.h.
29969
29970 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29971
29972 * gdb.base/a1-selftest.exp: Add alpha xfail.
29973
29974 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29975
29976 * gdb.base/watchpoint.c (main): Prompt before calling read().
29977 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29978 Revise accordingly. Remove cruft about sending "123" several
29979 times, until it gets noticed. Clean up the "print buf[0]" stuff
29980 so that it passes or fails, and waits for prompts in the usual way.
29981
29982 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29983
29984 * gdb.base/recurse.exp: Fix comment.
29985
29986 * TODO: Remove item about printing variables in nodebug.exp. Add
29987 item about enabling tests which are only run on some targets.
29988
29989 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29990 fail, make test names unique, use new gdb_test convention
29991 regarding pattern, use gdb_test more, etc.).
29992
29993 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29994 fail, make test names unique, etc.).
29995
29996 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29997
29998 * gdb.base/nodebug.c: Change return type of top and middle to
29999 short.
30000 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30001 are fixed by the recent mdebugread.c changes. Allow `short ()'
30002 as type for top and middle.
30003
30004 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30005
30006 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30007 nearly as I can tell, the whole thing was an accident in Stu's
30008 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30009 to replace a send/expect pair with gdb_test, but ended up only
30010 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30011 of 30 Mar 1995 took care of it, but left this vestigial comment
30012 which I am now nuking.
30013
30014 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30015
30016 * gdb.base/break.exp: Look for different line number for
30017 breakpoint at main depending on usestubs.
30018
30019 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30020
30021 * gdb.base/list.exp: Adjust some alternate expect patterns to
30022 match recent list0.c change. Add alternate expect pattern for
30023 output from `list default lines around main' for optimizing
30024 compilers.
30025
30026 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30027
30028 * lib/gdb.exp: If nosignals is not set, set it to 0.
30029
30030 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30031
30032 * config/slite-gdb.exp: Responds to load symbol table prompt.
30033 * gdb.base/break.exp: Adjust line number, fix rerun.
30034 * gdb.base/langs0.c: Add #ifdef usestubs.
30035
30036 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30037
30038 * gdb.base/list.exp: Adjust line contents after adding new lines in
30039 list0.c. Also fix a syntax error.
30040
30041 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30042 * gdb.base/break.exp: ditto.
30043 * gdb.base/list.exp: ditto.
30044 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30045 * gdb.base/run.c: ditto.
30046 * gdb.base/list0.c: ditto.
30047 * gdb.base/funcargs.c: ditto.
30048
30049 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30050
30051 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30052 $targetname, $serialport and $baud instead of hardwired variables.
30053 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30054 target doesn't support signals.
30055
30056 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30057
30058 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30059
30060 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30061
30062 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30063 Don't rely on the value of an auto variable before it has been
30064 initialized. Use gdb_test more.
30065
30066 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30067
30068 * lib/gdb.exp (default_gdb_version): A version number must start
30069 with a digit, but other than that contains all characters up to
30070 the first whitespace character.
30071
30072 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30073
30074 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30075
30076 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30077
30078 * gdb.c++/*.exp: Warn if executable does not exist. The original
30079 reason for skipping the warning was that configure.in sometimes
30080 intentionally skipped building the executables but the tcl code
30081 had no way of knowing. That (a) was always bogus with respect to
30082 error handling, (b) is no longer true (right now there is no way
30083 to skip C++ tests).
30084
30085 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30086
30087 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30088
30089 * gdb.base/list.exp: Add expect patterns for output from
30090 SunPRO compiled executables.
30091 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30092 types.
30093
30094 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30095
30096 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30097 number (we are already testing that the correct source line text
30098 gets printed).
30099
30100 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30101 that is what is intended, but something needed to be done to get
30102 sunos4 native working again.
30103
30104 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30105
30106 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30107 apparently went with a (very) old xfail.
30108
30109 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30110
30111 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30112 runto_main is a proc in gdb.exp that will do 'step' for target use
30113 stubs.
30114 * gdb.base/exprs.exp: ditto.
30115 * gdb.base/interrupt.exp: ditto.
30116 * gdb.base/opaque.exp: ditto.
30117 * gdb.base/printcmds.exp: ditto.
30118 * gdb.base/ptype.exp: ditto.
30119 * gdb.base/scope.exp: ditto.
30120 * gdb.base/setvar.exp: ditto.
30121 * gdb.base/signals.exp: ditto.
30122 * gdb.base/twice.exp: ditto.
30123 * gdb.c++/classes.exp: ditto.
30124 * gdb.c++/inherit.exp: ditto.
30125 * gdb.c++/templates.exp: ditto.
30126 * gdb.base/break.exp: no run and hit main for stubs. Change line
30127 numbers for breakpoints and info breakpoint.
30128 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30129 breakpoint().
30130 * gdb.base/callfuncs.c: ditto.
30131 * gdb.base/exprs: ditto.
30132 * gdb.base/interrupt.c: ditto.
30133 * gdb.base/opaque0.c: ditto.
30134 * gdb.base/printcmds.c: ditto.
30135 * gdb.base/ptype.c: ditto.
30136 * gdb.base/scope0.c: ditto.
30137 * gdb.base/setvar.c: ditto.
30138 * gdb.base/signals.c: ditto.
30139 * gdb.base/twice.c: ditto.
30140 * gdb.c++/misc.cc: ditto.
30141 * gdb.c++/templates.cc: ditto.
30142
30143 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30144
30145 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30146
30147 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30148 somewhere between `read' and `main.c'. I'm pretty sure the
30149 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30150 and it isn't particularly useful.
30151
30152 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30153
30154 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30155
30156 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30157
30158 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30159
30160 * config/mt-slite: add LIBS and -nostdlib.
30161 * config/slite-gdb.exp: add this new file to support sparclite target.
30162
30163 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30164
30165 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30166
30167 * gdb.base/a2-run.exp: Change argument to istarget from
30168 "*-*-vxworks" to "*-*-vxworks*".
30169 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30170
30171 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30172
30173 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30174 will not runto main but do a 'step' to step out of breakpoint().
30175 * config/mt-slite: add -Dusestubs.
30176
30177 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30178
30179 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30180 instead of just @.
30181
30182 * gdb.base/signals.exp: Add test for "handle all print".
30183 * TODO: Remove "handle all print". Also remove item about
30184 checking copyright date (I don't like the idea of a spurious FAIL
30185 based on when we run the tests).
30186
30187 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30188 for SunOS4 (reason for failure not investigated). Remove
30189 redundant test for $binfile.
30190
30191 * gdb.base/nodebug.c (array_index): Call malloc.
30192
30193 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30194
30195 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30196
30197 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30198 conventions and slightly simplify the matching regexp.
30199
30200 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30201
30202 * gdb.base/break.exp: Update gdb_test invocation to use new
30203 convention.
30204
30205 * lib/gdb.exp: If noargs is not set, set it to 0.
30206
30207 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30208 tests unique.
30209
30210 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30211
30212 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30213
30214 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30215 one argument of type "<non-float parameter>".
30216
30217 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30218
30219 * config/rom68k.exp: New file to support Motorola IDP board.
30220 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30221 * gdb.base/break.c: Change things around so that this program
30222 doesn't depend upon args. This is necessary to make remote
30223 targets work (in general, they can't take args).
30224 * gdb.base/break.exp: Don't try to send args to program. Don't
30225 expect output. Also, replace lots of code with gdb_test.
30226
30227 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30228
30229 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30230 printing of '\'' (which is what the comment says we are testing,
30231 even though we were not), not '''.
30232 (test_integer_literals_rejected): Test that printing ''' is an error.
30233
30234 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30235 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30236 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30237 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30238 Use gdb_test not test_print_accept.
30239 * lib/gdb.exp: Remove test_print_accept.
30240
30241 * gdb.base/signals.exp (signal_tests_1): Make pass message
30242 consistent with fail message.
30243
30244 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30245 unsigned char; the bug (PR 1821) is fixed.
30246
30247 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30248
30249 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30250 successful tests--makes xfailing them work right.
30251
30252 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30253
30254 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30255 only \r\n, not .*. The test can pass .* as the last thing in
30256 $pattern if that is what it wants. In addition to providing this
30257 flexibility, this change should speed up pattern matching in cases
30258 where the pattern already ended with .* (there were a number of
30259 them). This change also helps catch bad patterns--in the old
30260 scheme the typo "char \*" instead of "char \\*" would pass. Now
30261 it is caught.
30262 * Many .exp files: Update callers.
30263
30264 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30265 clearer and does not spuriously match multiple ('s. Likewise for
30266 ) and *.
30267
30268 * gdb.base/nodebug.exp: Test ability to call a function and pass
30269 it a string (even with no debugging info).
30270
30271 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30272 "p '\'", which is the same as "p ''" once tcl gets done with
30273 quoting, to "p '\\'", which I suspect is what is intended (one
30274 backslash gets sent to GDB).
30275
30276 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30277
30278 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30279
30280 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30281 1817) was fixed literally years ago.
30282
30283 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30284
30285 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30286 test, it causes stepping out of call_after_alloca_subr with
30287 optimizing compilers.
30288 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30289 fails.
30290
30291 * gdb.c++/templates.exp: Source templ-info.exp only if
30292 the templates executable exists.
30293
30294 * gdb.c++/misc.cc (class Contains_static_instance,
30295 class Contains_nested_static_instance),
30296 gdb.c++/classes.exp (test_static_members): Test printing of
30297 a class that contains a static instance of the class.
30298
30299 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30300
30301 * gdb.base/langs2.c (cppsub_): Don't prototype.
30302 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30303 only, I believe).
30304
30305 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30306
30307 * lib/gdb.exp (skip_chill_tests): New procedure.
30308
30309 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30310
30311 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30312
30313 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30314 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30315
30316 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30317
30318 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30319
30320 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30321 disassemble 8, not 16, instructions for part 4.
30322
30323 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30324 support the latter anymore.
30325
30326 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30327 -DNO_PROTOTYPES.
30328 * gdb.base/callfuncs.c: Control use of prototypes based on
30329 NO_PROTOTYPES, not __STDC__.
30330 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30331 t_float_values2 tests if prototypes in use.
30332
30333 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30334 t_double_values): When checking differences against DELTA, check
30335 that difference is within the range (-DELTA,DELTA), not just
30336 (-infinity,DELTA).
30337
30338 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30339
30340 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30341 'file' command firts, then 'target', then 'load', this is due to gdb
30342 target set up.
30343 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30344
30345 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30346
30347 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30348 FP load/store variants.
30349 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30350
30351 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30352
30353 * gdb.base/term.exp: Do not give a warning if not native, it is
30354 not an abnormal condition.
30355
30356 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30357
30358 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30359 t_char_array".
30360
30361 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30362
30363 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30364 are getting the version number.
30365
30366 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30367 if not native, it is not an abnormal condition.
30368
30369 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30370
30371 * lib/gdb.exp: Just use "file exists", rather than undocumented
30372 dejagnu procedure "findfile".
30373
30374 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30375
30376 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30377 (LDFLAGS): Set to -Xlinker -Ur.
30378
30379 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30380 Removed, these values are set by lib/gdb.exp.
30381
30382 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30383
30384 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30385
30386 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30387 of replicating gdb startup code.
30388
30389 * config/mt-vxworks (LDFLAGS): Set to -r.
30390 (CFLAGS_FOR_TARGET): Removed.
30391
30392 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30393 (gdb) and gdb for vxworks uses (vxgdb).
30394
30395 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30396 executable is not in the tree and host != target, use sed and
30397 program_transform_name to determine the gdb name used by the
30398 target.
30399
30400 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30401 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30402
30403 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30404
30405 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30406 floats, chars, and shorts where there are ANSI-style function
30407 definitions.
30408
30409 * gdb.base/langs.exp, gdb.base/langs*: New test.
30410 * gdb.base/Makefile.in: Build it.
30411 * TODO: Remove item about checking that C names don't get C++
30412 demangling applied; this test tests it.
30413
30414 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30415
30416 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30417 went with the const70 xfail. The xfail went away a year ago.
30418
30419 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30420
30421 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30422 for hp300.
30423
30424 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30425
30426 * gdb.base/a1-selftest.exp: Don't run on hp300.
30427
30428 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30429
30430 * Makefile.in (site.exp): Set host_alias and target_alias as well
30431 as host_triplet and target_triplet.
30432
30433 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30434
30435 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30436
30437 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30438 places as other ecoff systems).
30439
30440 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30441 ultrix.
30442
30443 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30444
30445 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30446 remove them.
30447 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30448 variable and "variable" in addition to "data variable".
30449 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30450
30451 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30452 2.
30453 * gdb.base/list1.c (long_line): Add additional statement at start
30454 of function.
30455 * gdb.base/list.exp (test_forward_search): Update line number to
30456 reflect new statement.
30457
30458 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30459
30460 * gdb.base/signals.exp: Reinitialize searched source directories
30461 after gdb_start call.
30462
30463 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30464
30465 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30466 * gdb.stabs/Makefile.in: Likewise.
30467
30468 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30469 change. Instead split the tests into smaller pieces.
30470 * gdb.disasm/hppa.s: Corresponding changes.
30471
30472 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30473
30474 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30475 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30476
30477 * gdb.base/funcargs.exp: Modify many tests so that every test
30478 either passes or fails. Make some test names unique.
30479
30480 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30481
30482 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30483 Call stty to set interrupt character.
30484
30485 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30486 for HP assembler versus GNU assembler based on actual behavior of
30487 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30488
30489 * TODO: Suggest a few more stepping tests.
30490
30491 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30492
30493 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30494 restart GDB for h8300 after a continue.
30495 (return): Add pattern to match a29k-udi behavior.
30496 * gdb.base/nodebug.exp: Remove obsolete comment.
30497 * gdb.base/regs.exp: New file, testing of register displays.
30498 * gdb.base/return.exp: Fix typo in reference to $objdir.
30499 * gdb.base/whatis.exp: Always start with a fresh GDB.
30500
30501 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30502
30503 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30504 higher, these tests generate a lot of output.
30505
30506 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30507
30508 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30509 code following the catch silently ignored some errors; without the
30510 catch they should be thrown like any other tcl error. Also, the
30511 catch used "" instead of {} which meant all the callers who wanted
30512 to include one of the characters "[]$ had to quote it an extra time.
30513 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30514 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30515 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30516 Remove extra quoting.
30517
30518 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30519
30520 * gdb.base/commands.exp: Make test names unique; every test either
30521 passes or fails. Update some comments.
30522
30523 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30524
30525 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30526
30527 The following fixes a FAIL caused by the fact that the alpha stabs
30528 configuration didn't use the ".if alpha" code in weird.def.
30529 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30530 bit pointer, so the 32 bit version works even on the alpha.
30531 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30532 Remove the stuff which allowed us to have separate versions for
30533 alpha and everything else.
30534
30535 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30536 regexp which "info func operator\[\](" is supposed to match. Fix
30537 string to send to GDB. Note that GDB still doesn't work right. Add a
30538 new test for "info func .perator\[\](" which GDB does handle correctly.
30539
30540 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30541
30542 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30543
30544 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30545 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30546 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30547 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30548 it makes the tests harder to understand and confuses test-o-matic.
30549 The preferred style is that each test provides a PASS or a FAIL,
30550 and has a unique message (e.g. "continue #54" not just "continue")
30551 which is the same for the pass and the fail.
30552 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30553 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30554 to lib/gdb.exp.
30555 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30556 prt_accept which was basically the same thing. Likewise for
30557 test_print_reject and prt_reject.
30558 * lib/gdb.exp (test_print_reject): Add some more error message
30559 patterns to match from the former printcmds.exp (prt_reject).
30560 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30561 One defect of the passcount stuff is that some of it failed to
30562 report XPASS where appropriate.
30563 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30564 stuff before and after arg in expected pattern.
30565 (test_paddr_operator_functions): Re-do test without print_addr_of;
30566 this is the only test which seems to want extra stuff there.
30567
30568 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30569
30570 * gdb.base/nodebug.exp: Update new tests to reflect improved
30571 wording of gdb output.
30572
30573 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30574 and "ptype" work on variables in files compiled without -g.
30575 Replaces commented out "maint print msymbol" tests.
30576
30577 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30578
30579 * gdb.base/setvar.c (dummy): Call malloc.
30580
30581 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30582 losing with the irix4 sed.
30583
30584 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30585 ALRM" on irix4.
30586
30587 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30588
30589 * TODO: Remove items about corefile.exp testing new exec-file and
30590 backtrace; both are now done. Add items about printing enums.
30591
30592 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30593
30594 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30595 "get signal $thissig" test fails.
30596
30597 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30598
30599 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30600
30601 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30602 compiler warning with dec alpha compiler.
30603
30604 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30605 extra \n from gdb_test call (this explains why the prompt test
30606 that I removed yesterday was there).
30607 (user_defined_command_test): Remove extra \n and prompt test.
30608
30609 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30610 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30611 doesn't exist.
30612 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30613 Also remove alpha workaround, which turns out to be because
30614 SIGABRT == SIGLOST.
30615
30616 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30617
30618 * gdb.base/help.exp: Don't test "help show".
30619
30620 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30621
30622 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30623 "set print address" is on.
30624 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30625 pass prompt to gdb_test; gdb_test already looks for the prompt.
30626
30627 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30628
30629 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30630 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30631 was to make sure that gdb can read a core file. But (a) the "read
30632 the corefile" part didn't make it to a1-selftest.exp, we just
30633 delete the corefile after creating it, and (b) we test reading
30634 corefiles in corefile.exp anyway. Also, this test left around a
30635 xgdb process on Solaris.
30636
30637 * gdb.base/corefile.exp: Also test backtrace.
30638
30639 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30640
30641 * gdb.base/commands.exp: Test a simple user defined command with
30642 arguments and if/while statements; verify the full user command is
30643 printed by "show user".
30644
30645 * gdb.base/commands.exp: Test if/while commands as part of a
30646 breakpoint command list; verify they appear in breakpoint
30647 information.
30648
30649 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30650
30651 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30652 than by dividing by zero.
30653
30654 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30655
30656 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30657 performing an inferior call with watchpoints enabled.
30658 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30659 call.
30660
30661 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30662
30663 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30664 of "file" command.
30665
30666 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30667 Add additional pattern for when "int operator int(void);" appears
30668 in a different order.
30669
30670 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30671
30672 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30673
30674 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30675 and "signal" with ".*".
30676
30677 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30678
30679 * TODO: Add note about "handle all nostop".
30680
30681 * gdb.base/{sigall.c, sigall.exp}: New test.
30682 * gdb.base/Makefile.in: Add it.
30683
30684 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30685
30686 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30687 when invoking GDB, suppresses any windowing interface.
30688
30689 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30690
30691 * config/sim-gdb: New file, simulator testing support.
30692
30693 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30694
30695 * gdb.base/interrupt.exp: Test calling func1 twice.
30696
30697 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30698
30699 * gdb.base/list.exp (test_forward_search): Set timeout higher
30700 when we'll be getting lots of output from gdb.
30701
30702 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30703 "init_malloc" to after the expect statement. Run it if that
30704 regexp is taken, but also for two others which happen if source
30705 cannot be found.
30706
30707 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30708
30709 * gdb.base/printcmds.exp: New test, for printing register before
30710 program is running.
30711
30712 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30713
30714 * gdb.base/list.exp: Correct some alternate expect patterns
30715 to reflect changes in list1.c.
30716
30717 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30718
30719 * TODO: Add item regarding large frames.
30720
30721 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30722
30723 * TODO: Remove item about enabling return.exp; it
30724 is enabled. Suggest a few more "return" tests.
30725
30726 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30727
30728 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30729 anonymous unions.
30730
30731 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30732
30733 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30734 and pr-5646.o, so "make" is the same as "make all", not "make
30735 pr-4975.o".
30736
30737 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30738
30739 * gdb.base/list.exp: Adjust expectations to reflect changes in
30740 list1.c.
30741 (test_forward_search): New test proc.
30742 * gdb.base/list1.c (long_line): New function, has long source line.
30743
30744 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30745
30746 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30747 additional line of code that was added.
30748
30749 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30750
30751 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30752 tests so as not to overflow expect's input buffers.
30753 * gdb.disasm/hppa.exp: Corresponding changes.
30754
30755 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30756
30757 Beginnings of template debugging tests.
30758 * gdb.c++/templ-info.cc: New file to test for template
30759 debugging capability of the compiler.
30760 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30761 templ-info.cc.
30762 * gdb.c++/templates.cc: Add explicit template instantiations
30763 to enable compiling with -fno-implicit-templates. Add destructor
30764 and 'value' method to T5 class for template tests.
30765 * gdb.c++/templates.exp: Add testcases for printing of template
30766 types, setting breakpoints on template methods and calling a
30767 template method.
30768
30769 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30770
30771 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30772 branch target since some assemblers (gas-2.5) may emit a
30773 relocation for the branch instead of resolving it in the
30774 assembler.
30775
30776 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30777
30778 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30779 through signal handler.
30780
30781 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30782
30783 * configure.in (*-*-netware): Use config/mt-netware.
30784
30785 * config/mt-netware: New file.
30786 * config/mt-i386-netware: Removed, separate configs for different
30787 netware architectures are no longer needed now that we have
30788 --with-headers.
30789
30790 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30791
30792 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30793 by the recent changes to use ANSI C arithmetic conversions.
30794
30795 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30796
30797 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30798 bug involving using inferior_pid to figure out whether to select a
30799 frame.
30800
30801 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30802
30803 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30804 match the current disassembler output.
30805
30806 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30807
30808 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30809 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30810 types, expect "int" as type of integer values (for now).
30811
30812 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30813
30814 * gdb.base/commands.exp: New tests for if/while commands.
30815
30816 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30817
30818 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30819 by .*, since hex values have different syntax in Chill mode.
30820
30821 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30822
30823 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30824 linefeed from expect pattern for repeated types with indices > 9.
30825
30826 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30827
30828 First part of Fortran test suite.
30829 * gdb.fortran: New directory.
30830 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30831
30832 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30833
30834 * gdb.base/default.exp: Update expect pattern for load command
30835 without arguments.
30836
30837 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30838
30839 * configure.in: Change i386 to i[345]86.
30840 * gdb.base/configure.in: Likewise.
30841 * gdb.c++/configure.in: Likewise.
30842 * gdb.chill/configure.in: Likewise.
30843
30844 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30845
30846 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30847 patterns, since that is not a valid context for comments.
30848
30849 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30850
30851 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30852 repeated types and repeated types with indices > 9.
30853
30854 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30855
30856 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30857 2417; old bug has been fixed.
30858
30859 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30860
30861 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30862 send the newline ourselves instead of assuming gdb_test will do
30863 so when passed an empty input string.
30864
30865 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30866 stabs testcode.
30867
30868 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30869
30870 * lib/gdb.exp (gdb_test): Don't send anything if the first
30871 argument is an empty string. This makes cases where we want to
30872 match output that is already in expect's buffers (for example,
30873 matching a breakpoint after gdb_run_cmd has been called) work
30874 reliably.
30875
30876 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30877
30878 * config/netware.exp: New file.
30879
30880 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30881
30882 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30883 the -B and -L prefixes so we can find the debugging stub.
30884
30885 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30886 there and we are using the gcc from the tree.
30887
30888 * gdb.base/types.c: Removed.
30889
30890 * gdb.base/configure.in: Look for makefile fragments in ../config.
30891 Recognize i386-*-netware.
30892 * gdb.c++/configure.in: Likewise.
30893
30894 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30895
30896 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30897 the correct TCL syntax.
30898
30899 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30900
30901 * gdb.base/opaque.exp: use runto instead of messing around with
30902 breakpoints. Simplify by using gdb_test.
30903
30904 * gdb.base/bitfields.exp: restart between tests on netware targets
30905 because breakpoints aren't relocated after target death. Run
30906 processes to completion.
30907
30908 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30909
30910 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30911
30912 * Makefile.in: Remove extra tabs that confuse some versions
30913 of "make". Use the newly built gdb to test with by default,
30914 rather than the first one in the tester's search path.
30915
30916 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30917
30918 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30919
30920 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30921 condition help.
30922
30923 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30924
30925 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30926
30927 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30928 running.
30929 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30930 * gdb.base/funcargs.exp: Likewise.
30931
30932 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30933 * gdb.base/funcargs.exp: Likewise.
30934
30935 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30936 message is "".
30937
30938 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30939
30940 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30941 return,signals,twice}.exp: Handle non-existant binaries
30942 consistantly.
30943
30944 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30945 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30946 might testing a cross development system.
30947
30948 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30949
30950 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30951 runtest script is relative to ${srcdir}, not ${rootdir}.
30952
30953 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30954
30955 * gdb.base/signals.exp: Allow for optionality of breakpoint
30956 address.
30957
30958 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30959
30960 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30961
30962 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30963
30964 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30965 for size_t definition.
30966 * gdb.c++/templates.cc: Likewise
30967
30968 * config/mt-i386-netware: New file.
30969
30970 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30971 defined.
30972
30973 * gdb.base/Makefile.in: Added support for systems that name core
30974 files by appending "core" to the program name.
30975 * gdb.base/a1-selftest.exp: Likewise.
30976
30977 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30978
30979 * gdb.base/return.exp: Add comment and message for `return double'
30980 test failure on Sparc Solaris.
30981
30982 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30983
30984 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30985
30986 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30987
30988 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30989 from optimizing them away.
30990 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30991 patterns to include default constructors and assignment operators,
30992 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30993 character in the output of the virtual base pointer.
30994
30995 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30996
30997 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30998 expression match in print_addr_of to avoid unintented matches.
30999 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31000 versions up to 2.5.8.
31001
31002 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31003
31004 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31005 included file to run under newer versions of expect.
31006 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31007 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31008 Remove xfail for the virtual table of BDDHookV.
31009
31010 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31011
31012 * lib/gdb.exp (string_to_regexp): Set a default result.
31013 (default_gdb_start): Fix misleading message.
31014
31015 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31016
31017 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31018 Remove all CC, etc definitions.
31019 * config/mt-hpux: New file.
31020 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31021 (CFLAGS, LDFLAGS): Define.
31022 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31023
31024 * Makefile.in (site.exp): Don't insert host_os, etc.
31025 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31026 (distclean): Check existence of subdir.
31027 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31028 * gdb.base/Makefile.in: General cleanup and simplification.
31029 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31030 to build executables. Use default rule to build .o files.
31031 (EXPECT, RUNTEST, CC): Fix relative pathname.
31032 (site.exp): Don't insert host_os, etc.
31033 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31034 and/or SIGUSR1 defined.
31035 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31036 * gdb.c++/Makefile.in: General cleanup and simplification.
31037 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31038 (CFLAGS): Remove.
31039 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31040
31041 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31042
31043 * gdb.base/recurse.exp: Misc changes to get tests running again
31044 after Kung's changes to the watchpoint code.
31045 * gdb.base/watchpoint.exp: Likewise.
31046
31047 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31048
31049 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31050
31051 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31052
31053 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31054 * lib/gdb.exp (default_gdb_start): Define.
31055 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31056 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31057 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31058 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31059 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31060 Don't call gdb_target_udi in between tests.
31061
31062 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31063
31064 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31065 (which was basically just a local version of the same thing). In
31066 addition to avoiding duplication, gdb_test_exact is faster.
31067 * lib/gdb.exp (gdb_test_exact): Fix typo.
31068
31069 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31070 don't give an error.
31071
31072 * gdb.base/term.exp: Call delete_breakpoints before starting.
31073
31074 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31075 (t10): Add comment.
31076
31077 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31078
31079 Reorganization of the GDB Test Suite.
31080
31081 * gdb.base: New directory, contains all the basic tests.
31082 * gdb.c++: New directory, tests specific to C++.
31083 * gdb.chill: New directory, tests specific to Chill.
31084 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31085 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31086 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31087 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31088 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31089 t30-31 to chill).
31090 * */gdbme.*: Rename to match appropriate expect scripts.
31091 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31092 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31093 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31094 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31095 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31096 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31097 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31098 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31099 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31100 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31101 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31102 gdb.c++/virtfunc.cc: New names of C++ files.
31103 * gdb.chill/chillvars.ch: New name of Chill file.
31104 * gdb.base/configure.in, gdb.c++/configure.in,
31105 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31106 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31107 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31108 * configure.in (configdirs): Update to reflect directory changes.
31109 (target_abbrev): No longer define for any configuration.
31110 * Makefile.in: Cosmetic improvements to header comments.
31111
31112 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31113
31114 Various changes to gdb.t31:
31115
31116 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31117 * gdbme.ch: Make all key-words and predefineds be upper-case.
31118 * chillvars.exp: Expect key-words and predefinds in upper-case.
31119
31120 * chillvars.exp: Use gdb_test_exact many places.
31121 Change expected output for arrays (which now includes index labels).
31122
31123 * pr-5020.exp, gdme.ch (module PR_5020):
31124 New test, for PR-5020.
31125
31126 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31127
31128 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31129 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31130
31131 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31132
31133 * Makefile.in: Fix bit-rot in definitions of CHILL,
31134 CHILL_FOR_TARGET and Chill_LIB.
31135 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31136 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31137 CHILL, and CHILL_LIB.
31138
31139 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31140
31141 * Revert the previous changes. Please see Rob's directory
31142 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31143
31144 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31145
31146 * Makefile.in, configure.in, config/mips-gdb.exp,
31147 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31148 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31149 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
31150 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31151 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31152 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31153 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31154 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31155 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31156 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31157 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31158 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31159 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31160 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31161 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31162 changes from 94Q1.
31163
31164 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31165
31166 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31167 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31168 Rob's new testing fragments.
31169
31170 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31171
31172 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
31173 lib/gdb.exp: Replace error proc calls with perror.
31174
31175 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31176
31177 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31178 version also, match on casted version strings, and match on
31179 gdb startup case where the line numbers might be messed up.
31180
31181 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31182
31183 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
31184 (CFLAGS): Delete it from here.
31185
31186 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31187
31188 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31189
31190 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31191
31192 * Makefile.in (RUNTEST): Default to just "runtest".
31193
31194 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31195
31196 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31197 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31198 the code has been restructured.
31199
31200 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31201
31202 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31203 \n, not just one of each.
31204
31205 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31206 /bin/cc gives a warning if you do.
31207
31208 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31209
31210 * gdb.t24/demangle.exp: change expect pattern of
31211 __t10ListS_link1ZUiRCUiPT0
31212
31213 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31214
31215 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31216 on local variables in recursive functions.
31217
31218 * gdb.t07/Makefile.in: Build the new test.
31219
31220 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31221
31222 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31223 directly. Instead compare the return values from actual calls.
31224
31225 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31226
31227 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31228
31229 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31230
31231 * From Peter Schauer with minor modifications.
31232 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31233 stops in mid-line in the caller. Add xfail for returning a float
31234 value on X86 targets.
31235
31236 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31237
31238 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31239 to avoid expect lossage.
31240 (fmem_LRbug_tests): Likewise.
31241 * gdb.disasm/hppa.s: Corresponding changes.
31242
31243 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31244 conditions to work with latest dejagnu/expect.
31245
31246 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31247 expected to fail on the PA.
31248 (backtrace in call with trampolines): Explicitly require main
31249 to be frame #1 (no trampolines should show up in backtrace).
31250
31251 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31252 "continue -expect".
31253 * gdb.t06/break.exp: Likewise.
31254 * gdb.t07/watchpoint.exp: Likewise.
31255 * gdb.t13/bitfields.exp: Likewise.
31256 * gdb.t15/{funcargs,return}.exp: Likewise.
31257 * gdb.stabs/weird.exp: Likewise.
31258 * config/{mips,udi}-gdb.exp: Likewise.
31259
31260 * hppa.sed: Enclose comments within a sed command to avoid
31261 losing with the old OSF1 sed.
31262
31263 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31264
31265 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31266 sequent dynix.
31267 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31268 * gdb.t15/funcargs.exp: Conditionally step again to really
31269 finish from marker_call_with_trampolines. Handle the case where
31270 the first step from within call_with_trampolines already steps
31271 us back to main.
31272 * gdb.t15/gdbme.c: Add comment to closing brace of
31273 call_with_trampolines for funcargs.exp.
31274
31275 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31276
31277 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31278 Fix typo(s).
31279
31280 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31281
31282 * gdb.t07/gdbme.c: More code for watchpoint testing.
31283
31284 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31285 "Hardware watchpoint" throughout file.
31286 (test_watchpoint_triggered_in_syscall): New test.
31287 (test_complex_watchpoint): New test.
31288
31289 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31290
31291 * gdbme.c (call_with_trampolines): New function to try and step
31292 into. Tests trampoline problems on the PA.
31293
31294 * funcargs.exp (localvars_in_indirect_call): No longer expect
31295 stepping into indirect call to fail on PAs.
31296 (test_stepping_over_trampolines): New test.
31297
31298 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31299
31300 * TODO: Add suggestions for static member function tests, and
31301 completion tests.
31302
31303 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31304
31305 * TODO: Add suggestions for "p/a" tests.
31306
31307 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31308 (default_gdb_exit): Replace all the hair with sending "quit" to
31309 the process with a simple close.
31310
31311 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31312
31313 * TODO: Add suggestions for shared library tests.
31314
31315 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31316
31317 * TODO: Add suggestions for x/s tests.
31318
31319 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31320
31321 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31322 "enable once", and "enable breakpoints once" with ".*".
31323
31324 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31325
31326 * TODO: Add suggestions about structure passing tests.
31327
31328 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31329
31330 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31331 the primary1 test, use work around if __GNUC__ < 2.
31332 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31333 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31334 Test for bad output rather than waiting for timeout. Issue
31335 second continue only if first continue failed.
31336
31337 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31338
31339 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31340 operator[] test with gdb_test because the old code didn't seem to
31341 be getting the quoting right with the new dejagnu.
31342
31343 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31344
31345 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31346 one from the path.
31347 * Makefile.in: Use a fresh expect if there is one, use runtest
31348 from the src tree if there is one.
31349
31350 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31351
31352 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31353 next over recursive call. Revise the tests from that point on
31354 (which had been skipped) to match GDB's actual (correct) output.
31355
31356 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31357 with next over a breakpoint whose condition is false.
31358
31359 * gdb.t00/help.exp: Comment out "help set print" tests just like
31360 (and for same reason as) "help set" test.
31361
31362 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31363
31364 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31365 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31366
31367 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31368
31369 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31370 necessary gdb_target_udi.
31371
31372 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31373
31374 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31375 1838 and 2417; they are fixed.
31376
31377 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31378 gdb.t03/ptype.exp (ptype structure, ptype union):
31379 Remove xfails; the test is looser than when the xfails were added.
31380
31381 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31382 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31383
31384 * gdb.t01/run.exp: Only run shell test if isnative.
31385
31386 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31387 since "run" automatically loads if necessary. Call gdb_target_udi
31388 after the "file" since "file" kills any execution target.
31389
31390 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31391 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31392 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31393 argument for UDI.
31394
31395 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31396
31397 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31398
31399 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31400
31401 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31402
31403 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31404 properly quoting regexps. This makes the second argument to
31405 demangle a fixed string, which matches the callers, instead of a
31406 shell-style pattern which is what the previous implementation
31407 used. Update some of the callers.
31408
31409 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31410
31411 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31412 (comib_nullified_tests): Fix typo.
31413 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31414 strings. No longer expected to fail.
31415
31416 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31417 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31418 strings. No longer expected to fail.
31419
31420 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31421 string. No longer expected to fail.
31422
31423 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31424
31425 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31426 No longer expected to fail.
31427
31428 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31429 string. No longer expected to fail.
31430
31431 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31432
31433 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31434 only in the names (I probably got most of them). I was even
31435 generous with some which differed in underscores in names, and
31436 probably missed a few, and I *still* was able to remove almost a
31437 third of the file with almost no impact on testsuite coverage.
31438
31439 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31440
31441 * gdb.t00/default.exp: Match udi_attach error message as well as
31442 the one from child_attach.
31443
31444 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31445
31446 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31447
31448 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31449 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31450
31451 * Move test with enums and partial symbols back to
31452 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31453 Reverts the change of 26 May 93. Per today's change to
31454 stabs.texinfo, the behavior that weird.exp was expecting was
31455 unreasonable; what is important is that the compiler+gdb get
31456 things right, which happens with a recent gcc. Also fix the test
31457 to deal with native compilers which put out the stab gdb can't
31458 deal with.
31459
31460 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31461
31462 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31463 in the names. The main thing these accomplish is to slow things down.
31464 Many more such duplicates surely remain.
31465
31466 * gdb.t00/help.exp: Comment out "help support" test just like
31467 (and for same reason as) "help set" test.
31468
31469 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31470
31471 * gdb.t06/break.exp: Remove setup_xfails for
31472 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31473 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31474 about known bug in gcc to include up through 2.5.8.
31475 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31476 well as "_vb$".
31477 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31478 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31479 with latest gcc and gdb.
31480 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31481 well as "_vb$".
31482
31483 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31484
31485 * configure.in (hppa*-*-*): Also configure and build stabs-only
31486 tests.
31487
31488 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31489
31490 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31491 * gdb.t10/configure.in (hppa*-*-*): Use it.
31492
31493 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31494
31495 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31496
31497 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31498
31499 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31500 versions prior to 1.13.5.
31501
31502 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31503
31504 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31505 the prompt is at the start of a line.
31506
31507 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31508
31509 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31510 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31511 in the copr tests now.
31512 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31513 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31514 expected to fail.
31515
31516 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31517
31518 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31519 gdb.t31/chillvars.exp, lib/gdb.exp:
31520 Tweak to run under either version of expect.
31521 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31522 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31523 * gdb.t11/list.exp: Remove extraneous whitespace.
31524
31525 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31526
31527 * gdb.t16/printcmds.exp (test_print_strings): Accept
31528 "(unsigned char *) " before the string.
31529
31530 * TODO: Add notes about printing of fancy types and GDB expressions.
31531
31532 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31533
31534 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31535 * gdb.t06/configure.in: Don't try to compile signals test program
31536 if doing mips-idt-ecoff.
31537
31538 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31539
31540 * Most .exp files: Tweak to run under either version of expect.
31541
31542 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31543
31544 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31545 xfails; I'm not sure why they are failing, but not because of PR 1806.
31546
31547 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31548
31549 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31550 defined in lib/gdb.exp.
31551
31552 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31553
31554 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31555 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31556 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31557 have to be typeless.
31558
31559 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31560
31561 * TODO: Add suggestion for copyright year test.
31562
31563 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31564
31565 * configure.in (*-*-lynxos*): Add stabs tests.
31566
31567 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31568
31569 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31570 so insert a tab before any assembler directive in column zero.
31571
31572 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31573 stores.
31574 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31575 stores.
31576 (fpu_short_memory_tests): Likewise.
31577
31578 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31579
31580 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31581 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31582 .stabs directives in comments.
31583
31584 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31585
31586 * TODO: New file, describing tests we could write.
31587 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31588
31589 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31590
31591 * gdb.t06/signals.exp: Add kludge to force re-sync.
31592
31593 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31594 to xgdb instead of gdb, get out of gdb.
31595
31596 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31597
31598 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31599 for info.
31600
31601 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31602
31603 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31604 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31605 * gdb.stabs/hppa.sed: New sed script for the PA.
31606
31607 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31608
31609 * gdb.stabs: Re-write weird.def and configuration to use sed
31610 instead of cpp. sed is portable and POSIX; cpp is neither.
31611
31612 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31613
31614 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31615
31616 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31617
31618 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31619
31620 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31621
31622 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31623 "_vb$".
31624 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31625 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31626
31627 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31628
31629 * lib/gdb.exp: Comment out code which depends on non-existent
31630 `transform' procedure.
31631
31632 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31633
31634 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31635 * lib/gdb.exp: Transform tool name.
31636 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31637 1.1's new error handling system.
31638
31639 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31640
31641 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31642
31643 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31644
31645 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31646 They made pattern matching so slow that timeouts happened on
31647 heavily loaded systems. Now any output from "show print" which
31648 gets us back to the GDB prompt is a PASS.
31649
31650 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31651
31652 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31653
31654 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31655
31656 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31657
31658 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31659 It is not from PR 3220.
31660
31661 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31662
31663 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31664 just started failing because they depended on the order the
31665 subcommands are presented, or exact docstring text. This kind of
31666 test is a pain and has minimal benefit.
31667
31668 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31669
31670 * gdb.t09/corefile.exp: At end of test, use "core" command with
31671 no arguments.
31672
31673 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31674
31675 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31676 17}/Makefile.in: Make it possible to run the testsuite with Sun
31677 make and CC = cross gcc by adding explicit build rules for .o
31678 files.
31679
31680 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31681
31682 * gdb.t15/funcargs.exp: Don't put comments on same line as
31683 setup_xfail (@#$*%& tcl braindamage!).
31684
31685 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31686
31687 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31688
31689 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31690
31691 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31692 * gdb.t20/inherit.exp: remove three dumplicate entries.
31693
31694 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31695
31696 * gdb.t06/break.exp: For "next over recursive call", fail on any
31697 incorrect output, not just on "factorial (value=2)".
31698
31699 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31700
31701 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31702 working now. Add an xfail if accesing a bss variable causes
31703 a memory error if the target is not yet run.
31704
31705 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31706
31707 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31708 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31709 name of __st* demangling (2 strings). Did Kung really get the
31710 more than 95 others right without testing them?
31711
31712 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31713
31714 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31715
31716 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31717
31718 * configure.in (configdirs): Add gdb.disasm
31719 * gdb.disasm: New directory for GDB disassembler tests.
31720 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31721
31722 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31723
31724 * gdb.t00/help.exp: Don't test "help set".
31725
31726 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31727 from within expect statements. None of these happen anymore and
31728 they cause regressions to be silently unnoticed.
31729
31730 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31731 messages) about known failures with gcc cygnus-2.4.5-930417.
31732
31733 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31734 comp-info.exp so it gets built if it doesn't exist.
31735
31736 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31737 it is no longer used.
31738 * gdb.t13/comp-info.c: Removed.
31739
31740 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31741
31742 * gdb.t06/signals.exp: Add xfail for sun3.
31743
31744 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31745
31746 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31747 relevant because ^C doesn't get sent but failure can be reproduced
31748 interactively).
31749
31750 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31751
31752 * gdb.stabs/alpha.mt: New configuration file for alpha.
31753 * gdb.stabs/configure.in: Use it.
31754 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31755 sharing with alpha.mt, redefine long to word via preprocessor.
31756 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31757 for alpha.
31758 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31759 native cc.
31760 * gdb.t00/teststrategy.exp: Change expect string so that we
31761 consume the `(xgdb)' from the command echo and from the gdb prompt.
31762 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31763 gdb currently compares all values as long, so this failure probably
31764 applies to any configuration where LONGEST is bigger than a target int.
31765 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31766 with gcc.
31767 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31768 to handle opaque pointers, gcc is.
31769 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31770 as first argument. Include <sys/types.h> and change all operator
31771 new definitions to use size_t.
31772 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31773 now that we use size_t.
31774
31775 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31776
31777 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
31778 a long or float array cast all array members to the same type.
31779 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
31780 with 64 bit longs.
31781 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
31782 on alpha.
31783 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
31784
31785 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31786
31787 * gdb.t24 (demangle.exp): Constructors of templates have names like
31788 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31789 section 14.6 of the ARM.
31790
31791 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31792 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31793 accomplish little and slow down the testsuite.
31794
31795 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31796 Accept spaces various places.
31797
31798 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31799
31800 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31801 with watchpoint enabled.
31802
31803 * Makefile.in: Remove definition of CC and remove the second
31804 definition of CXX (the "CXX = gcc" one remains). These definitions
31805 were causing backquotes to be expanded within backquotes, which
31806 doesn't work.
31807
31808 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31809
31810 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31811
31812 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31813
31814 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31815 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
31816 by mips cc and contains no stabs entries.
31817
31818 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31819
31820 * config/vx-gdb.exp: Use fake device to load files rather than
31821 NFS.
31822 * lib/gdb.exp: New proc to do "file" command.
31823 * config/unix-gdb.exp: Use new "file" proc.
31824
31825 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31826
31827 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31828 Rework board rebooting slightly.
31829 (gdb_exit): Don't exit from the remote shell; there isn't one.
31830 * gdb.stabs/weird.exp: If a program is being debugged already,
31831 kill it.
31832 * gdb.t04/setvar.exp: Stop and restart gdb.
31833 * gdb.t05/expr.exp: Likewise.
31834 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31835 restart gdb and reload the program.
31836 * gdb.t08/opaque.exp: Likewise.
31837 * gdb.t12/scope.exp: Likewise.
31838 * gdb.t13/bitfields.exp: Likewise.
31839 * gdb.t15/funcargs.exp: Likewise.
31840 * gdb.t20/classes.exp: Likewise.
31841 * gdb.t03/ptype.exp: Increase timeout.
31842 * gdb.t16/printcmds.exp (test_print_string_constants,
31843 test_print_array_constants): Likewise.
31844 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31845 * gdb.t20/classes.exp (do_tests): Likewise.
31846 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31847
31848 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31849
31850 * gdb.stabs: Renamed *wierd* to *weird*.
31851
31852 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31853
31854 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31855 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31856
31857 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31858
31859 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31860 (do_tests): Remove xfail for whatis on one_var and two_var.
31861
31862 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31863
31864 * Makefile.in: Made cross building work better by adding
31865 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31866
31867 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31868
31869 * gdb.t15/{return.c,return.exp,Makefile.in}:
31870 New test, currently commented out.
31871
31872 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31873
31874 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31875 still running and removes the leftover named socket so GDb can do
31876 clean restarts.
31877
31878 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31879
31880 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31881 console, not GDB.
31882 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31883 cross testing works better with "make check"
31884 * config/unix-gdb: Use default procedures for exit and version.
31885 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31886 with the newest VxWorks.
31887
31888 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31889
31890 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31891 old form.
31892
31893 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31894 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31895
31896 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31897
31898 * config/unix-gdb.exp: Remove this version of gdb_exit
31899 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31900 Rob says he'll look at it when he gets back to testing boards.
31901
31902 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31903
31904 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31905 an expected fail for certain ptype commands.
31906
31907 * gdb.t20/classes.exp: Update expected results of "ptype class
31908 Base1" to account for the constructor that now appears in the type.
31909
31910 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31911
31912 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31913 disappeared from list.
31914 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31915 "alldone" proc with call to cleanup and exit.
31916 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31917 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31918 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31919 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31920 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31921 "alldone" proc with simple returns that suppress remaining
31922 tests. The alldone proc went away many months ago.
31923
31924 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31925
31926 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31927
31928 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31929
31930 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31931
31932 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31933 as vax gdb will display them.
31934
31935 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31936
31937 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31938 optimizers.
31939
31940 * scope.exp: Change "bad value for localval" messages so each one
31941 is unique.
31942
31943 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31944 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31945
31946 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31947
31948 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31949
31950 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31951 doesn't exist (due to optimization).
31952
31953 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31954
31955 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31956 contains \r because the filename is long.
31957
31958 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31959 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31960
31961 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31962
31963 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31964 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31965 Ultrix.
31966 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31967 int tests.
31968 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31969
31970 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31971
31972 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31973
31974 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
31975 to match does not match the passing case but still matches the
31976 failing case.
31977
31978 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31979
31980 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31981
31982 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31983
31984 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31985 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31986 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31987 Remove various versions of gdb_exit.
31988 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31989 gdb_exit.
31990 * config/unix-gdb.exp: gdb_exit remains here, and should override
31991 the generic version, since it's doing a lot of wierd stuff that
31992 the other versions aren't. FIXME, fold it in, or abandon this
31993 version.
31994
31995 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31996
31997 * gdb.t24/demangle.exp: Add tests for PR 3220.
31998
31999 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32000
32001 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32002
32003 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32004
32005 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32006 "i386-*-*". Works for i486 as well.
32007
32008 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32009 bug, and expand domain of xfail to all SVR4 systems, since the
32010 actual problem is likely to be in generic SVR4 /proc support.
32011
32012 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32013
32014 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32015
32016 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32017
32018 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32019 xfails for other systems. Match a missing 'Continuing.' as an
32020 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32021
32022 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32023 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32024 Only issue warning for missing executables if -all option is used.
32025
32026 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32027 file if -all option is used. It's like an unpredictable XFAIL.
32028
32029 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32030
32031 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32032 for dynamically linked binaries.
32033
32034 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32035
32036 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32037
32038 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32039 to state that this is a known bug in old versions of g++.
32040
32041 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32042
32043 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32044 while waiting for `Continuing'.
32045
32046 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32047
32048 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32049 in text, data, and bss.
32050 * gdb.t10/nodebug.c: Add local and global test variables for
32051 initialized and uninitialized data.
32052
32053 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32054
32055 * config/unix-gdb.exp (gdb_exit): Add "wait".
32056
32057 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32058
32059 * gdb.t06/signals.exp: xfail the continue from the handler for all
32060 targets.
32061
32062 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32063 function with watchpoints enabled, the i386 call dummy starts with
32064 a call.
32065
32066 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32067 386 bsd names its corefiles.
32068
32069 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32070
32071 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32072 compilers don't grok it.
32073 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32074 with small octal ints rather than character constants, which
32075 are signed and might not fit if first promoted to int.
32076
32077 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32078
32079 * gdb.t09/Makefile.in (clean): Remove corefile.
32080
32081 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32082
32083 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32084
32085 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32086 and Jim Kingdon (kingdon@cygnus.com)
32087
32088 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32089 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32090 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32091
32092 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32093
32094 * gdb.t17/interrupt.exp: Add xfail for hppa.
32095
32096 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32097
32098 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32099 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32100 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32101 to determine signed-ness of bitfields and use the result to setup
32102 the xfail.
32103 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32104 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32105 call line is reached if necessary.
32106
32107 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32108
32109 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32110
32111 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32112
32113 * gdb.t06/break.exp: Also test `clear' command.
32114
32115 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32116
32117 * gdb.t00/teststrategy.exp: Remove extra quote.
32118
32119 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32120 watchpoint enabled to be for all non-68k machines.
32121
32122 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32123
32124 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32125
32126 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32127 targets use aout.mt instead of ecoff.mt as gas understands
32128 standard aout format.
32129
32130 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32131
32132 * lib/gdb.exp (runto): Don't insist that function we are running to
32133 was compiled with -g.
32134
32135 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32136
32137 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32138 to get back into the read system call.
32139 Accept leading newline in case where we woke it up.
32140
32141 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32142
32143 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32144 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32145 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32146 enable ecoff configuration.
32147
32148 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32149
32150 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32151
32152 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32153
32154 * gdb.t16/printcmds.exp: Add another printf test.
32155
32156 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32157
32158 * configure.in: If configured -with-stabs on any target, add
32159 stabsdirs to configdirs.
32160
32161 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32162
32163 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32164 fun" so pattern does not match the command itself.
32165
32166 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32167
32168 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32169
32170 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32171
32172 * gdb.t17/interrupt.exp: Test for more things.
32173
32174 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32175
32176 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32177 compiler arranges the code and line numbers.
32178
32179 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32180
32181 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32182
32183 * gdb.t00/help.exp: Increase expect input buffer size.
32184
32185 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32186
32187 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32188
32189 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32190
32191 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32192
32193 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32194 [0-9]*, not just [0-9].
32195
32196 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32197
32198 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32199
32200 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32201
32202 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32203
32204 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32205
32206 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32207
32208 * gdb.t06/signals.c: Add xfails for sun3.
32209
32210 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32211
32212 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32213 test_stepping tests.
32214
32215 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32216
32217 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32218
32219 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32220
32221 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32222 rather than actually putting it through cpp twice.
32223
32224 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32225
32226 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32227
32228 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32229 no longer needed.
32230
32231 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32232
32233 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32234
32235 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32236 C++ features prints as "struct", make it a pass, not an xfail.
32237
32238 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32239
32240 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32241 Don't require VA to print as "class" rather than "struct".
32242
32243 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32244
32245 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32246
32247 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32248
32249 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32250
32251 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32252
32253 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32254 order.
32255
32256 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32257
32258 * gdb.t16/printcmds.exp: Add printf tests.
32259
32260 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32261
32262 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32263
32264 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32265
32266 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32267 pass counts, to counteract any existing or future setup_xfails.
32268
32269 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32270
32271 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32272 {BEGIN,END}_COMMON for common block instead of STAB.
32273 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32274
32275 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32276 intp_var should be N_GSYM not N_LSYM.
32277 wierd-aout.S: Use a label for the value of the N_SO.
32278 wierd.def: Remove all backslashes.
32279 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32280
32281 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32282
32283 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32284 get the expected next to inheritance3.
32285
32286 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32287
32288 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32289 now that gcc-2.4 gets it right.
32290
32291 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32292
32293 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32294
32295 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32296 generating comp-info.exp which works for cross-compilation.
32297
32298 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32299
32300 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32301 "*-*-sysv4.*".
32302
32303 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32304
32305 * gdb.t01/run.exp: Start with a fresh gdb.
32306 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32307 SVR4.x.
32308
32309 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32310
32311 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32312 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32313 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32314 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32315 things to remove.
32316
32317 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32318
32319 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32320 test cases from bug reports.
32321
32322 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32323
32324 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32325 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32326 avoid spurious xfails.
32327 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32328 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32329 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32330
32331 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32332
32333 * gdb.t00/teststrategy.exp: Rework to provide more useful
32334 description of each test, fix problem with systems that define
32335 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32336 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32337 results for "next over recursive call" so timeouts aren't taken
32338 by error.
32339
32340 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32341
32342 * gdb.t12/scope.exp: Test printing of variables before run.
32343
32344 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32345 printed in wrong order due to sorting.
32346
32347 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32348
32349 * gdb.t00/teststrategy.exp: Fix expected results for printing
32350 user entered string constant. Is array of char, prints with no
32351 address.
32352
32353 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32354 commands.
32355 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32356 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32357 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32358 of struct of char arrays.
32359 * gdb.t00/radix.exp: New tests for radix commands.
32360
32361 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32362
32363 * gdb.t16/printcmd.exp: Print a variable before running program
32364 (with xfail for AIX).
32365
32366 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32367
32368 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32369
32370 * gdb.t16/printcmd.exp: Don't print variables before running program.
32371
32372 * gdb.t06/break.exp: Don't require envp argument to main.
32373
32374 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32375
32376 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32377 Add xfails for rs6000.
32378
32379 * gdb.t02/whatis.exp: Change other tests not to re-test something
32380 we already tested.
32381
32382 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32383 each type used has a variable of that type.
32384
32385 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32386
32387 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32388
32389 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32390
32391 * configure.in: change srctrigger to be a file, not a directory
32392
32393 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32394
32395 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32396
32397 * gdb.t11/list.exp: Fixed a couple of typos.
32398
32399 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32400
32401 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32402 is fixed and PR is closed.
32403 * gdb.t16 (gdbme.c): Add simple test string variable.
32404 * gdb.t16 (printcmds.exp): Add tests with simple test string
32405 variable, primarily for boundaries on "set print elements".
32406
32407 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32408
32409 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32410 Make leading 0's optional and don't expect a tab in the middle
32411 of the number.
32412
32413 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32414
32415 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32416 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32417 don't end command passed to gdb_test with newline.
32418
32419 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32420 signed keyword away, don't expect signed bitfields to be signed.
32421
32422 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32423 printing with only as many 1's as are in the field as well as printing
32424 with 32 1's (see comment).
32425
32426 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32427
32428 * gdb.t00/default.exp: Start with a fresh gdb.
32429 * configure.in (configdirs): Remove gdb.t31 until the chill
32430 compiler works again. It no longer is able to find chillrt0
32431 since it isn't in libchill.a anymore.
32432 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32433 wierd.o, make more modular.
32434 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32435 spurious newlines that caused problems.
32436
32437 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32438
32439 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32440 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32441 gdb.stabs/wierd.{exp,def}: Many new tests.
32442
32443 * gdb.t00/default.exp: update info line for new message.
32444
32445 * gdb.t02/{whatis.exp,gdbme.c}:
32446 Test that "char *" doesn't print as "caddr_t".
32447
32448 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32449
32450 * gdb.t00/help.exp: Use .* in place of some help messages which
32451 just changed.
32452 gdb.t00/default.exp: Update "info frame" test for new message.
32453 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32454 Remove some xfails
32455
32456 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32457
32458 * gdb.t03/{gdbme.c,ptype.exp}:
32459 Add tests for typedef'd struct and union without tags.
32460 Also check "whatis" on a variable of a typedef'd enum without a tag.
32461
32462 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32463 PRMS 1823; the bug still exists but isn't reproduced by this test
32464 anymore), and remove rs6000 XFAIL (the bug is fixed).
32465
32466 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32467 duplicated from whatis.exp. For those that are left, accept
32468 "long", "long int", or "int" for long variables (whatis.exp already
32469 has an XFAIL for "int", so no need to fail it here).
32470
32471 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32472 Deal with GCC's names for types now that GDB uses the compiler's names.
32473
32474 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32475 setup_xfail's for sunos4. If we #defined the signed keyword away,
32476 don't expect GDB to know that char it is signed.
32477
32478 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32479
32480 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32481
32482 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32483 should work on any system, regardless of debugging format.
32484 * gdb.t21/demangle.exp: Move to gdb.t24.
32485 * gdb.t24/demangle.exp: Move from gdb.t21.
32486 * gdb.t24/{Makefile.in, configure.in}: New files.
32487
32488 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32489
32490 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32491 * gdb.stabs: New directory.
32492
32493 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32494
32495 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32496 not just "Quit anyway?".
32497
32498 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32499
32500 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32501 that all setup_xfails are immediately followed by clear_xfails.
32502
32503 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32504
32505 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32506 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32507 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32508 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32509 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32510 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32511 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32512 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32513 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32514 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32515 gdb.t31/chillvars.exp, lib/gdb.exp:
32516 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32517 bug-gdb@prep.ai.mit.edu.
32518
32519 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32520
32521 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32522 with 0.0, not integer 0.
32523
32524 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32525
32526 * gdb.t06/break.exp: Update for "Kill the program" message change.
32527
32528 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32529
32530 * Makefile.in (GDBFLAGS): Set to -nx.
32531 * Makefile.in (site.exp): Use GDBFLAGS.
32532
32533 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32534
32535 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32536 Makefiles.
32537 (check): depend on just-check.
32538 (just-check): added so that tests can be run without a noop
32539 build pass.
32540
32541 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32542
32543 Switch to using configure's configdirs.
32544 * Makefile.in (Makefile): add configure.in dependency.
32545 (SUBDIRS): removed redundant assignment.
32546 * configure.in: switch subdirs assignment to configdirs.
32547 * gdb.t*/configure.in: new files.
32548
32549 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32550
32551 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32552 works.
32553
32554 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32555
32556 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32557 in explicit rules. Apparently this is not supported by some makes.
32558
32559 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32560
32561 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32562
32563 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32564
32565 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32566 disappeared.
32567
32568 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32569
32570 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32571
32572 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32573
32574 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32575 watchpoint problem that is now fixed.
32576 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32577 uninitialized convenience variables.
32578 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32579 structures.
32580
32581 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32582
32583 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32584 which causes expect to get out of sync with gdb on long output
32585 from help set.
32586 * gdb.t09/corefile.exp: Make expected pattern for core file
32587 failing signal and frame output format less sun specific.
32588
32589 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32590
32591 * gdb.t31/chillvars.exp: Add and remove initial dummy
32592 breakpoint, so that symbol table is forced in.
32593 (Needed at least on Sunos4, though it seems not SVR4.)
32594 * gdb.t31/chillvars.exp: Update for changed output format.
32595
32596 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32597
32598 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32599
32600 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32601
32602 * Makefile.in: Added --srcdir when invoking runtest, removed the
32603 need for a local config file. (optional now)
32604
32605 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32606
32607 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32608 failure count used to force early termination. Add some more
32609 expected failures for gnu style demangling.
32610
32611 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32612
32613 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32614 pmi variable from gdb.t20/gdbme to get optimized away.
32615 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32616 Check for written corefile upon timeout _and_ eof.
32617
32618 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32619
32620 * config/unix-gdb.exp: Add missing return 0.
32621
32622 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32623
32624 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32625 test termination.
32626
32627 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32628
32629 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32630 disappeared.
32631
32632 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32633
32634 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32635 time as i860 support works.
32636
32637 * gdb.t15/funcargs.exp: Fix expected outputs to include
32638 "backtrace 100\r" rather than just "backtrace\r", to match last
32639 change.
32640
32641 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32642
32643 * config/udi-gdb.exp (gdb_exit): Remove close command.
32644 (gdb_target_udi): New procedure to set the UDI target.
32645 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32646 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32647 Added waits for prompts after several question responses. Added
32648 some more responses used by a29k-amd-udi-gdb.
32649 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32650 pass different arguments, restart UDI connection after program
32651 completion.
32652 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32653 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32654 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32655 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32656 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32657 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32658 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32659 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32660 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32661 after program completion.
32662 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32663 compiled with a SELECT_VECS setting.
32664 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32665 infinite recursion.
32666
32667 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32668 Added checks for COFF results, and made them expected failures for
32669 all targets. It would be better to make them expected failures
32670 for COFF targets only.
32671
32672 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32673
32674 * Makefile.in: add null dvi target, don't bother to recurse
32675 through test directories for info and install-info; rename
32676 $(datadir) to be dejagnu instead of deja-gnu
32677
32678 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32679
32680 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32681 compiler to coredump.
32682 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32683 code.
32684
32685 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32686
32687 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32688 coredump.
32689 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32690 code.
32691
32692 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32693
32694 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32695 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32696 which in a shell. Deletes xgdb when done.
32697 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32698 Tests the return from the "set height" or "set width" commands.
32699 Added a few return codes where needed.
32700
32701 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32702
32703 * Makefile.in (SUBDIRS): Add gdb.t17.
32704 * configure.in (subdirs): Add gdb.t17.
32705 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32706 files to test gdb's calling of functions in the inferior with
32707 the correct arguments and gdb's ability to retrieve any
32708 result returned.
32709
32710 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32711
32712 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32713 may be called after gdb goes away. Previous versions of expect
32714 needed these to avoid file descriptor leaks, but they cause
32715 errors with the current revision of expect.
32716 * gdb.t00/gdbvars.exp: Use -re on expected output after
32717 setting sevenbit-strings.
32718 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32719 to set sevenbit-strings consistent across tests.
32720 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32721 set sevenbit-strings consistent across tests.
32722
32723 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32724
32725 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32726 expected output to match current "expect" expectations.
32727
32728 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32729
32730 * gdb.t00/default.exp: Change expected output for default "source"
32731 command, to match new gdb behavior which requires a filename to
32732 source.
32733
32734 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32735
32736 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32737 expected fail for i486-*-* that misses the marker2 function.
32738 * gdb.t10/crossload.exp (bfddefault): Allow successful
32739 recognition of a format to pass even if no symbols are found.
32740 Explicitly catch failures where the format is not recognized
32741 or is ambiguous, and add the reason to the fail message.
32742 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32743 the cause is and invalid target and add reason to failure message.
32744 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32745 elf32-i386, elf32-sparc, and elf32-i860.
32746 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32747 Set up expected failure for 'filename'::variable scope resolution,
32748 which is now apparently broken on all targets.
32749 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32750 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32751 gdb.t23/templates.exp: Change failure for missing binfile into
32752 just a warning.
32753 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32754 references.
32755
32756 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32757
32758 * gdb.t00/default.exp: Add expected output for default "source"
32759 command, to match new gdb behavior.
32760 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32761
32762 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32763
32764 * config/*-gdb.exp: returns an error, rather than exiting on
32765 internal errors.
32766
32767 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32768
32769 * gdb.t03/gdbme.c: Add pointer to struct variable.
32770 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32771 referencing struct members.
32772
32773 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32774
32775 * configure.in (mips-idt-ecoff): New target.
32776 * config/mips-gdb.exp: New file for remote board using MIPS remote
32777 debugging protocol.
32778
32779 * Redid configuration scheme. Removed gdb.t*/configure.in.
32780 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32781 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32782 distclean targets. Built executables via .o files. Adjusted
32783 tests to account for source files in $(srcdir) rather than
32784 $(objdir).
32785 * lib/gdb.exp (runto): Don't expect () after the function name,
32786 because it may have arguments.
32787
32788 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32789
32790 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32791 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32792 expected failures for mips-idt-* and mips-sgi-*.
32793 * gdb.t00/default.exp (attach): Kill process if requested.
32794 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32795 that does not read core files.
32796 * gdb.t01/run.exp: Removed checks for exit status code.
32797 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32798 it is linked in.
32799 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32800 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32801 appropriate, rather than doing it by hand.
32802 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32803 execution.
32804 * gdb.t10/crossload.exp: Kill existing program if needed.
32805 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32806 appropriate, rather than doing it by hand. Always increase
32807 timeout for this test, not just for VxWorks.
32808
32809 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32810
32811 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32812 of Chill STRUCT types and STRUCT values.
32813 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32814 than "char".
32815 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32816 struct2): New struct definitions and initializations to test
32817 simple Chill STRUCT types.
32818
32819 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32820
32821 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32822 the null byte at the end of strings.
32823 * gdb.t00/default.exp: Make show version insensitive to copyright
32824 date.
32825 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32826 to avoid dependencies on target char signedness.
32827 * gdb.t16/printcmds.exp: Update expected results for explicitly
32828 unsigned char.
32829 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32830 now work.
32831 * gdb.t21/demangle.exp: Add many more patterns for template
32832 demangling, most of them being expected failures.
32833 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32834 string we are matching for, to match on the whole string.
32835 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32836 and fix a whole bunch that had incorrect expected output but were
32837 passing anyway because of the bug in "proc demangle".
32838 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32839 type.
32840 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32841
32842 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32843
32844 * gdb/testsuite: made modifications to testcases, etc., to allow
32845 them to work properly given the reorganization of deja-gnu and the
32846 relocation of the testcases from deja-gnu to a "tool" subdirectory.
32847
32848 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32849
32850 * gdb/testsuite: Initial creation of gdb/testsuite.
32851 Migrated dejagnu testcases and support files for testing nm to
32852 gdb/testsuite from deja-gnu. These files were moved "as is"
32853 with no modifications. This migration is part of a major overhaul
32854 of dejagnu. The modifications to these testcases, etc., which
32855 will allow them to work with the new version of dejagnu will be
32856 made in a future update.
32857
32858 For additional changes see gdb.mi/ChangeLog-1999-2003.
32859 \f
32860 ;; Local Variables:
32861 ;; mode: change-log
32862 ;; left-margin: 8
32863 ;; fill-column: 74
32864 ;; version-control: never
32865 ;; End:
32866
32867 Copyright 1993-2013 Free Software Foundation, Inc.
32868 Copying and distribution of this file, with or without modification,
32869 are permitted provided the copyright notice and this notice are preserved.
This page took 0.773013 seconds and 5 git commands to generate.